@symmio/trading-core 1.1.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1779) hide show
  1. package/README.md +2 -2
  2. package/dist/balance-history/get-balance-history/types.d.ts +1 -1
  3. package/dist/balance-history/get-balance-history/types.js.map +1 -1
  4. package/dist/candles/adapters/tradingview/index.d.ts +4 -0
  5. package/dist/candles/adapters/tradingview/index.d.ts.map +1 -0
  6. package/dist/candles/adapters/tradingview/map-resolution.d.ts +26 -0
  7. package/dist/candles/adapters/tradingview/map-resolution.d.ts.map +1 -0
  8. package/dist/candles/adapters/tradingview/map-resolution.js +51 -0
  9. package/dist/candles/adapters/tradingview/map-resolution.js.map +1 -0
  10. package/dist/candles/adapters/tradingview/to-tradingview-datafeed.d.ts +48 -0
  11. package/dist/candles/adapters/tradingview/to-tradingview-datafeed.d.ts.map +1 -0
  12. package/dist/candles/adapters/tradingview/to-tradingview-datafeed.js +115 -0
  13. package/dist/candles/adapters/tradingview/to-tradingview-datafeed.js.map +1 -0
  14. package/dist/candles/adapters/tradingview/types.d.ts +102 -0
  15. package/dist/candles/adapters/tradingview/types.d.ts.map +1 -0
  16. package/dist/candles/index.d.ts +6 -0
  17. package/dist/candles/index.d.ts.map +1 -0
  18. package/dist/candles/query.d.ts +58 -0
  19. package/dist/candles/query.d.ts.map +1 -0
  20. package/dist/candles/query.js +31 -0
  21. package/dist/candles/query.js.map +1 -0
  22. package/dist/candles/resolution.d.ts +25 -0
  23. package/dist/candles/resolution.d.ts.map +1 -0
  24. package/dist/candles/resolution.js +30 -0
  25. package/dist/candles/resolution.js.map +1 -0
  26. package/dist/candles/sources/binance/constants.d.ts +46 -0
  27. package/dist/candles/sources/binance/constants.d.ts.map +1 -0
  28. package/dist/candles/sources/binance/constants.js +21 -0
  29. package/dist/candles/sources/binance/constants.js.map +1 -0
  30. package/dist/candles/sources/binance/create-binance-candle-source.d.ts +65 -0
  31. package/dist/candles/sources/binance/create-binance-candle-source.d.ts.map +1 -0
  32. package/dist/candles/sources/binance/create-binance-candle-source.js +92 -0
  33. package/dist/candles/sources/binance/create-binance-candle-source.js.map +1 -0
  34. package/dist/candles/sources/binance/fetch-binance-exchange-info.d.ts +40 -0
  35. package/dist/candles/sources/binance/fetch-binance-exchange-info.d.ts.map +1 -0
  36. package/dist/candles/sources/binance/fetch-binance-exchange-info.js +34 -0
  37. package/dist/candles/sources/binance/fetch-binance-exchange-info.js.map +1 -0
  38. package/dist/candles/sources/binance/fetch-binance-klines.d.ts +36 -0
  39. package/dist/candles/sources/binance/fetch-binance-klines.d.ts.map +1 -0
  40. package/dist/candles/sources/binance/fetch-binance-klines.js +31 -0
  41. package/dist/candles/sources/binance/fetch-binance-klines.js.map +1 -0
  42. package/dist/candles/sources/binance/index.d.ts +8 -0
  43. package/dist/candles/sources/binance/index.d.ts.map +1 -0
  44. package/dist/candles/sources/binance/map-resolution.d.ts +25 -0
  45. package/dist/candles/sources/binance/map-resolution.d.ts.map +1 -0
  46. package/dist/candles/sources/binance/map-resolution.js +34 -0
  47. package/dist/candles/sources/binance/map-resolution.js.map +1 -0
  48. package/dist/candles/sources/binance/parse-kline.d.ts +61 -0
  49. package/dist/candles/sources/binance/parse-kline.d.ts.map +1 -0
  50. package/dist/candles/sources/binance/parse-kline.js +32 -0
  51. package/dist/candles/sources/binance/parse-kline.js.map +1 -0
  52. package/dist/candles/sources/binance/watch-binance-klines.d.ts +54 -0
  53. package/dist/candles/sources/binance/watch-binance-klines.d.ts.map +1 -0
  54. package/dist/candles/sources/binance/watch-binance-klines.js +45 -0
  55. package/dist/candles/sources/binance/watch-binance-klines.js.map +1 -0
  56. package/dist/candles/types.d.ts +192 -0
  57. package/dist/candles/types.d.ts.map +1 -0
  58. package/dist/core/chains/actions/get-chain-config.d.ts +1 -1
  59. package/dist/core/chains/actions/get-chain-config.js.map +1 -1
  60. package/dist/core/chains/actions/get-default-solver.d.ts +22 -0
  61. package/dist/core/chains/actions/get-default-solver.d.ts.map +1 -0
  62. package/dist/core/chains/actions/get-default-solver.js +10 -0
  63. package/dist/core/chains/actions/get-default-solver.js.map +1 -0
  64. package/dist/core/chains/actions/list-supported-chains.js.map +1 -1
  65. package/dist/core/chains/index.d.ts +4 -0
  66. package/dist/core/chains/index.d.ts.map +1 -1
  67. package/dist/core/chains/price-service-support.d.ts +18 -0
  68. package/dist/core/chains/price-service-support.d.ts.map +1 -0
  69. package/dist/core/chains/price-service-support.js +10 -0
  70. package/dist/core/chains/price-service-support.js.map +1 -0
  71. package/dist/core/chains/registry.d.ts.map +1 -1
  72. package/dist/core/chains/registry.js +90 -42
  73. package/dist/core/chains/registry.js.map +1 -1
  74. package/dist/core/chains/resolve-solver.d.ts +14 -0
  75. package/dist/core/chains/resolve-solver.d.ts.map +1 -0
  76. package/dist/core/chains/resolve-solver.js +14 -0
  77. package/dist/core/chains/resolve-solver.js.map +1 -0
  78. package/dist/core/chains/solver-support.d.ts +14 -0
  79. package/dist/core/chains/solver-support.d.ts.map +1 -0
  80. package/dist/core/chains/solver-support.js +10 -0
  81. package/dist/core/chains/solver-support.js.map +1 -0
  82. package/dist/core/chains/supported-chains.d.ts +5 -3
  83. package/dist/core/chains/supported-chains.d.ts.map +1 -1
  84. package/dist/core/chains/supported-chains.js +1 -1
  85. package/dist/core/chains/supported-chains.js.map +1 -1
  86. package/dist/core/chains/types.d.ts +252 -24
  87. package/dist/core/chains/types.d.ts.map +1 -1
  88. package/dist/core/chains/types.js +6 -0
  89. package/dist/core/chains/types.js.map +1 -0
  90. package/dist/core/config/config-key.d.ts +6 -0
  91. package/dist/core/config/config-key.d.ts.map +1 -1
  92. package/dist/core/config/config-key.js.map +1 -1
  93. package/dist/core/config/create-config.d.ts +44 -16
  94. package/dist/core/config/create-config.d.ts.map +1 -1
  95. package/dist/core/config/create-config.js +48 -25
  96. package/dist/core/config/create-config.js.map +1 -1
  97. package/dist/core/config/merge-chain-config.d.ts.map +1 -1
  98. package/dist/core/config/merge-chain-config.js +82 -28
  99. package/dist/core/config/merge-chain-config.js.map +1 -1
  100. package/dist/index.d.ts +293 -37
  101. package/dist/index.d.ts.map +1 -1
  102. package/dist/index.js +495 -288
  103. package/dist/inventory/index.d.ts +5 -0
  104. package/dist/inventory/index.d.ts.map +1 -0
  105. package/dist/inventory/resolve-inventory.d.ts +25 -0
  106. package/dist/inventory/resolve-inventory.d.ts.map +1 -0
  107. package/dist/inventory/resolve-inventory.js +18 -0
  108. package/dist/inventory/resolve-inventory.js.map +1 -0
  109. package/dist/inventory/tvl/get-inventory-tvl.d.ts +45 -0
  110. package/dist/inventory/tvl/get-inventory-tvl.d.ts.map +1 -0
  111. package/dist/inventory/tvl/get-inventory-tvl.js +27 -0
  112. package/dist/inventory/tvl/get-inventory-tvl.js.map +1 -0
  113. package/dist/inventory/tvl/index.d.ts +3 -0
  114. package/dist/inventory/tvl/index.d.ts.map +1 -0
  115. package/dist/inventory/tvl/query.d.ts +36 -0
  116. package/dist/inventory/tvl/query.d.ts.map +1 -0
  117. package/dist/inventory/tvl/query.js +21 -0
  118. package/dist/inventory/tvl/query.js.map +1 -0
  119. package/dist/inventory/tvl-history/get-inventory-tvl-history.d.ts +44 -0
  120. package/dist/inventory/tvl-history/get-inventory-tvl-history.d.ts.map +1 -0
  121. package/dist/inventory/tvl-history/get-inventory-tvl-history.js +21 -0
  122. package/dist/inventory/tvl-history/get-inventory-tvl-history.js.map +1 -0
  123. package/dist/inventory/tvl-history/index.d.ts +4 -0
  124. package/dist/inventory/tvl-history/index.d.ts.map +1 -0
  125. package/dist/inventory/tvl-history/query.d.ts +36 -0
  126. package/dist/inventory/tvl-history/query.d.ts.map +1 -0
  127. package/dist/inventory/tvl-history/query.js +24 -0
  128. package/dist/inventory/tvl-history/query.js.map +1 -0
  129. package/dist/inventory/tvl-history/to-inventory-tvl-point.d.ts +16 -0
  130. package/dist/inventory/tvl-history/to-inventory-tvl-point.d.ts.map +1 -0
  131. package/dist/inventory/tvl-history/to-inventory-tvl-point.js +12 -0
  132. package/dist/inventory/tvl-history/to-inventory-tvl-point.js.map +1 -0
  133. package/dist/inventory/types/generated/inventory-service.d.ts +769 -0
  134. package/dist/inventory/types/generated/inventory-service.d.ts.map +1 -0
  135. package/dist/inventory/types/generated/inventory-service.js +7 -0
  136. package/dist/inventory/types/generated/inventory-service.js.map +1 -0
  137. package/dist/inventory/types.d.ts +29 -0
  138. package/dist/inventory/types.d.ts.map +1 -0
  139. package/dist/inventory/types.js +6 -0
  140. package/dist/inventory/types.js.map +1 -0
  141. package/dist/margin/calculate-margin-risk.d.ts +108 -0
  142. package/dist/margin/calculate-margin-risk.d.ts.map +1 -0
  143. package/dist/margin/calculate-margin-risk.js +18 -0
  144. package/dist/margin/calculate-margin-risk.js.map +1 -0
  145. package/dist/margin/index.d.ts +2 -0
  146. package/dist/margin/index.d.ts.map +1 -0
  147. package/dist/muon/client.d.ts +29 -0
  148. package/dist/muon/client.d.ts.map +1 -1
  149. package/dist/muon/client.js +20 -6
  150. package/dist/muon/client.js.map +1 -1
  151. package/dist/muon/deallocate-upnl-sig/get-deallocate-upnl-sig.d.ts.map +1 -1
  152. package/dist/muon/deallocate-upnl-sig/get-deallocate-upnl-sig.js +10 -20
  153. package/dist/muon/deallocate-upnl-sig/get-deallocate-upnl-sig.js.map +1 -1
  154. package/dist/muon/force-close-price-sig/get-force-close-price-sig.d.ts +58 -0
  155. package/dist/muon/force-close-price-sig/get-force-close-price-sig.d.ts.map +1 -0
  156. package/dist/muon/force-close-price-sig/get-force-close-price-sig.js +34 -0
  157. package/dist/muon/force-close-price-sig/get-force-close-price-sig.js.map +1 -0
  158. package/dist/muon/force-close-price-sig/index.d.ts +3 -0
  159. package/dist/muon/force-close-price-sig/index.d.ts.map +1 -0
  160. package/dist/muon/force-close-price-sig/query.d.ts +50 -0
  161. package/dist/muon/force-close-price-sig/query.d.ts.map +1 -0
  162. package/dist/muon/force-close-price-sig/query.js +28 -0
  163. package/dist/muon/force-close-price-sig/query.js.map +1 -0
  164. package/dist/muon/index.d.ts +2 -0
  165. package/dist/muon/index.d.ts.map +1 -1
  166. package/dist/muon/party-a-overview/get-muon-party-a-overview.d.ts +1 -1
  167. package/dist/muon/party-a-overview/get-muon-party-a-overview.js.map +1 -1
  168. package/dist/muon/send-quote-upnl-sig/get-send-quote-upnl-sig.d.ts +53 -0
  169. package/dist/muon/send-quote-upnl-sig/get-send-quote-upnl-sig.d.ts.map +1 -0
  170. package/dist/muon/send-quote-upnl-sig/get-send-quote-upnl-sig.js +23 -0
  171. package/dist/muon/send-quote-upnl-sig/get-send-quote-upnl-sig.js.map +1 -0
  172. package/dist/muon/send-quote-upnl-sig/index.d.ts +3 -0
  173. package/dist/muon/send-quote-upnl-sig/index.d.ts.map +1 -0
  174. package/dist/muon/send-quote-upnl-sig/query.d.ts +42 -0
  175. package/dist/muon/send-quote-upnl-sig/query.d.ts.map +1 -0
  176. package/dist/muon/send-quote-upnl-sig/query.js +25 -0
  177. package/dist/muon/send-quote-upnl-sig/query.js.map +1 -0
  178. package/dist/muon/types.d.ts +2 -2
  179. package/dist/muon/types.js.map +1 -1
  180. package/dist/muon/upnl-a/get-muon-upnl-a.d.ts +1 -1
  181. package/dist/muon/upnl-a/get-muon-upnl-a.js.map +1 -1
  182. package/dist/muon/upnl-a-with-symbol-price/get-muon-upnl-a-with-symbol-price.d.ts +1 -1
  183. package/dist/muon/upnl-a-with-symbol-price/get-muon-upnl-a-with-symbol-price.js.map +1 -1
  184. package/dist/muon/upnl-b/get-muon-upnl-b.d.ts +1 -1
  185. package/dist/muon/upnl-b/get-muon-upnl-b.js.map +1 -1
  186. package/dist/muon/upnl-with-symbol-price/get-muon-upnl-with-symbol-price.d.ts +1 -1
  187. package/dist/muon/upnl-with-symbol-price/get-muon-upnl-with-symbol-price.js.map +1 -1
  188. package/dist/notifications/search/adapters/enigma-search.d.ts +14 -0
  189. package/dist/notifications/search/adapters/enigma-search.d.ts.map +1 -0
  190. package/dist/notifications/search/adapters/enigma-search.js +33 -0
  191. package/dist/notifications/search/adapters/enigma-search.js.map +1 -0
  192. package/dist/notifications/search/adapters/rasa-search.d.ts +13 -0
  193. package/dist/notifications/search/adapters/rasa-search.d.ts.map +1 -0
  194. package/dist/notifications/search/adapters/rasa-search.js +28 -0
  195. package/dist/notifications/search/adapters/rasa-search.js.map +1 -0
  196. package/dist/notifications/search/query.d.ts +4 -2
  197. package/dist/notifications/search/query.d.ts.map +1 -1
  198. package/dist/notifications/search/query.js +8 -4
  199. package/dist/notifications/search/query.js.map +1 -1
  200. package/dist/notifications/search/search-notifications.d.ts +23 -43
  201. package/dist/notifications/search/search-notifications.d.ts.map +1 -1
  202. package/dist/notifications/search/search-notifications.js +11 -22
  203. package/dist/notifications/search/search-notifications.js.map +1 -1
  204. package/dist/notifications/search/types.d.ts +80 -0
  205. package/dist/notifications/search/types.d.ts.map +1 -0
  206. package/dist/notifications/types.d.ts +1 -12
  207. package/dist/notifications/types.d.ts.map +1 -1
  208. package/dist/orderbook/aggregate.d.ts +80 -0
  209. package/dist/orderbook/aggregate.d.ts.map +1 -0
  210. package/dist/orderbook/aggregate.js +74 -0
  211. package/dist/orderbook/aggregate.js.map +1 -0
  212. package/dist/orderbook/index.d.ts +7 -0
  213. package/dist/orderbook/index.d.ts.map +1 -0
  214. package/dist/orderbook/query.d.ts +55 -0
  215. package/dist/orderbook/query.d.ts.map +1 -0
  216. package/dist/orderbook/query.js +25 -0
  217. package/dist/orderbook/query.js.map +1 -0
  218. package/dist/orderbook/sources/binance/constants.d.ts +78 -0
  219. package/dist/orderbook/sources/binance/constants.d.ts.map +1 -0
  220. package/dist/orderbook/sources/binance/constants.js +51 -0
  221. package/dist/orderbook/sources/binance/constants.js.map +1 -0
  222. package/dist/orderbook/sources/binance/create-binance-orderbook-source.d.ts +78 -0
  223. package/dist/orderbook/sources/binance/create-binance-orderbook-source.d.ts.map +1 -0
  224. package/dist/orderbook/sources/binance/create-binance-orderbook-source.js +87 -0
  225. package/dist/orderbook/sources/binance/create-binance-orderbook-source.js.map +1 -0
  226. package/dist/orderbook/sources/binance/fetch-binance-depth.d.ts +45 -0
  227. package/dist/orderbook/sources/binance/fetch-binance-depth.d.ts.map +1 -0
  228. package/dist/orderbook/sources/binance/fetch-binance-depth.js +34 -0
  229. package/dist/orderbook/sources/binance/fetch-binance-depth.js.map +1 -0
  230. package/dist/orderbook/sources/binance/fetch-binance-symbol-filters.d.ts +39 -0
  231. package/dist/orderbook/sources/binance/fetch-binance-symbol-filters.d.ts.map +1 -0
  232. package/dist/orderbook/sources/binance/fetch-binance-symbol-filters.js +39 -0
  233. package/dist/orderbook/sources/binance/fetch-binance-symbol-filters.js.map +1 -0
  234. package/dist/orderbook/sources/binance/index.d.ts +7 -0
  235. package/dist/orderbook/sources/binance/index.d.ts.map +1 -0
  236. package/dist/orderbook/sources/binance/parse-depth.d.ts +70 -0
  237. package/dist/orderbook/sources/binance/parse-depth.d.ts.map +1 -0
  238. package/dist/orderbook/sources/binance/parse-depth.js +23 -0
  239. package/dist/orderbook/sources/binance/parse-depth.js.map +1 -0
  240. package/dist/orderbook/sources/binance/watch-binance-depth.d.ts +78 -0
  241. package/dist/orderbook/sources/binance/watch-binance-depth.d.ts.map +1 -0
  242. package/dist/orderbook/sources/binance/watch-binance-depth.js +125 -0
  243. package/dist/orderbook/sources/binance/watch-binance-depth.js.map +1 -0
  244. package/dist/orderbook/tick-size.d.ts +79 -0
  245. package/dist/orderbook/tick-size.d.ts.map +1 -0
  246. package/dist/orderbook/tick-size.js +46 -0
  247. package/dist/orderbook/tick-size.js.map +1 -0
  248. package/dist/orderbook/types.d.ts +299 -0
  249. package/dist/orderbook/types.d.ts.map +1 -0
  250. package/dist/orderbook/walk.d.ts +31 -0
  251. package/dist/orderbook/walk.d.ts.map +1 -0
  252. package/dist/orderbook/walk.js +39 -0
  253. package/dist/orderbook/walk.js.map +1 -0
  254. package/dist/pools/add-market/add-market.d.ts +74 -0
  255. package/dist/pools/add-market/add-market.d.ts.map +1 -0
  256. package/dist/pools/add-market/add-market.js +25 -0
  257. package/dist/pools/add-market/add-market.js.map +1 -0
  258. package/dist/pools/add-market/index.d.ts +6 -0
  259. package/dist/pools/add-market/index.d.ts.map +1 -0
  260. package/dist/pools/add-market/query.d.ts +27 -0
  261. package/dist/pools/add-market/query.d.ts.map +1 -0
  262. package/dist/pools/add-market/query.js +12 -0
  263. package/dist/pools/add-market/query.js.map +1 -0
  264. package/dist/pools/add-market/to-add-market-request.d.ts +16 -0
  265. package/dist/pools/add-market/to-add-market-request.d.ts.map +1 -0
  266. package/dist/pools/add-market/to-add-market-request.js +14 -0
  267. package/dist/pools/add-market/to-add-market-request.js.map +1 -0
  268. package/dist/pools/add-market/to-created-pool.d.ts +16 -0
  269. package/dist/pools/add-market/to-created-pool.d.ts.map +1 -0
  270. package/dist/pools/add-market/to-created-pool.js +20 -0
  271. package/dist/pools/add-market/to-created-pool.js.map +1 -0
  272. package/dist/pools/add-market/types.d.ts +42 -0
  273. package/dist/pools/add-market/types.d.ts.map +1 -0
  274. package/dist/pools/auth/authenticate-listing.d.ts +47 -0
  275. package/dist/pools/auth/authenticate-listing.d.ts.map +1 -0
  276. package/dist/pools/auth/authenticate-listing.js +37 -0
  277. package/dist/pools/auth/authenticate-listing.js.map +1 -0
  278. package/dist/pools/auth/get-sign-in-message.d.ts +45 -0
  279. package/dist/pools/auth/get-sign-in-message.d.ts.map +1 -0
  280. package/dist/pools/auth/get-sign-in-message.js +26 -0
  281. package/dist/pools/auth/get-sign-in-message.js.map +1 -0
  282. package/dist/pools/auth/index.d.ts +6 -0
  283. package/dist/pools/auth/index.d.ts.map +1 -0
  284. package/dist/pools/auth/query.d.ts +21 -0
  285. package/dist/pools/auth/query.d.ts.map +1 -0
  286. package/dist/pools/auth/query.js +12 -0
  287. package/dist/pools/auth/query.js.map +1 -0
  288. package/dist/pools/auth/to-siwe.d.ts +27 -0
  289. package/dist/pools/auth/to-siwe.d.ts.map +1 -0
  290. package/dist/pools/auth/to-siwe.js +38 -0
  291. package/dist/pools/auth/to-siwe.js.map +1 -0
  292. package/dist/pools/auth/types.d.ts +46 -0
  293. package/dist/pools/auth/types.d.ts.map +1 -0
  294. package/dist/pools/cancel-withdraw/cancel-withdraw.d.ts +56 -0
  295. package/dist/pools/cancel-withdraw/cancel-withdraw.d.ts.map +1 -0
  296. package/dist/pools/cancel-withdraw/cancel-withdraw.js +24 -0
  297. package/dist/pools/cancel-withdraw/cancel-withdraw.js.map +1 -0
  298. package/dist/pools/cancel-withdraw/index.d.ts +4 -0
  299. package/dist/pools/cancel-withdraw/index.d.ts.map +1 -0
  300. package/dist/pools/cancel-withdraw/query.d.ts +21 -0
  301. package/dist/pools/cancel-withdraw/query.d.ts.map +1 -0
  302. package/dist/pools/cancel-withdraw/query.js +12 -0
  303. package/dist/pools/cancel-withdraw/query.js.map +1 -0
  304. package/dist/pools/cancel-withdraw/to-cancel-withdraw-result.d.ts +15 -0
  305. package/dist/pools/cancel-withdraw/to-cancel-withdraw-result.d.ts.map +1 -0
  306. package/dist/pools/cancel-withdraw/to-cancel-withdraw-result.js +11 -0
  307. package/dist/pools/cancel-withdraw/to-cancel-withdraw-result.js.map +1 -0
  308. package/dist/pools/claim/claim-profit.d.ts +78 -0
  309. package/dist/pools/claim/claim-profit.d.ts.map +1 -0
  310. package/dist/pools/claim/claim-profit.js +25 -0
  311. package/dist/pools/claim/claim-profit.js.map +1 -0
  312. package/dist/pools/claim/index.d.ts +5 -0
  313. package/dist/pools/claim/index.d.ts.map +1 -0
  314. package/dist/pools/claim/query.d.ts +27 -0
  315. package/dist/pools/claim/query.d.ts.map +1 -0
  316. package/dist/pools/claim/query.js +12 -0
  317. package/dist/pools/claim/query.js.map +1 -0
  318. package/dist/pools/claim/to-claim-request.d.ts +15 -0
  319. package/dist/pools/claim/to-claim-request.d.ts.map +1 -0
  320. package/dist/pools/claim/to-claim-request.js +13 -0
  321. package/dist/pools/claim/to-claim-request.js.map +1 -0
  322. package/dist/pools/claim/to-claim-result.d.ts +17 -0
  323. package/dist/pools/claim/to-claim-result.d.ts.map +1 -0
  324. package/dist/pools/claim/to-claim-result.js +14 -0
  325. package/dist/pools/claim/to-claim-result.js.map +1 -0
  326. package/dist/pools/claim-history/get-claim-history.d.ts +65 -0
  327. package/dist/pools/claim-history/get-claim-history.d.ts.map +1 -0
  328. package/dist/pools/claim-history/get-claim-history.js +27 -0
  329. package/dist/pools/claim-history/get-claim-history.js.map +1 -0
  330. package/dist/pools/claim-history/index.d.ts +4 -0
  331. package/dist/pools/claim-history/index.d.ts.map +1 -0
  332. package/dist/pools/claim-history/query.d.ts +40 -0
  333. package/dist/pools/claim-history/query.d.ts.map +1 -0
  334. package/dist/pools/claim-history/query.js +28 -0
  335. package/dist/pools/claim-history/query.js.map +1 -0
  336. package/dist/pools/claim-history/to-pool-claim.d.ts +23 -0
  337. package/dist/pools/claim-history/to-pool-claim.d.ts.map +1 -0
  338. package/dist/pools/claim-history/to-pool-claim.js +21 -0
  339. package/dist/pools/claim-history/to-pool-claim.js.map +1 -0
  340. package/dist/pools/deposit-address/get-deposit-address.d.ts +62 -0
  341. package/dist/pools/deposit-address/get-deposit-address.d.ts.map +1 -0
  342. package/dist/pools/deposit-address/get-deposit-address.js +27 -0
  343. package/dist/pools/deposit-address/get-deposit-address.js.map +1 -0
  344. package/dist/pools/deposit-address/index.d.ts +4 -0
  345. package/dist/pools/deposit-address/index.d.ts.map +1 -0
  346. package/dist/pools/deposit-address/query.d.ts +50 -0
  347. package/dist/pools/deposit-address/query.d.ts.map +1 -0
  348. package/dist/pools/deposit-address/query.js +26 -0
  349. package/dist/pools/deposit-address/query.js.map +1 -0
  350. package/dist/pools/deposit-address/to-market-deposit-address.d.ts +17 -0
  351. package/dist/pools/deposit-address/to-market-deposit-address.d.ts.map +1 -0
  352. package/dist/pools/deposit-address/to-market-deposit-address.js +15 -0
  353. package/dist/pools/deposit-address/to-market-deposit-address.js.map +1 -0
  354. package/dist/pools/index.d.ts +26 -0
  355. package/dist/pools/index.d.ts.map +1 -0
  356. package/dist/pools/listing-config/get-listing-config.d.ts +37 -0
  357. package/dist/pools/listing-config/get-listing-config.d.ts.map +1 -0
  358. package/dist/pools/listing-config/get-listing-config.js +21 -0
  359. package/dist/pools/listing-config/get-listing-config.js.map +1 -0
  360. package/dist/pools/listing-config/index.d.ts +4 -0
  361. package/dist/pools/listing-config/index.d.ts.map +1 -0
  362. package/dist/pools/listing-config/query.d.ts +36 -0
  363. package/dist/pools/listing-config/query.d.ts.map +1 -0
  364. package/dist/pools/listing-config/query.js +21 -0
  365. package/dist/pools/listing-config/query.js.map +1 -0
  366. package/dist/pools/listing-config/to-listing-config.d.ts +16 -0
  367. package/dist/pools/listing-config/to-listing-config.d.ts.map +1 -0
  368. package/dist/pools/listing-config/to-listing-config.js +26 -0
  369. package/dist/pools/listing-config/to-listing-config.js.map +1 -0
  370. package/dist/pools/listing-status/get-listing-status.d.ts +54 -0
  371. package/dist/pools/listing-status/get-listing-status.d.ts.map +1 -0
  372. package/dist/pools/listing-status/get-listing-status.js +24 -0
  373. package/dist/pools/listing-status/get-listing-status.js.map +1 -0
  374. package/dist/pools/listing-status/index.d.ts +4 -0
  375. package/dist/pools/listing-status/index.d.ts.map +1 -0
  376. package/dist/pools/listing-status/query.d.ts +43 -0
  377. package/dist/pools/listing-status/query.d.ts.map +1 -0
  378. package/dist/pools/listing-status/query.js +25 -0
  379. package/dist/pools/listing-status/query.js.map +1 -0
  380. package/dist/pools/listing-status/to-listing-status.d.ts +17 -0
  381. package/dist/pools/listing-status/to-listing-status.d.ts.map +1 -0
  382. package/dist/pools/listing-status/to-listing-status.js +16 -0
  383. package/dist/pools/listing-status/to-listing-status.js.map +1 -0
  384. package/dist/pools/market-config/get-listing-market-config.d.ts +72 -0
  385. package/dist/pools/market-config/get-listing-market-config.d.ts.map +1 -0
  386. package/dist/pools/market-config/get-listing-market-config.js +27 -0
  387. package/dist/pools/market-config/get-listing-market-config.js.map +1 -0
  388. package/dist/pools/market-config/index.d.ts +8 -0
  389. package/dist/pools/market-config/index.d.ts.map +1 -0
  390. package/dist/pools/market-config/project-listing-market-config.d.ts +45 -0
  391. package/dist/pools/market-config/project-listing-market-config.d.ts.map +1 -0
  392. package/dist/pools/market-config/project-listing-market-config.js +20 -0
  393. package/dist/pools/market-config/project-listing-market-config.js.map +1 -0
  394. package/dist/pools/market-config/query.d.ts +73 -0
  395. package/dist/pools/market-config/query.d.ts.map +1 -0
  396. package/dist/pools/market-config/query.js +33 -0
  397. package/dist/pools/market-config/query.js.map +1 -0
  398. package/dist/pools/market-config/to-listing-market-config.d.ts +18 -0
  399. package/dist/pools/market-config/to-listing-market-config.d.ts.map +1 -0
  400. package/dist/pools/market-config/to-listing-market-config.js +15 -0
  401. package/dist/pools/market-config/to-listing-market-config.js.map +1 -0
  402. package/dist/pools/market-config/to-update-listing-market-config-request.d.ts +20 -0
  403. package/dist/pools/market-config/to-update-listing-market-config-request.d.ts.map +1 -0
  404. package/dist/pools/market-config/to-update-listing-market-config-request.js +13 -0
  405. package/dist/pools/market-config/to-update-listing-market-config-request.js.map +1 -0
  406. package/dist/pools/market-config/types.d.ts +135 -0
  407. package/dist/pools/market-config/types.d.ts.map +1 -0
  408. package/dist/pools/market-config/types.js +15 -0
  409. package/dist/pools/market-config/types.js.map +1 -0
  410. package/dist/pools/market-config/update-listing-market-config.d.ts +103 -0
  411. package/dist/pools/market-config/update-listing-market-config.d.ts.map +1 -0
  412. package/dist/pools/market-config/update-listing-market-config.js +32 -0
  413. package/dist/pools/market-config/update-listing-market-config.js.map +1 -0
  414. package/dist/pools/market-detail/get-listing-market-detail.d.ts +51 -0
  415. package/dist/pools/market-detail/get-listing-market-detail.d.ts.map +1 -0
  416. package/dist/pools/market-detail/get-listing-market-detail.js +24 -0
  417. package/dist/pools/market-detail/get-listing-market-detail.js.map +1 -0
  418. package/dist/pools/market-detail/index.d.ts +5 -0
  419. package/dist/pools/market-detail/index.d.ts.map +1 -0
  420. package/dist/pools/market-detail/query.d.ts +31 -0
  421. package/dist/pools/market-detail/query.d.ts.map +1 -0
  422. package/dist/pools/market-detail/query.js +25 -0
  423. package/dist/pools/market-detail/query.js.map +1 -0
  424. package/dist/pools/market-detail/to-listing-market-detail.d.ts +11 -0
  425. package/dist/pools/market-detail/to-listing-market-detail.d.ts.map +1 -0
  426. package/dist/pools/market-detail/to-listing-market-detail.js +57 -0
  427. package/dist/pools/market-detail/to-listing-market-detail.js.map +1 -0
  428. package/dist/pools/market-detail/to-pool-positions.d.ts +23 -0
  429. package/dist/pools/market-detail/to-pool-positions.d.ts.map +1 -0
  430. package/dist/pools/market-detail/to-pool-positions.js +8 -0
  431. package/dist/pools/market-detail/to-pool-positions.js.map +1 -0
  432. package/dist/pools/markets/get-listing-markets.d.ts +65 -0
  433. package/dist/pools/markets/get-listing-markets.d.ts.map +1 -0
  434. package/dist/pools/markets/get-listing-markets.js +34 -0
  435. package/dist/pools/markets/get-listing-markets.js.map +1 -0
  436. package/dist/pools/markets/index.d.ts +5 -0
  437. package/dist/pools/markets/index.d.ts.map +1 -0
  438. package/dist/pools/markets/query.d.ts +36 -0
  439. package/dist/pools/markets/query.d.ts.map +1 -0
  440. package/dist/pools/markets/query.js +31 -0
  441. package/dist/pools/markets/query.js.map +1 -0
  442. package/dist/pools/markets/to-listing-market.d.ts +65 -0
  443. package/dist/pools/markets/to-listing-market.d.ts.map +1 -0
  444. package/dist/pools/markets/to-listing-market.js +76 -0
  445. package/dist/pools/markets/to-listing-market.js.map +1 -0
  446. package/dist/pools/markets/to-search-params.d.ts +36 -0
  447. package/dist/pools/markets/to-search-params.d.ts.map +1 -0
  448. package/dist/pools/markets/to-search-params.js +42 -0
  449. package/dist/pools/markets/to-search-params.js.map +1 -0
  450. package/dist/pools/profit/get-user-profit.d.ts +54 -0
  451. package/dist/pools/profit/get-user-profit.d.ts.map +1 -0
  452. package/dist/pools/profit/get-user-profit.js +24 -0
  453. package/dist/pools/profit/get-user-profit.js.map +1 -0
  454. package/dist/pools/profit/index.d.ts +4 -0
  455. package/dist/pools/profit/index.d.ts.map +1 -0
  456. package/dist/pools/profit/query.d.ts +41 -0
  457. package/dist/pools/profit/query.d.ts.map +1 -0
  458. package/dist/pools/profit/query.js +25 -0
  459. package/dist/pools/profit/query.js.map +1 -0
  460. package/dist/pools/profit/to-user-pool-profit.d.ts +27 -0
  461. package/dist/pools/profit/to-user-pool-profit.d.ts.map +1 -0
  462. package/dist/pools/profit/to-user-pool-profit.js +19 -0
  463. package/dist/pools/profit/to-user-pool-profit.js.map +1 -0
  464. package/dist/pools/quotes/get-pool-quotes.d.ts +72 -0
  465. package/dist/pools/quotes/get-pool-quotes.d.ts.map +1 -0
  466. package/dist/pools/quotes/get-pool-quotes.js +25 -0
  467. package/dist/pools/quotes/get-pool-quotes.js.map +1 -0
  468. package/dist/pools/quotes/index.d.ts +4 -0
  469. package/dist/pools/quotes/index.d.ts.map +1 -0
  470. package/dist/pools/quotes/query-document.d.ts +20 -0
  471. package/dist/pools/quotes/query-document.d.ts.map +1 -0
  472. package/dist/pools/quotes/query-document.js +7 -0
  473. package/dist/pools/quotes/query-document.js.map +1 -0
  474. package/dist/pools/quotes/query.d.ts +34 -0
  475. package/dist/pools/quotes/query.d.ts.map +1 -0
  476. package/dist/pools/quotes/query.js +28 -0
  477. package/dist/pools/quotes/query.js.map +1 -0
  478. package/dist/pools/quotes/to-pool-quote.d.ts +16 -0
  479. package/dist/pools/quotes/to-pool-quote.d.ts.map +1 -0
  480. package/dist/pools/quotes/to-pool-quote.js +42 -0
  481. package/dist/pools/quotes/to-pool-quote.js.map +1 -0
  482. package/dist/pools/refund/index.d.ts +5 -0
  483. package/dist/pools/refund/index.d.ts.map +1 -0
  484. package/dist/pools/refund/query.d.ts +25 -0
  485. package/dist/pools/refund/query.d.ts.map +1 -0
  486. package/dist/pools/refund/query.js +12 -0
  487. package/dist/pools/refund/query.js.map +1 -0
  488. package/dist/pools/refund/refund-market.d.ts +67 -0
  489. package/dist/pools/refund/refund-market.d.ts.map +1 -0
  490. package/dist/pools/refund/refund-market.js +25 -0
  491. package/dist/pools/refund/refund-market.js.map +1 -0
  492. package/dist/pools/refund/to-refund-request.d.ts +13 -0
  493. package/dist/pools/refund/to-refund-request.d.ts.map +1 -0
  494. package/dist/pools/refund/to-refund-request.js +12 -0
  495. package/dist/pools/refund/to-refund-request.js.map +1 -0
  496. package/dist/pools/refund/to-refund-result.d.ts +10 -0
  497. package/dist/pools/refund/to-refund-result.d.ts.map +1 -0
  498. package/dist/pools/refund/to-refund-result.js +8 -0
  499. package/dist/pools/refund/to-refund-result.js.map +1 -0
  500. package/dist/pools/resolve-listing.d.ts +46 -0
  501. package/dist/pools/resolve-listing.d.ts.map +1 -0
  502. package/dist/pools/resolve-listing.js +18 -0
  503. package/dist/pools/resolve-listing.js.map +1 -0
  504. package/dist/pools/resolve-pool-source.d.ts +18 -0
  505. package/dist/pools/resolve-pool-source.d.ts.map +1 -0
  506. package/dist/pools/resolve-pool-source.js +8 -0
  507. package/dist/pools/resolve-pool-source.js.map +1 -0
  508. package/dist/pools/retry-listing/get-retry-listing-info.d.ts +51 -0
  509. package/dist/pools/retry-listing/get-retry-listing-info.d.ts.map +1 -0
  510. package/dist/pools/retry-listing/get-retry-listing-info.js +27 -0
  511. package/dist/pools/retry-listing/get-retry-listing-info.js.map +1 -0
  512. package/dist/pools/retry-listing/index.d.ts +6 -0
  513. package/dist/pools/retry-listing/index.d.ts.map +1 -0
  514. package/dist/pools/retry-listing/query.d.ts +44 -0
  515. package/dist/pools/retry-listing/query.d.ts.map +1 -0
  516. package/dist/pools/retry-listing/query.js +33 -0
  517. package/dist/pools/retry-listing/query.js.map +1 -0
  518. package/dist/pools/retry-listing/retry-listing.d.ts +52 -0
  519. package/dist/pools/retry-listing/retry-listing.d.ts.map +1 -0
  520. package/dist/pools/retry-listing/retry-listing.js +27 -0
  521. package/dist/pools/retry-listing/retry-listing.js.map +1 -0
  522. package/dist/pools/retry-listing/to-retry-listing-info.d.ts +14 -0
  523. package/dist/pools/retry-listing/to-retry-listing-info.d.ts.map +1 -0
  524. package/dist/pools/retry-listing/to-retry-listing-info.js +12 -0
  525. package/dist/pools/retry-listing/to-retry-listing-info.js.map +1 -0
  526. package/dist/pools/retry-listing/to-retry-listing-result.d.ts +11 -0
  527. package/dist/pools/retry-listing/to-retry-listing-result.d.ts.map +1 -0
  528. package/dist/pools/retry-listing/to-retry-listing-result.js +12 -0
  529. package/dist/pools/retry-listing/to-retry-listing-result.js.map +1 -0
  530. package/dist/pools/rewards/get-pool-reward-chart.d.ts +49 -0
  531. package/dist/pools/rewards/get-pool-reward-chart.d.ts.map +1 -0
  532. package/dist/pools/rewards/get-pool-reward-chart.js +24 -0
  533. package/dist/pools/rewards/get-pool-reward-chart.js.map +1 -0
  534. package/dist/pools/rewards/get-pool-total-reward.d.ts +48 -0
  535. package/dist/pools/rewards/get-pool-total-reward.d.ts.map +1 -0
  536. package/dist/pools/rewards/get-pool-total-reward.js +25 -0
  537. package/dist/pools/rewards/get-pool-total-reward.js.map +1 -0
  538. package/dist/pools/rewards/get-user-reward-chart.d.ts +48 -0
  539. package/dist/pools/rewards/get-user-reward-chart.d.ts.map +1 -0
  540. package/dist/pools/rewards/get-user-reward-chart.js +24 -0
  541. package/dist/pools/rewards/get-user-reward-chart.js.map +1 -0
  542. package/dist/pools/rewards/get-user-total-reward.d.ts +54 -0
  543. package/dist/pools/rewards/get-user-total-reward.d.ts.map +1 -0
  544. package/dist/pools/rewards/get-user-total-reward.js +27 -0
  545. package/dist/pools/rewards/get-user-total-reward.js.map +1 -0
  546. package/dist/pools/rewards/index.d.ts +7 -0
  547. package/dist/pools/rewards/index.d.ts.map +1 -0
  548. package/dist/pools/rewards/query.d.ts +150 -0
  549. package/dist/pools/rewards/query.d.ts.map +1 -0
  550. package/dist/pools/rewards/query.js +83 -0
  551. package/dist/pools/rewards/query.js.map +1 -0
  552. package/dist/pools/rewards/to-pool-reward-point.d.ts +28 -0
  553. package/dist/pools/rewards/to-pool-reward-point.d.ts.map +1 -0
  554. package/dist/pools/rewards/to-pool-reward-point.js +19 -0
  555. package/dist/pools/rewards/to-pool-reward-point.js.map +1 -0
  556. package/dist/pools/trade-history/get-pool-trade-history.d.ts +52 -0
  557. package/dist/pools/trade-history/get-pool-trade-history.d.ts.map +1 -0
  558. package/dist/pools/trade-history/get-pool-trade-history.js +27 -0
  559. package/dist/pools/trade-history/get-pool-trade-history.js.map +1 -0
  560. package/dist/pools/trade-history/index.d.ts +3 -0
  561. package/dist/pools/trade-history/index.d.ts.map +1 -0
  562. package/dist/pools/trade-history/query-document.d.ts +20 -0
  563. package/dist/pools/trade-history/query-document.d.ts.map +1 -0
  564. package/dist/pools/trade-history/query-document.js +7 -0
  565. package/dist/pools/trade-history/query-document.js.map +1 -0
  566. package/dist/pools/trade-history/query.d.ts +34 -0
  567. package/dist/pools/trade-history/query.d.ts.map +1 -0
  568. package/dist/pools/trade-history/query.js +28 -0
  569. package/dist/pools/trade-history/query.js.map +1 -0
  570. package/dist/pools/transactions/get-pool-transactions.d.ts +47 -0
  571. package/dist/pools/transactions/get-pool-transactions.d.ts.map +1 -0
  572. package/dist/pools/transactions/get-pool-transactions.js +24 -0
  573. package/dist/pools/transactions/get-pool-transactions.js.map +1 -0
  574. package/dist/pools/transactions/index.d.ts +4 -0
  575. package/dist/pools/transactions/index.d.ts.map +1 -0
  576. package/dist/pools/transactions/query.d.ts +31 -0
  577. package/dist/pools/transactions/query.d.ts.map +1 -0
  578. package/dist/pools/transactions/query.js +27 -0
  579. package/dist/pools/transactions/query.js.map +1 -0
  580. package/dist/pools/transactions/to-pool-transaction.d.ts +18 -0
  581. package/dist/pools/transactions/to-pool-transaction.d.ts.map +1 -0
  582. package/dist/pools/transactions/to-pool-transaction.js +29 -0
  583. package/dist/pools/transactions/to-pool-transaction.js.map +1 -0
  584. package/dist/pools/types/generated/listing-backend.d.ts +1319 -0
  585. package/dist/pools/types/generated/listing-backend.d.ts.map +1 -0
  586. package/dist/pools/types/generated/listing-backend.js +85 -0
  587. package/dist/pools/types/generated/listing-backend.js.map +1 -0
  588. package/dist/pools/types.d.ts +789 -0
  589. package/dist/pools/types.d.ts.map +1 -0
  590. package/dist/pools/types.js +16 -0
  591. package/dist/pools/types.js.map +1 -0
  592. package/dist/pools/user-markets/get-user-listing-markets.d.ts +74 -0
  593. package/dist/pools/user-markets/get-user-listing-markets.d.ts.map +1 -0
  594. package/dist/pools/user-markets/get-user-listing-markets.js +35 -0
  595. package/dist/pools/user-markets/get-user-listing-markets.js.map +1 -0
  596. package/dist/pools/user-markets/index.d.ts +4 -0
  597. package/dist/pools/user-markets/index.d.ts.map +1 -0
  598. package/dist/pools/user-markets/query.d.ts +41 -0
  599. package/dist/pools/user-markets/query.d.ts.map +1 -0
  600. package/dist/pools/user-markets/query.js +32 -0
  601. package/dist/pools/user-markets/query.js.map +1 -0
  602. package/dist/pools/user-markets/to-user-listing-market.d.ts +32 -0
  603. package/dist/pools/user-markets/to-user-listing-market.d.ts.map +1 -0
  604. package/dist/pools/user-markets/to-user-listing-market.js +22 -0
  605. package/dist/pools/user-markets/to-user-listing-market.js.map +1 -0
  606. package/dist/pools/user-transactions/get-user-transactions.d.ts +59 -0
  607. package/dist/pools/user-transactions/get-user-transactions.d.ts.map +1 -0
  608. package/dist/pools/user-transactions/get-user-transactions.js +28 -0
  609. package/dist/pools/user-transactions/get-user-transactions.js.map +1 -0
  610. package/dist/pools/user-transactions/index.d.ts +4 -0
  611. package/dist/pools/user-transactions/index.d.ts.map +1 -0
  612. package/dist/pools/user-transactions/query.d.ts +40 -0
  613. package/dist/pools/user-transactions/query.d.ts.map +1 -0
  614. package/dist/pools/user-transactions/query.js +29 -0
  615. package/dist/pools/user-transactions/query.js.map +1 -0
  616. package/dist/pools/user-transactions/to-user-transaction.d.ts +25 -0
  617. package/dist/pools/user-transactions/to-user-transaction.d.ts.map +1 -0
  618. package/dist/pools/user-transactions/to-user-transaction.js +29 -0
  619. package/dist/pools/user-transactions/to-user-transaction.js.map +1 -0
  620. package/dist/pools/weekly-limit/get-weekly-listing-limit.d.ts +36 -0
  621. package/dist/pools/weekly-limit/get-weekly-listing-limit.d.ts.map +1 -0
  622. package/dist/pools/weekly-limit/get-weekly-listing-limit.js +21 -0
  623. package/dist/pools/weekly-limit/get-weekly-listing-limit.js.map +1 -0
  624. package/dist/pools/weekly-limit/index.d.ts +4 -0
  625. package/dist/pools/weekly-limit/index.d.ts.map +1 -0
  626. package/dist/pools/weekly-limit/query.d.ts +36 -0
  627. package/dist/pools/weekly-limit/query.d.ts.map +1 -0
  628. package/dist/pools/weekly-limit/query.js +21 -0
  629. package/dist/pools/weekly-limit/query.js.map +1 -0
  630. package/dist/pools/weekly-limit/to-weekly-limit.d.ts +14 -0
  631. package/dist/pools/weekly-limit/to-weekly-limit.d.ts.map +1 -0
  632. package/dist/pools/weekly-limit/to-weekly-limit.js +12 -0
  633. package/dist/pools/weekly-limit/to-weekly-limit.js.map +1 -0
  634. package/dist/pools/withdraw/index.d.ts +4 -0
  635. package/dist/pools/withdraw/index.d.ts.map +1 -0
  636. package/dist/pools/withdraw/query.d.ts +26 -0
  637. package/dist/pools/withdraw/query.d.ts.map +1 -0
  638. package/dist/pools/withdraw/query.js +12 -0
  639. package/dist/pools/withdraw/query.js.map +1 -0
  640. package/dist/pools/withdraw/to-withdraw-request.d.ts +16 -0
  641. package/dist/pools/withdraw/to-withdraw-request.d.ts.map +1 -0
  642. package/dist/pools/withdraw/to-withdraw-request.js +13 -0
  643. package/dist/pools/withdraw/to-withdraw-request.js.map +1 -0
  644. package/dist/pools/withdraw/withdraw-lp.d.ts +73 -0
  645. package/dist/pools/withdraw/withdraw-lp.d.ts.map +1 -0
  646. package/dist/pools/withdraw/withdraw-lp.js +24 -0
  647. package/dist/pools/withdraw/withdraw-lp.js.map +1 -0
  648. package/dist/price-service/adapters/binance-mark-prices.d.ts +41 -0
  649. package/dist/price-service/adapters/binance-mark-prices.d.ts.map +1 -0
  650. package/dist/price-service/adapters/binance-mark-prices.js +38 -0
  651. package/dist/price-service/adapters/binance-mark-prices.js.map +1 -0
  652. package/dist/price-service/adapters/enigma-mark-prices.d.ts +44 -0
  653. package/dist/price-service/adapters/enigma-mark-prices.d.ts.map +1 -0
  654. package/dist/price-service/adapters/enigma-mark-prices.js +25 -0
  655. package/dist/price-service/adapters/enigma-mark-prices.js.map +1 -0
  656. package/dist/price-service/adapters/index.d.ts +8 -0
  657. package/dist/price-service/adapters/index.d.ts.map +1 -0
  658. package/dist/price-service/assert-price-service-provider.d.ts +19 -0
  659. package/dist/price-service/assert-price-service-provider.d.ts.map +1 -0
  660. package/dist/price-service/assert-price-service-provider.js +9 -0
  661. package/dist/price-service/assert-price-service-provider.js.map +1 -0
  662. package/dist/price-service/binance/client.d.ts +37 -0
  663. package/dist/price-service/binance/client.d.ts.map +1 -0
  664. package/dist/price-service/binance/client.js +30 -0
  665. package/dist/price-service/binance/client.js.map +1 -0
  666. package/dist/price-service/binance/health/get-binance-health.d.ts +25 -0
  667. package/dist/price-service/binance/health/get-binance-health.d.ts.map +1 -0
  668. package/dist/price-service/binance/health/get-binance-health.js +24 -0
  669. package/dist/price-service/binance/health/get-binance-health.js.map +1 -0
  670. package/dist/price-service/binance/health/index.d.ts +3 -0
  671. package/dist/price-service/binance/health/index.d.ts.map +1 -0
  672. package/dist/price-service/binance/health/query.d.ts +17 -0
  673. package/dist/price-service/binance/health/query.d.ts.map +1 -0
  674. package/dist/price-service/binance/health/query.js +24 -0
  675. package/dist/price-service/binance/health/query.js.map +1 -0
  676. package/dist/price-service/binance/index.d.ts +5 -0
  677. package/dist/price-service/binance/index.d.ts.map +1 -0
  678. package/dist/price-service/binance/premium-index/get-binance-premium-index.d.ts +39 -0
  679. package/dist/price-service/binance/premium-index/get-binance-premium-index.d.ts.map +1 -0
  680. package/dist/price-service/binance/premium-index/get-binance-premium-index.js +25 -0
  681. package/dist/price-service/binance/premium-index/get-binance-premium-index.js.map +1 -0
  682. package/dist/price-service/binance/premium-index/index.d.ts +3 -0
  683. package/dist/price-service/binance/premium-index/index.d.ts.map +1 -0
  684. package/dist/price-service/binance/premium-index/query.d.ts +28 -0
  685. package/dist/price-service/binance/premium-index/query.d.ts.map +1 -0
  686. package/dist/price-service/binance/premium-index/query.js +25 -0
  687. package/dist/price-service/binance/premium-index/query.js.map +1 -0
  688. package/dist/price-service/binance/symbols-info/get-binance-symbols-info.d.ts +29 -0
  689. package/dist/price-service/binance/symbols-info/get-binance-symbols-info.d.ts.map +1 -0
  690. package/dist/price-service/binance/symbols-info/get-binance-symbols-info.js +25 -0
  691. package/dist/price-service/binance/symbols-info/get-binance-symbols-info.js.map +1 -0
  692. package/dist/price-service/binance/symbols-info/index.d.ts +3 -0
  693. package/dist/price-service/binance/symbols-info/index.d.ts.map +1 -0
  694. package/dist/price-service/binance/symbols-info/query.d.ts +17 -0
  695. package/dist/price-service/binance/symbols-info/query.d.ts.map +1 -0
  696. package/dist/price-service/binance/symbols-info/query.js +26 -0
  697. package/dist/price-service/binance/symbols-info/query.js.map +1 -0
  698. package/dist/price-service/binance/types.d.ts +104 -0
  699. package/dist/price-service/binance/types.d.ts.map +1 -0
  700. package/dist/price-service/enigma/types/generated/enigma-price-service.js +4 -4
  701. package/dist/price-service/enigma/types/generated/enigma-price-service.js.map +1 -1
  702. package/dist/price-service/get-mark-prices/get-mark-prices.d.ts +45 -0
  703. package/dist/price-service/get-mark-prices/get-mark-prices.d.ts.map +1 -0
  704. package/dist/price-service/get-mark-prices/get-mark-prices.js +37 -0
  705. package/dist/price-service/get-mark-prices/get-mark-prices.js.map +1 -0
  706. package/dist/price-service/get-mark-prices/index.d.ts +3 -0
  707. package/dist/price-service/get-mark-prices/index.d.ts.map +1 -0
  708. package/dist/price-service/get-mark-prices/query.d.ts +36 -0
  709. package/dist/price-service/get-mark-prices/query.d.ts.map +1 -0
  710. package/dist/price-service/get-mark-prices/query.js +25 -0
  711. package/dist/price-service/get-mark-prices/query.js.map +1 -0
  712. package/dist/price-service/index.d.ts +11 -0
  713. package/dist/price-service/index.d.ts.map +1 -1
  714. package/dist/price-service/resolve-price-service.d.ts +33 -0
  715. package/dist/price-service/resolve-price-service.d.ts.map +1 -0
  716. package/dist/price-service/resolve-price-service.js +18 -0
  717. package/dist/price-service/resolve-price-service.js.map +1 -0
  718. package/dist/price-service/types.d.ts +87 -0
  719. package/dist/price-service/types.d.ts.map +1 -0
  720. package/dist/quotes/apply-notification.d.ts +57 -0
  721. package/dist/quotes/apply-notification.d.ts.map +1 -1
  722. package/dist/quotes/apply-notification.js +39 -22
  723. package/dist/quotes/apply-notification.js.map +1 -1
  724. package/dist/quotes/close-planning/index.d.ts +5 -0
  725. package/dist/quotes/close-planning/index.d.ts.map +1 -0
  726. package/dist/quotes/close-planning/min-remaining-quantity.d.ts +26 -0
  727. package/dist/quotes/close-planning/min-remaining-quantity.d.ts.map +1 -0
  728. package/dist/quotes/close-planning/min-remaining-quantity.js +12 -0
  729. package/dist/quotes/close-planning/min-remaining-quantity.js.map +1 -0
  730. package/dist/quotes/close-planning/plan-group-close/index.d.ts +2 -0
  731. package/dist/quotes/close-planning/plan-group-close/index.d.ts.map +1 -0
  732. package/dist/quotes/close-planning/plan-group-close/plan-group-close.d.ts +32 -0
  733. package/dist/quotes/close-planning/plan-group-close/plan-group-close.d.ts.map +1 -0
  734. package/dist/quotes/close-planning/plan-group-close/plan-group-close.js +60 -0
  735. package/dist/quotes/close-planning/plan-group-close/plan-group-close.js.map +1 -0
  736. package/dist/quotes/close-planning/to-close-candidates.d.ts +17 -0
  737. package/dist/quotes/close-planning/to-close-candidates.d.ts.map +1 -0
  738. package/dist/quotes/close-planning/to-close-candidates.js +16 -0
  739. package/dist/quotes/close-planning/to-close-candidates.js.map +1 -0
  740. package/dist/quotes/close-planning/types.d.ts +52 -0
  741. package/dist/quotes/close-planning/types.d.ts.map +1 -0
  742. package/dist/quotes/get-quote-events-by-type/types.d.ts +10 -0
  743. package/dist/quotes/get-quote-events-by-type/types.d.ts.map +1 -1
  744. package/dist/quotes/get-quote-events-by-type/types.js +2 -2
  745. package/dist/quotes/get-quote-events-by-type/types.js.map +1 -1
  746. package/dist/quotes/get-quote-funding/get-quote-funding.d.ts +26 -4
  747. package/dist/quotes/get-quote-funding/get-quote-funding.d.ts.map +1 -1
  748. package/dist/quotes/get-quote-funding/get-quote-funding.js +19 -10
  749. package/dist/quotes/get-quote-funding/get-quote-funding.js.map +1 -1
  750. package/dist/quotes/get-quote-funding/query-document.d.ts +1 -0
  751. package/dist/quotes/get-quote-funding/query-document.d.ts.map +1 -1
  752. package/dist/quotes/get-quote-funding/query-document.js +1 -1
  753. package/dist/quotes/get-quote-funding/query-document.js.map +1 -1
  754. package/dist/quotes/get-quote-funding/query.d.ts +2 -2
  755. package/dist/quotes/get-quote-funding/query.d.ts.map +1 -1
  756. package/dist/quotes/get-quote-funding/query.js +12 -11
  757. package/dist/quotes/get-quote-funding/query.js.map +1 -1
  758. package/dist/quotes/get-quote-funding/to-funding-row.d.ts +3 -2
  759. package/dist/quotes/get-quote-funding/to-funding-row.d.ts.map +1 -1
  760. package/dist/quotes/get-quote-funding/to-funding-row.js +1 -1
  761. package/dist/quotes/get-quote-funding/to-funding-row.js.map +1 -1
  762. package/dist/quotes/get-quote-funding/types.d.ts +9 -5
  763. package/dist/quotes/get-quote-funding/types.d.ts.map +1 -1
  764. package/dist/quotes/get-quote-history/get-quote-history.d.ts +11 -3
  765. package/dist/quotes/get-quote-history/get-quote-history.d.ts.map +1 -1
  766. package/dist/quotes/get-quote-history/get-quote-history.js +23 -18
  767. package/dist/quotes/get-quote-history/get-quote-history.js.map +1 -1
  768. package/dist/quotes/get-quote-history/query-document.d.ts +1 -1
  769. package/dist/quotes/get-quote-history/query-document.js.map +1 -1
  770. package/dist/quotes/get-quote-history/query.d.ts.map +1 -1
  771. package/dist/quotes/get-quote-history/query.js +1 -0
  772. package/dist/quotes/get-quote-history/query.js.map +1 -1
  773. package/dist/quotes/get-quote-history/to-history-row.js.map +1 -1
  774. package/dist/quotes/get-quote-history/types.d.ts +2 -2
  775. package/dist/quotes/get-quote-history/types.js.map +1 -1
  776. package/dist/quotes/get-quotes-events-by-type/get-quotes-events-by-type.d.ts +76 -0
  777. package/dist/quotes/get-quotes-events-by-type/get-quotes-events-by-type.d.ts.map +1 -0
  778. package/dist/quotes/get-quotes-events-by-type/get-quotes-events-by-type.js +31 -0
  779. package/dist/quotes/get-quotes-events-by-type/get-quotes-events-by-type.js.map +1 -0
  780. package/dist/quotes/get-quotes-events-by-type/index.d.ts +3 -0
  781. package/dist/quotes/get-quotes-events-by-type/index.d.ts.map +1 -0
  782. package/dist/quotes/get-quotes-events-by-type/query-document.d.ts +20 -0
  783. package/dist/quotes/get-quotes-events-by-type/query-document.d.ts.map +1 -0
  784. package/dist/quotes/get-quotes-events-by-type/query-document.js +7 -0
  785. package/dist/quotes/get-quotes-events-by-type/query-document.js.map +1 -0
  786. package/dist/quotes/get-quotes-events-by-type/query.d.ts +46 -0
  787. package/dist/quotes/get-quotes-events-by-type/query.d.ts.map +1 -0
  788. package/dist/quotes/get-quotes-events-by-type/query.js +33 -0
  789. package/dist/quotes/get-quotes-events-by-type/query.js.map +1 -0
  790. package/dist/quotes/get-sub-account-quotes/get-sub-account-quotes.d.ts +2 -2
  791. package/dist/quotes/get-sub-account-quotes/get-sub-account-quotes.d.ts.map +1 -1
  792. package/dist/quotes/get-sub-account-quotes/get-sub-account-quotes.js +22 -20
  793. package/dist/quotes/get-sub-account-quotes/get-sub-account-quotes.js.map +1 -1
  794. package/dist/quotes/get-sub-account-quotes/query.d.ts.map +1 -1
  795. package/dist/quotes/get-sub-account-quotes/query.js +1 -0
  796. package/dist/quotes/get-sub-account-quotes/query.js.map +1 -1
  797. package/dist/quotes/grouping/aggregate-group-funding.d.ts +109 -0
  798. package/dist/quotes/grouping/aggregate-group-funding.d.ts.map +1 -0
  799. package/dist/quotes/grouping/aggregate-group-funding.js +29 -0
  800. package/dist/quotes/grouping/aggregate-group-funding.js.map +1 -0
  801. package/dist/quotes/grouping/aggregate-group-upnl.d.ts +143 -0
  802. package/dist/quotes/grouping/aggregate-group-upnl.d.ts.map +1 -0
  803. package/dist/quotes/grouping/aggregate-group-upnl.js +38 -0
  804. package/dist/quotes/grouping/aggregate-group-upnl.js.map +1 -0
  805. package/dist/quotes/grouping/aggregate-metrics.d.ts +8 -5
  806. package/dist/quotes/grouping/aggregate-metrics.d.ts.map +1 -1
  807. package/dist/quotes/grouping/aggregate-metrics.js +26 -24
  808. package/dist/quotes/grouping/aggregate-metrics.js.map +1 -1
  809. package/dist/quotes/grouping/group-quotes.d.ts +10 -1
  810. package/dist/quotes/grouping/group-quotes.d.ts.map +1 -1
  811. package/dist/quotes/grouping/group-quotes.js.map +1 -1
  812. package/dist/quotes/grouping/group-strategy.d.ts +86 -7
  813. package/dist/quotes/grouping/group-strategy.d.ts.map +1 -1
  814. package/dist/quotes/grouping/group-strategy.js +21 -16
  815. package/dist/quotes/grouping/group-strategy.js.map +1 -1
  816. package/dist/quotes/grouping/index.d.ts +2 -0
  817. package/dist/quotes/grouping/index.d.ts.map +1 -1
  818. package/dist/quotes/grouping/partition-quotes.d.ts +3 -3
  819. package/dist/quotes/grouping/partition-quotes.d.ts.map +1 -1
  820. package/dist/quotes/grouping/partition-quotes.js +1 -2
  821. package/dist/quotes/grouping/partition-quotes.js.map +1 -1
  822. package/dist/quotes/grouping/quote-group.d.ts +35 -21
  823. package/dist/quotes/grouping/quote-group.d.ts.map +1 -1
  824. package/dist/quotes/index.d.ts +4 -0
  825. package/dist/quotes/index.d.ts.map +1 -1
  826. package/dist/quotes/liquidation/calculate-liquidation-price.js +10 -10
  827. package/dist/quotes/liquidation/calculate-liquidation-price.js.map +1 -1
  828. package/dist/quotes/open-price.d.ts +51 -0
  829. package/dist/quotes/open-price.d.ts.map +1 -0
  830. package/dist/quotes/open-price.js +17 -0
  831. package/dist/quotes/open-price.js.map +1 -0
  832. package/dist/quotes/open-quantity.d.ts +6 -0
  833. package/dist/quotes/open-quantity.d.ts.map +1 -1
  834. package/dist/quotes/open-quantity.js.map +1 -1
  835. package/dist/quotes/quote-id-key-part.d.ts +19 -0
  836. package/dist/quotes/quote-id-key-part.d.ts.map +1 -0
  837. package/dist/quotes/quote-id-key-part.js +8 -0
  838. package/dist/quotes/quote-id-key-part.js.map +1 -0
  839. package/dist/quotes/reconcile-quotes.d.ts +12 -1
  840. package/dist/quotes/reconcile-quotes.d.ts.map +1 -1
  841. package/dist/quotes/reconcile-quotes.js +50 -42
  842. package/dist/quotes/reconcile-quotes.js.map +1 -1
  843. package/dist/quotes/resolve-quote-accounts.d.ts +1 -1
  844. package/dist/quotes/resolve-quote-accounts.d.ts.map +1 -1
  845. package/dist/quotes/resolve-quote-accounts.js.map +1 -1
  846. package/dist/quotes/should-accelerate.d.ts +10 -7
  847. package/dist/quotes/should-accelerate.d.ts.map +1 -1
  848. package/dist/quotes/should-accelerate.js +2 -7
  849. package/dist/quotes/should-accelerate.js.map +1 -1
  850. package/dist/quotes/to-unified-quote.d.ts +6 -4
  851. package/dist/quotes/to-unified-quote.d.ts.map +1 -1
  852. package/dist/quotes/to-unified-quote.js +1 -3
  853. package/dist/quotes/to-unified-quote.js.map +1 -1
  854. package/dist/quotes/unified-quote.d.ts +26 -11
  855. package/dist/quotes/unified-quote.d.ts.map +1 -1
  856. package/dist/quotes/unified-quote.js +1 -1
  857. package/dist/quotes/unified-quote.js.map +1 -1
  858. package/dist/quotes/upnl/calculate-quote-leverage.d.ts +8 -2
  859. package/dist/quotes/upnl/calculate-quote-leverage.d.ts.map +1 -1
  860. package/dist/quotes/upnl/calculate-quote-leverage.js +9 -8
  861. package/dist/quotes/upnl/calculate-quote-leverage.js.map +1 -1
  862. package/dist/quotes/upnl/calculate-quote-upnl-wei.d.ts +39 -0
  863. package/dist/quotes/upnl/calculate-quote-upnl-wei.d.ts.map +1 -0
  864. package/dist/quotes/upnl/calculate-quote-upnl-wei.js +11 -0
  865. package/dist/quotes/upnl/calculate-quote-upnl-wei.js.map +1 -0
  866. package/dist/quotes/upnl/index.d.ts +1 -0
  867. package/dist/quotes/upnl/index.d.ts.map +1 -1
  868. package/dist/shared/types/properties.d.ts +17 -1
  869. package/dist/shared/types/properties.d.ts.map +1 -1
  870. package/dist/shared/utils/percent.d.ts +17 -0
  871. package/dist/shared/utils/percent.d.ts.map +1 -0
  872. package/dist/shared/utils/percent.js +9 -0
  873. package/dist/shared/utils/percent.js.map +1 -0
  874. package/dist/shared/utils/price.d.ts +22 -0
  875. package/dist/shared/utils/price.d.ts.map +1 -0
  876. package/dist/shared/utils/price.js +15 -0
  877. package/dist/shared/utils/price.js.map +1 -0
  878. package/dist/shared/utils/query.d.ts +2 -2
  879. package/dist/shared/utils/query.d.ts.map +1 -1
  880. package/dist/shared/utils/query.js +2 -1
  881. package/dist/shared/utils/query.js.map +1 -1
  882. package/dist/shared/utils/wei.d.ts +26 -0
  883. package/dist/shared/utils/wei.d.ts.map +1 -1
  884. package/dist/shared/utils/wei.js +4 -1
  885. package/dist/shared/utils/wei.js.map +1 -1
  886. package/dist/solvers/assert-solver-kind.d.ts +15 -0
  887. package/dist/solvers/assert-solver-kind.d.ts.map +1 -0
  888. package/dist/solvers/assert-solver-kind.js +9 -0
  889. package/dist/solvers/assert-solver-kind.js.map +1 -0
  890. package/dist/solvers/capabilities.d.ts +56 -0
  891. package/dist/solvers/capabilities.d.ts.map +1 -0
  892. package/dist/solvers/capabilities.js +30 -0
  893. package/dist/solvers/capabilities.js.map +1 -0
  894. package/dist/solvers/error-codes/get-solver-error-codes.d.ts +2 -2
  895. package/dist/solvers/error-codes/get-solver-error-codes.d.ts.map +1 -1
  896. package/dist/solvers/error-codes/get-solver-error-codes.js +4 -2
  897. package/dist/solvers/error-codes/get-solver-error-codes.js.map +1 -1
  898. package/dist/solvers/error-codes/query.d.ts.map +1 -1
  899. package/dist/solvers/error-codes/query.js +4 -1
  900. package/dist/solvers/error-codes/query.js.map +1 -1
  901. package/dist/solvers/estimated-price/get-estimated-price.d.ts +2 -2
  902. package/dist/solvers/estimated-price/get-estimated-price.d.ts.map +1 -1
  903. package/dist/solvers/estimated-price/get-estimated-price.js +20 -15
  904. package/dist/solvers/estimated-price/get-estimated-price.js.map +1 -1
  905. package/dist/solvers/estimated-price/index.d.ts +1 -0
  906. package/dist/solvers/estimated-price/index.d.ts.map +1 -1
  907. package/dist/solvers/estimated-price/query.d.ts.map +1 -1
  908. package/dist/solvers/estimated-price/query.js +1 -0
  909. package/dist/solvers/estimated-price/query.js.map +1 -1
  910. package/dist/solvers/estimated-price/supports-estimated-price.d.ts +33 -0
  911. package/dist/solvers/estimated-price/supports-estimated-price.d.ts.map +1 -0
  912. package/dist/solvers/estimated-price/supports-estimated-price.js +13 -0
  913. package/dist/solvers/estimated-price/supports-estimated-price.js.map +1 -0
  914. package/dist/solvers/force-close/force-close-auto.d.ts +53 -0
  915. package/dist/solvers/force-close/force-close-auto.d.ts.map +1 -0
  916. package/dist/solvers/force-close/force-close-auto.js +80 -0
  917. package/dist/solvers/force-close/force-close-auto.js.map +1 -0
  918. package/dist/solvers/force-close/force-close-math.d.ts +93 -0
  919. package/dist/solvers/force-close/force-close-math.d.ts.map +1 -0
  920. package/dist/solvers/force-close/force-close-math.js +58 -0
  921. package/dist/solvers/force-close/force-close-math.js.map +1 -0
  922. package/dist/solvers/force-close/force-close-position.d.ts +45 -0
  923. package/dist/solvers/force-close/force-close-position.d.ts.map +1 -0
  924. package/dist/solvers/force-close/force-close-position.js +22 -0
  925. package/dist/solvers/force-close/force-close-position.js.map +1 -0
  926. package/dist/solvers/force-close/get-force-close-params.d.ts +32 -0
  927. package/dist/solvers/force-close/get-force-close-params.d.ts.map +1 -0
  928. package/dist/solvers/force-close/get-force-close-params.js +41 -0
  929. package/dist/solvers/force-close/get-force-close-params.js.map +1 -0
  930. package/dist/solvers/force-close/index.d.ts +7 -0
  931. package/dist/solvers/force-close/index.d.ts.map +1 -0
  932. package/dist/solvers/force-close/query.d.ts +60 -0
  933. package/dist/solvers/force-close/query.d.ts.map +1 -0
  934. package/dist/solvers/force-close/query.js +38 -0
  935. package/dist/solvers/force-close/query.js.map +1 -0
  936. package/dist/solvers/force-close/types.d.ts +37 -0
  937. package/dist/solvers/force-close/types.d.ts.map +1 -0
  938. package/dist/solvers/funding-info/get-funding-info.d.ts +2 -2
  939. package/dist/solvers/funding-info/get-funding-info.d.ts.map +1 -1
  940. package/dist/solvers/funding-info/get-funding-info.js +4 -2
  941. package/dist/solvers/funding-info/get-funding-info.js.map +1 -1
  942. package/dist/solvers/funding-info/query.d.ts.map +1 -1
  943. package/dist/solvers/funding-info/query.js +1 -0
  944. package/dist/solvers/funding-info/query.js.map +1 -1
  945. package/dist/solvers/get-error-message/get-error-message.d.ts +22 -0
  946. package/dist/solvers/get-error-message/get-error-message.d.ts.map +1 -0
  947. package/dist/solvers/get-error-message/get-error-message.js +24 -0
  948. package/dist/solvers/get-error-message/get-error-message.js.map +1 -0
  949. package/dist/solvers/get-error-message/index.d.ts +3 -0
  950. package/dist/solvers/get-error-message/index.d.ts.map +1 -0
  951. package/dist/solvers/get-error-message/query.d.ts +29 -0
  952. package/dist/solvers/get-error-message/query.d.ts.map +1 -0
  953. package/dist/solvers/get-error-message/query.js +25 -0
  954. package/dist/solvers/get-error-message/query.js.map +1 -0
  955. package/dist/solvers/get-party-a-upnl/get-party-a-upnl.d.ts +21 -0
  956. package/dist/solvers/get-party-a-upnl/get-party-a-upnl.d.ts.map +1 -0
  957. package/dist/solvers/get-party-a-upnl/get-party-a-upnl.js +24 -0
  958. package/dist/solvers/get-party-a-upnl/get-party-a-upnl.js.map +1 -0
  959. package/dist/solvers/get-party-a-upnl/index.d.ts +3 -0
  960. package/dist/solvers/get-party-a-upnl/index.d.ts.map +1 -0
  961. package/dist/solvers/get-party-a-upnl/query.d.ts +29 -0
  962. package/dist/solvers/get-party-a-upnl/query.d.ts.map +1 -0
  963. package/dist/solvers/get-party-a-upnl/query.js +25 -0
  964. package/dist/solvers/get-party-a-upnl/query.js.map +1 -0
  965. package/dist/solvers/get-solver-balance-info/get-solver-balance-info.d.ts +25 -0
  966. package/dist/solvers/get-solver-balance-info/get-solver-balance-info.d.ts.map +1 -0
  967. package/dist/solvers/get-solver-balance-info/get-solver-balance-info.js +25 -0
  968. package/dist/solvers/get-solver-balance-info/get-solver-balance-info.js.map +1 -0
  969. package/dist/solvers/get-solver-balance-info/index.d.ts +3 -0
  970. package/dist/solvers/get-solver-balance-info/index.d.ts.map +1 -0
  971. package/dist/solvers/get-solver-balance-info/query.d.ts +29 -0
  972. package/dist/solvers/get-solver-balance-info/query.d.ts.map +1 -0
  973. package/dist/solvers/get-solver-balance-info/query.js +26 -0
  974. package/dist/solvers/get-solver-balance-info/query.js.map +1 -0
  975. package/dist/solvers/get-solver-open-interest/get-solver-open-interest.d.ts +19 -0
  976. package/dist/solvers/get-solver-open-interest/get-solver-open-interest.d.ts.map +1 -0
  977. package/dist/solvers/get-solver-open-interest/get-solver-open-interest.js +24 -0
  978. package/dist/solvers/get-solver-open-interest/get-solver-open-interest.js.map +1 -0
  979. package/dist/solvers/get-solver-open-interest/index.d.ts +3 -0
  980. package/dist/solvers/get-solver-open-interest/index.d.ts.map +1 -0
  981. package/dist/solvers/get-solver-open-interest/query.d.ts +29 -0
  982. package/dist/solvers/get-solver-open-interest/query.d.ts.map +1 -0
  983. package/dist/solvers/get-solver-open-interest/query.js +24 -0
  984. package/dist/solvers/get-solver-open-interest/query.js.map +1 -0
  985. package/dist/solvers/get-solver-price-range/get-solver-price-range.d.ts +22 -0
  986. package/dist/solvers/get-solver-price-range/get-solver-price-range.d.ts.map +1 -0
  987. package/dist/solvers/get-solver-price-range/get-solver-price-range.js +24 -0
  988. package/dist/solvers/get-solver-price-range/get-solver-price-range.js.map +1 -0
  989. package/dist/solvers/get-solver-price-range/index.d.ts +3 -0
  990. package/dist/solvers/get-solver-price-range/index.d.ts.map +1 -0
  991. package/dist/solvers/get-solver-price-range/query.d.ts +29 -0
  992. package/dist/solvers/get-solver-price-range/query.d.ts.map +1 -0
  993. package/dist/solvers/get-solver-price-range/query.js +25 -0
  994. package/dist/solvers/get-solver-price-range/query.js.map +1 -0
  995. package/dist/solvers/get-solver-readiness/get-solver-readiness.d.ts +18 -0
  996. package/dist/solvers/get-solver-readiness/get-solver-readiness.d.ts.map +1 -0
  997. package/dist/solvers/get-solver-readiness/get-solver-readiness.js +24 -0
  998. package/dist/solvers/get-solver-readiness/get-solver-readiness.js.map +1 -0
  999. package/dist/solvers/get-solver-readiness/index.d.ts +3 -0
  1000. package/dist/solvers/get-solver-readiness/index.d.ts.map +1 -0
  1001. package/dist/solvers/get-solver-readiness/query.d.ts +29 -0
  1002. package/dist/solvers/get-solver-readiness/query.d.ts.map +1 -0
  1003. package/dist/solvers/get-solver-readiness/query.js +24 -0
  1004. package/dist/solvers/get-solver-readiness/query.js.map +1 -0
  1005. package/dist/solvers/instant-close/get-instant-closes/get-instant-closes.d.ts +2 -2
  1006. package/dist/solvers/instant-close/get-instant-closes/get-instant-closes.d.ts.map +1 -1
  1007. package/dist/solvers/instant-close/get-instant-closes/get-instant-closes.js +4 -1
  1008. package/dist/solvers/instant-close/get-instant-closes/get-instant-closes.js.map +1 -1
  1009. package/dist/solvers/instant-close/get-instant-closes/query.d.ts.map +1 -1
  1010. package/dist/solvers/instant-close/get-instant-closes/query.js +1 -0
  1011. package/dist/solvers/instant-close/get-instant-closes/query.js.map +1 -1
  1012. package/dist/solvers/instant-close/instant-close/instant-close.d.ts +16 -3
  1013. package/dist/solvers/instant-close/instant-close/instant-close.d.ts.map +1 -1
  1014. package/dist/solvers/instant-close/instant-close/instant-close.js +26 -25
  1015. package/dist/solvers/instant-close/instant-close/instant-close.js.map +1 -1
  1016. package/dist/solvers/instant-close/instant-close-bulk/instant-close-bulk.d.ts.map +1 -1
  1017. package/dist/solvers/instant-close/instant-close-bulk/instant-close-bulk.js +1 -0
  1018. package/dist/solvers/instant-close/instant-close-bulk/instant-close-bulk.js.map +1 -1
  1019. package/dist/solvers/instant-close/instant-close-bulk-auto/instant-close-bulk-auto.d.ts.map +1 -1
  1020. package/dist/solvers/instant-close/instant-close-bulk-auto/instant-close-bulk-auto.js +1 -0
  1021. package/dist/solvers/instant-close/instant-close-bulk-auto/instant-close-bulk-auto.js.map +1 -1
  1022. package/dist/solvers/instant-close/prepare-instant-close-params/prepare-instant-close-params.d.ts.map +1 -1
  1023. package/dist/solvers/instant-close/prepare-instant-close-params/prepare-instant-close-params.js +3 -0
  1024. package/dist/solvers/instant-close/prepare-instant-close-params/prepare-instant-close-params.js.map +1 -1
  1025. package/dist/solvers/instant-close/shared/adapters/enigma-instant-close.d.ts +14 -0
  1026. package/dist/solvers/instant-close/shared/adapters/enigma-instant-close.d.ts.map +1 -0
  1027. package/dist/solvers/instant-close/shared/adapters/enigma-instant-close.js +14 -0
  1028. package/dist/solvers/instant-close/shared/adapters/enigma-instant-close.js.map +1 -0
  1029. package/dist/solvers/instant-close/shared/adapters/hedger-error.d.ts +10 -0
  1030. package/dist/solvers/instant-close/shared/adapters/hedger-error.d.ts.map +1 -0
  1031. package/dist/solvers/instant-close/shared/adapters/hedger-error.js +13 -0
  1032. package/dist/solvers/instant-close/shared/adapters/hedger-error.js.map +1 -0
  1033. package/dist/solvers/instant-close/shared/adapters/index.d.ts +4 -0
  1034. package/dist/solvers/instant-close/shared/adapters/index.d.ts.map +1 -0
  1035. package/dist/solvers/instant-close/shared/adapters/rasa-instant-close.d.ts +20 -0
  1036. package/dist/solvers/instant-close/shared/adapters/rasa-instant-close.d.ts.map +1 -0
  1037. package/dist/solvers/instant-close/shared/adapters/rasa-instant-close.js +25 -0
  1038. package/dist/solvers/instant-close/shared/adapters/rasa-instant-close.js.map +1 -0
  1039. package/dist/solvers/instant-close/shared/calldata.js +1 -1
  1040. package/dist/solvers/instant-close/shared/calldata.js.map +1 -1
  1041. package/dist/solvers/instant-close/shared/hedger-api.d.ts +17 -14
  1042. package/dist/solvers/instant-close/shared/hedger-api.d.ts.map +1 -1
  1043. package/dist/solvers/instant-close/shared/hedger-api.js +16 -13
  1044. package/dist/solvers/instant-close/shared/hedger-api.js.map +1 -1
  1045. package/dist/solvers/instant-close/shared/index.d.ts +1 -0
  1046. package/dist/solvers/instant-close/shared/index.d.ts.map +1 -1
  1047. package/dist/solvers/instant-close/shared/quote-constraints.d.ts +20 -3
  1048. package/dist/solvers/instant-close/shared/quote-constraints.d.ts.map +1 -1
  1049. package/dist/solvers/instant-close/shared/quote-constraints.js +4 -4
  1050. package/dist/solvers/instant-close/shared/quote-constraints.js.map +1 -1
  1051. package/dist/solvers/instant-close/shared/types.d.ts +3 -3
  1052. package/dist/solvers/instant-close/shared/types.d.ts.map +1 -1
  1053. package/dist/solvers/instant-open/get-instant-open-fees/get-instant-open-fees.d.ts +129 -0
  1054. package/dist/solvers/instant-open/get-instant-open-fees/get-instant-open-fees.d.ts.map +1 -0
  1055. package/dist/solvers/instant-open/get-instant-open-fees/get-instant-open-fees.js +115 -0
  1056. package/dist/solvers/instant-open/get-instant-open-fees/get-instant-open-fees.js.map +1 -0
  1057. package/dist/solvers/instant-open/get-instant-open-fees/index.d.ts +3 -0
  1058. package/dist/solvers/instant-open/get-instant-open-fees/index.d.ts.map +1 -0
  1059. package/dist/solvers/instant-open/get-instant-open-fees/query.d.ts +34 -0
  1060. package/dist/solvers/instant-open/get-instant-open-fees/query.d.ts.map +1 -0
  1061. package/dist/solvers/instant-open/get-instant-open-fees/query.js +33 -0
  1062. package/dist/solvers/instant-open/get-instant-open-fees/query.js.map +1 -0
  1063. package/dist/solvers/instant-open/get-instant-open-quote-id/get-instant-open-quote-id.d.ts +2 -2
  1064. package/dist/solvers/instant-open/get-instant-open-quote-id/get-instant-open-quote-id.d.ts.map +1 -1
  1065. package/dist/solvers/instant-open/get-instant-open-quote-id/get-instant-open-quote-id.js +4 -1
  1066. package/dist/solvers/instant-open/get-instant-open-quote-id/get-instant-open-quote-id.js.map +1 -1
  1067. package/dist/solvers/instant-open/get-instant-open-quote-id/query.d.ts.map +1 -1
  1068. package/dist/solvers/instant-open/get-instant-open-quote-id/query.js +1 -0
  1069. package/dist/solvers/instant-open/get-instant-open-quote-id/query.js.map +1 -1
  1070. package/dist/solvers/instant-open/get-instant-opens/adapters/enigma-instant-opens.d.ts +18 -0
  1071. package/dist/solvers/instant-open/get-instant-opens/adapters/enigma-instant-opens.d.ts.map +1 -0
  1072. package/dist/solvers/instant-open/get-instant-opens/adapters/enigma-instant-opens.js +28 -0
  1073. package/dist/solvers/instant-open/get-instant-opens/adapters/enigma-instant-opens.js.map +1 -0
  1074. package/dist/solvers/instant-open/get-instant-opens/adapters/index.d.ts +3 -0
  1075. package/dist/solvers/instant-open/get-instant-opens/adapters/index.d.ts.map +1 -0
  1076. package/dist/solvers/instant-open/get-instant-opens/adapters/rasa-instant-opens.d.ts +18 -0
  1077. package/dist/solvers/instant-open/get-instant-opens/adapters/rasa-instant-opens.d.ts.map +1 -0
  1078. package/dist/solvers/instant-open/get-instant-opens/adapters/rasa-instant-opens.js +25 -0
  1079. package/dist/solvers/instant-open/get-instant-opens/adapters/rasa-instant-opens.js.map +1 -0
  1080. package/dist/solvers/instant-open/get-instant-opens/get-instant-opens.d.ts +22 -11
  1081. package/dist/solvers/instant-open/get-instant-opens/get-instant-opens.d.ts.map +1 -1
  1082. package/dist/solvers/instant-open/get-instant-opens/get-instant-opens.js +26 -10
  1083. package/dist/solvers/instant-open/get-instant-opens/get-instant-opens.js.map +1 -1
  1084. package/dist/solvers/instant-open/get-instant-opens/index.d.ts +1 -1
  1085. package/dist/solvers/instant-open/get-instant-opens/index.d.ts.map +1 -1
  1086. package/dist/solvers/instant-open/get-instant-opens/query.d.ts +7 -6
  1087. package/dist/solvers/instant-open/get-instant-opens/query.d.ts.map +1 -1
  1088. package/dist/solvers/instant-open/get-instant-opens/query.js +1 -0
  1089. package/dist/solvers/instant-open/get-instant-opens/query.js.map +1 -1
  1090. package/dist/solvers/instant-open/get-instant-opens/{to-pending-instant-open.d.ts → types.d.ts} +31 -15
  1091. package/dist/solvers/instant-open/get-instant-opens/types.d.ts.map +1 -0
  1092. package/dist/solvers/instant-open/index.d.ts +1 -0
  1093. package/dist/solvers/instant-open/index.d.ts.map +1 -1
  1094. package/dist/solvers/instant-open/instant-open/adapters/context.d.ts +34 -0
  1095. package/dist/solvers/instant-open/instant-open/adapters/context.d.ts.map +1 -0
  1096. package/dist/solvers/instant-open/instant-open/adapters/enigma-instant-open.d.ts +22 -0
  1097. package/dist/solvers/instant-open/instant-open/adapters/enigma-instant-open.d.ts.map +1 -0
  1098. package/dist/solvers/instant-open/instant-open/adapters/enigma-instant-open.js +76 -0
  1099. package/dist/solvers/instant-open/instant-open/adapters/enigma-instant-open.js.map +1 -0
  1100. package/dist/solvers/instant-open/instant-open/adapters/index.d.ts +4 -0
  1101. package/dist/solvers/instant-open/instant-open/adapters/index.d.ts.map +1 -0
  1102. package/dist/solvers/instant-open/instant-open/adapters/rasa-instant-open.d.ts +22 -0
  1103. package/dist/solvers/instant-open/instant-open/adapters/rasa-instant-open.d.ts.map +1 -0
  1104. package/dist/solvers/instant-open/instant-open/adapters/rasa-instant-open.js +55 -0
  1105. package/dist/solvers/instant-open/instant-open/adapters/rasa-instant-open.js.map +1 -0
  1106. package/dist/solvers/instant-open/instant-open/index.d.ts +2 -0
  1107. package/dist/solvers/instant-open/instant-open/index.d.ts.map +1 -1
  1108. package/dist/solvers/instant-open/instant-open/instant-open.d.ts +34 -65
  1109. package/dist/solvers/instant-open/instant-open/instant-open.d.ts.map +1 -1
  1110. package/dist/solvers/instant-open/instant-open/instant-open.js +31 -63
  1111. package/dist/solvers/instant-open/instant-open/instant-open.js.map +1 -1
  1112. package/dist/solvers/instant-open/instant-open/query.d.ts +9 -3
  1113. package/dist/solvers/instant-open/instant-open/query.d.ts.map +1 -1
  1114. package/dist/solvers/instant-open/instant-open/query.js.map +1 -1
  1115. package/dist/solvers/instant-open/instant-open/types.d.ts +101 -0
  1116. package/dist/solvers/instant-open/instant-open/types.d.ts.map +1 -0
  1117. package/dist/solvers/instant-open/instant-open-auto/instant-open-auto.d.ts +1 -1
  1118. package/dist/solvers/instant-open/instant-open-auto/instant-open-auto.d.ts.map +1 -1
  1119. package/dist/solvers/instant-open/instant-open-auto/instant-open-auto.js.map +1 -1
  1120. package/dist/solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.d.ts +46 -11
  1121. package/dist/solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.d.ts.map +1 -1
  1122. package/dist/solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.js +157 -68
  1123. package/dist/solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.js.map +1 -1
  1124. package/dist/solvers/instant-open/prepare-instant-open-params/resolvers/resolve-locked-params.d.ts +7 -0
  1125. package/dist/solvers/instant-open/prepare-instant-open-params/resolvers/resolve-locked-params.d.ts.map +1 -1
  1126. package/dist/solvers/instant-open/prepare-instant-open-params/resolvers/resolve-locked-params.js +1 -0
  1127. package/dist/solvers/instant-open/prepare-instant-open-params/resolvers/resolve-locked-params.js.map +1 -1
  1128. package/dist/solvers/instant-open/shared/calldata.d.ts +76 -3
  1129. package/dist/solvers/instant-open/shared/calldata.d.ts.map +1 -1
  1130. package/dist/solvers/instant-open/shared/calldata.js +84 -19
  1131. package/dist/solvers/instant-open/shared/calldata.js.map +1 -1
  1132. package/dist/solvers/instant-open/shared/hedger-api.d.ts +33 -2
  1133. package/dist/solvers/instant-open/shared/hedger-api.d.ts.map +1 -1
  1134. package/dist/solvers/instant-open/shared/hedger-api.js +25 -7
  1135. package/dist/solvers/instant-open/shared/hedger-api.js.map +1 -1
  1136. package/dist/solvers/instant-open/shared/index.d.ts +1 -0
  1137. package/dist/solvers/instant-open/shared/index.d.ts.map +1 -1
  1138. package/dist/solvers/instant-open/shared/open-estimate-guard.d.ts +89 -0
  1139. package/dist/solvers/instant-open/shared/open-estimate-guard.d.ts.map +1 -0
  1140. package/dist/solvers/instant-open/shared/open-estimate-guard.js +52 -0
  1141. package/dist/solvers/instant-open/shared/open-estimate-guard.js.map +1 -0
  1142. package/dist/solvers/instant-open/shared/operations.d.ts +16 -3
  1143. package/dist/solvers/instant-open/shared/operations.d.ts.map +1 -1
  1144. package/dist/solvers/instant-open/shared/operations.js +2 -2
  1145. package/dist/solvers/instant-open/shared/operations.js.map +1 -1
  1146. package/dist/solvers/instant-open/shared/quote-constraints.d.ts +27 -3
  1147. package/dist/solvers/instant-open/shared/quote-constraints.d.ts.map +1 -1
  1148. package/dist/solvers/instant-open/shared/quote-constraints.js +27 -27
  1149. package/dist/solvers/instant-open/shared/quote-constraints.js.map +1 -1
  1150. package/dist/solvers/instant-open/shared/selectors.d.ts +46 -7
  1151. package/dist/solvers/instant-open/shared/selectors.d.ts.map +1 -1
  1152. package/dist/solvers/instant-open/shared/selectors.js +12 -5
  1153. package/dist/solvers/instant-open/shared/selectors.js.map +1 -1
  1154. package/dist/solvers/instant-open/shared/trade-math.d.ts +123 -8
  1155. package/dist/solvers/instant-open/shared/trade-math.d.ts.map +1 -1
  1156. package/dist/solvers/instant-open/shared/trade-math.js +60 -22
  1157. package/dist/solvers/instant-open/shared/trade-math.js.map +1 -1
  1158. package/dist/solvers/instant-open/shared/types.d.ts +44 -23
  1159. package/dist/solvers/instant-open/shared/types.d.ts.map +1 -1
  1160. package/dist/solvers/instant-open/shared/types.js.map +1 -1
  1161. package/dist/solvers/limit-close/index.d.ts +4 -0
  1162. package/dist/solvers/limit-close/index.d.ts.map +1 -0
  1163. package/dist/solvers/limit-close/limit-close-auto.d.ts +23 -0
  1164. package/dist/solvers/limit-close/limit-close-auto.d.ts.map +1 -0
  1165. package/dist/solvers/limit-close/limit-close-auto.js +10 -0
  1166. package/dist/solvers/limit-close/limit-close-auto.js.map +1 -0
  1167. package/dist/solvers/limit-close/prepare-limit-close-params.d.ts +30 -0
  1168. package/dist/solvers/limit-close/prepare-limit-close-params.d.ts.map +1 -0
  1169. package/dist/solvers/limit-close/prepare-limit-close-params.js +24 -0
  1170. package/dist/solvers/limit-close/prepare-limit-close-params.js.map +1 -0
  1171. package/dist/solvers/limit-close/query.d.ts +15 -0
  1172. package/dist/solvers/limit-close/query.d.ts.map +1 -0
  1173. package/dist/solvers/limit-close/query.js +12 -0
  1174. package/dist/solvers/limit-close/query.js.map +1 -0
  1175. package/dist/solvers/limit-open/index.d.ts +4 -0
  1176. package/dist/solvers/limit-open/index.d.ts.map +1 -0
  1177. package/dist/solvers/limit-open/limit-open-auto.d.ts +23 -0
  1178. package/dist/solvers/limit-open/limit-open-auto.d.ts.map +1 -0
  1179. package/dist/solvers/limit-open/limit-open-auto.js +10 -0
  1180. package/dist/solvers/limit-open/limit-open-auto.js.map +1 -0
  1181. package/dist/solvers/limit-open/prepare-limit-open-params.d.ts +31 -0
  1182. package/dist/solvers/limit-open/prepare-limit-open-params.d.ts.map +1 -0
  1183. package/dist/solvers/limit-open/prepare-limit-open-params.js +24 -0
  1184. package/dist/solvers/limit-open/prepare-limit-open-params.js.map +1 -0
  1185. package/dist/solvers/limit-open/query.d.ts +15 -0
  1186. package/dist/solvers/limit-open/query.d.ts.map +1 -0
  1187. package/dist/solvers/limit-open/query.js +12 -0
  1188. package/dist/solvers/limit-open/query.js.map +1 -0
  1189. package/dist/solvers/locked-params/get-locked-params.d.ts +2 -2
  1190. package/dist/solvers/locked-params/get-locked-params.d.ts.map +1 -1
  1191. package/dist/solvers/locked-params/get-locked-params.js +4 -2
  1192. package/dist/solvers/locked-params/get-locked-params.js.map +1 -1
  1193. package/dist/solvers/locked-params/query.d.ts.map +1 -1
  1194. package/dist/solvers/locked-params/query.js +1 -0
  1195. package/dist/solvers/locked-params/query.js.map +1 -1
  1196. package/dist/solvers/market-info/adapters/enigma-market-info.d.ts +15 -0
  1197. package/dist/solvers/market-info/adapters/enigma-market-info.d.ts.map +1 -0
  1198. package/dist/solvers/market-info/adapters/enigma-market-info.js +33 -0
  1199. package/dist/solvers/market-info/adapters/enigma-market-info.js.map +1 -0
  1200. package/dist/solvers/market-info/adapters/index.d.ts +3 -0
  1201. package/dist/solvers/market-info/adapters/index.d.ts.map +1 -0
  1202. package/dist/solvers/market-info/adapters/rasa-market-info.d.ts +16 -0
  1203. package/dist/solvers/market-info/adapters/rasa-market-info.d.ts.map +1 -0
  1204. package/dist/solvers/market-info/adapters/rasa-market-info.js +22 -0
  1205. package/dist/solvers/market-info/adapters/rasa-market-info.js.map +1 -0
  1206. package/dist/solvers/market-info/get-market-info.d.ts +25 -17
  1207. package/dist/solvers/market-info/get-market-info.d.ts.map +1 -1
  1208. package/dist/solvers/market-info/get-market-info.js +25 -12
  1209. package/dist/solvers/market-info/get-market-info.js.map +1 -1
  1210. package/dist/solvers/market-info/index.d.ts +0 -1
  1211. package/dist/solvers/market-info/index.d.ts.map +1 -1
  1212. package/dist/solvers/market-info/query.d.ts +11 -10
  1213. package/dist/solvers/market-info/query.d.ts.map +1 -1
  1214. package/dist/solvers/market-info/query.js +4 -1
  1215. package/dist/solvers/market-info/query.js.map +1 -1
  1216. package/dist/solvers/market-info/types.d.ts +40 -9
  1217. package/dist/solvers/market-info/types.d.ts.map +1 -1
  1218. package/dist/solvers/markets/adapters/enigma-markets.d.ts +18 -0
  1219. package/dist/solvers/markets/adapters/enigma-markets.d.ts.map +1 -0
  1220. package/dist/solvers/markets/adapters/enigma-markets.js +50 -0
  1221. package/dist/solvers/markets/adapters/enigma-markets.js.map +1 -0
  1222. package/dist/solvers/markets/adapters/index.d.ts +3 -0
  1223. package/dist/solvers/markets/adapters/index.d.ts.map +1 -0
  1224. package/dist/solvers/markets/adapters/rasa-markets.d.ts +18 -0
  1225. package/dist/solvers/markets/adapters/rasa-markets.d.ts.map +1 -0
  1226. package/dist/solvers/markets/adapters/rasa-markets.js +36 -0
  1227. package/dist/solvers/markets/adapters/rasa-markets.js.map +1 -0
  1228. package/dist/solvers/markets/get-markets.d.ts +34 -13
  1229. package/dist/solvers/markets/get-markets.d.ts.map +1 -1
  1230. package/dist/solvers/markets/get-markets.js +28 -14
  1231. package/dist/solvers/markets/get-markets.js.map +1 -1
  1232. package/dist/solvers/markets/index.d.ts +1 -1
  1233. package/dist/solvers/markets/index.d.ts.map +1 -1
  1234. package/dist/solvers/markets/query.d.ts +14 -11
  1235. package/dist/solvers/markets/query.d.ts.map +1 -1
  1236. package/dist/solvers/markets/query.js +4 -1
  1237. package/dist/solvers/markets/query.js.map +1 -1
  1238. package/dist/solvers/markets/types.d.ts +111 -0
  1239. package/dist/solvers/markets/types.d.ts.map +1 -0
  1240. package/dist/solvers/notional-cap/adapters/enigma-notional-cap.d.ts +17 -0
  1241. package/dist/solvers/notional-cap/adapters/enigma-notional-cap.d.ts.map +1 -0
  1242. package/dist/solvers/notional-cap/adapters/enigma-notional-cap.js +27 -0
  1243. package/dist/solvers/notional-cap/adapters/enigma-notional-cap.js.map +1 -0
  1244. package/dist/solvers/notional-cap/adapters/index.d.ts +3 -0
  1245. package/dist/solvers/notional-cap/adapters/index.d.ts.map +1 -0
  1246. package/dist/solvers/notional-cap/adapters/rasa-notional-cap.d.ts +16 -0
  1247. package/dist/solvers/notional-cap/adapters/rasa-notional-cap.d.ts.map +1 -0
  1248. package/dist/solvers/notional-cap/adapters/rasa-notional-cap.js +17 -0
  1249. package/dist/solvers/notional-cap/adapters/rasa-notional-cap.js.map +1 -0
  1250. package/dist/solvers/notional-cap/check-notional-cap.d.ts +4 -2
  1251. package/dist/solvers/notional-cap/check-notional-cap.d.ts.map +1 -1
  1252. package/dist/solvers/notional-cap/check-notional-cap.js +2 -2
  1253. package/dist/solvers/notional-cap/check-notional-cap.js.map +1 -1
  1254. package/dist/solvers/notional-cap/get-notional-cap-all.d.ts +5 -5
  1255. package/dist/solvers/notional-cap/get-notional-cap-all.d.ts.map +1 -1
  1256. package/dist/solvers/notional-cap/get-notional-cap-all.js +5 -2
  1257. package/dist/solvers/notional-cap/get-notional-cap-all.js.map +1 -1
  1258. package/dist/solvers/notional-cap/get-notional-cap-by-symbol-id.d.ts +23 -14
  1259. package/dist/solvers/notional-cap/get-notional-cap-by-symbol-id.d.ts.map +1 -1
  1260. package/dist/solvers/notional-cap/get-notional-cap-by-symbol-id.js +26 -10
  1261. package/dist/solvers/notional-cap/get-notional-cap-by-symbol-id.js.map +1 -1
  1262. package/dist/solvers/notional-cap/get-open-interest-by-symbol-id.d.ts +2 -2
  1263. package/dist/solvers/notional-cap/get-open-interest-by-symbol-id.d.ts.map +1 -1
  1264. package/dist/solvers/notional-cap/get-open-interest-by-symbol-id.js +7 -1
  1265. package/dist/solvers/notional-cap/get-open-interest-by-symbol-id.js.map +1 -1
  1266. package/dist/solvers/notional-cap/index.d.ts +0 -1
  1267. package/dist/solvers/notional-cap/index.d.ts.map +1 -1
  1268. package/dist/solvers/notional-cap/query-all.js +4 -1
  1269. package/dist/solvers/notional-cap/query-all.js.map +1 -1
  1270. package/dist/solvers/notional-cap/query-open-interest.d.ts.map +1 -1
  1271. package/dist/solvers/notional-cap/query-open-interest.js +1 -0
  1272. package/dist/solvers/notional-cap/query-open-interest.js.map +1 -1
  1273. package/dist/solvers/notional-cap/query.d.ts +10 -8
  1274. package/dist/solvers/notional-cap/query.d.ts.map +1 -1
  1275. package/dist/solvers/notional-cap/query.js +1 -0
  1276. package/dist/solvers/notional-cap/query.js.map +1 -1
  1277. package/dist/solvers/notional-cap/types.d.ts +38 -15
  1278. package/dist/solvers/notional-cap/types.d.ts.map +1 -1
  1279. package/dist/solvers/revenue/get-solver-revenue.d.ts +48 -0
  1280. package/dist/solvers/revenue/get-solver-revenue.d.ts.map +1 -0
  1281. package/dist/solvers/revenue/get-solver-revenue.js +28 -0
  1282. package/dist/solvers/revenue/get-solver-revenue.js.map +1 -0
  1283. package/dist/solvers/revenue/index.d.ts +5 -0
  1284. package/dist/solvers/revenue/index.d.ts.map +1 -0
  1285. package/dist/solvers/revenue/query.d.ts +36 -0
  1286. package/dist/solvers/revenue/query.d.ts.map +1 -0
  1287. package/dist/solvers/revenue/query.js +26 -0
  1288. package/dist/solvers/revenue/query.js.map +1 -0
  1289. package/dist/solvers/revenue/to-solver-revenue.d.ts +14 -0
  1290. package/dist/solvers/revenue/to-solver-revenue.d.ts.map +1 -0
  1291. package/dist/solvers/revenue/to-solver-revenue.js +14 -0
  1292. package/dist/solvers/revenue/to-solver-revenue.js.map +1 -0
  1293. package/dist/solvers/revenue/types.d.ts +33 -0
  1294. package/dist/solvers/revenue/types.d.ts.map +1 -0
  1295. package/dist/solvers/revenue-records/get-revenue-records.d.ts +36 -0
  1296. package/dist/solvers/revenue-records/get-revenue-records.d.ts.map +1 -0
  1297. package/dist/solvers/revenue-records/get-revenue-records.js +36 -0
  1298. package/dist/solvers/revenue-records/get-revenue-records.js.map +1 -0
  1299. package/dist/solvers/revenue-records/index.d.ts +5 -0
  1300. package/dist/solvers/revenue-records/index.d.ts.map +1 -0
  1301. package/dist/solvers/revenue-records/query.d.ts +29 -0
  1302. package/dist/solvers/revenue-records/query.d.ts.map +1 -0
  1303. package/dist/solvers/revenue-records/query.js +28 -0
  1304. package/dist/solvers/revenue-records/query.js.map +1 -0
  1305. package/dist/solvers/revenue-records/to-revenue-record.d.ts +11 -0
  1306. package/dist/solvers/revenue-records/to-revenue-record.d.ts.map +1 -0
  1307. package/dist/solvers/revenue-records/to-revenue-record.js +13 -0
  1308. package/dist/solvers/revenue-records/to-revenue-record.js.map +1 -0
  1309. package/dist/solvers/revenue-records/types.d.ts +26 -0
  1310. package/dist/solvers/revenue-records/types.d.ts.map +1 -0
  1311. package/dist/solvers/shared/index.d.ts +1 -0
  1312. package/dist/solvers/shared/index.d.ts.map +1 -1
  1313. package/dist/solvers/shared/resolvers/resolve-mark-price.d.ts +17 -5
  1314. package/dist/solvers/shared/resolvers/resolve-mark-price.d.ts.map +1 -1
  1315. package/dist/solvers/shared/resolvers/resolve-mark-price.js +17 -10
  1316. package/dist/solvers/shared/resolvers/resolve-mark-price.js.map +1 -1
  1317. package/dist/solvers/shared/resolvers/resolve-market.d.ts +43 -5
  1318. package/dist/solvers/shared/resolvers/resolve-market.d.ts.map +1 -1
  1319. package/dist/solvers/shared/resolvers/resolve-market.js +33 -10
  1320. package/dist/solvers/shared/resolvers/resolve-market.js.map +1 -1
  1321. package/dist/solvers/shared/resolvers/types.d.ts +14 -0
  1322. package/dist/solvers/shared/resolvers/types.d.ts.map +1 -1
  1323. package/dist/solvers/shared/solver-close-fee.d.ts +76 -0
  1324. package/dist/solvers/shared/solver-close-fee.d.ts.map +1 -0
  1325. package/dist/solvers/shared/solver-close-fee.js +26 -0
  1326. package/dist/solvers/shared/solver-close-fee.js.map +1 -0
  1327. package/dist/solvers/symbols/get-symbols.d.ts +53 -0
  1328. package/dist/solvers/symbols/get-symbols.d.ts.map +1 -0
  1329. package/dist/solvers/symbols/get-symbols.js +37 -0
  1330. package/dist/solvers/symbols/get-symbols.js.map +1 -0
  1331. package/dist/solvers/symbols/index.d.ts +5 -0
  1332. package/dist/solvers/symbols/index.d.ts.map +1 -0
  1333. package/dist/solvers/symbols/query.d.ts +28 -0
  1334. package/dist/solvers/symbols/query.d.ts.map +1 -0
  1335. package/dist/solvers/symbols/query.js +33 -0
  1336. package/dist/solvers/symbols/query.js.map +1 -0
  1337. package/dist/solvers/symbols/to-solver-symbol.d.ts +11 -0
  1338. package/dist/solvers/symbols/to-solver-symbol.d.ts.map +1 -0
  1339. package/dist/solvers/symbols/to-solver-symbol.js +46 -0
  1340. package/dist/solvers/symbols/to-solver-symbol.js.map +1 -0
  1341. package/dist/solvers/symbols/types.d.ts +92 -0
  1342. package/dist/solvers/symbols/types.d.ts.map +1 -0
  1343. package/dist/solvers/trade-volume/get-trade-volume.d.ts +37 -0
  1344. package/dist/solvers/trade-volume/get-trade-volume.d.ts.map +1 -0
  1345. package/dist/solvers/trade-volume/get-trade-volume.js +27 -0
  1346. package/dist/solvers/trade-volume/get-trade-volume.js.map +1 -0
  1347. package/dist/solvers/trade-volume/index.d.ts +5 -0
  1348. package/dist/solvers/trade-volume/index.d.ts.map +1 -0
  1349. package/dist/solvers/trade-volume/query.d.ts +29 -0
  1350. package/dist/solvers/trade-volume/query.d.ts.map +1 -0
  1351. package/dist/solvers/trade-volume/query.js +25 -0
  1352. package/dist/solvers/trade-volume/query.js.map +1 -0
  1353. package/dist/solvers/trade-volume/to-daily-volume.d.ts +12 -0
  1354. package/dist/solvers/trade-volume/to-daily-volume.d.ts.map +1 -0
  1355. package/dist/solvers/trade-volume/to-daily-volume.js +11 -0
  1356. package/dist/solvers/trade-volume/to-daily-volume.js.map +1 -0
  1357. package/dist/solvers/trade-volume/types.d.ts +20 -0
  1358. package/dist/solvers/trade-volume/types.d.ts.map +1 -0
  1359. package/dist/solvers/types/generated/enigma-solver.d.ts +146 -82
  1360. package/dist/solvers/types/generated/enigma-solver.d.ts.map +1 -1
  1361. package/dist/solvers/types/generated/enigma-solver.js +20 -2
  1362. package/dist/solvers/types/generated/enigma-solver.js.map +1 -1
  1363. package/dist/solvers/types/generated/rasa-solver.d.ts +471 -0
  1364. package/dist/solvers/types/generated/rasa-solver.d.ts.map +1 -0
  1365. package/dist/solvers/types/generated/rasa-solver.js +7 -0
  1366. package/dist/solvers/types/generated/rasa-solver.js.map +1 -0
  1367. package/dist/symmio-contracts/abi/index.d.ts +13 -6
  1368. package/dist/symmio-contracts/abi/index.d.ts.map +1 -1
  1369. package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/account-layer.d.ts +499 -132
  1370. package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/account-layer.d.ts.map +1 -1
  1371. package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/account-layer.js +591 -149
  1372. package/dist/symmio-contracts/abi/v0.8.6/account-layer.js.map +1 -0
  1373. package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/index.d.ts.map +1 -1
  1374. package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/instant-layer.d.ts +24 -24
  1375. package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/instant-layer.d.ts.map +1 -1
  1376. package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/instant-layer.js +28 -28
  1377. package/dist/symmio-contracts/abi/v0.8.6/instant-layer.js.map +1 -0
  1378. package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/symmio.d.ts +4724 -1019
  1379. package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/symmio.d.ts.map +1 -1
  1380. package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/symmio.js +12750 -8308
  1381. package/dist/symmio-contracts/abi/v0.8.6/symmio.js.map +1 -0
  1382. package/dist/symmio-contracts/account-layer/actions/add-margin.js +1 -1
  1383. package/dist/symmio-contracts/account-layer/actions/add-margin.js.map +1 -1
  1384. package/dist/symmio-contracts/account-layer/actions/cancel-registration.js +1 -1
  1385. package/dist/symmio-contracts/account-layer/actions/cancel-registration.js.map +1 -1
  1386. package/dist/symmio-contracts/account-layer/actions/create-sub-accounts.js +1 -1
  1387. package/dist/symmio-contracts/account-layer/actions/create-sub-accounts.js.map +1 -1
  1388. package/dist/symmio-contracts/account-layer/actions/delete-sub-account.js +1 -1
  1389. package/dist/symmio-contracts/account-layer/actions/delete-sub-account.js.map +1 -1
  1390. package/dist/symmio-contracts/account-layer/actions/deposit-and-allocate-for-account.js +1 -1
  1391. package/dist/symmio-contracts/account-layer/actions/deposit-and-allocate-for-account.js.map +1 -1
  1392. package/dist/symmio-contracts/account-layer/actions/deposit-for-account.js +1 -1
  1393. package/dist/symmio-contracts/account-layer/actions/deposit-for-account.js.map +1 -1
  1394. package/dist/symmio-contracts/account-layer/actions/edit-account-name.js +1 -1
  1395. package/dist/symmio-contracts/account-layer/actions/edit-account-name.js.map +1 -1
  1396. package/dist/symmio-contracts/account-layer/actions/generate-account-manager-address.js +1 -1
  1397. package/dist/symmio-contracts/account-layer/actions/generate-account-manager-address.js.map +1 -1
  1398. package/dist/symmio-contracts/account-layer/actions/get-account-balance-info.js +1 -1
  1399. package/dist/symmio-contracts/account-layer/actions/get-account-balance-info.js.map +1 -1
  1400. package/dist/symmio-contracts/account-layer/actions/get-account-balance-of.js +1 -1
  1401. package/dist/symmio-contracts/account-layer/actions/get-account-balance-of.js.map +1 -1
  1402. package/dist/symmio-contracts/account-layer/actions/get-affiliate-state.js +1 -1
  1403. package/dist/symmio-contracts/account-layer/actions/get-affiliate-state.js.map +1 -1
  1404. package/dist/symmio-contracts/account-layer/actions/get-sub-account-virtual-nonce.js +1 -1
  1405. package/dist/symmio-contracts/account-layer/actions/get-sub-account-virtual-nonce.js.map +1 -1
  1406. package/dist/symmio-contracts/account-layer/actions/get-sub-account.js +1 -1
  1407. package/dist/symmio-contracts/account-layer/actions/get-sub-account.js.map +1 -1
  1408. package/dist/symmio-contracts/account-layer/actions/get-sub-accounts-count-of-user.js +1 -1
  1409. package/dist/symmio-contracts/account-layer/actions/get-sub-accounts-count-of-user.js.map +1 -1
  1410. package/dist/symmio-contracts/account-layer/actions/get-user-sub-accounts-addresses.js +1 -1
  1411. package/dist/symmio-contracts/account-layer/actions/get-user-sub-accounts-addresses.js.map +1 -1
  1412. package/dist/symmio-contracts/account-layer/actions/get-user-sub-accounts.js +1 -1
  1413. package/dist/symmio-contracts/account-layer/actions/get-user-sub-accounts.js.map +1 -1
  1414. package/dist/symmio-contracts/account-layer/actions/get-virtual-account.d.ts +1 -1
  1415. package/dist/symmio-contracts/account-layer/actions/get-virtual-account.js +1 -1
  1416. package/dist/symmio-contracts/account-layer/actions/get-virtual-account.js.map +1 -1
  1417. package/dist/symmio-contracts/account-layer/actions/get-virtual-accounts-addresses-of-sub-account.d.ts +1 -1
  1418. package/dist/symmio-contracts/account-layer/actions/get-virtual-accounts-addresses-of-sub-account.js +1 -1
  1419. package/dist/symmio-contracts/account-layer/actions/get-virtual-accounts-addresses-of-sub-account.js.map +1 -1
  1420. package/dist/symmio-contracts/account-layer/actions/predict-next-virtual-account.js +1 -1
  1421. package/dist/symmio-contracts/account-layer/actions/predict-next-virtual-account.js.map +1 -1
  1422. package/dist/symmio-contracts/account-layer/actions/remove-margin.js +1 -1
  1423. package/dist/symmio-contracts/account-layer/actions/remove-margin.js.map +1 -1
  1424. package/dist/symmio-contracts/account-layer/actions/request-to-register-affiliate.js +1 -1
  1425. package/dist/symmio-contracts/account-layer/actions/request-to-register-affiliate.js.map +1 -1
  1426. package/dist/symmio-contracts/account-layer/actions/simulate-add-margin.d.ts +1 -1
  1427. package/dist/symmio-contracts/account-layer/actions/simulate-add-margin.js +1 -1
  1428. package/dist/symmio-contracts/account-layer/actions/simulate-add-margin.js.map +1 -1
  1429. package/dist/symmio-contracts/account-layer/actions/simulate-cancel-registration.d.ts +1 -1
  1430. package/dist/symmio-contracts/account-layer/actions/simulate-cancel-registration.js +1 -1
  1431. package/dist/symmio-contracts/account-layer/actions/simulate-cancel-registration.js.map +1 -1
  1432. package/dist/symmio-contracts/account-layer/actions/simulate-create-sub-accounts.d.ts +1 -1
  1433. package/dist/symmio-contracts/account-layer/actions/simulate-create-sub-accounts.js +1 -1
  1434. package/dist/symmio-contracts/account-layer/actions/simulate-create-sub-accounts.js.map +1 -1
  1435. package/dist/symmio-contracts/account-layer/actions/simulate-delete-sub-account.d.ts +1 -1
  1436. package/dist/symmio-contracts/account-layer/actions/simulate-delete-sub-account.js +1 -1
  1437. package/dist/symmio-contracts/account-layer/actions/simulate-delete-sub-account.js.map +1 -1
  1438. package/dist/symmio-contracts/account-layer/actions/simulate-deposit-and-allocate-for-account.d.ts +1 -1
  1439. package/dist/symmio-contracts/account-layer/actions/simulate-deposit-and-allocate-for-account.js +1 -1
  1440. package/dist/symmio-contracts/account-layer/actions/simulate-deposit-and-allocate-for-account.js.map +1 -1
  1441. package/dist/symmio-contracts/account-layer/actions/simulate-deposit-for-account.d.ts +1 -1
  1442. package/dist/symmio-contracts/account-layer/actions/simulate-deposit-for-account.js +1 -1
  1443. package/dist/symmio-contracts/account-layer/actions/simulate-deposit-for-account.js.map +1 -1
  1444. package/dist/symmio-contracts/account-layer/actions/simulate-edit-account-name.d.ts +1 -1
  1445. package/dist/symmio-contracts/account-layer/actions/simulate-edit-account-name.js +1 -1
  1446. package/dist/symmio-contracts/account-layer/actions/simulate-edit-account-name.js.map +1 -1
  1447. package/dist/symmio-contracts/account-layer/actions/simulate-remove-margin.d.ts +1 -1
  1448. package/dist/symmio-contracts/account-layer/actions/simulate-remove-margin.js +1 -1
  1449. package/dist/symmio-contracts/account-layer/actions/simulate-remove-margin.js.map +1 -1
  1450. package/dist/symmio-contracts/account-layer/actions/simulate-request-to-register-affiliate.d.ts +1 -1
  1451. package/dist/symmio-contracts/account-layer/actions/simulate-request-to-register-affiliate.js +1 -1
  1452. package/dist/symmio-contracts/account-layer/actions/simulate-request-to-register-affiliate.js.map +1 -1
  1453. package/dist/symmio-contracts/account-layer/calculate-available-for-order.d.ts +39 -0
  1454. package/dist/symmio-contracts/account-layer/calculate-available-for-order.d.ts.map +1 -0
  1455. package/dist/symmio-contracts/account-layer/calculate-available-for-order.js +14 -0
  1456. package/dist/symmio-contracts/account-layer/calculate-available-for-order.js.map +1 -0
  1457. package/dist/symmio-contracts/account-layer/index.d.ts +1 -0
  1458. package/dist/symmio-contracts/account-layer/index.d.ts.map +1 -1
  1459. package/dist/symmio-contracts/account-layer/types.d.ts +10 -10
  1460. package/dist/symmio-contracts/account-layer/types.js.map +1 -1
  1461. package/dist/symmio-contracts/instant-layer/actions/get-delegation-expiry.js +1 -1
  1462. package/dist/symmio-contracts/instant-layer/actions/get-delegation-expiry.js.map +1 -1
  1463. package/dist/symmio-contracts/instant-layer/actions/get-is-delegation-active.js +1 -1
  1464. package/dist/symmio-contracts/instant-layer/actions/get-is-delegation-active.js.map +1 -1
  1465. package/dist/symmio-contracts/instant-layer/actions/grant-delegation.js +1 -1
  1466. package/dist/symmio-contracts/instant-layer/actions/grant-delegation.js.map +1 -1
  1467. package/dist/symmio-contracts/instant-layer/actions/simulate-grant-delegation.d.ts +1 -1
  1468. package/dist/symmio-contracts/instant-layer/actions/simulate-grant-delegation.js +1 -1
  1469. package/dist/symmio-contracts/instant-layer/actions/simulate-grant-delegation.js.map +1 -1
  1470. package/dist/symmio-contracts/symmio/actions/allocate.js +1 -1
  1471. package/dist/symmio-contracts/symmio/actions/allocate.js.map +1 -1
  1472. package/dist/symmio-contracts/symmio/actions/deallocate-and-initiate-withdraw.d.ts +95 -0
  1473. package/dist/symmio-contracts/symmio/actions/deallocate-and-initiate-withdraw.d.ts.map +1 -0
  1474. package/dist/symmio-contracts/symmio/actions/deallocate-and-initiate-withdraw.js +34 -0
  1475. package/dist/symmio-contracts/symmio/actions/deallocate-and-initiate-withdraw.js.map +1 -0
  1476. package/dist/symmio-contracts/symmio/actions/deallocate.d.ts +10 -5
  1477. package/dist/symmio-contracts/symmio/actions/deallocate.d.ts.map +1 -1
  1478. package/dist/symmio-contracts/symmio/actions/deallocate.js +16 -12
  1479. package/dist/symmio-contracts/symmio/actions/deallocate.js.map +1 -1
  1480. package/dist/symmio-contracts/symmio/actions/finalize-withdraw-request.js +1 -1
  1481. package/dist/symmio-contracts/symmio/actions/finalize-withdraw-request.js.map +1 -1
  1482. package/dist/symmio-contracts/symmio/actions/force-cancel-close-request.d.ts +41 -0
  1483. package/dist/symmio-contracts/symmio/actions/force-cancel-close-request.d.ts.map +1 -0
  1484. package/dist/symmio-contracts/symmio/actions/force-cancel-close-request.js +22 -0
  1485. package/dist/symmio-contracts/symmio/actions/force-cancel-close-request.js.map +1 -0
  1486. package/dist/symmio-contracts/symmio/actions/force-cancel-quote.d.ts +41 -0
  1487. package/dist/symmio-contracts/symmio/actions/force-cancel-quote.d.ts.map +1 -0
  1488. package/dist/symmio-contracts/symmio/actions/force-cancel-quote.js +22 -0
  1489. package/dist/symmio-contracts/symmio/actions/force-cancel-quote.js.map +1 -0
  1490. package/dist/symmio-contracts/symmio/actions/get-cool-downs-of-ma.d.ts +34 -0
  1491. package/dist/symmio-contracts/symmio/actions/get-cool-downs-of-ma.d.ts.map +1 -0
  1492. package/dist/symmio-contracts/symmio/actions/get-cool-downs-of-ma.js +14 -0
  1493. package/dist/symmio-contracts/symmio/actions/get-cool-downs-of-ma.js.map +1 -0
  1494. package/dist/symmio-contracts/symmio/actions/get-fee-for-user.js +1 -1
  1495. package/dist/symmio-contracts/symmio/actions/get-fee-for-user.js.map +1 -1
  1496. package/dist/symmio-contracts/symmio/actions/get-last-withdraw-request-id.js +1 -1
  1497. package/dist/symmio-contracts/symmio/actions/get-last-withdraw-request-id.js.map +1 -1
  1498. package/dist/symmio-contracts/symmio/actions/get-onchain-contract-markets.js +1 -1
  1499. package/dist/symmio-contracts/symmio/actions/get-onchain-contract-markets.js.map +1 -1
  1500. package/dist/symmio-contracts/symmio/actions/get-party-a-open-positions.js +1 -1
  1501. package/dist/symmio-contracts/symmio/actions/get-party-a-open-positions.js.map +1 -1
  1502. package/dist/symmio-contracts/symmio/actions/get-party-a-pending-quotes.js +1 -1
  1503. package/dist/symmio-contracts/symmio/actions/get-party-a-pending-quotes.js.map +1 -1
  1504. package/dist/symmio-contracts/symmio/actions/get-pending-quotes.d.ts +39 -0
  1505. package/dist/symmio-contracts/symmio/actions/get-pending-quotes.d.ts.map +1 -0
  1506. package/dist/symmio-contracts/symmio/actions/get-pending-quotes.js +29 -0
  1507. package/dist/symmio-contracts/symmio/actions/get-pending-quotes.js.map +1 -0
  1508. package/dist/symmio-contracts/symmio/actions/get-pending-withdraw-requests.d.ts.map +1 -1
  1509. package/dist/symmio-contracts/symmio/actions/get-pending-withdraw-requests.js +10 -9
  1510. package/dist/symmio-contracts/symmio/actions/get-pending-withdraw-requests.js.map +1 -1
  1511. package/dist/symmio-contracts/symmio/actions/get-quote.js +1 -1
  1512. package/dist/symmio-contracts/symmio/actions/get-quote.js.map +1 -1
  1513. package/dist/symmio-contracts/symmio/actions/get-withdraw-requests.d.ts.map +1 -1
  1514. package/dist/symmio-contracts/symmio/actions/get-withdraw-requests.js +9 -8
  1515. package/dist/symmio-contracts/symmio/actions/get-withdraw-requests.js.map +1 -1
  1516. package/dist/symmio-contracts/symmio/actions/get-withdrawable-time.js +1 -1
  1517. package/dist/symmio-contracts/symmio/actions/get-withdrawable-time.js.map +1 -1
  1518. package/dist/symmio-contracts/symmio/actions/initiate-withdraw.d.ts +1 -1
  1519. package/dist/symmio-contracts/symmio/actions/initiate-withdraw.js +1 -1
  1520. package/dist/symmio-contracts/symmio/actions/initiate-withdraw.js.map +1 -1
  1521. package/dist/symmio-contracts/symmio/actions/request-cancel-withdraw.js +1 -1
  1522. package/dist/symmio-contracts/symmio/actions/request-cancel-withdraw.js.map +1 -1
  1523. package/dist/symmio-contracts/symmio/actions/request-to-cancel-close-request.d.ts +41 -0
  1524. package/dist/symmio-contracts/symmio/actions/request-to-cancel-close-request.d.ts.map +1 -0
  1525. package/dist/symmio-contracts/symmio/actions/request-to-cancel-close-request.js +22 -0
  1526. package/dist/symmio-contracts/symmio/actions/request-to-cancel-close-request.js.map +1 -0
  1527. package/dist/symmio-contracts/symmio/actions/request-to-cancel-quote.d.ts +39 -0
  1528. package/dist/symmio-contracts/symmio/actions/request-to-cancel-quote.d.ts.map +1 -0
  1529. package/dist/symmio-contracts/symmio/actions/request-to-cancel-quote.js +22 -0
  1530. package/dist/symmio-contracts/symmio/actions/request-to-cancel-quote.js.map +1 -0
  1531. package/dist/symmio-contracts/symmio/actions/simulate-allocate.js +1 -1
  1532. package/dist/symmio-contracts/symmio/actions/simulate-allocate.js.map +1 -1
  1533. package/dist/symmio-contracts/symmio/actions/simulate-deallocate-and-initiate-withdraw.d.ts +33 -0
  1534. package/dist/symmio-contracts/symmio/actions/simulate-deallocate-and-initiate-withdraw.d.ts.map +1 -0
  1535. package/dist/symmio-contracts/symmio/actions/simulate-deallocate-and-initiate-withdraw.js +33 -0
  1536. package/dist/symmio-contracts/symmio/actions/simulate-deallocate-and-initiate-withdraw.js.map +1 -0
  1537. package/dist/symmio-contracts/symmio/actions/simulate-deallocate.d.ts +2 -1
  1538. package/dist/symmio-contracts/symmio/actions/simulate-deallocate.d.ts.map +1 -1
  1539. package/dist/symmio-contracts/symmio/actions/simulate-deallocate.js +14 -10
  1540. package/dist/symmio-contracts/symmio/actions/simulate-deallocate.js.map +1 -1
  1541. package/dist/symmio-contracts/symmio/actions/simulate-finalize-withdraw-request.d.ts +1 -1
  1542. package/dist/symmio-contracts/symmio/actions/simulate-finalize-withdraw-request.js +1 -1
  1543. package/dist/symmio-contracts/symmio/actions/simulate-finalize-withdraw-request.js.map +1 -1
  1544. package/dist/symmio-contracts/symmio/actions/simulate-initiate-withdraw.js +1 -1
  1545. package/dist/symmio-contracts/symmio/actions/simulate-initiate-withdraw.js.map +1 -1
  1546. package/dist/symmio-contracts/symmio/actions/simulate-request-cancel-withdraw.js +1 -1
  1547. package/dist/symmio-contracts/symmio/actions/simulate-request-cancel-withdraw.js.map +1 -1
  1548. package/dist/symmio-contracts/symmio/actions/withdraw-auto.d.ts +96 -0
  1549. package/dist/symmio-contracts/symmio/actions/withdraw-auto.d.ts.map +1 -0
  1550. package/dist/symmio-contracts/symmio/actions/withdraw-auto.js +31 -0
  1551. package/dist/symmio-contracts/symmio/actions/withdraw-auto.js.map +1 -0
  1552. package/dist/symmio-contracts/symmio/actions/withdraw.d.ts +109 -0
  1553. package/dist/symmio-contracts/symmio/actions/withdraw.d.ts.map +1 -0
  1554. package/dist/symmio-contracts/symmio/actions/withdraw.js +34 -0
  1555. package/dist/symmio-contracts/symmio/actions/withdraw.js.map +1 -0
  1556. package/dist/symmio-contracts/symmio/index.d.ts +20 -0
  1557. package/dist/symmio-contracts/symmio/index.d.ts.map +1 -1
  1558. package/dist/symmio-contracts/symmio/internal/call-as-sub-account.d.ts +8 -2
  1559. package/dist/symmio-contracts/symmio/internal/call-as-sub-account.d.ts.map +1 -1
  1560. package/dist/symmio-contracts/symmio/internal/call-as-sub-account.js +8 -8
  1561. package/dist/symmio-contracts/symmio/internal/call-as-sub-account.js.map +1 -1
  1562. package/dist/symmio-contracts/symmio/internal/simulate-call-as-sub-account.d.ts +5 -3
  1563. package/dist/symmio-contracts/symmio/internal/simulate-call-as-sub-account.d.ts.map +1 -1
  1564. package/dist/symmio-contracts/symmio/internal/simulate-call-as-sub-account.js +4 -4
  1565. package/dist/symmio-contracts/symmio/internal/simulate-call-as-sub-account.js.map +1 -1
  1566. package/dist/symmio-contracts/symmio/internal/withdraw-requests-v0-8-5.d.ts +214 -0
  1567. package/dist/symmio-contracts/symmio/internal/withdraw-requests-v0-8-5.d.ts.map +1 -0
  1568. package/dist/symmio-contracts/symmio/internal/withdraw-requests-v0-8-5.js +248 -0
  1569. package/dist/symmio-contracts/symmio/internal/withdraw-requests-v0-8-5.js.map +1 -0
  1570. package/dist/symmio-contracts/symmio/parts.d.ts +1 -1
  1571. package/dist/symmio-contracts/symmio/parts.js.map +1 -1
  1572. package/dist/symmio-contracts/symmio/query/deallocate-and-initiate-withdraw.d.ts +24 -0
  1573. package/dist/symmio-contracts/symmio/query/deallocate-and-initiate-withdraw.d.ts.map +1 -0
  1574. package/dist/symmio-contracts/symmio/query/deallocate-and-initiate-withdraw.js +12 -0
  1575. package/dist/symmio-contracts/symmio/query/deallocate-and-initiate-withdraw.js.map +1 -0
  1576. package/dist/symmio-contracts/symmio/query/force-cancel-close-request.d.ts +21 -0
  1577. package/dist/symmio-contracts/symmio/query/force-cancel-close-request.d.ts.map +1 -0
  1578. package/dist/symmio-contracts/symmio/query/force-cancel-close-request.js +12 -0
  1579. package/dist/symmio-contracts/symmio/query/force-cancel-close-request.js.map +1 -0
  1580. package/dist/symmio-contracts/symmio/query/force-cancel-quote.d.ts +21 -0
  1581. package/dist/symmio-contracts/symmio/query/force-cancel-quote.d.ts.map +1 -0
  1582. package/dist/symmio-contracts/symmio/query/force-cancel-quote.js +12 -0
  1583. package/dist/symmio-contracts/symmio/query/force-cancel-quote.js.map +1 -0
  1584. package/dist/symmio-contracts/symmio/query/get-cool-downs-of-ma.d.ts +35 -0
  1585. package/dist/symmio-contracts/symmio/query/get-cool-downs-of-ma.d.ts.map +1 -0
  1586. package/dist/symmio-contracts/symmio/query/get-cool-downs-of-ma.js +21 -0
  1587. package/dist/symmio-contracts/symmio/query/get-cool-downs-of-ma.js.map +1 -0
  1588. package/dist/symmio-contracts/symmio/query/get-pending-quotes.d.ts +38 -0
  1589. package/dist/symmio-contracts/symmio/query/get-pending-quotes.d.ts.map +1 -0
  1590. package/dist/symmio-contracts/symmio/query/get-pending-quotes.js +30 -0
  1591. package/dist/symmio-contracts/symmio/query/get-pending-quotes.js.map +1 -0
  1592. package/dist/symmio-contracts/symmio/query/request-to-cancel-close-request.d.ts +21 -0
  1593. package/dist/symmio-contracts/symmio/query/request-to-cancel-close-request.d.ts.map +1 -0
  1594. package/dist/symmio-contracts/symmio/query/request-to-cancel-close-request.js +12 -0
  1595. package/dist/symmio-contracts/symmio/query/request-to-cancel-close-request.js.map +1 -0
  1596. package/dist/symmio-contracts/symmio/query/request-to-cancel-quote.d.ts +22 -0
  1597. package/dist/symmio-contracts/symmio/query/request-to-cancel-quote.d.ts.map +1 -0
  1598. package/dist/symmio-contracts/symmio/query/request-to-cancel-quote.js +12 -0
  1599. package/dist/symmio-contracts/symmio/query/request-to-cancel-quote.js.map +1 -0
  1600. package/dist/symmio-contracts/symmio/query/simulate-deallocate-and-initiate-withdraw.d.ts +20 -0
  1601. package/dist/symmio-contracts/symmio/query/simulate-deallocate-and-initiate-withdraw.d.ts.map +1 -0
  1602. package/dist/symmio-contracts/symmio/query/simulate-deallocate-and-initiate-withdraw.js +12 -0
  1603. package/dist/symmio-contracts/symmio/query/simulate-deallocate-and-initiate-withdraw.js.map +1 -0
  1604. package/dist/symmio-contracts/symmio/query/withdraw-auto.d.ts +26 -0
  1605. package/dist/symmio-contracts/symmio/query/withdraw-auto.d.ts.map +1 -0
  1606. package/dist/symmio-contracts/symmio/query/withdraw-auto.js +12 -0
  1607. package/dist/symmio-contracts/symmio/query/withdraw-auto.js.map +1 -0
  1608. package/dist/symmio-contracts/symmio/query/withdraw.d.ts +25 -0
  1609. package/dist/symmio-contracts/symmio/query/withdraw.d.ts.map +1 -0
  1610. package/dist/symmio-contracts/symmio/query/withdraw.js +12 -0
  1611. package/dist/symmio-contracts/symmio/query/withdraw.js.map +1 -0
  1612. package/dist/symmio-contracts/symmio/types.d.ts +111 -18
  1613. package/dist/symmio-contracts/symmio/types.d.ts.map +1 -1
  1614. package/dist/symmio-contracts/symmio/types.js.map +1 -1
  1615. package/dist/symmio-subgraph/types/generated/analytics/gql.d.ts +13 -1
  1616. package/dist/symmio-subgraph/types/generated/analytics/gql.d.ts.map +1 -1
  1617. package/dist/symmio-subgraph/types/generated/analytics/gql.js +11 -8
  1618. package/dist/symmio-subgraph/types/generated/analytics/gql.js.map +1 -1
  1619. package/dist/symmio-subgraph/types/generated/analytics/graphql.d.ts +96 -0
  1620. package/dist/symmio-subgraph/types/generated/analytics/graphql.d.ts.map +1 -1
  1621. package/dist/symmio-subgraph/types/generated/analytics/graphql.js +2 -2
  1622. package/dist/symmio-subgraph/types/generated/analytics/graphql.js.map +1 -1
  1623. package/dist/tpsl/get-quote-tpsl/get-quote-tpsl.d.ts +5 -1
  1624. package/dist/tpsl/get-quote-tpsl/get-quote-tpsl.d.ts.map +1 -1
  1625. package/dist/tpsl/get-quote-tpsl/get-quote-tpsl.js +13 -7
  1626. package/dist/tpsl/get-quote-tpsl/get-quote-tpsl.js.map +1 -1
  1627. package/dist/tpsl/grouping/estimate-group-tpsl-return.d.ts +35 -0
  1628. package/dist/tpsl/grouping/estimate-group-tpsl-return.d.ts.map +1 -0
  1629. package/dist/tpsl/grouping/estimate-group-tpsl-return.js +30 -0
  1630. package/dist/tpsl/grouping/estimate-group-tpsl-return.js.map +1 -0
  1631. package/dist/tpsl/grouping/index.d.ts +10 -0
  1632. package/dist/tpsl/grouping/index.d.ts.map +1 -0
  1633. package/dist/tpsl/grouping/notional.d.ts +22 -0
  1634. package/dist/tpsl/grouping/notional.d.ts.map +1 -0
  1635. package/dist/tpsl/grouping/notional.js +13 -0
  1636. package/dist/tpsl/grouping/notional.js.map +1 -0
  1637. package/dist/tpsl/grouping/plan-group-tpsl/index.d.ts +2 -0
  1638. package/dist/tpsl/grouping/plan-group-tpsl/index.d.ts.map +1 -0
  1639. package/dist/tpsl/grouping/plan-group-tpsl/plan-group-tpsl.d.ts +66 -0
  1640. package/dist/tpsl/grouping/plan-group-tpsl/plan-group-tpsl.d.ts.map +1 -0
  1641. package/dist/tpsl/grouping/plan-group-tpsl/plan-group-tpsl.js +142 -0
  1642. package/dist/tpsl/grouping/plan-group-tpsl/plan-group-tpsl.js.map +1 -0
  1643. package/dist/tpsl/grouping/plan-group-tpsl-delete.d.ts +24 -0
  1644. package/dist/tpsl/grouping/plan-group-tpsl-delete.d.ts.map +1 -0
  1645. package/dist/tpsl/grouping/plan-group-tpsl-delete.js +51 -0
  1646. package/dist/tpsl/grouping/plan-group-tpsl-delete.js.map +1 -0
  1647. package/dist/tpsl/grouping/resolve-child-side.d.ts +44 -0
  1648. package/dist/tpsl/grouping/resolve-child-side.d.ts.map +1 -0
  1649. package/dist/tpsl/grouping/resolve-child-side.js +21 -0
  1650. package/dist/tpsl/grouping/resolve-child-side.js.map +1 -0
  1651. package/dist/tpsl/grouping/summarize-group-tpsl.d.ts +39 -0
  1652. package/dist/tpsl/grouping/summarize-group-tpsl.d.ts.map +1 -0
  1653. package/dist/tpsl/grouping/summarize-group-tpsl.js +42 -0
  1654. package/dist/tpsl/grouping/summarize-group-tpsl.js.map +1 -0
  1655. package/dist/tpsl/grouping/to-group-tpsl-children.d.ts +33 -0
  1656. package/dist/tpsl/grouping/to-group-tpsl-children.d.ts.map +1 -0
  1657. package/dist/tpsl/grouping/to-group-tpsl-children.js +30 -0
  1658. package/dist/tpsl/grouping/to-group-tpsl-children.js.map +1 -0
  1659. package/dist/tpsl/grouping/to-group-tpsl-orders.d.ts +21 -0
  1660. package/dist/tpsl/grouping/to-group-tpsl-orders.d.ts.map +1 -0
  1661. package/dist/tpsl/grouping/to-group-tpsl-orders.js +33 -0
  1662. package/dist/tpsl/grouping/to-group-tpsl-orders.js.map +1 -0
  1663. package/dist/tpsl/grouping/types.d.ts +294 -0
  1664. package/dist/tpsl/grouping/types.d.ts.map +1 -0
  1665. package/dist/tpsl/index.d.ts +3 -0
  1666. package/dist/tpsl/index.d.ts.map +1 -1
  1667. package/dist/tpsl/internal/resolve-tpsl-config.d.ts +2 -2
  1668. package/dist/tpsl/internal/resolve-tpsl-config.d.ts.map +1 -1
  1669. package/dist/tpsl/internal/resolve-tpsl-config.js +7 -4
  1670. package/dist/tpsl/internal/resolve-tpsl-config.js.map +1 -1
  1671. package/dist/tpsl/search-tpsl-orders/index.d.ts +3 -0
  1672. package/dist/tpsl/search-tpsl-orders/index.d.ts.map +1 -0
  1673. package/dist/tpsl/search-tpsl-orders/query.d.ts +19 -0
  1674. package/dist/tpsl/search-tpsl-orders/query.d.ts.map +1 -0
  1675. package/dist/tpsl/search-tpsl-orders/query.js +21 -0
  1676. package/dist/tpsl/search-tpsl-orders/query.js.map +1 -0
  1677. package/dist/tpsl/search-tpsl-orders/search-tpsl-orders.d.ts +102 -0
  1678. package/dist/tpsl/search-tpsl-orders/search-tpsl-orders.d.ts.map +1 -0
  1679. package/dist/tpsl/search-tpsl-orders/search-tpsl-orders.js +47 -0
  1680. package/dist/tpsl/search-tpsl-orders/search-tpsl-orders.js.map +1 -0
  1681. package/dist/tpsl/set-quote-tpsl/build-conditional-order-leg.d.ts +1 -1
  1682. package/dist/tpsl/set-quote-tpsl/build-conditional-order-leg.js.map +1 -1
  1683. package/dist/tpsl/slippage.d.ts +3 -3
  1684. package/dist/tpsl/slippage.js.map +1 -1
  1685. package/dist/tpsl/supports-tpsl.d.ts +27 -0
  1686. package/dist/tpsl/supports-tpsl.d.ts.map +1 -0
  1687. package/dist/tpsl/supports-tpsl.js +15 -0
  1688. package/dist/tpsl/supports-tpsl.js.map +1 -0
  1689. package/dist/tpsl/types/generated/tpsl-handler.js +6 -4
  1690. package/dist/tpsl/types/generated/tpsl-handler.js.map +1 -1
  1691. package/dist/tpsl/types.d.ts +14 -0
  1692. package/dist/tpsl/types.d.ts.map +1 -1
  1693. package/dist/tpsl/types.js +8 -0
  1694. package/dist/tpsl/types.js.map +1 -0
  1695. package/dist/tpsl/validate-tpsl.d.ts +1 -1
  1696. package/dist/tpsl/validate-tpsl.js.map +1 -1
  1697. package/dist/websocket/notifications/adapters/enigma-notifications.d.ts +42 -0
  1698. package/dist/websocket/notifications/adapters/enigma-notifications.d.ts.map +1 -0
  1699. package/dist/websocket/notifications/adapters/enigma-notifications.js +63 -0
  1700. package/dist/websocket/notifications/adapters/enigma-notifications.js.map +1 -0
  1701. package/dist/websocket/notifications/adapters/index.d.ts +4 -0
  1702. package/dist/websocket/notifications/adapters/index.d.ts.map +1 -0
  1703. package/dist/websocket/notifications/adapters/rasa-notifications-hub.d.ts +36 -0
  1704. package/dist/websocket/notifications/adapters/rasa-notifications-hub.d.ts.map +1 -0
  1705. package/dist/websocket/notifications/adapters/rasa-notifications-hub.js +50 -0
  1706. package/dist/websocket/notifications/adapters/rasa-notifications-hub.js.map +1 -0
  1707. package/dist/websocket/notifications/adapters/rasa-notifications.d.ts +24 -0
  1708. package/dist/websocket/notifications/adapters/rasa-notifications.d.ts.map +1 -0
  1709. package/dist/websocket/notifications/adapters/rasa-notifications.js +43 -0
  1710. package/dist/websocket/notifications/adapters/rasa-notifications.js.map +1 -0
  1711. package/dist/websocket/notifications/index.d.ts +3 -1
  1712. package/dist/websocket/notifications/index.d.ts.map +1 -1
  1713. package/dist/websocket/notifications/normalize-notification.d.ts +6 -3
  1714. package/dist/websocket/notifications/normalize-notification.d.ts.map +1 -1
  1715. package/dist/websocket/notifications/normalize-notification.js +10 -7
  1716. package/dist/websocket/notifications/normalize-notification.js.map +1 -1
  1717. package/dist/websocket/notifications/parse-frame-payload.d.ts +7 -0
  1718. package/dist/websocket/notifications/parse-frame-payload.d.ts.map +1 -0
  1719. package/dist/websocket/notifications/parse-frame-payload.js +14 -0
  1720. package/dist/websocket/notifications/parse-frame-payload.js.map +1 -0
  1721. package/dist/websocket/notifications/parse-notification-frame.d.ts +13 -6
  1722. package/dist/websocket/notifications/parse-notification-frame.d.ts.map +1 -1
  1723. package/dist/websocket/notifications/parse-notification-frame.js +7 -16
  1724. package/dist/websocket/notifications/parse-notification-frame.js.map +1 -1
  1725. package/dist/websocket/notifications/to-notifications-error.d.ts +8 -0
  1726. package/dist/websocket/notifications/to-notifications-error.d.ts.map +1 -0
  1727. package/dist/websocket/notifications/to-notifications-error.js +11 -0
  1728. package/dist/websocket/notifications/to-notifications-error.js.map +1 -0
  1729. package/dist/websocket/notifications/types.d.ts +90 -19
  1730. package/dist/websocket/notifications/types.d.ts.map +1 -1
  1731. package/dist/websocket/notifications/types.js.map +1 -1
  1732. package/dist/websocket/notifications/watch-notifications.d.ts +11 -27
  1733. package/dist/websocket/notifications/watch-notifications.d.ts.map +1 -1
  1734. package/dist/websocket/notifications/watch-notifications.js +11 -42
  1735. package/dist/websocket/notifications/watch-notifications.js.map +1 -1
  1736. package/dist/websocket/prices/index.d.ts +3 -0
  1737. package/dist/websocket/prices/index.d.ts.map +1 -1
  1738. package/dist/websocket/prices/parse-binance-price-frame.d.ts +25 -0
  1739. package/dist/websocket/prices/parse-binance-price-frame.d.ts.map +1 -0
  1740. package/dist/websocket/prices/parse-binance-price-frame.js +55 -0
  1741. package/dist/websocket/prices/parse-binance-price-frame.js.map +1 -0
  1742. package/dist/websocket/prices/watch-binance-prices.d.ts +89 -0
  1743. package/dist/websocket/prices/watch-binance-prices.d.ts.map +1 -0
  1744. package/dist/websocket/prices/watch-binance-prices.js +53 -0
  1745. package/dist/websocket/prices/watch-binance-prices.js.map +1 -0
  1746. package/dist/websocket/prices/watch-enigma-prices.d.ts +6 -1
  1747. package/dist/websocket/prices/watch-enigma-prices.d.ts.map +1 -1
  1748. package/dist/websocket/prices/watch-enigma-prices.js +24 -15
  1749. package/dist/websocket/prices/watch-enigma-prices.js.map +1 -1
  1750. package/dist/websocket/prices/watch-prices.d.ts +66 -0
  1751. package/dist/websocket/prices/watch-prices.d.ts.map +1 -0
  1752. package/dist/websocket/prices/watch-prices.js +40 -0
  1753. package/dist/websocket/prices/watch-prices.js.map +1 -0
  1754. package/dist/websocket/tpsl/parse-tpsl-frame.d.ts +2 -2
  1755. package/dist/websocket/tpsl/parse-tpsl-frame.js.map +1 -1
  1756. package/dist/websocket/tpsl/types.d.ts +1 -1
  1757. package/dist/websocket/tpsl/watch-tpsl-notifications.d.ts +2 -2
  1758. package/dist/websocket/tpsl/watch-tpsl-notifications.js +6 -6
  1759. package/dist/websocket/tpsl/watch-tpsl-notifications.js.map +1 -1
  1760. package/package.json +1 -1
  1761. package/dist/solvers/instant-open/get-instant-opens/to-pending-instant-open.d.ts.map +0 -1
  1762. package/dist/solvers/instant-open/get-instant-opens/to-pending-instant-open.js +0 -22
  1763. package/dist/solvers/instant-open/get-instant-opens/to-pending-instant-open.js.map +0 -1
  1764. package/dist/solvers/market-info/to-market-info.d.ts +0 -13
  1765. package/dist/solvers/market-info/to-market-info.d.ts.map +0 -1
  1766. package/dist/solvers/market-info/to-market-info.js +0 -28
  1767. package/dist/solvers/market-info/to-market-info.js.map +0 -1
  1768. package/dist/solvers/notional-cap/to-market-notional-cap.d.ts +0 -9
  1769. package/dist/solvers/notional-cap/to-market-notional-cap.d.ts.map +0 -1
  1770. package/dist/solvers/notional-cap/to-market-notional-cap.js +0 -22
  1771. package/dist/solvers/notional-cap/to-market-notional-cap.js.map +0 -1
  1772. package/dist/symmio-contracts/abi/v0.8.5/account-layer.js.map +0 -1
  1773. package/dist/symmio-contracts/abi/v0.8.5/instant-layer.js.map +0 -1
  1774. package/dist/symmio-contracts/abi/v0.8.5/symmio.js.map +0 -1
  1775. package/dist/websocket/notifications/build-subscribe-message.d.ts +0 -24
  1776. package/dist/websocket/notifications/build-subscribe-message.d.ts.map +0 -1
  1777. package/dist/websocket/notifications/build-subscribe-message.js +0 -17
  1778. package/dist/websocket/notifications/build-subscribe-message.js.map +0 -1
  1779. /package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/index.d.ts +0 -0
@@ -0,0 +1,789 @@
1
+ import { MarketStatus } from './types/generated/listing-backend.js';
2
+ /**
3
+ * Fixed-point scale of every money and rate field the listing service returns.
4
+ *
5
+ * The service reports these as decimal **strings** at 18 decimals, regardless of
6
+ * the token's own decimals or the collateral's (`"1000000000000000000"` = `1`).
7
+ * The SDK keeps them as `bigint` at this scale so nothing is lost; format with
8
+ * `formatUnits(value, LISTING_VALUE_DECIMALS)` from `@symmio/utils/decimal` at
9
+ * the display edge.
10
+ *
11
+ * **What the descaled number means differs by field.** For money fields it is a
12
+ * USD amount (`1e18` = `$1`). For rate fields it is **already a percentage**
13
+ * (`1e18` = `1%`), *not* a fraction — do **not** multiply by 100 to render one.
14
+ *
15
+ * Verified against the live service: a pool with `tvl` `177.78` and `reward_24h`
16
+ * `0.0055` annualizes to `1.1295%`, and its `apr_24h` descales to exactly
17
+ * `1.1295`.
18
+ */
19
+ export declare const LISTING_VALUE_DECIMALS = 18;
20
+ /**
21
+ * Lifecycle status of a market in the permissionless-listing service.
22
+ *
23
+ * The service — not the chain — owns this state machine. A market becomes
24
+ * tradable only at {@link ListingMarketStatus.LISTED}; before that it has no
25
+ * `symbolId` and no solver market behind it.
26
+ *
27
+ * - `WAITING_FOR_DEPOSIT` — application accepted, the listing deposit has not
28
+ * landed at the custodial address yet.
29
+ * - `UNDER_REVIEW` — deposit received, awaiting the operator's decision.
30
+ * - `REJECTED` — the operator declined the listing; the deposit is refundable.
31
+ * - `LISTED` — live and tradable; `symbolId` is assigned.
32
+ * - `DELISTED` — was live, has since been withdrawn from trading.
33
+ */
34
+ export declare enum ListingMarketStatus {
35
+ WAITING_FOR_DEPOSIT = "waiting_for_deposit",
36
+ UNDER_REVIEW = "under_review",
37
+ REJECTED = "rejected",
38
+ LISTED = "listed",
39
+ DELISTED = "delisted"
40
+ }
41
+ /**
42
+ * Chains the listing service accepts a listing deposit on.
43
+ *
44
+ * This is the chain the **token** lives on and where its listing collateral was
45
+ * deposited — it is **not** the chain the resulting market trades on. A market
46
+ * whose token is on Solana or BSC still trades on the SYMMIO deployment the
47
+ * listing service is configured for.
48
+ *
49
+ * `SOLANA = 0` is a sentinel the service uses for its one non-EVM chain, not a
50
+ * real chain id: a `ListingMarket` on it carries a base58 `contractAddress`, so
51
+ * never feed one to an EVM address helper without checking `chainId` first.
52
+ */
53
+ export declare enum ListingDepositChainId {
54
+ /** Sentinel for Solana — not an EVM chain id. Addresses are base58. */
55
+ SOLANA = 0,
56
+ BSC = 56,
57
+ BASE = 8453,
58
+ SONIC = 146,
59
+ ARBITRUM_ONE = 42161,
60
+ HYPER_EVM = 999
61
+ }
62
+ /**
63
+ * The same metric measured over each trailing window the listing service
64
+ * reports.
65
+ *
66
+ * Every entry is a `bigint` at {@link LISTING_VALUE_DECIMALS}, or `null` when
67
+ * the service has no value for that window — a young market has no 30-day
68
+ * figure, and `null` means *absent*, never zero.
69
+ */
70
+ export interface ListingTrailingWindows {
71
+ /** Trailing 1 hour. */
72
+ h1: bigint | null;
73
+ /** Trailing 6 hours. */
74
+ h6: bigint | null;
75
+ /** Trailing 24 hours. */
76
+ h24: bigint | null;
77
+ /** Trailing 30 days. */
78
+ d30: bigint | null;
79
+ }
80
+ /**
81
+ * A metric the service reports over the trailing windows **and** since listing.
82
+ *
83
+ * Only the two APY series carry a lifetime column; APR does not, which is why
84
+ * `lifetime` lives here rather than on {@link ListingTrailingWindows}.
85
+ */
86
+ export interface ListingApyWindows extends ListingTrailingWindows {
87
+ /** Since the market was listed. */
88
+ lifetime: bigint | null;
89
+ }
90
+ /**
91
+ * One market in the permissionless-listing catalog — a row of the pools list.
92
+ *
93
+ * Money and rate fields are `bigint` at {@link LISTING_VALUE_DECIMALS}; `null`
94
+ * means the service reported no value, which is distinct from zero.
95
+ */
96
+ export interface ListingMarket {
97
+ /**
98
+ * The listed token's contract address on {@link ListingMarket.chainId}.
99
+ *
100
+ * Typed as `string`, **not** viem's `Address`: Solana listings
101
+ * (`chainId === ListingDepositChainId.SOLANA`) carry a base58 address that is
102
+ * not 0x-prefixed. This is also the id used to address a single market in the
103
+ * rest of the listing API.
104
+ */
105
+ contractAddress: string;
106
+ /** Chain the token lives on and its listing deposit was made on. */
107
+ chainId: ListingDepositChainId;
108
+ /**
109
+ * The solver market id this listing trades under, or `null` when it has none
110
+ * yet. Assigned when the market reaches {@link ListingMarketStatus.LISTED};
111
+ * everything downstream (prices, notional caps, quotes, subgraph rows) keys
112
+ * off it, so a `null` here means the market is not tradable.
113
+ */
114
+ symbolId: number | null;
115
+ /** Token ticker, e.g. `"SYMM"`. */
116
+ tokenTicker: string;
117
+ /** Token display name, e.g. `"Symmio"`. */
118
+ tokenName: string;
119
+ /** Maximum leverage the market allows, as a whole multiplier (`20` = 20x). */
120
+ maxLeverage: number;
121
+ /** Token market capitalization, in USD. */
122
+ marketCap: bigint | null;
123
+ /** Trailing 24-hour trading volume, in USD. */
124
+ vol24h: bigint | null;
125
+ /** Total value locked in the market's pool, in USD. */
126
+ tvl: bigint | null;
127
+ /** Notional the solver will still take on this market, in USD. */
128
+ liquidity: bigint | null;
129
+ /** Notional currently open on this market, in USD. */
130
+ openInterest: bigint | null;
131
+ /** LP rewards accrued over the trailing 24 hours, in USD. */
132
+ reward24h: bigint | null;
133
+ /** Headline APR: a percentage already (`1e18` = `1%`), not a fraction — render it without multiplying by 100. */
134
+ apr: bigint | null;
135
+ /**
136
+ * APR broken out per trailing window, same units as {@link ListingMarket.apr}.
137
+ * There is no lifetime APR — use {@link ListingMarket.apr} for the headline.
138
+ */
139
+ aprByWindow: ListingTrailingWindows;
140
+ /** APY attributed to TVL growth, per window: a percentage already (`1e18` = `1%`), not a fraction — render it without multiplying by 100. */
141
+ tvlDrivenApy: ListingApyWindows;
142
+ /** APY attributed to token price movement, per window: a percentage already (`1e18` = `1%`), not a fraction — render it without multiplying by 100. */
143
+ priceDrivenApy: ListingApyWindows;
144
+ /** When the market went live, as a Unix timestamp in **seconds**. `null` before it is listed. */
145
+ listingTime: number | null;
146
+ /** Where the market sits in the listing lifecycle. */
147
+ marketStatus: ListingMarketStatus;
148
+ }
149
+ /** One page of {@link ListingMarket} rows, with the totals needed to paginate. */
150
+ export interface ListingMarketPage {
151
+ /** Total rows matching the query across all pages. */
152
+ total: number;
153
+ /** Page size the service applied. */
154
+ limit: number;
155
+ /** Row offset of this page. */
156
+ offset: number;
157
+ /** The rows themselves. */
158
+ items: ListingMarket[];
159
+ }
160
+ /**
161
+ * A {@link ListingMarket} enriched with the signed-in user's position in it — one
162
+ * row of "Your Pools", the markets that generated a deposit address for the user.
163
+ */
164
+ export interface UserListingMarket extends ListingMarket {
165
+ /** The user's current deposit into this pool, in USD (18-dec bigint). `null` when the deposit address exists but nothing has been deposited yet. */
166
+ userDeposit: bigint | null;
167
+ /** The user's share of the pool, as a percentage number (not 18-dec scaled). */
168
+ userSharePercentage: number;
169
+ /** The user's accrued revenue from this pool, in USD (18-dec bigint), or `null` when absent. */
170
+ userRevenue: bigint | null;
171
+ }
172
+ /** One page of {@link UserListingMarket} rows, with the totals needed to paginate. */
173
+ export interface UserListingMarketPage {
174
+ /** Total rows matching the query across all pages. */
175
+ total: number;
176
+ /** Page size the service applied. */
177
+ limit: number;
178
+ /** Row offset of this page. */
179
+ offset: number;
180
+ /** The rows themselves. */
181
+ items: UserListingMarket[];
182
+ }
183
+ /**
184
+ * The signed-in user's LP position and profit in a single pool — the authed
185
+ * per-token read behind a pool's "your position" panel.
186
+ *
187
+ * Every field is a `bigint` at {@link LISTING_VALUE_DECIMALS} (18), independent
188
+ * of the token's or collateral's own decimals; format with
189
+ * `formatUnits(value, LISTING_VALUE_DECIMALS)` at the display edge. An absent
190
+ * figure is normalized to `0n`, not `null`.
191
+ */
192
+ export interface UserPoolProfit {
193
+ /** LP balance valued in the pool's token units, 18-dec bigint. */
194
+ userBalanceInTokens: bigint;
195
+ /** LP balance valued in USDC, 18-dec bigint USD. */
196
+ userBalanceInUsdc: bigint;
197
+ /** Rewards the user can claim now, 18-dec bigint USD. */
198
+ claimableReward: bigint;
199
+ /** Rewards already claimed, 18-dec bigint USD. */
200
+ claimedReward: bigint;
201
+ /** Token amount the user deposited, 18-dec bigint. */
202
+ userDepositedTokenAmount: bigint;
203
+ /** The user's LP shares, 18-dec bigint. */
204
+ userLpAmount: bigint;
205
+ /** LP shares queued for withdrawal (the pending-withdrawal amount), 18-dec bigint. */
206
+ pendingWithdrawLpAmount: bigint;
207
+ /**
208
+ * LP shares free to withdraw right now — `userLpAmount − pendingWithdrawLpAmount`,
209
+ * floored at `0n`. This is the ceiling a withdrawal (`withdrawLp`) may request;
210
+ * the shares already counted in {@link UserPoolProfit.pendingWithdrawLpAmount}
211
+ * are spoken for. Derived by the SDK, not a field the service returns. 18-dec
212
+ * bigint.
213
+ */
214
+ availableLpAmount: bigint;
215
+ }
216
+ /**
217
+ * The receipt returned by `claimProfit` — the outcome of a `/v2/claim` request.
218
+ *
219
+ * The claim is synchronous: a `200` means the USDC was moved to the target
220
+ * sub-account. `amountClaimed` is the moved figure normalized to a `bigint` at
221
+ * `LISTING_VALUE_DECIMALS` (18), `claimRequestId` references the claim in the
222
+ * service, and `transactionHash` is the on-chain transfer hash when the service
223
+ * has one (`null` otherwise).
224
+ */
225
+ export interface PoolClaimResult {
226
+ /** The service's status string, e.g. `"ok"`. */
227
+ status: string;
228
+ /** USDC moved to the sub-account, 18-dec bigint USD. */
229
+ amountClaimed: bigint;
230
+ /** Claim id — reference it to restore or look up the claim later. */
231
+ claimRequestId: string;
232
+ /** On-chain hash of the claim transfer, or `null` when the service has none yet. */
233
+ transactionHash: string | null;
234
+ }
235
+ /**
236
+ * One past pool-reward claim, from the user's claim history (`getClaimHistory`).
237
+ *
238
+ * The internal `wallet_id` / `market_id` UUIDs the service carries are dropped —
239
+ * they address rows in the backend, not anything a consumer renders.
240
+ */
241
+ export interface PoolClaim {
242
+ /** Claim id — reference it to look the claim up in the service. */
243
+ claimRequestId: string;
244
+ /** Sub-account address that received the claimed USDC. */
245
+ accountAddress: string;
246
+ /** USDC claimed, 18-dec bigint USD. */
247
+ amount: bigint;
248
+ /** On-chain hash of the claim transfer, or `null` when the service has none. */
249
+ transactionHash: string | null;
250
+ /** When the claim was created, Unix **seconds**. */
251
+ time: number;
252
+ }
253
+ /** One page of {@link PoolClaim} rows — the signed-in user's claim history. */
254
+ export interface PoolClaimHistoryPage {
255
+ /** Total claims matching the query across all pages — what a pager divides. */
256
+ count: number;
257
+ /** The claims themselves, newest first. */
258
+ items: PoolClaim[];
259
+ }
260
+ /**
261
+ * The receipt returned by `cancelWithdraw` — the outcome of cancelling a queued
262
+ * LP withdrawal.
263
+ */
264
+ export interface PoolCancelWithdrawResult {
265
+ /** The affected withdrawal's transaction id, echoed by the service. */
266
+ transactionId: string;
267
+ /**
268
+ * The withdrawal's resulting status, e.g. `"canceled"`. Carried through as the
269
+ * service's raw string — its enum (`canceled` | `pending` | `transferred` | …)
270
+ * is a superset of {@link PoolTransactionStatus}, so it is not narrowed to it.
271
+ */
272
+ status: string;
273
+ }
274
+ /**
275
+ * The receipt returned by `refundMarket` — the outcome of refunding a deposit on
276
+ * a rejected market.
277
+ */
278
+ export interface PoolRefundResult {
279
+ /** On-chain hash of the refund transfer. */
280
+ transactionHash: string;
281
+ }
282
+ /**
283
+ * The signed-in user's **retry allowance** for one rejected market
284
+ * (`getRetryListingInfo`) — how many listing retries remain and the cooldown
285
+ * before the next.
286
+ */
287
+ export interface RetryListingInfo {
288
+ /** Maximum retries allowed per market. */
289
+ retryLimit: number;
290
+ /** Retries the user has left for this market. */
291
+ remainingRetries: number;
292
+ /** Seconds until the next retry is allowed, or `null` when no cooldown is in effect. */
293
+ remainingCooldownSeconds: number | null;
294
+ }
295
+ /**
296
+ * The result of `retryListing` — the retry allowance left after re-submitting a
297
+ * rejected market.
298
+ */
299
+ export interface RetryListingResult {
300
+ /** Maximum retries allowed per market. */
301
+ retryLimit: number;
302
+ /** Retries left after this one. */
303
+ remainingRetries: number;
304
+ /** Seconds before the next retry is allowed. */
305
+ cooldownSeconds: number;
306
+ }
307
+ /**
308
+ * The signed-in user's deposit wallet for one market — the get-or-create result
309
+ * of the authed `/v2/market/deposit-address` endpoint. This is the address the
310
+ * user sends funds to in order to deposit into the market's pool.
311
+ */
312
+ export interface MarketDepositAddress {
313
+ /** The market's token contract address (EVM 0x… or Solana base58). */
314
+ tokenContractAddress: string;
315
+ /** The signed-in user this deposit wallet belongs to. */
316
+ userAddress: string;
317
+ /** The market's deposit chain. */
318
+ depositChain: ListingDepositChainId;
319
+ /** The deposit address — where the user sends funds to deposit into this market. `null` when the service returned none. */
320
+ depositAddress: string | null;
321
+ /** The token's on-chain decimals. */
322
+ tokenDecimal: number;
323
+ /** The market's listing lifecycle status. */
324
+ marketStatus: ListingMarketStatus;
325
+ }
326
+ /**
327
+ * The listing-pipeline status of a single market — the normalized result of
328
+ * `getListingStatus`, keyed by the market's token address and deposit chain.
329
+ *
330
+ * `marketStatus` is the overall lifecycle status (the same machine as
331
+ * {@link ListingMarketStatus}); the remaining fields describe where the listing
332
+ * is in the backend's step pipeline and whether the current step is retrying or
333
+ * has errored.
334
+ */
335
+ export interface ListingStatus {
336
+ /** Overall lifecycle status of the market, mapped from the service's `market_status`. */
337
+ marketStatus: ListingMarketStatus;
338
+ /** The step the listing pipeline is currently on, or `null` when it is not in a step. */
339
+ currentStep: string | null;
340
+ /** The ordered pipeline steps the listing moves through. */
341
+ steps: string[];
342
+ /** Error code reported for the current step, or `null` when there is no error. */
343
+ errorCode: number | null;
344
+ /** Human-readable detail for the current step's error, or `null`. */
345
+ errorDetail: string | null;
346
+ /** How many times the current step has been retried. */
347
+ retryCount: number;
348
+ /** The maximum retries allowed for the current step. */
349
+ retryLimit: number;
350
+ }
351
+ /**
352
+ * The protocol's global new-market listing cap for the current rolling weekly
353
+ * window — how many pools may still be listed across the protocol before the
354
+ * window resets.
355
+ */
356
+ export interface WeeklyListingLimit {
357
+ /** Total new-market listings allowed per rolling weekly window. */
358
+ limit: number;
359
+ /** Listings still available in the current window — `0` means no more pools can be listed until reset. */
360
+ remaining: number;
361
+ /** When the window resets, as the Unix timestamp the service returns (`reset_at`). */
362
+ resetAt: number;
363
+ }
364
+ /**
365
+ * Server-side sort keys accepted by `getListingMarkets`.
366
+ *
367
+ * Mirrors the service's `sort_by` enum verbatim — snake_case, not the SDK's
368
+ * camelCase field names — because the value is a wire literal, and translating
369
+ * it would break silently the moment the service adds a key.
370
+ *
371
+ * Note the two bare keys: `tvl_driven_apy` and `price_driven_apy` have no
372
+ * matching bare response field. They sort by the **lifetime** column
373
+ * (`tvl_driven_apy_lifetime` / `price_driven_apy_lifetime`).
374
+ */
375
+ export type ListingMarketSortField = "liquidity" | "tvl" | "market_cap" | "vol24h" | "open_interest" | "apr_1h" | "apr_6h" | "apr_24h" | "apr_30d" | "reward_24h" | "apr" | "tvl_driven_apy_1h" | "tvl_driven_apy_6h" | "tvl_driven_apy_24h" | "tvl_driven_apy_30d" | "tvl_driven_apy" | "price_driven_apy_1h" | "price_driven_apy_6h" | "price_driven_apy_24h" | "price_driven_apy_30d" | "price_driven_apy" | "listing_time";
376
+ /** Sort direction. */
377
+ export type ListingSortDirection = "asc" | "desc";
378
+ /**
379
+ * An inclusive `[min, max]` bound on one of the service's value fields. Either
380
+ * end may be omitted for a one-sided bound.
381
+ *
382
+ * Bounds use the **same 18-decimal scale as the response**
383
+ * ({@link LISTING_VALUE_DECIMALS}), not the human-readable figure. Filtering for
384
+ * "market cap of at least one million USD" is
385
+ * `{ min: parseUnits("1000000", LISTING_VALUE_DECIMALS) }`, not `{ min: 1_000_000 }`
386
+ * — the latter is a bound of `0.000000000001` USD and silently matches nothing
387
+ * useful. Verified against the live service.
388
+ */
389
+ export interface ListingValueRange {
390
+ /** Inclusive lower bound at 18 decimals (`__ge` on the wire). */
391
+ min?: bigint;
392
+ /** Inclusive upper bound at 18 decimals (`__le` on the wire). */
393
+ max?: bigint;
394
+ }
395
+ /**
396
+ * An inclusive `[min, max]` bound on a timestamp field, in Unix **seconds**
397
+ * (not milliseconds, and not 18-decimal scaled).
398
+ */
399
+ export interface ListingTimeRange {
400
+ /** Inclusive lower bound, Unix seconds (`__ge` on the wire). */
401
+ min?: number;
402
+ /** Inclusive upper bound, Unix seconds (`__le` on the wire). */
403
+ max?: number;
404
+ }
405
+ /**
406
+ * Range filters `getListingMarkets` accepts. Every key is optional; omitted keys
407
+ * are not sent.
408
+ *
409
+ * All {@link ListingValueRange} bounds are at {@link LISTING_VALUE_DECIMALS};
410
+ * `listingTime` is the one exception and takes Unix seconds.
411
+ */
412
+ export interface ListingMarketFilters {
413
+ /** Token market capitalization, USD. */
414
+ marketCap?: ListingValueRange;
415
+ /** Trailing 24-hour volume, USD. */
416
+ vol24h?: ListingValueRange;
417
+ /** Total value locked, USD. */
418
+ tvl?: ListingValueRange;
419
+ /** Available notional, USD. */
420
+ liquidity?: ListingValueRange;
421
+ /** Open notional, USD. */
422
+ openInterest?: ListingValueRange;
423
+ /** Trailing 24-hour LP rewards, USD. */
424
+ reward24h?: ListingValueRange;
425
+ /** Headline APR bounds, at the field's own scale (`1e18` = `1%`). */
426
+ apr?: ListingValueRange;
427
+ /** APR over the trailing hour. */
428
+ apr1h?: ListingValueRange;
429
+ /** APR over the trailing 6 hours. */
430
+ apr6h?: ListingValueRange;
431
+ /** APR over the trailing 24 hours. */
432
+ apr24h?: ListingValueRange;
433
+ /** APR over the trailing 30 days. */
434
+ apr30d?: ListingValueRange;
435
+ /** TVL-driven APY over the trailing hour. */
436
+ tvlDrivenApy1h?: ListingValueRange;
437
+ /** TVL-driven APY over the trailing 6 hours. */
438
+ tvlDrivenApy6h?: ListingValueRange;
439
+ /** TVL-driven APY over the trailing 24 hours. */
440
+ tvlDrivenApy24h?: ListingValueRange;
441
+ /** TVL-driven APY over the trailing 30 days. */
442
+ tvlDrivenApy30d?: ListingValueRange;
443
+ /** TVL-driven APY over the market's lifetime. */
444
+ tvlDrivenApy?: ListingValueRange;
445
+ /** Price-driven APY over the trailing hour. */
446
+ priceDrivenApy1h?: ListingValueRange;
447
+ /** Price-driven APY over the trailing 6 hours. */
448
+ priceDrivenApy6h?: ListingValueRange;
449
+ /** Price-driven APY over the trailing 24 hours. */
450
+ priceDrivenApy24h?: ListingValueRange;
451
+ /** Price-driven APY over the trailing 30 days. */
452
+ priceDrivenApy30d?: ListingValueRange;
453
+ /** Price-driven APY over the market's lifetime. */
454
+ priceDrivenApy?: ListingValueRange;
455
+ /** Listing timestamp bounds, Unix seconds. */
456
+ listingTime?: ListingTimeRange;
457
+ }
458
+ /**
459
+ * Which side of the pool's book a {@link PoolPosition} row describes.
460
+ *
461
+ * The pool's inventory is reported as two aggregates, not a list of individual
462
+ * trades — the detail read gives one long total and one short total.
463
+ */
464
+ export declare enum PoolPositionSide {
465
+ LONG = "long",
466
+ SHORT = "short"
467
+ }
468
+ /**
469
+ * One side of a pool's aggregate position book.
470
+ *
471
+ * Every figure is a `bigint` at {@link LISTING_VALUE_DECIMALS}. `upnl` is signed
472
+ * — a losing side reports a negative value — and is the only field here that
473
+ * routinely is.
474
+ */
475
+ export interface PoolPosition {
476
+ /** Which side this row aggregates. */
477
+ side: PoolPositionSide;
478
+ /** Total size held on this side, in the pool token's units. */
479
+ size: bigint;
480
+ /** Notional value of the side, in USD. */
481
+ value: bigint;
482
+ /** Size-weighted average open price of the side, in USD. */
483
+ avgOpenPrice: bigint;
484
+ /** Unrealized PnL of the side, in USD. Signed. */
485
+ upnl: bigint;
486
+ }
487
+ /**
488
+ * A pool's public detail — the aggregate stats and inventory position behind a
489
+ * pool page.
490
+ *
491
+ * Money and rate fields are `bigint` at {@link LISTING_VALUE_DECIMALS}; recall
492
+ * that a descaled *rate* is already a percentage (`1e18` = `1%`) while a
493
+ * descaled *money* field is USD (`1e18` = `$1`). `null` means the backend
494
+ * reported no value, which is not zero.
495
+ *
496
+ * A **delisted** pool is a documented special case: the backend returns cached
497
+ * remaining token and USDC balances with `tvl` fixed at zero.
498
+ */
499
+ export interface ListingMarketDetail {
500
+ /** The pool's token contract address — its id in the listing API. */
501
+ tokenContractAddress: string;
502
+ /** Chain the token lives on and its listing deposit was made on. */
503
+ depositChain: ListingDepositChainId;
504
+ /** Token display name. */
505
+ tokenName: string;
506
+ /** Token ticker, or `null` when the backend has none. */
507
+ tokenTicker: string | null;
508
+ /** Token decimals. */
509
+ tokenDecimal: number;
510
+ /** Solver market id, or `null` when the pool is not tradable yet. */
511
+ symbolId: number | null;
512
+ /** Where the pool sits in the listing lifecycle. */
513
+ marketStatus: ListingMarketStatus;
514
+ /** Maximum leverage the market allows, as a whole multiplier. */
515
+ maxLeverage: number;
516
+ /** Share of revenue routed to token buybacks, as a percentage (`50` = 50%). */
517
+ buybackRatio: number;
518
+ /** When the market went live, as a Unix timestamp in **seconds**. */
519
+ listingTime: number | null;
520
+ /** Pool age in **seconds**, or `null` before listing. */
521
+ age: number | null;
522
+ /** Number of distinct LPs in the pool. */
523
+ activeLps: number;
524
+ /** Total value locked in the pool, USD. `0` for a delisted pool by design. */
525
+ tvl: bigint | null;
526
+ /** Collateral held by the pool, USD. */
527
+ totalUsdcInPool: bigint;
528
+ /** Pool token held by the pool, in the token's own units. */
529
+ totalTokenInPool: bigint;
530
+ /** Accrued maintenance fees, USD. */
531
+ maintenanceFees: bigint;
532
+ /** LP rewards per window, USD. */
533
+ rewards: ListingApyWindows;
534
+ /** Solver revenue per window, USD. */
535
+ solverRevenue: ListingApyWindows;
536
+ /** Headline APY per window, as a percentage. */
537
+ apy: ListingApyWindows;
538
+ /** APY attributed to TVL growth, per window, as a percentage. */
539
+ tvlDrivenApy: ListingApyWindows;
540
+ /** APY attributed to token price movement, per window, as a percentage. */
541
+ priceDrivenApy: ListingApyWindows;
542
+ /** The pool's aggregate long side, or `null` when the backend reported none. */
543
+ longPosition: PoolPosition | null;
544
+ /** The pool's aggregate short side, or `null` when the backend reported none. */
545
+ shortPosition: PoolPosition | null;
546
+ }
547
+ /** Whether a pool transaction is money going in or coming out. */
548
+ export declare enum PoolTransactionType {
549
+ DEPOSIT = "deposit",
550
+ WITHDRAW = "withdraw"
551
+ }
552
+ /**
553
+ * Where a pool transaction sits in its lifecycle, as the backend reports it to
554
+ * users.
555
+ */
556
+ export declare enum PoolTransactionStatus {
557
+ PENDING = "pending",
558
+ SUCCESS = "success",
559
+ REJECTED = "rejected",
560
+ REFUND = "refund",
561
+ CANCELED = "canceled"
562
+ }
563
+ /**
564
+ * One deposit or withdrawal against a pool.
565
+ *
566
+ * `amount`, `usdcAmount` and `tokenAmount` are `bigint` at
567
+ * {@link LISTING_VALUE_DECIMALS}. The refund fields are populated only for a
568
+ * refunded row.
569
+ */
570
+ export interface PoolTransaction {
571
+ /** Backend id for the transaction. */
572
+ transactionId: string;
573
+ /** The wallet that made it. */
574
+ walletAddress: string;
575
+ /** Amount moved, in the transaction's own denomination. */
576
+ amount: bigint;
577
+ /** Collateral value moved, USD. */
578
+ usdcAmount: bigint;
579
+ /** Token amount moved, in the pool token's units. */
580
+ tokenAmount: bigint;
581
+ /** On-chain transaction hash or Solana signature, when known. */
582
+ transactionHash: string | null;
583
+ /** Address a refund was sent to, or `null` when this is not a refund. */
584
+ refundAddress: string | null;
585
+ /** Hash of the refund transaction, or `null` when this is not a refund. */
586
+ refundTransactionHash: string | null;
587
+ /** When the refund completed, Unix **seconds**; `null` when not a refund. */
588
+ refundTime: number | null;
589
+ /** Deposit or withdrawal. */
590
+ type: PoolTransactionType;
591
+ /** Lifecycle status. */
592
+ status: PoolTransactionStatus;
593
+ /** When the transaction happened, Unix **seconds**. */
594
+ time: number;
595
+ }
596
+ /** One page of {@link PoolTransaction} rows for a pool. */
597
+ export interface PoolTransactionPage {
598
+ /** The pool's token contract address, echoed by the backend. */
599
+ marketAddress: string;
600
+ /** Total rows matching the query across all pages. */
601
+ count: number;
602
+ /** The rows themselves. */
603
+ items: PoolTransaction[];
604
+ }
605
+ /**
606
+ * One row of the signed-in user's transaction history (`getUserTransactions`) —
607
+ * a deposit or withdrawal they made, on any pool.
608
+ *
609
+ * Unlike {@link PoolTransaction} (one pool, every LP), this is one user, every
610
+ * pool — so each row carries its own token identity (`tokenAddress`,
611
+ * `tokenName`, `tokenTicker`, `tokenDecimals`, `chainId`).
612
+ */
613
+ export interface UserTransaction {
614
+ /** Backend id for the transaction. */
615
+ transactionId: string;
616
+ /** Deposit or withdrawal. */
617
+ type: PoolTransactionType;
618
+ /** Lifecycle status. */
619
+ status: PoolTransactionStatus;
620
+ /** Amount moved, 18-dec bigint (a 1e18-scaled figure, like every listing value). */
621
+ amount: bigint;
622
+ /** The token's own decimals, as reported by the service — metadata, not the `amount` scale. */
623
+ tokenDecimals: number;
624
+ /** The pool's token contract address (EVM `0x…` or Solana base58). */
625
+ tokenAddress: string;
626
+ /** The token's name. */
627
+ tokenName: string;
628
+ /** The token's ticker. */
629
+ tokenTicker: string;
630
+ /** The chain the transaction's token lives on. */
631
+ chainId: ListingDepositChainId;
632
+ /** The temporary deposit wallet involved, or `null` when the service omits it. */
633
+ wallet: string | null;
634
+ /** Address a refund was sent to, or `null` when this is not a refund. */
635
+ refundAddress: string | null;
636
+ /** On-chain transaction hash or Solana signature, when known. */
637
+ transactionHash: string | null;
638
+ /** When the transaction happened, Unix **seconds**; `null` when the service omits it. */
639
+ time: number | null;
640
+ }
641
+ /** One page of {@link UserTransaction} rows — the signed-in user's transaction history. */
642
+ export interface UserTransactionPage {
643
+ /** Total rows matching the query across all pages — what a pager divides. */
644
+ count: number;
645
+ /** The rows themselves, newest first. */
646
+ items: UserTransaction[];
647
+ }
648
+ /**
649
+ * The generated `MarketStatus` enum and {@link ListingMarketStatus} carry the
650
+ * same string values; this alias documents that the cast in the mapper is
651
+ * value-preserving rather than a widening.
652
+ *
653
+ * @internal
654
+ */
655
+ export type GeneratedMarketStatus = MarketStatus;
656
+ /**
657
+ * One deposit chain a new listing may use, from the listing service's public
658
+ * config ({@link ListingConfig.supportedDepositChains}).
659
+ */
660
+ export interface ListingDepositChain {
661
+ /** Numeric chain id to send with market/deposit requests. */
662
+ chainId: ListingDepositChainId;
663
+ /** Human-readable chain name, e.g. "HyperEVM". */
664
+ chainName: string;
665
+ }
666
+ /**
667
+ * The client mutation limits the listing service enforces, from its public
668
+ * config ({@link ListingConfig.rateLimits}).
669
+ */
670
+ export interface ListingRateLimits {
671
+ /** Max successful market-config updates per user+market in a rolling 24h window. */
672
+ marketConfigUpdatesPerDay: number;
673
+ /** Max successful profit claims per user+market in a rolling 24h window. */
674
+ profitClaimsPerDay: number;
675
+ }
676
+ /**
677
+ * The listing service's public client configuration — the deposit guidance,
678
+ * listing fee, supported deposit chains, rate limits, and protocol reward share
679
+ * a create-listing flow needs.
680
+ *
681
+ * The three USDC figures are `bigint` at {@link LISTING_VALUE_DECIMALS} (18),
682
+ * independent of the collateral token's own decimals; format them with
683
+ * `formatUnits(value, LISTING_VALUE_DECIMALS)` at the display edge.
684
+ */
685
+ export interface ListingConfig {
686
+ /** Recommended initial USDC deposit to start a listing, USD at LISTING_VALUE_DECIMALS (18) as a bigint. */
687
+ recommendedInitialDepositUsdc: bigint;
688
+ /** Minimum accepted initial USDC deposit after slippage, USD 18-dec bigint. */
689
+ minimumInitialDepositUsdc: bigint;
690
+ /** Listing fee in USDC, USD 18-dec bigint. */
691
+ listingFeeUsdc: bigint;
692
+ /** Deposit chains new markets may use — the source of truth for a chain picker. */
693
+ supportedDepositChains: ListingDepositChain[];
694
+ /** Rolling-24h client mutation limits. */
695
+ rateLimits: ListingRateLimits;
696
+ /** Whole-percent of market revenue to the protocol before buyback/LP. */
697
+ protocolRewardSharePercent: number;
698
+ }
699
+ /**
700
+ * One quote in a pool's book, decoded from the analytics subgraph.
701
+ *
702
+ * A pool's book is **every trader's** quotes on that market, not one account's —
703
+ * `partyA` differs from row to row. Amounts and prices are `bigint` at 18
704
+ * decimals (the protocol's own scale, not the listing backend's), and `null`
705
+ * means the subgraph had no value for that field.
706
+ */
707
+ export interface PoolQuote {
708
+ /** Subgraph row id (`{quoteId}-{source}`); stable, use as a table key. */
709
+ id: string;
710
+ /** Protocol quote id. */
711
+ quoteId: bigint;
712
+ /** Raw `QuoteStatus` ordinal as the subgraph reports it. */
713
+ quoteStatus: number | null;
714
+ /** Raw `PositionType` ordinal — `0` long, `1` short. */
715
+ positionType: number | null;
716
+ /** Raw `OrderType` ordinal of the open — `0` limit, `1` market. */
717
+ orderTypeOpen: number | null;
718
+ /** Market ticker, when the subgraph carries one. */
719
+ symbol: string | null;
720
+ /** Solver market id. */
721
+ symbolId: number | null;
722
+ /** The account that opened the quote. */
723
+ partyA: string;
724
+ /** The solver that took the other side. */
725
+ partyB: string | null;
726
+ /** Quote size. */
727
+ quantity: bigint | null;
728
+ /** How much of {@link PoolQuote.quantity} has been closed. */
729
+ closedAmount: bigint | null;
730
+ /** Size of an in-flight close request. */
731
+ quantityToClose: bigint | null;
732
+ /** Price the quote actually opened at. */
733
+ openedPrice: bigint | null;
734
+ /** Price the opener asked for. */
735
+ requestedOpenPrice: bigint | null;
736
+ /** Size-weighted average of the closes so far. */
737
+ averageClosedPrice: bigint | null;
738
+ /** Price of an in-flight close request. */
739
+ closePrice: bigint | null;
740
+ /** Open price before any modification. */
741
+ initialOpenedPrice: bigint | null;
742
+ /** Size liquidated, when the quote was liquidated. */
743
+ liquidateAmount: bigint | null;
744
+ /** Price the liquidation executed at. */
745
+ liquidatePrice: bigint | null;
746
+ /** Block timestamp of the quote's last update, Unix **seconds**. */
747
+ timestamp: number;
748
+ /** Block the quote was last updated in. */
749
+ blockNumber: bigint;
750
+ }
751
+ /**
752
+ * One day of LP reward for a pool.
753
+ *
754
+ * A series of these is what a pool page's rewards chart plots — the public
755
+ * per-pool series from `getPoolRewardChart`, or one market's slice of the
756
+ * signed-in user's {@link UserPoolRewardChart}.
757
+ */
758
+ export interface PoolRewardPoint {
759
+ /** Start of the reward day, unix **seconds**. */
760
+ timestamp: number;
761
+ /**
762
+ * Reward earned that day, `bigint` at {@link LISTING_VALUE_DECIMALS} (18).
763
+ *
764
+ * A **money** field, so the descaled number is a USD amount (`1e18` = `$1`) —
765
+ * unlike the catalog's rate fields, which are already percentages. A day the
766
+ * service reports as absent collapses to `0n` rather than `null`: a missing
767
+ * snapshot and a zero-reward day are the same point on a chart.
768
+ */
769
+ reward: bigint;
770
+ }
771
+ /**
772
+ * The signed-in user's daily reward series for **one** market, as returned by
773
+ * `getUserRewardChart` — which reports every market the user has rewards in,
774
+ * one entry each.
775
+ *
776
+ * A market is addressed by the pair `(marketAddress, marketChainId)`, matching
777
+ * {@link ListingMarket.contractAddress} and {@link ListingMarket.chainId}. Note
778
+ * `marketChainId` is the chain the **token** lives on, not the SYMMIO chain the
779
+ * market trades on.
780
+ */
781
+ export interface UserPoolRewardChart {
782
+ /** The pool's token contract address — matches {@link ListingMarket.contractAddress}. */
783
+ marketAddress: string;
784
+ /** Chain the token lives on — matches {@link ListingMarket.chainId}. */
785
+ marketChainId: ListingDepositChainId;
786
+ /** The user's daily rewards in this pool, in the order the service returns them. */
787
+ rewards: PoolRewardPoint[];
788
+ }
789
+ //# sourceMappingURL=types.d.ts.map