@symmio/trading-react 0.1.1 → 1.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 (221) hide show
  1. package/README.md +2 -2
  2. package/dist/account-layer/index.d.ts +28 -28
  3. package/dist/account-layer/index.js +29 -0
  4. package/dist/account-layer/use-account-balance-info.d.ts +16 -5
  5. package/dist/account-layer/use-account-balance-info.d.ts.map +1 -1
  6. package/dist/account-layer/use-account-balance-info.js +21 -9
  7. package/dist/account-layer/use-account-balance-info.js.map +1 -1
  8. package/dist/account-layer/use-account-balance-of.d.ts +16 -5
  9. package/dist/account-layer/use-account-balance-of.d.ts.map +1 -1
  10. package/dist/account-layer/use-account-balance-of.js +20 -9
  11. package/dist/account-layer/use-account-balance-of.js.map +1 -1
  12. package/dist/account-layer/use-add-margin.d.ts +2 -2
  13. package/dist/account-layer/use-allocate.d.ts +2 -2
  14. package/dist/account-layer/use-create-sub-accounts.d.ts +2 -2
  15. package/dist/account-layer/use-deallocate.d.ts +2 -2
  16. package/dist/account-layer/use-delete-sub-account.d.ts +2 -2
  17. package/dist/account-layer/use-deposit-and-allocate.d.ts +2 -2
  18. package/dist/account-layer/use-deposit.d.ts +5 -3
  19. package/dist/account-layer/use-deposit.d.ts.map +1 -1
  20. package/dist/account-layer/use-deposit.js +17 -15
  21. package/dist/account-layer/use-deposit.js.map +1 -1
  22. package/dist/account-layer/use-edit-account-name.d.ts +2 -2
  23. package/dist/account-layer/use-predicted-next-virtual-account.d.ts +1 -1
  24. package/dist/account-layer/use-remove-margin.d.ts +2 -2
  25. package/dist/account-layer/use-simulate-add-margin.d.ts +1 -1
  26. package/dist/account-layer/use-simulate-allocate.d.ts +1 -1
  27. package/dist/account-layer/use-simulate-create-sub-accounts.d.ts +1 -1
  28. package/dist/account-layer/use-simulate-deallocate.d.ts +1 -1
  29. package/dist/account-layer/use-simulate-delete-sub-account.d.ts +1 -1
  30. package/dist/account-layer/use-simulate-deposit-and-allocate.d.ts +1 -1
  31. package/dist/account-layer/use-simulate-deposit.d.ts +1 -1
  32. package/dist/account-layer/use-simulate-edit-account-name.d.ts +1 -1
  33. package/dist/account-layer/use-simulate-remove-margin.d.ts +1 -1
  34. package/dist/account-layer/use-sub-account-virtual-nonce.d.ts +1 -1
  35. package/dist/account-layer/use-sub-account.d.ts +1 -1
  36. package/dist/account-layer/use-sub-accounts-count-of-user.d.ts +1 -1
  37. package/dist/account-layer/use-user-sub-accounts-addresses.d.ts +1 -1
  38. package/dist/account-layer/use-user-sub-accounts.d.ts +1 -1
  39. package/dist/account-layer/use-virtual-account.d.ts +1 -1
  40. package/dist/account-layer/use-virtual-accounts-addresses-of-sub-account.d.ts +1 -1
  41. package/dist/balance-history/index.d.ts +3 -3
  42. package/dist/balance-history/use-balance-history.d.ts +1 -1
  43. package/dist/balance-history/use-deposit-history.d.ts +1 -1
  44. package/dist/balance-history/use-withdraw-history.d.ts +1 -1
  45. package/dist/collateral/index.d.ts +4 -4
  46. package/dist/collateral/use-approve-collateral.d.ts +2 -2
  47. package/dist/collateral/use-collateral-allowance.d.ts +1 -1
  48. package/dist/collateral/use-collateral-balance.d.ts +1 -1
  49. package/dist/collateral/use-simulate-approve-collateral.d.ts +1 -1
  50. package/dist/error-codes/index.d.ts +2 -2
  51. package/dist/error-codes/use-solver-error-codes.d.ts +1 -1
  52. package/dist/error-codes/use-solver-error-message.d.ts +1 -1
  53. package/dist/errors/index.d.ts +3 -3
  54. package/dist/errors/index.js +3 -0
  55. package/dist/errors/normalize-symm-error.d.ts +1 -1
  56. package/dist/errors/symmio-request-error.d.ts +1 -1
  57. package/dist/estimated-price/index.d.ts +2 -0
  58. package/dist/estimated-price/index.d.ts.map +1 -0
  59. package/dist/estimated-price/use-debounced-value.d.ts +9 -0
  60. package/dist/estimated-price/use-debounced-value.d.ts.map +1 -0
  61. package/dist/estimated-price/use-debounced-value.js +18 -0
  62. package/dist/estimated-price/use-debounced-value.js.map +1 -0
  63. package/dist/estimated-price/use-estimated-price.d.ts +46 -0
  64. package/dist/estimated-price/use-estimated-price.d.ts.map +1 -0
  65. package/dist/estimated-price/use-estimated-price.js +31 -0
  66. package/dist/estimated-price/use-estimated-price.js.map +1 -0
  67. package/dist/fees/index.d.ts +1 -1
  68. package/dist/fees/index.js +2 -0
  69. package/dist/fees/use-fee-for-user.d.ts +1 -1
  70. package/dist/funding-info/index.d.ts +2 -0
  71. package/dist/funding-info/index.d.ts.map +1 -0
  72. package/dist/funding-info/use-funding-info.d.ts +25 -0
  73. package/dist/funding-info/use-funding-info.d.ts.map +1 -0
  74. package/dist/funding-info/use-funding-info.js +27 -0
  75. package/dist/funding-info/use-funding-info.js.map +1 -0
  76. package/dist/index.d.ts +45 -24
  77. package/dist/index.d.ts.map +1 -1
  78. package/dist/index.js +120 -113
  79. package/dist/instant-layer/index.d.ts +14 -13
  80. package/dist/instant-layer/index.d.ts.map +1 -1
  81. package/dist/instant-layer/index.js +15 -0
  82. package/dist/instant-layer/use-delegation-expiry.d.ts +1 -1
  83. package/dist/instant-layer/use-grant-delegation.d.ts +2 -2
  84. package/dist/instant-layer/use-instant-close-auto.d.ts +1 -1
  85. package/dist/instant-layer/use-instant-close-bulk-auto.d.ts +1 -1
  86. package/dist/instant-layer/use-instant-close-bulk.d.ts +1 -1
  87. package/dist/instant-layer/use-instant-close.d.ts +1 -1
  88. package/dist/instant-layer/use-instant-closes.d.ts +1 -1
  89. package/dist/instant-layer/use-instant-open-auto.d.ts +1 -1
  90. package/dist/instant-layer/use-instant-open-quote-id.d.ts +1 -1
  91. package/dist/instant-layer/use-instant-open-with-tpsl.d.ts +55 -0
  92. package/dist/instant-layer/use-instant-open-with-tpsl.d.ts.map +1 -0
  93. package/dist/instant-layer/use-instant-open-with-tpsl.js +64 -0
  94. package/dist/instant-layer/use-instant-open-with-tpsl.js.map +1 -0
  95. package/dist/instant-layer/use-instant-open.d.ts +1 -1
  96. package/dist/instant-layer/use-instant-opens.d.ts +1 -1
  97. package/dist/instant-layer/use-is-delegation-active.d.ts +1 -1
  98. package/dist/instant-layer/use-simulate-grant-delegation.d.ts +1 -1
  99. package/dist/locked-params/index.d.ts +1 -1
  100. package/dist/locked-params/use-locked-params.d.ts +1 -1
  101. package/dist/margin/index.d.ts +2 -0
  102. package/dist/margin/index.d.ts.map +1 -0
  103. package/dist/margin/use-available-instant-open-margin.d.ts +51 -0
  104. package/dist/margin/use-available-instant-open-margin.d.ts.map +1 -0
  105. package/dist/margin/use-available-instant-open-margin.js +66 -0
  106. package/dist/margin/use-available-instant-open-margin.js.map +1 -0
  107. package/dist/market-info/index.d.ts +2 -0
  108. package/dist/market-info/index.d.ts.map +1 -0
  109. package/dist/market-info/use-market-info.d.ts +28 -0
  110. package/dist/market-info/use-market-info.d.ts.map +1 -0
  111. package/dist/market-info/use-market-info.js +27 -0
  112. package/dist/market-info/use-market-info.js.map +1 -0
  113. package/dist/markets/index.d.ts +2 -2
  114. package/dist/markets/index.js +3 -0
  115. package/dist/markets/use-markets.d.ts +1 -1
  116. package/dist/markets/use-onchain-contract-markets.d.ts +1 -1
  117. package/dist/muon/index.d.ts +10 -10
  118. package/dist/muon/use-deallocate-upnl-sig.d.ts +1 -1
  119. package/dist/muon/use-muon-party-a-overview.d.ts +1 -1
  120. package/dist/muon/use-muon-price-range.d.ts +1 -1
  121. package/dist/muon/use-muon-price.d.ts +1 -1
  122. package/dist/muon/use-muon-settle-upnl.d.ts +1 -1
  123. package/dist/muon/use-muon-upnl-a-with-symbol-price.d.ts +1 -1
  124. package/dist/muon/use-muon-upnl-a.d.ts +1 -1
  125. package/dist/muon/use-muon-upnl-b.d.ts +1 -1
  126. package/dist/muon/use-muon-upnl-with-symbol-price.d.ts +1 -1
  127. package/dist/muon/use-muon-upnl.d.ts +1 -1
  128. package/dist/notifications/index.d.ts +1 -1
  129. package/dist/notifications/use-search-notifications.d.ts +1 -1
  130. package/dist/notional-cap/index.d.ts +3 -3
  131. package/dist/notional-cap/use-notional-cap-all.d.ts +1 -1
  132. package/dist/notional-cap/use-notional-cap-by-symbol-id.d.ts +1 -1
  133. package/dist/notional-cap/use-open-interest-by-symbol-id.d.ts +1 -1
  134. package/dist/price-service/index.d.ts +8 -8
  135. package/dist/price-service/index.js +9 -0
  136. package/dist/price-service/use-enigma-price-by-market-id.d.ts +1 -1
  137. package/dist/price-service/use-enigma-price-by-name.d.ts +1 -1
  138. package/dist/price-service/use-enigma-price-service-health.d.ts +1 -1
  139. package/dist/price-service/use-enigma-price-service-metadata.d.ts +1 -1
  140. package/dist/price-service/use-enigma-price-service-prices-by-addresses.d.ts +1 -1
  141. package/dist/price-service/use-enigma-price-service-prices-by-names.d.ts +1 -1
  142. package/dist/price-service/use-enigma-price-service-symbols-info.d.ts +1 -1
  143. package/dist/price-service/use-enigma-prices.d.ts +1 -1
  144. package/dist/provider/index.d.ts +3 -3
  145. package/dist/provider/index.js +4 -0
  146. package/dist/provider/symmio-provider.d.ts +14 -5
  147. package/dist/provider/symmio-provider.d.ts.map +1 -1
  148. package/dist/provider/symmio-provider.js +2 -2
  149. package/dist/provider/symmio-provider.js.map +1 -1
  150. package/dist/quotes/index.d.ts +15 -15
  151. package/dist/quotes/use-account-liquidation-price.d.ts +4 -7
  152. package/dist/quotes/use-account-liquidation-price.d.ts.map +1 -1
  153. package/dist/quotes/use-account-liquidation-price.js.map +1 -1
  154. package/dist/quotes/use-grouped-quotes.d.ts +1 -1
  155. package/dist/quotes/use-managed-quotes.d.ts +1 -1
  156. package/dist/quotes/use-managed-quotes.d.ts.map +1 -1
  157. package/dist/quotes/use-managed-quotes.js +131 -128
  158. package/dist/quotes/use-managed-quotes.js.map +1 -1
  159. package/dist/quotes/use-party-a-open-positions.d.ts +4 -4
  160. package/dist/quotes/use-party-a-open-positions.js.map +1 -1
  161. package/dist/quotes/use-party-a-pending-quotes.d.ts +1 -1
  162. package/dist/quotes/use-quote-events-by-type.d.ts +1 -1
  163. package/dist/quotes/use-quote-funding.d.ts +1 -1
  164. package/dist/quotes/use-quote-history.d.ts +1 -1
  165. package/dist/quotes/use-quote-price-history.d.ts +1 -1
  166. package/dist/quotes/use-quote.d.ts +1 -1
  167. package/dist/quotes/use-quotes-funding.d.ts +1 -1
  168. package/dist/quotes/use-subgraph-query.d.ts +1 -1
  169. package/dist/tpsl/index.d.ts +8 -7
  170. package/dist/tpsl/index.d.ts.map +1 -1
  171. package/dist/tpsl/tpsl-store.d.ts +84 -0
  172. package/dist/tpsl/tpsl-store.d.ts.map +1 -0
  173. package/dist/tpsl/tpsl-store.js +154 -0
  174. package/dist/tpsl/tpsl-store.js.map +1 -0
  175. package/dist/tpsl/use-delete-quote-tpsl.d.ts +15 -0
  176. package/dist/tpsl/use-delete-quote-tpsl.d.ts.map +1 -0
  177. package/dist/tpsl/use-delete-quote-tpsl.js +31 -0
  178. package/dist/tpsl/use-delete-quote-tpsl.js.map +1 -0
  179. package/dist/tpsl/use-quote-tpsl.d.ts +19 -20
  180. package/dist/tpsl/use-quote-tpsl.d.ts.map +1 -1
  181. package/dist/tpsl/use-quote-tpsl.js +24 -53
  182. package/dist/tpsl/use-quote-tpsl.js.map +1 -1
  183. package/dist/tpsl/use-set-quote-tpsl.d.ts +11 -10
  184. package/dist/tpsl/use-set-quote-tpsl.d.ts.map +1 -1
  185. package/dist/tpsl/use-set-quote-tpsl.js +18 -22
  186. package/dist/tpsl/use-set-quote-tpsl.js.map +1 -1
  187. package/dist/tpsl/use-tpsl-config.d.ts +1 -1
  188. package/dist/tpsl/use-tpsl-signing-spec.d.ts +1 -1
  189. package/dist/tpsl/use-watch-tpsl-notifications.d.ts +1 -1
  190. package/dist/transactions/index.d.ts +3 -3
  191. package/dist/transactions/index.js +3 -0
  192. package/dist/transactions/resolve-write-result.d.ts +1 -1
  193. package/dist/transfers/index.d.ts +1 -1
  194. package/dist/transfers/use-transfer-history.d.ts +1 -1
  195. package/dist/utils/index.d.ts +1 -1
  196. package/dist/wallet/index.d.ts +4 -4
  197. package/dist/wallet/index.js +5 -0
  198. package/dist/wallet/use-connect-wallet.d.ts +1 -1
  199. package/dist/wallet/use-switch-to-symmio-chain.d.ts +1 -1
  200. package/dist/websocket/index.d.ts +1 -1
  201. package/dist/websocket/is-settle-notification.d.ts +15 -0
  202. package/dist/websocket/is-settle-notification.d.ts.map +1 -0
  203. package/dist/websocket/is-settle-notification.js +15 -0
  204. package/dist/websocket/is-settle-notification.js.map +1 -0
  205. package/dist/websocket/use-notifications.d.ts +1 -1
  206. package/dist/withdraw/index.d.ts +10 -10
  207. package/dist/withdraw/use-finalize-withdraw-request.d.ts +2 -2
  208. package/dist/withdraw/use-initiate-withdraw.d.ts +2 -2
  209. package/dist/withdraw/use-last-withdraw-request-id.d.ts +1 -1
  210. package/dist/withdraw/use-pending-withdraw-requests.d.ts +1 -1
  211. package/dist/withdraw/use-request-cancel-withdraw.d.ts +2 -2
  212. package/dist/withdraw/use-simulate-finalize-withdraw-request.d.ts +1 -1
  213. package/dist/withdraw/use-simulate-initiate-withdraw.d.ts +1 -1
  214. package/dist/withdraw/use-simulate-request-cancel-withdraw.d.ts +1 -1
  215. package/dist/withdraw/use-withdraw-requests.d.ts +1 -1
  216. package/dist/withdraw/use-withdrawable-time.d.ts +1 -1
  217. package/package.json +11 -10
  218. package/dist/tpsl/tpsl-confirming.d.ts +0 -36
  219. package/dist/tpsl/tpsl-confirming.d.ts.map +0 -1
  220. package/dist/tpsl/tpsl-confirming.js +0 -28
  221. package/dist/tpsl/tpsl-confirming.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -18,36 +18,36 @@
18
18
  * `useSymmioConfig` / `useSymmioChainId` are the wagmi-style primitives every
19
19
  * other hook builds on.
20
20
  */
21
- export { ADD_MARGIN_TO_NEXT_VA_SELECTOR, INSTANT_TRADE_REQUIRED_SELECTORS, NotificationType, OrderType, PositionType, QuoteStatus, REQUEST_TO_CLOSE_POSITION_SELECTOR, SEND_QUOTE_WITH_AFFILIATE_AND_DATA_SELECTOR, SubAccountIsolationType, SymmApiError, SymmError, VIRTUAL_ACCOUNT_ISOLATION_TYPE, calculateClosePrice, calculateTradeParams, clampClosePrecision, getPartyAOpenPositionsQueryKey, getPartyAOpenPositionsQueryOptions, validateInstantCloseAgainstMarket, validateInstantOpenAgainstMarket, type CalculateClosePriceParameters, type CalculateTradeParamsParameters, type CalculateTradeParamsReturnType, type ClampClosePrecisionParameters, type CloseQuoteConstraintViolation, type GetPartyAOpenPositionsData, type GetPartyAOpenPositionsOptions, type GetPartyAOpenPositionsParameters, type GetPartyAOpenPositionsQueryKey, type GetPartyAOpenPositionsQueryOptions, type GetPartyAOpenPositionsReturnType, type InstantCloseBulkAutoOrder, type InstantCloseBulkAutoParameters, type InstantCloseBulkOrder, type InstantCloseBulkParameters, type InstantCloseBulkReturnType, type InstantCloseMarketData, type InstantCloseOrder, type InstantCloseParameters, type InstantCloseReturnType, type Notification, type PrepareInstantCloseParameters, type QuoteConstraintViolation, type SubAccountCreationData, type SymmErrorKind, type ValidateInstantCloseAgainstMarketParameters, type ValidateInstantCloseAgainstMarketReturnType, type ValidateInstantOpenAgainstMarketParameters, type ValidateInstantOpenAgainstMarketReturnType, type VirtualAccountDetail, type VirtualAccountIsolationType, } from '@symmio/trading-core';
21
+ export { ADD_MARGIN_TO_NEXT_VA_SELECTOR, INSTANT_TRADE_REQUIRED_SELECTORS, NotificationType, OrderType, PositionType, QuoteStatus, REQUEST_TO_CLOSE_POSITION_SELECTOR, SEND_QUOTE_WITH_AFFILIATE_AND_DATA_SELECTOR, SubAccountIsolationType, SymmApiError, SymmError, VIRTUAL_ACCOUNT_ISOLATION_TYPE, calculateAvailableInstantOpenMargin, calculateClosePrice, calculatePriceImpact, calculateQuotePnl, calculateTradeParams, clampClosePrecision, getPartyAOpenPositionsQueryKey, getPartyAOpenPositionsQueryOptions, isolationTypeForSide, validateInstantCloseAgainstMarket, validateInstantOpenAgainstMarket, type CalculateAvailableInstantOpenMarginParameters, type CalculateClosePriceParameters, type CalculateTradeParamsParameters, type CalculateTradeParamsReturnType, type ClampClosePrecisionParameters, type CloseQuoteConstraintViolation, type GetPartyAOpenPositionsData, type GetPartyAOpenPositionsOptions, type GetPartyAOpenPositionsParameters, type GetPartyAOpenPositionsQueryKey, type GetPartyAOpenPositionsQueryOptions, type GetPartyAOpenPositionsReturnType, type InstantCloseBulkAutoOrder, type InstantCloseBulkAutoParameters, type InstantCloseBulkOrder, type InstantCloseBulkParameters, type InstantCloseBulkReturnType, type InstantCloseMarketData, type InstantCloseOrder, type InstantCloseParameters, type InstantCloseReturnType, type Notification, type PrepareInstantCloseParameters, type QuoteConstraintViolation, type SubAccountCreationData, type SymmErrorKind, type ValidateInstantCloseAgainstMarketParameters, type ValidateInstantCloseAgainstMarketReturnType, type ValidateInstantOpenAgainstMarketParameters, type ValidateInstantOpenAgainstMarketReturnType, type VirtualAccountDetail, type VirtualAccountIsolationType, } from '@symmio/trading-core';
22
22
  export type { GetWalletClientFn, SymmioWalletClient } from '@symmio/trading-core';
23
- export { SymmioProvider, useSymmioChainId, useSymmioConfig, type SymmioProviderProps, type UseSymmioConfigParameters, } from './provider';
23
+ export { SymmioProvider, useSymmioChainId, useSymmioConfig, type SymmioProviderProps, type UseSymmioConfigParameters, } from './provider/index.js';
24
24
  /**
25
25
  * Wallet
26
26
  * ------
27
27
  * Hooks for reading and managing the connected wallet through the SDK.
28
28
  */
29
- export { useConnectWallet, useDisconnectWallet, useSwitchToSymmioChain, useWalletAccount, type UseConnectWalletResult, type UseDisconnectWalletResult, type UseSwitchToSymmioChainResult, type UseWalletAccountResult, } from './wallet';
29
+ export { useConnectWallet, useDisconnectWallet, useSwitchToSymmioChain, useWalletAccount, type UseConnectWalletResult, type UseDisconnectWalletResult, type UseSwitchToSymmioChainResult, type UseWalletAccountResult, } from './wallet/index.js';
30
30
  /**
31
31
  * AccountLayer hooks
32
32
  * ------------------
33
33
  * React-query wrappers over the `@symmio/trading-core` AccountLayer slice.
34
34
  * Mutations invalidate the relevant queries on success.
35
35
  */
36
- export { useAccountBalanceInfo, useAccountBalanceOf, useAddMargin, useAllocate, useCreateSubAccounts, useDeallocate, useDeleteSubAccount, useDeposit, useDepositAndAllocate, useEditAccountName, usePredictedNextVirtualAccount, useRemoveMargin, useSimulateAddMargin, useSimulateAllocate, useSimulateCreateSubAccounts, useSimulateDeallocate, useSimulateDeleteSubAccount, useSimulateDeposit, useSimulateDepositAndAllocate, useSimulateEditAccountName, useSimulateRemoveMargin, useSubAccount, useSubAccountVirtualNonce, useSubAccountsCountOfUser, useUserSubAccounts, useUserSubAccountsAddresses, useVirtualAccount, useVirtualAccountsAddressesOfSubAccount, type AddMarginResult, type AllocateResult, type CreateSubAccountsResult, type DeallocateResult, type DeallocateVariables, type DeleteSubAccountResult, type DepositAndAllocateResult, type DepositResult, type EditAccountNameResult, type RemoveMarginResult, type RemoveMarginVariables, type UseAccountBalanceInfoParameters, type UseAccountBalanceInfoReturnType, type UseAccountBalanceOfParameters, type UseAccountBalanceOfReturnType, type UseAddMarginParameters, type UseAddMarginReturnType, type UseAllocateParameters, type UseAllocateReturnType, type UseCreateSubAccountsParameters, type UseCreateSubAccountsReturnType, type UseDeallocateParameters, type UseDeallocateReturnType, type UseDeleteSubAccountParameters, type UseDeleteSubAccountReturnType, type UseDepositAndAllocateParameters, type UseDepositAndAllocateReturnType, type UseDepositParameters, type UseDepositReturnType, type UseEditAccountNameParameters, type UseEditAccountNameReturnType, type UsePredictedNextVirtualAccountParameters, type UsePredictedNextVirtualAccountReturnType, type UseRemoveMarginParameters, type UseRemoveMarginReturnType, type UseSimulateAddMarginParameters, type UseSimulateAddMarginReturnType, type UseSimulateAllocateParameters, type UseSimulateAllocateReturnType, type UseSimulateCreateSubAccountsParameters, type UseSimulateCreateSubAccountsReturnType, type UseSimulateDeallocateParameters, type UseSimulateDeallocateReturnType, type UseSimulateDeleteSubAccountParameters, type UseSimulateDeleteSubAccountReturnType, type UseSimulateDepositAndAllocateParameters, type UseSimulateDepositAndAllocateReturnType, type UseSimulateDepositParameters, type UseSimulateDepositReturnType, type UseSimulateEditAccountNameParameters, type UseSimulateEditAccountNameReturnType, type UseSimulateRemoveMarginParameters, type UseSimulateRemoveMarginReturnType, type UseSubAccountParameters, type UseSubAccountReturnType, type UseSubAccountVirtualNonceParameters, type UseSubAccountVirtualNonceReturnType, type UseSubAccountsCountOfUserParameters, type UseSubAccountsCountOfUserReturnType, type UseUserSubAccountsAddressesParameters, type UseUserSubAccountsAddressesReturnType, type UseUserSubAccountsParameters, type UseUserSubAccountsReturnType, type UseVirtualAccountParameters, type UseVirtualAccountReturnType, type UseVirtualAccountsAddressesOfSubAccountParameters, type UseVirtualAccountsAddressesOfSubAccountReturnType, } from './account-layer';
36
+ export { useAccountBalanceInfo, useAccountBalanceOf, useAddMargin, useAllocate, useCreateSubAccounts, useDeallocate, useDeleteSubAccount, useDeposit, useDepositAndAllocate, useEditAccountName, usePredictedNextVirtualAccount, useRemoveMargin, useSimulateAddMargin, useSimulateAllocate, useSimulateCreateSubAccounts, useSimulateDeallocate, useSimulateDeleteSubAccount, useSimulateDeposit, useSimulateDepositAndAllocate, useSimulateEditAccountName, useSimulateRemoveMargin, useSubAccount, useSubAccountVirtualNonce, useSubAccountsCountOfUser, useUserSubAccounts, useUserSubAccountsAddresses, useVirtualAccount, useVirtualAccountsAddressesOfSubAccount, type AddMarginResult, type AllocateResult, type CreateSubAccountsResult, type DeallocateResult, type DeallocateVariables, type DeleteSubAccountResult, type DepositAndAllocateResult, type DepositResult, type EditAccountNameResult, type RemoveMarginResult, type RemoveMarginVariables, type UseAccountBalanceInfoParameters, type UseAccountBalanceInfoReturnType, type UseAccountBalanceOfParameters, type UseAccountBalanceOfReturnType, type UseAddMarginParameters, type UseAddMarginReturnType, type UseAllocateParameters, type UseAllocateReturnType, type UseCreateSubAccountsParameters, type UseCreateSubAccountsReturnType, type UseDeallocateParameters, type UseDeallocateReturnType, type UseDeleteSubAccountParameters, type UseDeleteSubAccountReturnType, type UseDepositAndAllocateParameters, type UseDepositAndAllocateReturnType, type UseDepositParameters, type UseDepositReturnType, type UseEditAccountNameParameters, type UseEditAccountNameReturnType, type UsePredictedNextVirtualAccountParameters, type UsePredictedNextVirtualAccountReturnType, type UseRemoveMarginParameters, type UseRemoveMarginReturnType, type UseSimulateAddMarginParameters, type UseSimulateAddMarginReturnType, type UseSimulateAllocateParameters, type UseSimulateAllocateReturnType, type UseSimulateCreateSubAccountsParameters, type UseSimulateCreateSubAccountsReturnType, type UseSimulateDeallocateParameters, type UseSimulateDeallocateReturnType, type UseSimulateDeleteSubAccountParameters, type UseSimulateDeleteSubAccountReturnType, type UseSimulateDepositAndAllocateParameters, type UseSimulateDepositAndAllocateReturnType, type UseSimulateDepositParameters, type UseSimulateDepositReturnType, type UseSimulateEditAccountNameParameters, type UseSimulateEditAccountNameReturnType, type UseSimulateRemoveMarginParameters, type UseSimulateRemoveMarginReturnType, type UseSubAccountParameters, type UseSubAccountReturnType, type UseSubAccountVirtualNonceParameters, type UseSubAccountVirtualNonceReturnType, type UseSubAccountsCountOfUserParameters, type UseSubAccountsCountOfUserReturnType, type UseUserSubAccountsAddressesParameters, type UseUserSubAccountsAddressesReturnType, type UseUserSubAccountsParameters, type UseUserSubAccountsReturnType, type UseVirtualAccountParameters, type UseVirtualAccountReturnType, type UseVirtualAccountsAddressesOfSubAccountParameters, type UseVirtualAccountsAddressesOfSubAccountReturnType, } from './account-layer/index.js';
37
37
  /**
38
38
  * Collateral hooks
39
39
  * ----------------
40
40
  * Approve the collateral token for the SYMMIO core (the deposit prerequisite) and
41
41
  * read the connected wallet's allowance and balance.
42
42
  */
43
- export { useApproveCollateral, useCollateralAllowance, useCollateralBalance, useSimulateApproveCollateral, type ApproveCollateralResult, type UseApproveCollateralParameters, type UseApproveCollateralReturnType, type UseCollateralAllowanceParameters, type UseCollateralAllowanceReturnType, type UseCollateralBalanceParameters, type UseCollateralBalanceReturnType, type UseSimulateApproveCollateralParameters, type UseSimulateApproveCollateralReturnType, } from './collateral';
43
+ export { useApproveCollateral, useCollateralAllowance, useCollateralBalance, useSimulateApproveCollateral, type ApproveCollateralResult, type UseApproveCollateralParameters, type UseApproveCollateralReturnType, type UseCollateralAllowanceParameters, type UseCollateralAllowanceReturnType, type UseCollateralBalanceParameters, type UseCollateralBalanceReturnType, type UseSimulateApproveCollateralParameters, type UseSimulateApproveCollateralReturnType, } from './collateral/index.js';
44
44
  /**
45
45
  * InstantLayer hooks
46
46
  * ------------------
47
47
  * Delegated signer access reads and grant writes for the Instant Layer
48
48
  * contract.
49
49
  */
50
- export { useDelegationExpiry, useGrantDelegation, useInstantClose, useInstantCloseAuto, useInstantCloseBulk, useInstantCloseBulkAuto, useInstantCloses, useInstantOpen, useInstantOpenAuto, useInstantOpenQuoteId, useInstantOpens, useIsDelegationActive, useSimulateGrantDelegation, type GrantDelegationResult, type UseDelegationExpiryParameters, type UseDelegationExpiryReturnType, type UseGrantDelegationParameters, type UseGrantDelegationReturnType, type UseInstantCloseAutoParameters, type UseInstantCloseAutoReturnType, type UseInstantCloseBulkAutoParameters, type UseInstantCloseBulkAutoReturnType, type UseInstantCloseBulkParameters, type UseInstantCloseBulkReturnType, type UseInstantCloseParameters, type UseInstantCloseReturnType, type UseInstantClosesParameters, type UseInstantClosesReturnType, type UseInstantOpenAutoParameters, type UseInstantOpenAutoReturnType, type UseInstantOpenParameters, type UseInstantOpenQuoteIdParameters, type UseInstantOpenQuoteIdReturnType, type UseInstantOpenReturnType, type UseInstantOpensParameters, type UseInstantOpensReturnType, type UseIsDelegationActiveParameters, type UseIsDelegationActiveReturnType, type UseSimulateGrantDelegationParameters, type UseSimulateGrantDelegationReturnType, } from './instant-layer';
50
+ export { useDelegationExpiry, useGrantDelegation, useInstantClose, useInstantCloseAuto, useInstantCloseBulk, useInstantCloseBulkAuto, useInstantCloses, useInstantOpen, useInstantOpenAuto, useInstantOpenQuoteId, useInstantOpenWithTpSl, useInstantOpens, useIsDelegationActive, useSimulateGrantDelegation, type GrantDelegationResult, type UseDelegationExpiryParameters, type UseDelegationExpiryReturnType, type UseGrantDelegationParameters, type UseGrantDelegationReturnType, type UseInstantCloseAutoParameters, type UseInstantCloseAutoReturnType, type UseInstantCloseBulkAutoParameters, type UseInstantCloseBulkAutoReturnType, type UseInstantCloseBulkParameters, type UseInstantCloseBulkReturnType, type UseInstantCloseParameters, type UseInstantCloseReturnType, type UseInstantClosesParameters, type UseInstantClosesReturnType, type UseInstantOpenAutoParameters, type UseInstantOpenAutoReturnType, type UseInstantOpenParameters, type UseInstantOpenQuoteIdParameters, type UseInstantOpenQuoteIdReturnType, type UseInstantOpenReturnType, type UseInstantOpenWithTpSlData, type UseInstantOpenWithTpSlParameters, type UseInstantOpenWithTpSlPhase, type UseInstantOpenWithTpSlReturnType, type UseInstantOpenWithTpSlVariables, type UseInstantOpensParameters, type UseInstantOpensReturnType, type UseIsDelegationActiveParameters, type UseIsDelegationActiveReturnType, type UseSimulateGrantDelegationParameters, type UseSimulateGrantDelegationReturnType, } from './instant-layer/index.js';
51
51
  /**
52
52
  * Withdraw hooks
53
53
  * --------------
@@ -55,21 +55,21 @@ export { useDelegationExpiry, useGrantDelegation, useInstantClose, useInstantClo
55
55
  * write wrappers hide the AccountLayer `_call` proxying) plus the read views for
56
56
  * pending requests, ids, and the withdrawable time.
57
57
  */
58
- export { useFinalizeWithdrawRequest, useInitiateWithdraw, useLastWithdrawRequestId, usePendingWithdrawRequests, useRequestCancelWithdraw, useSimulateFinalizeWithdrawRequest, useSimulateInitiateWithdraw, useSimulateRequestCancelWithdraw, useWithdrawRequest, useWithdrawableTime, type FinalizeWithdrawRequestResult, type InitiateWithdrawResult, type RequestCancelWithdrawResult, type UseFinalizeWithdrawRequestParameters, type UseFinalizeWithdrawRequestReturnType, type UseInitiateWithdrawParameters, type UseInitiateWithdrawReturnType, type UseLastWithdrawRequestIdParameters, type UseLastWithdrawRequestIdReturnType, type UsePendingWithdrawRequestsParameters, type UsePendingWithdrawRequestsReturnType, type UseRequestCancelWithdrawParameters, type UseRequestCancelWithdrawReturnType, type UseSimulateFinalizeWithdrawRequestParameters, type UseSimulateFinalizeWithdrawRequestReturnType, type UseSimulateInitiateWithdrawParameters, type UseSimulateInitiateWithdrawReturnType, type UseSimulateRequestCancelWithdrawParameters, type UseSimulateRequestCancelWithdrawReturnType, type UseWithdrawRequestParameters, type UseWithdrawRequestReturnType, type UseWithdrawableTimeParameters, type UseWithdrawableTimeReturnType, } from './withdraw';
58
+ export { useFinalizeWithdrawRequest, useInitiateWithdraw, useLastWithdrawRequestId, usePendingWithdrawRequests, useRequestCancelWithdraw, useSimulateFinalizeWithdrawRequest, useSimulateInitiateWithdraw, useSimulateRequestCancelWithdraw, useWithdrawRequest, useWithdrawableTime, type FinalizeWithdrawRequestResult, type InitiateWithdrawResult, type RequestCancelWithdrawResult, type UseFinalizeWithdrawRequestParameters, type UseFinalizeWithdrawRequestReturnType, type UseInitiateWithdrawParameters, type UseInitiateWithdrawReturnType, type UseLastWithdrawRequestIdParameters, type UseLastWithdrawRequestIdReturnType, type UsePendingWithdrawRequestsParameters, type UsePendingWithdrawRequestsReturnType, type UseRequestCancelWithdrawParameters, type UseRequestCancelWithdrawReturnType, type UseSimulateFinalizeWithdrawRequestParameters, type UseSimulateFinalizeWithdrawRequestReturnType, type UseSimulateInitiateWithdrawParameters, type UseSimulateInitiateWithdrawReturnType, type UseSimulateRequestCancelWithdrawParameters, type UseSimulateRequestCancelWithdrawReturnType, type UseWithdrawRequestParameters, type UseWithdrawRequestReturnType, type UseWithdrawableTimeParameters, type UseWithdrawableTimeReturnType, } from './withdraw/index.js';
59
59
  /**
60
60
  * Markets hooks
61
61
  * -------------
62
62
  * Fetch tradable markets from the solver and on-chain contract markets from
63
63
  * SYMMIO core.
64
64
  */
65
- export { useMarkets, useOnchainContractMarkets, type UseMarketsParameters, type UseMarketsReturnType, type UseOnchainContractMarketsParameters, type UseOnchainContractMarketsReturnType, } from './markets';
65
+ export { useMarkets, useOnchainContractMarkets, type UseMarketsParameters, type UseMarketsReturnType, type UseOnchainContractMarketsParameters, type UseOnchainContractMarketsReturnType, } from './markets/index.js';
66
66
  /**
67
67
  * Solver error-code hooks
68
68
  * -----------------------
69
69
  * Fetch the solver's `/error_codes` map and resolve a single numeric code (e.g.
70
70
  * the `errorCode` on a failed open/close notification) to its message.
71
71
  */
72
- export { useSolverErrorCodes, useSolverErrorMessage, type UseSolverErrorCodesParameters, type UseSolverErrorCodesReturnType, } from './error-codes';
72
+ export { useSolverErrorCodes, useSolverErrorMessage, type UseSolverErrorCodesParameters, type UseSolverErrorCodesReturnType, } from './error-codes/index.js';
73
73
  /**
74
74
  * Quote hooks
75
75
  * -----------
@@ -81,7 +81,11 @@ export { useSolverErrorCodes, useSolverErrorMessage, type UseSolverErrorCodesPar
81
81
  * seeded by the optimistic `useOptimisticQuotesStore`. Import the `UnifiedQuote`
82
82
  * / `QuoteLifecycle` value types from `@symmio/trading-core`.
83
83
  */
84
- export { useAccountLiquidationPrice, useGroupedQuotes, useManagedQuotes, useOptimisticQuotesStore, usePartyAOpenPositions, usePartyAPendingQuotes, useQuote, useQuoteEventsByType, useQuoteFunding, useQuoteHistory, useQuotePlatformFee, useQuotePriceHistory, useQuoteUpnlAndPnl, useQuotesFunding, useSubgraphQuery, type ManagedQuotesSources, type OptimisticQuotesStoreState, type QuotesFundingInputQuote, type UseAccountLiquidationPriceParameters, type UseAccountLiquidationPriceReturnType, type UseGroupedQuotesParameters, type UseGroupedQuotesResult, type UseManagedQuotesParameters, type UseManagedQuotesResult, type UsePartyAOpenPositionsParameters, type UsePartyAOpenPositionsReturnType, type UsePartyAPendingQuotesParameters, type UsePartyAPendingQuotesReturnType, type UseQuoteEventsByTypeParameters, type UseQuoteEventsByTypeReturnType, type UseQuoteFundingParameters, type UseQuoteFundingReturnType, type UseQuoteHistoryParameters, type UseQuoteHistoryReturnType, type UseQuoteParameters, type UseQuotePlatformFeeParameters, type UseQuotePlatformFeeReturnType, type UseQuotePriceHistoryParameters, type UseQuoteReturnType, type UseQuoteUpnlAndPnlParameters, type UseQuoteUpnlAndPnlReturnType, type UseQuotesFundingParameters, type UseQuotesFundingReturnType, type UseSubgraphQueryParameters, type UseSubgraphQueryReturnType, } from './quotes';
84
+ export { useAccountLiquidationPrice, useGroupedQuotes, useManagedQuotes, useOptimisticQuotesStore, usePartyAOpenPositions, usePartyAPendingQuotes, useQuote, useQuoteEventsByType, useQuoteFunding, useQuoteHistory, useQuotePlatformFee, useQuotePriceHistory, useQuoteUpnlAndPnl, useQuotesFunding, useSubgraphQuery, type ManagedQuotesSources, type OptimisticQuotesStoreState, type QuotesFundingInputQuote, type UseAccountLiquidationPriceParameters, type UseAccountLiquidationPriceReturnType, type UseGroupedQuotesParameters, type UseGroupedQuotesResult, type UseManagedQuotesParameters, type UseManagedQuotesResult, type UsePartyAOpenPositionsParameters, type UsePartyAOpenPositionsReturnType, type UsePartyAPendingQuotesParameters, type UsePartyAPendingQuotesReturnType, type UseQuoteEventsByTypeParameters, type UseQuoteEventsByTypeReturnType, type UseQuoteFundingParameters, type UseQuoteFundingReturnType, type UseQuoteHistoryParameters, type UseQuoteHistoryReturnType, type UseQuoteParameters, type UseQuotePlatformFeeParameters, type UseQuotePlatformFeeReturnType, type UseQuotePriceHistoryParameters, type UseQuoteReturnType, type UseQuoteUpnlAndPnlParameters, type UseQuoteUpnlAndPnlReturnType, type UseQuotesFundingParameters, type UseQuotesFundingReturnType, type UseSubgraphQueryParameters, type UseSubgraphQueryReturnType, } from './quotes/index.js';
85
+ /**
86
+ * Margin — derived spendable-margin helpers for the trade form.
87
+ */
88
+ export { useAvailableInstantOpenMargin, type UseAvailableInstantOpenMarginParameters, type UseAvailableInstantOpenMarginReturnType, } from './margin/index.js';
85
89
  /**
86
90
  * Balance history hooks
87
91
  * ---------------------
@@ -92,7 +96,7 @@ export { useAccountLiquidationPrice, useGroupedQuotes, useManagedQuotes, useOpti
92
96
  * `BalanceHistoryFilter` / `MarginTransferType` enums and `BalanceHistoryRow`
93
97
  * type from `@symmio/trading-core`.
94
98
  */
95
- export { useBalanceHistory, useDepositHistory, useWithdrawHistory, type UseBalanceHistoryParameters, type UseBalanceHistoryReturnType, type UseDepositHistoryParameters, type UseWithdrawHistoryParameters, } from './balance-history';
99
+ export { useBalanceHistory, useDepositHistory, useWithdrawHistory, type UseBalanceHistoryParameters, type UseBalanceHistoryReturnType, type UseDepositHistoryParameters, type UseWithdrawHistoryParameters, } from './balance-history/index.js';
96
100
  /**
97
101
  * Transfer history hook
98
102
  * ---------------------
@@ -100,32 +104,49 @@ export { useBalanceHistory, useDepositHistory, useWithdrawHistory, type UseBalan
100
104
  * accounts) from the events subgraph (`getTransferHistory`). Import the
101
105
  * `TransferRow` / `TransferDirection` types from `@symmio/trading-core`.
102
106
  */
103
- export { useTransferHistory, type UseTransferHistoryParameters, type UseTransferHistoryReturnType } from './transfers';
107
+ export { useTransferHistory, type UseTransferHistoryParameters, type UseTransferHistoryReturnType } from './transfers/index.js';
104
108
  /**
105
109
  * Locked params hooks
106
110
  * -------------------
107
111
  * Fetch solver lock percentages for a market/leverage pair.
108
112
  */
109
- export { useLockedParams, type UseLockedParamsParameters, type UseLockedParamsReturnType } from './locked-params';
113
+ export { useLockedParams, type UseLockedParamsParameters, type UseLockedParamsReturnType } from './locked-params/index.js';
110
114
  /**
111
115
  * Notional cap hooks
112
116
  * ------------------
113
117
  * Read per-market available liquidity from the solver, polled every 15 s by
114
118
  * default. Caller controls the polling cadence (or disables it).
115
119
  */
116
- export { DEFAULT_NOTIONAL_CAP_POLLING_MS, useNotionalCapAll, useNotionalCapBySymbolId, useOpenInterestBySymbolId, type UseNotionalCapAllParameters, type UseNotionalCapAllReturnType, type UseNotionalCapBySymbolIdParameters, type UseNotionalCapBySymbolIdReturnType, type UseOpenInterestBySymbolIdParameters, type UseOpenInterestBySymbolIdReturnType, } from './notional-cap';
120
+ export { DEFAULT_NOTIONAL_CAP_POLLING_MS, useNotionalCapAll, useNotionalCapBySymbolId, useOpenInterestBySymbolId, type UseNotionalCapAllParameters, type UseNotionalCapAllReturnType, type UseNotionalCapBySymbolIdParameters, type UseNotionalCapBySymbolIdReturnType, type UseOpenInterestBySymbolIdParameters, type UseOpenInterestBySymbolIdReturnType, } from './notional-cap/index.js';
121
+ /**
122
+ * Funding-info hooks
123
+ * ------------------
124
+ * Read per-market funding rates (next-epoch long/short), next funding time, and
125
+ * epoch length from the solver. Does not poll by default; the caller opts into
126
+ * polling via `query.refetchInterval`.
127
+ */
128
+ export { useEstimatedPrice, type UseEstimatedPriceParameters, type UseEstimatedPriceReturnType, } from './estimated-price/index.js';
129
+ export { useFundingInfo, type UseFundingInfoParameters, type UseFundingInfoReturnType } from './funding-info/index.js';
130
+ /**
131
+ * Market-info hooks
132
+ * -----------------
133
+ * Read per-market 24h trading volume and lifetime value, plus the aggregate
134
+ * totals, from the solver. Does not poll by default; the caller opts into
135
+ * polling via `query.refetchInterval`.
136
+ */
137
+ export { useMarketInfo, type UseMarketInfoParameters, type UseMarketInfoReturnType } from './market-info/index.js';
117
138
  /**
118
139
  * Fee hooks
119
140
  * ---------
120
141
  * Read SYMMIO fee settings for a user/account, affiliate, and symbol id.
121
142
  */
122
- export { useFeeForUser, type UseFeeForUserParameters, type UseFeeForUserReturnType } from './fees';
143
+ export { useFeeForUser, type UseFeeForUserParameters, type UseFeeForUserReturnType } from './fees/index.js';
123
144
  /**
124
145
  * Price-service hooks
125
146
  * -------------------
126
147
  * Read Enigma price-service prices, metadata, symbols info, and health.
127
148
  */
128
- export { useEnigmaPriceByMarketId, useEnigmaPriceByName, useEnigmaPriceServiceHealth, useEnigmaPriceServiceMetadata, useEnigmaPriceServicePricesByAddresses, useEnigmaPriceServicePricesByNames, useEnigmaPriceServiceSymbolsInfo, useEnigmaPrices, type UseEnigmaPriceByMarketIdParameters, type UseEnigmaPriceByMarketIdReturnType, type UseEnigmaPriceByNameParameters, type UseEnigmaPriceByNameReturnType, type UseEnigmaPriceServiceHealthParameters, type UseEnigmaPriceServiceHealthReturnType, type UseEnigmaPriceServiceMetadataParameters, type UseEnigmaPriceServiceMetadataReturnType, type UseEnigmaPriceServicePricesByAddressesParameters, type UseEnigmaPriceServicePricesByAddressesReturnType, type UseEnigmaPriceServicePricesByNamesParameters, type UseEnigmaPriceServicePricesByNamesReturnType, type UseEnigmaPriceServiceSymbolsInfoParameters, type UseEnigmaPriceServiceSymbolsInfoReturnType, type UseEnigmaPricesParameters, type UseEnigmaPricesReturnType, } from './price-service';
149
+ export { useEnigmaPriceByMarketId, useEnigmaPriceByName, useEnigmaPriceServiceHealth, useEnigmaPriceServiceMetadata, useEnigmaPriceServicePricesByAddresses, useEnigmaPriceServicePricesByNames, useEnigmaPriceServiceSymbolsInfo, useEnigmaPrices, type UseEnigmaPriceByMarketIdParameters, type UseEnigmaPriceByMarketIdReturnType, type UseEnigmaPriceByNameParameters, type UseEnigmaPriceByNameReturnType, type UseEnigmaPriceServiceHealthParameters, type UseEnigmaPriceServiceHealthReturnType, type UseEnigmaPriceServiceMetadataParameters, type UseEnigmaPriceServiceMetadataReturnType, type UseEnigmaPriceServicePricesByAddressesParameters, type UseEnigmaPriceServicePricesByAddressesReturnType, type UseEnigmaPriceServicePricesByNamesParameters, type UseEnigmaPriceServicePricesByNamesReturnType, type UseEnigmaPriceServiceSymbolsInfoParameters, type UseEnigmaPriceServiceSymbolsInfoReturnType, type UseEnigmaPricesParameters, type UseEnigmaPricesReturnType, } from './price-service/index.js';
129
150
  /**
130
151
  * WebSocket / notifications hooks
131
152
  * -------------------------------
@@ -133,7 +154,7 @@ export { useEnigmaPriceByMarketId, useEnigmaPriceByName, useEnigmaPriceServiceHe
133
154
  * value types (`Notification`, `NotificationType`, `SocketStatus`) from
134
155
  * `@symmio/trading-core`.
135
156
  */
136
- export { useNotifications, type UseNotificationsParameters, type UseNotificationsReturnType } from './websocket';
157
+ export { useNotifications, type UseNotificationsParameters, type UseNotificationsReturnType } from './websocket/index.js';
137
158
  /**
138
159
  * Notification search hooks
139
160
  * -------------------------
@@ -143,35 +164,35 @@ export { useNotifications, type UseNotificationsParameters, type UseNotification
143
164
  * (`NotificationSearchFilter`, `NotificationDocument`, `NotificationSearchResult`)
144
165
  * from `@symmio/trading-core`.
145
166
  */
146
- export { useSearchNotifications, type UseSearchNotificationsParameters, type UseSearchNotificationsReturnType, } from './notifications';
167
+ export { useSearchNotifications, type UseSearchNotificationsParameters, type UseSearchNotificationsReturnType, } from './notifications/index.js';
147
168
  /**
148
169
  * Muon hooks
149
170
  * ----------
150
171
  * Fetch the Muon uPnL signature `removeMargin` requires, on demand. `useRemoveMargin`
151
172
  * already does this internally; use this hook only for the raw signature.
152
173
  */
153
- export { useDeallocateUpnlSig, useMuonPartyAOverview, useMuonPrice, useMuonPriceRange, useMuonSettleUpnl, useMuonUpnl, useMuonUpnlA, useMuonUpnlAWithSymbolPrice, useMuonUpnlB, useMuonUpnlWithSymbolPrice, type UseDeallocateUpnlSigParameters, type UseDeallocateUpnlSigReturnType, type UseMuonPartyAOverviewParameters, type UseMuonPartyAOverviewReturnType, type UseMuonPriceParameters, type UseMuonPriceRangeParameters, type UseMuonPriceRangeReturnType, type UseMuonPriceReturnType, type UseMuonSettleUpnlParameters, type UseMuonSettleUpnlReturnType, type UseMuonUpnlAParameters, type UseMuonUpnlAReturnType, type UseMuonUpnlAWithSymbolPriceParameters, type UseMuonUpnlAWithSymbolPriceReturnType, type UseMuonUpnlBParameters, type UseMuonUpnlBReturnType, type UseMuonUpnlParameters, type UseMuonUpnlReturnType, type UseMuonUpnlWithSymbolPriceParameters, type UseMuonUpnlWithSymbolPriceReturnType, } from './muon';
174
+ export { useDeallocateUpnlSig, useMuonPartyAOverview, useMuonPrice, useMuonPriceRange, useMuonSettleUpnl, useMuonUpnl, useMuonUpnlA, useMuonUpnlAWithSymbolPrice, useMuonUpnlB, useMuonUpnlWithSymbolPrice, type UseDeallocateUpnlSigParameters, type UseDeallocateUpnlSigReturnType, type UseMuonPartyAOverviewParameters, type UseMuonPartyAOverviewReturnType, type UseMuonPriceParameters, type UseMuonPriceRangeParameters, type UseMuonPriceRangeReturnType, type UseMuonPriceReturnType, type UseMuonSettleUpnlParameters, type UseMuonSettleUpnlReturnType, type UseMuonUpnlAParameters, type UseMuonUpnlAReturnType, type UseMuonUpnlAWithSymbolPriceParameters, type UseMuonUpnlAWithSymbolPriceReturnType, type UseMuonUpnlBParameters, type UseMuonUpnlBReturnType, type UseMuonUpnlParameters, type UseMuonUpnlReturnType, type UseMuonUpnlWithSymbolPriceParameters, type UseMuonUpnlWithSymbolPriceReturnType, } from './muon/index.js';
154
175
  /**
155
176
  * Query helpers
156
177
  * -------------
157
178
  * Turn a core query-key factory into an `invalidateQueries` predicate that
158
179
  * matches on a field subset (e.g. every subaccount query for one user).
159
180
  */
160
- export { predicateMatch } from './utils';
181
+ export { predicateMatch } from './utils/index.js';
161
182
  /**
162
183
  * Errors
163
184
  * ------
164
185
  * Normalized error type every SDK hook surfaces, plus the classifier the hooks
165
186
  * use internally. UIs branch on `error.kind`.
166
187
  */
167
- export { SymmioRequestError, normalizeSymmError, type SymmioNormalizedErrorKind, type SymmioRequestErrorOptions, } from './errors';
188
+ export { SymmioRequestError, normalizeSymmError, type SymmioNormalizedErrorKind, type SymmioRequestErrorOptions, } from './errors/index.js';
168
189
  /**
169
190
  * Transactions
170
191
  * ------------
171
192
  * Shared shape for write hooks (`WriteParameters` / `WriteResult`), plus an
172
193
  * optional zustand store for tracking in-flight tx hashes in the UI.
173
194
  */
174
- export { useTransactionsStore, type TrackedTx, type TransactionsStoreState, type WriteParameters, type WriteResult, } from './transactions';
195
+ export { useTransactionsStore, type TrackedTx, type TransactionsStoreState, type WriteParameters, type WriteResult, } from './transactions/index.js';
175
196
  /**
176
197
  * TP/SL hooks + helpers
177
198
  * ---------------------
@@ -179,6 +200,6 @@ export { useTransactionsStore, type TrackedTx, type TransactionsStoreState, type
179
200
  * orders via session-key EIP-712 signing. Pure helpers re-exported from
180
201
  * `@symmio/trading-core` so consumers can stay on one dependency.
181
202
  */
182
- export { DEFAULT_TPSL_SLIPPAGE_LOWCAPS, ZERO_LEG, buildConditionalOrderLeg, buildConditionalOrderMessage, buildTpSlDeleteMessage, generateTpSlSalt, parseTpSlFrame, priceSlippageCalculation, signTpSlRequest, toSignableTpSlMessage, validateTpSl, watchTpSlNotifications, type QuoteTpSl, type QuoteTpSlActionPriceType, type QuoteTpSlConditionalOrderType, type QuoteTpSlRow, type QuoteTpSlRowState, type SetTpSlSide, type TpSlConditionalOrderLeg, type TpSlConditionalOrderMessage, type TpSlConditionalOrderType, type TpSlConfig, type TpSlDeleteMessage, type TpSlInfoState, type TpSlNotification, type TpSlPriceType, type TpSlSignedRequest, type TpSlSigningSpec, type TpSlValidation, type UnwatchTpSl, type ValidateTpSlInputs, type WatchTpSlNotificationsParameters, } from '@symmio/trading-core';
183
- export { toQuoteTpSl, useQuoteTpSl, useSetQuoteTpSl, useTpSlConfig, useTpSlSigningSpec, useWatchTpSlNotifications, type UseQuoteTpSlParameters, type UseQuoteTpSlReturnType, type UseSetQuoteTpSlParameters, type UseSetQuoteTpSlReturnType, type UseTpSlConfigParameters, type UseTpSlConfigReturnType, type UseTpSlSigningSpecParameters, type UseTpSlSigningSpecReturnType, type UseWatchTpSlNotificationsParameters, type UseWatchTpSlNotificationsReturnType, } from './tpsl';
203
+ export { DEFAULT_TPSL_SLIPPAGE_LOWCAPS, ZERO_LEG, buildConditionalOrderLeg, buildConditionalOrderMessage, buildTpSlDeleteMessage, deleteQuoteTpSl, deleteQuoteTpSlMutationOptions, generateTpSlSalt, parseTpSlFrame, priceSlippageCalculation, signTpSlRequest, toSignableTpSlMessage, validateTpSl, watchTpSlNotifications, type DeleteQuoteTpSlParameters, type DeleteQuoteTpSlReturnType, type QuoteTpSl, type QuoteTpSlActionPriceType, type QuoteTpSlConditionalOrderType, type QuoteTpSlRow, type QuoteTpSlRowState, type SetTpSlSide, type TpSlConditionalOrderLeg, type TpSlConditionalOrderMessage, type TpSlConditionalOrderType, type TpSlConfig, type TpSlDeleteMessage, type TpSlInfoState, type TpSlNotification, type TpSlPriceType, type TpSlSignedRequest, type TpSlSigningSpec, type TpSlValidation, type UnwatchTpSl, type ValidateTpSlInputs, type WatchTpSlNotificationsParameters, } from '@symmio/trading-core';
204
+ export { toQuoteTpSl, useDeleteQuoteTpSl, useQuoteTpSl, useSetQuoteTpSl, useTpSlConfig, useTpSlRecord, useTpSlSigningSpec, useTpSlStore, useWatchTpSlNotifications, type TpSlRecord, type TpSlStoreState, type UseDeleteQuoteTpSlParameters, type UseDeleteQuoteTpSlReturnType, type UseQuoteTpSlParameters, type UseQuoteTpSlReturnType, type UseSetQuoteTpSlParameters, type UseSetQuoteTpSlReturnType, type UseTpSlConfigParameters, type UseTpSlConfigReturnType, type UseTpSlSigningSpecParameters, type UseTpSlSigningSpecReturnType, type UseWatchTpSlNotificationsParameters, type UseWatchTpSlNotificationsReturnType, } from './tpsl/index.js';
184
205
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH;;;;;;GAMG;AACH,OAAO,EACL,8BAA8B,EAC9B,gCAAgC,EAChC,gBAAgB,EAChB,SAAS,EACT,YAAY,EACZ,WAAW,EACX,kCAAkC,EAClC,2CAA2C,EAC3C,uBAAuB,EACvB,YAAY,EACZ,SAAS,EACT,8BAA8B,EAC9B,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACnB,8BAA8B,EAC9B,kCAAkC,EAClC,iCAAiC,EACjC,gCAAgC,EAChC,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,0BAA0B,EAC/B,KAAK,6BAA6B,EAClC,KAAK,gCAAgC,EACrC,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,gCAAgC,EACrC,KAAK,yBAAyB,EAC9B,KAAK,8BAA8B,EACnC,KAAK,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B,KAAK,WAAW,EAChB,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,EAChC,KAAK,wBAAwB,EAC7B,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,gCAAgC,GACtC,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,WAAW,EACX,kBAAkB,EAClB,YAAY,EACZ,eAAe,EACf,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,YAAY,EACZ,yBAAyB,EACzB,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,mCAAmC,EACxC,KAAK,mCAAmC,GACzC,MAAM,QAAQ,CAAC"}
package/dist/index.js CHANGED
@@ -7,116 +7,123 @@ import { useConnectWallet as a } from "./wallet/use-connect-wallet.js";
7
7
  import { useDisconnectWallet as o } from "./wallet/use-disconnect-wallet.js";
8
8
  import { useSwitchToSymmioChain as s } from "./wallet/use-switch-to-symmio-chain.js";
9
9
  import { useWalletAccount as c } from "./wallet/use-wallet-account.js";
10
- import { useAccountBalanceInfo as l } from "./account-layer/use-account-balance-info.js";
11
- import { useAccountBalanceOf as u } from "./account-layer/use-account-balance-of.js";
12
- import { useTransactionsStore as d } from "./transactions/use-transactions-store.js";
13
- import { predicateMatch as f } from "./utils/predicate-match.js";
14
- import { useAddMargin as p } from "./account-layer/use-add-margin.js";
15
- import { useAllocate as m } from "./account-layer/use-allocate.js";
16
- import { useCreateSubAccounts as h } from "./account-layer/use-create-sub-accounts.js";
17
- import { useDeallocate as g } from "./account-layer/use-deallocate.js";
18
- import { useDeleteSubAccount as _ } from "./account-layer/use-delete-sub-account.js";
19
- import { useDeposit as v } from "./account-layer/use-deposit.js";
20
- import { useDepositAndAllocate as y } from "./account-layer/use-deposit-and-allocate.js";
21
- import { useEditAccountName as b } from "./account-layer/use-edit-account-name.js";
22
- import { usePredictedNextVirtualAccount as x } from "./account-layer/use-predicted-next-virtual-account.js";
23
- import { useRemoveMargin as S } from "./account-layer/use-remove-margin.js";
24
- import { useSimulateAddMargin as C } from "./account-layer/use-simulate-add-margin.js";
25
- import { useSimulateAllocate as w } from "./account-layer/use-simulate-allocate.js";
26
- import { useSimulateCreateSubAccounts as T } from "./account-layer/use-simulate-create-sub-accounts.js";
27
- import { useSimulateDeallocate as E } from "./account-layer/use-simulate-deallocate.js";
28
- import { useSimulateDeleteSubAccount as D } from "./account-layer/use-simulate-delete-sub-account.js";
29
- import { useSimulateDeposit as O } from "./account-layer/use-simulate-deposit.js";
30
- import { useSimulateDepositAndAllocate as k } from "./account-layer/use-simulate-deposit-and-allocate.js";
31
- import { useSimulateEditAccountName as A } from "./account-layer/use-simulate-edit-account-name.js";
32
- import { useSimulateRemoveMargin as j } from "./account-layer/use-simulate-remove-margin.js";
33
- import { useSubAccount as M } from "./account-layer/use-sub-account.js";
34
- import { useSubAccountVirtualNonce as N } from "./account-layer/use-sub-account-virtual-nonce.js";
35
- import { useSubAccountsCountOfUser as P } from "./account-layer/use-sub-accounts-count-of-user.js";
36
- import { useUserSubAccounts as F } from "./account-layer/use-user-sub-accounts.js";
37
- import { useUserSubAccountsAddresses as I } from "./account-layer/use-user-sub-accounts-addresses.js";
38
- import { useVirtualAccount as L } from "./account-layer/use-virtual-account.js";
39
- import { useVirtualAccountsAddressesOfSubAccount as R } from "./account-layer/use-virtual-accounts-addresses-of-sub-account.js";
40
- import { useApproveCollateral as z } from "./collateral/use-approve-collateral.js";
41
- import { useCollateralAllowance as B } from "./collateral/use-collateral-allowance.js";
42
- import { useCollateralBalance as V } from "./collateral/use-collateral-balance.js";
43
- import { useSimulateApproveCollateral as H } from "./collateral/use-simulate-approve-collateral.js";
44
- import { useDelegationExpiry as U } from "./instant-layer/use-delegation-expiry.js";
45
- import { useGrantDelegation as W } from "./instant-layer/use-grant-delegation.js";
46
- import { useInstantClose as G } from "./instant-layer/use-instant-close.js";
47
- import { useInstantCloseAuto as K } from "./instant-layer/use-instant-close-auto.js";
48
- import { useInstantCloseBulk as q } from "./instant-layer/use-instant-close-bulk.js";
49
- import { useInstantCloseBulkAuto as J } from "./instant-layer/use-instant-close-bulk-auto.js";
50
- import { useInstantCloses as Y } from "./instant-layer/use-instant-closes.js";
51
- import { useInstantOpen as X } from "./instant-layer/use-instant-open.js";
52
- import { useInstantOpenAuto as Z } from "./instant-layer/use-instant-open-auto.js";
53
- import { useInstantOpenQuoteId as Q } from "./instant-layer/use-instant-open-quote-id.js";
54
- import { useInstantOpens as $ } from "./instant-layer/use-instant-opens.js";
55
- import { useIsDelegationActive as ee } from "./instant-layer/use-is-delegation-active.js";
56
- import { useSimulateGrantDelegation as te } from "./instant-layer/use-simulate-grant-delegation.js";
57
- import { useFinalizeWithdrawRequest as ne } from "./withdraw/use-finalize-withdraw-request.js";
58
- import { useInitiateWithdraw as re } from "./withdraw/use-initiate-withdraw.js";
59
- import { useLastWithdrawRequestId as ie } from "./withdraw/use-last-withdraw-request-id.js";
60
- import { usePendingWithdrawRequests as ae } from "./withdraw/use-pending-withdraw-requests.js";
61
- import { useRequestCancelWithdraw as oe } from "./withdraw/use-request-cancel-withdraw.js";
62
- import { useSimulateFinalizeWithdrawRequest as se } from "./withdraw/use-simulate-finalize-withdraw-request.js";
63
- import { useSimulateInitiateWithdraw as ce } from "./withdraw/use-simulate-initiate-withdraw.js";
64
- import { useSimulateRequestCancelWithdraw as le } from "./withdraw/use-simulate-request-cancel-withdraw.js";
65
- import { useWithdrawRequest as ue } from "./withdraw/use-withdraw-requests.js";
66
- import { useWithdrawableTime as de } from "./withdraw/use-withdrawable-time.js";
67
- import { useMarkets as fe } from "./markets/use-markets.js";
68
- import { useOnchainContractMarkets as pe } from "./markets/use-onchain-contract-markets.js";
69
- import { useSolverErrorCodes as me } from "./error-codes/use-solver-error-codes.js";
70
- import { useSolverErrorMessage as he } from "./error-codes/use-solver-error-message.js";
71
- import { useOptimisticQuotesStore as ge } from "./quotes/optimistic-quotes-store.js";
72
- import { usePartyAOpenPositions as _e } from "./quotes/use-party-a-open-positions.js";
73
- import { useAccountLiquidationPrice as ve } from "./quotes/use-account-liquidation-price.js";
74
- import { useNotifications as ye } from "./websocket/use-notifications.js";
75
- import { useManagedQuotes as be } from "./quotes/use-managed-quotes.js";
76
- import { useGroupedQuotes as xe } from "./quotes/use-grouped-quotes.js";
77
- import { usePartyAPendingQuotes as Se } from "./quotes/use-party-a-pending-quotes.js";
78
- import { useQuote as Ce } from "./quotes/use-quote.js";
79
- import { useQuoteEventsByType as we } from "./quotes/use-quote-events-by-type.js";
80
- import { useQuotesFunding as Te } from "./quotes/use-quotes-funding.js";
81
- import { useQuoteFunding as Ee } from "./quotes/use-quote-funding.js";
82
- import { useQuoteHistory as De } from "./quotes/use-quote-history.js";
83
- import { useQuotePlatformFee as Oe } from "./quotes/use-quote-platform-fee.js";
84
- import { useQuotePriceHistory as ke } from "./quotes/use-quote-price-history.js";
85
- import { useEnigmaPriceByName as Ae } from "./price-service/use-enigma-price-by-name.js";
86
- import { useEnigmaPriceByMarketId as je } from "./price-service/use-enigma-price-by-market-id.js";
87
- import { useQuoteUpnlAndPnl as Me } from "./quotes/use-quote-upnl-and-pnl.js";
88
- import { useSubgraphQuery as Ne } from "./quotes/use-subgraph-query.js";
89
- import { useBalanceHistory as Pe } from "./balance-history/use-balance-history.js";
90
- import { useDepositHistory as Fe } from "./balance-history/use-deposit-history.js";
91
- import { useWithdrawHistory as Ie } from "./balance-history/use-withdraw-history.js";
92
- import { useTransferHistory as Le } from "./transfers/use-transfer-history.js";
93
- import { useLockedParams as Re } from "./locked-params/use-locked-params.js";
94
- import { DEFAULT_NOTIONAL_CAP_POLLING_MS as ze, useNotionalCapBySymbolId as Be } from "./notional-cap/use-notional-cap-by-symbol-id.js";
95
- import { useNotionalCapAll as Ve } from "./notional-cap/use-notional-cap-all.js";
96
- import { useOpenInterestBySymbolId as He } from "./notional-cap/use-open-interest-by-symbol-id.js";
97
- import { useFeeForUser as Ue } from "./fees/use-fee-for-user.js";
98
- import { useEnigmaPriceServiceHealth as We } from "./price-service/use-enigma-price-service-health.js";
99
- import { useEnigmaPriceServiceMetadata as Ge } from "./price-service/use-enigma-price-service-metadata.js";
100
- import { useEnigmaPriceServicePricesByAddresses as Ke } from "./price-service/use-enigma-price-service-prices-by-addresses.js";
101
- import { useEnigmaPriceServicePricesByNames as qe } from "./price-service/use-enigma-price-service-prices-by-names.js";
102
- import { useEnigmaPriceServiceSymbolsInfo as Je } from "./price-service/use-enigma-price-service-symbols-info.js";
103
- import { useEnigmaPrices as Ye } from "./price-service/use-enigma-prices.js";
104
- import { useSearchNotifications as Xe } from "./notifications/use-search-notifications.js";
105
- import { useDeallocateUpnlSig as Ze } from "./muon/use-deallocate-upnl-sig.js";
106
- import { useMuonPartyAOverview as Qe } from "./muon/use-muon-party-a-overview.js";
107
- import { useMuonPrice as $e } from "./muon/use-muon-price.js";
108
- import { useMuonPriceRange as et } from "./muon/use-muon-price-range.js";
109
- import { useMuonSettleUpnl as tt } from "./muon/use-muon-settle-upnl.js";
110
- import { useMuonUpnl as nt } from "./muon/use-muon-upnl.js";
111
- import { useMuonUpnlA as rt } from "./muon/use-muon-upnl-a.js";
112
- import { useMuonUpnlAWithSymbolPrice as it } from "./muon/use-muon-upnl-a-with-symbol-price.js";
113
- import { useMuonUpnlB as at } from "./muon/use-muon-upnl-b.js";
114
- import { useMuonUpnlWithSymbolPrice as ot } from "./muon/use-muon-upnl-with-symbol-price.js";
115
- import { toQuoteTpSl as st } from "./tpsl/to-quote-tpsl.js";
116
- import { useWatchTpSlNotifications as ct } from "./tpsl/use-watch-tpsl-notifications.js";
117
- import { useQuoteTpSl as lt } from "./tpsl/use-quote-tpsl.js";
118
- import { useSetQuoteTpSl as ut } from "./tpsl/use-set-quote-tpsl.js";
119
- import { useTpSlConfig as dt } from "./tpsl/use-tpsl-config.js";
120
- import { useTpSlSigningSpec as ft } from "./tpsl/use-tpsl-signing-spec.js";
121
- import { ADD_MARGIN_TO_NEXT_VA_SELECTOR as pt, DEFAULT_TPSL_SLIPPAGE_LOWCAPS as mt, INSTANT_TRADE_REQUIRED_SELECTORS as ht, NotificationType as gt, OrderType as _t, PositionType as vt, QuoteStatus as yt, REQUEST_TO_CLOSE_POSITION_SELECTOR as bt, SEND_QUOTE_WITH_AFFILIATE_AND_DATA_SELECTOR as xt, SubAccountIsolationType as St, SymmApiError as Ct, SymmError as wt, VIRTUAL_ACCOUNT_ISOLATION_TYPE as Tt, ZERO_LEG as Et, buildConditionalOrderLeg as Dt, buildConditionalOrderMessage as Ot, buildTpSlDeleteMessage as kt, calculateClosePrice as At, calculateTradeParams as jt, clampClosePrecision as Mt, generateTpSlSalt as Nt, getPartyAOpenPositionsQueryKey as Pt, getPartyAOpenPositionsQueryOptions as Ft, parseTpSlFrame as It, priceSlippageCalculation as Lt, signTpSlRequest as Rt, toSignableTpSlMessage as zt, validateInstantCloseAgainstMarket as Bt, validateInstantOpenAgainstMarket as Vt, validateTpSl as Ht, watchTpSlNotifications as Ut } from "@symmio/trading-core";
122
- export { pt as ADD_MARGIN_TO_NEXT_VA_SELECTOR, ze as DEFAULT_NOTIONAL_CAP_POLLING_MS, mt as DEFAULT_TPSL_SLIPPAGE_LOWCAPS, ht as INSTANT_TRADE_REQUIRED_SELECTORS, gt as NotificationType, _t as OrderType, vt as PositionType, yt as QuoteStatus, bt as REQUEST_TO_CLOSE_POSITION_SELECTOR, xt as SEND_QUOTE_WITH_AFFILIATE_AND_DATA_SELECTOR, St as SubAccountIsolationType, Ct as SymmApiError, wt as SymmError, e as SymmioProvider, r as SymmioRequestError, Tt as VIRTUAL_ACCOUNT_ISOLATION_TYPE, Et as ZERO_LEG, Dt as buildConditionalOrderLeg, Ot as buildConditionalOrderMessage, kt as buildTpSlDeleteMessage, At as calculateClosePrice, jt as calculateTradeParams, Mt as clampClosePrecision, Nt as generateTpSlSalt, Pt as getPartyAOpenPositionsQueryKey, Ft as getPartyAOpenPositionsQueryOptions, i as normalizeSymmError, It as parseTpSlFrame, f as predicateMatch, Lt as priceSlippageCalculation, Rt as signTpSlRequest, st as toQuoteTpSl, zt as toSignableTpSlMessage, l as useAccountBalanceInfo, u as useAccountBalanceOf, ve as useAccountLiquidationPrice, p as useAddMargin, m as useAllocate, z as useApproveCollateral, Pe as useBalanceHistory, B as useCollateralAllowance, V as useCollateralBalance, a as useConnectWallet, h as useCreateSubAccounts, g as useDeallocate, Ze as useDeallocateUpnlSig, U as useDelegationExpiry, _ as useDeleteSubAccount, v as useDeposit, y as useDepositAndAllocate, Fe as useDepositHistory, o as useDisconnectWallet, b as useEditAccountName, je as useEnigmaPriceByMarketId, Ae as useEnigmaPriceByName, We as useEnigmaPriceServiceHealth, Ge as useEnigmaPriceServiceMetadata, Ke as useEnigmaPriceServicePricesByAddresses, qe as useEnigmaPriceServicePricesByNames, Je as useEnigmaPriceServiceSymbolsInfo, Ye as useEnigmaPrices, Ue as useFeeForUser, ne as useFinalizeWithdrawRequest, W as useGrantDelegation, xe as useGroupedQuotes, re as useInitiateWithdraw, G as useInstantClose, K as useInstantCloseAuto, q as useInstantCloseBulk, J as useInstantCloseBulkAuto, Y as useInstantCloses, X as useInstantOpen, Z as useInstantOpenAuto, Q as useInstantOpenQuoteId, $ as useInstantOpens, ee as useIsDelegationActive, ie as useLastWithdrawRequestId, Re as useLockedParams, be as useManagedQuotes, fe as useMarkets, Qe as useMuonPartyAOverview, $e as useMuonPrice, et as useMuonPriceRange, tt as useMuonSettleUpnl, nt as useMuonUpnl, rt as useMuonUpnlA, it as useMuonUpnlAWithSymbolPrice, at as useMuonUpnlB, ot as useMuonUpnlWithSymbolPrice, ye as useNotifications, Ve as useNotionalCapAll, Be as useNotionalCapBySymbolId, pe as useOnchainContractMarkets, He as useOpenInterestBySymbolId, ge as useOptimisticQuotesStore, _e as usePartyAOpenPositions, Se as usePartyAPendingQuotes, ae as usePendingWithdrawRequests, x as usePredictedNextVirtualAccount, Ce as useQuote, we as useQuoteEventsByType, Ee as useQuoteFunding, De as useQuoteHistory, Oe as useQuotePlatformFee, ke as useQuotePriceHistory, lt as useQuoteTpSl, Me as useQuoteUpnlAndPnl, Te as useQuotesFunding, S as useRemoveMargin, oe as useRequestCancelWithdraw, Xe as useSearchNotifications, ut as useSetQuoteTpSl, C as useSimulateAddMargin, w as useSimulateAllocate, H as useSimulateApproveCollateral, T as useSimulateCreateSubAccounts, E as useSimulateDeallocate, D as useSimulateDeleteSubAccount, O as useSimulateDeposit, k as useSimulateDepositAndAllocate, A as useSimulateEditAccountName, se as useSimulateFinalizeWithdrawRequest, te as useSimulateGrantDelegation, ce as useSimulateInitiateWithdraw, j as useSimulateRemoveMargin, le as useSimulateRequestCancelWithdraw, me as useSolverErrorCodes, he as useSolverErrorMessage, M as useSubAccount, N as useSubAccountVirtualNonce, P as useSubAccountsCountOfUser, Ne as useSubgraphQuery, s as useSwitchToSymmioChain, t as useSymmioChainId, n as useSymmioConfig, dt as useTpSlConfig, ft as useTpSlSigningSpec, d as useTransactionsStore, Le as useTransferHistory, F as useUserSubAccounts, I as useUserSubAccountsAddresses, L as useVirtualAccount, R as useVirtualAccountsAddressesOfSubAccount, c as useWalletAccount, ct as useWatchTpSlNotifications, Ie as useWithdrawHistory, ue as useWithdrawRequest, de as useWithdrawableTime, Bt as validateInstantCloseAgainstMarket, Vt as validateInstantOpenAgainstMarket, Ht as validateTpSl, Ut as watchTpSlNotifications };
10
+ import { useNotifications as l } from "./websocket/use-notifications.js";
11
+ import { useAccountBalanceInfo as u } from "./account-layer/use-account-balance-info.js";
12
+ import { useAccountBalanceOf as d } from "./account-layer/use-account-balance-of.js";
13
+ import { useTransactionsStore as f } from "./transactions/use-transactions-store.js";
14
+ import { predicateMatch as p } from "./utils/predicate-match.js";
15
+ import { useAddMargin as m } from "./account-layer/use-add-margin.js";
16
+ import { useAllocate as h } from "./account-layer/use-allocate.js";
17
+ import { useCreateSubAccounts as g } from "./account-layer/use-create-sub-accounts.js";
18
+ import { useDeallocate as _ } from "./account-layer/use-deallocate.js";
19
+ import { useDeleteSubAccount as v } from "./account-layer/use-delete-sub-account.js";
20
+ import { useDeposit as y } from "./account-layer/use-deposit.js";
21
+ import { useDepositAndAllocate as b } from "./account-layer/use-deposit-and-allocate.js";
22
+ import { useEditAccountName as x } from "./account-layer/use-edit-account-name.js";
23
+ import { usePredictedNextVirtualAccount as S } from "./account-layer/use-predicted-next-virtual-account.js";
24
+ import { useRemoveMargin as C } from "./account-layer/use-remove-margin.js";
25
+ import { useSimulateAddMargin as w } from "./account-layer/use-simulate-add-margin.js";
26
+ import { useSimulateAllocate as T } from "./account-layer/use-simulate-allocate.js";
27
+ import { useSimulateCreateSubAccounts as E } from "./account-layer/use-simulate-create-sub-accounts.js";
28
+ import { useSimulateDeallocate as D } from "./account-layer/use-simulate-deallocate.js";
29
+ import { useSimulateDeleteSubAccount as O } from "./account-layer/use-simulate-delete-sub-account.js";
30
+ import { useSimulateDeposit as k } from "./account-layer/use-simulate-deposit.js";
31
+ import { useSimulateDepositAndAllocate as A } from "./account-layer/use-simulate-deposit-and-allocate.js";
32
+ import { useSimulateEditAccountName as j } from "./account-layer/use-simulate-edit-account-name.js";
33
+ import { useSimulateRemoveMargin as M } from "./account-layer/use-simulate-remove-margin.js";
34
+ import { useSubAccount as N } from "./account-layer/use-sub-account.js";
35
+ import { useSubAccountVirtualNonce as P } from "./account-layer/use-sub-account-virtual-nonce.js";
36
+ import { useSubAccountsCountOfUser as F } from "./account-layer/use-sub-accounts-count-of-user.js";
37
+ import { useUserSubAccounts as I } from "./account-layer/use-user-sub-accounts.js";
38
+ import { useUserSubAccountsAddresses as L } from "./account-layer/use-user-sub-accounts-addresses.js";
39
+ import { useVirtualAccount as R } from "./account-layer/use-virtual-account.js";
40
+ import { useVirtualAccountsAddressesOfSubAccount as z } from "./account-layer/use-virtual-accounts-addresses-of-sub-account.js";
41
+ import { useApproveCollateral as B } from "./collateral/use-approve-collateral.js";
42
+ import { useCollateralAllowance as V } from "./collateral/use-collateral-allowance.js";
43
+ import { useCollateralBalance as H } from "./collateral/use-collateral-balance.js";
44
+ import { useSimulateApproveCollateral as U } from "./collateral/use-simulate-approve-collateral.js";
45
+ import { useDelegationExpiry as W } from "./instant-layer/use-delegation-expiry.js";
46
+ import { useGrantDelegation as G } from "./instant-layer/use-grant-delegation.js";
47
+ import { useInstantClose as K } from "./instant-layer/use-instant-close.js";
48
+ import { useInstantCloseAuto as q } from "./instant-layer/use-instant-close-auto.js";
49
+ import { useInstantCloseBulk as J } from "./instant-layer/use-instant-close-bulk.js";
50
+ import { useInstantCloseBulkAuto as Y } from "./instant-layer/use-instant-close-bulk-auto.js";
51
+ import { useInstantCloses as X } from "./instant-layer/use-instant-closes.js";
52
+ import { useInstantOpen as Z } from "./instant-layer/use-instant-open.js";
53
+ import { useInstantOpenAuto as Q } from "./instant-layer/use-instant-open-auto.js";
54
+ import { useInstantOpenQuoteId as $ } from "./instant-layer/use-instant-open-quote-id.js";
55
+ import { toQuoteTpSl as ee } from "./tpsl/to-quote-tpsl.js";
56
+ import { useTpSlRecord as te, useTpSlStore as ne } from "./tpsl/tpsl-store.js";
57
+ import { useInstantOpenWithTpSl as re } from "./instant-layer/use-instant-open-with-tpsl.js";
58
+ import { useInstantOpens as ie } from "./instant-layer/use-instant-opens.js";
59
+ import { useIsDelegationActive as ae } from "./instant-layer/use-is-delegation-active.js";
60
+ import { useSimulateGrantDelegation as oe } from "./instant-layer/use-simulate-grant-delegation.js";
61
+ import { useFinalizeWithdrawRequest as se } from "./withdraw/use-finalize-withdraw-request.js";
62
+ import { useInitiateWithdraw as ce } from "./withdraw/use-initiate-withdraw.js";
63
+ import { useLastWithdrawRequestId as le } from "./withdraw/use-last-withdraw-request-id.js";
64
+ import { usePendingWithdrawRequests as ue } from "./withdraw/use-pending-withdraw-requests.js";
65
+ import { useRequestCancelWithdraw as de } from "./withdraw/use-request-cancel-withdraw.js";
66
+ import { useSimulateFinalizeWithdrawRequest as fe } from "./withdraw/use-simulate-finalize-withdraw-request.js";
67
+ import { useSimulateInitiateWithdraw as pe } from "./withdraw/use-simulate-initiate-withdraw.js";
68
+ import { useSimulateRequestCancelWithdraw as me } from "./withdraw/use-simulate-request-cancel-withdraw.js";
69
+ import { useWithdrawRequest as he } from "./withdraw/use-withdraw-requests.js";
70
+ import { useWithdrawableTime as ge } from "./withdraw/use-withdrawable-time.js";
71
+ import { useMarkets as _e } from "./markets/use-markets.js";
72
+ import { useOnchainContractMarkets as ve } from "./markets/use-onchain-contract-markets.js";
73
+ import { useSolverErrorCodes as ye } from "./error-codes/use-solver-error-codes.js";
74
+ import { useSolverErrorMessage as be } from "./error-codes/use-solver-error-message.js";
75
+ import { useOptimisticQuotesStore as xe } from "./quotes/optimistic-quotes-store.js";
76
+ import { usePartyAOpenPositions as Se } from "./quotes/use-party-a-open-positions.js";
77
+ import { useAccountLiquidationPrice as Ce } from "./quotes/use-account-liquidation-price.js";
78
+ import { useManagedQuotes as we } from "./quotes/use-managed-quotes.js";
79
+ import { useGroupedQuotes as Te } from "./quotes/use-grouped-quotes.js";
80
+ import { usePartyAPendingQuotes as Ee } from "./quotes/use-party-a-pending-quotes.js";
81
+ import { useQuote as De } from "./quotes/use-quote.js";
82
+ import { useQuoteEventsByType as Oe } from "./quotes/use-quote-events-by-type.js";
83
+ import { useQuotesFunding as ke } from "./quotes/use-quotes-funding.js";
84
+ import { useQuoteFunding as Ae } from "./quotes/use-quote-funding.js";
85
+ import { useQuoteHistory as je } from "./quotes/use-quote-history.js";
86
+ import { useQuotePlatformFee as Me } from "./quotes/use-quote-platform-fee.js";
87
+ import { useQuotePriceHistory as Ne } from "./quotes/use-quote-price-history.js";
88
+ import { useEnigmaPriceByName as Pe } from "./price-service/use-enigma-price-by-name.js";
89
+ import { useEnigmaPriceByMarketId as Fe } from "./price-service/use-enigma-price-by-market-id.js";
90
+ import { useQuoteUpnlAndPnl as Ie } from "./quotes/use-quote-upnl-and-pnl.js";
91
+ import { useSubgraphQuery as Le } from "./quotes/use-subgraph-query.js";
92
+ import { useFeeForUser as Re } from "./fees/use-fee-for-user.js";
93
+ import { useAvailableInstantOpenMargin as ze } from "./margin/use-available-instant-open-margin.js";
94
+ import { useBalanceHistory as Be } from "./balance-history/use-balance-history.js";
95
+ import { useDepositHistory as Ve } from "./balance-history/use-deposit-history.js";
96
+ import { useWithdrawHistory as He } from "./balance-history/use-withdraw-history.js";
97
+ import { useTransferHistory as Ue } from "./transfers/use-transfer-history.js";
98
+ import { useLockedParams as We } from "./locked-params/use-locked-params.js";
99
+ import { DEFAULT_NOTIONAL_CAP_POLLING_MS as Ge, useNotionalCapBySymbolId as Ke } from "./notional-cap/use-notional-cap-by-symbol-id.js";
100
+ import { useNotionalCapAll as qe } from "./notional-cap/use-notional-cap-all.js";
101
+ import { useOpenInterestBySymbolId as Je } from "./notional-cap/use-open-interest-by-symbol-id.js";
102
+ import { useEstimatedPrice as Ye } from "./estimated-price/use-estimated-price.js";
103
+ import { useFundingInfo as Xe } from "./funding-info/use-funding-info.js";
104
+ import { useMarketInfo as Ze } from "./market-info/use-market-info.js";
105
+ import { useEnigmaPriceServiceHealth as Qe } from "./price-service/use-enigma-price-service-health.js";
106
+ import { useEnigmaPriceServiceMetadata as $e } from "./price-service/use-enigma-price-service-metadata.js";
107
+ import { useEnigmaPriceServicePricesByAddresses as et } from "./price-service/use-enigma-price-service-prices-by-addresses.js";
108
+ import { useEnigmaPriceServicePricesByNames as tt } from "./price-service/use-enigma-price-service-prices-by-names.js";
109
+ import { useEnigmaPriceServiceSymbolsInfo as nt } from "./price-service/use-enigma-price-service-symbols-info.js";
110
+ import { useEnigmaPrices as rt } from "./price-service/use-enigma-prices.js";
111
+ import { useSearchNotifications as it } from "./notifications/use-search-notifications.js";
112
+ import { useDeallocateUpnlSig as at } from "./muon/use-deallocate-upnl-sig.js";
113
+ import { useMuonPartyAOverview as ot } from "./muon/use-muon-party-a-overview.js";
114
+ import { useMuonPrice as st } from "./muon/use-muon-price.js";
115
+ import { useMuonPriceRange as ct } from "./muon/use-muon-price-range.js";
116
+ import { useMuonSettleUpnl as lt } from "./muon/use-muon-settle-upnl.js";
117
+ import { useMuonUpnl as ut } from "./muon/use-muon-upnl.js";
118
+ import { useMuonUpnlA as dt } from "./muon/use-muon-upnl-a.js";
119
+ import { useMuonUpnlAWithSymbolPrice as ft } from "./muon/use-muon-upnl-a-with-symbol-price.js";
120
+ import { useMuonUpnlB as pt } from "./muon/use-muon-upnl-b.js";
121
+ import { useMuonUpnlWithSymbolPrice as mt } from "./muon/use-muon-upnl-with-symbol-price.js";
122
+ import { useDeleteQuoteTpSl as ht } from "./tpsl/use-delete-quote-tpsl.js";
123
+ import { useWatchTpSlNotifications as gt } from "./tpsl/use-watch-tpsl-notifications.js";
124
+ import { useQuoteTpSl as _t } from "./tpsl/use-quote-tpsl.js";
125
+ import { useSetQuoteTpSl as vt } from "./tpsl/use-set-quote-tpsl.js";
126
+ import { useTpSlConfig as yt } from "./tpsl/use-tpsl-config.js";
127
+ import { useTpSlSigningSpec as bt } from "./tpsl/use-tpsl-signing-spec.js";
128
+ import { ADD_MARGIN_TO_NEXT_VA_SELECTOR as xt, DEFAULT_TPSL_SLIPPAGE_LOWCAPS as St, INSTANT_TRADE_REQUIRED_SELECTORS as Ct, NotificationType as wt, OrderType as Tt, PositionType as Et, QuoteStatus as Dt, REQUEST_TO_CLOSE_POSITION_SELECTOR as Ot, SEND_QUOTE_WITH_AFFILIATE_AND_DATA_SELECTOR as kt, SubAccountIsolationType as At, SymmApiError as jt, SymmError as Mt, VIRTUAL_ACCOUNT_ISOLATION_TYPE as Nt, ZERO_LEG as Pt, buildConditionalOrderLeg as Ft, buildConditionalOrderMessage as It, buildTpSlDeleteMessage as Lt, calculateAvailableInstantOpenMargin as Rt, calculateClosePrice as zt, calculatePriceImpact as Bt, calculateQuotePnl as Vt, calculateTradeParams as Ht, clampClosePrecision as Ut, deleteQuoteTpSl as Wt, deleteQuoteTpSlMutationOptions as Gt, generateTpSlSalt as Kt, getPartyAOpenPositionsQueryKey as qt, getPartyAOpenPositionsQueryOptions as Jt, isolationTypeForSide as Yt, parseTpSlFrame as Xt, priceSlippageCalculation as Zt, signTpSlRequest as Qt, toSignableTpSlMessage as $t, validateInstantCloseAgainstMarket as en, validateInstantOpenAgainstMarket as tn, validateTpSl as nn, watchTpSlNotifications as rn } from "@symmio/trading-core";
129
+ export { xt as ADD_MARGIN_TO_NEXT_VA_SELECTOR, Ge as DEFAULT_NOTIONAL_CAP_POLLING_MS, St as DEFAULT_TPSL_SLIPPAGE_LOWCAPS, Ct as INSTANT_TRADE_REQUIRED_SELECTORS, wt as NotificationType, Tt as OrderType, Et as PositionType, Dt as QuoteStatus, Ot as REQUEST_TO_CLOSE_POSITION_SELECTOR, kt as SEND_QUOTE_WITH_AFFILIATE_AND_DATA_SELECTOR, At as SubAccountIsolationType, jt as SymmApiError, Mt as SymmError, e as SymmioProvider, r as SymmioRequestError, Nt as VIRTUAL_ACCOUNT_ISOLATION_TYPE, Pt as ZERO_LEG, Ft as buildConditionalOrderLeg, It as buildConditionalOrderMessage, Lt as buildTpSlDeleteMessage, Rt as calculateAvailableInstantOpenMargin, zt as calculateClosePrice, Bt as calculatePriceImpact, Vt as calculateQuotePnl, Ht as calculateTradeParams, Ut as clampClosePrecision, Wt as deleteQuoteTpSl, Gt as deleteQuoteTpSlMutationOptions, Kt as generateTpSlSalt, qt as getPartyAOpenPositionsQueryKey, Jt as getPartyAOpenPositionsQueryOptions, Yt as isolationTypeForSide, i as normalizeSymmError, Xt as parseTpSlFrame, p as predicateMatch, Zt as priceSlippageCalculation, Qt as signTpSlRequest, ee as toQuoteTpSl, $t as toSignableTpSlMessage, u as useAccountBalanceInfo, d as useAccountBalanceOf, Ce as useAccountLiquidationPrice, m as useAddMargin, h as useAllocate, B as useApproveCollateral, ze as useAvailableInstantOpenMargin, Be as useBalanceHistory, V as useCollateralAllowance, H as useCollateralBalance, a as useConnectWallet, g as useCreateSubAccounts, _ as useDeallocate, at as useDeallocateUpnlSig, W as useDelegationExpiry, ht as useDeleteQuoteTpSl, v as useDeleteSubAccount, y as useDeposit, b as useDepositAndAllocate, Ve as useDepositHistory, o as useDisconnectWallet, x as useEditAccountName, Fe as useEnigmaPriceByMarketId, Pe as useEnigmaPriceByName, Qe as useEnigmaPriceServiceHealth, $e as useEnigmaPriceServiceMetadata, et as useEnigmaPriceServicePricesByAddresses, tt as useEnigmaPriceServicePricesByNames, nt as useEnigmaPriceServiceSymbolsInfo, rt as useEnigmaPrices, Ye as useEstimatedPrice, Re as useFeeForUser, se as useFinalizeWithdrawRequest, Xe as useFundingInfo, G as useGrantDelegation, Te as useGroupedQuotes, ce as useInitiateWithdraw, K as useInstantClose, q as useInstantCloseAuto, J as useInstantCloseBulk, Y as useInstantCloseBulkAuto, X as useInstantCloses, Z as useInstantOpen, Q as useInstantOpenAuto, $ as useInstantOpenQuoteId, re as useInstantOpenWithTpSl, ie as useInstantOpens, ae as useIsDelegationActive, le as useLastWithdrawRequestId, We as useLockedParams, we as useManagedQuotes, Ze as useMarketInfo, _e as useMarkets, ot as useMuonPartyAOverview, st as useMuonPrice, ct as useMuonPriceRange, lt as useMuonSettleUpnl, ut as useMuonUpnl, dt as useMuonUpnlA, ft as useMuonUpnlAWithSymbolPrice, pt as useMuonUpnlB, mt as useMuonUpnlWithSymbolPrice, l as useNotifications, qe as useNotionalCapAll, Ke as useNotionalCapBySymbolId, ve as useOnchainContractMarkets, Je as useOpenInterestBySymbolId, xe as useOptimisticQuotesStore, Se as usePartyAOpenPositions, Ee as usePartyAPendingQuotes, ue as usePendingWithdrawRequests, S as usePredictedNextVirtualAccount, De as useQuote, Oe as useQuoteEventsByType, Ae as useQuoteFunding, je as useQuoteHistory, Me as useQuotePlatformFee, Ne as useQuotePriceHistory, _t as useQuoteTpSl, Ie as useQuoteUpnlAndPnl, ke as useQuotesFunding, C as useRemoveMargin, de as useRequestCancelWithdraw, it as useSearchNotifications, vt as useSetQuoteTpSl, w as useSimulateAddMargin, T as useSimulateAllocate, U as useSimulateApproveCollateral, E as useSimulateCreateSubAccounts, D as useSimulateDeallocate, O as useSimulateDeleteSubAccount, k as useSimulateDeposit, A as useSimulateDepositAndAllocate, j as useSimulateEditAccountName, fe as useSimulateFinalizeWithdrawRequest, oe as useSimulateGrantDelegation, pe as useSimulateInitiateWithdraw, M as useSimulateRemoveMargin, me as useSimulateRequestCancelWithdraw, ye as useSolverErrorCodes, be as useSolverErrorMessage, N as useSubAccount, P as useSubAccountVirtualNonce, F as useSubAccountsCountOfUser, Le as useSubgraphQuery, s as useSwitchToSymmioChain, t as useSymmioChainId, n as useSymmioConfig, yt as useTpSlConfig, te as useTpSlRecord, bt as useTpSlSigningSpec, ne as useTpSlStore, f as useTransactionsStore, Ue as useTransferHistory, I as useUserSubAccounts, L as useUserSubAccountsAddresses, R as useVirtualAccount, z as useVirtualAccountsAddressesOfSubAccount, c as useWalletAccount, gt as useWatchTpSlNotifications, He as useWithdrawHistory, he as useWithdrawRequest, ge as useWithdrawableTime, en as validateInstantCloseAgainstMarket, tn as validateInstantOpenAgainstMarket, nn as validateTpSl, rn as watchTpSlNotifications };