@symmio/trading-react 4.4.0 → 4.6.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/dist/account-layer/automatic-timelock-attempt.d.ts +11 -0
- package/dist/account-layer/automatic-timelock-attempt.d.ts.map +1 -0
- package/dist/account-layer/automatic-timelock-attempt.js +41 -0
- package/dist/account-layer/automatic-timelock-attempt.js.map +1 -0
- package/dist/account-layer/index.d.ts +9 -0
- package/dist/account-layer/index.d.ts.map +1 -1
- package/dist/account-layer/index.js +41 -32
- package/dist/account-layer/use-active-virtual-account-by-key.d.ts +33 -0
- package/dist/account-layer/use-active-virtual-account-by-key.d.ts.map +1 -0
- package/dist/account-layer/use-active-virtual-account-by-key.js +27 -0
- package/dist/account-layer/use-active-virtual-account-by-key.js.map +1 -0
- package/dist/account-layer/use-add-margin.d.ts +2 -2
- package/dist/account-layer/use-add-margin.d.ts.map +1 -1
- package/dist/account-layer/use-add-margin.js +28 -17
- package/dist/account-layer/use-add-margin.js.map +1 -1
- package/dist/account-layer/use-allocate.d.ts +2 -2
- package/dist/account-layer/use-allocate.d.ts.map +1 -1
- package/dist/account-layer/use-allocate.js +28 -17
- package/dist/account-layer/use-allocate.js.map +1 -1
- package/dist/account-layer/use-automatic-timelock-recovery.d.ts +25 -0
- package/dist/account-layer/use-automatic-timelock-recovery.d.ts.map +1 -0
- package/dist/account-layer/use-automatic-timelock-recovery.js +26 -0
- package/dist/account-layer/use-automatic-timelock-recovery.js.map +1 -0
- package/dist/account-layer/use-automatic-timelock.d.ts +48 -0
- package/dist/account-layer/use-automatic-timelock.d.ts.map +1 -0
- package/dist/account-layer/use-automatic-timelock.js +189 -0
- package/dist/account-layer/use-automatic-timelock.js.map +1 -0
- package/dist/account-layer/use-create-sub-accounts.d.ts +9 -4
- package/dist/account-layer/use-create-sub-accounts.d.ts.map +1 -1
- package/dist/account-layer/use-create-sub-accounts.js +11 -13
- package/dist/account-layer/use-create-sub-accounts.js.map +1 -1
- package/dist/account-layer/use-deallocate-and-initiate-withdraw.d.ts +3 -3
- package/dist/account-layer/use-deallocate-and-initiate-withdraw.d.ts.map +1 -1
- package/dist/account-layer/use-deallocate-and-initiate-withdraw.js +32 -21
- package/dist/account-layer/use-deallocate-and-initiate-withdraw.js.map +1 -1
- package/dist/account-layer/use-deallocate.d.ts +6 -5
- package/dist/account-layer/use-deallocate.d.ts.map +1 -1
- package/dist/account-layer/use-deallocate.js +33 -20
- package/dist/account-layer/use-deallocate.js.map +1 -1
- package/dist/account-layer/use-delete-sub-account.d.ts +2 -2
- package/dist/account-layer/use-delete-sub-account.d.ts.map +1 -1
- package/dist/account-layer/use-delete-sub-account.js +30 -19
- package/dist/account-layer/use-delete-sub-account.js.map +1 -1
- package/dist/account-layer/use-execute-account-calls.d.ts +7 -0
- package/dist/account-layer/use-execute-account-calls.d.ts.map +1 -0
- package/dist/account-layer/use-execute-account-calls.js +54 -0
- package/dist/account-layer/use-execute-account-calls.js.map +1 -0
- package/dist/account-layer/use-protected-function.d.ts +22 -0
- package/dist/account-layer/use-protected-function.d.ts.map +1 -0
- package/dist/account-layer/use-protected-function.js +68 -0
- package/dist/account-layer/use-protected-function.js.map +1 -0
- package/dist/account-layer/use-remove-margin.d.ts +2 -2
- package/dist/account-layer/use-remove-margin.d.ts.map +1 -1
- package/dist/account-layer/use-remove-margin.js +31 -20
- package/dist/account-layer/use-remove-margin.js.map +1 -1
- package/dist/account-layer/use-timelock-policy.d.ts +21 -0
- package/dist/account-layer/use-timelock-policy.d.ts.map +1 -0
- package/dist/account-layer/use-timelock-policy.js +112 -0
- package/dist/account-layer/use-timelock-policy.js.map +1 -0
- package/dist/account-layer/use-timelock-route.d.ts +75 -0
- package/dist/account-layer/use-timelock-route.d.ts.map +1 -0
- package/dist/account-layer/use-timelock-route.js +177 -0
- package/dist/account-layer/use-timelock-route.js.map +1 -0
- package/dist/account-layer/use-timelock.d.ts +102 -0
- package/dist/account-layer/use-timelock.d.ts.map +1 -0
- package/dist/account-layer/use-timelock.js +177 -0
- package/dist/account-layer/use-timelock.js.map +1 -0
- package/dist/account-layer/use-virtual-accounts-count-of-sub-account.d.ts +24 -0
- package/dist/account-layer/use-virtual-accounts-count-of-sub-account.d.ts.map +1 -0
- package/dist/account-layer/use-virtual-accounts-count-of-sub-account.js +27 -0
- package/dist/account-layer/use-virtual-accounts-count-of-sub-account.js.map +1 -0
- package/dist/account-layer/use-virtual-accounts-of-sub-account.d.ts +25 -0
- package/dist/account-layer/use-virtual-accounts-of-sub-account.d.ts.map +1 -0
- package/dist/account-layer/use-virtual-accounts-of-sub-account.js +27 -0
- package/dist/account-layer/use-virtual-accounts-of-sub-account.js.map +1 -0
- package/dist/candles/index.d.ts +2 -0
- package/dist/candles/index.d.ts.map +1 -1
- package/dist/candles/index.js +6 -4
- package/dist/candles/use-candle-history.d.ts +30 -0
- package/dist/candles/use-candle-history.d.ts.map +1 -0
- package/dist/candles/use-candle-history.js +66 -0
- package/dist/candles/use-candle-history.js.map +1 -0
- package/dist/candles/use-candle-stream.d.ts +5 -4
- package/dist/candles/use-candle-stream.d.ts.map +1 -1
- package/dist/candles/use-candle-stream.js +17 -10
- package/dist/candles/use-candle-stream.js.map +1 -1
- package/dist/candles/use-candles.js +2 -2
- package/dist/candles/use-candles.js.map +1 -1
- package/dist/candles/use-lowcap-candle-source.d.ts +19 -0
- package/dist/candles/use-lowcap-candle-source.d.ts.map +1 -0
- package/dist/candles/use-lowcap-candle-source.js +25 -0
- package/dist/candles/use-lowcap-candle-source.js.map +1 -0
- package/dist/errors/normalize-protected-write-error.d.ts +5 -0
- package/dist/errors/normalize-protected-write-error.d.ts.map +1 -0
- package/dist/errors/normalize-protected-write-error.js +43 -0
- package/dist/errors/normalize-protected-write-error.js.map +1 -0
- package/dist/errors/normalize-symm-error.d.ts.map +1 -1
- package/dist/errors/normalize-symm-error.js +56 -43
- package/dist/errors/normalize-symm-error.js.map +1 -1
- package/dist/errors/symmio-request-error.d.ts +5 -0
- package/dist/errors/symmio-request-error.d.ts.map +1 -1
- package/dist/errors/symmio-request-error.js +2 -1
- package/dist/errors/symmio-request-error.js.map +1 -1
- package/dist/gasless/index.d.ts +3 -0
- package/dist/gasless/index.d.ts.map +1 -1
- package/dist/gasless/index.js +22 -19
- package/dist/gasless/invalidate-relay-reads.d.ts +3 -1
- package/dist/gasless/invalidate-relay-reads.d.ts.map +1 -1
- package/dist/gasless/invalidate-relay-reads.js +115 -60
- package/dist/gasless/invalidate-relay-reads.js.map +1 -1
- package/dist/gasless/use-approve-operational-fee-allowance.d.ts +37 -0
- package/dist/gasless/use-approve-operational-fee-allowance.d.ts.map +1 -0
- package/dist/gasless/use-approve-operational-fee-allowance.js +48 -0
- package/dist/gasless/use-approve-operational-fee-allowance.js.map +1 -0
- package/dist/gasless/use-approve-operational-fee.d.ts +2 -2
- package/dist/gasless/use-approve-operational-fee.d.ts.map +1 -1
- package/dist/gasless/use-approve-operational-fee.js +28 -17
- package/dist/gasless/use-approve-operational-fee.js.map +1 -1
- package/dist/gasless/use-gasless-batch-funding.d.ts +22 -0
- package/dist/gasless/use-gasless-batch-funding.d.ts.map +1 -0
- package/dist/gasless/use-gasless-batch-funding.js +27 -0
- package/dist/gasless/use-gasless-batch-funding.js.map +1 -0
- package/dist/gasless/use-gasless-margin-funding.d.ts +26 -0
- package/dist/gasless/use-gasless-margin-funding.d.ts.map +1 -0
- package/dist/gasless/use-gasless-margin-funding.js +27 -0
- package/dist/gasless/use-gasless-margin-funding.js.map +1 -0
- package/dist/gasless/use-relay-gasless-batch.d.ts +5 -4
- package/dist/gasless/use-relay-gasless-batch.d.ts.map +1 -1
- package/dist/gasless/use-relay-gasless-batch.js.map +1 -1
- package/dist/index.d.ts +14 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +275 -256
- package/dist/instant-layer/index.d.ts +2 -0
- package/dist/instant-layer/index.d.ts.map +1 -1
- package/dist/instant-layer/index.js +25 -23
- package/dist/instant-layer/invalidate-delegation-grant.d.ts +17 -0
- package/dist/instant-layer/invalidate-delegation-grant.d.ts.map +1 -0
- package/dist/instant-layer/invalidate-delegation-grant.js +26 -0
- package/dist/instant-layer/invalidate-delegation-grant.js.map +1 -0
- package/dist/instant-layer/use-grant-delegation.d.ts +3 -1
- package/dist/instant-layer/use-grant-delegation.d.ts.map +1 -1
- package/dist/instant-layer/use-grant-delegation.js +19 -28
- package/dist/instant-layer/use-grant-delegation.js.map +1 -1
- package/dist/instant-layer/use-grant-delegations.d.ts +44 -0
- package/dist/instant-layer/use-grant-delegations.d.ts.map +1 -0
- package/dist/instant-layer/use-grant-delegations.js +36 -0
- package/dist/instant-layer/use-grant-delegations.js.map +1 -0
- package/dist/instant-layer/use-instant-close-fees.js +8 -8
- package/dist/instant-layer/use-instant-open-inputs.js +8 -8
- package/dist/instant-layer/use-session-key-selectors.d.ts +5 -2
- package/dist/instant-layer/use-session-key-selectors.d.ts.map +1 -1
- package/dist/instant-layer/use-session-key-selectors.js +9 -5
- package/dist/instant-layer/use-session-key-selectors.js.map +1 -1
- package/dist/instant-layer/use-simulate-grant-delegations.d.ts +25 -0
- package/dist/instant-layer/use-simulate-grant-delegations.d.ts.map +1 -0
- package/dist/instant-layer/use-simulate-grant-delegations.js +29 -0
- package/dist/instant-layer/use-simulate-grant-delegations.js.map +1 -0
- package/dist/pools/use-listing-config.d.ts +3 -1
- package/dist/pools/use-listing-config.d.ts.map +1 -1
- package/dist/pools/use-listing-config.js.map +1 -1
- package/dist/provider/symmio-provider.d.ts +31 -4
- package/dist/provider/symmio-provider.d.ts.map +1 -1
- package/dist/provider/symmio-provider.js +12 -11
- package/dist/provider/symmio-provider.js.map +1 -1
- package/dist/solvers/timelock-capability-cache.d.ts +9 -0
- package/dist/solvers/timelock-capability-cache.d.ts.map +1 -0
- package/dist/solvers/timelock-capability-cache.js +79 -0
- package/dist/solvers/timelock-capability-cache.js.map +1 -0
- package/dist/solvers/use-solver-info.d.ts +5 -2
- package/dist/solvers/use-solver-info.d.ts.map +1 -1
- package/dist/solvers/use-solver-info.js +35 -11
- package/dist/solvers/use-solver-info.js.map +1 -1
- package/dist/transactions/write-types.d.ts +13 -1
- package/dist/transactions/write-types.d.ts.map +1 -1
- package/dist/withdraw/index.d.ts +3 -0
- package/dist/withdraw/index.d.ts.map +1 -1
- package/dist/withdraw/use-deallocate-debounce-time.d.ts +29 -0
- package/dist/withdraw/use-deallocate-debounce-time.d.ts.map +1 -0
- package/dist/withdraw/use-deallocate-debounce-time.js +27 -0
- package/dist/withdraw/use-deallocate-debounce-time.js.map +1 -0
- package/dist/withdraw/use-finalize-withdraw-request.d.ts.map +1 -1
- package/dist/withdraw/use-finalize-withdraw-request.js +13 -12
- package/dist/withdraw/use-finalize-withdraw-request.js.map +1 -1
- package/dist/withdraw/use-initiate-withdraw.d.ts +2 -2
- package/dist/withdraw/use-initiate-withdraw.d.ts.map +1 -1
- package/dist/withdraw/use-initiate-withdraw.js +29 -17
- package/dist/withdraw/use-initiate-withdraw.js.map +1 -1
- package/dist/withdraw/use-pending-withdraw-requests-batch.d.ts +19 -0
- package/dist/withdraw/use-pending-withdraw-requests-batch.d.ts.map +1 -0
- package/dist/withdraw/use-pending-withdraw-requests-batch.js +27 -0
- package/dist/withdraw/use-pending-withdraw-requests-batch.js.map +1 -0
- package/dist/withdraw/use-request-cancel-withdraw.d.ts.map +1 -1
- package/dist/withdraw/use-request-cancel-withdraw.js +14 -13
- package/dist/withdraw/use-request-cancel-withdraw.js.map +1 -1
- package/dist/withdraw/use-withdraw-cooldown-of.d.ts +33 -0
- package/dist/withdraw/use-withdraw-cooldown-of.d.ts.map +1 -0
- package/dist/withdraw/use-withdraw-cooldown-of.js +27 -0
- package/dist/withdraw/use-withdraw-cooldown-of.js.map +1 -0
- package/dist/withdraw/use-withdraw.d.ts +3 -3
- package/dist/withdraw/use-withdraw.d.ts.map +1 -1
- package/dist/withdraw/use-withdraw.js +57 -31
- package/dist/withdraw/use-withdraw.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -11,260 +11,279 @@ import { useWalletAccount as l } from "./wallet/use-wallet-account.js";
|
|
|
11
11
|
import { useNotifications as u } from "./websocket/use-notifications.js";
|
|
12
12
|
import { useAccountBalanceInfo as d } from "./account-layer/use-account-balance-info.js";
|
|
13
13
|
import { useAccountBalanceOf as f } from "./account-layer/use-account-balance-of.js";
|
|
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 { useCollateralBalance as Y } from "./collateral/use-collateral-balance.js";
|
|
51
|
-
import { useSimulateApproveCollateral as X } from "./collateral/use-simulate-approve-collateral.js";
|
|
52
|
-
import { useActiveDelegations as Z } from "./instant-layer/use-active-delegations.js";
|
|
53
|
-
import { useAreDelegationsActive as Q } from "./instant-layer/use-are-delegations-active.js";
|
|
54
|
-
import { useDelegationExpiry as $ } from "./instant-layer/use-delegation-expiry.js";
|
|
55
|
-
import { useFinalizeRevokeDelegation as ee } from "./instant-layer/use-finalize-revoke-delegation.js";
|
|
56
|
-
import { useGrantDelegation as te } from "./instant-layer/use-grant-delegation.js";
|
|
57
|
-
import { useInitiateRevokeDelegation as ne } from "./instant-layer/use-initiate-revoke-delegation.js";
|
|
58
|
-
import { useInstantClose as re } from "./instant-layer/use-instant-close.js";
|
|
59
|
-
import { useInstantCloseAuto as ie } from "./instant-layer/use-instant-close-auto.js";
|
|
60
|
-
import { useInstantCloseBulk as ae } from "./instant-layer/use-instant-close-bulk.js";
|
|
61
|
-
import { useInstantCloseBulkAuto as oe } from "./instant-layer/use-instant-close-bulk-auto.js";
|
|
62
|
-
import { useFeeForUser as se } from "./fees/use-fee-for-user.js";
|
|
63
|
-
import { useMarkets as ce } from "./markets/use-markets.js";
|
|
64
|
-
import { usePrices as le } from "./price-service/use-prices.js";
|
|
65
|
-
import { usePriceByName as ue } from "./price-service/use-price-by-name.js";
|
|
14
|
+
import { useActiveVirtualAccountByKey as p } from "./account-layer/use-active-virtual-account-by-key.js";
|
|
15
|
+
import { TransactionRevertedError as m } from "./transactions/resolve-write-result.js";
|
|
16
|
+
import { useTransactionsStore as h } from "./transactions/use-transactions-store.js";
|
|
17
|
+
import { predicateMatch as g } from "./utils/predicate-match.js";
|
|
18
|
+
import { useAddMargin as _ } from "./account-layer/use-add-margin.js";
|
|
19
|
+
import { useAffiliateState as v } from "./account-layer/use-affiliate-state.js";
|
|
20
|
+
import { useAllocate as y } from "./account-layer/use-allocate.js";
|
|
21
|
+
import { useAutomaticTimelockRecovery as b } from "./account-layer/use-automatic-timelock-recovery.js";
|
|
22
|
+
import { useCancelRegistration as x } from "./account-layer/use-cancel-registration.js";
|
|
23
|
+
import { useCreateSubAccounts as S } from "./account-layer/use-create-sub-accounts.js";
|
|
24
|
+
import { useDeallocate as C } from "./account-layer/use-deallocate.js";
|
|
25
|
+
import { useDeallocateAndInitiateWithdraw as w } from "./account-layer/use-deallocate-and-initiate-withdraw.js";
|
|
26
|
+
import { useDeleteSubAccount as T } from "./account-layer/use-delete-sub-account.js";
|
|
27
|
+
import { useDeposit as E } from "./account-layer/use-deposit.js";
|
|
28
|
+
import { useDepositAndAllocate as D } from "./account-layer/use-deposit-and-allocate.js";
|
|
29
|
+
import { useEditAccountName as O } from "./account-layer/use-edit-account-name.js";
|
|
30
|
+
import { useExecuteAccountCalls as k } from "./account-layer/use-execute-account-calls.js";
|
|
31
|
+
import { useGeneratedAccountManagerAddress as A } from "./account-layer/use-generated-account-manager-address.js";
|
|
32
|
+
import { usePredictedNextVirtualAccount as j } from "./account-layer/use-predicted-next-virtual-account.js";
|
|
33
|
+
import { useProtectedFunction as M, useProtectedFunctionCatalog as N, useProtectedFunctionEncoder as P, useTimelockedCoreCallEncoder as F } from "./account-layer/use-protected-function.js";
|
|
34
|
+
import { useRemoveMargin as I } from "./account-layer/use-remove-margin.js";
|
|
35
|
+
import { useRequestToRegisterAffiliate as L } from "./account-layer/use-request-to-register-affiliate.js";
|
|
36
|
+
import { useSimulateAddMargin as R } from "./account-layer/use-simulate-add-margin.js";
|
|
37
|
+
import { useSimulateAllocate as z } from "./account-layer/use-simulate-allocate.js";
|
|
38
|
+
import { useSimulateCreateSubAccounts as B } from "./account-layer/use-simulate-create-sub-accounts.js";
|
|
39
|
+
import { useSimulateDeallocate as V } from "./account-layer/use-simulate-deallocate.js";
|
|
40
|
+
import { useSimulateDeleteSubAccount as H } from "./account-layer/use-simulate-delete-sub-account.js";
|
|
41
|
+
import { useSimulateDeposit as U } from "./account-layer/use-simulate-deposit.js";
|
|
42
|
+
import { useSimulateDepositAndAllocate as W } from "./account-layer/use-simulate-deposit-and-allocate.js";
|
|
43
|
+
import { useSimulateEditAccountName as G } from "./account-layer/use-simulate-edit-account-name.js";
|
|
44
|
+
import { useSimulateRemoveMargin as K } from "./account-layer/use-simulate-remove-margin.js";
|
|
45
|
+
import { useSubAccount as q } from "./account-layer/use-sub-account.js";
|
|
46
|
+
import { useSubAccountVirtualNonce as J } from "./account-layer/use-sub-account-virtual-nonce.js";
|
|
47
|
+
import { useSubAccountsCountOfUser as Y } from "./account-layer/use-sub-accounts-count-of-user.js";
|
|
48
|
+
import { useCancelTimelockOp as X, useClearTimelocks as Z, useExecuteTimelockOp as Q, useProtectedCall as $, useRequestTimelockApproval as ee, useScheduleTimelockOp as te, useScheduledCallMatch as ne, useSelectorTimelock as re, useSetupTimelocks as ie, useTimelockApprovalProvider as ae, useTimelockScheduleState as oe, useTimelockSelector as se } from "./account-layer/use-timelock.js";
|
|
49
|
+
import { useEarlyWithdraw as ce, useSetupTimelockPolicy as le, useTimelockPolicy as ue } from "./account-layer/use-timelock-policy.js";
|
|
66
50
|
import { useSolverInfo as de } from "./solvers/use-solver-info.js";
|
|
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
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import {
|
|
134
|
-
import {
|
|
135
|
-
import {
|
|
136
|
-
import {
|
|
137
|
-
import {
|
|
138
|
-
import {
|
|
139
|
-
import {
|
|
140
|
-
import {
|
|
141
|
-
import {
|
|
142
|
-
import {
|
|
143
|
-
import {
|
|
144
|
-
import {
|
|
145
|
-
import {
|
|
146
|
-
import {
|
|
147
|
-
import {
|
|
148
|
-
import {
|
|
149
|
-
import {
|
|
150
|
-
import {
|
|
151
|
-
import {
|
|
152
|
-
import {
|
|
153
|
-
import {
|
|
154
|
-
import {
|
|
155
|
-
import {
|
|
156
|
-
import {
|
|
157
|
-
import {
|
|
158
|
-
import {
|
|
159
|
-
import {
|
|
160
|
-
import {
|
|
161
|
-
import {
|
|
162
|
-
import {
|
|
163
|
-
import {
|
|
164
|
-
import {
|
|
165
|
-
import {
|
|
166
|
-
import {
|
|
167
|
-
import {
|
|
168
|
-
import {
|
|
169
|
-
import {
|
|
170
|
-
import {
|
|
171
|
-
import {
|
|
172
|
-
import {
|
|
173
|
-
import {
|
|
174
|
-
import {
|
|
175
|
-
import {
|
|
176
|
-
import {
|
|
177
|
-
import {
|
|
178
|
-
import {
|
|
179
|
-
import {
|
|
180
|
-
import {
|
|
181
|
-
import {
|
|
182
|
-
import {
|
|
183
|
-
import {
|
|
184
|
-
import {
|
|
185
|
-
import {
|
|
186
|
-
import {
|
|
187
|
-
import {
|
|
188
|
-
import {
|
|
189
|
-
import {
|
|
190
|
-
import {
|
|
191
|
-
import {
|
|
192
|
-
import {
|
|
193
|
-
import {
|
|
194
|
-
import {
|
|
195
|
-
import {
|
|
196
|
-
import {
|
|
197
|
-
import {
|
|
198
|
-
import {
|
|
199
|
-
import {
|
|
200
|
-
import {
|
|
201
|
-
import {
|
|
202
|
-
import {
|
|
203
|
-
import {
|
|
204
|
-
import {
|
|
205
|
-
import {
|
|
206
|
-
import {
|
|
207
|
-
import {
|
|
208
|
-
import {
|
|
209
|
-
import {
|
|
210
|
-
import {
|
|
211
|
-
import {
|
|
212
|
-
import {
|
|
213
|
-
import {
|
|
214
|
-
import {
|
|
215
|
-
import {
|
|
216
|
-
import {
|
|
217
|
-
import {
|
|
218
|
-
import {
|
|
219
|
-
import {
|
|
220
|
-
import {
|
|
221
|
-
import {
|
|
222
|
-
import {
|
|
223
|
-
import {
|
|
224
|
-
import {
|
|
225
|
-
import {
|
|
226
|
-
import {
|
|
227
|
-
import {
|
|
228
|
-
import {
|
|
229
|
-
import {
|
|
230
|
-
import {
|
|
231
|
-
import {
|
|
232
|
-
import {
|
|
233
|
-
import {
|
|
234
|
-
import {
|
|
235
|
-
import {
|
|
236
|
-
import {
|
|
237
|
-
import {
|
|
238
|
-
import {
|
|
239
|
-
import {
|
|
240
|
-
import {
|
|
241
|
-
import {
|
|
242
|
-
import {
|
|
243
|
-
import {
|
|
244
|
-
import {
|
|
245
|
-
import {
|
|
246
|
-
import {
|
|
247
|
-
import {
|
|
248
|
-
import {
|
|
249
|
-
import {
|
|
250
|
-
import {
|
|
251
|
-
import {
|
|
252
|
-
import {
|
|
253
|
-
import {
|
|
254
|
-
import {
|
|
255
|
-
import {
|
|
256
|
-
import {
|
|
257
|
-
import {
|
|
258
|
-
import {
|
|
259
|
-
import {
|
|
260
|
-
import {
|
|
261
|
-
import {
|
|
262
|
-
import {
|
|
263
|
-
import {
|
|
264
|
-
import {
|
|
265
|
-
import {
|
|
266
|
-
import {
|
|
267
|
-
import {
|
|
268
|
-
import {
|
|
269
|
-
import {
|
|
270
|
-
|
|
51
|
+
import { useVirtualAccount as fe } from "./account-layer/use-virtual-account.js";
|
|
52
|
+
import { useTimelockRoute as pe } from "./account-layer/use-timelock-route.js";
|
|
53
|
+
import { useUserSubAccounts as me } from "./account-layer/use-user-sub-accounts.js";
|
|
54
|
+
import { useUserSubAccountsAddresses as he } from "./account-layer/use-user-sub-accounts-addresses.js";
|
|
55
|
+
import { useVirtualAccountsAddressesOfSubAccount as ge } from "./account-layer/use-virtual-accounts-addresses-of-sub-account.js";
|
|
56
|
+
import { useVirtualAccountsCountOfSubAccount as _e } from "./account-layer/use-virtual-accounts-count-of-sub-account.js";
|
|
57
|
+
import { useVirtualAccountsOfSubAccount as ve } from "./account-layer/use-virtual-accounts-of-sub-account.js";
|
|
58
|
+
import { useApproveCollateral as ye } from "./collateral/use-approve-collateral.js";
|
|
59
|
+
import { useCollateralAllowance as be } from "./collateral/use-collateral-allowance.js";
|
|
60
|
+
import { useCollateralBalance as xe } from "./collateral/use-collateral-balance.js";
|
|
61
|
+
import { useSimulateApproveCollateral as Se } from "./collateral/use-simulate-approve-collateral.js";
|
|
62
|
+
import { useActiveDelegations as Ce } from "./instant-layer/use-active-delegations.js";
|
|
63
|
+
import { useAreDelegationsActive as we } from "./instant-layer/use-are-delegations-active.js";
|
|
64
|
+
import { useDelegationExpiry as Te } from "./instant-layer/use-delegation-expiry.js";
|
|
65
|
+
import { useFinalizeRevokeDelegation as Ee } from "./instant-layer/use-finalize-revoke-delegation.js";
|
|
66
|
+
import { useGrantDelegation as De } from "./instant-layer/use-grant-delegation.js";
|
|
67
|
+
import { useGrantDelegations as Oe } from "./instant-layer/use-grant-delegations.js";
|
|
68
|
+
import { useInitiateRevokeDelegation as ke } from "./instant-layer/use-initiate-revoke-delegation.js";
|
|
69
|
+
import { useInstantClose as Ae } from "./instant-layer/use-instant-close.js";
|
|
70
|
+
import { useInstantCloseAuto as je } from "./instant-layer/use-instant-close-auto.js";
|
|
71
|
+
import { useInstantCloseBulk as Me } from "./instant-layer/use-instant-close-bulk.js";
|
|
72
|
+
import { useInstantCloseBulkAuto as Ne } from "./instant-layer/use-instant-close-bulk-auto.js";
|
|
73
|
+
import { useFeeForUser as Pe } from "./fees/use-fee-for-user.js";
|
|
74
|
+
import { useMarkets as Fe } from "./markets/use-markets.js";
|
|
75
|
+
import { usePrices as Ie } from "./price-service/use-prices.js";
|
|
76
|
+
import { usePriceByName as Le } from "./price-service/use-price-by-name.js";
|
|
77
|
+
import { useInstantCloseFees as Re } from "./instant-layer/use-instant-close-fees.js";
|
|
78
|
+
import { useInstantCloses as ze } from "./instant-layer/use-instant-closes.js";
|
|
79
|
+
import { useInstantOpen as Be } from "./instant-layer/use-instant-open.js";
|
|
80
|
+
import { useInstantOpenAuto as Ve } from "./instant-layer/use-instant-open-auto.js";
|
|
81
|
+
import { useEstimatedPrice as He } from "./estimated-price/use-estimated-price.js";
|
|
82
|
+
import { useLockedParams as Ue } from "./locked-params/use-locked-params.js";
|
|
83
|
+
import { useInstantOpenFees as We } from "./instant-layer/use-instant-open-fees.js";
|
|
84
|
+
import { useInstantOpenQuoteId as Ge } from "./instant-layer/use-instant-open-quote-id.js";
|
|
85
|
+
import { toQuoteTpSl as Ke } from "./tpsl/to-quote-tpsl.js";
|
|
86
|
+
import { useTpSlRecord as qe, useTpSlRecords as Je, useTpSlStore as Ye } from "./tpsl/tpsl-store.js";
|
|
87
|
+
import { useInstantOpenWithTpSl as Xe } from "./instant-layer/use-instant-open-with-tpsl.js";
|
|
88
|
+
import { useInstantOpens as Ze } from "./instant-layer/use-instant-opens.js";
|
|
89
|
+
import { useInstantTradeRequiredSelectors as Qe } from "./instant-layer/use-instant-trade-required-selectors.js";
|
|
90
|
+
import { useIsDelegationActive as $e } from "./instant-layer/use-is-delegation-active.js";
|
|
91
|
+
import { useLimitCloseAuto as et } from "./instant-layer/use-limit-close-auto.js";
|
|
92
|
+
import { useLimitOpenAuto as tt } from "./instant-layer/use-limit-open-auto.js";
|
|
93
|
+
import { usePendingRevocation as nt } from "./instant-layer/use-pending-revocation.js";
|
|
94
|
+
import { usePrepareInstantOpenParams as rt } from "./instant-layer/use-prepare-instant-open-params.js";
|
|
95
|
+
import { useRevocationCooldown as it } from "./instant-layer/use-revocation-cooldown.js";
|
|
96
|
+
import { useSessionKeySelectors as at } from "./instant-layer/use-session-key-selectors.js";
|
|
97
|
+
import { useSimulateGrantDelegation as ot } from "./instant-layer/use-simulate-grant-delegation.js";
|
|
98
|
+
import { useSimulateGrantDelegations as st } from "./instant-layer/use-simulate-grant-delegations.js";
|
|
99
|
+
import { useDeallocateDebounceTime as ct } from "./withdraw/use-deallocate-debounce-time.js";
|
|
100
|
+
import { useFinalizeWithdrawRequest as lt } from "./withdraw/use-finalize-withdraw-request.js";
|
|
101
|
+
import { useInitiateWithdraw as ut } from "./withdraw/use-initiate-withdraw.js";
|
|
102
|
+
import { useLastWithdrawRequestId as dt } from "./withdraw/use-last-withdraw-request-id.js";
|
|
103
|
+
import { usePendingWithdrawRequests as ft } from "./withdraw/use-pending-withdraw-requests.js";
|
|
104
|
+
import { usePendingWithdrawRequestsBatch as pt } from "./withdraw/use-pending-withdraw-requests-batch.js";
|
|
105
|
+
import { useRequestCancelWithdraw as mt } from "./withdraw/use-request-cancel-withdraw.js";
|
|
106
|
+
import { useSimulateFinalizeWithdrawRequest as ht } from "./withdraw/use-simulate-finalize-withdraw-request.js";
|
|
107
|
+
import { useSimulateInitiateWithdraw as gt } from "./withdraw/use-simulate-initiate-withdraw.js";
|
|
108
|
+
import { useSimulateRequestCancelWithdraw as _t } from "./withdraw/use-simulate-request-cancel-withdraw.js";
|
|
109
|
+
import { useWithdraw as vt } from "./withdraw/use-withdraw.js";
|
|
110
|
+
import { useWithdrawCooldownOf as yt } from "./withdraw/use-withdraw-cooldown-of.js";
|
|
111
|
+
import { useWithdrawRequest as bt } from "./withdraw/use-withdraw-requests.js";
|
|
112
|
+
import { useWithdrawableTime as xt } from "./withdraw/use-withdrawable-time.js";
|
|
113
|
+
import { useFundingFeesOfPartyB as St } from "./markets/use-funding-fees-of-party-b.js";
|
|
114
|
+
import { useOnchainContractMarkets as Ct } from "./markets/use-onchain-contract-markets.js";
|
|
115
|
+
import { useSolverErrorCodes as wt } from "./error-codes/use-solver-error-codes.js";
|
|
116
|
+
import { useSolverErrorMessage as Tt } from "./error-codes/use-solver-error-message.js";
|
|
117
|
+
import { useOptimisticQuotesStore as Et } from "./quotes/optimistic-quotes-store.js";
|
|
118
|
+
import { usePartyAOpenPositions as Dt } from "./quotes/use-party-a-open-positions.js";
|
|
119
|
+
import { useAccountLiquidationPrice as Ot } from "./quotes/use-account-liquidation-price.js";
|
|
120
|
+
import { useManagedQuotes as kt } from "./quotes/use-managed-quotes.js";
|
|
121
|
+
import { useAccountUpnl as At } from "./quotes/use-account-upnl.js";
|
|
122
|
+
import { useCloseQuoteGroup as jt } from "./quotes/use-close-quote-group.js";
|
|
123
|
+
import { useCoolDownsOfMA as Mt } from "./quotes/use-cool-downs-of-ma.js";
|
|
124
|
+
import { useForceCancelCloseRequest as Nt } from "./quotes/use-force-cancel-close-request.js";
|
|
125
|
+
import { useForceCancelQuote as Pt } from "./quotes/use-force-cancel-quote.js";
|
|
126
|
+
import { useForceClose as Ft } from "./quotes/use-force-close.js";
|
|
127
|
+
import { useSolverCapabilities as It, useSupportsGroupClose as Lt, useSupportsLimitOrder as Rt } from "./solvers/use-solver-capabilities.js";
|
|
128
|
+
import { useForceCloseParams as zt } from "./quotes/use-force-close-params.js";
|
|
129
|
+
import { useForceCloseEligibility as Bt } from "./quotes/use-force-close-eligibility.js";
|
|
130
|
+
import { useGroupedQuotes as Vt } from "./quotes/use-grouped-quotes.js";
|
|
131
|
+
import { useIsPartyALiquidated as Ht } from "./quotes/use-is-party-a-liquidated.js";
|
|
132
|
+
import { useLimitOrders as Ut } from "./quotes/use-limit-orders.js";
|
|
133
|
+
import { usePartyAOpenPositionsBatch as Wt } from "./quotes/use-party-a-open-positions-batch.js";
|
|
134
|
+
import { usePartyAPendingQuotes as Gt } from "./quotes/use-party-a-pending-quotes.js";
|
|
135
|
+
import { useQuote as Kt } from "./quotes/use-quote.js";
|
|
136
|
+
import { useQuoteEventsByType as qt } from "./quotes/use-quote-events-by-type.js";
|
|
137
|
+
import { useQuotesFunding as Jt } from "./quotes/use-quotes-funding.js";
|
|
138
|
+
import { useQuoteFunding as Yt } from "./quotes/use-quote-funding.js";
|
|
139
|
+
import { useQuoteGroupFunding as Xt } from "./quotes/use-quote-group-funding.js";
|
|
140
|
+
import { useQuoteGroupFundingHistory as Zt } from "./quotes/use-quote-group-funding-history.js";
|
|
141
|
+
import { useAccountMarginRisk as Qt } from "./margin/use-account-margin-risk.js";
|
|
142
|
+
import { useEnigmaPriceByName as $t } from "./price-service/use-enigma-price-by-name.js";
|
|
143
|
+
import { useEnigmaPriceByMarketId as en } from "./price-service/use-enigma-price-by-market-id.js";
|
|
144
|
+
import { useQuoteGroupMarginRisk as tn } from "./quotes/use-quote-group-margin-risk.js";
|
|
145
|
+
import { useQuoteHistory as nn } from "./quotes/use-quote-history.js";
|
|
146
|
+
import { useQuotesPendingFunding as rn } from "./quotes/use-quotes-pending-funding.js";
|
|
147
|
+
import { useQuotePendingFunding as an } from "./quotes/use-quote-pending-funding.js";
|
|
148
|
+
import { useQuotePlatformFee as on } from "./quotes/use-quote-platform-fee.js";
|
|
149
|
+
import { useQuotePriceHistory as sn } from "./quotes/use-quote-price-history.js";
|
|
150
|
+
import { usePriceByMarketId as cn } from "./price-service/use-price-by-market-id.js";
|
|
151
|
+
import { useQuoteUpnlAndPnl as ln } from "./quotes/use-quote-upnl-and-pnl.js";
|
|
152
|
+
import { useRequestToCancelCloseRequest as un } from "./quotes/use-request-to-cancel-close-request.js";
|
|
153
|
+
import { useRequestToCancelQuote as dn } from "./quotes/use-request-to-cancel-quote.js";
|
|
154
|
+
import { useSubgraphQuery as fn } from "./quotes/use-subgraph-query.js";
|
|
155
|
+
import { useSubgraphQuotes as pn } from "./quotes/use-subgraph-quotes.js";
|
|
156
|
+
import { useAvailableInstantOpenMargin as mn } from "./margin/use-available-instant-open-margin.js";
|
|
157
|
+
import { useMarginTransfers as hn } from "./margin/use-margin-transfers.js";
|
|
158
|
+
import { useFundingIndexCheckpoints as gn } from "./funding/use-funding-index-checkpoints.js";
|
|
159
|
+
import { useQuoteFundingSettlements as _n } from "./funding/use-quote-funding-settlements.js";
|
|
160
|
+
import { useLiquidationDetails as vn } from "./liquidation/use-liquidation-details.js";
|
|
161
|
+
import { useBalanceHistory as yn } from "./balance-history/use-balance-history.js";
|
|
162
|
+
import { useDepositHistory as bn } from "./balance-history/use-deposit-history.js";
|
|
163
|
+
import { useWithdrawHistory as xn } from "./balance-history/use-withdraw-history.js";
|
|
164
|
+
import { useTransferHistory as Sn } from "./transfers/use-transfer-history.js";
|
|
165
|
+
import { DEFAULT_NOTIONAL_CAP_POLLING_MS as Cn, useNotionalCapBySymbolId as wn } from "./notional-cap/use-notional-cap-by-symbol-id.js";
|
|
166
|
+
import { useNotionalCapAll as Tn } from "./notional-cap/use-notional-cap-all.js";
|
|
167
|
+
import { useNotionalCapPage as En } from "./notional-cap/use-notional-cap-page.js";
|
|
168
|
+
import { useOpenInterestBySymbolId as Dn } from "./notional-cap/use-open-interest-by-symbol-id.js";
|
|
169
|
+
import { useFundingInfo as On } from "./funding-info/use-funding-info.js";
|
|
170
|
+
import { useRevenueRecords as kn } from "./revenue-records/use-revenue-records.js";
|
|
171
|
+
import { useSymbols as An } from "./symbols/use-symbols.js";
|
|
172
|
+
import { useTradeVolume as jn } from "./trade-volume/use-trade-volume.js";
|
|
173
|
+
import { useMarketInfo as Mn } from "./market-info/use-market-info.js";
|
|
174
|
+
import { useSolverRevenue as Nn } from "./solvers/use-solver-revenue.js";
|
|
175
|
+
import { useBinanceHealth as Pn } from "./price-service/use-binance-health.js";
|
|
176
|
+
import { useBinancePremiumIndex as Fn } from "./price-service/use-binance-premium-index.js";
|
|
177
|
+
import { useBinancePrices as In } from "./price-service/use-binance-prices.js";
|
|
178
|
+
import { useBinanceSymbolsInfo as Ln } from "./price-service/use-binance-symbols-info.js";
|
|
179
|
+
import { useEnigmaPriceServiceHealth as Rn } from "./price-service/use-enigma-price-service-health.js";
|
|
180
|
+
import { useEnigmaPriceServiceMetadata as zn } from "./price-service/use-enigma-price-service-metadata.js";
|
|
181
|
+
import { useEnigmaPriceServicePricesByAddresses as Bn } from "./price-service/use-enigma-price-service-prices-by-addresses.js";
|
|
182
|
+
import { useEnigmaPriceServicePricesByNames as Vn } from "./price-service/use-enigma-price-service-prices-by-names.js";
|
|
183
|
+
import { useEnigmaPriceServiceSymbolsInfo as Hn } from "./price-service/use-enigma-price-service-symbols-info.js";
|
|
184
|
+
import { useEnigmaPrices as Un } from "./price-service/use-enigma-prices.js";
|
|
185
|
+
import { useMarkPrices as Wn } from "./price-service/use-mark-prices.js";
|
|
186
|
+
import { useSearchNotifications as Gn } from "./notifications/use-search-notifications.js";
|
|
187
|
+
import { useDeallocateUpnlSig as Kn } from "./muon/use-deallocate-upnl-sig.js";
|
|
188
|
+
import { useForceClosePriceSig as qn } from "./muon/use-force-close-price-sig.js";
|
|
189
|
+
import { useMuonPartyAOverview as Jn } from "./muon/use-muon-party-a-overview.js";
|
|
190
|
+
import { useMuonPrice as Yn } from "./muon/use-muon-price.js";
|
|
191
|
+
import { useMuonPriceRange as Xn } from "./muon/use-muon-price-range.js";
|
|
192
|
+
import { useMuonSettleUpnl as Zn } from "./muon/use-muon-settle-upnl.js";
|
|
193
|
+
import { useMuonUpnl as Qn } from "./muon/use-muon-upnl.js";
|
|
194
|
+
import { useMuonUpnlA as $n } from "./muon/use-muon-upnl-a.js";
|
|
195
|
+
import { useMuonUpnlAWithSymbolPrice as er } from "./muon/use-muon-upnl-a-with-symbol-price.js";
|
|
196
|
+
import { useMuonUpnlB as tr } from "./muon/use-muon-upnl-b.js";
|
|
197
|
+
import { useMuonUpnlWithSymbolPrice as nr } from "./muon/use-muon-upnl-with-symbol-price.js";
|
|
198
|
+
import { useSendQuoteUpnlSig as rr } from "./muon/use-send-quote-upnl-sig.js";
|
|
199
|
+
import { invalidateTpSlReads as ir } from "./tpsl/invalidate-tpsl.js";
|
|
200
|
+
import { useDeleteQuoteGroupTpSl as ar } from "./tpsl/use-delete-quote-group-tpsl.js";
|
|
201
|
+
import { useDeleteQuoteTpSl as or } from "./tpsl/use-delete-quote-tpsl.js";
|
|
202
|
+
import { useQuoteGroupTpSl as sr } from "./tpsl/use-quote-group-tpsl.js";
|
|
203
|
+
import { useQuoteGroupTpSlEditor as cr } from "./tpsl/use-quote-group-tpsl-editor.js";
|
|
204
|
+
import { useWatchTpSlNotifications as lr } from "./tpsl/use-watch-tpsl-notifications.js";
|
|
205
|
+
import { useQuoteTpSl as ur } from "./tpsl/use-quote-tpsl.js";
|
|
206
|
+
import { useSearchTpSlOrders as dr } from "./tpsl/use-search-tpsl-orders.js";
|
|
207
|
+
import { useSetQuoteGroupTpSl as fr } from "./tpsl/use-set-quote-group-tpsl.js";
|
|
208
|
+
import { useSetQuoteTpSl as pr } from "./tpsl/use-set-quote-tpsl.js";
|
|
209
|
+
import { useTpSlConfig as mr } from "./tpsl/use-tpsl-config.js";
|
|
210
|
+
import { useTpSlSigningSpec as hr } from "./tpsl/use-tpsl-signing-spec.js";
|
|
211
|
+
import { useTpSlSupported as gr } from "./tpsl/use-tpsl-supported.js";
|
|
212
|
+
import { useBinanceCandleSource as _r } from "./candles/use-binance-candle-source.js";
|
|
213
|
+
import { useCandleHistory as vr } from "./candles/use-candle-history.js";
|
|
214
|
+
import { useCandleStream as yr } from "./candles/use-candle-stream.js";
|
|
215
|
+
import { useCandles as br } from "./candles/use-candles.js";
|
|
216
|
+
import { useLowcapCandleSource as xr } from "./candles/use-lowcap-candle-source.js";
|
|
217
|
+
import { useTradingViewDatafeed as Sr } from "./candles/use-tradingview-datafeed.js";
|
|
218
|
+
import { useBinanceOrderbookSource as Cr } from "./orderbook/use-binance-orderbook-source.js";
|
|
219
|
+
import { useOrderbookStream as wr } from "./orderbook/use-orderbook-stream.js";
|
|
220
|
+
import { useLiveOrderbook as Tr } from "./orderbook/use-live-orderbook.js";
|
|
221
|
+
import { useOrderbook as Er } from "./orderbook/use-orderbook.js";
|
|
222
|
+
import { useErrorMessage as Dr } from "./rasa-solver/use-error-message.js";
|
|
223
|
+
import { usePartyAUpnl as Or } from "./rasa-solver/use-party-a-upnl.js";
|
|
224
|
+
import { useSolverBalanceInfo as kr } from "./rasa-solver/use-solver-balance-info.js";
|
|
225
|
+
import { useSolverOpenInterest as Ar } from "./rasa-solver/use-solver-open-interest.js";
|
|
226
|
+
import { useSolverPriceRange as jr } from "./rasa-solver/use-solver-price-range.js";
|
|
227
|
+
import { useSolverReadiness as Mr } from "./rasa-solver/use-solver-readiness.js";
|
|
228
|
+
import { useAddMarket as Nr } from "./pools/use-add-market.js";
|
|
229
|
+
import { useAuthenticateListing as Pr } from "./pools/use-authenticate-listing.js";
|
|
230
|
+
import { useCancelWithdraw as Fr } from "./pools/use-cancel-withdraw.js";
|
|
231
|
+
import { useClaimHistory as Ir } from "./pools/use-claim-history.js";
|
|
232
|
+
import { useClaimProfit as Lr } from "./pools/use-claim-profit.js";
|
|
233
|
+
import { useDepositAddress as Rr } from "./pools/use-deposit-address.js";
|
|
234
|
+
import { useListingConfig as zr } from "./pools/use-listing-config.js";
|
|
235
|
+
import { useListingMarketConfig as Br } from "./pools/use-listing-market-config.js";
|
|
236
|
+
import { useListingMarketDetail as Vr } from "./pools/use-listing-market-detail.js";
|
|
237
|
+
import { useUserProfit as Hr } from "./pools/use-user-profit.js";
|
|
238
|
+
import { useListingMarketConfigProjection as Ur } from "./pools/use-listing-market-config-projection.js";
|
|
239
|
+
import { useListingMarkets as Wr } from "./pools/use-listing-markets.js";
|
|
240
|
+
import { useListingStatus as Gr } from "./pools/use-listing-status.js";
|
|
241
|
+
import { useListingTokenMetadata as Kr } from "./pools/use-listing-token-metadata.js";
|
|
242
|
+
import { useListingTokenSupport as qr } from "./pools/use-listing-token-support.js";
|
|
243
|
+
import { usePoolMaintenanceFees as Jr } from "./pools/use-pool-maintenance-fees.js";
|
|
244
|
+
import { usePoolOpenPositions as Yr } from "./pools/use-pool-open-positions.js";
|
|
245
|
+
import { useUserTotalReward as Xr } from "./pools/use-user-total-reward.js";
|
|
246
|
+
import { usePoolPortfolio as Zr } from "./pools/use-pool-portfolio.js";
|
|
247
|
+
import { usePoolPosition as Qr } from "./pools/use-pool-position.js";
|
|
248
|
+
import { usePoolQuotes as $r } from "./pools/use-pool-quotes.js";
|
|
249
|
+
import { usePoolRewardChart as ei } from "./pools/use-pool-reward-chart.js";
|
|
250
|
+
import { usePoolStatistics as ti } from "./pools/use-pool-statistics.js";
|
|
251
|
+
import { usePoolTotalReward as ni } from "./pools/use-pool-total-reward.js";
|
|
252
|
+
import { usePoolTradeHistory as ri } from "./pools/use-pool-trade-history.js";
|
|
253
|
+
import { usePoolTransactions as ii } from "./pools/use-pool-transactions.js";
|
|
254
|
+
import { useRefundMarket as ai } from "./pools/use-refund-market.js";
|
|
255
|
+
import { useRetryListing as oi } from "./pools/use-retry-listing.js";
|
|
256
|
+
import { useRetryListingInfo as si } from "./pools/use-retry-listing-info.js";
|
|
257
|
+
import { useSupportsListingService as ci } from "./pools/use-supports-listing-service.js";
|
|
258
|
+
import { useTokenPrice as li } from "./pools/use-token-price.js";
|
|
259
|
+
import { useUpdateListingMarketConfig as ui } from "./pools/use-update-listing-market-config.js";
|
|
260
|
+
import { useUserListingMarkets as di } from "./pools/use-user-listing-markets.js";
|
|
261
|
+
import { useUserRewardChart as fi } from "./pools/use-user-reward-chart.js";
|
|
262
|
+
import { useUserTransactions as pi } from "./pools/use-user-transactions.js";
|
|
263
|
+
import { useWeeklyListingLimit as mi } from "./pools/use-weekly-listing-limit.js";
|
|
264
|
+
import { useWithdrawLp as hi } from "./pools/use-withdraw-lp.js";
|
|
265
|
+
import { useInventoryTvl as gi } from "./inventory/use-inventory-tvl.js";
|
|
266
|
+
import { useInventoryTvlHistory as _i } from "./inventory/use-inventory-tvl-history.js";
|
|
267
|
+
import { useApproveOperationalFee as vi } from "./gasless/use-approve-operational-fee.js";
|
|
268
|
+
import { useApproveOperationalFeeAllowance as yi } from "./gasless/use-approve-operational-fee-allowance.js";
|
|
269
|
+
import { useGaslessBatchFeeQuote as bi } from "./gasless/use-gasless-batch-fee-quote.js";
|
|
270
|
+
import { useGaslessBatchFunding as xi } from "./gasless/use-gasless-batch-funding.js";
|
|
271
|
+
import { useGaslessDepositPolicy as Si } from "./gasless/use-gasless-deposit-policy.js";
|
|
272
|
+
import { useGaslessFeeQuote as Ci } from "./gasless/use-gasless-fee-quote.js";
|
|
273
|
+
import { useGaslessMarginFunding as wi } from "./gasless/use-gasless-margin-funding.js";
|
|
274
|
+
import { useGaslessRequest as Ti } from "./gasless/use-gasless-request.js";
|
|
275
|
+
import { useGaslessRequestTransactions as Ei } from "./gasless/use-gasless-request-transactions.js";
|
|
276
|
+
import { useGaslessWalletAddress as Di } from "./gasless/use-gasless-wallet-address.js";
|
|
277
|
+
import { useGaslessWalletCreationFee as Oi } from "./gasless/use-gasless-wallet-creation-fee.js";
|
|
278
|
+
import { useGaslessWalletExecute as ki } from "./gasless/use-gasless-wallet-execute.js";
|
|
279
|
+
import { useGaslessWalletExecuteSelectors as Ai } from "./gasless/use-gasless-wallet-execute-selectors.js";
|
|
280
|
+
import { useGaslessWalletNonce as ji } from "./gasless/use-gasless-wallet-nonce.js";
|
|
281
|
+
import { useOperationalFeeAllowance as Mi } from "./gasless/use-operational-fee-allowance.js";
|
|
282
|
+
import { useRelayGaslessBatch as Ni } from "./gasless/use-relay-gasless-batch.js";
|
|
283
|
+
import { useRelayInstantOperations as Pi } from "./gasless/use-relay-instant-operations.js";
|
|
284
|
+
import { useResubmitGaslessRequest as Fi } from "./gasless/use-resubmit-gasless-request.js";
|
|
285
|
+
import { useSettleGaslessDepositExistingAccount as Ii } from "./gasless/use-settle-gasless-deposit-existing-account.js";
|
|
286
|
+
import { useSettleGaslessDepositNewAccount as Li } from "./gasless/use-settle-gasless-deposit-new-account.js";
|
|
287
|
+
import { useSupportsGaslessService as Ri } from "./gasless/use-supports-gasless-service.js";
|
|
288
|
+
import { ADD_MARGIN_TO_NEXT_VA_SELECTOR as zi, DEFAULT_TPSL_SLIPPAGE_LOWCAPS as Bi, GASLESS_RELAYABLE_FUNCTIONS as Vi, GASLESS_RELAYABLE_SELECTORS as Hi, GASLESS_SESSION_KEY_SELECTORS as Ui, GASLESS_SESSION_KEY_WITHDRAW_SELECTORS as Wi, GASLESS_TERMINAL_STATUSES as Gi, GROUP_TPSL_SIDES as Ki, GaslessRequestStatus as qi, INSTANT_TRADE_REQUIRED_SELECTORS as Ji, LEGACY_INSTANT_TRADE_REQUIRED_SELECTORS as Yi, NotificationType as Xi, OPERATIONAL_FEE_LIST_PRICE_MULTIPLIER as Zi, OrderType as Qi, PositionType as $i, QuoteStatus as ea, REQUEST_TO_CLOSE_POSITION_SELECTOR as ta, SEND_QUOTE_SELECTOR as na, SEND_QUOTE_WITH_AFFILIATE_AND_DATA_SELECTOR as ra, SubAccountIsolationType as ia, SymmApiError as aa, SymmError as oa, VIRTUAL_ACCOUNT_ISOLATION_TYPE as sa, ZERO_LEG as ca, accountLayerAbi as la, buildConditionalOrderLeg as ua, buildConditionalOrderMessage as da, buildTpSlDeleteMessage as fa, calculateAvailableForOrder as pa, calculateAvailableInstantOpenMargin as ma, calculateClosePrice as ha, calculatePriceImpact as ga, calculateQuoteLeverage as _a, calculateQuotePnl as va, calculateSolverCloseFee as ya, calculateTradeParams as ba, childNotional as xa, clampClosePrecision as Sa, classifyGaslessFailure as Ca, decimalPriceToWei as wa, decodeGaslessOperationFailure as Ta, deleteQuoteTpSl as Ea, deleteQuoteTpSlMutationOptions as Da, estimateGroupTpSlReturn as Oa, generateTpSlSalt as ka, getGaslessUnconfirmedSubmit as Aa, getPartyAOpenPositionsQueryKey as ja, getPartyAOpenPositionsQueryOptions as Ma, getSessionKeySelectors as Na, getTimelockRecoveryTransactionHash as Pa, hasTimelockSubmissionEvidence as Fa, isDefiniteGaslessSimulationRejection as Ia, isDefiniteTimelockApprovalRejection as La, isGaslessIdempotencyConflictError as Ra, isGaslessRequestTerminal as za, isUnsubmittedTimelockWalletRejection as Ba, isolationTypeForSide as Va, parseGaslessErrorDetail as Ha, parseTpSlFrame as Ua, planGroupTpSl as Wa, planGroupTpSlDelete as Ga, priceSlippageCalculation as Ka, sharePercent as qa, signTpSlRequest as Ja, summarizeQuoteGroupTpSl as Ya, supportsEstimatedPrice as Xa, toGroupTpSlChildren as Za, toGroupTpSlOrders as Qa, toSignableTpSlMessage as $a, validateInstantCloseAgainstMarket as eo, validateInstantOpenAgainstMarket as to, validateTpSl as no, watchTpSlNotifications as ro } from "@symmio/trading-core";
|
|
289
|
+
export { zi as ADD_MARGIN_TO_NEXT_VA_SELECTOR, Cn as DEFAULT_NOTIONAL_CAP_POLLING_MS, Bi as DEFAULT_TPSL_SLIPPAGE_LOWCAPS, Vi as GASLESS_RELAYABLE_FUNCTIONS, Hi as GASLESS_RELAYABLE_SELECTORS, Ui as GASLESS_SESSION_KEY_SELECTORS, Wi as GASLESS_SESSION_KEY_WITHDRAW_SELECTORS, Gi as GASLESS_TERMINAL_STATUSES, Ki as GROUP_TPSL_SIDES, qi as GaslessRequestStatus, Ji as INSTANT_TRADE_REQUIRED_SELECTORS, Yi as LEGACY_INSTANT_TRADE_REQUIRED_SELECTORS, Xi as NotificationType, Zi as OPERATIONAL_FEE_LIST_PRICE_MULTIPLIER, Qi as OrderType, $i as PositionType, ea as QuoteStatus, ta as REQUEST_TO_CLOSE_POSITION_SELECTOR, na as SEND_QUOTE_SELECTOR, ra as SEND_QUOTE_WITH_AFFILIATE_AND_DATA_SELECTOR, ia as SubAccountIsolationType, aa as SymmApiError, oa as SymmError, t as SymmioProvider, i as SymmioRequestError, m as TransactionRevertedError, sa as VIRTUAL_ACCOUNT_ISOLATION_TYPE, ca as ZERO_LEG, la as accountLayerAbi, ua as buildConditionalOrderLeg, da as buildConditionalOrderMessage, fa as buildTpSlDeleteMessage, pa as calculateAvailableForOrder, ma as calculateAvailableInstantOpenMargin, ha as calculateClosePrice, ga as calculatePriceImpact, _a as calculateQuoteLeverage, va as calculateQuotePnl, ya as calculateSolverCloseFee, ba as calculateTradeParams, xa as childNotional, Sa as clampClosePrecision, Ca as classifyGaslessFailure, e as createSessionKeyWalletClientResolver, wa as decimalPriceToWei, Ta as decodeGaslessOperationFailure, Ea as deleteQuoteTpSl, Da as deleteQuoteTpSlMutationOptions, Oa as estimateGroupTpSlReturn, ka as generateTpSlSalt, Aa as getGaslessUnconfirmedSubmit, ja as getPartyAOpenPositionsQueryKey, Ma as getPartyAOpenPositionsQueryOptions, Na as getSessionKeySelectors, Pa as getTimelockRecoveryTransactionHash, Fa as hasTimelockSubmissionEvidence, ir as invalidateTpSlReads, Ia as isDefiniteGaslessSimulationRejection, La as isDefiniteTimelockApprovalRejection, Ra as isGaslessIdempotencyConflictError, za as isGaslessRequestTerminal, Ba as isUnsubmittedTimelockWalletRejection, Va as isolationTypeForSide, a as normalizeSymmError, Ha as parseGaslessErrorDetail, Ua as parseTpSlFrame, Wa as planGroupTpSl, Ga as planGroupTpSlDelete, g as predicateMatch, Ka as priceSlippageCalculation, qa as sharePercent, Ja as signTpSlRequest, Ya as summarizeQuoteGroupTpSl, Xa as supportsEstimatedPrice, Za as toGroupTpSlChildren, Qa as toGroupTpSlOrders, Ke as toQuoteTpSl, $a as toSignableTpSlMessage, d as useAccountBalanceInfo, f as useAccountBalanceOf, Ot as useAccountLiquidationPrice, Qt as useAccountMarginRisk, At as useAccountUpnl, Ce as useActiveDelegations, p as useActiveVirtualAccountByKey, _ as useAddMargin, Nr as useAddMarket, v as useAffiliateState, y as useAllocate, ye as useApproveCollateral, vi as useApproveOperationalFee, yi as useApproveOperationalFeeAllowance, we as useAreDelegationsActive, Pr as useAuthenticateListing, b as useAutomaticTimelockRecovery, mn as useAvailableInstantOpenMargin, yn as useBalanceHistory, _r as useBinanceCandleSource, Pn as useBinanceHealth, Cr as useBinanceOrderbookSource, Fn as useBinancePremiumIndex, In as useBinancePrices, Ln as useBinanceSymbolsInfo, x as useCancelRegistration, X as useCancelTimelockOp, Fr as useCancelWithdraw, vr as useCandleHistory, yr as useCandleStream, br as useCandles, Ir as useClaimHistory, Lr as useClaimProfit, Z as useClearTimelocks, jt as useCloseQuoteGroup, be as useCollateralAllowance, xe as useCollateralBalance, o as useConnectWallet, Mt as useCoolDownsOfMA, S as useCreateSubAccounts, C as useDeallocate, w as useDeallocateAndInitiateWithdraw, ct as useDeallocateDebounceTime, Kn as useDeallocateUpnlSig, Te as useDelegationExpiry, ar as useDeleteQuoteGroupTpSl, or as useDeleteQuoteTpSl, T as useDeleteSubAccount, E as useDeposit, Rr as useDepositAddress, D as useDepositAndAllocate, bn as useDepositHistory, s as useDisconnectWallet, ce as useEarlyWithdraw, O as useEditAccountName, en as useEnigmaPriceByMarketId, $t as useEnigmaPriceByName, Rn as useEnigmaPriceServiceHealth, zn as useEnigmaPriceServiceMetadata, Bn as useEnigmaPriceServicePricesByAddresses, Vn as useEnigmaPriceServicePricesByNames, Hn as useEnigmaPriceServiceSymbolsInfo, Un as useEnigmaPrices, Dr as useErrorMessage, He as useEstimatedPrice, k as useExecuteAccountCalls, Q as useExecuteTimelockOp, Pe as useFeeForUser, Ee as useFinalizeRevokeDelegation, lt as useFinalizeWithdrawRequest, Nt as useForceCancelCloseRequest, Pt as useForceCancelQuote, Ft as useForceClose, Bt as useForceCloseEligibility, zt as useForceCloseParams, qn as useForceClosePriceSig, St as useFundingFeesOfPartyB, gn as useFundingIndexCheckpoints, On as useFundingInfo, bi as useGaslessBatchFeeQuote, xi as useGaslessBatchFunding, Si as useGaslessDepositPolicy, Ci as useGaslessFeeQuote, wi as useGaslessMarginFunding, Ti as useGaslessRequest, Ei as useGaslessRequestTransactions, Di as useGaslessWalletAddress, Oi as useGaslessWalletCreationFee, ki as useGaslessWalletExecute, Ai as useGaslessWalletExecuteSelectors, ji as useGaslessWalletNonce, A as useGeneratedAccountManagerAddress, De as useGrantDelegation, Oe as useGrantDelegations, Vt as useGroupedQuotes, ke as useInitiateRevokeDelegation, ut as useInitiateWithdraw, Ae as useInstantClose, je as useInstantCloseAuto, Me as useInstantCloseBulk, Ne as useInstantCloseBulkAuto, Re as useInstantCloseFees, ze as useInstantCloses, Be as useInstantOpen, Ve as useInstantOpenAuto, We as useInstantOpenFees, Ge as useInstantOpenQuoteId, Xe as useInstantOpenWithTpSl, Ze as useInstantOpens, Qe as useInstantTradeRequiredSelectors, gi as useInventoryTvl, _i as useInventoryTvlHistory, $e as useIsDelegationActive, Ht as useIsPartyALiquidated, dt as useLastWithdrawRequestId, et as useLimitCloseAuto, tt as useLimitOpenAuto, Ut as useLimitOrders, vn as useLiquidationDetails, zr as useListingConfig, Br as useListingMarketConfig, Ur as useListingMarketConfigProjection, Vr as useListingMarketDetail, Wr as useListingMarkets, Gr as useListingStatus, Kr as useListingTokenMetadata, qr as useListingTokenSupport, Tr as useLiveOrderbook, Ue as useLockedParams, xr as useLowcapCandleSource, kt as useManagedQuotes, hn as useMarginTransfers, Wn as useMarkPrices, Mn as useMarketInfo, Fe as useMarkets, Jn as useMuonPartyAOverview, Yn as useMuonPrice, Xn as useMuonPriceRange, Zn as useMuonSettleUpnl, Qn as useMuonUpnl, $n as useMuonUpnlA, er as useMuonUpnlAWithSymbolPrice, tr as useMuonUpnlB, nr as useMuonUpnlWithSymbolPrice, u as useNotifications, Tn as useNotionalCapAll, wn as useNotionalCapBySymbolId, En as useNotionalCapPage, Ct as useOnchainContractMarkets, Dn as useOpenInterestBySymbolId, Mi as useOperationalFeeAllowance, Et as useOptimisticQuotesStore, Er as useOrderbook, wr as useOrderbookStream, Dt as usePartyAOpenPositions, Wt as usePartyAOpenPositionsBatch, Gt as usePartyAPendingQuotes, Or as usePartyAUpnl, nt as usePendingRevocation, ft as usePendingWithdrawRequests, pt as usePendingWithdrawRequestsBatch, Jr as usePoolMaintenanceFees, Yr as usePoolOpenPositions, Zr as usePoolPortfolio, Qr as usePoolPosition, $r as usePoolQuotes, ei as usePoolRewardChart, ti as usePoolStatistics, ni as usePoolTotalReward, ri as usePoolTradeHistory, ii as usePoolTransactions, j as usePredictedNextVirtualAccount, rt as usePrepareInstantOpenParams, cn as usePriceByMarketId, Le as usePriceByName, Ie as usePrices, $ as useProtectedCall, M as useProtectedFunction, N as useProtectedFunctionCatalog, P as useProtectedFunctionEncoder, Kt as useQuote, qt as useQuoteEventsByType, Yt as useQuoteFunding, _n as useQuoteFundingSettlements, Xt as useQuoteGroupFunding, Zt as useQuoteGroupFundingHistory, tn as useQuoteGroupMarginRisk, sr as useQuoteGroupTpSl, cr as useQuoteGroupTpSlEditor, nn as useQuoteHistory, an as useQuotePendingFunding, on as useQuotePlatformFee, sn as useQuotePriceHistory, ur as useQuoteTpSl, ln as useQuoteUpnlAndPnl, Jt as useQuotesFunding, rn as useQuotesPendingFunding, ai as useRefundMarket, Ni as useRelayGaslessBatch, Pi as useRelayInstantOperations, I as useRemoveMargin, mt as useRequestCancelWithdraw, ee as useRequestTimelockApproval, un as useRequestToCancelCloseRequest, dn as useRequestToCancelQuote, L as useRequestToRegisterAffiliate, Fi as useResubmitGaslessRequest, oi as useRetryListing, si as useRetryListingInfo, kn as useRevenueRecords, it as useRevocationCooldown, te as useScheduleTimelockOp, ne as useScheduledCallMatch, Gn as useSearchNotifications, dr as useSearchTpSlOrders, re as useSelectorTimelock, rr as useSendQuoteUpnlSig, at as useSessionKeySelectors, fr as useSetQuoteGroupTpSl, pr as useSetQuoteTpSl, Ii as useSettleGaslessDepositExistingAccount, Li as useSettleGaslessDepositNewAccount, le as useSetupTimelockPolicy, ie as useSetupTimelocks, R as useSimulateAddMargin, z as useSimulateAllocate, Se as useSimulateApproveCollateral, B as useSimulateCreateSubAccounts, V as useSimulateDeallocate, H as useSimulateDeleteSubAccount, U as useSimulateDeposit, W as useSimulateDepositAndAllocate, G as useSimulateEditAccountName, ht as useSimulateFinalizeWithdrawRequest, ot as useSimulateGrantDelegation, st as useSimulateGrantDelegations, gt as useSimulateInitiateWithdraw, K as useSimulateRemoveMargin, _t as useSimulateRequestCancelWithdraw, kr as useSolverBalanceInfo, It as useSolverCapabilities, wt as useSolverErrorCodes, Tt as useSolverErrorMessage, de as useSolverInfo, Ar as useSolverOpenInterest, jr as useSolverPriceRange, Mr as useSolverReadiness, Nn as useSolverRevenue, q as useSubAccount, J as useSubAccountVirtualNonce, Y as useSubAccountsCountOfUser, fn as useSubgraphQuery, pn as useSubgraphQuotes, Ri as useSupportsGaslessService, Lt as useSupportsGroupClose, Rt as useSupportsLimitOrder, ci as useSupportsListingService, c as useSwitchToSymmioChain, An as useSymbols, n as useSymmioChainId, r as useSymmioConfig, ae as useTimelockApprovalProvider, ue as useTimelockPolicy, pe as useTimelockRoute, oe as useTimelockScheduleState, se as useTimelockSelector, F as useTimelockedCoreCallEncoder, li as useTokenPrice, mr as useTpSlConfig, qe as useTpSlRecord, Je as useTpSlRecords, hr as useTpSlSigningSpec, Ye as useTpSlStore, gr as useTpSlSupported, jn as useTradeVolume, Sr as useTradingViewDatafeed, h as useTransactionsStore, Sn as useTransferHistory, ui as useUpdateListingMarketConfig, di as useUserListingMarkets, Hr as useUserProfit, fi as useUserRewardChart, me as useUserSubAccounts, he as useUserSubAccountsAddresses, Xr as useUserTotalReward, pi as useUserTransactions, fe as useVirtualAccount, ge as useVirtualAccountsAddressesOfSubAccount, _e as useVirtualAccountsCountOfSubAccount, ve as useVirtualAccountsOfSubAccount, l as useWalletAccount, lr as useWatchTpSlNotifications, mi as useWeeklyListingLimit, vt as useWithdraw, yt as useWithdrawCooldownOf, xn as useWithdrawHistory, hi as useWithdrawLp, bt as useWithdrawRequest, xt as useWithdrawableTime, eo as validateInstantCloseAgainstMarket, to as validateInstantOpenAgainstMarket, no as validateTpSl, ro as watchTpSlNotifications };
|