@symmio/trading-core 4.0.0 → 4.2.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 (447) hide show
  1. package/dist/balance-history/get-balance-history/types.d.ts +3 -1
  2. package/dist/balance-history/get-balance-history/types.d.ts.map +1 -1
  3. package/dist/balance-history/get-balance-history/types.js +1 -1
  4. package/dist/balance-history/get-balance-history/types.js.map +1 -1
  5. package/dist/funding/get-funding-index-checkpoints/get-funding-index-checkpoints.d.ts +50 -0
  6. package/dist/funding/get-funding-index-checkpoints/get-funding-index-checkpoints.d.ts.map +1 -0
  7. package/dist/funding/get-funding-index-checkpoints/get-funding-index-checkpoints.js +30 -0
  8. package/dist/funding/get-funding-index-checkpoints/get-funding-index-checkpoints.js.map +1 -0
  9. package/dist/funding/get-funding-index-checkpoints/index.d.ts +5 -0
  10. package/dist/funding/get-funding-index-checkpoints/index.d.ts.map +1 -0
  11. package/dist/funding/get-funding-index-checkpoints/query-document.d.ts +16 -0
  12. package/dist/funding/get-funding-index-checkpoints/query-document.d.ts.map +1 -0
  13. package/dist/funding/get-funding-index-checkpoints/query-document.js +7 -0
  14. package/dist/funding/get-funding-index-checkpoints/query-document.js.map +1 -0
  15. package/dist/funding/get-funding-index-checkpoints/query.d.ts +37 -0
  16. package/dist/funding/get-funding-index-checkpoints/query.d.ts.map +1 -0
  17. package/dist/funding/get-funding-index-checkpoints/query.js +23 -0
  18. package/dist/funding/get-funding-index-checkpoints/query.js.map +1 -0
  19. package/dist/funding/get-funding-index-checkpoints/to-funding-index-checkpoint-row.d.ts +12 -0
  20. package/dist/funding/get-funding-index-checkpoints/to-funding-index-checkpoint-row.d.ts.map +1 -0
  21. package/dist/funding/get-funding-index-checkpoints/to-funding-index-checkpoint-row.js +31 -0
  22. package/dist/funding/get-funding-index-checkpoints/to-funding-index-checkpoint-row.js.map +1 -0
  23. package/dist/funding/get-funding-index-checkpoints/types.d.ts +51 -0
  24. package/dist/funding/get-funding-index-checkpoints/types.d.ts.map +1 -0
  25. package/dist/funding/get-quote-funding-settlements/get-quote-funding-settlements.d.ts +47 -0
  26. package/dist/funding/get-quote-funding-settlements/get-quote-funding-settlements.d.ts.map +1 -0
  27. package/dist/funding/get-quote-funding-settlements/get-quote-funding-settlements.js +30 -0
  28. package/dist/funding/get-quote-funding-settlements/get-quote-funding-settlements.js.map +1 -0
  29. package/dist/funding/get-quote-funding-settlements/index.d.ts +5 -0
  30. package/dist/funding/get-quote-funding-settlements/index.d.ts.map +1 -0
  31. package/dist/funding/get-quote-funding-settlements/query-document.d.ts +16 -0
  32. package/dist/funding/get-quote-funding-settlements/query-document.d.ts.map +1 -0
  33. package/dist/funding/get-quote-funding-settlements/query-document.js +7 -0
  34. package/dist/funding/get-quote-funding-settlements/query-document.js.map +1 -0
  35. package/dist/funding/get-quote-funding-settlements/query.d.ts +37 -0
  36. package/dist/funding/get-quote-funding-settlements/query.d.ts.map +1 -0
  37. package/dist/funding/get-quote-funding-settlements/query.js +23 -0
  38. package/dist/funding/get-quote-funding-settlements/query.js.map +1 -0
  39. package/dist/funding/get-quote-funding-settlements/to-quote-funding-settlement-row.d.ts +12 -0
  40. package/dist/funding/get-quote-funding-settlements/to-quote-funding-settlement-row.d.ts.map +1 -0
  41. package/dist/funding/get-quote-funding-settlements/to-quote-funding-settlement-row.js +33 -0
  42. package/dist/funding/get-quote-funding-settlements/to-quote-funding-settlement-row.js.map +1 -0
  43. package/dist/funding/get-quote-funding-settlements/types.d.ts +56 -0
  44. package/dist/funding/get-quote-funding-settlements/types.d.ts.map +1 -0
  45. package/dist/funding/index.d.ts +3 -0
  46. package/dist/funding/index.d.ts.map +1 -0
  47. package/dist/index.d.ts +63 -4
  48. package/dist/index.d.ts.map +1 -1
  49. package/dist/index.js +427 -386
  50. package/dist/liquidation/get-liquidation-details/get-liquidation-details.d.ts +44 -0
  51. package/dist/liquidation/get-liquidation-details/get-liquidation-details.d.ts.map +1 -0
  52. package/dist/liquidation/get-liquidation-details/get-liquidation-details.js +30 -0
  53. package/dist/liquidation/get-liquidation-details/get-liquidation-details.js.map +1 -0
  54. package/dist/liquidation/get-liquidation-details/index.d.ts +5 -0
  55. package/dist/liquidation/get-liquidation-details/index.d.ts.map +1 -0
  56. package/dist/liquidation/get-liquidation-details/query-document.d.ts +16 -0
  57. package/dist/liquidation/get-liquidation-details/query-document.d.ts.map +1 -0
  58. package/dist/liquidation/get-liquidation-details/query-document.js +7 -0
  59. package/dist/liquidation/get-liquidation-details/query-document.js.map +1 -0
  60. package/dist/liquidation/get-liquidation-details/query.d.ts +37 -0
  61. package/dist/liquidation/get-liquidation-details/query.d.ts.map +1 -0
  62. package/dist/liquidation/get-liquidation-details/query.js +23 -0
  63. package/dist/liquidation/get-liquidation-details/query.js.map +1 -0
  64. package/dist/liquidation/get-liquidation-details/to-liquidation-detail-row.d.ts +12 -0
  65. package/dist/liquidation/get-liquidation-details/to-liquidation-detail-row.d.ts.map +1 -0
  66. package/dist/liquidation/get-liquidation-details/to-liquidation-detail-row.js +32 -0
  67. package/dist/liquidation/get-liquidation-details/to-liquidation-detail-row.js.map +1 -0
  68. package/dist/liquidation/get-liquidation-details/types.d.ts +47 -0
  69. package/dist/liquidation/get-liquidation-details/types.d.ts.map +1 -0
  70. package/dist/liquidation/index.d.ts +2 -0
  71. package/dist/liquidation/index.d.ts.map +1 -0
  72. package/dist/margin/get-margin-transfers/get-margin-transfers.d.ts +51 -0
  73. package/dist/margin/get-margin-transfers/get-margin-transfers.d.ts.map +1 -0
  74. package/dist/margin/get-margin-transfers/get-margin-transfers.js +32 -0
  75. package/dist/margin/get-margin-transfers/get-margin-transfers.js.map +1 -0
  76. package/dist/margin/get-margin-transfers/index.d.ts +5 -0
  77. package/dist/margin/get-margin-transfers/index.d.ts.map +1 -0
  78. package/dist/margin/get-margin-transfers/query-document.d.ts +17 -0
  79. package/dist/margin/get-margin-transfers/query-document.d.ts.map +1 -0
  80. package/dist/margin/get-margin-transfers/query-document.js +7 -0
  81. package/dist/margin/get-margin-transfers/query-document.js.map +1 -0
  82. package/dist/margin/get-margin-transfers/query.d.ts +37 -0
  83. package/dist/margin/get-margin-transfers/query.d.ts.map +1 -0
  84. package/dist/margin/get-margin-transfers/query.js +23 -0
  85. package/dist/margin/get-margin-transfers/query.js.map +1 -0
  86. package/dist/margin/get-margin-transfers/to-margin-transfer-row.d.ts +12 -0
  87. package/dist/margin/get-margin-transfers/to-margin-transfer-row.d.ts.map +1 -0
  88. package/dist/margin/get-margin-transfers/to-margin-transfer-row.js +19 -0
  89. package/dist/margin/get-margin-transfers/to-margin-transfer-row.js.map +1 -0
  90. package/dist/margin/get-margin-transfers/types.d.ts +27 -0
  91. package/dist/margin/get-margin-transfers/types.d.ts.map +1 -0
  92. package/dist/margin/index.d.ts +1 -0
  93. package/dist/margin/index.d.ts.map +1 -1
  94. package/dist/pools/add-market/to-created-pool.d.ts.map +1 -1
  95. package/dist/pools/add-market/to-created-pool.js +4 -0
  96. package/dist/pools/add-market/to-created-pool.js.map +1 -1
  97. package/dist/pools/add-market/types.d.ts +8 -0
  98. package/dist/pools/add-market/types.d.ts.map +1 -1
  99. package/dist/pools/auth/authenticate-listing.d.ts +3 -1
  100. package/dist/pools/auth/authenticate-listing.d.ts.map +1 -1
  101. package/dist/pools/auth/authenticate-listing.js +28 -23
  102. package/dist/pools/auth/authenticate-listing.js.map +1 -1
  103. package/dist/pools/auth/can-reuse-listing-challenge.d.ts +5 -0
  104. package/dist/pools/auth/can-reuse-listing-challenge.d.ts.map +1 -0
  105. package/dist/pools/auth/can-reuse-listing-challenge.js +9 -0
  106. package/dist/pools/auth/can-reuse-listing-challenge.js.map +1 -0
  107. package/dist/pools/auth/query.d.ts +15 -0
  108. package/dist/pools/auth/query.d.ts.map +1 -1
  109. package/dist/pools/auth/query.js +28 -4
  110. package/dist/pools/auth/query.js.map +1 -1
  111. package/dist/pools/auth/to-siwe.d.ts +5 -1
  112. package/dist/pools/auth/to-siwe.d.ts.map +1 -1
  113. package/dist/pools/auth/to-siwe.js +4 -2
  114. package/dist/pools/auth/to-siwe.js.map +1 -1
  115. package/dist/pools/auth/types.d.ts +2 -0
  116. package/dist/pools/auth/types.d.ts.map +1 -1
  117. package/dist/pools/cancel-withdraw/cancel-withdraw.js +1 -1
  118. package/dist/pools/cancel-withdraw/cancel-withdraw.js.map +1 -1
  119. package/dist/pools/claim-history/get-pool-claim.d.ts +11 -0
  120. package/dist/pools/claim-history/get-pool-claim.d.ts.map +1 -0
  121. package/dist/pools/claim-history/get-pool-claim.js +25 -0
  122. package/dist/pools/claim-history/get-pool-claim.js.map +1 -0
  123. package/dist/pools/claim-history/index.d.ts +1 -0
  124. package/dist/pools/claim-history/index.d.ts.map +1 -1
  125. package/dist/pools/claim-history/to-pool-claim.d.ts.map +1 -1
  126. package/dist/pools/claim-history/to-pool-claim.js +2 -0
  127. package/dist/pools/claim-history/to-pool-claim.js.map +1 -1
  128. package/dist/pools/composition.d.ts +16 -0
  129. package/dist/pools/composition.d.ts.map +1 -0
  130. package/dist/pools/composition.js +39 -0
  131. package/dist/pools/composition.js.map +1 -0
  132. package/dist/pools/empty-pool-profit.d.ts +4 -0
  133. package/dist/pools/empty-pool-profit.d.ts.map +1 -0
  134. package/dist/pools/empty-pool-profit.js +17 -0
  135. package/dist/pools/empty-pool-profit.js.map +1 -0
  136. package/dist/pools/index.d.ts +8 -0
  137. package/dist/pools/index.d.ts.map +1 -1
  138. package/dist/pools/listing-config/to-listing-config.d.ts +5 -1
  139. package/dist/pools/listing-config/to-listing-config.d.ts.map +1 -1
  140. package/dist/pools/listing-config/to-listing-config.js +19 -8
  141. package/dist/pools/listing-config/to-listing-config.js.map +1 -1
  142. package/dist/pools/maintenance-fees/get-pool-maintenance-fees.d.ts +37 -0
  143. package/dist/pools/maintenance-fees/get-pool-maintenance-fees.d.ts.map +1 -0
  144. package/dist/pools/maintenance-fees/get-pool-maintenance-fees.js +35 -0
  145. package/dist/pools/maintenance-fees/get-pool-maintenance-fees.js.map +1 -0
  146. package/dist/pools/maintenance-fees/index.d.ts +3 -0
  147. package/dist/pools/maintenance-fees/index.d.ts.map +1 -0
  148. package/dist/pools/maintenance-fees/query.d.ts +11 -0
  149. package/dist/pools/maintenance-fees/query.d.ts.map +1 -0
  150. package/dist/pools/maintenance-fees/query.js +21 -0
  151. package/dist/pools/maintenance-fees/query.js.map +1 -0
  152. package/dist/pools/market-config/to-listing-market-config.d.ts +6 -1
  153. package/dist/pools/market-config/to-listing-market-config.d.ts.map +1 -1
  154. package/dist/pools/market-config/to-listing-market-config.js +1 -0
  155. package/dist/pools/market-config/to-listing-market-config.js.map +1 -1
  156. package/dist/pools/market-config/types.d.ts +5 -0
  157. package/dist/pools/market-config/types.d.ts.map +1 -1
  158. package/dist/pools/market-config/types.js.map +1 -1
  159. package/dist/pools/market-data/get-pool-market-data.d.ts +14 -0
  160. package/dist/pools/market-data/get-pool-market-data.d.ts.map +1 -0
  161. package/dist/pools/market-data/get-pool-market-data.js +25 -0
  162. package/dist/pools/market-data/get-pool-market-data.js.map +1 -0
  163. package/dist/pools/market-data/index.d.ts +2 -0
  164. package/dist/pools/market-data/index.d.ts.map +1 -0
  165. package/dist/pools/market-detail/to-listing-market-detail.d.ts +5 -1
  166. package/dist/pools/market-detail/to-listing-market-detail.d.ts.map +1 -1
  167. package/dist/pools/market-detail/to-listing-market-detail.js +45 -33
  168. package/dist/pools/market-detail/to-listing-market-detail.js.map +1 -1
  169. package/dist/pools/markets/to-listing-market.d.ts +13 -1
  170. package/dist/pools/markets/to-listing-market.d.ts.map +1 -1
  171. package/dist/pools/markets/to-listing-market.js +24 -12
  172. package/dist/pools/markets/to-listing-market.js.map +1 -1
  173. package/dist/pools/open-positions/calculate-pool-open-positions.d.ts +39 -0
  174. package/dist/pools/open-positions/calculate-pool-open-positions.d.ts.map +1 -0
  175. package/dist/pools/open-positions/calculate-pool-open-positions.js +83 -0
  176. package/dist/pools/open-positions/calculate-pool-open-positions.js.map +1 -0
  177. package/dist/pools/open-positions/get-pool-open-positions.d.ts +17 -0
  178. package/dist/pools/open-positions/get-pool-open-positions.d.ts.map +1 -0
  179. package/dist/pools/open-positions/get-pool-open-positions.js +39 -0
  180. package/dist/pools/open-positions/get-pool-open-positions.js.map +1 -0
  181. package/dist/pools/open-positions/index.d.ts +4 -0
  182. package/dist/pools/open-positions/index.d.ts.map +1 -0
  183. package/dist/pools/open-positions/query.d.ts +17 -0
  184. package/dist/pools/open-positions/query.d.ts.map +1 -0
  185. package/dist/pools/open-positions/query.js +21 -0
  186. package/dist/pools/open-positions/query.js.map +1 -0
  187. package/dist/pools/portfolio/calculate-pool-portfolio.d.ts +66 -0
  188. package/dist/pools/portfolio/calculate-pool-portfolio.d.ts.map +1 -0
  189. package/dist/pools/portfolio/calculate-pool-portfolio.js +96 -0
  190. package/dist/pools/portfolio/calculate-pool-portfolio.js.map +1 -0
  191. package/dist/pools/portfolio/get-pool-portfolio.d.ts +19 -0
  192. package/dist/pools/portfolio/get-pool-portfolio.d.ts.map +1 -0
  193. package/dist/pools/portfolio/get-pool-portfolio.js +88 -0
  194. package/dist/pools/portfolio/get-pool-portfolio.js.map +1 -0
  195. package/dist/pools/portfolio/index.d.ts +4 -0
  196. package/dist/pools/portfolio/index.d.ts.map +1 -0
  197. package/dist/pools/portfolio/query.d.ts +17 -0
  198. package/dist/pools/portfolio/query.d.ts.map +1 -0
  199. package/dist/pools/portfolio/query.js +21 -0
  200. package/dist/pools/portfolio/query.js.map +1 -0
  201. package/dist/pools/portfolio/read-positions.d.ts +4 -0
  202. package/dist/pools/portfolio/read-positions.d.ts.map +1 -0
  203. package/dist/pools/portfolio/read-positions.js +31 -0
  204. package/dist/pools/portfolio/read-positions.js.map +1 -0
  205. package/dist/pools/position/calculate-pool-position.d.ts +85 -0
  206. package/dist/pools/position/calculate-pool-position.d.ts.map +1 -0
  207. package/dist/pools/position/calculate-pool-position.js +59 -0
  208. package/dist/pools/position/calculate-pool-position.js.map +1 -0
  209. package/dist/pools/position/get-pool-position.d.ts +22 -0
  210. package/dist/pools/position/get-pool-position.d.ts.map +1 -0
  211. package/dist/pools/position/get-pool-position.js +47 -0
  212. package/dist/pools/position/get-pool-position.js.map +1 -0
  213. package/dist/pools/position/index.d.ts +4 -0
  214. package/dist/pools/position/index.d.ts.map +1 -0
  215. package/dist/pools/position/query.d.ts +17 -0
  216. package/dist/pools/position/query.d.ts.map +1 -0
  217. package/dist/pools/position/query.js +21 -0
  218. package/dist/pools/position/query.js.map +1 -0
  219. package/dist/pools/position/sum-deposits.d.ts +10 -0
  220. package/dist/pools/position/sum-deposits.d.ts.map +1 -0
  221. package/dist/pools/position/sum-deposits.js +35 -0
  222. package/dist/pools/position/sum-deposits.js.map +1 -0
  223. package/dist/pools/profit/get-user-profit.d.ts +4 -0
  224. package/dist/pools/profit/get-user-profit.d.ts.map +1 -1
  225. package/dist/pools/profit/get-user-profit.js +18 -12
  226. package/dist/pools/profit/get-user-profit.js.map +1 -1
  227. package/dist/pools/profit/to-user-pool-profit.d.ts +22 -4
  228. package/dist/pools/profit/to-user-pool-profit.d.ts.map +1 -1
  229. package/dist/pools/profit/to-user-pool-profit.js +28 -12
  230. package/dist/pools/profit/to-user-pool-profit.js.map +1 -1
  231. package/dist/pools/quotes/get-pool-quotes.d.ts +8 -1
  232. package/dist/pools/quotes/get-pool-quotes.d.ts.map +1 -1
  233. package/dist/pools/quotes/get-pool-quotes.js +8 -1
  234. package/dist/pools/quotes/get-pool-quotes.js.map +1 -1
  235. package/dist/pools/quotes/query-document.d.ts.map +1 -1
  236. package/dist/pools/quotes/query-document.js +1 -1
  237. package/dist/pools/quotes/query-document.js.map +1 -1
  238. package/dist/pools/quotes/to-pool-quote.d.ts.map +1 -1
  239. package/dist/pools/quotes/to-pool-quote.js +13 -0
  240. package/dist/pools/quotes/to-pool-quote.js.map +1 -1
  241. package/dist/pools/rewards/query.js +25 -25
  242. package/dist/pools/statistics/calculate-pool-statistics.d.ts +69 -0
  243. package/dist/pools/statistics/calculate-pool-statistics.d.ts.map +1 -0
  244. package/dist/pools/statistics/calculate-pool-statistics.js +42 -0
  245. package/dist/pools/statistics/calculate-pool-statistics.js.map +1 -0
  246. package/dist/pools/statistics/get-pool-statistics.d.ts +29 -0
  247. package/dist/pools/statistics/get-pool-statistics.d.ts.map +1 -0
  248. package/dist/pools/statistics/get-pool-statistics.js +61 -0
  249. package/dist/pools/statistics/get-pool-statistics.js.map +1 -0
  250. package/dist/pools/statistics/index.d.ts +4 -0
  251. package/dist/pools/statistics/index.d.ts.map +1 -0
  252. package/dist/pools/statistics/query.d.ts +17 -0
  253. package/dist/pools/statistics/query.d.ts.map +1 -0
  254. package/dist/pools/statistics/query.js +21 -0
  255. package/dist/pools/statistics/query.js.map +1 -0
  256. package/dist/pools/token-metadata/get-listing-token-metadata.d.ts +32 -0
  257. package/dist/pools/token-metadata/get-listing-token-metadata.d.ts.map +1 -0
  258. package/dist/pools/token-metadata/get-listing-token-metadata.js +43 -0
  259. package/dist/pools/token-metadata/get-listing-token-metadata.js.map +1 -0
  260. package/dist/pools/token-metadata/index.d.ts +3 -0
  261. package/dist/pools/token-metadata/index.d.ts.map +1 -0
  262. package/dist/pools/token-metadata/query.d.ts +11 -0
  263. package/dist/pools/token-metadata/query.d.ts.map +1 -0
  264. package/dist/pools/token-metadata/query.js +21 -0
  265. package/dist/pools/token-metadata/query.js.map +1 -0
  266. package/dist/pools/token-support/check-listing-token-support.d.ts +23 -0
  267. package/dist/pools/token-support/check-listing-token-support.d.ts.map +1 -0
  268. package/dist/pools/token-support/check-listing-token-support.js +36 -0
  269. package/dist/pools/token-support/check-listing-token-support.js.map +1 -0
  270. package/dist/pools/token-support/index.d.ts +3 -0
  271. package/dist/pools/token-support/index.d.ts.map +1 -0
  272. package/dist/pools/token-support/query.d.ts +11 -0
  273. package/dist/pools/token-support/query.d.ts.map +1 -0
  274. package/dist/pools/token-support/query.js +21 -0
  275. package/dist/pools/token-support/query.js.map +1 -0
  276. package/dist/pools/trade-history/calculate-history-metrics.d.ts +12 -0
  277. package/dist/pools/trade-history/calculate-history-metrics.d.ts.map +1 -0
  278. package/dist/pools/trade-history/calculate-history-metrics.js +36 -0
  279. package/dist/pools/trade-history/calculate-history-metrics.js.map +1 -0
  280. package/dist/pools/trade-history/get-pool-trade-history.d.ts +21 -1
  281. package/dist/pools/trade-history/get-pool-trade-history.d.ts.map +1 -1
  282. package/dist/pools/trade-history/get-pool-trade-history.js +57 -18
  283. package/dist/pools/trade-history/get-pool-trade-history.js.map +1 -1
  284. package/dist/pools/trade-history/query-document.d.ts +3 -0
  285. package/dist/pools/trade-history/query-document.d.ts.map +1 -1
  286. package/dist/pools/trade-history/query-document.js +1 -1
  287. package/dist/pools/trade-history/query-document.js.map +1 -1
  288. package/dist/pools/transactions/get-pool-transaction-range.d.ts +6 -0
  289. package/dist/pools/transactions/get-pool-transaction-range.d.ts.map +1 -0
  290. package/dist/pools/transactions/get-pool-transaction-range.js +26 -0
  291. package/dist/pools/transactions/get-pool-transaction-range.js.map +1 -0
  292. package/dist/pools/transactions/index.d.ts +1 -0
  293. package/dist/pools/transactions/index.d.ts.map +1 -1
  294. package/dist/pools/types/generated/listing-backend.js +34 -10
  295. package/dist/pools/types/generated/listing-backend.js.map +1 -1
  296. package/dist/pools/types.d.ts +129 -6
  297. package/dist/pools/types.d.ts.map +1 -1
  298. package/dist/pools/types.js.map +1 -1
  299. package/dist/pools/user-markets/get-user-listing-markets.d.ts +2 -0
  300. package/dist/pools/user-markets/get-user-listing-markets.d.ts.map +1 -1
  301. package/dist/pools/user-markets/get-user-listing-markets.js.map +1 -1
  302. package/dist/pools/user-markets/to-user-listing-market.js +1 -1
  303. package/dist/pools/user-markets/to-user-listing-market.js.map +1 -1
  304. package/dist/pools/user-transactions/get-user-transactions.d.ts +2 -0
  305. package/dist/pools/user-transactions/get-user-transactions.d.ts.map +1 -1
  306. package/dist/pools/user-transactions/get-user-transactions.js.map +1 -1
  307. package/dist/pools/user-transactions/to-user-transaction.d.ts +5 -1
  308. package/dist/pools/user-transactions/to-user-transaction.d.ts.map +1 -1
  309. package/dist/pools/user-transactions/to-user-transaction.js +3 -0
  310. package/dist/pools/user-transactions/to-user-transaction.js.map +1 -1
  311. package/dist/quotes/get-quote-events-by-type/get-quote-events-by-type.d.ts +22 -12
  312. package/dist/quotes/get-quote-events-by-type/get-quote-events-by-type.d.ts.map +1 -1
  313. package/dist/quotes/get-quote-events-by-type/get-quote-events-by-type.js +20 -21
  314. package/dist/quotes/get-quote-events-by-type/get-quote-events-by-type.js.map +1 -1
  315. package/dist/quotes/get-quote-events-by-type/query-document.d.ts +5 -5
  316. package/dist/quotes/get-quote-events-by-type/query-document.d.ts.map +1 -1
  317. package/dist/quotes/get-quote-events-by-type/query-document.js +1 -1
  318. package/dist/quotes/get-quote-events-by-type/query-document.js.map +1 -1
  319. package/dist/quotes/get-quote-events-by-type/query.d.ts +7 -6
  320. package/dist/quotes/get-quote-events-by-type/query.d.ts.map +1 -1
  321. package/dist/quotes/get-quote-events-by-type/query.js +19 -17
  322. package/dist/quotes/get-quote-events-by-type/query.js.map +1 -1
  323. package/dist/quotes/get-quote-events-by-type/to-quote-event-row.d.ts +2 -2
  324. package/dist/quotes/get-quote-events-by-type/to-quote-event-row.d.ts.map +1 -1
  325. package/dist/quotes/get-quote-events-by-type/to-quote-event-row.js +1 -3
  326. package/dist/quotes/get-quote-events-by-type/to-quote-event-row.js.map +1 -1
  327. package/dist/quotes/get-quote-events-by-type/types.d.ts +14 -3
  328. package/dist/quotes/get-quote-events-by-type/types.d.ts.map +1 -1
  329. package/dist/quotes/get-quote-events-by-type/types.js.map +1 -1
  330. package/dist/quotes/get-quote-funding/get-quote-funding.d.ts +12 -2
  331. package/dist/quotes/get-quote-funding/get-quote-funding.d.ts.map +1 -1
  332. package/dist/quotes/get-quote-funding/get-quote-funding.js +21 -17
  333. package/dist/quotes/get-quote-funding/get-quote-funding.js.map +1 -1
  334. package/dist/quotes/get-quote-funding/query-document.d.ts +3 -2
  335. package/dist/quotes/get-quote-funding/query-document.d.ts.map +1 -1
  336. package/dist/quotes/get-quote-funding/query-document.js +1 -1
  337. package/dist/quotes/get-quote-funding/query-document.js.map +1 -1
  338. package/dist/quotes/get-quote-funding/query.d.ts.map +1 -1
  339. package/dist/quotes/get-quote-funding/query.js +2 -1
  340. package/dist/quotes/get-quote-funding/query.js.map +1 -1
  341. package/dist/quotes/get-quote-funding/to-funding-row.d.ts.map +1 -1
  342. package/dist/quotes/get-quote-funding/to-funding-row.js +1 -3
  343. package/dist/quotes/get-quote-funding/to-funding-row.js.map +1 -1
  344. package/dist/quotes/get-quote-history/get-quote-history.d.ts +18 -7
  345. package/dist/quotes/get-quote-history/get-quote-history.d.ts.map +1 -1
  346. package/dist/quotes/get-quote-history/get-quote-history.js +32 -22
  347. package/dist/quotes/get-quote-history/get-quote-history.js.map +1 -1
  348. package/dist/quotes/get-quote-history/query-document.d.ts +12 -7
  349. package/dist/quotes/get-quote-history/query-document.d.ts.map +1 -1
  350. package/dist/quotes/get-quote-history/query-document.js +1 -1
  351. package/dist/quotes/get-quote-history/query-document.js.map +1 -1
  352. package/dist/quotes/get-quote-history/query.d.ts +3 -2
  353. package/dist/quotes/get-quote-history/query.d.ts.map +1 -1
  354. package/dist/quotes/get-quote-history/query.js +22 -19
  355. package/dist/quotes/get-quote-history/query.js.map +1 -1
  356. package/dist/quotes/get-quote-history/to-history-row.d.ts.map +1 -1
  357. package/dist/quotes/get-quote-history/to-history-row.js +52 -37
  358. package/dist/quotes/get-quote-history/to-history-row.js.map +1 -1
  359. package/dist/quotes/get-quote-history/types.d.ts +41 -0
  360. package/dist/quotes/get-quote-history/types.d.ts.map +1 -1
  361. package/dist/quotes/get-quote-history/types.js.map +1 -1
  362. package/dist/quotes/get-quotes-events-by-type/get-quotes-events-by-type.d.ts +21 -11
  363. package/dist/quotes/get-quotes-events-by-type/get-quotes-events-by-type.d.ts.map +1 -1
  364. package/dist/quotes/get-quotes-events-by-type/get-quotes-events-by-type.js +19 -21
  365. package/dist/quotes/get-quotes-events-by-type/get-quotes-events-by-type.js.map +1 -1
  366. package/dist/quotes/get-quotes-events-by-type/query-document.d.ts +7 -7
  367. package/dist/quotes/get-quotes-events-by-type/query-document.d.ts.map +1 -1
  368. package/dist/quotes/get-quotes-events-by-type/query-document.js +1 -1
  369. package/dist/quotes/get-quotes-events-by-type/query-document.js.map +1 -1
  370. package/dist/quotes/get-quotes-events-by-type/query.d.ts +8 -6
  371. package/dist/quotes/get-quotes-events-by-type/query.d.ts.map +1 -1
  372. package/dist/quotes/get-quotes-events-by-type/query.js +22 -20
  373. package/dist/quotes/get-quotes-events-by-type/query.js.map +1 -1
  374. package/dist/quotes/get-subgraph-quotes/get-subgraph-quotes.d.ts +38 -0
  375. package/dist/quotes/get-subgraph-quotes/get-subgraph-quotes.d.ts.map +1 -0
  376. package/dist/quotes/get-subgraph-quotes/get-subgraph-quotes.js +28 -0
  377. package/dist/quotes/get-subgraph-quotes/get-subgraph-quotes.js.map +1 -0
  378. package/dist/quotes/get-subgraph-quotes/index.d.ts +5 -0
  379. package/dist/quotes/get-subgraph-quotes/index.d.ts.map +1 -0
  380. package/dist/quotes/get-subgraph-quotes/query-document.d.ts +15 -0
  381. package/dist/quotes/get-subgraph-quotes/query-document.d.ts.map +1 -0
  382. package/dist/quotes/get-subgraph-quotes/query-document.js +7 -0
  383. package/dist/quotes/get-subgraph-quotes/query-document.js.map +1 -0
  384. package/dist/quotes/get-subgraph-quotes/query.d.ts +37 -0
  385. package/dist/quotes/get-subgraph-quotes/query.d.ts.map +1 -0
  386. package/dist/quotes/get-subgraph-quotes/query.js +23 -0
  387. package/dist/quotes/get-subgraph-quotes/query.js.map +1 -0
  388. package/dist/quotes/get-subgraph-quotes/to-subgraph-quote-row.d.ts +12 -0
  389. package/dist/quotes/get-subgraph-quotes/to-subgraph-quote-row.d.ts.map +1 -0
  390. package/dist/quotes/get-subgraph-quotes/to-subgraph-quote-row.js +32 -0
  391. package/dist/quotes/get-subgraph-quotes/to-subgraph-quote-row.js.map +1 -0
  392. package/dist/quotes/get-subgraph-quotes/types.d.ts +54 -0
  393. package/dist/quotes/get-subgraph-quotes/types.d.ts.map +1 -0
  394. package/dist/quotes/index.d.ts +1 -0
  395. package/dist/quotes/index.d.ts.map +1 -1
  396. package/dist/quotes/liquidation/calculate-liquidation-price.d.ts +5 -1
  397. package/dist/quotes/liquidation/calculate-liquidation-price.d.ts.map +1 -1
  398. package/dist/quotes/liquidation/calculate-liquidation-price.js +1 -1
  399. package/dist/quotes/liquidation/calculate-liquidation-price.js.map +1 -1
  400. package/dist/quotes/upnl/calculate-quote-pnl.d.ts.map +1 -1
  401. package/dist/quotes/upnl/calculate-quote-pnl.js +8 -8
  402. package/dist/quotes/upnl/calculate-quote-pnl.js.map +1 -1
  403. package/dist/quotes/upnl/calculate-quote-upnl.d.ts +2 -2
  404. package/dist/quotes/upnl/calculate-quote-upnl.d.ts.map +1 -1
  405. package/dist/quotes/upnl/calculate-quote-upnl.js +16 -15
  406. package/dist/quotes/upnl/calculate-quote-upnl.js.map +1 -1
  407. package/dist/symmio-contracts/symmio/get-party-a-open-positions-batch/get-party-a-open-positions-batch.d.ts +122 -0
  408. package/dist/symmio-contracts/symmio/get-party-a-open-positions-batch/get-party-a-open-positions-batch.d.ts.map +1 -0
  409. package/dist/symmio-contracts/symmio/get-party-a-open-positions-batch/get-party-a-open-positions-batch.js +80 -0
  410. package/dist/symmio-contracts/symmio/get-party-a-open-positions-batch/get-party-a-open-positions-batch.js.map +1 -0
  411. package/dist/symmio-contracts/symmio/get-party-a-open-positions-batch/index.d.ts +3 -0
  412. package/dist/symmio-contracts/symmio/get-party-a-open-positions-batch/index.d.ts.map +1 -0
  413. package/dist/symmio-contracts/symmio/get-party-a-open-positions-batch/query.d.ts +37 -0
  414. package/dist/symmio-contracts/symmio/get-party-a-open-positions-batch/query.d.ts.map +1 -0
  415. package/dist/symmio-contracts/symmio/get-party-a-open-positions-batch/query.js +27 -0
  416. package/dist/symmio-contracts/symmio/get-party-a-open-positions-batch/query.js.map +1 -0
  417. package/dist/symmio-contracts/symmio/index.d.ts +2 -0
  418. package/dist/symmio-contracts/symmio/index.d.ts.map +1 -1
  419. package/dist/symmio-contracts/symmio/is-party-a-liquidated/index.d.ts +3 -0
  420. package/dist/symmio-contracts/symmio/is-party-a-liquidated/index.d.ts.map +1 -0
  421. package/dist/symmio-contracts/symmio/is-party-a-liquidated/is-party-a-liquidated.d.ts +37 -0
  422. package/dist/symmio-contracts/symmio/is-party-a-liquidated/is-party-a-liquidated.d.ts.map +1 -0
  423. package/dist/symmio-contracts/symmio/is-party-a-liquidated/is-party-a-liquidated.js +15 -0
  424. package/dist/symmio-contracts/symmio/is-party-a-liquidated/is-party-a-liquidated.js.map +1 -0
  425. package/dist/symmio-contracts/symmio/is-party-a-liquidated/query.d.ts +38 -0
  426. package/dist/symmio-contracts/symmio/is-party-a-liquidated/query.d.ts.map +1 -0
  427. package/dist/symmio-contracts/symmio/is-party-a-liquidated/query.js +29 -0
  428. package/dist/symmio-contracts/symmio/is-party-a-liquidated/query.js.map +1 -0
  429. package/dist/symmio-subgraph/index.d.ts +1 -0
  430. package/dist/symmio-subgraph/index.d.ts.map +1 -1
  431. package/dist/symmio-subgraph/subgraph-decode.d.ts +51 -0
  432. package/dist/symmio-subgraph/subgraph-decode.d.ts.map +1 -0
  433. package/dist/symmio-subgraph/subgraph-decode.js +24 -0
  434. package/dist/symmio-subgraph/subgraph-decode.js.map +1 -0
  435. package/dist/symmio-subgraph/subgraph-filters.d.ts +97 -0
  436. package/dist/symmio-subgraph/subgraph-filters.d.ts.map +1 -0
  437. package/dist/symmio-subgraph/subgraph-filters.js +39 -0
  438. package/dist/symmio-subgraph/subgraph-filters.js.map +1 -0
  439. package/dist/symmio-subgraph/types/generated/analytics/gql.d.ts +26 -6
  440. package/dist/symmio-subgraph/types/generated/analytics/gql.d.ts.map +1 -1
  441. package/dist/symmio-subgraph/types/generated/analytics/gql.js +16 -11
  442. package/dist/symmio-subgraph/types/generated/analytics/gql.js.map +1 -1
  443. package/dist/symmio-subgraph/types/generated/analytics/graphql.d.ts +3661 -9
  444. package/dist/symmio-subgraph/types/generated/analytics/graphql.d.ts.map +1 -1
  445. package/dist/symmio-subgraph/types/generated/analytics/graphql.js +2 -2
  446. package/dist/symmio-subgraph/types/generated/analytics/graphql.js.map +1 -1
  447. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -190,391 +190,432 @@ import { createClassicWithdrawPart as Zr } from "./symmio-contracts/symmio/parts
190
190
  import { withdrawAuto as Qr } from "./symmio-contracts/symmio/actions/withdraw-auto.js";
191
191
  import { getFundingFeesOfPartyB as $r } from "./symmio-contracts/symmio/get-funding-fees-of-party-b/get-funding-fees-of-party-b.js";
192
192
  import { getFundingFeesOfPartyBQueryKey as ei, getFundingFeesOfPartyBQueryOptions as ti } from "./symmio-contracts/symmio/get-funding-fees-of-party-b/query.js";
193
- import { allocateMutationOptions as ni } from "./symmio-contracts/symmio/query/allocate.js";
194
- import { approveOperationalFeeMutationOptions as ri } from "./symmio-contracts/symmio/query/approve-operational-fee.js";
195
- import { deallocateMutationOptions as ii } from "./symmio-contracts/symmio/query/deallocate.js";
196
- import { deallocateAndInitiateWithdrawMutationOptions as ai } from "./symmio-contracts/symmio/query/deallocate-and-initiate-withdraw.js";
197
- import { finalizeWithdrawRequestMutationOptions as oi } from "./symmio-contracts/symmio/query/finalize-withdraw-request.js";
198
- import { forceCancelCloseRequestMutationOptions as si } from "./symmio-contracts/symmio/query/force-cancel-close-request.js";
199
- import { forceCancelQuoteMutationOptions as ci } from "./symmio-contracts/symmio/query/force-cancel-quote.js";
200
- import { getCoolDownsOfMAQueryKey as li, getCoolDownsOfMAQueryOptions as ui } from "./symmio-contracts/symmio/query/get-cool-downs-of-ma.js";
201
- import { getFeeForUserQueryKey as di, getFeeForUserQueryOptions as fi } from "./symmio-contracts/symmio/query/get-fee-for-user.js";
202
- import { getLastWithdrawRequestIdQueryKey as pi, getLastWithdrawRequestIdQueryOptions as mi } from "./symmio-contracts/symmio/query/get-last-withdraw-request-id.js";
203
- import { getOnchainContractMarketsQueryKey as hi, getOnchainContractMarketsQueryOptions as gi } from "./symmio-contracts/symmio/query/get-onchain-contract-markets.js";
204
- import { getOperationalFeeAllowanceQueryKey as _i, getOperationalFeeAllowanceQueryOptions as vi } from "./symmio-contracts/symmio/query/get-operational-fee-allowance.js";
205
- import { getPartyAOpenPositionsQueryKey as yi, getPartyAOpenPositionsQueryOptions as bi } from "./symmio-contracts/symmio/query/get-party-a-open-positions.js";
206
- import { getPartyAPendingQuotesQueryKey as xi, getPartyAPendingQuotesQueryOptions as Si } from "./symmio-contracts/symmio/query/get-party-a-pending-quotes.js";
207
- import { getPendingQuotesQueryKey as Ci, getPendingQuotesQueryOptions as wi } from "./symmio-contracts/symmio/query/get-pending-quotes.js";
208
- import { getPendingWithdrawRequestsQueryKey as Ti, getPendingWithdrawRequestsQueryOptions as Ei } from "./symmio-contracts/symmio/query/get-pending-withdraw-requests.js";
209
- import { getQuoteQueryKey as Di, getQuoteQueryOptions as Oi } from "./symmio-contracts/symmio/query/get-quote.js";
210
- import { getWithdrawRequestsQueryKey as ki, getWithdrawRequestsQueryOptions as Ai } from "./symmio-contracts/symmio/query/get-withdraw-requests.js";
211
- import { getWithdrawableTimeQueryKey as ji, getWithdrawableTimeQueryOptions as Mi } from "./symmio-contracts/symmio/query/get-withdrawable-time.js";
212
- import { initiateWithdrawMutationOptions as Ni } from "./symmio-contracts/symmio/query/initiate-withdraw.js";
213
- import { requestCancelWithdrawMutationOptions as Pi } from "./symmio-contracts/symmio/query/request-cancel-withdraw.js";
214
- import { requestToCancelCloseRequestMutationOptions as Fi } from "./symmio-contracts/symmio/query/request-to-cancel-close-request.js";
215
- import { requestToCancelQuoteMutationOptions as Ii } from "./symmio-contracts/symmio/query/request-to-cancel-quote.js";
216
- import { simulateAllocateMutationOptions as Li } from "./symmio-contracts/symmio/query/simulate-allocate.js";
217
- import { simulateDeallocateMutationOptions as Ri } from "./symmio-contracts/symmio/query/simulate-deallocate.js";
218
- import { simulateDeallocateAndInitiateWithdrawMutationOptions as zi } from "./symmio-contracts/symmio/query/simulate-deallocate-and-initiate-withdraw.js";
219
- import { simulateFinalizeWithdrawRequestMutationOptions as Bi } from "./symmio-contracts/symmio/query/simulate-finalize-withdraw-request.js";
220
- import { simulateInitiateWithdrawMutationOptions as Vi } from "./symmio-contracts/symmio/query/simulate-initiate-withdraw.js";
221
- import { simulateRequestCancelWithdrawMutationOptions as Hi } from "./symmio-contracts/symmio/query/simulate-request-cancel-withdraw.js";
222
- import { withdrawMutationOptions as Ui } from "./symmio-contracts/symmio/query/withdraw.js";
223
- import { withdrawAutoMutationOptions as Wi } from "./symmio-contracts/symmio/query/withdraw-auto.js";
224
- import { OrderType as Gi, PositionType as Ki, QuoteStatus as qi, WithdrawStatus as Ji } from "./symmio-contracts/symmio/types.js";
225
- import { getEnigmaPriceServiceHealth as Yi } from "./price-service/enigma/health/get-enigma-price-service-health.js";
226
- import { getEnigmaPriceServiceHealthQueryKey as Xi, getEnigmaPriceServiceHealthQueryOptions as Zi } from "./price-service/enigma/health/query.js";
227
- import { getEnigmaPriceServiceMetadata as Qi } from "./price-service/enigma/metadata/get-enigma-price-service-metadata.js";
228
- import { getEnigmaPriceServiceMetadataQueryKey as $i, getEnigmaPriceServiceMetadataQueryOptions as ea } from "./price-service/enigma/metadata/query.js";
229
- import { getEnigmaPriceServicePricesByAddresses as ta } from "./price-service/enigma/prices-by-addresses/get-enigma-price-service-prices-by-addresses.js";
230
- import { getEnigmaPriceServicePricesByAddressesQueryKey as na, getEnigmaPriceServicePricesByAddressesQueryOptions as ra } from "./price-service/enigma/prices-by-addresses/query.js";
231
- import { getEnigmaPriceServicePricesByNames as ia } from "./price-service/enigma/prices-by-names/get-enigma-price-service-prices-by-names.js";
232
- import { getEnigmaPriceServicePricesByNamesQueryKey as aa, getEnigmaPriceServicePricesByNamesQueryOptions as oa } from "./price-service/enigma/prices-by-names/query.js";
233
- import { getEnigmaPriceServiceSymbolsInfo as sa } from "./price-service/enigma/symbols-info/get-enigma-price-service-symbols-info.js";
234
- import { getEnigmaPriceServiceSymbolsInfoQueryKey as ca, getEnigmaPriceServiceSymbolsInfoQueryOptions as la } from "./price-service/enigma/symbols-info/query.js";
235
- import { ActionStatus as ua, NotificationType as da } from "./websocket/notifications/types.js";
236
- import { classifyNotification as fa, normalizeNotification as pa } from "./websocket/notifications/normalize-notification.js";
237
- import { buildSubscribeMessage as ma } from "./websocket/notifications/adapters/enigma-notifications.js";
238
- import { buildRasaSubscribeMessage as ha } from "./websocket/notifications/adapters/rasa-notifications-hub.js";
239
- import { parseNotificationFrame as ga } from "./websocket/notifications/parse-notification-frame.js";
240
- import { watchNotifications as _a } from "./websocket/notifications/watch-notifications.js";
241
- import { parseBinancePriceFrame as va } from "./websocket/prices/parse-binance-price-frame.js";
242
- import { parsePriceFrame as ya } from "./websocket/prices/parse-price-frame.js";
243
- import { watchBinancePrices as ba } from "./websocket/prices/watch-binance-prices.js";
244
- import { watchEnigmaPrices as xa } from "./websocket/prices/watch-enigma-prices.js";
245
- import { watchPrices as Sa } from "./websocket/prices/watch-prices.js";
246
- import { getBinanceHealth as Ca } from "./price-service/binance/health/get-binance-health.js";
247
- import { getBinanceHealthQueryKey as wa, getBinanceHealthQueryOptions as Ta } from "./price-service/binance/health/query.js";
248
- import { getBinancePremiumIndex as Ea } from "./price-service/binance/premium-index/get-binance-premium-index.js";
249
- import { getBinancePremiumIndexQueryKey as Da, getBinancePremiumIndexQueryOptions as Oa } from "./price-service/binance/premium-index/query.js";
250
- import { getBinanceSymbolsInfo as ka } from "./price-service/binance/symbols-info/get-binance-symbols-info.js";
251
- import { getBinanceSymbolsInfoQueryKey as Aa, getBinanceSymbolsInfoQueryOptions as ja } from "./price-service/binance/symbols-info/query.js";
252
- import { getMarkPrices as Ma } from "./price-service/get-mark-prices/get-mark-prices.js";
253
- import { getMarkPricesQueryKey as Na, getMarkPricesQueryOptions as Pa } from "./price-service/get-mark-prices/query.js";
254
- import { searchNotifications as Fa } from "./notifications/search/search-notifications.js";
255
- import { searchNotificationsQueryKey as Ia, searchNotificationsQueryOptions as La } from "./notifications/search/query.js";
256
- import { calculateSolverCloseFee as Ra, getSolverCloseFeeRate as za, toThresholdSeconds as Ba } from "./solvers/shared/solver-close-fee.js";
257
- import { getMarkets as Va } from "./solvers/markets/get-markets.js";
258
- import { getMarketsQueryKey as Ha, getMarketsQueryOptions as Ua } from "./solvers/markets/query.js";
259
- import { getSolverCapabilities as Wa, supportsGroupClose as Ga, supportsLimitOrder as Ka } from "./solvers/capabilities.js";
260
- import { ZERO_UPNL_SIG as qa, buildQuoteMetadata as Ja, encodeAddMarginToNextVA as Ya, encodeSendQuote as Xa, encodeSendQuoteWithAffiliateAndData as Za, getFakeSendQuoteMuonSignature as Qa, sendQuoteUpnlSigFlexRange as $a } from "./solvers/instant-open/shared/calldata.js";
261
- import { sendInstantOpen as eo, sendRasaInstantOpen as to } from "./solvers/instant-open/shared/hedger-api.js";
262
- import { ORDER_TYPE_MARKET as no, VIRTUAL_ACCOUNT_ISOLATION_TYPE as ro, isolationTypeForSide as io } from "./solvers/instant-open/shared/types.js";
263
- import { getSendQuoteUpnlSig as ao } from "./muon/send-quote-upnl-sig/get-send-quote-upnl-sig.js";
264
- import { getSendQuoteUpnlSigQueryKey as oo, getSendQuoteUpnlSigQueryOptions as so } from "./muon/send-quote-upnl-sig/query.js";
265
- import { MARKET_ORDER_DEADLINE_SECONDS as co, SHORT_FUNDING_BUFFER_PERCENT as lo, calculateAvailableInstantOpenMargin as uo, calculateExpectedSettlementLoss as fo, calculateMargin as po, calculateSolverFees as mo, calculateTradeParams as ho, computePlatformFee as go, computePlatformFeeLegs as _o, getMarketOrderDeadline as vo, toWeiBigInt as yo } from "./solvers/instant-open/shared/trade-math.js";
266
- import { instantOpen as bo } from "./solvers/instant-open/instant-open/instant-open.js";
267
- import { instantOpenMutationOptions as xo } from "./solvers/instant-open/instant-open/query.js";
268
- import { decimalPriceToWei as So } from "./shared/utils/price.js";
269
- import { toEstimatedPrice as Co } from "./solvers/estimated-price/to-estimated-price.js";
270
- import { getEstimatedPrice as wo } from "./solvers/estimated-price/get-estimated-price.js";
271
- import { deriveAutoSlippage as To } from "./solvers/instant-open/shared/open-estimate-guard.js";
272
- import { checkNotionalCap as Eo } from "./solvers/notional-cap/check-notional-cap.js";
273
- import { validateInstantOpenAgainstMarket as Do } from "./solvers/instant-open/shared/quote-constraints.js";
274
- import { validateInstantOpenBalanceFunding as Oo } from "./solvers/instant-open/shared/resolve-instant-open-sizing.js";
275
- import { resolveFeeRates as ko } from "./solvers/shared/resolvers/resolve-fee-rates.js";
276
- import { resolveMarkPrice as Ao } from "./solvers/shared/resolvers/resolve-mark-price.js";
277
- import { resolveMarket as jo } from "./solvers/shared/resolvers/resolve-market.js";
278
- import { getSolverInfo as Mo } from "./solvers/get-solver-info/get-solver-info.js";
279
- import { getSolverInfoQueryKey as No, getSolverInfoQueryOptions as Po } from "./solvers/get-solver-info/query.js";
280
- import { getLockedParams as Fo } from "./solvers/locked-params/get-locked-params.js";
281
- import { resolveLockedParams as Io } from "./solvers/instant-open/prepare-instant-open-params/resolvers/resolve-locked-params.js";
282
- import { prepareInstantOpenParams as Lo } from "./solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.js";
283
- import { prepareLimitOpenParams as Ro } from "./solvers/limit-open/prepare-limit-open-params.js";
284
- import { limitOpenAuto as zo } from "./solvers/limit-open/limit-open-auto.js";
285
- import { limitOpenAutoMutationOptions as Bo } from "./solvers/limit-open/query.js";
286
- import { encodeRequestToClosePosition as Vo } from "./solvers/instant-close/shared/calldata.js";
287
- import { sendInstantClose as Ho } from "./solvers/instant-close/shared/hedger-api.js";
288
- import { instantClose as Uo } from "./solvers/instant-close/instant-close/instant-close.js";
289
- import { calculateClosePrice as Wo, clampClosePrecision as Go } from "./solvers/instant-close/shared/close-math.js";
290
- import { prepareInstantCloseParams as Ko } from "./solvers/instant-close/prepare-instant-close-params/prepare-instant-close-params.js";
291
- import { prepareLimitCloseParams as qo } from "./solvers/limit-close/prepare-limit-close-params.js";
292
- import { limitCloseAuto as Jo } from "./solvers/limit-close/limit-close-auto.js";
293
- import { limitCloseAutoMutationOptions as Yo } from "./solvers/limit-close/query.js";
294
- import { BINANCE_EXCHANGE_INFO_PATH as Xo, BINANCE_KLINES_PATH as Zo, BINANCE_MAX_LIMIT as Qo, BINANCE_REST_URL as $o, BINANCE_WS_URL as es } from "./candles/sources/binance/constants.js";
295
- import { parseBinanceKline as ts, parseBinanceKlineEvent as ns } from "./candles/sources/binance/parse-kline.js";
296
- import { getForceClosePriceSig as rs } from "./muon/force-close-price-sig/get-force-close-price-sig.js";
297
- import { checkForceCloseEligibility as is, checkForceClosePriceReached as as, findForceCloseWindow as os, previewForceClosePrice as ss } from "./solvers/force-close/force-close-math.js";
298
- import { forceClosePosition as cs } from "./solvers/force-close/force-close-position.js";
299
- import { getForceCloseParams as ls } from "./solvers/force-close/get-force-close-params.js";
300
- import { forceCloseAuto as us } from "./solvers/force-close/force-close-auto.js";
301
- import { forceCloseAutoMutationOptions as ds, forceClosePositionMutationOptions as fs, getForceCloseParamsQueryKey as ps, getForceCloseParamsQueryOptions as ms } from "./solvers/force-close/query.js";
302
- import { calculatePriceImpact as hs } from "./solvers/estimated-price/price-impact.js";
303
- import { getEstimatedPriceQueryKey as gs, getEstimatedPriceQueryOptions as _s } from "./solvers/estimated-price/query.js";
304
- import { supportsEstimatedPrice as vs } from "./solvers/estimated-price/supports-estimated-price.js";
305
- import { toMarketFundingInfo as ys } from "./solvers/funding-info/to-funding-info.js";
306
- import { getFundingInfo as bs } from "./solvers/funding-info/get-funding-info.js";
307
- import { projectFundingRate as xs } from "./solvers/funding-info/project-funding-rate.js";
308
- import { getFundingInfoQueryKey as Ss, getFundingInfoQueryOptions as Cs } from "./solvers/funding-info/query.js";
309
- import { toRevenueRecord as ws } from "./solvers/revenue-records/to-revenue-record.js";
310
- import { getRevenueRecords as Ts } from "./solvers/revenue-records/get-revenue-records.js";
311
- import { getRevenueRecordsQueryKey as Es, getRevenueRecordsQueryOptions as Ds } from "./solvers/revenue-records/query.js";
312
- import { toSolverSymbols as Os } from "./solvers/symbols/to-solver-symbol.js";
313
- import { getSymbols as ks } from "./solvers/symbols/get-symbols.js";
314
- import { getSymbolsQueryKey as As, getSymbolsQueryOptions as js } from "./solvers/symbols/query.js";
315
- import { toSolverDailyVolume as Ms } from "./solvers/trade-volume/to-daily-volume.js";
316
- import { getTradeVolume as Ns } from "./solvers/trade-volume/get-trade-volume.js";
317
- import { getTradeVolumeQueryKey as Ps, getTradeVolumeQueryOptions as Fs } from "./solvers/trade-volume/query.js";
318
- import { getErrorMessage as Is } from "./solvers/get-error-message/get-error-message.js";
319
- import { getErrorMessageQueryKey as Ls, getErrorMessageQueryOptions as Rs } from "./solvers/get-error-message/query.js";
320
- import { getPartyAUpnl as zs } from "./solvers/get-party-a-upnl/get-party-a-upnl.js";
321
- import { getPartyAUpnlQueryKey as Bs, getPartyAUpnlQueryOptions as Vs } from "./solvers/get-party-a-upnl/query.js";
322
- import { getSolverBalanceInfo as Hs } from "./solvers/get-solver-balance-info/get-solver-balance-info.js";
323
- import { getSolverBalanceInfoQueryKey as Us, getSolverBalanceInfoQueryOptions as Ws } from "./solvers/get-solver-balance-info/query.js";
324
- import { getSolverOpenInterest as Gs } from "./solvers/get-solver-open-interest/get-solver-open-interest.js";
325
- import { getSolverOpenInterestQueryKey as Ks, getSolverOpenInterestQueryOptions as qs } from "./solvers/get-solver-open-interest/query.js";
326
- import { getSolverPriceRange as Js } from "./solvers/get-solver-price-range/get-solver-price-range.js";
327
- import { getSolverPriceRangeQueryKey as Ys, getSolverPriceRangeQueryOptions as Xs } from "./solvers/get-solver-price-range/query.js";
328
- import { getSolverReadiness as Zs } from "./solvers/get-solver-readiness/get-solver-readiness.js";
329
- import { getSolverReadinessQueryKey as Qs, getSolverReadinessQueryOptions as $s } from "./solvers/get-solver-readiness/query.js";
330
- import { getMarketInfo as ec } from "./solvers/market-info/get-market-info.js";
331
- import { getMarketInfoQueryKey as tc, getMarketInfoQueryOptions as nc } from "./solvers/market-info/query.js";
332
- import { getLockedParamsQueryKey as rc, getLockedParamsQueryOptions as ic } from "./solvers/locked-params/query.js";
333
- import { getNotionalCapPage as ac } from "./solvers/notional-cap/get-notional-cap-page.js";
334
- import { getNotionalCapAll as oc } from "./solvers/notional-cap/get-notional-cap-all.js";
335
- import { getNotionalCapBySymbolId as sc } from "./solvers/notional-cap/get-notional-cap-by-symbol-id.js";
336
- import { getOpenInterestBySymbolId as cc } from "./solvers/notional-cap/get-open-interest-by-symbol-id.js";
337
- import { getNotionalCapBySymbolIdQueryKey as lc, getNotionalCapBySymbolIdQueryOptions as uc } from "./solvers/notional-cap/query.js";
338
- import { getNotionalCapAllQueryKey as dc, getNotionalCapAllQueryOptions as fc } from "./solvers/notional-cap/query-all.js";
339
- import { getOpenInterestBySymbolIdQueryKey as pc, getOpenInterestBySymbolIdQueryOptions as mc } from "./solvers/notional-cap/query-open-interest.js";
340
- import { getNotionalCapPageQueryKey as hc, getNotionalCapPageQueryOptions as gc } from "./solvers/notional-cap/query-page.js";
341
- import { getSolverErrorCodes as _c } from "./solvers/error-codes/get-solver-error-codes.js";
342
- import { getSolverErrorCodesQueryKey as vc, getSolverErrorCodesQueryOptions as yc } from "./solvers/error-codes/query.js";
343
- import { getDeallocateUpnlSigQueryKey as bc, getDeallocateUpnlSigQueryOptions as xc } from "./muon/deallocate-upnl-sig/query.js";
344
- import { getForceClosePriceSigQueryKey as Sc, getForceClosePriceSigQueryOptions as Cc } from "./muon/force-close-price-sig/query.js";
345
- import { getMuonPartyAOverview as wc } from "./muon/party-a-overview/get-muon-party-a-overview.js";
346
- import { getMuonPartyAOverviewQueryKey as Tc, getMuonPartyAOverviewQueryOptions as Ec } from "./muon/party-a-overview/query.js";
347
- import { getMuonPrice as Dc } from "./muon/price/get-muon-price.js";
348
- import { getMuonPriceQueryKey as Oc, getMuonPriceQueryOptions as kc } from "./muon/price/query.js";
349
- import { getMuonPriceRange as Ac } from "./muon/price-range/get-muon-price-range.js";
350
- import { getMuonPriceRangeQueryKey as jc, getMuonPriceRangeQueryOptions as Mc } from "./muon/price-range/query.js";
351
- import { getMuonSettleUpnl as Nc } from "./muon/settle-upnl/get-muon-settle-upnl.js";
352
- import { getMuonSettleUpnlQueryKey as Pc, getMuonSettleUpnlQueryOptions as Fc } from "./muon/settle-upnl/query.js";
353
- import { getMuonUpnl as Ic } from "./muon/upnl/get-muon-upnl.js";
354
- import { getMuonUpnlQueryKey as Lc, getMuonUpnlQueryOptions as Rc } from "./muon/upnl/query.js";
355
- import { getMuonUpnlA as zc } from "./muon/upnl-a/get-muon-upnl-a.js";
356
- import { getMuonUpnlAQueryKey as Bc, getMuonUpnlAQueryOptions as Vc } from "./muon/upnl-a/query.js";
357
- import { getMuonUpnlAWithSymbolPrice as Hc } from "./muon/upnl-a-with-symbol-price/get-muon-upnl-a-with-symbol-price.js";
358
- import { getMuonUpnlAWithSymbolPriceQueryKey as Uc, getMuonUpnlAWithSymbolPriceQueryOptions as Wc } from "./muon/upnl-a-with-symbol-price/query.js";
359
- import { getMuonUpnlB as Gc } from "./muon/upnl-b/get-muon-upnl-b.js";
360
- import { getMuonUpnlBQueryKey as Kc, getMuonUpnlBQueryOptions as qc } from "./muon/upnl-b/query.js";
361
- import { getMuonUpnlWithSymbolPrice as Jc } from "./muon/upnl-with-symbol-price/get-muon-upnl-with-symbol-price.js";
362
- import { getMuonUpnlWithSymbolPriceQueryKey as Yc, getMuonUpnlWithSymbolPriceQueryOptions as Xc } from "./muon/upnl-with-symbol-price/query.js";
363
- import { sharePercent as Zc } from "./shared/utils/percent.js";
364
- import { getInstantOpenFees as Qc } from "./solvers/instant-open/get-instant-open-fees/get-instant-open-fees.js";
365
- import { getInstantOpenFeesQueryKey as $c, getInstantOpenFeesQueryOptions as el } from "./solvers/instant-open/get-instant-open-fees/query.js";
366
- import { getInstantOpenQuoteId as tl } from "./solvers/instant-open/get-instant-open-quote-id/get-instant-open-quote-id.js";
367
- import { getInstantOpenQuoteIdQueryKey as nl, getInstantOpenQuoteIdQueryOptions as rl } from "./solvers/instant-open/get-instant-open-quote-id/query.js";
368
- import { getInstantOpens as il } from "./solvers/instant-open/get-instant-opens/get-instant-opens.js";
369
- import { getInstantOpensQueryKey as al, getInstantOpensQueryOptions as ol } from "./solvers/instant-open/get-instant-opens/query.js";
370
- import { instantOpenAuto as sl } from "./solvers/instant-open/instant-open-auto/instant-open-auto.js";
371
- import { instantOpenAutoMutationOptions as cl } from "./solvers/instant-open/instant-open-auto/query.js";
372
- import { getPrepareInstantOpenParamsQueryKey as ll, prepareInstantOpenParamsQueryOptions as ul } from "./solvers/instant-open/prepare-instant-open-params/query.js";
373
- import { getInstantCloseFees as dl } from "./solvers/instant-close/get-instant-close-fees/get-instant-close-fees.js";
374
- import { getInstantCloseFeesQueryKey as fl, getInstantCloseFeesQueryOptions as pl } from "./solvers/instant-close/get-instant-close-fees/query.js";
375
- import { toPendingInstantClose as ml } from "./solvers/instant-close/get-instant-closes/to-pending-instant-close.js";
376
- import { getInstantCloses as hl } from "./solvers/instant-close/get-instant-closes/get-instant-closes.js";
377
- import { getInstantClosesQueryKey as gl, getInstantClosesQueryOptions as _l } from "./solvers/instant-close/get-instant-closes/query.js";
378
- import { instantCloseMutationOptions as vl } from "./solvers/instant-close/instant-close/query.js";
379
- import { instantCloseAuto as yl } from "./solvers/instant-close/instant-close-auto/instant-close-auto.js";
380
- import { instantCloseAutoMutationOptions as bl } from "./solvers/instant-close/instant-close-auto/query.js";
381
- import { MAX_INSTANT_CLOSE_BULK_ORDERS as xl, instantCloseBulk as Sl } from "./solvers/instant-close/instant-close-bulk/instant-close-bulk.js";
382
- import { instantCloseBulkMutationOptions as Cl } from "./solvers/instant-close/instant-close-bulk/query.js";
383
- import { instantCloseBulkAuto as wl } from "./solvers/instant-close/instant-close-bulk-auto/instant-close-bulk-auto.js";
384
- import { instantCloseBulkAutoMutationOptions as Tl } from "./solvers/instant-close/instant-close-bulk-auto/query.js";
385
- import { validateInstantCloseAgainstMarket as El } from "./solvers/instant-close/shared/quote-constraints.js";
386
- import { QuoteLifecycle as Dl } from "./quotes/unified-quote.js";
387
- import { applyNotificationToQuotes as Ol, classifyQuoteNotificationAction as kl, isCancelAction as Al, isCloseFillAction as jl, isOpenAnchorAction as Ml } from "./quotes/apply-notification.js";
388
- import { minRemainingQuantityOf as Nl } from "./quotes/close-planning/min-remaining-quantity.js";
389
- import { planGroupClose as Pl } from "./quotes/close-planning/plan-group-close/plan-group-close.js";
390
- import { toGroupCloseCandidates as Fl } from "./quotes/close-planning/to-close-candidates.js";
391
- import { calculateClosePlatformFee as Il } from "./quotes/fees/calculate-close-platform-fee.js";
392
- import { calculateOpenPlatformFee as Ll } from "./quotes/fees/calculate-open-platform-fee.js";
393
- import { fingerprintQuote as Rl } from "./quotes/fingerprint.js";
394
- import { querySubgraph as zl } from "./symmio-subgraph/query-subgraph/query-subgraph.js";
395
- import { getQuerySubgraphQueryKey as Bl, querySubgraphQueryOptions as Vl } from "./symmio-subgraph/query-subgraph/query.js";
396
- import { toQuoteEventRow as Hl } from "./quotes/get-quote-events-by-type/to-quote-event-row.js";
397
- import { DEFAULT_QUOTE_EVENTS_BY_TYPE_PAGE_SIZE as Ul, getQuoteEventsByType as Wl } from "./quotes/get-quote-events-by-type/get-quote-events-by-type.js";
398
- import { getQuoteEventsByTypeQueryKey as Gl, getQuoteEventsByTypeQueryOptions as Kl } from "./quotes/get-quote-events-by-type/query.js";
399
- import { FUNDING_HISTORY_EVENT_TYPES as ql, PRICE_HISTORY_EVENT_TYPES as Jl, QuoteEventType as Yl } from "./quotes/get-quote-events-by-type/types.js";
400
- import { toQuoteFundingRow as Xl } from "./quotes/get-quote-funding/to-funding-row.js";
401
- import { QUOTES_FUNDING_MAX_IDS_PER_REQUEST as Zl, getQuoteFunding as Ql } from "./quotes/get-quote-funding/get-quote-funding.js";
402
- import { getQuoteFundingQueryKey as $l, getQuoteFundingQueryOptions as eu } from "./quotes/get-quote-funding/query.js";
403
- import { QuoteCloseEventType as tu, QuoteCloseType as nu } from "./quotes/get-quote-history/types.js";
404
- import { closeTypeToEventTypes as ru, eventTypeToCloseType as iu, eventTypeToQuoteStatus as au } from "./quotes/get-quote-history/close-type.js";
405
- import { toQuoteHistoryRow as ou } from "./quotes/get-quote-history/to-history-row.js";
406
- import { getQuoteHistory as su } from "./quotes/get-quote-history/get-quote-history.js";
407
- import { getQuoteHistoryQueryKey as cu, getQuoteHistoryQueryOptions as lu } from "./quotes/get-quote-history/query.js";
408
- import { getQuotePendingFunding as uu } from "./quotes/get-quote-pending-funding/get-quote-pending-funding.js";
409
- import { getQuotePendingFundingQueryKey as du, getQuotePendingFundingQueryOptions as fu } from "./quotes/get-quote-pending-funding/query.js";
410
- import { getQuotesEventsByType as pu } from "./quotes/get-quotes-events-by-type/get-quotes-events-by-type.js";
411
- import { getQuotesEventsByTypeQueryKey as mu, getQuotesEventsByTypeQueryOptions as hu } from "./quotes/get-quotes-events-by-type/query.js";
412
- import { lifecycleFromQuoteStatus as gu, toUnifiedQuoteFromInstantClose as _u, toUnifiedQuoteFromInstantOpen as vu, toUnifiedQuoteFromOnchain as yu } from "./quotes/to-unified-quote.js";
413
- import { reconcileQuotes as bu } from "./quotes/reconcile-quotes.js";
414
- import { resolveQuoteAccounts as xu } from "./quotes/resolve-quote-accounts.js";
415
- import { getSubAccountQuotes as Su } from "./quotes/get-sub-account-quotes/get-sub-account-quotes.js";
416
- import { getSubAccountQuotesQueryKey as Cu, getSubAccountQuotesQueryOptions as wu } from "./quotes/get-sub-account-quotes/query.js";
417
- import { aggregateGroupFunding as Tu } from "./quotes/grouping/aggregate-group-funding.js";
418
- import { isActivePosition as Eu, isActiveQuoteStatus as Du, isPendingOrder as Ou, partitionQuotes as ku } from "./quotes/grouping/partition-quotes.js";
419
- import { aggregateGroupUpnl as Au } from "./quotes/grouping/aggregate-group-upnl.js";
420
- import { aggregateGroupMetrics as ju } from "./quotes/grouping/aggregate-metrics.js";
421
- import { assertQuoteGroupingSupported as Mu, keyQuoteByMarket as Nu, keyQuotePerQuote as Pu, resolveQuoteGroupingStrategy as Fu, supportsQuoteGrouping as Iu } from "./quotes/grouping/group-strategy.js";
422
- import { groupQuotes as Lu } from "./quotes/grouping/group-quotes.js";
423
- import { calculateLiquidationPrice as Ru } from "./quotes/liquidation/calculate-liquidation-price.js";
424
- import { shouldAccelerateOnchainReads as zu, shouldAccelerateQuotePolling as Bu } from "./quotes/should-accelerate.js";
425
- import { calculateQuoteLeverage as Vu } from "./quotes/upnl/calculate-quote-leverage.js";
426
- import { calculateQuotePnl as Hu } from "./quotes/upnl/calculate-quote-pnl.js";
427
- import { calculateQuoteUpnl as Uu } from "./quotes/upnl/calculate-quote-upnl.js";
428
- import { calculateQuoteUpnlWei as Wu } from "./quotes/upnl/calculate-quote-upnl-wei.js";
429
- import { calculateMarginRisk as Gu } from "./margin/calculate-margin-risk.js";
430
- import { getTpSlConfig as Ku } from "./tpsl/config/get-tpsl-config.js";
431
- import { getTpSlConfigQueryKey as qu, getTpSlConfigQueryOptions as Ju } from "./tpsl/config/query.js";
432
- import { ZERO_LEG as Yu, buildConditionalOrderMessage as Xu, buildTpSlDeleteMessage as Zu, generateTpSlSalt as Qu, toSignableTpSlMessage as $u } from "./tpsl/set-quote-tpsl/build-conditional-order-message.js";
433
- import { signTpSlRequest as ed } from "./tpsl/set-quote-tpsl/sign-tpsl-request.js";
434
- import { getTpSlDeleteSigningSpec as td } from "./tpsl/signing-spec/get-tpsl-delete-signing-spec.js";
435
- import { deleteQuoteTpSl as nd } from "./tpsl/delete-quote-tpsl/delete-quote-tpsl.js";
436
- import { deleteQuoteTpSlMutationOptions as rd } from "./tpsl/delete-quote-tpsl/query.js";
437
- import { getQuoteTpSl as id } from "./tpsl/get-quote-tpsl/get-quote-tpsl.js";
438
- import { getQuoteTpSlQueryKey as ad, getQuoteTpSlQueryOptions as od } from "./tpsl/get-quote-tpsl/query.js";
439
- import { childNotional as sd, triggerPriceToWei as cd } from "./tpsl/grouping/notional.js";
440
- import { GROUP_TPSL_SIDES as ld, resolveChildSide as ud } from "./tpsl/grouping/resolve-child-side.js";
441
- import { estimateGroupTpSlReturn as dd } from "./tpsl/grouping/estimate-group-tpsl-return.js";
442
- import { validateTpSl as fd } from "./tpsl/validate-tpsl.js";
443
- import { planGroupTpSl as pd } from "./tpsl/grouping/plan-group-tpsl/plan-group-tpsl.js";
444
- import { planGroupTpSlDelete as md } from "./tpsl/grouping/plan-group-tpsl-delete.js";
445
- import { summarizeQuoteGroupTpSl as hd } from "./tpsl/grouping/summarize-group-tpsl.js";
446
- import { toGroupTpSlChildren as gd } from "./tpsl/grouping/to-group-tpsl-children.js";
447
- import { toGroupTpSlOrders as _d } from "./tpsl/grouping/to-group-tpsl-orders.js";
448
- import { TPSL_LIVE_ORDER_STATES as vd, searchTpSlOrders as yd } from "./tpsl/search-tpsl-orders/search-tpsl-orders.js";
449
- import { searchTpSlOrdersQueryKey as bd, searchTpSlOrdersQueryOptions as xd } from "./tpsl/search-tpsl-orders/query.js";
450
- import { buildConditionalOrderLeg as Sd } from "./tpsl/set-quote-tpsl/build-conditional-order-leg.js";
451
- import { getTpSlSigningSpec as Cd } from "./tpsl/signing-spec/get-tpsl-signing-spec.js";
452
- import { DEFAULT_TPSL_SLIPPAGE_LOWCAPS as wd, priceSlippageCalculation as Td } from "./tpsl/slippage.js";
453
- import { setQuoteTpSl as Ed } from "./tpsl/set-quote-tpsl/set-quote-tpsl.js";
454
- import { setQuoteTpSlMutationOptions as Dd } from "./tpsl/set-quote-tpsl/query.js";
455
- import { getTpSlDeleteSigningSpecQueryKey as Od, getTpSlDeleteSigningSpecQueryOptions as kd } from "./tpsl/signing-spec/delete-query.js";
456
- import { getTpSlSigningSpecQueryKey as Ad, getTpSlSigningSpecQueryOptions as jd } from "./tpsl/signing-spec/query.js";
457
- import { supportsTpSl as Md } from "./tpsl/supports-tpsl.js";
458
- import { TpSlSearchOrderType as Nd } from "./tpsl/types.js";
459
- import { parseTpSlFrame as Pd } from "./websocket/tpsl/parse-tpsl-frame.js";
460
- import { watchTpSlNotifications as Fd } from "./websocket/tpsl/watch-tpsl-notifications.js";
461
- import { BalanceChangeType as Id, BalanceHistoryFilter as Ld, MarginTransferType as Rd } from "./balance-history/get-balance-history/types.js";
462
- import { balanceHistoryFilterToTypes as zd } from "./balance-history/get-balance-history/balance-history-filter.js";
463
- import { toBalanceHistoryRow as Bd } from "./balance-history/get-balance-history/to-balance-history-row.js";
464
- import { getBalanceHistory as Vd } from "./balance-history/get-balance-history/get-balance-history.js";
465
- import { getBalanceHistoryQueryKey as Hd, getBalanceHistoryQueryOptions as Ud } from "./balance-history/get-balance-history/query.js";
466
- import { toTransferRow as Wd } from "./transfers/get-transfer-history/to-transfer-row.js";
467
- import { getTransferHistory as Gd } from "./transfers/get-transfer-history/get-transfer-history.js";
468
- import { getTransferHistoryQueryKey as Kd, getTransferHistoryQueryOptions as qd } from "./transfers/get-transfer-history/query.js";
469
- import { fromTradingViewResolution as Jd, toTradingViewResolution as Yd } from "./candles/adapters/tradingview/map-resolution.js";
470
- import { CANDLE_RESOLUTION_MS as Xd, resolutionToMs as Zd } from "./candles/resolution.js";
471
- import { toTradingViewDatafeed as Qd } from "./candles/adapters/tradingview/to-tradingview-datafeed.js";
472
- import { getCandlesQueryKey as $d, getCandlesQueryOptions as ef } from "./candles/query.js";
473
- import { getBinanceSupportedResolutions as tf, toBinanceInterval as nf } from "./candles/sources/binance/map-resolution.js";
474
- import { watchBinanceKlines as rf } from "./candles/sources/binance/watch-binance-klines.js";
475
- import { createBinanceCandleSource as af } from "./candles/sources/binance/create-binance-candle-source.js";
476
- import { countTickDecimals as of, roundToTick as sf, suggestOrderbookTickSizes as cf } from "./orderbook/tick-size.js";
477
- import { accumulateOrderbook as lf, getOrderbookDepthWithin as uf, getOrderbookSpread as df, groupOrderbook as ff } from "./orderbook/aggregate.js";
478
- import { getOrderbookQueryKey as pf, getOrderbookQueryOptions as mf } from "./orderbook/query.js";
479
- import { BINANCE_DEPTH_DEFAULT_LEVELS as hf, BINANCE_DEPTH_DEFAULT_LIMIT as gf, BINANCE_DEPTH_DEFAULT_UPDATE_SPEED as _f, BINANCE_DEPTH_LIMITS as vf, BINANCE_DEPTH_MAX_BUFFERED_EVENTS as yf, BINANCE_DEPTH_PATH as bf, BINANCE_DEPTH_REST_URL as xf, BINANCE_DEPTH_UPDATE_SPEEDS as Sf, BINANCE_DEPTH_WS_URL as Cf, BINANCE_ORDERBOOK_EXCHANGE_INFO_PATH as wf } from "./orderbook/sources/binance/constants.js";
480
- import { parseBinanceDepthLevel as Tf, parseBinanceDepthLevels as Ef } from "./orderbook/sources/binance/parse-depth.js";
481
- import { fetchBinanceDepth as Df } from "./orderbook/sources/binance/fetch-binance-depth.js";
482
- import { fetchBinanceSymbolFilters as Of } from "./orderbook/sources/binance/fetch-binance-symbol-filters.js";
483
- import { watchBinanceDepth as kf } from "./orderbook/sources/binance/watch-binance-depth.js";
484
- import { createBinanceOrderbookSource as Af } from "./orderbook/sources/binance/create-binance-orderbook-source.js";
485
- import { walkOrderbook as jf } from "./orderbook/walk.js";
486
- import { resolveListingService as Mf, supportsListingService as Nf } from "./pools/resolve-listing.js";
487
- import { toAddMarketRequest as Pf } from "./pools/add-market/to-add-market-request.js";
488
- import { toCreatedPool as Ff } from "./pools/add-market/to-created-pool.js";
489
- import { addMarket as If } from "./pools/add-market/add-market.js";
490
- import { addMarketMutationOptions as Lf } from "./pools/add-market/query.js";
491
- import { toListingAuthToken as Rf, toListingSignInMessage as zf } from "./pools/auth/to-siwe.js";
492
- import { getListingSignInMessage as Bf } from "./pools/auth/get-sign-in-message.js";
493
- import { authenticateListing as Vf } from "./pools/auth/authenticate-listing.js";
494
- import { authenticateListingMutationOptions as Hf } from "./pools/auth/query.js";
495
- import { toCancelWithdrawResult as Uf } from "./pools/cancel-withdraw/to-cancel-withdraw-result.js";
496
- import { cancelWithdraw as Wf } from "./pools/cancel-withdraw/cancel-withdraw.js";
497
- import { cancelWithdrawMutationOptions as Gf } from "./pools/cancel-withdraw/query.js";
498
- import { toClaimRequest as Kf } from "./pools/claim/to-claim-request.js";
499
- import { LISTING_VALUE_DECIMALS as qf, ListingDepositChainId as Jf, ListingMarketStatus as Yf, MarketLockReason as Xf, PoolPositionSide as Zf, PoolTransactionStatus as Qf, PoolTransactionType as $f, TokenPriceChain as ep } from "./pools/types.js";
500
- import { parseListingValue as tp, toListingMarket as np, toListingMarketPage as rp, toListingValue as ip } from "./pools/markets/to-listing-market.js";
501
- import { toClaimResult as ap } from "./pools/claim/to-claim-result.js";
502
- import { claimProfit as op } from "./pools/claim/claim-profit.js";
503
- import { claimProfitMutationOptions as sp } from "./pools/claim/query.js";
504
- import { toPoolClaim as cp, toPoolClaimHistoryPage as lp } from "./pools/claim-history/to-pool-claim.js";
505
- import { getClaimHistory as up } from "./pools/claim-history/get-claim-history.js";
506
- import { getClaimHistoryQueryKey as dp, getClaimHistoryQueryOptions as fp } from "./pools/claim-history/query.js";
507
- import { toMarketDepositAddress as pp } from "./pools/deposit-address/to-market-deposit-address.js";
508
- import { getDepositAddress as mp } from "./pools/deposit-address/get-deposit-address.js";
509
- import { getDepositAddressQueryKey as hp, getDepositAddressQueryOptions as gp } from "./pools/deposit-address/query.js";
510
- import { toListingConfig as _p } from "./pools/listing-config/to-listing-config.js";
511
- import { getListingConfig as vp } from "./pools/listing-config/get-listing-config.js";
512
- import { getListingConfigQueryKey as yp, getListingConfigQueryOptions as bp } from "./pools/listing-config/query.js";
513
- import { toListingStatus as xp } from "./pools/listing-status/to-listing-status.js";
514
- import { getListingStatus as Sp } from "./pools/listing-status/get-listing-status.js";
515
- import { getListingStatusQueryKey as Cp, getListingStatusQueryOptions as wp } from "./pools/listing-status/query.js";
516
- import { toListingMarketConfig as Tp } from "./pools/market-config/to-listing-market-config.js";
517
- import { getListingMarketConfig as Ep } from "./pools/market-config/get-listing-market-config.js";
518
- import { projectListingMarketConfig as Dp } from "./pools/market-config/project-listing-market-config.js";
519
- import { toUpdateListingMarketConfigRequest as Op } from "./pools/market-config/to-update-listing-market-config-request.js";
520
- import { updateListingMarketConfig as kp } from "./pools/market-config/update-listing-market-config.js";
521
- import { getListingMarketConfigQueryKey as Ap, getListingMarketConfigQueryOptions as jp, updateListingMarketConfigMutationOptions as Mp } from "./pools/market-config/query.js";
522
- import { LISTING_MARKET_CONFIG_BOUNDS as Np } from "./pools/market-config/types.js";
523
- import { toListingMarketDetail as Pp } from "./pools/market-detail/to-listing-market-detail.js";
524
- import { getListingMarketDetail as Fp } from "./pools/market-detail/get-listing-market-detail.js";
525
- import { getListingMarketDetailQueryKey as Ip, getListingMarketDetailQueryOptions as Lp } from "./pools/market-detail/query.js";
526
- import { toPoolPositions as Rp } from "./pools/market-detail/to-pool-positions.js";
527
- import { getListingMarkets as zp } from "./pools/markets/get-listing-markets.js";
528
- import { getListingMarketsQueryKey as Bp, getListingMarketsQueryOptions as Vp } from "./pools/markets/query.js";
529
- import { toUserPoolProfit as Hp } from "./pools/profit/to-user-pool-profit.js";
530
- import { getUserProfit as Up } from "./pools/profit/get-user-profit.js";
531
- import { getUserProfitQueryKey as Wp, getUserProfitQueryOptions as Gp } from "./pools/profit/query.js";
532
- import { toPoolQuote as Kp } from "./pools/quotes/to-pool-quote.js";
533
- import { POOL_OPEN_QUOTE_STATUSES as qp, POOL_PENDING_QUOTE_STATUSES as Jp, getPoolQuotes as Yp } from "./pools/quotes/get-pool-quotes.js";
534
- import { getPoolQuotesQueryKey as Xp, getPoolQuotesQueryOptions as Zp } from "./pools/quotes/query.js";
535
- import { toRefundRequest as Qp } from "./pools/refund/to-refund-request.js";
536
- import { toRefundResult as $p } from "./pools/refund/to-refund-result.js";
537
- import { refundMarket as em } from "./pools/refund/refund-market.js";
538
- import { refundMarketMutationOptions as tm } from "./pools/refund/query.js";
539
- import { toRetryListingInfo as nm } from "./pools/retry-listing/to-retry-listing-info.js";
540
- import { getRetryListingInfo as rm } from "./pools/retry-listing/get-retry-listing-info.js";
541
- import { toRetryListingResult as im } from "./pools/retry-listing/to-retry-listing-result.js";
542
- import { retryListing as am } from "./pools/retry-listing/retry-listing.js";
543
- import { getRetryListingInfoQueryKey as om, getRetryListingInfoQueryOptions as sm, retryListingMutationOptions as cm } from "./pools/retry-listing/query.js";
544
- import { toPoolRewardPoint as lm, toUserPoolRewardChart as um } from "./pools/rewards/to-pool-reward-point.js";
545
- import { getPoolRewardChart as dm } from "./pools/rewards/get-pool-reward-chart.js";
546
- import { getPoolTotalReward as fm } from "./pools/rewards/get-pool-total-reward.js";
547
- import { getUserRewardChart as pm } from "./pools/rewards/get-user-reward-chart.js";
548
- import { getUserTotalReward as mm } from "./pools/rewards/get-user-total-reward.js";
549
- import { getPoolRewardChartQueryKey as hm, getPoolRewardChartQueryOptions as gm, getPoolTotalRewardQueryKey as _m, getPoolTotalRewardQueryOptions as vm, getUserRewardChartQueryKey as ym, getUserRewardChartQueryOptions as bm, getUserTotalRewardQueryKey as xm, getUserTotalRewardQueryOptions as Sm } from "./pools/rewards/query.js";
550
- import { toTokenPrice as Cm } from "./pools/token-price/to-token-price.js";
551
- import { getTokenPrice as wm } from "./pools/token-price/get-token-price.js";
552
- import { getTokenPriceQueryKey as Tm, getTokenPriceQueryOptions as Em } from "./pools/token-price/query.js";
553
- import { getPoolTradeHistory as Dm } from "./pools/trade-history/get-pool-trade-history.js";
554
- import { getPoolTradeHistoryQueryKey as Om, getPoolTradeHistoryQueryOptions as km } from "./pools/trade-history/query.js";
555
- import { toPoolTransaction as Am, toPoolTransactionPage as jm } from "./pools/transactions/to-pool-transaction.js";
556
- import { getPoolTransactions as Mm } from "./pools/transactions/get-pool-transactions.js";
557
- import { getPoolTransactionsQueryKey as Nm, getPoolTransactionsQueryOptions as Pm } from "./pools/transactions/query.js";
193
+ import { getPartyAOpenPositionsBatch as ni } from "./symmio-contracts/symmio/get-party-a-open-positions-batch/get-party-a-open-positions-batch.js";
194
+ import { getPartyAOpenPositionsBatchQueryKey as ri, getPartyAOpenPositionsBatchQueryOptions as ii } from "./symmio-contracts/symmio/get-party-a-open-positions-batch/query.js";
195
+ import { isPartyALiquidated as ai } from "./symmio-contracts/symmio/is-party-a-liquidated/is-party-a-liquidated.js";
196
+ import { isPartyALiquidatedQueryKey as oi, isPartyALiquidatedQueryOptions as si } from "./symmio-contracts/symmio/is-party-a-liquidated/query.js";
197
+ import { allocateMutationOptions as ci } from "./symmio-contracts/symmio/query/allocate.js";
198
+ import { approveOperationalFeeMutationOptions as li } from "./symmio-contracts/symmio/query/approve-operational-fee.js";
199
+ import { deallocateMutationOptions as ui } from "./symmio-contracts/symmio/query/deallocate.js";
200
+ import { deallocateAndInitiateWithdrawMutationOptions as di } from "./symmio-contracts/symmio/query/deallocate-and-initiate-withdraw.js";
201
+ import { finalizeWithdrawRequestMutationOptions as fi } from "./symmio-contracts/symmio/query/finalize-withdraw-request.js";
202
+ import { forceCancelCloseRequestMutationOptions as pi } from "./symmio-contracts/symmio/query/force-cancel-close-request.js";
203
+ import { forceCancelQuoteMutationOptions as mi } from "./symmio-contracts/symmio/query/force-cancel-quote.js";
204
+ import { getCoolDownsOfMAQueryKey as hi, getCoolDownsOfMAQueryOptions as gi } from "./symmio-contracts/symmio/query/get-cool-downs-of-ma.js";
205
+ import { getFeeForUserQueryKey as _i, getFeeForUserQueryOptions as vi } from "./symmio-contracts/symmio/query/get-fee-for-user.js";
206
+ import { getLastWithdrawRequestIdQueryKey as yi, getLastWithdrawRequestIdQueryOptions as bi } from "./symmio-contracts/symmio/query/get-last-withdraw-request-id.js";
207
+ import { getOnchainContractMarketsQueryKey as xi, getOnchainContractMarketsQueryOptions as Si } from "./symmio-contracts/symmio/query/get-onchain-contract-markets.js";
208
+ import { getOperationalFeeAllowanceQueryKey as Ci, getOperationalFeeAllowanceQueryOptions as wi } from "./symmio-contracts/symmio/query/get-operational-fee-allowance.js";
209
+ import { getPartyAOpenPositionsQueryKey as Ti, getPartyAOpenPositionsQueryOptions as Ei } from "./symmio-contracts/symmio/query/get-party-a-open-positions.js";
210
+ import { getPartyAPendingQuotesQueryKey as Di, getPartyAPendingQuotesQueryOptions as Oi } from "./symmio-contracts/symmio/query/get-party-a-pending-quotes.js";
211
+ import { getPendingQuotesQueryKey as ki, getPendingQuotesQueryOptions as Ai } from "./symmio-contracts/symmio/query/get-pending-quotes.js";
212
+ import { getPendingWithdrawRequestsQueryKey as ji, getPendingWithdrawRequestsQueryOptions as Mi } from "./symmio-contracts/symmio/query/get-pending-withdraw-requests.js";
213
+ import { getQuoteQueryKey as Ni, getQuoteQueryOptions as Pi } from "./symmio-contracts/symmio/query/get-quote.js";
214
+ import { getWithdrawRequestsQueryKey as Fi, getWithdrawRequestsQueryOptions as Ii } from "./symmio-contracts/symmio/query/get-withdraw-requests.js";
215
+ import { getWithdrawableTimeQueryKey as Li, getWithdrawableTimeQueryOptions as Ri } from "./symmio-contracts/symmio/query/get-withdrawable-time.js";
216
+ import { initiateWithdrawMutationOptions as zi } from "./symmio-contracts/symmio/query/initiate-withdraw.js";
217
+ import { requestCancelWithdrawMutationOptions as Bi } from "./symmio-contracts/symmio/query/request-cancel-withdraw.js";
218
+ import { requestToCancelCloseRequestMutationOptions as Vi } from "./symmio-contracts/symmio/query/request-to-cancel-close-request.js";
219
+ import { requestToCancelQuoteMutationOptions as Hi } from "./symmio-contracts/symmio/query/request-to-cancel-quote.js";
220
+ import { simulateAllocateMutationOptions as Ui } from "./symmio-contracts/symmio/query/simulate-allocate.js";
221
+ import { simulateDeallocateMutationOptions as Wi } from "./symmio-contracts/symmio/query/simulate-deallocate.js";
222
+ import { simulateDeallocateAndInitiateWithdrawMutationOptions as Gi } from "./symmio-contracts/symmio/query/simulate-deallocate-and-initiate-withdraw.js";
223
+ import { simulateFinalizeWithdrawRequestMutationOptions as Ki } from "./symmio-contracts/symmio/query/simulate-finalize-withdraw-request.js";
224
+ import { simulateInitiateWithdrawMutationOptions as qi } from "./symmio-contracts/symmio/query/simulate-initiate-withdraw.js";
225
+ import { simulateRequestCancelWithdrawMutationOptions as Ji } from "./symmio-contracts/symmio/query/simulate-request-cancel-withdraw.js";
226
+ import { withdrawMutationOptions as Yi } from "./symmio-contracts/symmio/query/withdraw.js";
227
+ import { withdrawAutoMutationOptions as Xi } from "./symmio-contracts/symmio/query/withdraw-auto.js";
228
+ import { OrderType as Zi, PositionType as Qi, QuoteStatus as $i, WithdrawStatus as ea } from "./symmio-contracts/symmio/types.js";
229
+ import { getEnigmaPriceServiceHealth as ta } from "./price-service/enigma/health/get-enigma-price-service-health.js";
230
+ import { getEnigmaPriceServiceHealthQueryKey as na, getEnigmaPriceServiceHealthQueryOptions as ra } from "./price-service/enigma/health/query.js";
231
+ import { getEnigmaPriceServiceMetadata as ia } from "./price-service/enigma/metadata/get-enigma-price-service-metadata.js";
232
+ import { getEnigmaPriceServiceMetadataQueryKey as aa, getEnigmaPriceServiceMetadataQueryOptions as oa } from "./price-service/enigma/metadata/query.js";
233
+ import { getEnigmaPriceServicePricesByAddresses as sa } from "./price-service/enigma/prices-by-addresses/get-enigma-price-service-prices-by-addresses.js";
234
+ import { getEnigmaPriceServicePricesByAddressesQueryKey as ca, getEnigmaPriceServicePricesByAddressesQueryOptions as la } from "./price-service/enigma/prices-by-addresses/query.js";
235
+ import { getEnigmaPriceServicePricesByNames as ua } from "./price-service/enigma/prices-by-names/get-enigma-price-service-prices-by-names.js";
236
+ import { getEnigmaPriceServicePricesByNamesQueryKey as da, getEnigmaPriceServicePricesByNamesQueryOptions as fa } from "./price-service/enigma/prices-by-names/query.js";
237
+ import { getEnigmaPriceServiceSymbolsInfo as pa } from "./price-service/enigma/symbols-info/get-enigma-price-service-symbols-info.js";
238
+ import { getEnigmaPriceServiceSymbolsInfoQueryKey as ma, getEnigmaPriceServiceSymbolsInfoQueryOptions as ha } from "./price-service/enigma/symbols-info/query.js";
239
+ import { ActionStatus as ga, NotificationType as _a } from "./websocket/notifications/types.js";
240
+ import { classifyNotification as va, normalizeNotification as ya } from "./websocket/notifications/normalize-notification.js";
241
+ import { buildSubscribeMessage as ba } from "./websocket/notifications/adapters/enigma-notifications.js";
242
+ import { buildRasaSubscribeMessage as xa } from "./websocket/notifications/adapters/rasa-notifications-hub.js";
243
+ import { parseNotificationFrame as Sa } from "./websocket/notifications/parse-notification-frame.js";
244
+ import { watchNotifications as Ca } from "./websocket/notifications/watch-notifications.js";
245
+ import { parseBinancePriceFrame as wa } from "./websocket/prices/parse-binance-price-frame.js";
246
+ import { parsePriceFrame as Ta } from "./websocket/prices/parse-price-frame.js";
247
+ import { watchBinancePrices as Ea } from "./websocket/prices/watch-binance-prices.js";
248
+ import { watchEnigmaPrices as Da } from "./websocket/prices/watch-enigma-prices.js";
249
+ import { watchPrices as Oa } from "./websocket/prices/watch-prices.js";
250
+ import { getBinanceHealth as ka } from "./price-service/binance/health/get-binance-health.js";
251
+ import { getBinanceHealthQueryKey as Aa, getBinanceHealthQueryOptions as ja } from "./price-service/binance/health/query.js";
252
+ import { getBinancePremiumIndex as Ma } from "./price-service/binance/premium-index/get-binance-premium-index.js";
253
+ import { getBinancePremiumIndexQueryKey as Na, getBinancePremiumIndexQueryOptions as Pa } from "./price-service/binance/premium-index/query.js";
254
+ import { getBinanceSymbolsInfo as Fa } from "./price-service/binance/symbols-info/get-binance-symbols-info.js";
255
+ import { getBinanceSymbolsInfoQueryKey as Ia, getBinanceSymbolsInfoQueryOptions as La } from "./price-service/binance/symbols-info/query.js";
256
+ import { getMarkPrices as Ra } from "./price-service/get-mark-prices/get-mark-prices.js";
257
+ import { getMarkPricesQueryKey as za, getMarkPricesQueryOptions as Ba } from "./price-service/get-mark-prices/query.js";
258
+ import { searchNotifications as Va } from "./notifications/search/search-notifications.js";
259
+ import { searchNotificationsQueryKey as Ha, searchNotificationsQueryOptions as Ua } from "./notifications/search/query.js";
260
+ import { calculateSolverCloseFee as Wa, getSolverCloseFeeRate as Ga, toThresholdSeconds as Ka } from "./solvers/shared/solver-close-fee.js";
261
+ import { getMarkets as qa } from "./solvers/markets/get-markets.js";
262
+ import { getMarketsQueryKey as Ja, getMarketsQueryOptions as Ya } from "./solvers/markets/query.js";
263
+ import { getSolverCapabilities as Xa, supportsGroupClose as Za, supportsLimitOrder as Qa } from "./solvers/capabilities.js";
264
+ import { ZERO_UPNL_SIG as $a, buildQuoteMetadata as eo, encodeAddMarginToNextVA as to, encodeSendQuote as no, encodeSendQuoteWithAffiliateAndData as ro, getFakeSendQuoteMuonSignature as io, sendQuoteUpnlSigFlexRange as ao } from "./solvers/instant-open/shared/calldata.js";
265
+ import { sendInstantOpen as oo, sendRasaInstantOpen as so } from "./solvers/instant-open/shared/hedger-api.js";
266
+ import { ORDER_TYPE_MARKET as co, VIRTUAL_ACCOUNT_ISOLATION_TYPE as lo, isolationTypeForSide as uo } from "./solvers/instant-open/shared/types.js";
267
+ import { getSendQuoteUpnlSig as fo } from "./muon/send-quote-upnl-sig/get-send-quote-upnl-sig.js";
268
+ import { getSendQuoteUpnlSigQueryKey as po, getSendQuoteUpnlSigQueryOptions as mo } from "./muon/send-quote-upnl-sig/query.js";
269
+ import { MARKET_ORDER_DEADLINE_SECONDS as ho, SHORT_FUNDING_BUFFER_PERCENT as go, calculateAvailableInstantOpenMargin as _o, calculateExpectedSettlementLoss as vo, calculateMargin as yo, calculateSolverFees as bo, calculateTradeParams as xo, computePlatformFee as So, computePlatformFeeLegs as Co, getMarketOrderDeadline as wo, toWeiBigInt as To } from "./solvers/instant-open/shared/trade-math.js";
270
+ import { instantOpen as Eo } from "./solvers/instant-open/instant-open/instant-open.js";
271
+ import { instantOpenMutationOptions as Do } from "./solvers/instant-open/instant-open/query.js";
272
+ import { decimalPriceToWei as Oo } from "./shared/utils/price.js";
273
+ import { toEstimatedPrice as ko } from "./solvers/estimated-price/to-estimated-price.js";
274
+ import { getEstimatedPrice as Ao } from "./solvers/estimated-price/get-estimated-price.js";
275
+ import { deriveAutoSlippage as jo } from "./solvers/instant-open/shared/open-estimate-guard.js";
276
+ import { checkNotionalCap as Mo } from "./solvers/notional-cap/check-notional-cap.js";
277
+ import { validateInstantOpenAgainstMarket as No } from "./solvers/instant-open/shared/quote-constraints.js";
278
+ import { validateInstantOpenBalanceFunding as Po } from "./solvers/instant-open/shared/resolve-instant-open-sizing.js";
279
+ import { resolveFeeRates as Fo } from "./solvers/shared/resolvers/resolve-fee-rates.js";
280
+ import { resolveMarkPrice as Io } from "./solvers/shared/resolvers/resolve-mark-price.js";
281
+ import { resolveMarket as Lo } from "./solvers/shared/resolvers/resolve-market.js";
282
+ import { getSolverInfo as Ro } from "./solvers/get-solver-info/get-solver-info.js";
283
+ import { getSolverInfoQueryKey as zo, getSolverInfoQueryOptions as Bo } from "./solvers/get-solver-info/query.js";
284
+ import { getLockedParams as Vo } from "./solvers/locked-params/get-locked-params.js";
285
+ import { resolveLockedParams as Ho } from "./solvers/instant-open/prepare-instant-open-params/resolvers/resolve-locked-params.js";
286
+ import { prepareInstantOpenParams as Uo } from "./solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.js";
287
+ import { prepareLimitOpenParams as Wo } from "./solvers/limit-open/prepare-limit-open-params.js";
288
+ import { limitOpenAuto as Go } from "./solvers/limit-open/limit-open-auto.js";
289
+ import { limitOpenAutoMutationOptions as Ko } from "./solvers/limit-open/query.js";
290
+ import { encodeRequestToClosePosition as qo } from "./solvers/instant-close/shared/calldata.js";
291
+ import { sendInstantClose as Jo } from "./solvers/instant-close/shared/hedger-api.js";
292
+ import { instantClose as Yo } from "./solvers/instant-close/instant-close/instant-close.js";
293
+ import { calculateClosePrice as Xo, clampClosePrecision as Zo } from "./solvers/instant-close/shared/close-math.js";
294
+ import { prepareInstantCloseParams as Qo } from "./solvers/instant-close/prepare-instant-close-params/prepare-instant-close-params.js";
295
+ import { prepareLimitCloseParams as $o } from "./solvers/limit-close/prepare-limit-close-params.js";
296
+ import { limitCloseAuto as es } from "./solvers/limit-close/limit-close-auto.js";
297
+ import { limitCloseAutoMutationOptions as ts } from "./solvers/limit-close/query.js";
298
+ import { BINANCE_EXCHANGE_INFO_PATH as ns, BINANCE_KLINES_PATH as rs, BINANCE_MAX_LIMIT as is, BINANCE_REST_URL as as, BINANCE_WS_URL as os } from "./candles/sources/binance/constants.js";
299
+ import { parseBinanceKline as ss, parseBinanceKlineEvent as cs } from "./candles/sources/binance/parse-kline.js";
300
+ import { getForceClosePriceSig as ls } from "./muon/force-close-price-sig/get-force-close-price-sig.js";
301
+ import { checkForceCloseEligibility as us, checkForceClosePriceReached as ds, findForceCloseWindow as fs, previewForceClosePrice as ps } from "./solvers/force-close/force-close-math.js";
302
+ import { forceClosePosition as ms } from "./solvers/force-close/force-close-position.js";
303
+ import { getForceCloseParams as hs } from "./solvers/force-close/get-force-close-params.js";
304
+ import { forceCloseAuto as gs } from "./solvers/force-close/force-close-auto.js";
305
+ import { forceCloseAutoMutationOptions as _s, forceClosePositionMutationOptions as vs, getForceCloseParamsQueryKey as ys, getForceCloseParamsQueryOptions as bs } from "./solvers/force-close/query.js";
306
+ import { calculatePriceImpact as xs } from "./solvers/estimated-price/price-impact.js";
307
+ import { getEstimatedPriceQueryKey as Ss, getEstimatedPriceQueryOptions as Cs } from "./solvers/estimated-price/query.js";
308
+ import { supportsEstimatedPrice as ws } from "./solvers/estimated-price/supports-estimated-price.js";
309
+ import { toMarketFundingInfo as Ts } from "./solvers/funding-info/to-funding-info.js";
310
+ import { getFundingInfo as Es } from "./solvers/funding-info/get-funding-info.js";
311
+ import { projectFundingRate as Ds } from "./solvers/funding-info/project-funding-rate.js";
312
+ import { getFundingInfoQueryKey as Os, getFundingInfoQueryOptions as ks } from "./solvers/funding-info/query.js";
313
+ import { toRevenueRecord as As } from "./solvers/revenue-records/to-revenue-record.js";
314
+ import { getRevenueRecords as js } from "./solvers/revenue-records/get-revenue-records.js";
315
+ import { getRevenueRecordsQueryKey as Ms, getRevenueRecordsQueryOptions as Ns } from "./solvers/revenue-records/query.js";
316
+ import { toSolverSymbols as Ps } from "./solvers/symbols/to-solver-symbol.js";
317
+ import { getSymbols as Fs } from "./solvers/symbols/get-symbols.js";
318
+ import { getSymbolsQueryKey as Is, getSymbolsQueryOptions as Ls } from "./solvers/symbols/query.js";
319
+ import { toSolverDailyVolume as Rs } from "./solvers/trade-volume/to-daily-volume.js";
320
+ import { getTradeVolume as zs } from "./solvers/trade-volume/get-trade-volume.js";
321
+ import { getTradeVolumeQueryKey as Bs, getTradeVolumeQueryOptions as Vs } from "./solvers/trade-volume/query.js";
322
+ import { getErrorMessage as Hs } from "./solvers/get-error-message/get-error-message.js";
323
+ import { getErrorMessageQueryKey as Us, getErrorMessageQueryOptions as Ws } from "./solvers/get-error-message/query.js";
324
+ import { getPartyAUpnl as Gs } from "./solvers/get-party-a-upnl/get-party-a-upnl.js";
325
+ import { getPartyAUpnlQueryKey as Ks, getPartyAUpnlQueryOptions as qs } from "./solvers/get-party-a-upnl/query.js";
326
+ import { getSolverBalanceInfo as Js } from "./solvers/get-solver-balance-info/get-solver-balance-info.js";
327
+ import { getSolverBalanceInfoQueryKey as Ys, getSolverBalanceInfoQueryOptions as Xs } from "./solvers/get-solver-balance-info/query.js";
328
+ import { getSolverOpenInterest as Zs } from "./solvers/get-solver-open-interest/get-solver-open-interest.js";
329
+ import { getSolverOpenInterestQueryKey as Qs, getSolverOpenInterestQueryOptions as $s } from "./solvers/get-solver-open-interest/query.js";
330
+ import { getSolverPriceRange as ec } from "./solvers/get-solver-price-range/get-solver-price-range.js";
331
+ import { getSolverPriceRangeQueryKey as tc, getSolverPriceRangeQueryOptions as nc } from "./solvers/get-solver-price-range/query.js";
332
+ import { getSolverReadiness as rc } from "./solvers/get-solver-readiness/get-solver-readiness.js";
333
+ import { getSolverReadinessQueryKey as ic, getSolverReadinessQueryOptions as ac } from "./solvers/get-solver-readiness/query.js";
334
+ import { getMarketInfo as oc } from "./solvers/market-info/get-market-info.js";
335
+ import { getMarketInfoQueryKey as sc, getMarketInfoQueryOptions as cc } from "./solvers/market-info/query.js";
336
+ import { getLockedParamsQueryKey as lc, getLockedParamsQueryOptions as uc } from "./solvers/locked-params/query.js";
337
+ import { getNotionalCapPage as dc } from "./solvers/notional-cap/get-notional-cap-page.js";
338
+ import { getNotionalCapAll as fc } from "./solvers/notional-cap/get-notional-cap-all.js";
339
+ import { getNotionalCapBySymbolId as pc } from "./solvers/notional-cap/get-notional-cap-by-symbol-id.js";
340
+ import { getOpenInterestBySymbolId as mc } from "./solvers/notional-cap/get-open-interest-by-symbol-id.js";
341
+ import { getNotionalCapBySymbolIdQueryKey as hc, getNotionalCapBySymbolIdQueryOptions as gc } from "./solvers/notional-cap/query.js";
342
+ import { getNotionalCapAllQueryKey as _c, getNotionalCapAllQueryOptions as vc } from "./solvers/notional-cap/query-all.js";
343
+ import { getOpenInterestBySymbolIdQueryKey as yc, getOpenInterestBySymbolIdQueryOptions as bc } from "./solvers/notional-cap/query-open-interest.js";
344
+ import { getNotionalCapPageQueryKey as xc, getNotionalCapPageQueryOptions as Sc } from "./solvers/notional-cap/query-page.js";
345
+ import { getSolverErrorCodes as Cc } from "./solvers/error-codes/get-solver-error-codes.js";
346
+ import { getSolverErrorCodesQueryKey as wc, getSolverErrorCodesQueryOptions as Tc } from "./solvers/error-codes/query.js";
347
+ import { getDeallocateUpnlSigQueryKey as Ec, getDeallocateUpnlSigQueryOptions as Dc } from "./muon/deallocate-upnl-sig/query.js";
348
+ import { getForceClosePriceSigQueryKey as Oc, getForceClosePriceSigQueryOptions as kc } from "./muon/force-close-price-sig/query.js";
349
+ import { getMuonPartyAOverview as Ac } from "./muon/party-a-overview/get-muon-party-a-overview.js";
350
+ import { getMuonPartyAOverviewQueryKey as jc, getMuonPartyAOverviewQueryOptions as Mc } from "./muon/party-a-overview/query.js";
351
+ import { getMuonPrice as Nc } from "./muon/price/get-muon-price.js";
352
+ import { getMuonPriceQueryKey as Pc, getMuonPriceQueryOptions as Fc } from "./muon/price/query.js";
353
+ import { getMuonPriceRange as Ic } from "./muon/price-range/get-muon-price-range.js";
354
+ import { getMuonPriceRangeQueryKey as Lc, getMuonPriceRangeQueryOptions as Rc } from "./muon/price-range/query.js";
355
+ import { getMuonSettleUpnl as zc } from "./muon/settle-upnl/get-muon-settle-upnl.js";
356
+ import { getMuonSettleUpnlQueryKey as Bc, getMuonSettleUpnlQueryOptions as Vc } from "./muon/settle-upnl/query.js";
357
+ import { getMuonUpnl as Hc } from "./muon/upnl/get-muon-upnl.js";
358
+ import { getMuonUpnlQueryKey as Uc, getMuonUpnlQueryOptions as Wc } from "./muon/upnl/query.js";
359
+ import { getMuonUpnlA as Gc } from "./muon/upnl-a/get-muon-upnl-a.js";
360
+ import { getMuonUpnlAQueryKey as Kc, getMuonUpnlAQueryOptions as qc } from "./muon/upnl-a/query.js";
361
+ import { getMuonUpnlAWithSymbolPrice as Jc } from "./muon/upnl-a-with-symbol-price/get-muon-upnl-a-with-symbol-price.js";
362
+ import { getMuonUpnlAWithSymbolPriceQueryKey as Yc, getMuonUpnlAWithSymbolPriceQueryOptions as Xc } from "./muon/upnl-a-with-symbol-price/query.js";
363
+ import { getMuonUpnlB as Zc } from "./muon/upnl-b/get-muon-upnl-b.js";
364
+ import { getMuonUpnlBQueryKey as Qc, getMuonUpnlBQueryOptions as $c } from "./muon/upnl-b/query.js";
365
+ import { getMuonUpnlWithSymbolPrice as el } from "./muon/upnl-with-symbol-price/get-muon-upnl-with-symbol-price.js";
366
+ import { getMuonUpnlWithSymbolPriceQueryKey as tl, getMuonUpnlWithSymbolPriceQueryOptions as nl } from "./muon/upnl-with-symbol-price/query.js";
367
+ import { sharePercent as rl } from "./shared/utils/percent.js";
368
+ import { getInstantOpenFees as il } from "./solvers/instant-open/get-instant-open-fees/get-instant-open-fees.js";
369
+ import { getInstantOpenFeesQueryKey as al, getInstantOpenFeesQueryOptions as ol } from "./solvers/instant-open/get-instant-open-fees/query.js";
370
+ import { getInstantOpenQuoteId as sl } from "./solvers/instant-open/get-instant-open-quote-id/get-instant-open-quote-id.js";
371
+ import { getInstantOpenQuoteIdQueryKey as cl, getInstantOpenQuoteIdQueryOptions as ll } from "./solvers/instant-open/get-instant-open-quote-id/query.js";
372
+ import { getInstantOpens as ul } from "./solvers/instant-open/get-instant-opens/get-instant-opens.js";
373
+ import { getInstantOpensQueryKey as dl, getInstantOpensQueryOptions as fl } from "./solvers/instant-open/get-instant-opens/query.js";
374
+ import { instantOpenAuto as pl } from "./solvers/instant-open/instant-open-auto/instant-open-auto.js";
375
+ import { instantOpenAutoMutationOptions as ml } from "./solvers/instant-open/instant-open-auto/query.js";
376
+ import { getPrepareInstantOpenParamsQueryKey as hl, prepareInstantOpenParamsQueryOptions as gl } from "./solvers/instant-open/prepare-instant-open-params/query.js";
377
+ import { getInstantCloseFees as _l } from "./solvers/instant-close/get-instant-close-fees/get-instant-close-fees.js";
378
+ import { getInstantCloseFeesQueryKey as vl, getInstantCloseFeesQueryOptions as yl } from "./solvers/instant-close/get-instant-close-fees/query.js";
379
+ import { toPendingInstantClose as bl } from "./solvers/instant-close/get-instant-closes/to-pending-instant-close.js";
380
+ import { getInstantCloses as xl } from "./solvers/instant-close/get-instant-closes/get-instant-closes.js";
381
+ import { getInstantClosesQueryKey as Sl, getInstantClosesQueryOptions as Cl } from "./solvers/instant-close/get-instant-closes/query.js";
382
+ import { instantCloseMutationOptions as wl } from "./solvers/instant-close/instant-close/query.js";
383
+ import { instantCloseAuto as Tl } from "./solvers/instant-close/instant-close-auto/instant-close-auto.js";
384
+ import { instantCloseAutoMutationOptions as El } from "./solvers/instant-close/instant-close-auto/query.js";
385
+ import { MAX_INSTANT_CLOSE_BULK_ORDERS as Dl, instantCloseBulk as Ol } from "./solvers/instant-close/instant-close-bulk/instant-close-bulk.js";
386
+ import { instantCloseBulkMutationOptions as kl } from "./solvers/instant-close/instant-close-bulk/query.js";
387
+ import { instantCloseBulkAuto as Al } from "./solvers/instant-close/instant-close-bulk-auto/instant-close-bulk-auto.js";
388
+ import { instantCloseBulkAutoMutationOptions as jl } from "./solvers/instant-close/instant-close-bulk-auto/query.js";
389
+ import { validateInstantCloseAgainstMarket as Ml } from "./solvers/instant-close/shared/quote-constraints.js";
390
+ import { QuoteLifecycle as Nl } from "./quotes/unified-quote.js";
391
+ import { applyNotificationToQuotes as Pl, classifyQuoteNotificationAction as Fl, isCancelAction as Il, isCloseFillAction as Ll, isOpenAnchorAction as Rl } from "./quotes/apply-notification.js";
392
+ import { minRemainingQuantityOf as zl } from "./quotes/close-planning/min-remaining-quantity.js";
393
+ import { planGroupClose as Bl } from "./quotes/close-planning/plan-group-close/plan-group-close.js";
394
+ import { toGroupCloseCandidates as Vl } from "./quotes/close-planning/to-close-candidates.js";
395
+ import { calculateClosePlatformFee as Hl } from "./quotes/fees/calculate-close-platform-fee.js";
396
+ import { calculateOpenPlatformFee as Ul } from "./quotes/fees/calculate-open-platform-fee.js";
397
+ import { fingerprintQuote as Wl } from "./quotes/fingerprint.js";
398
+ import { querySubgraph as Gl } from "./symmio-subgraph/query-subgraph/query-subgraph.js";
399
+ import { getQuerySubgraphQueryKey as Kl, querySubgraphQueryOptions as ql } from "./symmio-subgraph/query-subgraph/query.js";
400
+ import { SUBGRAPH_MAX_PAGE_SIZE as Jl } from "./symmio-subgraph/subgraph-filters.js";
401
+ import { toQuoteEventRow as Yl } from "./quotes/get-quote-events-by-type/to-quote-event-row.js";
402
+ import { DEFAULT_QUOTE_EVENTS_BY_TYPE_PAGE_SIZE as Xl, getQuoteEventsByType as Zl } from "./quotes/get-quote-events-by-type/get-quote-events-by-type.js";
403
+ import { getQuoteEventsByTypeQueryKey as Ql, getQuoteEventsByTypeQueryOptions as $l } from "./quotes/get-quote-events-by-type/query.js";
404
+ import { FUNDING_HISTORY_EVENT_TYPES as eu, PRICE_HISTORY_EVENT_TYPES as tu, QuoteEventType as nu } from "./quotes/get-quote-events-by-type/types.js";
405
+ import { toQuoteFundingRow as ru } from "./quotes/get-quote-funding/to-funding-row.js";
406
+ import { QUOTES_FUNDING_MAX_IDS_PER_REQUEST as iu, getQuoteFunding as au } from "./quotes/get-quote-funding/get-quote-funding.js";
407
+ import { getQuoteFundingQueryKey as ou, getQuoteFundingQueryOptions as su } from "./quotes/get-quote-funding/query.js";
408
+ import { QuoteCloseEventType as cu, QuoteCloseType as lu } from "./quotes/get-quote-history/types.js";
409
+ import { closeTypeToEventTypes as uu, eventTypeToCloseType as du, eventTypeToQuoteStatus as fu } from "./quotes/get-quote-history/close-type.js";
410
+ import { toQuoteHistoryRow as pu } from "./quotes/get-quote-history/to-history-row.js";
411
+ import { getQuoteHistory as mu } from "./quotes/get-quote-history/get-quote-history.js";
412
+ import { getQuoteHistoryQueryKey as hu, getQuoteHistoryQueryOptions as gu } from "./quotes/get-quote-history/query.js";
413
+ import { getQuotePendingFunding as _u } from "./quotes/get-quote-pending-funding/get-quote-pending-funding.js";
414
+ import { getQuotePendingFundingQueryKey as vu, getQuotePendingFundingQueryOptions as yu } from "./quotes/get-quote-pending-funding/query.js";
415
+ import { getQuotesEventsByType as bu } from "./quotes/get-quotes-events-by-type/get-quotes-events-by-type.js";
416
+ import { getQuotesEventsByTypeQueryKey as xu, getQuotesEventsByTypeQueryOptions as Su } from "./quotes/get-quotes-events-by-type/query.js";
417
+ import { lifecycleFromQuoteStatus as Cu, toUnifiedQuoteFromInstantClose as wu, toUnifiedQuoteFromInstantOpen as Tu, toUnifiedQuoteFromOnchain as Eu } from "./quotes/to-unified-quote.js";
418
+ import { reconcileQuotes as Du } from "./quotes/reconcile-quotes.js";
419
+ import { resolveQuoteAccounts as Ou } from "./quotes/resolve-quote-accounts.js";
420
+ import { getSubAccountQuotes as ku } from "./quotes/get-sub-account-quotes/get-sub-account-quotes.js";
421
+ import { getSubAccountQuotesQueryKey as Au, getSubAccountQuotesQueryOptions as ju } from "./quotes/get-sub-account-quotes/query.js";
422
+ import { toSubgraphQuoteRow as Mu } from "./quotes/get-subgraph-quotes/to-subgraph-quote-row.js";
423
+ import { getSubgraphQuotes as Nu } from "./quotes/get-subgraph-quotes/get-subgraph-quotes.js";
424
+ import { getSubgraphQuotesQueryKey as Pu, getSubgraphQuotesQueryOptions as Fu } from "./quotes/get-subgraph-quotes/query.js";
425
+ import { aggregateGroupFunding as Iu } from "./quotes/grouping/aggregate-group-funding.js";
426
+ import { isActivePosition as Lu, isActiveQuoteStatus as Ru, isPendingOrder as zu, partitionQuotes as Bu } from "./quotes/grouping/partition-quotes.js";
427
+ import { aggregateGroupUpnl as Vu } from "./quotes/grouping/aggregate-group-upnl.js";
428
+ import { aggregateGroupMetrics as Hu } from "./quotes/grouping/aggregate-metrics.js";
429
+ import { assertQuoteGroupingSupported as Uu, keyQuoteByMarket as Wu, keyQuotePerQuote as Gu, resolveQuoteGroupingStrategy as Ku, supportsQuoteGrouping as qu } from "./quotes/grouping/group-strategy.js";
430
+ import { groupQuotes as Ju } from "./quotes/grouping/group-quotes.js";
431
+ import { calculateLiquidationPrice as Yu } from "./quotes/liquidation/calculate-liquidation-price.js";
432
+ import { shouldAccelerateOnchainReads as Xu, shouldAccelerateQuotePolling as Zu } from "./quotes/should-accelerate.js";
433
+ import { calculateQuoteLeverage as Qu } from "./quotes/upnl/calculate-quote-leverage.js";
434
+ import { calculateQuotePnl as $u } from "./quotes/upnl/calculate-quote-pnl.js";
435
+ import { calculateQuoteUpnl as ed } from "./quotes/upnl/calculate-quote-upnl.js";
436
+ import { calculateQuoteUpnlWei as td } from "./quotes/upnl/calculate-quote-upnl-wei.js";
437
+ import { calculateMarginRisk as nd } from "./margin/calculate-margin-risk.js";
438
+ import { toMarginTransferRow as rd } from "./margin/get-margin-transfers/to-margin-transfer-row.js";
439
+ import { getMarginTransfers as id } from "./margin/get-margin-transfers/get-margin-transfers.js";
440
+ import { getMarginTransfersQueryKey as ad, getMarginTransfersQueryOptions as od } from "./margin/get-margin-transfers/query.js";
441
+ import { toFundingIndexCheckpointRow as sd } from "./funding/get-funding-index-checkpoints/to-funding-index-checkpoint-row.js";
442
+ import { getFundingIndexCheckpoints as cd } from "./funding/get-funding-index-checkpoints/get-funding-index-checkpoints.js";
443
+ import { getFundingIndexCheckpointsQueryKey as ld, getFundingIndexCheckpointsQueryOptions as ud } from "./funding/get-funding-index-checkpoints/query.js";
444
+ import { toQuoteFundingSettlementRow as dd } from "./funding/get-quote-funding-settlements/to-quote-funding-settlement-row.js";
445
+ import { getQuoteFundingSettlements as fd } from "./funding/get-quote-funding-settlements/get-quote-funding-settlements.js";
446
+ import { getQuoteFundingSettlementsQueryKey as pd, getQuoteFundingSettlementsQueryOptions as md } from "./funding/get-quote-funding-settlements/query.js";
447
+ import { toLiquidationDetailRow as hd } from "./liquidation/get-liquidation-details/to-liquidation-detail-row.js";
448
+ import { getLiquidationDetails as gd } from "./liquidation/get-liquidation-details/get-liquidation-details.js";
449
+ import { getLiquidationDetailsQueryKey as _d, getLiquidationDetailsQueryOptions as vd } from "./liquidation/get-liquidation-details/query.js";
450
+ import { getTpSlConfig as yd } from "./tpsl/config/get-tpsl-config.js";
451
+ import { getTpSlConfigQueryKey as bd, getTpSlConfigQueryOptions as xd } from "./tpsl/config/query.js";
452
+ import { ZERO_LEG as Sd, buildConditionalOrderMessage as Cd, buildTpSlDeleteMessage as wd, generateTpSlSalt as Td, toSignableTpSlMessage as Ed } from "./tpsl/set-quote-tpsl/build-conditional-order-message.js";
453
+ import { signTpSlRequest as Dd } from "./tpsl/set-quote-tpsl/sign-tpsl-request.js";
454
+ import { getTpSlDeleteSigningSpec as Od } from "./tpsl/signing-spec/get-tpsl-delete-signing-spec.js";
455
+ import { deleteQuoteTpSl as kd } from "./tpsl/delete-quote-tpsl/delete-quote-tpsl.js";
456
+ import { deleteQuoteTpSlMutationOptions as Ad } from "./tpsl/delete-quote-tpsl/query.js";
457
+ import { getQuoteTpSl as jd } from "./tpsl/get-quote-tpsl/get-quote-tpsl.js";
458
+ import { getQuoteTpSlQueryKey as Md, getQuoteTpSlQueryOptions as Nd } from "./tpsl/get-quote-tpsl/query.js";
459
+ import { childNotional as Pd, triggerPriceToWei as Fd } from "./tpsl/grouping/notional.js";
460
+ import { GROUP_TPSL_SIDES as Id, resolveChildSide as Ld } from "./tpsl/grouping/resolve-child-side.js";
461
+ import { estimateGroupTpSlReturn as Rd } from "./tpsl/grouping/estimate-group-tpsl-return.js";
462
+ import { validateTpSl as zd } from "./tpsl/validate-tpsl.js";
463
+ import { planGroupTpSl as Bd } from "./tpsl/grouping/plan-group-tpsl/plan-group-tpsl.js";
464
+ import { planGroupTpSlDelete as Vd } from "./tpsl/grouping/plan-group-tpsl-delete.js";
465
+ import { summarizeQuoteGroupTpSl as Hd } from "./tpsl/grouping/summarize-group-tpsl.js";
466
+ import { toGroupTpSlChildren as Ud } from "./tpsl/grouping/to-group-tpsl-children.js";
467
+ import { toGroupTpSlOrders as Wd } from "./tpsl/grouping/to-group-tpsl-orders.js";
468
+ import { TPSL_LIVE_ORDER_STATES as Gd, searchTpSlOrders as Kd } from "./tpsl/search-tpsl-orders/search-tpsl-orders.js";
469
+ import { searchTpSlOrdersQueryKey as qd, searchTpSlOrdersQueryOptions as Jd } from "./tpsl/search-tpsl-orders/query.js";
470
+ import { buildConditionalOrderLeg as Yd } from "./tpsl/set-quote-tpsl/build-conditional-order-leg.js";
471
+ import { getTpSlSigningSpec as Xd } from "./tpsl/signing-spec/get-tpsl-signing-spec.js";
472
+ import { DEFAULT_TPSL_SLIPPAGE_LOWCAPS as Zd, priceSlippageCalculation as Qd } from "./tpsl/slippage.js";
473
+ import { setQuoteTpSl as $d } from "./tpsl/set-quote-tpsl/set-quote-tpsl.js";
474
+ import { setQuoteTpSlMutationOptions as ef } from "./tpsl/set-quote-tpsl/query.js";
475
+ import { getTpSlDeleteSigningSpecQueryKey as tf, getTpSlDeleteSigningSpecQueryOptions as nf } from "./tpsl/signing-spec/delete-query.js";
476
+ import { getTpSlSigningSpecQueryKey as rf, getTpSlSigningSpecQueryOptions as af } from "./tpsl/signing-spec/query.js";
477
+ import { supportsTpSl as of } from "./tpsl/supports-tpsl.js";
478
+ import { TpSlSearchOrderType as sf } from "./tpsl/types.js";
479
+ import { parseTpSlFrame as cf } from "./websocket/tpsl/parse-tpsl-frame.js";
480
+ import { watchTpSlNotifications as lf } from "./websocket/tpsl/watch-tpsl-notifications.js";
481
+ import { BalanceChangeType as uf, BalanceHistoryFilter as df, MarginTransferType as ff } from "./balance-history/get-balance-history/types.js";
482
+ import { balanceHistoryFilterToTypes as pf } from "./balance-history/get-balance-history/balance-history-filter.js";
483
+ import { toBalanceHistoryRow as mf } from "./balance-history/get-balance-history/to-balance-history-row.js";
484
+ import { getBalanceHistory as hf } from "./balance-history/get-balance-history/get-balance-history.js";
485
+ import { getBalanceHistoryQueryKey as gf, getBalanceHistoryQueryOptions as _f } from "./balance-history/get-balance-history/query.js";
486
+ import { toTransferRow as vf } from "./transfers/get-transfer-history/to-transfer-row.js";
487
+ import { getTransferHistory as yf } from "./transfers/get-transfer-history/get-transfer-history.js";
488
+ import { getTransferHistoryQueryKey as bf, getTransferHistoryQueryOptions as xf } from "./transfers/get-transfer-history/query.js";
489
+ import { fromTradingViewResolution as Sf, toTradingViewResolution as Cf } from "./candles/adapters/tradingview/map-resolution.js";
490
+ import { CANDLE_RESOLUTION_MS as wf, resolutionToMs as Tf } from "./candles/resolution.js";
491
+ import { toTradingViewDatafeed as Ef } from "./candles/adapters/tradingview/to-tradingview-datafeed.js";
492
+ import { getCandlesQueryKey as Df, getCandlesQueryOptions as Of } from "./candles/query.js";
493
+ import { getBinanceSupportedResolutions as kf, toBinanceInterval as Af } from "./candles/sources/binance/map-resolution.js";
494
+ import { watchBinanceKlines as jf } from "./candles/sources/binance/watch-binance-klines.js";
495
+ import { createBinanceCandleSource as Mf } from "./candles/sources/binance/create-binance-candle-source.js";
496
+ import { countTickDecimals as Nf, roundToTick as Pf, suggestOrderbookTickSizes as Ff } from "./orderbook/tick-size.js";
497
+ import { accumulateOrderbook as If, getOrderbookDepthWithin as Lf, getOrderbookSpread as Rf, groupOrderbook as zf } from "./orderbook/aggregate.js";
498
+ import { getOrderbookQueryKey as Bf, getOrderbookQueryOptions as Vf } from "./orderbook/query.js";
499
+ import { BINANCE_DEPTH_DEFAULT_LEVELS as Hf, BINANCE_DEPTH_DEFAULT_LIMIT as Uf, BINANCE_DEPTH_DEFAULT_UPDATE_SPEED as Wf, BINANCE_DEPTH_LIMITS as Gf, BINANCE_DEPTH_MAX_BUFFERED_EVENTS as Kf, BINANCE_DEPTH_PATH as qf, BINANCE_DEPTH_REST_URL as Jf, BINANCE_DEPTH_UPDATE_SPEEDS as Yf, BINANCE_DEPTH_WS_URL as Xf, BINANCE_ORDERBOOK_EXCHANGE_INFO_PATH as Zf } from "./orderbook/sources/binance/constants.js";
500
+ import { parseBinanceDepthLevel as Qf, parseBinanceDepthLevels as $f } from "./orderbook/sources/binance/parse-depth.js";
501
+ import { fetchBinanceDepth as ep } from "./orderbook/sources/binance/fetch-binance-depth.js";
502
+ import { fetchBinanceSymbolFilters as tp } from "./orderbook/sources/binance/fetch-binance-symbol-filters.js";
503
+ import { watchBinanceDepth as np } from "./orderbook/sources/binance/watch-binance-depth.js";
504
+ import { createBinanceOrderbookSource as rp } from "./orderbook/sources/binance/create-binance-orderbook-source.js";
505
+ import { walkOrderbook as ip } from "./orderbook/walk.js";
506
+ import { resolveListingService as ap, supportsListingService as op } from "./pools/resolve-listing.js";
507
+ import { toAddMarketRequest as sp } from "./pools/add-market/to-add-market-request.js";
508
+ import { toCreatedPool as cp } from "./pools/add-market/to-created-pool.js";
509
+ import { addMarket as lp } from "./pools/add-market/add-market.js";
510
+ import { addMarketMutationOptions as up } from "./pools/add-market/query.js";
511
+ import { toListingAuthToken as dp, toListingSignInMessage as fp } from "./pools/auth/to-siwe.js";
512
+ import { getListingSignInMessage as pp } from "./pools/auth/get-sign-in-message.js";
513
+ import { authenticateListing as mp } from "./pools/auth/authenticate-listing.js";
514
+ import { authenticateListingMutationOptions as hp, getListingSignInMessageQueryKey as gp, getListingSignInMessageQueryOptions as _p } from "./pools/auth/query.js";
515
+ import { toCancelWithdrawResult as vp } from "./pools/cancel-withdraw/to-cancel-withdraw-result.js";
516
+ import { cancelWithdraw as yp } from "./pools/cancel-withdraw/cancel-withdraw.js";
517
+ import { cancelWithdrawMutationOptions as bp } from "./pools/cancel-withdraw/query.js";
518
+ import { toClaimRequest as xp } from "./pools/claim/to-claim-request.js";
519
+ import { LISTING_VALUE_DECIMALS as Sp, ListingDepositChainId as Cp, ListingMarketStatus as wp, MarketLockReason as Tp, PoolPositionSide as Ep, PoolTransactionStatus as Dp, PoolTransactionType as Op, TokenPriceChain as kp } from "./pools/types.js";
520
+ import { parseListingValue as Ap, toListingMarket as jp, toListingMarketPage as Mp, toListingValue as Np } from "./pools/markets/to-listing-market.js";
521
+ import { toClaimResult as Pp } from "./pools/claim/to-claim-result.js";
522
+ import { claimProfit as Fp } from "./pools/claim/claim-profit.js";
523
+ import { claimProfitMutationOptions as Ip } from "./pools/claim/query.js";
524
+ import { toPoolClaim as Lp, toPoolClaimHistoryPage as Rp } from "./pools/claim-history/to-pool-claim.js";
525
+ import { getClaimHistory as zp } from "./pools/claim-history/get-claim-history.js";
526
+ import { getPoolClaim as Bp } from "./pools/claim-history/get-pool-claim.js";
527
+ import { getClaimHistoryQueryKey as Vp, getClaimHistoryQueryOptions as Hp } from "./pools/claim-history/query.js";
528
+ import { toMarketDepositAddress as Up } from "./pools/deposit-address/to-market-deposit-address.js";
529
+ import { getDepositAddress as Wp } from "./pools/deposit-address/get-deposit-address.js";
530
+ import { getDepositAddressQueryKey as Gp, getDepositAddressQueryOptions as Kp } from "./pools/deposit-address/query.js";
531
+ import { toListingConfig as qp } from "./pools/listing-config/to-listing-config.js";
532
+ import { getListingConfig as Jp } from "./pools/listing-config/get-listing-config.js";
533
+ import { getListingConfigQueryKey as Yp, getListingConfigQueryOptions as Xp } from "./pools/listing-config/query.js";
534
+ import { toListingStatus as Zp } from "./pools/listing-status/to-listing-status.js";
535
+ import { getListingStatus as Qp } from "./pools/listing-status/get-listing-status.js";
536
+ import { getListingStatusQueryKey as $p, getListingStatusQueryOptions as em } from "./pools/listing-status/query.js";
537
+ import { getPoolMaintenanceFees as tm } from "./pools/maintenance-fees/get-pool-maintenance-fees.js";
538
+ import { getPoolMaintenanceFeesQueryKey as nm, getPoolMaintenanceFeesQueryOptions as rm } from "./pools/maintenance-fees/query.js";
539
+ import { toListingMarketConfig as im } from "./pools/market-config/to-listing-market-config.js";
540
+ import { getListingMarketConfig as am } from "./pools/market-config/get-listing-market-config.js";
541
+ import { projectListingMarketConfig as om } from "./pools/market-config/project-listing-market-config.js";
542
+ import { toUpdateListingMarketConfigRequest as sm } from "./pools/market-config/to-update-listing-market-config-request.js";
543
+ import { updateListingMarketConfig as cm } from "./pools/market-config/update-listing-market-config.js";
544
+ import { getListingMarketConfigQueryKey as lm, getListingMarketConfigQueryOptions as um, updateListingMarketConfigMutationOptions as dm } from "./pools/market-config/query.js";
545
+ import { LISTING_MARKET_CONFIG_BOUNDS as fm } from "./pools/market-config/types.js";
546
+ import { getPoolMarketData as pm } from "./pools/market-data/get-pool-market-data.js";
547
+ import { toListingMarketDetail as mm } from "./pools/market-detail/to-listing-market-detail.js";
548
+ import { getListingMarketDetail as hm } from "./pools/market-detail/get-listing-market-detail.js";
549
+ import { getListingMarketDetailQueryKey as gm, getListingMarketDetailQueryOptions as _m } from "./pools/market-detail/query.js";
550
+ import { toPoolPositions as vm } from "./pools/market-detail/to-pool-positions.js";
551
+ import { getListingMarkets as ym } from "./pools/markets/get-listing-markets.js";
552
+ import { getListingMarketsQueryKey as bm, getListingMarketsQueryOptions as xm } from "./pools/markets/query.js";
553
+ import { calculatePoolOpenPositions as Sm } from "./pools/open-positions/calculate-pool-open-positions.js";
554
+ import { toPoolQuote as Cm } from "./pools/quotes/to-pool-quote.js";
555
+ import { POOL_OPEN_QUOTE_STATUSES as wm, POOL_PENDING_QUOTE_STATUSES as Tm, getPoolQuotes as Em } from "./pools/quotes/get-pool-quotes.js";
556
+ import { getPoolOpenPositions as Dm } from "./pools/open-positions/get-pool-open-positions.js";
557
+ import { getPoolOpenPositionsQueryKey as Om, getPoolOpenPositionsQueryOptions as km } from "./pools/open-positions/query.js";
558
+ import { calculatePoolPosition as Am } from "./pools/position/calculate-pool-position.js";
559
+ import { calculatePoolPortfolio as jm } from "./pools/portfolio/calculate-pool-portfolio.js";
560
+ import { toUserPoolProfit as Mm } from "./pools/profit/to-user-pool-profit.js";
561
+ import { getUserProfit as Nm } from "./pools/profit/get-user-profit.js";
562
+ import { getUserTotalReward as Pm } from "./pools/rewards/get-user-total-reward.js";
558
563
  import { toUserListingMarket as Fm, toUserListingMarketPage as Im } from "./pools/user-markets/to-user-listing-market.js";
559
564
  import { getUserListingMarkets as Lm } from "./pools/user-markets/get-user-listing-markets.js";
560
- import { getUserListingMarketsQueryKey as Rm, getUserListingMarketsQueryOptions as zm } from "./pools/user-markets/query.js";
561
- import { toUserTransaction as Bm, toUserTransactionPage as Vm } from "./pools/user-transactions/to-user-transaction.js";
562
- import { getUserTransactions as Hm } from "./pools/user-transactions/get-user-transactions.js";
563
- import { getUserTransactionsQueryKey as Um, getUserTransactionsQueryOptions as Wm } from "./pools/user-transactions/query.js";
564
- import { toWeeklyListingLimit as Gm } from "./pools/weekly-limit/to-weekly-limit.js";
565
- import { getWeeklyListingLimit as Km } from "./pools/weekly-limit/get-weekly-listing-limit.js";
566
- import { getWeeklyListingLimitQueryKey as qm, getWeeklyListingLimitQueryOptions as Jm } from "./pools/weekly-limit/query.js";
567
- import { toWithdrawRequest as Ym } from "./pools/withdraw/to-withdraw-request.js";
568
- import { withdrawLp as Xm } from "./pools/withdraw/withdraw-lp.js";
569
- import { withdrawLpMutationOptions as Zm } from "./pools/withdraw/query.js";
570
- import { toSolverRevenue as Qm } from "./solvers/revenue/to-solver-revenue.js";
571
- import { getSolverRevenue as $m } from "./solvers/revenue/get-solver-revenue.js";
572
- import { getSolverRevenueQueryKey as eh, getSolverRevenueQueryOptions as th } from "./solvers/revenue/query.js";
573
- import { resolveInventoryService as nh, supportsInventoryService as rh } from "./inventory/resolve-inventory.js";
574
- import { getInventoryTvl as ih, toInventoryTvl as ah } from "./inventory/tvl/get-inventory-tvl.js";
575
- import { getInventoryTvlQueryKey as oh, getInventoryTvlQueryOptions as sh } from "./inventory/tvl/query.js";
576
- import { toInventoryTvlPoint as ch } from "./inventory/tvl-history/to-inventory-tvl-point.js";
577
- import { getInventoryTvlHistory as lh } from "./inventory/tvl-history/get-inventory-tvl-history.js";
578
- import { getInventoryTvlHistoryQueryKey as uh, getInventoryTvlHistoryQueryOptions as dh } from "./inventory/tvl-history/query.js";
579
- import { INVENTORY_VALUE_DECIMALS as fh } from "./inventory/types.js";
580
- export { Vn as ADD_MARGIN_TO_NEXT_VA_SELECTOR, ua as ActionStatus, St as AffiliateState, hf as BINANCE_DEPTH_DEFAULT_LEVELS, gf as BINANCE_DEPTH_DEFAULT_LIMIT, _f as BINANCE_DEPTH_DEFAULT_UPDATE_SPEED, vf as BINANCE_DEPTH_LIMITS, yf as BINANCE_DEPTH_MAX_BUFFERED_EVENTS, bf as BINANCE_DEPTH_PATH, xf as BINANCE_DEPTH_REST_URL, Sf as BINANCE_DEPTH_UPDATE_SPEEDS, Cf as BINANCE_DEPTH_WS_URL, Xo as BINANCE_EXCHANGE_INFO_PATH, Zo as BINANCE_KLINES_PATH, Qo as BINANCE_MAX_LIMIT, wf as BINANCE_ORDERBOOK_EXCHANGE_INFO_PATH, $o as BINANCE_REST_URL, es as BINANCE_WS_URL, Id as BalanceChangeType, Ld as BalanceHistoryFilter, Xd as CANDLE_RESOLUTION_MS, Ul as DEFAULT_QUOTE_EVENTS_BY_TYPE_PAGE_SIZE, wd as DEFAULT_TPSL_SLIPPAGE_LOWCAPS, ql as FUNDING_HISTORY_EVENT_TYPES, pn as GASLESS_GATEWAY_EIP712_DOMAIN_NAME, mn as GASLESS_GATEWAY_EIP712_DOMAIN_VERSION, j as GASLESS_QUEUED_POLL_MS, dn as GASLESS_RECEIPT_TIMEOUT_MS, Z as GASLESS_RELAYABLE_FUNCTIONS, Q as GASLESS_RELAYABLE_SELECTORS, $ as GASLESS_SESSION_KEY_SELECTORS, ee as GASLESS_SESSION_KEY_WITHDRAW_SELECTORS, M as GASLESS_STREAM_SETTLE_MS, N as GASLESS_STREAM_STALE_MS, P as GASLESS_SUBMITTED_POLL_MS, F as GASLESS_TERMINAL_STATUSES, J as GASLESS_WAIT_TIMEOUT_MS, an as GASLESS_WALLET_EXECUTE_SELECTOR, on as GASLESS_WALLET_EXECUTION_SENTINEL_SELECTOR, hn as GASLESS_WALLET_OPERATION_TYPES, ld as GROUP_TPSL_SIDES, I as GaslessFeeSource, L as GaslessRequestStatus, R as GaslessTransactionAttemptStatus, p as INSTANT_LAYER_EIP712_DOMAIN_NAME, m as INSTANT_LAYER_EIP712_DOMAIN_VERSION, Hn as INSTANT_TRADE_REQUIRED_SELECTORS, fh as INVENTORY_VALUE_DECIMALS, Un as LEGACY_INSTANT_TRADE_REQUIRED_SELECTORS, Np as LISTING_MARKET_CONFIG_BOUNDS, qf as LISTING_VALUE_DECIMALS, Jf as ListingDepositChainId, Yf as ListingMarketStatus, co as MARKET_ORDER_DEADLINE_SECONDS, xl as MAX_INSTANT_CLOSE_BULK_ORDERS, ur as MUON_APP, dr as MUON_METHOD_PARTY_A_OVERVIEW, fr as MUON_METHOD_PRICE, pr as MUON_METHOD_PRICE_RANGE, mr as MUON_METHOD_SETTLE_UPNL, hr as MUON_METHOD_UPNL_A, gr as MUON_METHOD_UPNL_A_WITH_SYMBOL_PRICE, _r as MUON_METHOD_UPNL_B, vr as MUON_METHOD_UPNL_PAIR, yr as MUON_METHOD_UPNL_WITH_SYMBOL_PRICE, Rd as MarginTransferType, Xf as MarketLockReason, da as NotificationType, cr as OPERATIONAL_FEE_LIST_PRICE_MULTIPLIER, no as ORDER_TYPE_MARKET, Gi as OrderType, qp as POOL_OPEN_QUOTE_STATUSES, Jp as POOL_PENDING_QUOTE_STATUSES, Jl as PRICE_HISTORY_EVENT_TYPES, Zf as PoolPositionSide, Qf as PoolTransactionStatus, $f as PoolTransactionType, Ki as PositionType, Zl as QUOTES_FUNDING_MAX_IDS_PER_REQUEST, tu as QuoteCloseEventType, nu as QuoteCloseType, Yl as QuoteEventType, Dl as QuoteLifecycle, qi as QuoteStatus, Wn as REQUEST_TO_CLOSE_POSITION_SELECTOR, Gn as SEND_QUOTE_SELECTOR, Kn as SEND_QUOTE_WITH_AFFILIATE_AND_DATA_SELECTOR, lo as SHORT_FUNDING_BUFFER_PERCENT, h as SIGNED_OPERATION_TYPES, Ct as SubAccountIsolationType, a as SymmApiError, o as SymmError, s as SymmioSupportedChainId, vd as TPSL_LIVE_ORDER_STATES, ep as TokenPriceChain, Nd as TpSlSearchOrderType, ro as VIRTUAL_ACCOUNT_ISOLATION_TYPE, Ji as WithdrawStatus, Yu as ZERO_LEG, qa as ZERO_UPNL_SIG, e as accountLayerAbi, lf as accumulateOrderbook, ae as addMargin, Ne as addMarginMutationOptions, If as addMarket, Lf as addMarketMutationOptions, Tu as aggregateGroupFunding, ju as aggregateGroupMetrics, Au as aggregateGroupUpnl, sr as allocate, ni as allocateMutationOptions, Ol as applyNotificationToQuotes, Tt as approveCollateral, Ot as approveCollateralMutationOptions, lr as approveOperationalFee, ri as approveOperationalFeeMutationOptions, Mu as assertQuoteGroupingSupported, Vf as authenticateListing, Hf as authenticateListingMutationOptions, zd as balanceHistoryFilterToTypes, Sd as buildConditionalOrderLeg, Xu as buildConditionalOrderMessage, Ja as buildQuoteMetadata, ha as buildRasaSubscribeMessage, v as buildSignedOperation, ma as buildSubscribeMessage, Zu as buildTpSlDeleteMessage, Me as calculateAvailableForOrder, uo as calculateAvailableInstantOpenMargin, Il as calculateClosePlatformFee, Wo as calculateClosePrice, fo as calculateExpectedSettlementLoss, Ru as calculateLiquidationPrice, po as calculateMargin, Gu as calculateMarginRisk, Ll as calculateOpenPlatformFee, hs as calculatePriceImpact, Vu as calculateQuoteLeverage, Hu as calculateQuotePnl, Uu as calculateQuoteUpnl, Wu as calculateQuoteUpnlWei, Ra as calculateSolverCloseFee, mo as calculateSolverFees, ho as calculateTradeParams, se as cancelRegistration, Pe as cancelRegistrationMutationOptions, Wf as cancelWithdraw, Gf as cancelWithdrawMutationOptions, is as checkForceCloseEligibility, as as checkForceClosePriceReached, Eo as checkNotionalCap, sd as childNotional, op as claimProfit, sp as claimProfitMutationOptions, Go as clampClosePrecision, ln as classifyGaslessFailure, fa as classifyNotification, kl as classifyQuoteNotificationAction, ru as closeTypeToEventTypes, Yr as collateralToCore18, go as computePlatformFee, _o as computePlatformFeeLegs, fn as confirmGaslessRequest, Xr as core18ToCollateral, of as countTickDecimals, af as createBinanceCandleSource, Af as createBinanceOrderbookSource, Zr as createClassicWithdrawPart, f as createConfig, le as createSubAccounts, Fe as createSubAccountsMutationOptions, xr as deallocate, Sr as deallocateAndInitiateWithdraw, ai as deallocateAndInitiateWithdrawMutationOptions, ii as deallocateMutationOptions, So as decimalPriceToWei, un as decodeGaslessOperationFailure, nd as deleteQuoteTpSl, rd as deleteQuoteTpSlMutationOptions, de as deleteSubAccount, Ie as deleteSubAccountMutationOptions, pe as depositAndAllocateForAccount, Le as depositAndAllocateForAccountMutationOptions, he as depositForAccount, Re as depositForAccountMutationOptions, To as deriveAutoSlippage, _e as editAccountName, ze as editAccountNameMutationOptions, Ya as encodeAddMarginToNextVA, Vo as encodeRequestToClosePosition, Xa as encodeSendQuote, Za as encodeSendQuoteWithAffiliateAndData, dd as estimateGroupTpSlReturn, iu as eventTypeToCloseType, au as eventTypeToQuoteStatus, Df as fetchBinanceDepth, Of as fetchBinanceSymbolFilters, Be as filterQueryOptions, Pt as finalizeRevokeDelegation, Ht as finalizeRevokeDelegationMutationOptions, wr as finalizeWithdrawRequest, oi as finalizeWithdrawRequestMutationOptions, os as findForceCloseWindow, Rl as fingerprintQuote, Tr as forceCancelCloseRequest, si as forceCancelCloseRequestMutationOptions, Er as forceCancelQuote, ci as forceCancelQuoteMutationOptions, us as forceCloseAuto, ds as forceCloseAutoMutationOptions, cs as forceClosePosition, fs as forceClosePositionMutationOptions, y as formatSignedOperationPayload, Jd as fromTradingViewResolution, t as gaslessLayerAbi, z as gaslessPollDelay, n as gaslessWalletAbi, yn as gaslessWalletExecute, bn as gaslessWalletExecuteMutationOptions, ve as generateAccountManagerAddress, Ve as generateAccountManagerAddressQueryKey, He as generateAccountManagerAddressQueryOptions, b as generateSalt, Qu as generateTpSlSalt, ye as getAccountBalanceInfo, Ue as getAccountBalanceInfoQueryKey, We as getAccountBalanceInfoQueryOptions, be as getAccountBalanceOf, Ge as getAccountBalanceOfQueryKey, Ke as getAccountBalanceOfQueryOptions, Ft as getActiveDelegations, Ut as getActiveDelegationsQueryKey, Wt as getActiveDelegationsQueryOptions, xe as getAffiliateState, qe as getAffiliateStateQueryKey, Je as getAffiliateStateQueryOptions, Vd as getBalanceHistory, Hd as getBalanceHistoryQueryKey, Ud as getBalanceHistoryQueryOptions, Ca as getBinanceHealth, wa as getBinanceHealthQueryKey, Ta as getBinanceHealthQueryOptions, Ea as getBinancePremiumIndex, Da as getBinancePremiumIndexQueryKey, Oa as getBinancePremiumIndexQueryOptions, tf as getBinanceSupportedResolutions, ka as getBinanceSymbolsInfo, Aa as getBinanceSymbolsInfoQueryKey, ja as getBinanceSymbolsInfoQueryOptions, $d as getCandlesQueryKey, ef as getCandlesQueryOptions, c as getChainConfig, up as getClaimHistory, dp as getClaimHistoryQueryKey, fp as getClaimHistoryQueryOptions, Et as getCollateralAllowance, kt as getCollateralAllowanceQueryKey, At as getCollateralAllowanceQueryOptions, Dt as getCollateralBalance, jt as getCollateralBalanceQueryKey, Mt as getCollateralBalanceQueryOptions, Dr as getCoolDownsOfMA, li as getCoolDownsOfMAQueryKey, ui as getCoolDownsOfMAQueryOptions, br as getDeallocateUpnlSig, bc as getDeallocateUpnlSigQueryKey, xc as getDeallocateUpnlSigQueryOptions, l as getDefaultSolver, It as getDelegationExpiry, Gt as getDelegationExpiryQueryKey, Kt as getDelegationExpiryQueryOptions, mp as getDepositAddress, hp as getDepositAddressQueryKey, gp as getDepositAddressQueryOptions, Yi as getEnigmaPriceServiceHealth, Xi as getEnigmaPriceServiceHealthQueryKey, Zi as getEnigmaPriceServiceHealthQueryOptions, Qi as getEnigmaPriceServiceMetadata, $i as getEnigmaPriceServiceMetadataQueryKey, ea as getEnigmaPriceServiceMetadataQueryOptions, ta as getEnigmaPriceServicePricesByAddresses, na as getEnigmaPriceServicePricesByAddressesQueryKey, ra as getEnigmaPriceServicePricesByAddressesQueryOptions, ia as getEnigmaPriceServicePricesByNames, aa as getEnigmaPriceServicePricesByNamesQueryKey, oa as getEnigmaPriceServicePricesByNamesQueryOptions, sa as getEnigmaPriceServiceSymbolsInfo, ca as getEnigmaPriceServiceSymbolsInfoQueryKey, la as getEnigmaPriceServiceSymbolsInfoQueryOptions, Is as getErrorMessage, Ls as getErrorMessageQueryKey, Rs as getErrorMessageQueryOptions, wo as getEstimatedPrice, gs as getEstimatedPriceQueryKey, _s as getEstimatedPriceQueryOptions, Qa as getFakeSendQuoteMuonSignature, Or as getFeeForUser, di as getFeeForUserQueryKey, fi as getFeeForUserQueryOptions, ls as getForceCloseParams, ps as getForceCloseParamsQueryKey, ms as getForceCloseParamsQueryOptions, rs as getForceClosePriceSig, Sc as getForceClosePriceSigQueryKey, Cc as getForceClosePriceSigQueryOptions, $r as getFundingFeesOfPartyB, ei as getFundingFeesOfPartyBQueryKey, ti as getFundingFeesOfPartyBQueryOptions, bs as getFundingInfo, Ss as getFundingInfoQueryKey, Cs as getFundingInfoQueryOptions, xn as getGaslessBatchFeeQuote, Sn as getGaslessBatchFeeQuoteQueryKey, Cn as getGaslessBatchFeeQuoteQueryOptions, cn as getGaslessBatchSelectors, Tn as getGaslessDepositPolicy, En as getGaslessDepositPolicyQueryKey, Dn as getGaslessDepositPolicyQueryOptions, W as getGaslessFeeQuote, On as getGaslessFeeQuoteQueryKey, kn as getGaslessFeeQuoteQueryOptions, gn as getGaslessGatewayEip712Domain, G as getGaslessRequest, An as getGaslessRequestQueryKey, jn as getGaslessRequestQueryOptions, Mn as getGaslessRequestTransactions, Nn as getGaslessRequestTransactionsQueryKey, Pn as getGaslessRequestTransactionsQueryOptions, k as getGaslessUnconfirmedSubmit, _n as getGaslessWalletAddress, Fn as getGaslessWalletAddressQueryKey, In as getGaslessWalletAddressQueryOptions, wn as getGaslessWalletCreationFee, Ln as getGaslessWalletCreationFeeQueryKey, Rn as getGaslessWalletCreationFeeQueryOptions, sn as getGaslessWalletExecuteSelectors, vn as getGaslessWalletNonce, zn as getGaslessWalletNonceQueryKey, Bn as getGaslessWalletNonceQueryOptions, ne as getGaslessWriteRequest, dl as getInstantCloseFees, fl as getInstantCloseFeesQueryKey, pl as getInstantCloseFeesQueryOptions, hl as getInstantCloses, gl as getInstantClosesQueryKey, _l as getInstantClosesQueryOptions, g as getInstantLayerEip712Domain, C as getInstantLayerNonce, qt as getInstantLayerNonceQueryKey, Jt as getInstantLayerNonceQueryOptions, Qc as getInstantOpenFees, $c as getInstantOpenFeesQueryKey, el as getInstantOpenFeesQueryOptions, tl as getInstantOpenQuoteId, nl as getInstantOpenQuoteIdQueryKey, rl as getInstantOpenQuoteIdQueryOptions, il as getInstantOpens, al as getInstantOpensQueryKey, ol as getInstantOpensQueryOptions, qn as getInstantTradeRequiredSelectors, ih as getInventoryTvl, lh as getInventoryTvlHistory, uh as getInventoryTvlHistoryQueryKey, dh as getInventoryTvlHistoryQueryOptions, oh as getInventoryTvlQueryKey, sh as getInventoryTvlQueryOptions, T as getIsDelegationActive, Yt as getIsDelegationActiveQueryKey, Xt as getIsDelegationActiveQueryOptions, kr as getLastWithdrawRequestId, pi as getLastWithdrawRequestIdQueryKey, mi as getLastWithdrawRequestIdQueryOptions, vp as getListingConfig, yp as getListingConfigQueryKey, bp as getListingConfigQueryOptions, Ep as getListingMarketConfig, Ap as getListingMarketConfigQueryKey, jp as getListingMarketConfigQueryOptions, Fp as getListingMarketDetail, Ip as getListingMarketDetailQueryKey, Lp as getListingMarketDetailQueryOptions, zp as getListingMarkets, Bp as getListingMarketsQueryKey, Vp as getListingMarketsQueryOptions, Bf as getListingSignInMessage, Sp as getListingStatus, Cp as getListingStatusQueryKey, wp as getListingStatusQueryOptions, Fo as getLockedParams, rc as getLockedParamsQueryKey, ic as getLockedParamsQueryOptions, Ma as getMarkPrices, Na as getMarkPricesQueryKey, Pa as getMarkPricesQueryOptions, ec as getMarketInfo, tc as getMarketInfoQueryKey, nc as getMarketInfoQueryOptions, vo as getMarketOrderDeadline, Va as getMarkets, Ha as getMarketsQueryKey, Ua as getMarketsQueryOptions, wc as getMuonPartyAOverview, Tc as getMuonPartyAOverviewQueryKey, Ec as getMuonPartyAOverviewQueryOptions, Dc as getMuonPrice, Oc as getMuonPriceQueryKey, kc as getMuonPriceQueryOptions, Ac as getMuonPriceRange, jc as getMuonPriceRangeQueryKey, Mc as getMuonPriceRangeQueryOptions, Nc as getMuonSettleUpnl, Pc as getMuonSettleUpnlQueryKey, Fc as getMuonSettleUpnlQueryOptions, Ic as getMuonUpnl, zc as getMuonUpnlA, Bc as getMuonUpnlAQueryKey, Vc as getMuonUpnlAQueryOptions, Hc as getMuonUpnlAWithSymbolPrice, Uc as getMuonUpnlAWithSymbolPriceQueryKey, Wc as getMuonUpnlAWithSymbolPriceQueryOptions, Gc as getMuonUpnlB, Kc as getMuonUpnlBQueryKey, qc as getMuonUpnlBQueryOptions, Lc as getMuonUpnlQueryKey, Rc as getMuonUpnlQueryOptions, Jc as getMuonUpnlWithSymbolPrice, Yc as getMuonUpnlWithSymbolPriceQueryKey, Xc as getMuonUpnlWithSymbolPriceQueryOptions, oc as getNotionalCapAll, dc as getNotionalCapAllQueryKey, fc as getNotionalCapAllQueryOptions, sc as getNotionalCapBySymbolId, lc as getNotionalCapBySymbolIdQueryKey, uc as getNotionalCapBySymbolIdQueryOptions, ac as getNotionalCapPage, hc as getNotionalCapPageQueryKey, gc as getNotionalCapPageQueryOptions, Ar as getOnchainContractMarkets, hi as getOnchainContractMarketsQueryKey, gi as getOnchainContractMarketsQueryOptions, cc as getOpenInterestBySymbolId, pc as getOpenInterestBySymbolIdQueryKey, mc as getOpenInterestBySymbolIdQueryOptions, jr as getOperationalFeeAllowance, _i as getOperationalFeeAllowanceQueryKey, vi as getOperationalFeeAllowanceQueryOptions, uf as getOrderbookDepthWithin, pf as getOrderbookQueryKey, mf as getOrderbookQueryOptions, df as getOrderbookSpread, Mr as getPartyAOpenPositions, yi as getPartyAOpenPositionsQueryKey, bi as getPartyAOpenPositionsQueryOptions, Nr as getPartyAPendingQuotes, xi as getPartyAPendingQuotesQueryKey, Si as getPartyAPendingQuotesQueryOptions, zs as getPartyAUpnl, Bs as getPartyAUpnlQueryKey, Vs as getPartyAUpnlQueryOptions, Pr as getPendingQuotes, Ci as getPendingQuotesQueryKey, wi as getPendingQuotesQueryOptions, Lt as getPendingRevocationEtas, Zt as getPendingRevocationEtasQueryKey, Qt as getPendingRevocationEtasQueryOptions, Fr as getPendingWithdrawRequests, Ti as getPendingWithdrawRequestsQueryKey, Ei as getPendingWithdrawRequestsQueryOptions, Yp as getPoolQuotes, Xp as getPoolQuotesQueryKey, Zp as getPoolQuotesQueryOptions, dm as getPoolRewardChart, hm as getPoolRewardChartQueryKey, gm as getPoolRewardChartQueryOptions, fm as getPoolTotalReward, _m as getPoolTotalRewardQueryKey, vm as getPoolTotalRewardQueryOptions, Dm as getPoolTradeHistory, Om as getPoolTradeHistoryQueryKey, km as getPoolTradeHistoryQueryOptions, Mm as getPoolTransactions, Nm as getPoolTransactionsQueryKey, Pm as getPoolTransactionsQueryOptions, De as getPredictedNextVirtualAccount, lt as getPredictedNextVirtualAccountQueryKey, ut as getPredictedNextVirtualAccountQueryOptions, ll as getPrepareInstantOpenParamsQueryKey, Bl as getQuerySubgraphQueryKey, Ir as getQuote, Wl as getQuoteEventsByType, Gl as getQuoteEventsByTypeQueryKey, Kl as getQuoteEventsByTypeQueryOptions, Ql as getQuoteFunding, $l as getQuoteFundingQueryKey, eu as getQuoteFundingQueryOptions, su as getQuoteHistory, cu as getQuoteHistoryQueryKey, lu as getQuoteHistoryQueryOptions, uu as getQuotePendingFunding, du as getQuotePendingFundingQueryKey, fu as getQuotePendingFundingQueryOptions, Di as getQuoteQueryKey, Oi as getQuoteQueryOptions, id as getQuoteTpSl, ad as getQuoteTpSlQueryKey, od as getQuoteTpSlQueryOptions, pu as getQuotesEventsByType, mu as getQuotesEventsByTypeQueryKey, hu as getQuotesEventsByTypeQueryOptions, rm as getRetryListingInfo, om as getRetryListingInfoQueryKey, sm as getRetryListingInfoQueryOptions, Ts as getRevenueRecords, Es as getRevenueRecordsQueryKey, Ds as getRevenueRecordsQueryOptions, Rt as getRevocationCooldown, $t as getRevocationCooldownQueryKey, en as getRevocationCooldownQueryOptions, ao as getSendQuoteUpnlSig, oo as getSendQuoteUpnlSigQueryKey, so as getSendQuoteUpnlSigQueryOptions, Jn as getSessionKeySelectors, Hs as getSolverBalanceInfo, Us as getSolverBalanceInfoQueryKey, Ws as getSolverBalanceInfoQueryOptions, Wa as getSolverCapabilities, za as getSolverCloseFeeRate, _c as getSolverErrorCodes, vc as getSolverErrorCodesQueryKey, yc as getSolverErrorCodesQueryOptions, Mo as getSolverInfo, No as getSolverInfoQueryKey, Po as getSolverInfoQueryOptions, Gs as getSolverOpenInterest, Ks as getSolverOpenInterestQueryKey, qs as getSolverOpenInterestQueryOptions, Js as getSolverPriceRange, Ys as getSolverPriceRangeQueryKey, Xs as getSolverPriceRangeQueryOptions, Zs as getSolverReadiness, Qs as getSolverReadinessQueryKey, $s as getSolverReadinessQueryOptions, $m as getSolverRevenue, eh as getSolverRevenueQueryKey, th as getSolverRevenueQueryOptions, w as getSubAccount, Ye as getSubAccountQueryKey, Xe as getSubAccountQueryOptions, Su as getSubAccountQuotes, Cu as getSubAccountQuotesQueryKey, wu as getSubAccountQuotesQueryOptions, Se as getSubAccountVirtualNonce, Ze as getSubAccountVirtualNonceQueryKey, Qe as getSubAccountVirtualNonceQueryOptions, Ce as getSubAccountsCountOfUser, $e as getSubAccountsCountOfUserQueryKey, et as getSubAccountsCountOfUserQueryOptions, ks as getSymbols, As as getSymbolsQueryKey, js as getSymbolsQueryOptions, wm as getTokenPrice, Tm as getTokenPriceQueryKey, Em as getTokenPriceQueryOptions, Ku as getTpSlConfig, qu as getTpSlConfigQueryKey, Ju as getTpSlConfigQueryOptions, td as getTpSlDeleteSigningSpec, Od as getTpSlDeleteSigningSpecQueryKey, kd as getTpSlDeleteSigningSpecQueryOptions, Cd as getTpSlSigningSpec, Ad as getTpSlSigningSpecQueryKey, jd as getTpSlSigningSpecQueryOptions, Ns as getTradeVolume, Ps as getTradeVolumeQueryKey, Fs as getTradeVolumeQueryOptions, Gd as getTransferHistory, Kd as getTransferHistoryQueryKey, qd as getTransferHistoryQueryOptions, Lm as getUserListingMarkets, Rm as getUserListingMarketsQueryKey, zm as getUserListingMarketsQueryOptions, Up as getUserProfit, Wp as getUserProfitQueryKey, Gp as getUserProfitQueryOptions, pm as getUserRewardChart, ym as getUserRewardChartQueryKey, bm as getUserRewardChartQueryOptions, we as getUserSubAccounts, Te as getUserSubAccountsAddresses, rt as getUserSubAccountsAddressesQueryKey, it as getUserSubAccountsAddressesQueryOptions, tt as getUserSubAccountsQueryKey, nt as getUserSubAccountsQueryOptions, mm as getUserTotalReward, xm as getUserTotalRewardQueryKey, Sm as getUserTotalRewardQueryOptions, Hm as getUserTransactions, Um as getUserTransactionsQueryKey, Wm as getUserTransactionsQueryOptions, S as getVirtualAccount, at as getVirtualAccountQueryKey, ot as getVirtualAccountQueryOptions, Ee as getVirtualAccountsAddressesOfSubAccount, st as getVirtualAccountsAddressesOfSubAccountQueryKey, ct as getVirtualAccountsAddressesOfSubAccountQueryOptions, Km as getWeeklyListingLimit, qm as getWeeklyListingLimitQueryKey, Jm as getWeeklyListingLimitQueryOptions, Lr as getWithdrawRequests, ki as getWithdrawRequestsQueryKey, Ai as getWithdrawRequestsQueryOptions, Rr as getWithdrawableTime, ji as getWithdrawableTimeQueryKey, Mi as getWithdrawableTimeQueryOptions, Bt as grantDelegation, tn as grantDelegationMutationOptions, ff as groupOrderbook, Lu as groupQuotes, Vt as initiateRevokeDelegation, nn as initiateRevokeDelegationMutationOptions, zr as initiateWithdraw, Ni as initiateWithdrawMutationOptions, Uo as instantClose, yl as instantCloseAuto, bl as instantCloseAutoMutationOptions, Sl as instantCloseBulk, wl as instantCloseBulkAuto, Tl as instantCloseBulkAutoMutationOptions, Cl as instantCloseBulkMutationOptions, vl as instantCloseMutationOptions, r as instantLayerAbi, bo as instantOpen, sl as instantOpenAuto, cl as instantOpenAutoMutationOptions, xo as instantOpenMutationOptions, Eu as isActivePosition, Du as isActiveQuoteStatus, Al as isCancelAction, u as isChainSupported, jl as isCloseFillAction, V as isConfirmedGaslessFeeLimitError, H as isConfirmedGaslessUnavailableError, U as isGaslessFreeQuotaExhaustedError, A as isGaslessIdempotencyConflictError, te as isGaslessRelayableSelector, B as isGaslessRequestTerminal, Yn as isNewerGaslessRequest, Ml as isOpenAnchorAction, Ou as isPendingOrder, io as isolationTypeForSide, Nu as keyQuoteByMarket, Pu as keyQuotePerQuote, gu as lifecycleFromQuoteStatus, Jo as limitCloseAuto, Yo as limitCloseAutoMutationOptions, zo as limitOpenAuto, Bo as limitOpenAutoMutationOptions, d as listSupportedChains, Nl as minRemainingQuantityOf, pa as normalizeNotification, Tf as parseBinanceDepthLevel, Ef as parseBinanceDepthLevels, ts as parseBinanceKline, ns as parseBinanceKlineEvent, va as parseBinancePriceFrame, E as parseGaslessErrorDetail, tp as parseListingValue, ga as parseNotificationFrame, ya as parsePriceFrame, Pd as parseTpSlFrame, ku as partitionQuotes, Pl as planGroupClose, pd as planGroupTpSl, md as planGroupTpSlDelete, Ko as prepareInstantCloseParams, Lo as prepareInstantOpenParams, ul as prepareInstantOpenParamsQueryOptions, qo as prepareLimitCloseParams, Ro as prepareLimitOpenParams, ss as previewForceClosePrice, Td as priceSlippageCalculation, xs as projectFundingRate, Dp as projectListingMarketConfig, zl as querySubgraph, Vl as querySubgraphQueryOptions, bu as reconcileQuotes, em as refundMarket, tm as refundMarketMutationOptions, Xn as relayGaslessBatch, Zn as relayGaslessBatchMutationOptions, Qn as relayGrantDelegation, $n as relayGrantDelegationMutationOptions, X as relayInstantOperations, er as relayInstantOperationsMutationOptions, ke as removeMargin, dt as removeMarginMutationOptions, Br as requestCancelWithdraw, Pi as requestCancelWithdrawMutationOptions, Vr as requestToCancelCloseRequest, Fi as requestToCancelCloseRequestMutationOptions, Hr as requestToCancelQuote, Ii as requestToCancelQuoteMutationOptions, je as requestToRegisterAffiliate, ft as requestToRegisterAffiliateMutationOptions, Zd as resolutionToMs, ud as resolveChildSide, ko as resolveFeeRates, D as resolveGaslessService, nh as resolveInventoryService, Mf as resolveListingService, Io as resolveLockedParams, Ao as resolveMarkPrice, jo as resolveMarket, xu as resolveQuoteAccounts, Fu as resolveQuoteGroupingStrategy, tr as resubmitGaslessRequest, nr as resubmitGaslessRequestMutationOptions, am as retryListing, cm as retryListingMutationOptions, sf as roundToTick, Fa as searchNotifications, Ia as searchNotificationsQueryKey, La as searchNotificationsQueryOptions, yd as searchTpSlOrders, bd as searchTpSlOrdersQueryKey, xd as searchTpSlOrdersQueryOptions, Ho as sendInstantClose, eo as sendInstantOpen, $a as sendQuoteUpnlSigFlexRange, to as sendRasaInstantOpen, Ed as setQuoteTpSl, Dd as setQuoteTpSlMutationOptions, rr as settleGaslessDepositExistingAccount, ir as settleGaslessDepositExistingAccountMutationOptions, ar as settleGaslessDepositNewAccount, or as settleGaslessDepositNewAccountMutationOptions, Zc as sharePercent, zu as shouldAccelerateOnchainReads, Bu as shouldAccelerateQuotePolling, re as shouldSimulateBeforeWrite, x as signAndFormatInstantOperation, _ as signSignedOperation, ed as signTpSlRequest, ie as simulateAddMargin, pt as simulateAddMarginMutationOptions, Ur as simulateAllocate, Li as simulateAllocateMutationOptions, wt as simulateApproveCollateral, Nt as simulateApproveCollateralMutationOptions, oe as simulateCancelRegistration, mt as simulateCancelRegistrationMutationOptions, ce as simulateCreateSubAccounts, ht as simulateCreateSubAccountsMutationOptions, Wr as simulateDeallocate, Gr as simulateDeallocateAndInitiateWithdraw, zi as simulateDeallocateAndInitiateWithdrawMutationOptions, Ri as simulateDeallocateMutationOptions, ue as simulateDeleteSubAccount, gt as simulateDeleteSubAccountMutationOptions, fe as simulateDepositAndAllocateForAccount, _t as simulateDepositAndAllocateForAccountMutationOptions, me as simulateDepositForAccount, vt as simulateDepositForAccountMutationOptions, ge as simulateEditAccountName, yt as simulateEditAccountNameMutationOptions, Cr as simulateFinalizeWithdrawRequest, Bi as simulateFinalizeWithdrawRequestMutationOptions, zt as simulateGrantDelegation, rn as simulateGrantDelegationMutationOptions, Kr as simulateInitiateWithdraw, Vi as simulateInitiateWithdrawMutationOptions, Oe as simulateRemoveMargin, bt as simulateRemoveMarginMutationOptions, qr as simulateRequestCancelWithdraw, Hi as simulateRequestCancelWithdrawMutationOptions, Ae as simulateRequestToRegisterAffiliate, xt as simulateRequestToRegisterAffiliateMutationOptions, cf as suggestOrderbookTickSizes, hd as summarizeQuoteGroupTpSl, vs as supportsEstimatedPrice, O as supportsGaslessService, K as supportsGaslessStatusStream, Ga as supportsGroupClose, rh as supportsInventoryService, Ka as supportsLimitOrder, Nf as supportsListingService, Iu as supportsQuoteGrouping, Md as supportsTpSl, i as symmioAbi, Pf as toAddMarketRequest, Bd as toBalanceHistoryRow, nf as toBinanceInterval, Uf as toCancelWithdrawResult, Kf as toClaimRequest, ap as toClaimResult, Ff as toCreatedPool, Co as toEstimatedPrice, Fl as toGroupCloseCandidates, gd as toGroupTpSlChildren, _d as toGroupTpSlOrders, ah as toInventoryTvl, ch as toInventoryTvlPoint, Rf as toListingAuthToken, _p as toListingConfig, np as toListingMarket, Tp as toListingMarketConfig, Pp as toListingMarketDetail, rp as toListingMarketPage, zf as toListingSignInMessage, xp as toListingStatus, ip as toListingValue, pp as toMarketDepositAddress, ys as toMarketFundingInfo, ml as toPendingInstantClose, cp as toPoolClaim, lp as toPoolClaimHistoryPage, Rp as toPoolPositions, Kp as toPoolQuote, lm as toPoolRewardPoint, Am as toPoolTransaction, jm as toPoolTransactionPage, Hl as toQuoteEventRow, Xl as toQuoteFundingRow, ou as toQuoteHistoryRow, Qp as toRefundRequest, $p as toRefundResult, nm as toRetryListingInfo, im as toRetryListingResult, ws as toRevenueRecord, $u as toSignableTpSlMessage, Ms as toSolverDailyVolume, Qm as toSolverRevenue, Os as toSolverSymbols, Ba as toThresholdSeconds, Cm as toTokenPrice, Qd as toTradingViewDatafeed, Yd as toTradingViewResolution, Wd as toTransferRow, _u as toUnifiedQuoteFromInstantClose, vu as toUnifiedQuoteFromInstantOpen, yu as toUnifiedQuoteFromOnchain, Op as toUpdateListingMarketConfigRequest, Fm as toUserListingMarket, Im as toUserListingMarketPage, Hp as toUserPoolProfit, um as toUserPoolRewardChart, Bm as toUserTransaction, Vm as toUserTransactionPage, Gm as toWeeklyListingLimit, yo as toWeiBigInt, Ym as toWithdrawRequest, cd as triggerPriceToWei, kp as updateListingMarketConfig, Mp as updateListingMarketConfigMutationOptions, El as validateInstantCloseAgainstMarket, Do as validateInstantOpenAgainstMarket, Oo as validateInstantOpenBalanceFunding, fd as validateTpSl, Y as waitForGaslessRequest, jf as walkOrderbook, kf as watchBinanceDepth, rf as watchBinanceKlines, ba as watchBinancePrices, xa as watchEnigmaPrices, q as watchGaslessRequest, _a as watchNotifications, Sa as watchPrices, Fd as watchTpSlNotifications, Jr as withdraw, Qr as withdrawAuto, Wi as withdrawAutoMutationOptions, Xm as withdrawLp, Zm as withdrawLpMutationOptions, Ui as withdrawMutationOptions };
565
+ import { toUserTransaction as Rm, toUserTransactionPage as zm } from "./pools/user-transactions/to-user-transaction.js";
566
+ import { getUserTransactions as Bm } from "./pools/user-transactions/get-user-transactions.js";
567
+ import { getPoolPortfolio as Vm } from "./pools/portfolio/get-pool-portfolio.js";
568
+ import { getPoolPortfolioQueryKey as Hm, getPoolPortfolioQueryOptions as Um } from "./pools/portfolio/query.js";
569
+ import { getPoolPosition as Wm } from "./pools/position/get-pool-position.js";
570
+ import { getPoolPositionQueryKey as Gm, getPoolPositionQueryOptions as Km } from "./pools/position/query.js";
571
+ import { getUserProfitQueryKey as qm, getUserProfitQueryOptions as Jm } from "./pools/profit/query.js";
572
+ import { getPoolQuotesQueryKey as Ym, getPoolQuotesQueryOptions as Xm } from "./pools/quotes/query.js";
573
+ import { toRefundRequest as Zm } from "./pools/refund/to-refund-request.js";
574
+ import { toRefundResult as Qm } from "./pools/refund/to-refund-result.js";
575
+ import { refundMarket as $m } from "./pools/refund/refund-market.js";
576
+ import { refundMarketMutationOptions as eh } from "./pools/refund/query.js";
577
+ import { toRetryListingInfo as th } from "./pools/retry-listing/to-retry-listing-info.js";
578
+ import { getRetryListingInfo as nh } from "./pools/retry-listing/get-retry-listing-info.js";
579
+ import { toRetryListingResult as rh } from "./pools/retry-listing/to-retry-listing-result.js";
580
+ import { retryListing as ih } from "./pools/retry-listing/retry-listing.js";
581
+ import { getRetryListingInfoQueryKey as ah, getRetryListingInfoQueryOptions as oh, retryListingMutationOptions as sh } from "./pools/retry-listing/query.js";
582
+ import { toPoolRewardPoint as ch, toUserPoolRewardChart as lh } from "./pools/rewards/to-pool-reward-point.js";
583
+ import { getPoolRewardChart as uh } from "./pools/rewards/get-pool-reward-chart.js";
584
+ import { getPoolTotalReward as dh } from "./pools/rewards/get-pool-total-reward.js";
585
+ import { getUserRewardChart as fh } from "./pools/rewards/get-user-reward-chart.js";
586
+ import { getPoolRewardChartQueryKey as ph, getPoolRewardChartQueryOptions as mh, getPoolTotalRewardQueryKey as hh, getPoolTotalRewardQueryOptions as gh, getUserRewardChartQueryKey as _h, getUserRewardChartQueryOptions as vh, getUserTotalRewardQueryKey as yh, getUserTotalRewardQueryOptions as bh } from "./pools/rewards/query.js";
587
+ import { calculatePoolStatistics as xh } from "./pools/statistics/calculate-pool-statistics.js";
588
+ import { toPoolTransaction as Sh, toPoolTransactionPage as Ch } from "./pools/transactions/to-pool-transaction.js";
589
+ import { getPoolTransactions as wh } from "./pools/transactions/get-pool-transactions.js";
590
+ import { getPoolStatistics as Th } from "./pools/statistics/get-pool-statistics.js";
591
+ import { getPoolStatisticsQueryKey as Eh, getPoolStatisticsQueryOptions as Dh } from "./pools/statistics/query.js";
592
+ import { getListingTokenMetadata as Oh } from "./pools/token-metadata/get-listing-token-metadata.js";
593
+ import { getListingTokenMetadataQueryKey as kh, getListingTokenMetadataQueryOptions as Ah } from "./pools/token-metadata/query.js";
594
+ import { toTokenPrice as jh } from "./pools/token-price/to-token-price.js";
595
+ import { getTokenPrice as Mh } from "./pools/token-price/get-token-price.js";
596
+ import { getTokenPriceQueryKey as Nh, getTokenPriceQueryOptions as Ph } from "./pools/token-price/query.js";
597
+ import { checkListingTokenSupport as Fh } from "./pools/token-support/check-listing-token-support.js";
598
+ import { checkListingTokenSupportQueryKey as Ih, checkListingTokenSupportQueryOptions as Lh } from "./pools/token-support/query.js";
599
+ import { getPoolTradeHistory as Rh } from "./pools/trade-history/get-pool-trade-history.js";
600
+ import { getPoolTradeHistoryQueryKey as zh, getPoolTradeHistoryQueryOptions as Bh } from "./pools/trade-history/query.js";
601
+ import { getPoolTransactionRange as Vh } from "./pools/transactions/get-pool-transaction-range.js";
602
+ import { getPoolTransactionsQueryKey as Hh, getPoolTransactionsQueryOptions as Uh } from "./pools/transactions/query.js";
603
+ import { getUserListingMarketsQueryKey as Wh, getUserListingMarketsQueryOptions as Gh } from "./pools/user-markets/query.js";
604
+ import { getUserTransactionsQueryKey as Kh, getUserTransactionsQueryOptions as qh } from "./pools/user-transactions/query.js";
605
+ import { toWeeklyListingLimit as Jh } from "./pools/weekly-limit/to-weekly-limit.js";
606
+ import { getWeeklyListingLimit as Yh } from "./pools/weekly-limit/get-weekly-listing-limit.js";
607
+ import { getWeeklyListingLimitQueryKey as Xh, getWeeklyListingLimitQueryOptions as Zh } from "./pools/weekly-limit/query.js";
608
+ import { toWithdrawRequest as Qh } from "./pools/withdraw/to-withdraw-request.js";
609
+ import { withdrawLp as $h } from "./pools/withdraw/withdraw-lp.js";
610
+ import { withdrawLpMutationOptions as eg } from "./pools/withdraw/query.js";
611
+ import { toSolverRevenue as tg } from "./solvers/revenue/to-solver-revenue.js";
612
+ import { getSolverRevenue as ng } from "./solvers/revenue/get-solver-revenue.js";
613
+ import { getSolverRevenueQueryKey as rg, getSolverRevenueQueryOptions as ig } from "./solvers/revenue/query.js";
614
+ import { resolveInventoryService as ag, supportsInventoryService as og } from "./inventory/resolve-inventory.js";
615
+ import { getInventoryTvl as sg, toInventoryTvl as cg } from "./inventory/tvl/get-inventory-tvl.js";
616
+ import { getInventoryTvlQueryKey as lg, getInventoryTvlQueryOptions as ug } from "./inventory/tvl/query.js";
617
+ import { toInventoryTvlPoint as dg } from "./inventory/tvl-history/to-inventory-tvl-point.js";
618
+ import { getInventoryTvlHistory as fg } from "./inventory/tvl-history/get-inventory-tvl-history.js";
619
+ import { getInventoryTvlHistoryQueryKey as pg, getInventoryTvlHistoryQueryOptions as mg } from "./inventory/tvl-history/query.js";
620
+ import { INVENTORY_VALUE_DECIMALS as hg } from "./inventory/types.js";
621
+ export { Vn as ADD_MARGIN_TO_NEXT_VA_SELECTOR, ga as ActionStatus, St as AffiliateState, Hf as BINANCE_DEPTH_DEFAULT_LEVELS, Uf as BINANCE_DEPTH_DEFAULT_LIMIT, Wf as BINANCE_DEPTH_DEFAULT_UPDATE_SPEED, Gf as BINANCE_DEPTH_LIMITS, Kf as BINANCE_DEPTH_MAX_BUFFERED_EVENTS, qf as BINANCE_DEPTH_PATH, Jf as BINANCE_DEPTH_REST_URL, Yf as BINANCE_DEPTH_UPDATE_SPEEDS, Xf as BINANCE_DEPTH_WS_URL, ns as BINANCE_EXCHANGE_INFO_PATH, rs as BINANCE_KLINES_PATH, is as BINANCE_MAX_LIMIT, Zf as BINANCE_ORDERBOOK_EXCHANGE_INFO_PATH, as as BINANCE_REST_URL, os as BINANCE_WS_URL, uf as BalanceChangeType, df as BalanceHistoryFilter, wf as CANDLE_RESOLUTION_MS, Xl as DEFAULT_QUOTE_EVENTS_BY_TYPE_PAGE_SIZE, Zd as DEFAULT_TPSL_SLIPPAGE_LOWCAPS, eu as FUNDING_HISTORY_EVENT_TYPES, pn as GASLESS_GATEWAY_EIP712_DOMAIN_NAME, mn as GASLESS_GATEWAY_EIP712_DOMAIN_VERSION, j as GASLESS_QUEUED_POLL_MS, dn as GASLESS_RECEIPT_TIMEOUT_MS, Z as GASLESS_RELAYABLE_FUNCTIONS, Q as GASLESS_RELAYABLE_SELECTORS, $ as GASLESS_SESSION_KEY_SELECTORS, ee as GASLESS_SESSION_KEY_WITHDRAW_SELECTORS, M as GASLESS_STREAM_SETTLE_MS, N as GASLESS_STREAM_STALE_MS, P as GASLESS_SUBMITTED_POLL_MS, F as GASLESS_TERMINAL_STATUSES, J as GASLESS_WAIT_TIMEOUT_MS, an as GASLESS_WALLET_EXECUTE_SELECTOR, on as GASLESS_WALLET_EXECUTION_SENTINEL_SELECTOR, hn as GASLESS_WALLET_OPERATION_TYPES, Id as GROUP_TPSL_SIDES, I as GaslessFeeSource, L as GaslessRequestStatus, R as GaslessTransactionAttemptStatus, p as INSTANT_LAYER_EIP712_DOMAIN_NAME, m as INSTANT_LAYER_EIP712_DOMAIN_VERSION, Hn as INSTANT_TRADE_REQUIRED_SELECTORS, hg as INVENTORY_VALUE_DECIMALS, Un as LEGACY_INSTANT_TRADE_REQUIRED_SELECTORS, fm as LISTING_MARKET_CONFIG_BOUNDS, Sp as LISTING_VALUE_DECIMALS, Cp as ListingDepositChainId, wp as ListingMarketStatus, ho as MARKET_ORDER_DEADLINE_SECONDS, Dl as MAX_INSTANT_CLOSE_BULK_ORDERS, ur as MUON_APP, dr as MUON_METHOD_PARTY_A_OVERVIEW, fr as MUON_METHOD_PRICE, pr as MUON_METHOD_PRICE_RANGE, mr as MUON_METHOD_SETTLE_UPNL, hr as MUON_METHOD_UPNL_A, gr as MUON_METHOD_UPNL_A_WITH_SYMBOL_PRICE, _r as MUON_METHOD_UPNL_B, vr as MUON_METHOD_UPNL_PAIR, yr as MUON_METHOD_UPNL_WITH_SYMBOL_PRICE, ff as MarginTransferType, Tp as MarketLockReason, _a as NotificationType, cr as OPERATIONAL_FEE_LIST_PRICE_MULTIPLIER, co as ORDER_TYPE_MARKET, Zi as OrderType, wm as POOL_OPEN_QUOTE_STATUSES, Tm as POOL_PENDING_QUOTE_STATUSES, tu as PRICE_HISTORY_EVENT_TYPES, Ep as PoolPositionSide, Dp as PoolTransactionStatus, Op as PoolTransactionType, Qi as PositionType, iu as QUOTES_FUNDING_MAX_IDS_PER_REQUEST, cu as QuoteCloseEventType, lu as QuoteCloseType, nu as QuoteEventType, Nl as QuoteLifecycle, $i as QuoteStatus, Wn as REQUEST_TO_CLOSE_POSITION_SELECTOR, Gn as SEND_QUOTE_SELECTOR, Kn as SEND_QUOTE_WITH_AFFILIATE_AND_DATA_SELECTOR, go as SHORT_FUNDING_BUFFER_PERCENT, h as SIGNED_OPERATION_TYPES, Jl as SUBGRAPH_MAX_PAGE_SIZE, Ct as SubAccountIsolationType, a as SymmApiError, o as SymmError, s as SymmioSupportedChainId, Gd as TPSL_LIVE_ORDER_STATES, kp as TokenPriceChain, sf as TpSlSearchOrderType, lo as VIRTUAL_ACCOUNT_ISOLATION_TYPE, ea as WithdrawStatus, Sd as ZERO_LEG, $a as ZERO_UPNL_SIG, e as accountLayerAbi, If as accumulateOrderbook, ae as addMargin, Ne as addMarginMutationOptions, lp as addMarket, up as addMarketMutationOptions, Iu as aggregateGroupFunding, Hu as aggregateGroupMetrics, Vu as aggregateGroupUpnl, sr as allocate, ci as allocateMutationOptions, Pl as applyNotificationToQuotes, Tt as approveCollateral, Ot as approveCollateralMutationOptions, lr as approveOperationalFee, li as approveOperationalFeeMutationOptions, Uu as assertQuoteGroupingSupported, mp as authenticateListing, hp as authenticateListingMutationOptions, pf as balanceHistoryFilterToTypes, Yd as buildConditionalOrderLeg, Cd as buildConditionalOrderMessage, eo as buildQuoteMetadata, xa as buildRasaSubscribeMessage, v as buildSignedOperation, ba as buildSubscribeMessage, wd as buildTpSlDeleteMessage, Me as calculateAvailableForOrder, _o as calculateAvailableInstantOpenMargin, Hl as calculateClosePlatformFee, Xo as calculateClosePrice, vo as calculateExpectedSettlementLoss, Yu as calculateLiquidationPrice, yo as calculateMargin, nd as calculateMarginRisk, Ul as calculateOpenPlatformFee, Sm as calculatePoolOpenPositions, jm as calculatePoolPortfolio, Am as calculatePoolPosition, xh as calculatePoolStatistics, xs as calculatePriceImpact, Qu as calculateQuoteLeverage, $u as calculateQuotePnl, ed as calculateQuoteUpnl, td as calculateQuoteUpnlWei, Wa as calculateSolverCloseFee, bo as calculateSolverFees, xo as calculateTradeParams, se as cancelRegistration, Pe as cancelRegistrationMutationOptions, yp as cancelWithdraw, bp as cancelWithdrawMutationOptions, us as checkForceCloseEligibility, ds as checkForceClosePriceReached, Fh as checkListingTokenSupport, Ih as checkListingTokenSupportQueryKey, Lh as checkListingTokenSupportQueryOptions, Mo as checkNotionalCap, Pd as childNotional, Fp as claimProfit, Ip as claimProfitMutationOptions, Zo as clampClosePrecision, ln as classifyGaslessFailure, va as classifyNotification, Fl as classifyQuoteNotificationAction, uu as closeTypeToEventTypes, Yr as collateralToCore18, So as computePlatformFee, Co as computePlatformFeeLegs, fn as confirmGaslessRequest, Xr as core18ToCollateral, Nf as countTickDecimals, Mf as createBinanceCandleSource, rp as createBinanceOrderbookSource, Zr as createClassicWithdrawPart, f as createConfig, le as createSubAccounts, Fe as createSubAccountsMutationOptions, xr as deallocate, Sr as deallocateAndInitiateWithdraw, di as deallocateAndInitiateWithdrawMutationOptions, ui as deallocateMutationOptions, Oo as decimalPriceToWei, un as decodeGaslessOperationFailure, kd as deleteQuoteTpSl, Ad as deleteQuoteTpSlMutationOptions, de as deleteSubAccount, Ie as deleteSubAccountMutationOptions, pe as depositAndAllocateForAccount, Le as depositAndAllocateForAccountMutationOptions, he as depositForAccount, Re as depositForAccountMutationOptions, jo as deriveAutoSlippage, _e as editAccountName, ze as editAccountNameMutationOptions, to as encodeAddMarginToNextVA, qo as encodeRequestToClosePosition, no as encodeSendQuote, ro as encodeSendQuoteWithAffiliateAndData, Rd as estimateGroupTpSlReturn, du as eventTypeToCloseType, fu as eventTypeToQuoteStatus, ep as fetchBinanceDepth, tp as fetchBinanceSymbolFilters, Be as filterQueryOptions, Pt as finalizeRevokeDelegation, Ht as finalizeRevokeDelegationMutationOptions, wr as finalizeWithdrawRequest, fi as finalizeWithdrawRequestMutationOptions, fs as findForceCloseWindow, Wl as fingerprintQuote, Tr as forceCancelCloseRequest, pi as forceCancelCloseRequestMutationOptions, Er as forceCancelQuote, mi as forceCancelQuoteMutationOptions, gs as forceCloseAuto, _s as forceCloseAutoMutationOptions, ms as forceClosePosition, vs as forceClosePositionMutationOptions, y as formatSignedOperationPayload, Sf as fromTradingViewResolution, t as gaslessLayerAbi, z as gaslessPollDelay, n as gaslessWalletAbi, yn as gaslessWalletExecute, bn as gaslessWalletExecuteMutationOptions, ve as generateAccountManagerAddress, Ve as generateAccountManagerAddressQueryKey, He as generateAccountManagerAddressQueryOptions, b as generateSalt, Td as generateTpSlSalt, ye as getAccountBalanceInfo, Ue as getAccountBalanceInfoQueryKey, We as getAccountBalanceInfoQueryOptions, be as getAccountBalanceOf, Ge as getAccountBalanceOfQueryKey, Ke as getAccountBalanceOfQueryOptions, Ft as getActiveDelegations, Ut as getActiveDelegationsQueryKey, Wt as getActiveDelegationsQueryOptions, xe as getAffiliateState, qe as getAffiliateStateQueryKey, Je as getAffiliateStateQueryOptions, hf as getBalanceHistory, gf as getBalanceHistoryQueryKey, _f as getBalanceHistoryQueryOptions, ka as getBinanceHealth, Aa as getBinanceHealthQueryKey, ja as getBinanceHealthQueryOptions, Ma as getBinancePremiumIndex, Na as getBinancePremiumIndexQueryKey, Pa as getBinancePremiumIndexQueryOptions, kf as getBinanceSupportedResolutions, Fa as getBinanceSymbolsInfo, Ia as getBinanceSymbolsInfoQueryKey, La as getBinanceSymbolsInfoQueryOptions, Df as getCandlesQueryKey, Of as getCandlesQueryOptions, c as getChainConfig, zp as getClaimHistory, Vp as getClaimHistoryQueryKey, Hp as getClaimHistoryQueryOptions, Et as getCollateralAllowance, kt as getCollateralAllowanceQueryKey, At as getCollateralAllowanceQueryOptions, Dt as getCollateralBalance, jt as getCollateralBalanceQueryKey, Mt as getCollateralBalanceQueryOptions, Dr as getCoolDownsOfMA, hi as getCoolDownsOfMAQueryKey, gi as getCoolDownsOfMAQueryOptions, br as getDeallocateUpnlSig, Ec as getDeallocateUpnlSigQueryKey, Dc as getDeallocateUpnlSigQueryOptions, l as getDefaultSolver, It as getDelegationExpiry, Gt as getDelegationExpiryQueryKey, Kt as getDelegationExpiryQueryOptions, Wp as getDepositAddress, Gp as getDepositAddressQueryKey, Kp as getDepositAddressQueryOptions, ta as getEnigmaPriceServiceHealth, na as getEnigmaPriceServiceHealthQueryKey, ra as getEnigmaPriceServiceHealthQueryOptions, ia as getEnigmaPriceServiceMetadata, aa as getEnigmaPriceServiceMetadataQueryKey, oa as getEnigmaPriceServiceMetadataQueryOptions, sa as getEnigmaPriceServicePricesByAddresses, ca as getEnigmaPriceServicePricesByAddressesQueryKey, la as getEnigmaPriceServicePricesByAddressesQueryOptions, ua as getEnigmaPriceServicePricesByNames, da as getEnigmaPriceServicePricesByNamesQueryKey, fa as getEnigmaPriceServicePricesByNamesQueryOptions, pa as getEnigmaPriceServiceSymbolsInfo, ma as getEnigmaPriceServiceSymbolsInfoQueryKey, ha as getEnigmaPriceServiceSymbolsInfoQueryOptions, Hs as getErrorMessage, Us as getErrorMessageQueryKey, Ws as getErrorMessageQueryOptions, Ao as getEstimatedPrice, Ss as getEstimatedPriceQueryKey, Cs as getEstimatedPriceQueryOptions, io as getFakeSendQuoteMuonSignature, Or as getFeeForUser, _i as getFeeForUserQueryKey, vi as getFeeForUserQueryOptions, hs as getForceCloseParams, ys as getForceCloseParamsQueryKey, bs as getForceCloseParamsQueryOptions, ls as getForceClosePriceSig, Oc as getForceClosePriceSigQueryKey, kc as getForceClosePriceSigQueryOptions, $r as getFundingFeesOfPartyB, ei as getFundingFeesOfPartyBQueryKey, ti as getFundingFeesOfPartyBQueryOptions, cd as getFundingIndexCheckpoints, ld as getFundingIndexCheckpointsQueryKey, ud as getFundingIndexCheckpointsQueryOptions, Es as getFundingInfo, Os as getFundingInfoQueryKey, ks as getFundingInfoQueryOptions, xn as getGaslessBatchFeeQuote, Sn as getGaslessBatchFeeQuoteQueryKey, Cn as getGaslessBatchFeeQuoteQueryOptions, cn as getGaslessBatchSelectors, Tn as getGaslessDepositPolicy, En as getGaslessDepositPolicyQueryKey, Dn as getGaslessDepositPolicyQueryOptions, W as getGaslessFeeQuote, On as getGaslessFeeQuoteQueryKey, kn as getGaslessFeeQuoteQueryOptions, gn as getGaslessGatewayEip712Domain, G as getGaslessRequest, An as getGaslessRequestQueryKey, jn as getGaslessRequestQueryOptions, Mn as getGaslessRequestTransactions, Nn as getGaslessRequestTransactionsQueryKey, Pn as getGaslessRequestTransactionsQueryOptions, k as getGaslessUnconfirmedSubmit, _n as getGaslessWalletAddress, Fn as getGaslessWalletAddressQueryKey, In as getGaslessWalletAddressQueryOptions, wn as getGaslessWalletCreationFee, Ln as getGaslessWalletCreationFeeQueryKey, Rn as getGaslessWalletCreationFeeQueryOptions, sn as getGaslessWalletExecuteSelectors, vn as getGaslessWalletNonce, zn as getGaslessWalletNonceQueryKey, Bn as getGaslessWalletNonceQueryOptions, ne as getGaslessWriteRequest, _l as getInstantCloseFees, vl as getInstantCloseFeesQueryKey, yl as getInstantCloseFeesQueryOptions, xl as getInstantCloses, Sl as getInstantClosesQueryKey, Cl as getInstantClosesQueryOptions, g as getInstantLayerEip712Domain, C as getInstantLayerNonce, qt as getInstantLayerNonceQueryKey, Jt as getInstantLayerNonceQueryOptions, il as getInstantOpenFees, al as getInstantOpenFeesQueryKey, ol as getInstantOpenFeesQueryOptions, sl as getInstantOpenQuoteId, cl as getInstantOpenQuoteIdQueryKey, ll as getInstantOpenQuoteIdQueryOptions, ul as getInstantOpens, dl as getInstantOpensQueryKey, fl as getInstantOpensQueryOptions, qn as getInstantTradeRequiredSelectors, sg as getInventoryTvl, fg as getInventoryTvlHistory, pg as getInventoryTvlHistoryQueryKey, mg as getInventoryTvlHistoryQueryOptions, lg as getInventoryTvlQueryKey, ug as getInventoryTvlQueryOptions, T as getIsDelegationActive, Yt as getIsDelegationActiveQueryKey, Xt as getIsDelegationActiveQueryOptions, kr as getLastWithdrawRequestId, yi as getLastWithdrawRequestIdQueryKey, bi as getLastWithdrawRequestIdQueryOptions, gd as getLiquidationDetails, _d as getLiquidationDetailsQueryKey, vd as getLiquidationDetailsQueryOptions, Jp as getListingConfig, Yp as getListingConfigQueryKey, Xp as getListingConfigQueryOptions, am as getListingMarketConfig, lm as getListingMarketConfigQueryKey, um as getListingMarketConfigQueryOptions, hm as getListingMarketDetail, gm as getListingMarketDetailQueryKey, _m as getListingMarketDetailQueryOptions, ym as getListingMarkets, bm as getListingMarketsQueryKey, xm as getListingMarketsQueryOptions, pp as getListingSignInMessage, gp as getListingSignInMessageQueryKey, _p as getListingSignInMessageQueryOptions, Qp as getListingStatus, $p as getListingStatusQueryKey, em as getListingStatusQueryOptions, Oh as getListingTokenMetadata, kh as getListingTokenMetadataQueryKey, Ah as getListingTokenMetadataQueryOptions, Vo as getLockedParams, lc as getLockedParamsQueryKey, uc as getLockedParamsQueryOptions, id as getMarginTransfers, ad as getMarginTransfersQueryKey, od as getMarginTransfersQueryOptions, Ra as getMarkPrices, za as getMarkPricesQueryKey, Ba as getMarkPricesQueryOptions, oc as getMarketInfo, sc as getMarketInfoQueryKey, cc as getMarketInfoQueryOptions, wo as getMarketOrderDeadline, qa as getMarkets, Ja as getMarketsQueryKey, Ya as getMarketsQueryOptions, Ac as getMuonPartyAOverview, jc as getMuonPartyAOverviewQueryKey, Mc as getMuonPartyAOverviewQueryOptions, Nc as getMuonPrice, Pc as getMuonPriceQueryKey, Fc as getMuonPriceQueryOptions, Ic as getMuonPriceRange, Lc as getMuonPriceRangeQueryKey, Rc as getMuonPriceRangeQueryOptions, zc as getMuonSettleUpnl, Bc as getMuonSettleUpnlQueryKey, Vc as getMuonSettleUpnlQueryOptions, Hc as getMuonUpnl, Gc as getMuonUpnlA, Kc as getMuonUpnlAQueryKey, qc as getMuonUpnlAQueryOptions, Jc as getMuonUpnlAWithSymbolPrice, Yc as getMuonUpnlAWithSymbolPriceQueryKey, Xc as getMuonUpnlAWithSymbolPriceQueryOptions, Zc as getMuonUpnlB, Qc as getMuonUpnlBQueryKey, $c as getMuonUpnlBQueryOptions, Uc as getMuonUpnlQueryKey, Wc as getMuonUpnlQueryOptions, el as getMuonUpnlWithSymbolPrice, tl as getMuonUpnlWithSymbolPriceQueryKey, nl as getMuonUpnlWithSymbolPriceQueryOptions, fc as getNotionalCapAll, _c as getNotionalCapAllQueryKey, vc as getNotionalCapAllQueryOptions, pc as getNotionalCapBySymbolId, hc as getNotionalCapBySymbolIdQueryKey, gc as getNotionalCapBySymbolIdQueryOptions, dc as getNotionalCapPage, xc as getNotionalCapPageQueryKey, Sc as getNotionalCapPageQueryOptions, Ar as getOnchainContractMarkets, xi as getOnchainContractMarketsQueryKey, Si as getOnchainContractMarketsQueryOptions, mc as getOpenInterestBySymbolId, yc as getOpenInterestBySymbolIdQueryKey, bc as getOpenInterestBySymbolIdQueryOptions, jr as getOperationalFeeAllowance, Ci as getOperationalFeeAllowanceQueryKey, wi as getOperationalFeeAllowanceQueryOptions, Lf as getOrderbookDepthWithin, Bf as getOrderbookQueryKey, Vf as getOrderbookQueryOptions, Rf as getOrderbookSpread, Mr as getPartyAOpenPositions, ni as getPartyAOpenPositionsBatch, ri as getPartyAOpenPositionsBatchQueryKey, ii as getPartyAOpenPositionsBatchQueryOptions, Ti as getPartyAOpenPositionsQueryKey, Ei as getPartyAOpenPositionsQueryOptions, Nr as getPartyAPendingQuotes, Di as getPartyAPendingQuotesQueryKey, Oi as getPartyAPendingQuotesQueryOptions, Gs as getPartyAUpnl, Ks as getPartyAUpnlQueryKey, qs as getPartyAUpnlQueryOptions, Pr as getPendingQuotes, ki as getPendingQuotesQueryKey, Ai as getPendingQuotesQueryOptions, Lt as getPendingRevocationEtas, Zt as getPendingRevocationEtasQueryKey, Qt as getPendingRevocationEtasQueryOptions, Fr as getPendingWithdrawRequests, ji as getPendingWithdrawRequestsQueryKey, Mi as getPendingWithdrawRequestsQueryOptions, Bp as getPoolClaim, tm as getPoolMaintenanceFees, nm as getPoolMaintenanceFeesQueryKey, rm as getPoolMaintenanceFeesQueryOptions, pm as getPoolMarketData, Dm as getPoolOpenPositions, Om as getPoolOpenPositionsQueryKey, km as getPoolOpenPositionsQueryOptions, Vm as getPoolPortfolio, Hm as getPoolPortfolioQueryKey, Um as getPoolPortfolioQueryOptions, Wm as getPoolPosition, Gm as getPoolPositionQueryKey, Km as getPoolPositionQueryOptions, Em as getPoolQuotes, Ym as getPoolQuotesQueryKey, Xm as getPoolQuotesQueryOptions, uh as getPoolRewardChart, ph as getPoolRewardChartQueryKey, mh as getPoolRewardChartQueryOptions, Th as getPoolStatistics, Eh as getPoolStatisticsQueryKey, Dh as getPoolStatisticsQueryOptions, dh as getPoolTotalReward, hh as getPoolTotalRewardQueryKey, gh as getPoolTotalRewardQueryOptions, Rh as getPoolTradeHistory, zh as getPoolTradeHistoryQueryKey, Bh as getPoolTradeHistoryQueryOptions, Vh as getPoolTransactionRange, wh as getPoolTransactions, Hh as getPoolTransactionsQueryKey, Uh as getPoolTransactionsQueryOptions, De as getPredictedNextVirtualAccount, lt as getPredictedNextVirtualAccountQueryKey, ut as getPredictedNextVirtualAccountQueryOptions, hl as getPrepareInstantOpenParamsQueryKey, Kl as getQuerySubgraphQueryKey, Ir as getQuote, Zl as getQuoteEventsByType, Ql as getQuoteEventsByTypeQueryKey, $l as getQuoteEventsByTypeQueryOptions, au as getQuoteFunding, ou as getQuoteFundingQueryKey, su as getQuoteFundingQueryOptions, fd as getQuoteFundingSettlements, pd as getQuoteFundingSettlementsQueryKey, md as getQuoteFundingSettlementsQueryOptions, mu as getQuoteHistory, hu as getQuoteHistoryQueryKey, gu as getQuoteHistoryQueryOptions, _u as getQuotePendingFunding, vu as getQuotePendingFundingQueryKey, yu as getQuotePendingFundingQueryOptions, Ni as getQuoteQueryKey, Pi as getQuoteQueryOptions, jd as getQuoteTpSl, Md as getQuoteTpSlQueryKey, Nd as getQuoteTpSlQueryOptions, bu as getQuotesEventsByType, xu as getQuotesEventsByTypeQueryKey, Su as getQuotesEventsByTypeQueryOptions, nh as getRetryListingInfo, ah as getRetryListingInfoQueryKey, oh as getRetryListingInfoQueryOptions, js as getRevenueRecords, Ms as getRevenueRecordsQueryKey, Ns as getRevenueRecordsQueryOptions, Rt as getRevocationCooldown, $t as getRevocationCooldownQueryKey, en as getRevocationCooldownQueryOptions, fo as getSendQuoteUpnlSig, po as getSendQuoteUpnlSigQueryKey, mo as getSendQuoteUpnlSigQueryOptions, Jn as getSessionKeySelectors, Js as getSolverBalanceInfo, Ys as getSolverBalanceInfoQueryKey, Xs as getSolverBalanceInfoQueryOptions, Xa as getSolverCapabilities, Ga as getSolverCloseFeeRate, Cc as getSolverErrorCodes, wc as getSolverErrorCodesQueryKey, Tc as getSolverErrorCodesQueryOptions, Ro as getSolverInfo, zo as getSolverInfoQueryKey, Bo as getSolverInfoQueryOptions, Zs as getSolverOpenInterest, Qs as getSolverOpenInterestQueryKey, $s as getSolverOpenInterestQueryOptions, ec as getSolverPriceRange, tc as getSolverPriceRangeQueryKey, nc as getSolverPriceRangeQueryOptions, rc as getSolverReadiness, ic as getSolverReadinessQueryKey, ac as getSolverReadinessQueryOptions, ng as getSolverRevenue, rg as getSolverRevenueQueryKey, ig as getSolverRevenueQueryOptions, w as getSubAccount, Ye as getSubAccountQueryKey, Xe as getSubAccountQueryOptions, ku as getSubAccountQuotes, Au as getSubAccountQuotesQueryKey, ju as getSubAccountQuotesQueryOptions, Se as getSubAccountVirtualNonce, Ze as getSubAccountVirtualNonceQueryKey, Qe as getSubAccountVirtualNonceQueryOptions, Ce as getSubAccountsCountOfUser, $e as getSubAccountsCountOfUserQueryKey, et as getSubAccountsCountOfUserQueryOptions, Nu as getSubgraphQuotes, Pu as getSubgraphQuotesQueryKey, Fu as getSubgraphQuotesQueryOptions, Fs as getSymbols, Is as getSymbolsQueryKey, Ls as getSymbolsQueryOptions, Mh as getTokenPrice, Nh as getTokenPriceQueryKey, Ph as getTokenPriceQueryOptions, yd as getTpSlConfig, bd as getTpSlConfigQueryKey, xd as getTpSlConfigQueryOptions, Od as getTpSlDeleteSigningSpec, tf as getTpSlDeleteSigningSpecQueryKey, nf as getTpSlDeleteSigningSpecQueryOptions, Xd as getTpSlSigningSpec, rf as getTpSlSigningSpecQueryKey, af as getTpSlSigningSpecQueryOptions, zs as getTradeVolume, Bs as getTradeVolumeQueryKey, Vs as getTradeVolumeQueryOptions, yf as getTransferHistory, bf as getTransferHistoryQueryKey, xf as getTransferHistoryQueryOptions, Lm as getUserListingMarkets, Wh as getUserListingMarketsQueryKey, Gh as getUserListingMarketsQueryOptions, Nm as getUserProfit, qm as getUserProfitQueryKey, Jm as getUserProfitQueryOptions, fh as getUserRewardChart, _h as getUserRewardChartQueryKey, vh as getUserRewardChartQueryOptions, we as getUserSubAccounts, Te as getUserSubAccountsAddresses, rt as getUserSubAccountsAddressesQueryKey, it as getUserSubAccountsAddressesQueryOptions, tt as getUserSubAccountsQueryKey, nt as getUserSubAccountsQueryOptions, Pm as getUserTotalReward, yh as getUserTotalRewardQueryKey, bh as getUserTotalRewardQueryOptions, Bm as getUserTransactions, Kh as getUserTransactionsQueryKey, qh as getUserTransactionsQueryOptions, S as getVirtualAccount, at as getVirtualAccountQueryKey, ot as getVirtualAccountQueryOptions, Ee as getVirtualAccountsAddressesOfSubAccount, st as getVirtualAccountsAddressesOfSubAccountQueryKey, ct as getVirtualAccountsAddressesOfSubAccountQueryOptions, Yh as getWeeklyListingLimit, Xh as getWeeklyListingLimitQueryKey, Zh as getWeeklyListingLimitQueryOptions, Lr as getWithdrawRequests, Fi as getWithdrawRequestsQueryKey, Ii as getWithdrawRequestsQueryOptions, Rr as getWithdrawableTime, Li as getWithdrawableTimeQueryKey, Ri as getWithdrawableTimeQueryOptions, Bt as grantDelegation, tn as grantDelegationMutationOptions, zf as groupOrderbook, Ju as groupQuotes, Vt as initiateRevokeDelegation, nn as initiateRevokeDelegationMutationOptions, zr as initiateWithdraw, zi as initiateWithdrawMutationOptions, Yo as instantClose, Tl as instantCloseAuto, El as instantCloseAutoMutationOptions, Ol as instantCloseBulk, Al as instantCloseBulkAuto, jl as instantCloseBulkAutoMutationOptions, kl as instantCloseBulkMutationOptions, wl as instantCloseMutationOptions, r as instantLayerAbi, Eo as instantOpen, pl as instantOpenAuto, ml as instantOpenAutoMutationOptions, Do as instantOpenMutationOptions, Lu as isActivePosition, Ru as isActiveQuoteStatus, Il as isCancelAction, u as isChainSupported, Ll as isCloseFillAction, V as isConfirmedGaslessFeeLimitError, H as isConfirmedGaslessUnavailableError, U as isGaslessFreeQuotaExhaustedError, A as isGaslessIdempotencyConflictError, te as isGaslessRelayableSelector, B as isGaslessRequestTerminal, Yn as isNewerGaslessRequest, Rl as isOpenAnchorAction, ai as isPartyALiquidated, oi as isPartyALiquidatedQueryKey, si as isPartyALiquidatedQueryOptions, zu as isPendingOrder, uo as isolationTypeForSide, Wu as keyQuoteByMarket, Gu as keyQuotePerQuote, Cu as lifecycleFromQuoteStatus, es as limitCloseAuto, ts as limitCloseAutoMutationOptions, Go as limitOpenAuto, Ko as limitOpenAutoMutationOptions, d as listSupportedChains, zl as minRemainingQuantityOf, ya as normalizeNotification, Qf as parseBinanceDepthLevel, $f as parseBinanceDepthLevels, ss as parseBinanceKline, cs as parseBinanceKlineEvent, wa as parseBinancePriceFrame, E as parseGaslessErrorDetail, Ap as parseListingValue, Sa as parseNotificationFrame, Ta as parsePriceFrame, cf as parseTpSlFrame, Bu as partitionQuotes, Bl as planGroupClose, Bd as planGroupTpSl, Vd as planGroupTpSlDelete, Qo as prepareInstantCloseParams, Uo as prepareInstantOpenParams, gl as prepareInstantOpenParamsQueryOptions, $o as prepareLimitCloseParams, Wo as prepareLimitOpenParams, ps as previewForceClosePrice, Qd as priceSlippageCalculation, Ds as projectFundingRate, om as projectListingMarketConfig, Gl as querySubgraph, ql as querySubgraphQueryOptions, Du as reconcileQuotes, $m as refundMarket, eh as refundMarketMutationOptions, Xn as relayGaslessBatch, Zn as relayGaslessBatchMutationOptions, Qn as relayGrantDelegation, $n as relayGrantDelegationMutationOptions, X as relayInstantOperations, er as relayInstantOperationsMutationOptions, ke as removeMargin, dt as removeMarginMutationOptions, Br as requestCancelWithdraw, Bi as requestCancelWithdrawMutationOptions, Vr as requestToCancelCloseRequest, Vi as requestToCancelCloseRequestMutationOptions, Hr as requestToCancelQuote, Hi as requestToCancelQuoteMutationOptions, je as requestToRegisterAffiliate, ft as requestToRegisterAffiliateMutationOptions, Tf as resolutionToMs, Ld as resolveChildSide, Fo as resolveFeeRates, D as resolveGaslessService, ag as resolveInventoryService, ap as resolveListingService, Ho as resolveLockedParams, Io as resolveMarkPrice, Lo as resolveMarket, Ou as resolveQuoteAccounts, Ku as resolveQuoteGroupingStrategy, tr as resubmitGaslessRequest, nr as resubmitGaslessRequestMutationOptions, ih as retryListing, sh as retryListingMutationOptions, Pf as roundToTick, Va as searchNotifications, Ha as searchNotificationsQueryKey, Ua as searchNotificationsQueryOptions, Kd as searchTpSlOrders, qd as searchTpSlOrdersQueryKey, Jd as searchTpSlOrdersQueryOptions, Jo as sendInstantClose, oo as sendInstantOpen, ao as sendQuoteUpnlSigFlexRange, so as sendRasaInstantOpen, $d as setQuoteTpSl, ef as setQuoteTpSlMutationOptions, rr as settleGaslessDepositExistingAccount, ir as settleGaslessDepositExistingAccountMutationOptions, ar as settleGaslessDepositNewAccount, or as settleGaslessDepositNewAccountMutationOptions, rl as sharePercent, Xu as shouldAccelerateOnchainReads, Zu as shouldAccelerateQuotePolling, re as shouldSimulateBeforeWrite, x as signAndFormatInstantOperation, _ as signSignedOperation, Dd as signTpSlRequest, ie as simulateAddMargin, pt as simulateAddMarginMutationOptions, Ur as simulateAllocate, Ui as simulateAllocateMutationOptions, wt as simulateApproveCollateral, Nt as simulateApproveCollateralMutationOptions, oe as simulateCancelRegistration, mt as simulateCancelRegistrationMutationOptions, ce as simulateCreateSubAccounts, ht as simulateCreateSubAccountsMutationOptions, Wr as simulateDeallocate, Gr as simulateDeallocateAndInitiateWithdraw, Gi as simulateDeallocateAndInitiateWithdrawMutationOptions, Wi as simulateDeallocateMutationOptions, ue as simulateDeleteSubAccount, gt as simulateDeleteSubAccountMutationOptions, fe as simulateDepositAndAllocateForAccount, _t as simulateDepositAndAllocateForAccountMutationOptions, me as simulateDepositForAccount, vt as simulateDepositForAccountMutationOptions, ge as simulateEditAccountName, yt as simulateEditAccountNameMutationOptions, Cr as simulateFinalizeWithdrawRequest, Ki as simulateFinalizeWithdrawRequestMutationOptions, zt as simulateGrantDelegation, rn as simulateGrantDelegationMutationOptions, Kr as simulateInitiateWithdraw, qi as simulateInitiateWithdrawMutationOptions, Oe as simulateRemoveMargin, bt as simulateRemoveMarginMutationOptions, qr as simulateRequestCancelWithdraw, Ji as simulateRequestCancelWithdrawMutationOptions, Ae as simulateRequestToRegisterAffiliate, xt as simulateRequestToRegisterAffiliateMutationOptions, Ff as suggestOrderbookTickSizes, Hd as summarizeQuoteGroupTpSl, ws as supportsEstimatedPrice, O as supportsGaslessService, K as supportsGaslessStatusStream, Za as supportsGroupClose, og as supportsInventoryService, Qa as supportsLimitOrder, op as supportsListingService, qu as supportsQuoteGrouping, of as supportsTpSl, i as symmioAbi, sp as toAddMarketRequest, mf as toBalanceHistoryRow, Af as toBinanceInterval, vp as toCancelWithdrawResult, xp as toClaimRequest, Pp as toClaimResult, cp as toCreatedPool, ko as toEstimatedPrice, sd as toFundingIndexCheckpointRow, Vl as toGroupCloseCandidates, Ud as toGroupTpSlChildren, Wd as toGroupTpSlOrders, cg as toInventoryTvl, dg as toInventoryTvlPoint, hd as toLiquidationDetailRow, dp as toListingAuthToken, qp as toListingConfig, jp as toListingMarket, im as toListingMarketConfig, mm as toListingMarketDetail, Mp as toListingMarketPage, fp as toListingSignInMessage, Zp as toListingStatus, Np as toListingValue, rd as toMarginTransferRow, Up as toMarketDepositAddress, Ts as toMarketFundingInfo, bl as toPendingInstantClose, Lp as toPoolClaim, Rp as toPoolClaimHistoryPage, vm as toPoolPositions, Cm as toPoolQuote, ch as toPoolRewardPoint, Sh as toPoolTransaction, Ch as toPoolTransactionPage, Yl as toQuoteEventRow, ru as toQuoteFundingRow, dd as toQuoteFundingSettlementRow, pu as toQuoteHistoryRow, Zm as toRefundRequest, Qm as toRefundResult, th as toRetryListingInfo, rh as toRetryListingResult, As as toRevenueRecord, Ed as toSignableTpSlMessage, Rs as toSolverDailyVolume, tg as toSolverRevenue, Ps as toSolverSymbols, Mu as toSubgraphQuoteRow, Ka as toThresholdSeconds, jh as toTokenPrice, Ef as toTradingViewDatafeed, Cf as toTradingViewResolution, vf as toTransferRow, wu as toUnifiedQuoteFromInstantClose, Tu as toUnifiedQuoteFromInstantOpen, Eu as toUnifiedQuoteFromOnchain, sm as toUpdateListingMarketConfigRequest, Fm as toUserListingMarket, Im as toUserListingMarketPage, Mm as toUserPoolProfit, lh as toUserPoolRewardChart, Rm as toUserTransaction, zm as toUserTransactionPage, Jh as toWeeklyListingLimit, To as toWeiBigInt, Qh as toWithdrawRequest, Fd as triggerPriceToWei, cm as updateListingMarketConfig, dm as updateListingMarketConfigMutationOptions, Ml as validateInstantCloseAgainstMarket, No as validateInstantOpenAgainstMarket, Po as validateInstantOpenBalanceFunding, zd as validateTpSl, Y as waitForGaslessRequest, ip as walkOrderbook, np as watchBinanceDepth, jf as watchBinanceKlines, Ea as watchBinancePrices, Da as watchEnigmaPrices, q as watchGaslessRequest, Ca as watchNotifications, Oa as watchPrices, lf as watchTpSlNotifications, Jr as withdraw, Qr as withdrawAuto, Xi as withdrawAutoMutationOptions, $h as withdrawLp, eg as withdrawLpMutationOptions, Yi as withdrawMutationOptions };