@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.
- package/README.md +2 -2
- package/dist/account-layer/index.d.ts +28 -28
- package/dist/account-layer/index.js +29 -0
- package/dist/account-layer/use-account-balance-info.d.ts +16 -5
- package/dist/account-layer/use-account-balance-info.d.ts.map +1 -1
- package/dist/account-layer/use-account-balance-info.js +21 -9
- package/dist/account-layer/use-account-balance-info.js.map +1 -1
- package/dist/account-layer/use-account-balance-of.d.ts +16 -5
- package/dist/account-layer/use-account-balance-of.d.ts.map +1 -1
- package/dist/account-layer/use-account-balance-of.js +20 -9
- package/dist/account-layer/use-account-balance-of.js.map +1 -1
- package/dist/account-layer/use-add-margin.d.ts +2 -2
- package/dist/account-layer/use-allocate.d.ts +2 -2
- package/dist/account-layer/use-create-sub-accounts.d.ts +2 -2
- package/dist/account-layer/use-deallocate.d.ts +2 -2
- package/dist/account-layer/use-delete-sub-account.d.ts +2 -2
- package/dist/account-layer/use-deposit-and-allocate.d.ts +2 -2
- package/dist/account-layer/use-deposit.d.ts +5 -3
- package/dist/account-layer/use-deposit.d.ts.map +1 -1
- package/dist/account-layer/use-deposit.js +17 -15
- package/dist/account-layer/use-deposit.js.map +1 -1
- package/dist/account-layer/use-edit-account-name.d.ts +2 -2
- package/dist/account-layer/use-predicted-next-virtual-account.d.ts +1 -1
- package/dist/account-layer/use-remove-margin.d.ts +2 -2
- package/dist/account-layer/use-simulate-add-margin.d.ts +1 -1
- package/dist/account-layer/use-simulate-allocate.d.ts +1 -1
- package/dist/account-layer/use-simulate-create-sub-accounts.d.ts +1 -1
- package/dist/account-layer/use-simulate-deallocate.d.ts +1 -1
- package/dist/account-layer/use-simulate-delete-sub-account.d.ts +1 -1
- package/dist/account-layer/use-simulate-deposit-and-allocate.d.ts +1 -1
- package/dist/account-layer/use-simulate-deposit.d.ts +1 -1
- package/dist/account-layer/use-simulate-edit-account-name.d.ts +1 -1
- package/dist/account-layer/use-simulate-remove-margin.d.ts +1 -1
- package/dist/account-layer/use-sub-account-virtual-nonce.d.ts +1 -1
- package/dist/account-layer/use-sub-account.d.ts +1 -1
- package/dist/account-layer/use-sub-accounts-count-of-user.d.ts +1 -1
- package/dist/account-layer/use-user-sub-accounts-addresses.d.ts +1 -1
- package/dist/account-layer/use-user-sub-accounts.d.ts +1 -1
- package/dist/account-layer/use-virtual-account.d.ts +1 -1
- package/dist/account-layer/use-virtual-accounts-addresses-of-sub-account.d.ts +1 -1
- package/dist/balance-history/index.d.ts +3 -3
- package/dist/balance-history/use-balance-history.d.ts +1 -1
- package/dist/balance-history/use-deposit-history.d.ts +1 -1
- package/dist/balance-history/use-withdraw-history.d.ts +1 -1
- package/dist/collateral/index.d.ts +4 -4
- package/dist/collateral/use-approve-collateral.d.ts +2 -2
- package/dist/collateral/use-collateral-allowance.d.ts +1 -1
- package/dist/collateral/use-collateral-balance.d.ts +1 -1
- package/dist/collateral/use-simulate-approve-collateral.d.ts +1 -1
- package/dist/error-codes/index.d.ts +2 -2
- package/dist/error-codes/use-solver-error-codes.d.ts +1 -1
- package/dist/error-codes/use-solver-error-message.d.ts +1 -1
- package/dist/errors/index.d.ts +3 -3
- package/dist/errors/index.js +3 -0
- package/dist/errors/normalize-symm-error.d.ts +1 -1
- package/dist/errors/symmio-request-error.d.ts +1 -1
- package/dist/estimated-price/index.d.ts +2 -0
- package/dist/estimated-price/index.d.ts.map +1 -0
- package/dist/estimated-price/use-debounced-value.d.ts +9 -0
- package/dist/estimated-price/use-debounced-value.d.ts.map +1 -0
- package/dist/estimated-price/use-debounced-value.js +18 -0
- package/dist/estimated-price/use-debounced-value.js.map +1 -0
- package/dist/estimated-price/use-estimated-price.d.ts +46 -0
- package/dist/estimated-price/use-estimated-price.d.ts.map +1 -0
- package/dist/estimated-price/use-estimated-price.js +31 -0
- package/dist/estimated-price/use-estimated-price.js.map +1 -0
- package/dist/fees/index.d.ts +1 -1
- package/dist/fees/index.js +2 -0
- package/dist/fees/use-fee-for-user.d.ts +1 -1
- package/dist/funding-info/index.d.ts +2 -0
- package/dist/funding-info/index.d.ts.map +1 -0
- package/dist/funding-info/use-funding-info.d.ts +25 -0
- package/dist/funding-info/use-funding-info.d.ts.map +1 -0
- package/dist/funding-info/use-funding-info.js +27 -0
- package/dist/funding-info/use-funding-info.js.map +1 -0
- package/dist/index.d.ts +45 -24
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +120 -113
- package/dist/instant-layer/index.d.ts +14 -13
- package/dist/instant-layer/index.d.ts.map +1 -1
- package/dist/instant-layer/index.js +15 -0
- package/dist/instant-layer/use-delegation-expiry.d.ts +1 -1
- package/dist/instant-layer/use-grant-delegation.d.ts +2 -2
- package/dist/instant-layer/use-instant-close-auto.d.ts +1 -1
- package/dist/instant-layer/use-instant-close-bulk-auto.d.ts +1 -1
- package/dist/instant-layer/use-instant-close-bulk.d.ts +1 -1
- package/dist/instant-layer/use-instant-close.d.ts +1 -1
- package/dist/instant-layer/use-instant-closes.d.ts +1 -1
- package/dist/instant-layer/use-instant-open-auto.d.ts +1 -1
- package/dist/instant-layer/use-instant-open-quote-id.d.ts +1 -1
- package/dist/instant-layer/use-instant-open-with-tpsl.d.ts +55 -0
- package/dist/instant-layer/use-instant-open-with-tpsl.d.ts.map +1 -0
- package/dist/instant-layer/use-instant-open-with-tpsl.js +64 -0
- package/dist/instant-layer/use-instant-open-with-tpsl.js.map +1 -0
- package/dist/instant-layer/use-instant-open.d.ts +1 -1
- package/dist/instant-layer/use-instant-opens.d.ts +1 -1
- package/dist/instant-layer/use-is-delegation-active.d.ts +1 -1
- package/dist/instant-layer/use-simulate-grant-delegation.d.ts +1 -1
- package/dist/locked-params/index.d.ts +1 -1
- package/dist/locked-params/use-locked-params.d.ts +1 -1
- package/dist/margin/index.d.ts +2 -0
- package/dist/margin/index.d.ts.map +1 -0
- package/dist/margin/use-available-instant-open-margin.d.ts +51 -0
- package/dist/margin/use-available-instant-open-margin.d.ts.map +1 -0
- package/dist/margin/use-available-instant-open-margin.js +66 -0
- package/dist/margin/use-available-instant-open-margin.js.map +1 -0
- package/dist/market-info/index.d.ts +2 -0
- package/dist/market-info/index.d.ts.map +1 -0
- package/dist/market-info/use-market-info.d.ts +28 -0
- package/dist/market-info/use-market-info.d.ts.map +1 -0
- package/dist/market-info/use-market-info.js +27 -0
- package/dist/market-info/use-market-info.js.map +1 -0
- package/dist/markets/index.d.ts +2 -2
- package/dist/markets/index.js +3 -0
- package/dist/markets/use-markets.d.ts +1 -1
- package/dist/markets/use-onchain-contract-markets.d.ts +1 -1
- package/dist/muon/index.d.ts +10 -10
- package/dist/muon/use-deallocate-upnl-sig.d.ts +1 -1
- package/dist/muon/use-muon-party-a-overview.d.ts +1 -1
- package/dist/muon/use-muon-price-range.d.ts +1 -1
- package/dist/muon/use-muon-price.d.ts +1 -1
- package/dist/muon/use-muon-settle-upnl.d.ts +1 -1
- package/dist/muon/use-muon-upnl-a-with-symbol-price.d.ts +1 -1
- package/dist/muon/use-muon-upnl-a.d.ts +1 -1
- package/dist/muon/use-muon-upnl-b.d.ts +1 -1
- package/dist/muon/use-muon-upnl-with-symbol-price.d.ts +1 -1
- package/dist/muon/use-muon-upnl.d.ts +1 -1
- package/dist/notifications/index.d.ts +1 -1
- package/dist/notifications/use-search-notifications.d.ts +1 -1
- package/dist/notional-cap/index.d.ts +3 -3
- package/dist/notional-cap/use-notional-cap-all.d.ts +1 -1
- package/dist/notional-cap/use-notional-cap-by-symbol-id.d.ts +1 -1
- package/dist/notional-cap/use-open-interest-by-symbol-id.d.ts +1 -1
- package/dist/price-service/index.d.ts +8 -8
- package/dist/price-service/index.js +9 -0
- package/dist/price-service/use-enigma-price-by-market-id.d.ts +1 -1
- package/dist/price-service/use-enigma-price-by-name.d.ts +1 -1
- package/dist/price-service/use-enigma-price-service-health.d.ts +1 -1
- package/dist/price-service/use-enigma-price-service-metadata.d.ts +1 -1
- package/dist/price-service/use-enigma-price-service-prices-by-addresses.d.ts +1 -1
- package/dist/price-service/use-enigma-price-service-prices-by-names.d.ts +1 -1
- package/dist/price-service/use-enigma-price-service-symbols-info.d.ts +1 -1
- package/dist/price-service/use-enigma-prices.d.ts +1 -1
- package/dist/provider/index.d.ts +3 -3
- package/dist/provider/index.js +4 -0
- package/dist/provider/symmio-provider.d.ts +14 -5
- package/dist/provider/symmio-provider.d.ts.map +1 -1
- package/dist/provider/symmio-provider.js +2 -2
- package/dist/provider/symmio-provider.js.map +1 -1
- package/dist/quotes/index.d.ts +15 -15
- package/dist/quotes/use-account-liquidation-price.d.ts +4 -7
- package/dist/quotes/use-account-liquidation-price.d.ts.map +1 -1
- package/dist/quotes/use-account-liquidation-price.js.map +1 -1
- package/dist/quotes/use-grouped-quotes.d.ts +1 -1
- package/dist/quotes/use-managed-quotes.d.ts +1 -1
- package/dist/quotes/use-managed-quotes.d.ts.map +1 -1
- package/dist/quotes/use-managed-quotes.js +131 -128
- package/dist/quotes/use-managed-quotes.js.map +1 -1
- package/dist/quotes/use-party-a-open-positions.d.ts +4 -4
- package/dist/quotes/use-party-a-open-positions.js.map +1 -1
- package/dist/quotes/use-party-a-pending-quotes.d.ts +1 -1
- package/dist/quotes/use-quote-events-by-type.d.ts +1 -1
- package/dist/quotes/use-quote-funding.d.ts +1 -1
- package/dist/quotes/use-quote-history.d.ts +1 -1
- package/dist/quotes/use-quote-price-history.d.ts +1 -1
- package/dist/quotes/use-quote.d.ts +1 -1
- package/dist/quotes/use-quotes-funding.d.ts +1 -1
- package/dist/quotes/use-subgraph-query.d.ts +1 -1
- package/dist/tpsl/index.d.ts +8 -7
- package/dist/tpsl/index.d.ts.map +1 -1
- package/dist/tpsl/tpsl-store.d.ts +84 -0
- package/dist/tpsl/tpsl-store.d.ts.map +1 -0
- package/dist/tpsl/tpsl-store.js +154 -0
- package/dist/tpsl/tpsl-store.js.map +1 -0
- package/dist/tpsl/use-delete-quote-tpsl.d.ts +15 -0
- package/dist/tpsl/use-delete-quote-tpsl.d.ts.map +1 -0
- package/dist/tpsl/use-delete-quote-tpsl.js +31 -0
- package/dist/tpsl/use-delete-quote-tpsl.js.map +1 -0
- package/dist/tpsl/use-quote-tpsl.d.ts +19 -20
- package/dist/tpsl/use-quote-tpsl.d.ts.map +1 -1
- package/dist/tpsl/use-quote-tpsl.js +24 -53
- package/dist/tpsl/use-quote-tpsl.js.map +1 -1
- package/dist/tpsl/use-set-quote-tpsl.d.ts +11 -10
- package/dist/tpsl/use-set-quote-tpsl.d.ts.map +1 -1
- package/dist/tpsl/use-set-quote-tpsl.js +18 -22
- package/dist/tpsl/use-set-quote-tpsl.js.map +1 -1
- package/dist/tpsl/use-tpsl-config.d.ts +1 -1
- package/dist/tpsl/use-tpsl-signing-spec.d.ts +1 -1
- package/dist/tpsl/use-watch-tpsl-notifications.d.ts +1 -1
- package/dist/transactions/index.d.ts +3 -3
- package/dist/transactions/index.js +3 -0
- package/dist/transactions/resolve-write-result.d.ts +1 -1
- package/dist/transfers/index.d.ts +1 -1
- package/dist/transfers/use-transfer-history.d.ts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/wallet/index.d.ts +4 -4
- package/dist/wallet/index.js +5 -0
- package/dist/wallet/use-connect-wallet.d.ts +1 -1
- package/dist/wallet/use-switch-to-symmio-chain.d.ts +1 -1
- package/dist/websocket/index.d.ts +1 -1
- package/dist/websocket/is-settle-notification.d.ts +15 -0
- package/dist/websocket/is-settle-notification.d.ts.map +1 -0
- package/dist/websocket/is-settle-notification.js +15 -0
- package/dist/websocket/is-settle-notification.js.map +1 -0
- package/dist/websocket/use-notifications.d.ts +1 -1
- package/dist/withdraw/index.d.ts +10 -10
- package/dist/withdraw/use-finalize-withdraw-request.d.ts +2 -2
- package/dist/withdraw/use-initiate-withdraw.d.ts +2 -2
- package/dist/withdraw/use-last-withdraw-request-id.d.ts +1 -1
- package/dist/withdraw/use-pending-withdraw-requests.d.ts +1 -1
- package/dist/withdraw/use-request-cancel-withdraw.d.ts +2 -2
- package/dist/withdraw/use-simulate-finalize-withdraw-request.d.ts +1 -1
- package/dist/withdraw/use-simulate-initiate-withdraw.d.ts +1 -1
- package/dist/withdraw/use-simulate-request-cancel-withdraw.d.ts +1 -1
- package/dist/withdraw/use-withdraw-requests.d.ts +1 -1
- package/dist/withdraw/use-withdrawable-time.d.ts +1 -1
- package/package.json +11 -10
- package/dist/tpsl/tpsl-confirming.d.ts +0 -36
- package/dist/tpsl/tpsl-confirming.d.ts.map +0 -1
- package/dist/tpsl/tpsl-confirming.js +0 -28
- 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
|
package/dist/index.d.ts.map
CHANGED
|
@@ -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,qBAAqB,EAC1B,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,YAAY,EACjB,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,aAAa,EAClB,KAAK,2CAA2C,EAChD,KAAK,2CAA2C,EAChD,KAAK,0CAA0C,EAC/C,KAAK,0CAA0C,EAC/C,KAAK,oBAAoB,EACzB,KAAK,2BAA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AClB,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 {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
|
|
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 };
|