@symmio/trading-core 2.0.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/balance-history/get-balance-history/types.d.ts +1 -1
- package/dist/balance-history/get-balance-history/types.js.map +1 -1
- package/dist/core/chains/actions/get-chain-config.d.ts +1 -1
- package/dist/core/chains/actions/get-chain-config.js.map +1 -1
- package/dist/core/chains/actions/get-default-solver.d.ts +1 -1
- package/dist/core/chains/actions/get-default-solver.js.map +1 -1
- package/dist/core/chains/actions/list-supported-chains.js.map +1 -1
- package/dist/core/chains/registry.d.ts.map +1 -1
- package/dist/core/chains/registry.js +52 -50
- package/dist/core/chains/registry.js.map +1 -1
- package/dist/core/chains/supported-chains.d.ts +3 -3
- package/dist/core/chains/supported-chains.d.ts.map +1 -1
- package/dist/core/chains/supported-chains.js +1 -1
- package/dist/core/chains/supported-chains.js.map +1 -1
- package/dist/core/chains/types.d.ts +18 -4
- package/dist/core/chains/types.d.ts.map +1 -1
- package/dist/core/chains/types.js.map +1 -1
- package/dist/core/config/create-config.d.ts +7 -7
- package/dist/core/config/create-config.d.ts.map +1 -1
- package/dist/core/config/create-config.js +39 -38
- package/dist/core/config/create-config.js.map +1 -1
- package/dist/core/config/merge-chain-config.js +1 -0
- package/dist/core/config/merge-chain-config.js.map +1 -1
- package/dist/index.d.ts +18 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +318 -316
- package/dist/margin/calculate-margin-risk.d.ts +1 -1
- package/dist/margin/calculate-margin-risk.js.map +1 -1
- package/dist/notifications/types.d.ts +1 -1
- package/dist/notifications/types.d.ts.map +1 -1
- package/dist/quotes/close-planning/min-remaining-quantity.d.ts +1 -1
- package/dist/quotes/close-planning/min-remaining-quantity.js.map +1 -1
- package/dist/quotes/get-quote-history/query-document.d.ts +1 -1
- package/dist/quotes/get-quote-history/query-document.js.map +1 -1
- package/dist/quotes/get-quote-history/types.d.ts +2 -2
- package/dist/quotes/get-quote-history/types.js.map +1 -1
- package/dist/quotes/grouping/aggregate-metrics.d.ts +1 -1
- package/dist/quotes/grouping/aggregate-metrics.js.map +1 -1
- package/dist/quotes/open-price.d.ts +10 -10
- package/dist/quotes/open-price.d.ts.map +1 -1
- package/dist/quotes/open-price.js +1 -1
- package/dist/quotes/open-price.js.map +1 -1
- package/dist/quotes/upnl/calculate-quote-leverage.d.ts +8 -6
- package/dist/quotes/upnl/calculate-quote-leverage.d.ts.map +1 -1
- package/dist/quotes/upnl/calculate-quote-leverage.js.map +1 -1
- package/dist/shared/utils/query.d.ts +2 -2
- package/dist/shared/utils/query.js.map +1 -1
- package/dist/solvers/force-close/force-close-position.js +1 -1
- package/dist/solvers/force-close/force-close-position.js.map +1 -1
- package/dist/solvers/force-close/get-force-close-params.js +1 -1
- package/dist/solvers/force-close/get-force-close-params.js.map +1 -1
- package/dist/solvers/instant-close/shared/calldata.js +1 -1
- package/dist/solvers/instant-close/shared/calldata.js.map +1 -1
- package/dist/solvers/instant-open/get-instant-open-fees/get-instant-open-fees.d.ts +129 -0
- package/dist/solvers/instant-open/get-instant-open-fees/get-instant-open-fees.d.ts.map +1 -0
- package/dist/solvers/instant-open/get-instant-open-fees/get-instant-open-fees.js +115 -0
- package/dist/solvers/instant-open/get-instant-open-fees/get-instant-open-fees.js.map +1 -0
- package/dist/solvers/instant-open/get-instant-open-fees/index.d.ts +3 -0
- package/dist/solvers/instant-open/get-instant-open-fees/index.d.ts.map +1 -0
- package/dist/solvers/instant-open/get-instant-open-fees/query.d.ts +34 -0
- package/dist/solvers/instant-open/get-instant-open-fees/query.d.ts.map +1 -0
- package/dist/solvers/instant-open/get-instant-open-fees/query.js +33 -0
- package/dist/solvers/instant-open/get-instant-open-fees/query.js.map +1 -0
- package/dist/solvers/instant-open/index.d.ts +1 -0
- package/dist/solvers/instant-open/index.d.ts.map +1 -1
- package/dist/solvers/instant-open/instant-open/adapters/enigma-instant-open.d.ts.map +1 -1
- package/dist/solvers/instant-open/instant-open/adapters/enigma-instant-open.js +58 -55
- package/dist/solvers/instant-open/instant-open/adapters/enigma-instant-open.js.map +1 -1
- package/dist/solvers/instant-open/instant-open/types.d.ts +14 -4
- package/dist/solvers/instant-open/instant-open/types.d.ts.map +1 -1
- package/dist/solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.d.ts +45 -10
- package/dist/solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.d.ts.map +1 -1
- package/dist/solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.js +157 -72
- package/dist/solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.js.map +1 -1
- package/dist/solvers/instant-open/shared/calldata.d.ts +35 -7
- package/dist/solvers/instant-open/shared/calldata.d.ts.map +1 -1
- package/dist/solvers/instant-open/shared/calldata.js +56 -14
- package/dist/solvers/instant-open/shared/calldata.js.map +1 -1
- package/dist/solvers/instant-open/shared/index.d.ts +1 -0
- package/dist/solvers/instant-open/shared/index.d.ts.map +1 -1
- package/dist/solvers/instant-open/shared/open-estimate-guard.d.ts +89 -0
- package/dist/solvers/instant-open/shared/open-estimate-guard.d.ts.map +1 -0
- package/dist/solvers/instant-open/shared/open-estimate-guard.js +52 -0
- package/dist/solvers/instant-open/shared/open-estimate-guard.js.map +1 -0
- package/dist/solvers/instant-open/shared/selectors.d.ts +46 -7
- package/dist/solvers/instant-open/shared/selectors.d.ts.map +1 -1
- package/dist/solvers/instant-open/shared/selectors.js +12 -5
- package/dist/solvers/instant-open/shared/selectors.js.map +1 -1
- package/dist/solvers/instant-open/shared/trade-math.d.ts +112 -8
- package/dist/solvers/instant-open/shared/trade-math.d.ts.map +1 -1
- package/dist/solvers/instant-open/shared/trade-math.js +59 -25
- package/dist/solvers/instant-open/shared/trade-math.js.map +1 -1
- package/dist/solvers/instant-open/shared/types.d.ts +32 -0
- package/dist/solvers/instant-open/shared/types.d.ts.map +1 -1
- package/dist/solvers/instant-open/shared/types.js.map +1 -1
- package/dist/solvers/markets/adapters/enigma-markets.d.ts.map +1 -1
- package/dist/solvers/markets/adapters/enigma-markets.js +38 -32
- package/dist/solvers/markets/adapters/enigma-markets.js.map +1 -1
- package/dist/solvers/markets/types.d.ts +15 -0
- package/dist/solvers/markets/types.d.ts.map +1 -1
- package/dist/solvers/revenue/get-solver-revenue.d.ts +11 -11
- package/dist/solvers/revenue/get-solver-revenue.d.ts.map +1 -1
- package/dist/solvers/revenue/get-solver-revenue.js +12 -12
- package/dist/solvers/revenue/get-solver-revenue.js.map +1 -1
- package/dist/solvers/revenue/query.d.ts +2 -2
- package/dist/solvers/revenue/query.d.ts.map +1 -1
- package/dist/solvers/revenue/query.js +1 -1
- package/dist/solvers/revenue/query.js.map +1 -1
- package/dist/solvers/revenue/to-solver-revenue.d.ts +3 -2
- package/dist/solvers/revenue/to-solver-revenue.d.ts.map +1 -1
- package/dist/solvers/revenue/to-solver-revenue.js.map +1 -1
- package/dist/solvers/shared/index.d.ts +1 -0
- package/dist/solvers/shared/index.d.ts.map +1 -1
- package/dist/solvers/shared/resolvers/resolve-market.d.ts +36 -5
- package/dist/solvers/shared/resolvers/resolve-market.d.ts.map +1 -1
- package/dist/solvers/shared/resolvers/resolve-market.js +30 -8
- package/dist/solvers/shared/resolvers/resolve-market.js.map +1 -1
- package/dist/solvers/shared/resolvers/types.d.ts +14 -0
- package/dist/solvers/shared/resolvers/types.d.ts.map +1 -1
- package/dist/solvers/shared/solver-close-fee.d.ts +76 -0
- package/dist/solvers/shared/solver-close-fee.d.ts.map +1 -0
- package/dist/solvers/shared/solver-close-fee.js +26 -0
- package/dist/solvers/shared/solver-close-fee.js.map +1 -0
- package/dist/solvers/symbols/to-solver-symbol.d.ts.map +1 -1
- package/dist/solvers/symbols/to-solver-symbol.js +36 -30
- package/dist/solvers/symbols/to-solver-symbol.js.map +1 -1
- package/dist/solvers/symbols/types.d.ts +22 -1
- package/dist/solvers/symbols/types.d.ts.map +1 -1
- package/dist/solvers/types/generated/enigma-solver.d.ts +8 -99
- package/dist/solvers/types/generated/enigma-solver.d.ts.map +1 -1
- package/dist/solvers/types/generated/enigma-solver.js +5 -11
- package/dist/solvers/types/generated/enigma-solver.js.map +1 -1
- package/dist/solvers/types/generated/rasa-solver.js +2 -2
- package/dist/solvers/types/generated/rasa-solver.js.map +1 -1
- package/dist/symmio-contracts/abi/index.d.ts +4 -4
- package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/account-layer.d.ts +499 -132
- package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/account-layer.d.ts.map +1 -1
- package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/account-layer.js +591 -149
- package/dist/symmio-contracts/abi/v0.8.6/account-layer.js.map +1 -0
- package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/index.d.ts.map +1 -1
- package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/instant-layer.d.ts +24 -24
- package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/instant-layer.d.ts.map +1 -1
- package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/instant-layer.js +28 -28
- package/dist/symmio-contracts/abi/v0.8.6/instant-layer.js.map +1 -0
- package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/symmio.d.ts +4724 -1019
- package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/symmio.d.ts.map +1 -1
- package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/symmio.js +12750 -8308
- package/dist/symmio-contracts/abi/v0.8.6/symmio.js.map +1 -0
- package/dist/symmio-contracts/account-layer/actions/add-margin.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/add-margin.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/cancel-registration.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/cancel-registration.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/create-sub-accounts.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/create-sub-accounts.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/delete-sub-account.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/delete-sub-account.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/deposit-and-allocate-for-account.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/deposit-and-allocate-for-account.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/deposit-for-account.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/deposit-for-account.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/edit-account-name.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/edit-account-name.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/generate-account-manager-address.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/generate-account-manager-address.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/get-account-balance-info.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/get-account-balance-info.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/get-account-balance-of.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/get-account-balance-of.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/get-affiliate-state.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/get-affiliate-state.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/get-sub-account-virtual-nonce.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/get-sub-account-virtual-nonce.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/get-sub-account.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/get-sub-account.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/get-sub-accounts-count-of-user.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/get-sub-accounts-count-of-user.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/get-user-sub-accounts-addresses.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/get-user-sub-accounts-addresses.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/get-user-sub-accounts.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/get-user-sub-accounts.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/get-virtual-account.d.ts +1 -1
- package/dist/symmio-contracts/account-layer/actions/get-virtual-account.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/get-virtual-account.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/get-virtual-accounts-addresses-of-sub-account.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/get-virtual-accounts-addresses-of-sub-account.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/predict-next-virtual-account.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/predict-next-virtual-account.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/remove-margin.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/remove-margin.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/request-to-register-affiliate.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/request-to-register-affiliate.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/simulate-add-margin.d.ts +1 -1
- package/dist/symmio-contracts/account-layer/actions/simulate-add-margin.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/simulate-add-margin.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/simulate-cancel-registration.d.ts +1 -1
- package/dist/symmio-contracts/account-layer/actions/simulate-cancel-registration.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/simulate-cancel-registration.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/simulate-create-sub-accounts.d.ts +1 -1
- package/dist/symmio-contracts/account-layer/actions/simulate-create-sub-accounts.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/simulate-create-sub-accounts.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/simulate-delete-sub-account.d.ts +1 -1
- package/dist/symmio-contracts/account-layer/actions/simulate-delete-sub-account.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/simulate-delete-sub-account.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/simulate-deposit-and-allocate-for-account.d.ts +1 -1
- package/dist/symmio-contracts/account-layer/actions/simulate-deposit-and-allocate-for-account.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/simulate-deposit-and-allocate-for-account.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/simulate-deposit-for-account.d.ts +1 -1
- package/dist/symmio-contracts/account-layer/actions/simulate-deposit-for-account.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/simulate-deposit-for-account.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/simulate-edit-account-name.d.ts +1 -1
- package/dist/symmio-contracts/account-layer/actions/simulate-edit-account-name.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/simulate-edit-account-name.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/simulate-remove-margin.d.ts +1 -1
- package/dist/symmio-contracts/account-layer/actions/simulate-remove-margin.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/simulate-remove-margin.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/simulate-request-to-register-affiliate.d.ts +1 -1
- package/dist/symmio-contracts/account-layer/actions/simulate-request-to-register-affiliate.js +1 -1
- package/dist/symmio-contracts/account-layer/actions/simulate-request-to-register-affiliate.js.map +1 -1
- package/dist/symmio-contracts/account-layer/types.d.ts +10 -10
- package/dist/symmio-contracts/account-layer/types.js.map +1 -1
- package/dist/symmio-contracts/instant-layer/actions/get-delegation-expiry.js +1 -1
- package/dist/symmio-contracts/instant-layer/actions/get-delegation-expiry.js.map +1 -1
- package/dist/symmio-contracts/instant-layer/actions/get-is-delegation-active.js +1 -1
- package/dist/symmio-contracts/instant-layer/actions/get-is-delegation-active.js.map +1 -1
- package/dist/symmio-contracts/instant-layer/actions/grant-delegation.js +1 -1
- package/dist/symmio-contracts/instant-layer/actions/grant-delegation.js.map +1 -1
- package/dist/symmio-contracts/instant-layer/actions/simulate-grant-delegation.d.ts +1 -1
- package/dist/symmio-contracts/instant-layer/actions/simulate-grant-delegation.js +1 -1
- package/dist/symmio-contracts/instant-layer/actions/simulate-grant-delegation.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/allocate.js +1 -1
- package/dist/symmio-contracts/symmio/actions/allocate.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/deallocate-and-initiate-withdraw.d.ts +1 -1
- package/dist/symmio-contracts/symmio/actions/deallocate-and-initiate-withdraw.js +1 -1
- package/dist/symmio-contracts/symmio/actions/deallocate-and-initiate-withdraw.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/deallocate.js +1 -1
- package/dist/symmio-contracts/symmio/actions/deallocate.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/finalize-withdraw-request.js +1 -1
- package/dist/symmio-contracts/symmio/actions/finalize-withdraw-request.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/force-cancel-close-request.js +1 -1
- package/dist/symmio-contracts/symmio/actions/force-cancel-close-request.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/force-cancel-quote.js +1 -1
- package/dist/symmio-contracts/symmio/actions/force-cancel-quote.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/get-cool-downs-of-ma.js +1 -1
- package/dist/symmio-contracts/symmio/actions/get-cool-downs-of-ma.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/get-fee-for-user.js +1 -1
- package/dist/symmio-contracts/symmio/actions/get-fee-for-user.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/get-last-withdraw-request-id.js +1 -1
- package/dist/symmio-contracts/symmio/actions/get-last-withdraw-request-id.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/get-onchain-contract-markets.js +1 -1
- package/dist/symmio-contracts/symmio/actions/get-onchain-contract-markets.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/get-party-a-open-positions.js +1 -1
- package/dist/symmio-contracts/symmio/actions/get-party-a-open-positions.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/get-party-a-pending-quotes.js +1 -1
- package/dist/symmio-contracts/symmio/actions/get-party-a-pending-quotes.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/get-pending-quotes.js +1 -1
- package/dist/symmio-contracts/symmio/actions/get-pending-quotes.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/get-pending-withdraw-requests.d.ts.map +1 -1
- package/dist/symmio-contracts/symmio/actions/get-pending-withdraw-requests.js +10 -9
- package/dist/symmio-contracts/symmio/actions/get-pending-withdraw-requests.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/get-quote.js +1 -1
- package/dist/symmio-contracts/symmio/actions/get-quote.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/get-withdraw-requests.d.ts.map +1 -1
- package/dist/symmio-contracts/symmio/actions/get-withdraw-requests.js +9 -8
- package/dist/symmio-contracts/symmio/actions/get-withdraw-requests.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/get-withdrawable-time.js +1 -1
- package/dist/symmio-contracts/symmio/actions/get-withdrawable-time.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/initiate-withdraw.d.ts +1 -1
- package/dist/symmio-contracts/symmio/actions/initiate-withdraw.js +1 -1
- package/dist/symmio-contracts/symmio/actions/initiate-withdraw.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/request-cancel-withdraw.js +1 -1
- package/dist/symmio-contracts/symmio/actions/request-cancel-withdraw.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/request-to-cancel-close-request.js +1 -1
- package/dist/symmio-contracts/symmio/actions/request-to-cancel-close-request.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/request-to-cancel-quote.js +1 -1
- package/dist/symmio-contracts/symmio/actions/request-to-cancel-quote.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/simulate-allocate.js +1 -1
- package/dist/symmio-contracts/symmio/actions/simulate-allocate.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/simulate-deallocate-and-initiate-withdraw.js +1 -1
- package/dist/symmio-contracts/symmio/actions/simulate-deallocate-and-initiate-withdraw.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/simulate-deallocate.js +1 -1
- package/dist/symmio-contracts/symmio/actions/simulate-deallocate.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/simulate-finalize-withdraw-request.d.ts +1 -1
- package/dist/symmio-contracts/symmio/actions/simulate-finalize-withdraw-request.js +1 -1
- package/dist/symmio-contracts/symmio/actions/simulate-finalize-withdraw-request.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/simulate-initiate-withdraw.js +1 -1
- package/dist/symmio-contracts/symmio/actions/simulate-initiate-withdraw.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/simulate-request-cancel-withdraw.js +1 -1
- package/dist/symmio-contracts/symmio/actions/simulate-request-cancel-withdraw.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/withdraw.d.ts +1 -1
- package/dist/symmio-contracts/symmio/actions/withdraw.js.map +1 -1
- package/dist/symmio-contracts/symmio/internal/call-as-sub-account.js +1 -1
- package/dist/symmio-contracts/symmio/internal/call-as-sub-account.js.map +1 -1
- package/dist/symmio-contracts/symmio/internal/simulate-call-as-sub-account.d.ts +1 -1
- package/dist/symmio-contracts/symmio/internal/simulate-call-as-sub-account.js +1 -1
- package/dist/symmio-contracts/symmio/internal/simulate-call-as-sub-account.js.map +1 -1
- package/dist/symmio-contracts/symmio/internal/withdraw-requests-v0-8-5.d.ts +214 -0
- package/dist/symmio-contracts/symmio/internal/withdraw-requests-v0-8-5.d.ts.map +1 -0
- package/dist/symmio-contracts/symmio/internal/withdraw-requests-v0-8-5.js +248 -0
- package/dist/symmio-contracts/symmio/internal/withdraw-requests-v0-8-5.js.map +1 -0
- package/dist/symmio-contracts/symmio/parts.d.ts +1 -1
- package/dist/symmio-contracts/symmio/parts.js.map +1 -1
- package/dist/symmio-contracts/symmio/types.d.ts +29 -19
- package/dist/symmio-contracts/symmio/types.d.ts.map +1 -1
- package/dist/symmio-contracts/symmio/types.js.map +1 -1
- package/dist/tpsl/grouping/notional.js +6 -6
- package/dist/websocket/tpsl/parse-tpsl-frame.d.ts +1 -1
- package/dist/websocket/tpsl/parse-tpsl-frame.js.map +1 -1
- package/dist/websocket/tpsl/watch-tpsl-notifications.d.ts +1 -1
- package/dist/websocket/tpsl/watch-tpsl-notifications.js.map +1 -1
- package/package.json +1 -1
- package/dist/solvers/add-solver-whitelist/add-solver-whitelist.d.ts +0 -27
- package/dist/solvers/add-solver-whitelist/add-solver-whitelist.d.ts.map +0 -1
- package/dist/solvers/add-solver-whitelist/add-solver-whitelist.js +0 -25
- package/dist/solvers/add-solver-whitelist/add-solver-whitelist.js.map +0 -1
- package/dist/solvers/add-solver-whitelist/index.d.ts +0 -3
- package/dist/solvers/add-solver-whitelist/index.d.ts.map +0 -1
- package/dist/solvers/add-solver-whitelist/query.d.ts +0 -19
- package/dist/solvers/add-solver-whitelist/query.d.ts.map +0 -1
- package/dist/solvers/add-solver-whitelist/query.js +0 -12
- package/dist/solvers/add-solver-whitelist/query.js.map +0 -1
- package/dist/symmio-contracts/abi/v0.8.5/account-layer.js.map +0 -1
- package/dist/symmio-contracts/abi/v0.8.5/instant-layer.js.map +0 -1
- package/dist/symmio-contracts/abi/v0.8.5/symmio.js.map +0 -1
- /package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/index.d.ts +0 -0
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { accountLayerAbi as e } from "./symmio-contracts/abi/v0.8.
|
|
2
|
-
import { instantLayerAbi as t } from "./symmio-contracts/abi/v0.8.
|
|
3
|
-
import { symmioAbi as n } from "./symmio-contracts/abi/v0.8.
|
|
1
|
+
import { accountLayerAbi as e } from "./symmio-contracts/abi/v0.8.6/account-layer.js";
|
|
2
|
+
import { instantLayerAbi as t } from "./symmio-contracts/abi/v0.8.6/instant-layer.js";
|
|
3
|
+
import { symmioAbi as n } from "./symmio-contracts/abi/v0.8.6/symmio.js";
|
|
4
4
|
import { SymmApiError as r, SymmError as i } from "./shared/errors/symm-error.js";
|
|
5
5
|
import { SymmioSupportedChainId as a } from "./core/chains/supported-chains.js";
|
|
6
6
|
import { getChainConfig as o } from "./core/chains/actions/get-chain-config.js";
|
|
@@ -181,316 +181,318 @@ import { getMarkPrices as hr } from "./price-service/get-mark-prices/get-mark-pr
|
|
|
181
181
|
import { getMarkPricesQueryKey as gr, getMarkPricesQueryOptions as _r } from "./price-service/get-mark-prices/query.js";
|
|
182
182
|
import { searchNotifications as vr } from "./notifications/search/search-notifications.js";
|
|
183
183
|
import { searchNotificationsQueryKey as yr, searchNotificationsQueryOptions as br } from "./notifications/search/query.js";
|
|
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
|
-
import {
|
|
271
|
-
import {
|
|
272
|
-
import {
|
|
273
|
-
import {
|
|
274
|
-
import {
|
|
275
|
-
import {
|
|
276
|
-
import {
|
|
277
|
-
import {
|
|
278
|
-
import {
|
|
279
|
-
import {
|
|
280
|
-
import {
|
|
281
|
-
import {
|
|
282
|
-
import {
|
|
283
|
-
import {
|
|
284
|
-
import {
|
|
285
|
-
import {
|
|
286
|
-
import {
|
|
287
|
-
import {
|
|
288
|
-
import {
|
|
289
|
-
import {
|
|
290
|
-
import {
|
|
291
|
-
import {
|
|
292
|
-
import {
|
|
293
|
-
import {
|
|
294
|
-
import {
|
|
295
|
-
import {
|
|
296
|
-
import {
|
|
297
|
-
import {
|
|
298
|
-
import {
|
|
299
|
-
import {
|
|
300
|
-
import {
|
|
301
|
-
import {
|
|
302
|
-
import {
|
|
303
|
-
import {
|
|
304
|
-
import {
|
|
305
|
-
import {
|
|
306
|
-
import {
|
|
307
|
-
import {
|
|
308
|
-
import {
|
|
309
|
-
import {
|
|
310
|
-
import {
|
|
311
|
-
import {
|
|
312
|
-
import {
|
|
313
|
-
import {
|
|
314
|
-
import {
|
|
315
|
-
import {
|
|
316
|
-
import {
|
|
317
|
-
import {
|
|
318
|
-
import {
|
|
319
|
-
import {
|
|
320
|
-
import {
|
|
321
|
-
import {
|
|
322
|
-
import {
|
|
323
|
-
import {
|
|
324
|
-
import {
|
|
325
|
-
import {
|
|
326
|
-
import {
|
|
327
|
-
import {
|
|
328
|
-
import {
|
|
329
|
-
import {
|
|
330
|
-
import {
|
|
331
|
-
import {
|
|
332
|
-
import {
|
|
333
|
-
import {
|
|
334
|
-
import {
|
|
335
|
-
import {
|
|
336
|
-
import {
|
|
337
|
-
import {
|
|
338
|
-
import {
|
|
339
|
-
import {
|
|
340
|
-
import {
|
|
341
|
-
import {
|
|
342
|
-
import {
|
|
343
|
-
import {
|
|
344
|
-
import {
|
|
345
|
-
import {
|
|
346
|
-
import {
|
|
347
|
-
import {
|
|
348
|
-
import {
|
|
349
|
-
import {
|
|
350
|
-
import {
|
|
351
|
-
import {
|
|
352
|
-
import {
|
|
353
|
-
import {
|
|
354
|
-
import {
|
|
355
|
-
import {
|
|
356
|
-
import {
|
|
357
|
-
import {
|
|
358
|
-
import {
|
|
359
|
-
import {
|
|
360
|
-
import {
|
|
361
|
-
import {
|
|
362
|
-
import {
|
|
363
|
-
import {
|
|
364
|
-
import {
|
|
365
|
-
import {
|
|
366
|
-
import {
|
|
367
|
-
import {
|
|
368
|
-
import {
|
|
369
|
-
import {
|
|
370
|
-
import {
|
|
371
|
-
import {
|
|
372
|
-
import {
|
|
373
|
-
import {
|
|
374
|
-
import {
|
|
375
|
-
import {
|
|
376
|
-
import {
|
|
377
|
-
import {
|
|
378
|
-
import {
|
|
379
|
-
import {
|
|
380
|
-
import {
|
|
381
|
-
import {
|
|
382
|
-
import {
|
|
383
|
-
import {
|
|
384
|
-
import {
|
|
385
|
-
import {
|
|
386
|
-
import {
|
|
387
|
-
import {
|
|
388
|
-
import {
|
|
389
|
-
import {
|
|
390
|
-
import {
|
|
391
|
-
import {
|
|
392
|
-
import {
|
|
393
|
-
import {
|
|
394
|
-
import {
|
|
395
|
-
import {
|
|
396
|
-
import {
|
|
397
|
-
import {
|
|
398
|
-
import {
|
|
399
|
-
import {
|
|
400
|
-
import {
|
|
401
|
-
import {
|
|
402
|
-
import {
|
|
403
|
-
import {
|
|
404
|
-
import {
|
|
405
|
-
import {
|
|
406
|
-
import {
|
|
407
|
-
import {
|
|
408
|
-
import {
|
|
409
|
-
import {
|
|
410
|
-
import {
|
|
411
|
-
import {
|
|
412
|
-
import {
|
|
413
|
-
import {
|
|
414
|
-
import {
|
|
415
|
-
import {
|
|
416
|
-
import {
|
|
417
|
-
import {
|
|
418
|
-
import {
|
|
419
|
-
import {
|
|
420
|
-
import {
|
|
421
|
-
import {
|
|
422
|
-
import {
|
|
423
|
-
import {
|
|
424
|
-
import {
|
|
425
|
-
import {
|
|
426
|
-
import {
|
|
427
|
-
import {
|
|
428
|
-
import {
|
|
429
|
-
import {
|
|
430
|
-
import {
|
|
431
|
-
import {
|
|
432
|
-
import {
|
|
433
|
-
import {
|
|
434
|
-
import {
|
|
435
|
-
import {
|
|
436
|
-
import {
|
|
437
|
-
import {
|
|
438
|
-
import {
|
|
439
|
-
import {
|
|
440
|
-
import {
|
|
441
|
-
import {
|
|
442
|
-
import {
|
|
443
|
-
import {
|
|
444
|
-
import {
|
|
445
|
-
import {
|
|
446
|
-
import {
|
|
447
|
-
import {
|
|
448
|
-
import {
|
|
449
|
-
import {
|
|
450
|
-
import {
|
|
451
|
-
import {
|
|
452
|
-
import {
|
|
453
|
-
import {
|
|
454
|
-
import {
|
|
455
|
-
import {
|
|
456
|
-
import {
|
|
457
|
-
import {
|
|
458
|
-
import {
|
|
459
|
-
import {
|
|
460
|
-
import {
|
|
461
|
-
import {
|
|
462
|
-
import {
|
|
463
|
-
import {
|
|
464
|
-
import {
|
|
465
|
-
import {
|
|
466
|
-
import {
|
|
467
|
-
import {
|
|
468
|
-
import {
|
|
469
|
-
import {
|
|
470
|
-
import {
|
|
471
|
-
import {
|
|
472
|
-
import {
|
|
473
|
-
import {
|
|
474
|
-
import {
|
|
475
|
-
import {
|
|
476
|
-
import {
|
|
477
|
-
import {
|
|
478
|
-
import {
|
|
479
|
-
import {
|
|
480
|
-
import {
|
|
481
|
-
import {
|
|
482
|
-
import {
|
|
483
|
-
import {
|
|
484
|
-
import {
|
|
485
|
-
import {
|
|
486
|
-
import {
|
|
487
|
-
import {
|
|
488
|
-
import {
|
|
489
|
-
import {
|
|
490
|
-
import {
|
|
491
|
-
import {
|
|
492
|
-
import {
|
|
493
|
-
import {
|
|
494
|
-
import {
|
|
495
|
-
import {
|
|
496
|
-
export { Ro as ADD_MARGIN_TO_NEXT_VA_SELECTOR, qn as ActionStatus, Me as AffiliateState, Rl as BINANCE_DEPTH_DEFAULT_LEVELS, zl as BINANCE_DEPTH_DEFAULT_LIMIT, Bl as BINANCE_DEPTH_DEFAULT_UPDATE_SPEED, Vl as BINANCE_DEPTH_LIMITS, Hl as BINANCE_DEPTH_MAX_BUFFERED_EVENTS, Ul as BINANCE_DEPTH_PATH, Wl as BINANCE_DEPTH_REST_URL, Gl as BINANCE_DEPTH_UPDATE_SPEEDS, Kl as BINANCE_DEPTH_WS_URL, Ci as BINANCE_EXCHANGE_INFO_PATH, wi as BINANCE_KLINES_PATH, Ti as BINANCE_MAX_LIMIT, ql as BINANCE_ORDERBOOK_EXCHANGE_INFO_PATH, Ei as BINANCE_REST_URL, Di as BINANCE_WS_URL, ol as BalanceChangeType, sl as BalanceHistoryFilter, bl as CANDLE_RESOLUTION_MS, _s as DEFAULT_QUOTE_EVENTS_BY_TYPE_PAGE_SIZE, Jc as DEFAULT_TPSL_SLIPPAGE_LOWCAPS, xs as FUNDING_HISTORY_EVENT_TYPES, Nc as GROUP_TPSL_SIDES, Fr as INSTANT_LAYER_EIP712_DOMAIN_NAME, Ir as INSTANT_LAYER_EIP712_DOMAIN_VERSION, zo as INSTANT_TRADE_REQUIRED_SELECTORS, Af as INVENTORY_VALUE_DECIMALS, ed as LISTING_MARKET_CONFIG_BOUNDS, gu as LISTING_VALUE_DECIMALS, _u as ListingDepositChainId, vu as ListingMarketStatus, Xr as MARKET_ORDER_DEADLINE_SECONDS, Yo as MAX_INSTANT_CLOSE_BULK_ORDERS, tt as MUON_APP, nt as MUON_METHOD_PARTY_A_OVERVIEW, rt as MUON_METHOD_PRICE, it as MUON_METHOD_PRICE_RANGE, at as MUON_METHOD_SETTLE_UPNL, ot as MUON_METHOD_UPNL_A, st as MUON_METHOD_UPNL_A_WITH_SYMBOL_PRICE, ct as MUON_METHOD_UPNL_B, lt as MUON_METHOD_UPNL_PAIR, ut as MUON_METHOD_UPNL_WITH_SYMBOL_PRICE, cl as MarginTransferType, Jn as NotificationType, Wr as ORDER_TYPE_MARKET, On as OrderType, md as POOL_OPEN_QUOTE_STATUSES, hd as POOL_PENDING_QUOTE_STATUSES, Ss as PRICE_HISTORY_EVENT_TYPES, yu as PoolPositionSide, bu as PoolTransactionStatus, xu as PoolTransactionType, kn as PositionType, Ts as QUOTES_FUNDING_MAX_IDS_PER_REQUEST, ks as QuoteCloseEventType, As as QuoteCloseType, Cs as QuoteEventType, ts as QuoteLifecycle, An as QuoteStatus, Bo as REQUEST_TO_CLOSE_POSITION_SELECTOR, Vo as SEND_QUOTE_WITH_AFFILIATE_AND_DATA_SELECTOR, Lr as SIGNED_OPERATION_TYPES, Ne as SubAccountIsolationType, r as SymmApiError, i as SymmError, a as SymmioSupportedChainId, Hc as TPSL_LIVE_ORDER_STATES, rl as TpSlSearchOrderType, Gr as VIRTUAL_ACCOUNT_ISOLATION_TYPE, jn as WithdrawStatus, yc as ZERO_LEG, Dr as ZERO_UPNL_SIG, e as accountLayerAbi, Ml as accumulateOrderbook, p as addMargin, U as addMarginMutationOptions, au as addMarket, ou as addMarketMutationOptions, da as addSolverWhitelist, fa as addSolverWhitelistMutationOptions, Xs as aggregateGroupFunding, tc as aggregateGroupMetrics, ec as aggregateGroupUpnl, et as allocate, Vt as allocateMutationOptions, ns as applyNotificationToQuotes, Fe as approveCollateral, Re as approveCollateralMutationOptions, nc as assertQuoteGroupingSupported, uu as authenticateListing, du as authenticateListingMutationOptions, ll as balanceHistoryFilterToTypes, Kc as buildConditionalOrderLeg, bc as buildConditionalOrderMessage, Or as buildQuoteMetadata, Qn as buildRasaSubscribeMessage, Br as buildSignedOperation, Zn as buildSubscribeMessage, xc as buildTpSlDeleteMessage, H as calculateAvailableForOrder, Zr as calculateAvailableInstantOpenMargin, us as calculateClosePlatformFee, _i as calculateClosePrice, cc as calculateLiquidationPrice, Qr as calculateMargin, hc as calculateMarginRisk, ds as calculateOpenPlatformFee, Wi as calculatePriceImpact, dc as calculateQuoteLeverage, fc as calculateQuotePnl, pc as calculateQuoteUpnl, mc as calculateQuoteUpnlWei, $r as calculateTradeParams, h as cancelRegistration, W as cancelRegistrationMutationOptions, pu as cancelWithdraw, mu as cancelWithdrawMutationOptions, ji as checkForceCloseEligibility, Mi as checkForceClosePriceReached, Ia as checkNotionalCap, jc as childNotional, Du as claimProfit, Ou as claimProfitMutationOptions, vi as clampClosePrecision, Yn as classifyNotification, rs as classifyQuoteNotificationAction, js as closeTypeToEventTypes, ei as computePlatformFee, kl as countTickDecimals, Ol as createBinanceCandleSource, $l as createBinanceOrderbookSource, zt as createClassicWithdrawPart, u as createConfig, _ as createSubAccounts, G as createSubAccountsMutationOptions, ft as deallocate, pt as deallocateAndInitiateWithdraw, Ut as deallocateAndInitiateWithdrawMutationOptions, Ht as deallocateMutationOptions, Oo as decimalPriceToWei, Ec as deleteQuoteTpSl, Dc as deleteQuoteTpSlMutationOptions, y as deleteSubAccount, K as deleteSubAccountMutationOptions, x as depositAndAllocateForAccount, q as depositAndAllocateForAccountMutationOptions, C as depositForAccount, J as depositForAccountMutationOptions, T as editAccountName, Y as editAccountNameMutationOptions, kr as encodeAddMarginToNextVA, mi as encodeRequestToClosePosition, Ar as encodeSendQuoteWithAffiliateAndData, Fc as estimateGroupTpSlReturn, Ms as eventTypeToCloseType, Ns as eventTypeToQuoteStatus, Xl as fetchBinanceDepth, Zl as fetchBinanceSymbolFilters, X as filterQueryOptions, ht as finalizeWithdrawRequest, Wt as finalizeWithdrawRequestMutationOptions, Ni as findForceCloseWindow, fs as fingerprintQuote, gt as forceCancelCloseRequest, Gt as forceCancelCloseRequestMutationOptions, _t as forceCancelQuote, Kt as forceCancelQuoteMutationOptions, Li as forceCloseAuto, Ri as forceCloseAutoMutationOptions, Fi as forceClosePosition, zi as forceClosePositionMutationOptions, Vr as formatSignedOperationPayload, vl as fromTradingViewResolution, E as generateAccountManagerAddress, Z as generateAccountManagerAddressQueryKey, Q as generateAccountManagerAddressQueryOptions, Hr as generateSalt, Sc as generateTpSlSalt, D as getAccountBalanceInfo, $ as getAccountBalanceInfoQueryKey, ee as getAccountBalanceInfoQueryOptions, O as getAccountBalanceOf, te as getAccountBalanceOfQueryKey, ne as getAccountBalanceOfQueryOptions, k as getAffiliateState, re as getAffiliateStateQueryKey, ie as getAffiliateStateQueryOptions, dl as getBalanceHistory, fl as getBalanceHistoryQueryKey, pl as getBalanceHistoryQueryOptions, or as getBinanceHealth, sr as getBinanceHealthQueryKey, cr as getBinanceHealthQueryOptions, lr as getBinancePremiumIndex, ur as getBinancePremiumIndexQueryKey, dr as getBinancePremiumIndexQueryOptions, Tl as getBinanceSupportedResolutions, fr as getBinanceSymbolsInfo, pr as getBinanceSymbolsInfoQueryKey, mr as getBinanceSymbolsInfoQueryOptions, Cl as getCandlesQueryKey, wl as getCandlesQueryOptions, o as getChainConfig, ju as getClaimHistory, Mu as getClaimHistoryQueryKey, Nu as getClaimHistoryQueryOptions, Ie as getCollateralAllowance, ze as getCollateralAllowanceQueryKey, Be as getCollateralAllowanceQueryOptions, Le as getCollateralBalance, Ve as getCollateralBalanceQueryKey, He as getCollateralBalanceQueryOptions, vt as getCoolDownsOfMA, qt as getCoolDownsOfMAQueryKey, Jt as getCoolDownsOfMAQueryOptions, dt as getDeallocateUpnlSig, Ya as getDeallocateUpnlSigQueryKey, Xa as getDeallocateUpnlSigQueryOptions, s as getDefaultSolver, We as getDelegationExpiry, Je as getDelegationExpiryQueryKey, Ye as getDelegationExpiryQueryOptions, Fu as getDepositAddress, Iu as getDepositAddressQueryKey, Lu as getDepositAddressQueryOptions, Mn as getEnigmaPriceServiceHealth, Nn as getEnigmaPriceServiceHealthQueryKey, Pn as getEnigmaPriceServiceHealthQueryOptions, Fn as getEnigmaPriceServiceMetadata, In as getEnigmaPriceServiceMetadataQueryKey, Ln as getEnigmaPriceServiceMetadataQueryOptions, Rn as getEnigmaPriceServicePricesByAddresses, zn as getEnigmaPriceServicePricesByAddressesQueryKey, Bn as getEnigmaPriceServicePricesByAddressesQueryOptions, Vn as getEnigmaPriceServicePricesByNames, Hn as getEnigmaPriceServicePricesByNamesQueryKey, Un as getEnigmaPriceServicePricesByNamesQueryOptions, Wn as getEnigmaPriceServiceSymbolsInfo, Gn as getEnigmaPriceServiceSymbolsInfoQueryKey, Kn as getEnigmaPriceServiceSymbolsInfoQueryOptions, pa as getErrorMessage, ma as getErrorMessageQueryKey, ha as getErrorMessageQueryOptions, Ui as getEstimatedPrice, Gi as getEstimatedPriceQueryKey, Ki as getEstimatedPriceQueryOptions, jr as getFakeSendQuoteMuonSignature, yt as getFeeForUser, Yt as getFeeForUserQueryKey, Xt as getFeeForUserQueryOptions, Ii as getForceCloseParams, Bi as getForceCloseParamsQueryKey, Vi as getForceCloseParamsQueryOptions, Ai as getForceClosePriceSig, Za as getForceClosePriceSigQueryKey, Qa as getForceClosePriceSigQueryOptions, Yi as getFundingInfo, Zi as getFundingInfoQueryKey, Qi as getFundingInfoQueryOptions, Uo as getInstantCloses, Wo as getInstantClosesQueryKey, Go as getInstantClosesQueryOptions, Rr as getInstantLayerEip712Domain, ko as getInstantOpenQuoteId, Ao as getInstantOpenQuoteIdQueryKey, jo as getInstantOpenQuoteIdQueryOptions, Mo as getInstantOpens, No as getInstantOpensQueryKey, Po as getInstantOpensQueryOptions, Sf as getInventoryTvl, Df as getInventoryTvlHistory, Of as getInventoryTvlHistoryQueryKey, kf as getInventoryTvlHistoryQueryOptions, wf as getInventoryTvlQueryKey, Tf as getInventoryTvlQueryOptions, Ge as getIsDelegationActive, Xe as getIsDelegationActiveQueryKey, Ze as getIsDelegationActiveQueryOptions, bt as getLastWithdrawRequestId, Zt as getLastWithdrawRequestIdQueryKey, Qt as getLastWithdrawRequestIdQueryOptions, zu as getListingConfig, Bu as getListingConfigQueryKey, Vu as getListingConfigQueryOptions, qu as getListingMarketConfig, Zu as getListingMarketConfigQueryKey, Qu as getListingMarketConfigQueryOptions, nd as getListingMarketDetail, rd as getListingMarketDetailQueryKey, id as getListingMarketDetailQueryOptions, od as getListingMarkets, sd as getListingMarketsQueryKey, cd as getListingMarketsQueryOptions, lu as getListingSignInMessage, Uu as getListingStatus, Wu as getListingStatusQueryKey, Gu as getListingStatusQueryOptions, ci as getLockedParams, Pa as getLockedParamsQueryKey, Fa as getLockedParamsQueryOptions, hr as getMarkPrices, gr as getMarkPricesQueryKey, _r as getMarkPricesQueryOptions, ja as getMarketInfo, Ma as getMarketInfoQueryKey, Na as getMarketInfoQueryOptions, ti as getMarketOrderDeadline, xr as getMarkets, Sr as getMarketsQueryKey, Cr as getMarketsQueryOptions, $a as getMuonPartyAOverview, eo as getMuonPartyAOverviewQueryKey, to as getMuonPartyAOverviewQueryOptions, no as getMuonPrice, ro as getMuonPriceQueryKey, io as getMuonPriceQueryOptions, ao as getMuonPriceRange, oo as getMuonPriceRangeQueryKey, so as getMuonPriceRangeQueryOptions, co as getMuonSettleUpnl, lo as getMuonSettleUpnlQueryKey, uo as getMuonSettleUpnlQueryOptions, fo as getMuonUpnl, ho as getMuonUpnlA, go as getMuonUpnlAQueryKey, _o as getMuonUpnlAQueryOptions, vo as getMuonUpnlAWithSymbolPrice, yo as getMuonUpnlAWithSymbolPriceQueryKey, bo as getMuonUpnlAWithSymbolPriceQueryOptions, xo as getMuonUpnlB, So as getMuonUpnlBQueryKey, Co as getMuonUpnlBQueryOptions, po as getMuonUpnlQueryKey, mo as getMuonUpnlQueryOptions, wo as getMuonUpnlWithSymbolPrice, To as getMuonUpnlWithSymbolPriceQueryKey, Eo as getMuonUpnlWithSymbolPriceQueryOptions, La as getNotionalCapAll, Ha as getNotionalCapAllQueryKey, Ua as getNotionalCapAllQueryOptions, Ra as getNotionalCapBySymbolId, Ba as getNotionalCapBySymbolIdQueryKey, Va as getNotionalCapBySymbolIdQueryOptions, xt as getOnchainContractMarkets, $t as getOnchainContractMarketsQueryKey, en as getOnchainContractMarketsQueryOptions, za as getOpenInterestBySymbolId, Wa as getOpenInterestBySymbolIdQueryKey, Ga as getOpenInterestBySymbolIdQueryOptions, Nl as getOrderbookDepthWithin, Il as getOrderbookQueryKey, Ll as getOrderbookQueryOptions, Pl as getOrderbookSpread, St as getPartyAOpenPositions, tn as getPartyAOpenPositionsQueryKey, nn as getPartyAOpenPositionsQueryOptions, Ct as getPartyAPendingQuotes, rn as getPartyAPendingQuotesQueryKey, an as getPartyAPendingQuotesQueryOptions, ga as getPartyAUpnl, _a as getPartyAUpnlQueryKey, va as getPartyAUpnlQueryOptions, wt as getPendingQuotes, on as getPendingQuotesQueryKey, sn as getPendingQuotesQueryOptions, Tt as getPendingWithdrawRequests, cn as getPendingWithdrawRequestsQueryKey, ln as getPendingWithdrawRequestsQueryOptions, gd as getPoolQuotes, _d as getPoolQuotesQueryKey, vd as getPoolQuotesQueryOptions, Md as getPoolRewardChart, Id as getPoolRewardChartQueryKey, Ld as getPoolRewardChartQueryOptions, Nd as getPoolTotalReward, Rd as getPoolTotalRewardQueryKey, zd as getPoolTotalRewardQueryOptions, Wd as getPoolTradeHistory, Gd as getPoolTradeHistoryQueryKey, Kd as getPoolTradeHistoryQueryOptions, Yd as getPoolTransactions, Xd as getPoolTransactionsQueryKey, Zd as getPoolTransactionsQueryOptions, L as getPredictedNextVirtualAccount, ye as getPredictedNextVirtualAccountQueryKey, be as getPredictedNextVirtualAccountQueryOptions, ms as getQuerySubgraphQueryKey, Et as getQuote, vs as getQuoteEventsByType, ys as getQuoteEventsByTypeQueryKey, bs as getQuoteEventsByTypeQueryOptions, Es as getQuoteFunding, Ds as getQuoteFundingQueryKey, Os as getQuoteFundingQueryOptions, Fs as getQuoteHistory, Is as getQuoteHistoryQueryKey, Ls as getQuoteHistoryQueryOptions, un as getQuoteQueryKey, dn as getQuoteQueryOptions, Oc as getQuoteTpSl, kc as getQuoteTpSlQueryKey, Ac as getQuoteTpSlQueryOptions, Rs as getQuotesEventsByType, zs as getQuotesEventsByTypeQueryKey, Bs as getQuotesEventsByTypeQueryOptions, wd as getRetryListingInfo, Dd as getRetryListingInfoQueryKey, Od as getRetryListingInfoQueryOptions, ea as getRevenueRecords, ta as getRevenueRecordsQueryKey, na as getRevenueRecordsQueryOptions, qr as getSendQuoteUpnlSig, Jr as getSendQuoteUpnlSigQueryKey, Yr as getSendQuoteUpnlSigQueryOptions, ya as getSolverBalanceInfo, ba as getSolverBalanceInfoQueryKey, xa as getSolverBalanceInfoQueryOptions, wr as getSolverCapabilities, Ka as getSolverErrorCodes, qa as getSolverErrorCodesQueryKey, Ja as getSolverErrorCodesQueryOptions, Sa as getSolverOpenInterest, Ca as getSolverOpenInterestQueryKey, wa as getSolverOpenInterestQueryOptions, Ta as getSolverPriceRange, Ea as getSolverPriceRangeQueryKey, Da as getSolverPriceRangeQueryOptions, Oa as getSolverReadiness, ka as getSolverReadinessQueryKey, Aa as getSolverReadinessQueryOptions, _f as getSolverRevenue, vf as getSolverRevenueQueryKey, yf as getSolverRevenueQueryOptions, A as getSubAccount, ae as getSubAccountQueryKey, oe as getSubAccountQueryOptions, qs as getSubAccountQuotes, Js as getSubAccountQuotesQueryKey, Ys as getSubAccountQuotesQueryOptions, j as getSubAccountVirtualNonce, se as getSubAccountVirtualNonceQueryKey, ce as getSubAccountVirtualNonceQueryOptions, M as getSubAccountsCountOfUser, le as getSubAccountsCountOfUserQueryKey, ue as getSubAccountsCountOfUserQueryOptions, ia as getSymbols, aa as getSymbolsQueryKey, oa as getSymbolsQueryOptions, gc as getTpSlConfig, _c as getTpSlConfigQueryKey, vc as getTpSlConfigQueryOptions, Tc as getTpSlDeleteSigningSpec, Qc as getTpSlDeleteSigningSpecQueryKey, $c as getTpSlDeleteSigningSpecQueryOptions, qc as getTpSlSigningSpec, el as getTpSlSigningSpecQueryKey, tl as getTpSlSigningSpecQueryOptions, ca as getTradeVolume, la as getTradeVolumeQueryKey, ua as getTradeVolumeQueryOptions, hl as getTransferHistory, gl as getTransferHistoryQueryKey, _l as getTransferHistoryQueryOptions, ef as getUserListingMarkets, tf as getUserListingMarketsQueryKey, nf as getUserListingMarketsQueryOptions, ud as getUserProfit, dd as getUserProfitQueryKey, fd as getUserProfitQueryOptions, Pd as getUserRewardChart, Bd as getUserRewardChartQueryKey, Vd as getUserRewardChartQueryOptions, N as getUserSubAccounts, P as getUserSubAccountsAddresses, pe as getUserSubAccountsAddressesQueryKey, me as getUserSubAccountsAddressesQueryOptions, de as getUserSubAccountsQueryKey, fe as getUserSubAccountsQueryOptions, Fd as getUserTotalReward, Hd as getUserTotalRewardQueryKey, Ud as getUserTotalRewardQueryOptions, of as getUserTransactions, sf as getUserTransactionsQueryKey, cf as getUserTransactionsQueryOptions, F as getVirtualAccount, he as getVirtualAccountQueryKey, ge as getVirtualAccountQueryOptions, I as getVirtualAccountsAddressesOfSubAccount, _e as getVirtualAccountsAddressesOfSubAccountQueryKey, ve as getVirtualAccountsAddressesOfSubAccountQueryOptions, uf as getWeeklyListingLimit, df as getWeeklyListingLimitQueryKey, ff as getWeeklyListingLimitQueryOptions, Dt as getWithdrawRequests, fn as getWithdrawRequestsQueryKey, pn as getWithdrawRequestsQueryOptions, Ot as getWithdrawableTime, mn as getWithdrawableTimeQueryKey, hn as getWithdrawableTimeQueryOptions, qe as grantDelegation, Qe as grantDelegationMutationOptions, Fl as groupOrderbook, sc as groupQuotes, kt as initiateWithdraw, gn as initiateWithdrawMutationOptions, gi as instantClose, qo as instantCloseAuto, Jo as instantCloseAutoMutationOptions, Xo as instantCloseBulk, Qo as instantCloseBulkAuto, $o as instantCloseBulkAutoMutationOptions, Zo as instantCloseBulkMutationOptions, Ko as instantCloseMutationOptions, t as instantLayerAbi, ri as instantOpen, Fo as instantOpenAuto, Io as instantOpenAutoMutationOptions, ii as instantOpenMutationOptions, Zs as isActivePosition, is as isCancelAction, c as isChainSupported, as as isCloseFillAction, os as isOpenAnchorAction, Qs as isPendingOrder, Kr as isolationTypeForSide, rc as keyQuoteByMarket, ic as keyQuotePerQuote, Vs as lifecycleFromQuoteStatus, xi as limitCloseAuto, Si as limitCloseAutoMutationOptions, fi as limitOpenAuto, pi as limitOpenAutoMutationOptions, l as listSupportedChains, ss as minRemainingQuantityOf, Xn as normalizeNotification, Jl as parseBinanceDepthLevel, Yl as parseBinanceDepthLevels, Oi as parseBinanceKline, ki as parseBinanceKlineEvent, tr as parseBinancePriceFrame, Su as parseListingValue, $n as parseNotificationFrame, nr as parsePriceFrame, il as parseTpSlFrame, $s as partitionQuotes, cs as planGroupClose, Lc as planGroupTpSl, Rc as planGroupTpSlDelete, yi as prepareInstantCloseParams, ui as prepareInstantOpenParams, bi as prepareLimitCloseParams, di as prepareLimitOpenParams, Pi as previewForceClosePrice, Yc as priceSlippageCalculation, Xi as projectFundingRate, Ju as projectListingMarketConfig, ps as querySubgraph, hs as querySubgraphQueryOptions, Gs as reconcileQuotes, xd as refundMarket, Sd as refundMarketMutationOptions, z as removeMargin, xe as removeMarginMutationOptions, At as requestCancelWithdraw, _n as requestCancelWithdrawMutationOptions, jt as requestToCancelCloseRequest, vn as requestToCancelCloseRequestMutationOptions, Mt as requestToCancelQuote, yn as requestToCancelQuoteMutationOptions, V as requestToRegisterAffiliate, Se as requestToRegisterAffiliateMutationOptions, xl as resolutionToMs, Pc as resolveChildSide, si as resolveFeeRates, bf as resolveInventoryService, tu as resolveListingService, li as resolveLockedParams, ai as resolveMarkPrice, oi as resolveMarket, Ks as resolveQuoteAccounts, ac as resolveQuoteGroupingStrategy, Ed as retryListing, kd as retryListingMutationOptions, Al as roundToTick, vr as searchNotifications, yr as searchNotificationsQueryKey, br as searchNotificationsQueryOptions, Uc as searchTpSlOrders, Wc as searchTpSlOrdersQueryKey, Gc as searchTpSlOrdersQueryOptions, hi as sendInstantClose, Nr as sendInstantOpen, Mr as sendQuoteUpnlSigFlexRange, Pr as sendRasaInstantOpen, Xc as setQuoteTpSl, Zc as setQuoteTpSlMutationOptions, Do as sharePercent, lc as shouldAccelerateOnchainReads, uc as shouldAccelerateQuotePolling, d as shouldSimulateBeforeWrite, Ur as signAndFormatInstantOperation, zr as signSignedOperation, wc as signTpSlRequest, f as simulateAddMargin, Ce as simulateAddMarginMutationOptions, Nt as simulateAllocate, bn as simulateAllocateMutationOptions, Pe as simulateApproveCollateral, Ue as simulateApproveCollateralMutationOptions, m as simulateCancelRegistration, we as simulateCancelRegistrationMutationOptions, g as simulateCreateSubAccounts, Te as simulateCreateSubAccountsMutationOptions, Pt as simulateDeallocate, Ft as simulateDeallocateAndInitiateWithdraw, Sn as simulateDeallocateAndInitiateWithdrawMutationOptions, xn as simulateDeallocateMutationOptions, v as simulateDeleteSubAccount, Ee as simulateDeleteSubAccountMutationOptions, b as simulateDepositAndAllocateForAccount, De as simulateDepositAndAllocateForAccountMutationOptions, S as simulateDepositForAccount, Oe as simulateDepositForAccountMutationOptions, w as simulateEditAccountName, ke as simulateEditAccountNameMutationOptions, mt as simulateFinalizeWithdrawRequest, Cn as simulateFinalizeWithdrawRequestMutationOptions, Ke as simulateGrantDelegation, $e as simulateGrantDelegationMutationOptions, It as simulateInitiateWithdraw, wn as simulateInitiateWithdrawMutationOptions, R as simulateRemoveMargin, Ae as simulateRemoveMarginMutationOptions, Lt as simulateRequestCancelWithdraw, Tn as simulateRequestCancelWithdrawMutationOptions, B as simulateRequestToRegisterAffiliate, je as simulateRequestToRegisterAffiliateMutationOptions, jl as suggestOrderbookTickSizes, zc as summarizeQuoteGroupTpSl, qi as supportsEstimatedPrice, Tr as supportsGroupClose, xf as supportsInventoryService, Er as supportsLimitOrder, nu as supportsListingService, oc as supportsQuoteGrouping, nl as supportsTpSl, n as symmioAbi, ru as toAddMarketRequest, ul as toBalanceHistoryRow, El as toBinanceInterval, fu as toCancelWithdrawResult, hu as toClaimRequest, Eu as toClaimResult, iu as toCreatedPool, Hi as toEstimatedPrice, ls as toGroupCloseCandidates, Bc as toGroupTpSlChildren, Vc as toGroupTpSlOrders, Cf as toInventoryTvl, Ef as toInventoryTvlPoint, su as toListingAuthToken, Ru as toListingConfig, Cu as toListingMarket, Ku as toListingMarketConfig, td as toListingMarketDetail, wu as toListingMarketPage, cu as toListingSignInMessage, Hu as toListingStatus, Tu as toListingValue, Pu as toMarketDepositAddress, Ji as toMarketFundingInfo, Ho as toPendingInstantClose, ku as toPoolClaim, Au as toPoolClaimHistoryPage, ad as toPoolPositions, pd as toPoolQuote, Ad as toPoolRewardPoint, qd as toPoolTransaction, Jd as toPoolTransactionPage, gs as toQuoteEventRow, ws as toQuoteFundingRow, Ps as toQuoteHistoryRow, yd as toRefundRequest, bd as toRefundResult, Cd as toRetryListingInfo, Td as toRetryListingResult, $i as toRevenueRecord, Cc as toSignableTpSlMessage, sa as toSolverDailyVolume, gf as toSolverRevenue, ra as toSolverSymbols, Sl as toTradingViewDatafeed, yl as toTradingViewResolution, ml as toTransferRow, Hs as toUnifiedQuoteFromInstantClose, Us as toUnifiedQuoteFromInstantOpen, Ws as toUnifiedQuoteFromOnchain, Yu as toUpdateListingMarketConfigRequest, Qd as toUserListingMarket, $d as toUserListingMarketPage, ld as toUserPoolProfit, jd as toUserPoolRewardChart, rf as toUserTransaction, af as toUserTransactionPage, lf as toWeeklyListingLimit, ni as toWeiBigInt, pf as toWithdrawRequest, Mc as triggerPriceToWei, Xu as updateListingMarketConfig, $u as updateListingMarketConfigMutationOptions, es as validateInstantCloseAgainstMarket, Lo as validateInstantOpenAgainstMarket, Ic as validateTpSl, eu as walkOrderbook, Ql as watchBinanceDepth, Dl as watchBinanceKlines, rr as watchBinancePrices, ir as watchEnigmaPrices, er as watchNotifications, ar as watchPrices, al as watchTpSlNotifications, Rt as withdraw, Bt as withdrawAuto, Dn as withdrawAutoMutationOptions, mf as withdrawLp, hf as withdrawLpMutationOptions, En as withdrawMutationOptions };
|
|
184
|
+
import { calculateSolverCloseFee as xr, getSolverCloseFeeRate as Sr, toThresholdSeconds as Cr } from "./solvers/shared/solver-close-fee.js";
|
|
185
|
+
import { getMarkets as wr } from "./solvers/markets/get-markets.js";
|
|
186
|
+
import { getMarketsQueryKey as Tr, getMarketsQueryOptions as Er } from "./solvers/markets/query.js";
|
|
187
|
+
import { getSolverCapabilities as Dr, supportsGroupClose as Or, supportsLimitOrder as kr } from "./solvers/capabilities.js";
|
|
188
|
+
import { ZERO_UPNL_SIG as Ar, buildQuoteMetadata as jr, encodeAddMarginToNextVA as Mr, encodeSendQuote as Nr, encodeSendQuoteWithAffiliateAndData as Pr, getFakeSendQuoteMuonSignature as Fr, sendQuoteUpnlSigFlexRange as Ir } from "./solvers/instant-open/shared/calldata.js";
|
|
189
|
+
import { sendInstantOpen as Lr, sendRasaInstantOpen as Rr } from "./solvers/instant-open/shared/hedger-api.js";
|
|
190
|
+
import { INSTANT_LAYER_EIP712_DOMAIN_NAME as zr, INSTANT_LAYER_EIP712_DOMAIN_VERSION as Br, SIGNED_OPERATION_TYPES as Vr, getInstantLayerEip712Domain as Hr, signSignedOperation as Ur } from "./solvers/instant-open/shared/eip712.js";
|
|
191
|
+
import { buildSignedOperation as Wr, formatSignedOperationPayload as Gr, generateSalt as Kr, signAndFormatInstantOperation as qr } from "./solvers/instant-open/shared/operations.js";
|
|
192
|
+
import { ORDER_TYPE_MARKET as Jr, VIRTUAL_ACCOUNT_ISOLATION_TYPE as Yr, isolationTypeForSide as Xr } from "./solvers/instant-open/shared/types.js";
|
|
193
|
+
import { getSendQuoteUpnlSig as Zr } from "./muon/send-quote-upnl-sig/get-send-quote-upnl-sig.js";
|
|
194
|
+
import { getSendQuoteUpnlSigQueryKey as Qr, getSendQuoteUpnlSigQueryOptions as $r } from "./muon/send-quote-upnl-sig/query.js";
|
|
195
|
+
import { MARKET_ORDER_DEADLINE_SECONDS as ei, SHORT_FUNDING_BUFFER_PERCENT as ti, calculateAvailableInstantOpenMargin as ni, calculateExpectedSettlementLoss as ri, calculateMargin as ii, calculateSolverFees as ai, calculateTradeParams as oi, computePlatformFee as si, computePlatformFeeLegs as ci, getMarketOrderDeadline as li, toWeiBigInt as ui } from "./solvers/instant-open/shared/trade-math.js";
|
|
196
|
+
import { instantOpen as di } from "./solvers/instant-open/instant-open/instant-open.js";
|
|
197
|
+
import { instantOpenMutationOptions as fi } from "./solvers/instant-open/instant-open/query.js";
|
|
198
|
+
import { decimalPriceToWei as pi } from "./shared/utils/price.js";
|
|
199
|
+
import { toEstimatedPrice as mi } from "./solvers/estimated-price/to-estimated-price.js";
|
|
200
|
+
import { getEstimatedPrice as hi } from "./solvers/estimated-price/get-estimated-price.js";
|
|
201
|
+
import { deriveAutoSlippage as gi } from "./solvers/instant-open/shared/open-estimate-guard.js";
|
|
202
|
+
import { resolveMarkPrice as _i } from "./solvers/shared/resolvers/resolve-mark-price.js";
|
|
203
|
+
import { resolveMarket as vi } from "./solvers/shared/resolvers/resolve-market.js";
|
|
204
|
+
import { resolveFeeRates as yi } from "./solvers/instant-open/prepare-instant-open-params/resolvers/resolve-fee-rates.js";
|
|
205
|
+
import { getLockedParams as bi } from "./solvers/locked-params/get-locked-params.js";
|
|
206
|
+
import { resolveLockedParams as xi } from "./solvers/instant-open/prepare-instant-open-params/resolvers/resolve-locked-params.js";
|
|
207
|
+
import { prepareInstantOpenParams as Si } from "./solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.js";
|
|
208
|
+
import { prepareLimitOpenParams as Ci } from "./solvers/limit-open/prepare-limit-open-params.js";
|
|
209
|
+
import { limitOpenAuto as wi } from "./solvers/limit-open/limit-open-auto.js";
|
|
210
|
+
import { limitOpenAutoMutationOptions as Ti } from "./solvers/limit-open/query.js";
|
|
211
|
+
import { encodeRequestToClosePosition as Ei } from "./solvers/instant-close/shared/calldata.js";
|
|
212
|
+
import { sendInstantClose as Di } from "./solvers/instant-close/shared/hedger-api.js";
|
|
213
|
+
import { instantClose as Oi } from "./solvers/instant-close/instant-close/instant-close.js";
|
|
214
|
+
import { calculateClosePrice as ki, clampClosePrecision as Ai } from "./solvers/instant-close/shared/close-math.js";
|
|
215
|
+
import { prepareInstantCloseParams as ji } from "./solvers/instant-close/prepare-instant-close-params/prepare-instant-close-params.js";
|
|
216
|
+
import { prepareLimitCloseParams as Mi } from "./solvers/limit-close/prepare-limit-close-params.js";
|
|
217
|
+
import { limitCloseAuto as Ni } from "./solvers/limit-close/limit-close-auto.js";
|
|
218
|
+
import { limitCloseAutoMutationOptions as Pi } from "./solvers/limit-close/query.js";
|
|
219
|
+
import { BINANCE_EXCHANGE_INFO_PATH as Fi, BINANCE_KLINES_PATH as Ii, BINANCE_MAX_LIMIT as Li, BINANCE_REST_URL as Ri, BINANCE_WS_URL as zi } from "./candles/sources/binance/constants.js";
|
|
220
|
+
import { parseBinanceKline as Bi, parseBinanceKlineEvent as Vi } from "./candles/sources/binance/parse-kline.js";
|
|
221
|
+
import { getForceClosePriceSig as Hi } from "./muon/force-close-price-sig/get-force-close-price-sig.js";
|
|
222
|
+
import { checkForceCloseEligibility as Ui, checkForceClosePriceReached as Wi, findForceCloseWindow as Gi, previewForceClosePrice as Ki } from "./solvers/force-close/force-close-math.js";
|
|
223
|
+
import { forceClosePosition as qi } from "./solvers/force-close/force-close-position.js";
|
|
224
|
+
import { getForceCloseParams as Ji } from "./solvers/force-close/get-force-close-params.js";
|
|
225
|
+
import { forceCloseAuto as Yi } from "./solvers/force-close/force-close-auto.js";
|
|
226
|
+
import { forceCloseAutoMutationOptions as Xi, forceClosePositionMutationOptions as Zi, getForceCloseParamsQueryKey as Qi, getForceCloseParamsQueryOptions as $i } from "./solvers/force-close/query.js";
|
|
227
|
+
import { calculatePriceImpact as ea } from "./solvers/estimated-price/price-impact.js";
|
|
228
|
+
import { getEstimatedPriceQueryKey as ta, getEstimatedPriceQueryOptions as na } from "./solvers/estimated-price/query.js";
|
|
229
|
+
import { supportsEstimatedPrice as ra } from "./solvers/estimated-price/supports-estimated-price.js";
|
|
230
|
+
import { toMarketFundingInfo as ia } from "./solvers/funding-info/to-funding-info.js";
|
|
231
|
+
import { getFundingInfo as aa } from "./solvers/funding-info/get-funding-info.js";
|
|
232
|
+
import { projectFundingRate as oa } from "./solvers/funding-info/project-funding-rate.js";
|
|
233
|
+
import { getFundingInfoQueryKey as sa, getFundingInfoQueryOptions as ca } from "./solvers/funding-info/query.js";
|
|
234
|
+
import { toRevenueRecord as la } from "./solvers/revenue-records/to-revenue-record.js";
|
|
235
|
+
import { getRevenueRecords as ua } from "./solvers/revenue-records/get-revenue-records.js";
|
|
236
|
+
import { getRevenueRecordsQueryKey as da, getRevenueRecordsQueryOptions as fa } from "./solvers/revenue-records/query.js";
|
|
237
|
+
import { toSolverSymbols as pa } from "./solvers/symbols/to-solver-symbol.js";
|
|
238
|
+
import { getSymbols as ma } from "./solvers/symbols/get-symbols.js";
|
|
239
|
+
import { getSymbolsQueryKey as ha, getSymbolsQueryOptions as ga } from "./solvers/symbols/query.js";
|
|
240
|
+
import { toSolverDailyVolume as _a } from "./solvers/trade-volume/to-daily-volume.js";
|
|
241
|
+
import { getTradeVolume as va } from "./solvers/trade-volume/get-trade-volume.js";
|
|
242
|
+
import { getTradeVolumeQueryKey as ya, getTradeVolumeQueryOptions as ba } from "./solvers/trade-volume/query.js";
|
|
243
|
+
import { getErrorMessage as xa } from "./solvers/get-error-message/get-error-message.js";
|
|
244
|
+
import { getErrorMessageQueryKey as Sa, getErrorMessageQueryOptions as Ca } from "./solvers/get-error-message/query.js";
|
|
245
|
+
import { getPartyAUpnl as wa } from "./solvers/get-party-a-upnl/get-party-a-upnl.js";
|
|
246
|
+
import { getPartyAUpnlQueryKey as Ta, getPartyAUpnlQueryOptions as Ea } from "./solvers/get-party-a-upnl/query.js";
|
|
247
|
+
import { getSolverBalanceInfo as Da } from "./solvers/get-solver-balance-info/get-solver-balance-info.js";
|
|
248
|
+
import { getSolverBalanceInfoQueryKey as Oa, getSolverBalanceInfoQueryOptions as ka } from "./solvers/get-solver-balance-info/query.js";
|
|
249
|
+
import { getSolverOpenInterest as Aa } from "./solvers/get-solver-open-interest/get-solver-open-interest.js";
|
|
250
|
+
import { getSolverOpenInterestQueryKey as ja, getSolverOpenInterestQueryOptions as Ma } from "./solvers/get-solver-open-interest/query.js";
|
|
251
|
+
import { getSolverPriceRange as Na } from "./solvers/get-solver-price-range/get-solver-price-range.js";
|
|
252
|
+
import { getSolverPriceRangeQueryKey as Pa, getSolverPriceRangeQueryOptions as Fa } from "./solvers/get-solver-price-range/query.js";
|
|
253
|
+
import { getSolverReadiness as Ia } from "./solvers/get-solver-readiness/get-solver-readiness.js";
|
|
254
|
+
import { getSolverReadinessQueryKey as La, getSolverReadinessQueryOptions as Ra } from "./solvers/get-solver-readiness/query.js";
|
|
255
|
+
import { getMarketInfo as za } from "./solvers/market-info/get-market-info.js";
|
|
256
|
+
import { getMarketInfoQueryKey as Ba, getMarketInfoQueryOptions as Va } from "./solvers/market-info/query.js";
|
|
257
|
+
import { getLockedParamsQueryKey as Ha, getLockedParamsQueryOptions as Ua } from "./solvers/locked-params/query.js";
|
|
258
|
+
import { checkNotionalCap as Wa } from "./solvers/notional-cap/check-notional-cap.js";
|
|
259
|
+
import { getNotionalCapAll as Ga } from "./solvers/notional-cap/get-notional-cap-all.js";
|
|
260
|
+
import { getNotionalCapBySymbolId as Ka } from "./solvers/notional-cap/get-notional-cap-by-symbol-id.js";
|
|
261
|
+
import { getOpenInterestBySymbolId as qa } from "./solvers/notional-cap/get-open-interest-by-symbol-id.js";
|
|
262
|
+
import { getNotionalCapBySymbolIdQueryKey as Ja, getNotionalCapBySymbolIdQueryOptions as Ya } from "./solvers/notional-cap/query.js";
|
|
263
|
+
import { getNotionalCapAllQueryKey as Xa, getNotionalCapAllQueryOptions as Za } from "./solvers/notional-cap/query-all.js";
|
|
264
|
+
import { getOpenInterestBySymbolIdQueryKey as Qa, getOpenInterestBySymbolIdQueryOptions as $a } from "./solvers/notional-cap/query-open-interest.js";
|
|
265
|
+
import { getSolverErrorCodes as eo } from "./solvers/error-codes/get-solver-error-codes.js";
|
|
266
|
+
import { getSolverErrorCodesQueryKey as to, getSolverErrorCodesQueryOptions as no } from "./solvers/error-codes/query.js";
|
|
267
|
+
import { getDeallocateUpnlSigQueryKey as ro, getDeallocateUpnlSigQueryOptions as io } from "./muon/deallocate-upnl-sig/query.js";
|
|
268
|
+
import { getForceClosePriceSigQueryKey as ao, getForceClosePriceSigQueryOptions as oo } from "./muon/force-close-price-sig/query.js";
|
|
269
|
+
import { getMuonPartyAOverview as so } from "./muon/party-a-overview/get-muon-party-a-overview.js";
|
|
270
|
+
import { getMuonPartyAOverviewQueryKey as co, getMuonPartyAOverviewQueryOptions as lo } from "./muon/party-a-overview/query.js";
|
|
271
|
+
import { getMuonPrice as uo } from "./muon/price/get-muon-price.js";
|
|
272
|
+
import { getMuonPriceQueryKey as fo, getMuonPriceQueryOptions as po } from "./muon/price/query.js";
|
|
273
|
+
import { getMuonPriceRange as mo } from "./muon/price-range/get-muon-price-range.js";
|
|
274
|
+
import { getMuonPriceRangeQueryKey as ho, getMuonPriceRangeQueryOptions as go } from "./muon/price-range/query.js";
|
|
275
|
+
import { getMuonSettleUpnl as _o } from "./muon/settle-upnl/get-muon-settle-upnl.js";
|
|
276
|
+
import { getMuonSettleUpnlQueryKey as vo, getMuonSettleUpnlQueryOptions as yo } from "./muon/settle-upnl/query.js";
|
|
277
|
+
import { getMuonUpnl as bo } from "./muon/upnl/get-muon-upnl.js";
|
|
278
|
+
import { getMuonUpnlQueryKey as xo, getMuonUpnlQueryOptions as So } from "./muon/upnl/query.js";
|
|
279
|
+
import { getMuonUpnlA as Co } from "./muon/upnl-a/get-muon-upnl-a.js";
|
|
280
|
+
import { getMuonUpnlAQueryKey as wo, getMuonUpnlAQueryOptions as To } from "./muon/upnl-a/query.js";
|
|
281
|
+
import { getMuonUpnlAWithSymbolPrice as Eo } from "./muon/upnl-a-with-symbol-price/get-muon-upnl-a-with-symbol-price.js";
|
|
282
|
+
import { getMuonUpnlAWithSymbolPriceQueryKey as Do, getMuonUpnlAWithSymbolPriceQueryOptions as Oo } from "./muon/upnl-a-with-symbol-price/query.js";
|
|
283
|
+
import { getMuonUpnlB as ko } from "./muon/upnl-b/get-muon-upnl-b.js";
|
|
284
|
+
import { getMuonUpnlBQueryKey as Ao, getMuonUpnlBQueryOptions as jo } from "./muon/upnl-b/query.js";
|
|
285
|
+
import { getMuonUpnlWithSymbolPrice as Mo } from "./muon/upnl-with-symbol-price/get-muon-upnl-with-symbol-price.js";
|
|
286
|
+
import { getMuonUpnlWithSymbolPriceQueryKey as No, getMuonUpnlWithSymbolPriceQueryOptions as Po } from "./muon/upnl-with-symbol-price/query.js";
|
|
287
|
+
import { sharePercent as Fo } from "./shared/utils/percent.js";
|
|
288
|
+
import { getInstantOpenFees as Io } from "./solvers/instant-open/get-instant-open-fees/get-instant-open-fees.js";
|
|
289
|
+
import { getInstantOpenFeesQueryKey as Lo, getInstantOpenFeesQueryOptions as Ro } from "./solvers/instant-open/get-instant-open-fees/query.js";
|
|
290
|
+
import { getInstantOpenQuoteId as zo } from "./solvers/instant-open/get-instant-open-quote-id/get-instant-open-quote-id.js";
|
|
291
|
+
import { getInstantOpenQuoteIdQueryKey as Bo, getInstantOpenQuoteIdQueryOptions as Vo } from "./solvers/instant-open/get-instant-open-quote-id/query.js";
|
|
292
|
+
import { getInstantOpens as Ho } from "./solvers/instant-open/get-instant-opens/get-instant-opens.js";
|
|
293
|
+
import { getInstantOpensQueryKey as Uo, getInstantOpensQueryOptions as Wo } from "./solvers/instant-open/get-instant-opens/query.js";
|
|
294
|
+
import { instantOpenAuto as Go } from "./solvers/instant-open/instant-open-auto/instant-open-auto.js";
|
|
295
|
+
import { instantOpenAutoMutationOptions as Ko } from "./solvers/instant-open/instant-open-auto/query.js";
|
|
296
|
+
import { validateInstantOpenAgainstMarket as qo } from "./solvers/instant-open/shared/quote-constraints.js";
|
|
297
|
+
import { ADD_MARGIN_TO_NEXT_VA_SELECTOR as Jo, INSTANT_TRADE_REQUIRED_SELECTORS as Yo, LEGACY_INSTANT_TRADE_REQUIRED_SELECTORS as Xo, REQUEST_TO_CLOSE_POSITION_SELECTOR as Zo, SEND_QUOTE_SELECTOR as Qo, SEND_QUOTE_WITH_AFFILIATE_AND_DATA_SELECTOR as $o, getInstantTradeRequiredSelectors as es } from "./solvers/instant-open/shared/selectors.js";
|
|
298
|
+
import { toPendingInstantClose as ts } from "./solvers/instant-close/get-instant-closes/to-pending-instant-close.js";
|
|
299
|
+
import { getInstantCloses as ns } from "./solvers/instant-close/get-instant-closes/get-instant-closes.js";
|
|
300
|
+
import { getInstantClosesQueryKey as rs, getInstantClosesQueryOptions as is } from "./solvers/instant-close/get-instant-closes/query.js";
|
|
301
|
+
import { instantCloseMutationOptions as as } from "./solvers/instant-close/instant-close/query.js";
|
|
302
|
+
import { instantCloseAuto as os } from "./solvers/instant-close/instant-close-auto/instant-close-auto.js";
|
|
303
|
+
import { instantCloseAutoMutationOptions as ss } from "./solvers/instant-close/instant-close-auto/query.js";
|
|
304
|
+
import { MAX_INSTANT_CLOSE_BULK_ORDERS as cs, instantCloseBulk as ls } from "./solvers/instant-close/instant-close-bulk/instant-close-bulk.js";
|
|
305
|
+
import { instantCloseBulkMutationOptions as us } from "./solvers/instant-close/instant-close-bulk/query.js";
|
|
306
|
+
import { instantCloseBulkAuto as ds } from "./solvers/instant-close/instant-close-bulk-auto/instant-close-bulk-auto.js";
|
|
307
|
+
import { instantCloseBulkAutoMutationOptions as fs } from "./solvers/instant-close/instant-close-bulk-auto/query.js";
|
|
308
|
+
import { validateInstantCloseAgainstMarket as ps } from "./solvers/instant-close/shared/quote-constraints.js";
|
|
309
|
+
import { QuoteLifecycle as ms } from "./quotes/unified-quote.js";
|
|
310
|
+
import { applyNotificationToQuotes as hs, classifyQuoteNotificationAction as gs, isCancelAction as _s, isCloseFillAction as vs, isOpenAnchorAction as ys } from "./quotes/apply-notification.js";
|
|
311
|
+
import { minRemainingQuantityOf as bs } from "./quotes/close-planning/min-remaining-quantity.js";
|
|
312
|
+
import { planGroupClose as xs } from "./quotes/close-planning/plan-group-close/plan-group-close.js";
|
|
313
|
+
import { toGroupCloseCandidates as Ss } from "./quotes/close-planning/to-close-candidates.js";
|
|
314
|
+
import { calculateClosePlatformFee as Cs } from "./quotes/fees/calculate-close-platform-fee.js";
|
|
315
|
+
import { calculateOpenPlatformFee as ws } from "./quotes/fees/calculate-open-platform-fee.js";
|
|
316
|
+
import { fingerprintQuote as Ts } from "./quotes/fingerprint.js";
|
|
317
|
+
import { querySubgraph as Es } from "./symmio-subgraph/query-subgraph/query-subgraph.js";
|
|
318
|
+
import { getQuerySubgraphQueryKey as Ds, querySubgraphQueryOptions as Os } from "./symmio-subgraph/query-subgraph/query.js";
|
|
319
|
+
import { toQuoteEventRow as ks } from "./quotes/get-quote-events-by-type/to-quote-event-row.js";
|
|
320
|
+
import { DEFAULT_QUOTE_EVENTS_BY_TYPE_PAGE_SIZE as As, getQuoteEventsByType as js } from "./quotes/get-quote-events-by-type/get-quote-events-by-type.js";
|
|
321
|
+
import { getQuoteEventsByTypeQueryKey as Ms, getQuoteEventsByTypeQueryOptions as Ns } from "./quotes/get-quote-events-by-type/query.js";
|
|
322
|
+
import { FUNDING_HISTORY_EVENT_TYPES as Ps, PRICE_HISTORY_EVENT_TYPES as Fs, QuoteEventType as Is } from "./quotes/get-quote-events-by-type/types.js";
|
|
323
|
+
import { toQuoteFundingRow as Ls } from "./quotes/get-quote-funding/to-funding-row.js";
|
|
324
|
+
import { QUOTES_FUNDING_MAX_IDS_PER_REQUEST as Rs, getQuoteFunding as zs } from "./quotes/get-quote-funding/get-quote-funding.js";
|
|
325
|
+
import { getQuoteFundingQueryKey as Bs, getQuoteFundingQueryOptions as Vs } from "./quotes/get-quote-funding/query.js";
|
|
326
|
+
import { QuoteCloseEventType as Hs, QuoteCloseType as Us } from "./quotes/get-quote-history/types.js";
|
|
327
|
+
import { closeTypeToEventTypes as Ws, eventTypeToCloseType as Gs, eventTypeToQuoteStatus as Ks } from "./quotes/get-quote-history/close-type.js";
|
|
328
|
+
import { toQuoteHistoryRow as qs } from "./quotes/get-quote-history/to-history-row.js";
|
|
329
|
+
import { getQuoteHistory as Js } from "./quotes/get-quote-history/get-quote-history.js";
|
|
330
|
+
import { getQuoteHistoryQueryKey as Ys, getQuoteHistoryQueryOptions as Xs } from "./quotes/get-quote-history/query.js";
|
|
331
|
+
import { getQuotesEventsByType as Zs } from "./quotes/get-quotes-events-by-type/get-quotes-events-by-type.js";
|
|
332
|
+
import { getQuotesEventsByTypeQueryKey as Qs, getQuotesEventsByTypeQueryOptions as $s } from "./quotes/get-quotes-events-by-type/query.js";
|
|
333
|
+
import { lifecycleFromQuoteStatus as ec, toUnifiedQuoteFromInstantClose as tc, toUnifiedQuoteFromInstantOpen as nc, toUnifiedQuoteFromOnchain as rc } from "./quotes/to-unified-quote.js";
|
|
334
|
+
import { reconcileQuotes as ic } from "./quotes/reconcile-quotes.js";
|
|
335
|
+
import { resolveQuoteAccounts as ac } from "./quotes/resolve-quote-accounts.js";
|
|
336
|
+
import { getSubAccountQuotes as oc } from "./quotes/get-sub-account-quotes/get-sub-account-quotes.js";
|
|
337
|
+
import { getSubAccountQuotesQueryKey as sc, getSubAccountQuotesQueryOptions as cc } from "./quotes/get-sub-account-quotes/query.js";
|
|
338
|
+
import { aggregateGroupFunding as lc } from "./quotes/grouping/aggregate-group-funding.js";
|
|
339
|
+
import { isActivePosition as uc, isPendingOrder as dc, partitionQuotes as fc } from "./quotes/grouping/partition-quotes.js";
|
|
340
|
+
import { aggregateGroupUpnl as pc } from "./quotes/grouping/aggregate-group-upnl.js";
|
|
341
|
+
import { aggregateGroupMetrics as mc } from "./quotes/grouping/aggregate-metrics.js";
|
|
342
|
+
import { assertQuoteGroupingSupported as hc, keyQuoteByMarket as gc, keyQuotePerQuote as _c, resolveQuoteGroupingStrategy as vc, supportsQuoteGrouping as yc } from "./quotes/grouping/group-strategy.js";
|
|
343
|
+
import { groupQuotes as bc } from "./quotes/grouping/group-quotes.js";
|
|
344
|
+
import { calculateLiquidationPrice as xc } from "./quotes/liquidation/calculate-liquidation-price.js";
|
|
345
|
+
import { shouldAccelerateOnchainReads as Sc, shouldAccelerateQuotePolling as Cc } from "./quotes/should-accelerate.js";
|
|
346
|
+
import { calculateQuoteLeverage as wc } from "./quotes/upnl/calculate-quote-leverage.js";
|
|
347
|
+
import { calculateQuotePnl as Tc } from "./quotes/upnl/calculate-quote-pnl.js";
|
|
348
|
+
import { calculateQuoteUpnl as Ec } from "./quotes/upnl/calculate-quote-upnl.js";
|
|
349
|
+
import { calculateQuoteUpnlWei as Dc } from "./quotes/upnl/calculate-quote-upnl-wei.js";
|
|
350
|
+
import { calculateMarginRisk as Oc } from "./margin/calculate-margin-risk.js";
|
|
351
|
+
import { getTpSlConfig as kc } from "./tpsl/config/get-tpsl-config.js";
|
|
352
|
+
import { getTpSlConfigQueryKey as Ac, getTpSlConfigQueryOptions as jc } from "./tpsl/config/query.js";
|
|
353
|
+
import { ZERO_LEG as Mc, buildConditionalOrderMessage as Nc, buildTpSlDeleteMessage as Pc, generateTpSlSalt as Fc, toSignableTpSlMessage as Ic } from "./tpsl/set-quote-tpsl/build-conditional-order-message.js";
|
|
354
|
+
import { signTpSlRequest as Lc } from "./tpsl/set-quote-tpsl/sign-tpsl-request.js";
|
|
355
|
+
import { getTpSlDeleteSigningSpec as Rc } from "./tpsl/signing-spec/get-tpsl-delete-signing-spec.js";
|
|
356
|
+
import { deleteQuoteTpSl as zc } from "./tpsl/delete-quote-tpsl/delete-quote-tpsl.js";
|
|
357
|
+
import { deleteQuoteTpSlMutationOptions as Bc } from "./tpsl/delete-quote-tpsl/query.js";
|
|
358
|
+
import { getQuoteTpSl as Vc } from "./tpsl/get-quote-tpsl/get-quote-tpsl.js";
|
|
359
|
+
import { getQuoteTpSlQueryKey as Hc, getQuoteTpSlQueryOptions as Uc } from "./tpsl/get-quote-tpsl/query.js";
|
|
360
|
+
import { childNotional as Wc, triggerPriceToWei as Gc } from "./tpsl/grouping/notional.js";
|
|
361
|
+
import { GROUP_TPSL_SIDES as Kc, resolveChildSide as qc } from "./tpsl/grouping/resolve-child-side.js";
|
|
362
|
+
import { estimateGroupTpSlReturn as Jc } from "./tpsl/grouping/estimate-group-tpsl-return.js";
|
|
363
|
+
import { validateTpSl as Yc } from "./tpsl/validate-tpsl.js";
|
|
364
|
+
import { planGroupTpSl as Xc } from "./tpsl/grouping/plan-group-tpsl/plan-group-tpsl.js";
|
|
365
|
+
import { planGroupTpSlDelete as Zc } from "./tpsl/grouping/plan-group-tpsl-delete.js";
|
|
366
|
+
import { summarizeQuoteGroupTpSl as Qc } from "./tpsl/grouping/summarize-group-tpsl.js";
|
|
367
|
+
import { toGroupTpSlChildren as $c } from "./tpsl/grouping/to-group-tpsl-children.js";
|
|
368
|
+
import { toGroupTpSlOrders as el } from "./tpsl/grouping/to-group-tpsl-orders.js";
|
|
369
|
+
import { TPSL_LIVE_ORDER_STATES as tl, searchTpSlOrders as nl } from "./tpsl/search-tpsl-orders/search-tpsl-orders.js";
|
|
370
|
+
import { searchTpSlOrdersQueryKey as rl, searchTpSlOrdersQueryOptions as il } from "./tpsl/search-tpsl-orders/query.js";
|
|
371
|
+
import { buildConditionalOrderLeg as al } from "./tpsl/set-quote-tpsl/build-conditional-order-leg.js";
|
|
372
|
+
import { getTpSlSigningSpec as ol } from "./tpsl/signing-spec/get-tpsl-signing-spec.js";
|
|
373
|
+
import { DEFAULT_TPSL_SLIPPAGE_LOWCAPS as sl, priceSlippageCalculation as cl } from "./tpsl/slippage.js";
|
|
374
|
+
import { setQuoteTpSl as ll } from "./tpsl/set-quote-tpsl/set-quote-tpsl.js";
|
|
375
|
+
import { setQuoteTpSlMutationOptions as ul } from "./tpsl/set-quote-tpsl/query.js";
|
|
376
|
+
import { getTpSlDeleteSigningSpecQueryKey as dl, getTpSlDeleteSigningSpecQueryOptions as fl } from "./tpsl/signing-spec/delete-query.js";
|
|
377
|
+
import { getTpSlSigningSpecQueryKey as pl, getTpSlSigningSpecQueryOptions as ml } from "./tpsl/signing-spec/query.js";
|
|
378
|
+
import { supportsTpSl as hl } from "./tpsl/supports-tpsl.js";
|
|
379
|
+
import { TpSlSearchOrderType as gl } from "./tpsl/types.js";
|
|
380
|
+
import { parseTpSlFrame as _l } from "./websocket/tpsl/parse-tpsl-frame.js";
|
|
381
|
+
import { watchTpSlNotifications as vl } from "./websocket/tpsl/watch-tpsl-notifications.js";
|
|
382
|
+
import { BalanceChangeType as yl, BalanceHistoryFilter as bl, MarginTransferType as xl } from "./balance-history/get-balance-history/types.js";
|
|
383
|
+
import { balanceHistoryFilterToTypes as Sl } from "./balance-history/get-balance-history/balance-history-filter.js";
|
|
384
|
+
import { toBalanceHistoryRow as Cl } from "./balance-history/get-balance-history/to-balance-history-row.js";
|
|
385
|
+
import { getBalanceHistory as wl } from "./balance-history/get-balance-history/get-balance-history.js";
|
|
386
|
+
import { getBalanceHistoryQueryKey as Tl, getBalanceHistoryQueryOptions as El } from "./balance-history/get-balance-history/query.js";
|
|
387
|
+
import { toTransferRow as Dl } from "./transfers/get-transfer-history/to-transfer-row.js";
|
|
388
|
+
import { getTransferHistory as Ol } from "./transfers/get-transfer-history/get-transfer-history.js";
|
|
389
|
+
import { getTransferHistoryQueryKey as kl, getTransferHistoryQueryOptions as Al } from "./transfers/get-transfer-history/query.js";
|
|
390
|
+
import { fromTradingViewResolution as jl, toTradingViewResolution as Ml } from "./candles/adapters/tradingview/map-resolution.js";
|
|
391
|
+
import { CANDLE_RESOLUTION_MS as Nl, resolutionToMs as Pl } from "./candles/resolution.js";
|
|
392
|
+
import { toTradingViewDatafeed as Fl } from "./candles/adapters/tradingview/to-tradingview-datafeed.js";
|
|
393
|
+
import { getCandlesQueryKey as Il, getCandlesQueryOptions as Ll } from "./candles/query.js";
|
|
394
|
+
import { getBinanceSupportedResolutions as Rl, toBinanceInterval as zl } from "./candles/sources/binance/map-resolution.js";
|
|
395
|
+
import { watchBinanceKlines as Bl } from "./candles/sources/binance/watch-binance-klines.js";
|
|
396
|
+
import { createBinanceCandleSource as Vl } from "./candles/sources/binance/create-binance-candle-source.js";
|
|
397
|
+
import { countTickDecimals as Hl, roundToTick as Ul, suggestOrderbookTickSizes as Wl } from "./orderbook/tick-size.js";
|
|
398
|
+
import { accumulateOrderbook as Gl, getOrderbookDepthWithin as Kl, getOrderbookSpread as ql, groupOrderbook as Jl } from "./orderbook/aggregate.js";
|
|
399
|
+
import { getOrderbookQueryKey as Yl, getOrderbookQueryOptions as Xl } from "./orderbook/query.js";
|
|
400
|
+
import { BINANCE_DEPTH_DEFAULT_LEVELS as Zl, BINANCE_DEPTH_DEFAULT_LIMIT as Ql, BINANCE_DEPTH_DEFAULT_UPDATE_SPEED as $l, BINANCE_DEPTH_LIMITS as eu, BINANCE_DEPTH_MAX_BUFFERED_EVENTS as tu, BINANCE_DEPTH_PATH as nu, BINANCE_DEPTH_REST_URL as ru, BINANCE_DEPTH_UPDATE_SPEEDS as iu, BINANCE_DEPTH_WS_URL as au, BINANCE_ORDERBOOK_EXCHANGE_INFO_PATH as ou } from "./orderbook/sources/binance/constants.js";
|
|
401
|
+
import { parseBinanceDepthLevel as su, parseBinanceDepthLevels as cu } from "./orderbook/sources/binance/parse-depth.js";
|
|
402
|
+
import { fetchBinanceDepth as lu } from "./orderbook/sources/binance/fetch-binance-depth.js";
|
|
403
|
+
import { fetchBinanceSymbolFilters as uu } from "./orderbook/sources/binance/fetch-binance-symbol-filters.js";
|
|
404
|
+
import { watchBinanceDepth as du } from "./orderbook/sources/binance/watch-binance-depth.js";
|
|
405
|
+
import { createBinanceOrderbookSource as fu } from "./orderbook/sources/binance/create-binance-orderbook-source.js";
|
|
406
|
+
import { walkOrderbook as pu } from "./orderbook/walk.js";
|
|
407
|
+
import { resolveListingService as mu, supportsListingService as hu } from "./pools/resolve-listing.js";
|
|
408
|
+
import { toAddMarketRequest as gu } from "./pools/add-market/to-add-market-request.js";
|
|
409
|
+
import { toCreatedPool as _u } from "./pools/add-market/to-created-pool.js";
|
|
410
|
+
import { addMarket as vu } from "./pools/add-market/add-market.js";
|
|
411
|
+
import { addMarketMutationOptions as yu } from "./pools/add-market/query.js";
|
|
412
|
+
import { toListingAuthToken as bu, toListingSignInMessage as xu } from "./pools/auth/to-siwe.js";
|
|
413
|
+
import { getListingSignInMessage as Su } from "./pools/auth/get-sign-in-message.js";
|
|
414
|
+
import { authenticateListing as Cu } from "./pools/auth/authenticate-listing.js";
|
|
415
|
+
import { authenticateListingMutationOptions as wu } from "./pools/auth/query.js";
|
|
416
|
+
import { toCancelWithdrawResult as Tu } from "./pools/cancel-withdraw/to-cancel-withdraw-result.js";
|
|
417
|
+
import { cancelWithdraw as Eu } from "./pools/cancel-withdraw/cancel-withdraw.js";
|
|
418
|
+
import { cancelWithdrawMutationOptions as Du } from "./pools/cancel-withdraw/query.js";
|
|
419
|
+
import { toClaimRequest as Ou } from "./pools/claim/to-claim-request.js";
|
|
420
|
+
import { LISTING_VALUE_DECIMALS as ku, ListingDepositChainId as Au, ListingMarketStatus as ju, PoolPositionSide as Mu, PoolTransactionStatus as Nu, PoolTransactionType as Pu } from "./pools/types.js";
|
|
421
|
+
import { parseListingValue as Fu, toListingMarket as Iu, toListingMarketPage as Lu, toListingValue as Ru } from "./pools/markets/to-listing-market.js";
|
|
422
|
+
import { toClaimResult as zu } from "./pools/claim/to-claim-result.js";
|
|
423
|
+
import { claimProfit as Bu } from "./pools/claim/claim-profit.js";
|
|
424
|
+
import { claimProfitMutationOptions as Vu } from "./pools/claim/query.js";
|
|
425
|
+
import { toPoolClaim as Hu, toPoolClaimHistoryPage as Uu } from "./pools/claim-history/to-pool-claim.js";
|
|
426
|
+
import { getClaimHistory as Wu } from "./pools/claim-history/get-claim-history.js";
|
|
427
|
+
import { getClaimHistoryQueryKey as Gu, getClaimHistoryQueryOptions as Ku } from "./pools/claim-history/query.js";
|
|
428
|
+
import { toMarketDepositAddress as qu } from "./pools/deposit-address/to-market-deposit-address.js";
|
|
429
|
+
import { getDepositAddress as Ju } from "./pools/deposit-address/get-deposit-address.js";
|
|
430
|
+
import { getDepositAddressQueryKey as Yu, getDepositAddressQueryOptions as Xu } from "./pools/deposit-address/query.js";
|
|
431
|
+
import { toListingConfig as Zu } from "./pools/listing-config/to-listing-config.js";
|
|
432
|
+
import { getListingConfig as Qu } from "./pools/listing-config/get-listing-config.js";
|
|
433
|
+
import { getListingConfigQueryKey as $u, getListingConfigQueryOptions as ed } from "./pools/listing-config/query.js";
|
|
434
|
+
import { toListingStatus as td } from "./pools/listing-status/to-listing-status.js";
|
|
435
|
+
import { getListingStatus as nd } from "./pools/listing-status/get-listing-status.js";
|
|
436
|
+
import { getListingStatusQueryKey as rd, getListingStatusQueryOptions as id } from "./pools/listing-status/query.js";
|
|
437
|
+
import { toListingMarketConfig as ad } from "./pools/market-config/to-listing-market-config.js";
|
|
438
|
+
import { getListingMarketConfig as od } from "./pools/market-config/get-listing-market-config.js";
|
|
439
|
+
import { projectListingMarketConfig as sd } from "./pools/market-config/project-listing-market-config.js";
|
|
440
|
+
import { toUpdateListingMarketConfigRequest as cd } from "./pools/market-config/to-update-listing-market-config-request.js";
|
|
441
|
+
import { updateListingMarketConfig as ld } from "./pools/market-config/update-listing-market-config.js";
|
|
442
|
+
import { getListingMarketConfigQueryKey as ud, getListingMarketConfigQueryOptions as dd, updateListingMarketConfigMutationOptions as fd } from "./pools/market-config/query.js";
|
|
443
|
+
import { LISTING_MARKET_CONFIG_BOUNDS as pd } from "./pools/market-config/types.js";
|
|
444
|
+
import { toListingMarketDetail as md } from "./pools/market-detail/to-listing-market-detail.js";
|
|
445
|
+
import { getListingMarketDetail as hd } from "./pools/market-detail/get-listing-market-detail.js";
|
|
446
|
+
import { getListingMarketDetailQueryKey as gd, getListingMarketDetailQueryOptions as _d } from "./pools/market-detail/query.js";
|
|
447
|
+
import { toPoolPositions as vd } from "./pools/market-detail/to-pool-positions.js";
|
|
448
|
+
import { getListingMarkets as yd } from "./pools/markets/get-listing-markets.js";
|
|
449
|
+
import { getListingMarketsQueryKey as bd, getListingMarketsQueryOptions as xd } from "./pools/markets/query.js";
|
|
450
|
+
import { toUserPoolProfit as Sd } from "./pools/profit/to-user-pool-profit.js";
|
|
451
|
+
import { getUserProfit as Cd } from "./pools/profit/get-user-profit.js";
|
|
452
|
+
import { getUserProfitQueryKey as wd, getUserProfitQueryOptions as Td } from "./pools/profit/query.js";
|
|
453
|
+
import { toPoolQuote as Ed } from "./pools/quotes/to-pool-quote.js";
|
|
454
|
+
import { POOL_OPEN_QUOTE_STATUSES as Dd, POOL_PENDING_QUOTE_STATUSES as Od, getPoolQuotes as kd } from "./pools/quotes/get-pool-quotes.js";
|
|
455
|
+
import { getPoolQuotesQueryKey as Ad, getPoolQuotesQueryOptions as jd } from "./pools/quotes/query.js";
|
|
456
|
+
import { toRefundRequest as Md } from "./pools/refund/to-refund-request.js";
|
|
457
|
+
import { toRefundResult as Nd } from "./pools/refund/to-refund-result.js";
|
|
458
|
+
import { refundMarket as Pd } from "./pools/refund/refund-market.js";
|
|
459
|
+
import { refundMarketMutationOptions as Fd } from "./pools/refund/query.js";
|
|
460
|
+
import { toRetryListingInfo as Id } from "./pools/retry-listing/to-retry-listing-info.js";
|
|
461
|
+
import { getRetryListingInfo as Ld } from "./pools/retry-listing/get-retry-listing-info.js";
|
|
462
|
+
import { toRetryListingResult as Rd } from "./pools/retry-listing/to-retry-listing-result.js";
|
|
463
|
+
import { retryListing as zd } from "./pools/retry-listing/retry-listing.js";
|
|
464
|
+
import { getRetryListingInfoQueryKey as Bd, getRetryListingInfoQueryOptions as Vd, retryListingMutationOptions as Hd } from "./pools/retry-listing/query.js";
|
|
465
|
+
import { toPoolRewardPoint as Ud, toUserPoolRewardChart as Wd } from "./pools/rewards/to-pool-reward-point.js";
|
|
466
|
+
import { getPoolRewardChart as Gd } from "./pools/rewards/get-pool-reward-chart.js";
|
|
467
|
+
import { getPoolTotalReward as Kd } from "./pools/rewards/get-pool-total-reward.js";
|
|
468
|
+
import { getUserRewardChart as qd } from "./pools/rewards/get-user-reward-chart.js";
|
|
469
|
+
import { getUserTotalReward as Jd } from "./pools/rewards/get-user-total-reward.js";
|
|
470
|
+
import { getPoolRewardChartQueryKey as Yd, getPoolRewardChartQueryOptions as Xd, getPoolTotalRewardQueryKey as Zd, getPoolTotalRewardQueryOptions as Qd, getUserRewardChartQueryKey as $d, getUserRewardChartQueryOptions as ef, getUserTotalRewardQueryKey as tf, getUserTotalRewardQueryOptions as nf } from "./pools/rewards/query.js";
|
|
471
|
+
import { getPoolTradeHistory as rf } from "./pools/trade-history/get-pool-trade-history.js";
|
|
472
|
+
import { getPoolTradeHistoryQueryKey as af, getPoolTradeHistoryQueryOptions as of } from "./pools/trade-history/query.js";
|
|
473
|
+
import { toPoolTransaction as sf, toPoolTransactionPage as cf } from "./pools/transactions/to-pool-transaction.js";
|
|
474
|
+
import { getPoolTransactions as lf } from "./pools/transactions/get-pool-transactions.js";
|
|
475
|
+
import { getPoolTransactionsQueryKey as uf, getPoolTransactionsQueryOptions as df } from "./pools/transactions/query.js";
|
|
476
|
+
import { toUserListingMarket as ff, toUserListingMarketPage as pf } from "./pools/user-markets/to-user-listing-market.js";
|
|
477
|
+
import { getUserListingMarkets as mf } from "./pools/user-markets/get-user-listing-markets.js";
|
|
478
|
+
import { getUserListingMarketsQueryKey as hf, getUserListingMarketsQueryOptions as gf } from "./pools/user-markets/query.js";
|
|
479
|
+
import { toUserTransaction as _f, toUserTransactionPage as vf } from "./pools/user-transactions/to-user-transaction.js";
|
|
480
|
+
import { getUserTransactions as yf } from "./pools/user-transactions/get-user-transactions.js";
|
|
481
|
+
import { getUserTransactionsQueryKey as bf, getUserTransactionsQueryOptions as xf } from "./pools/user-transactions/query.js";
|
|
482
|
+
import { toWeeklyListingLimit as Sf } from "./pools/weekly-limit/to-weekly-limit.js";
|
|
483
|
+
import { getWeeklyListingLimit as Cf } from "./pools/weekly-limit/get-weekly-listing-limit.js";
|
|
484
|
+
import { getWeeklyListingLimitQueryKey as wf, getWeeklyListingLimitQueryOptions as Tf } from "./pools/weekly-limit/query.js";
|
|
485
|
+
import { toWithdrawRequest as Ef } from "./pools/withdraw/to-withdraw-request.js";
|
|
486
|
+
import { withdrawLp as Df } from "./pools/withdraw/withdraw-lp.js";
|
|
487
|
+
import { withdrawLpMutationOptions as Of } from "./pools/withdraw/query.js";
|
|
488
|
+
import { toSolverRevenue as kf } from "./solvers/revenue/to-solver-revenue.js";
|
|
489
|
+
import { getSolverRevenue as Af } from "./solvers/revenue/get-solver-revenue.js";
|
|
490
|
+
import { getSolverRevenueQueryKey as jf, getSolverRevenueQueryOptions as Mf } from "./solvers/revenue/query.js";
|
|
491
|
+
import { resolveInventoryService as Nf, supportsInventoryService as Pf } from "./inventory/resolve-inventory.js";
|
|
492
|
+
import { getInventoryTvl as Ff, toInventoryTvl as If } from "./inventory/tvl/get-inventory-tvl.js";
|
|
493
|
+
import { getInventoryTvlQueryKey as Lf, getInventoryTvlQueryOptions as Rf } from "./inventory/tvl/query.js";
|
|
494
|
+
import { toInventoryTvlPoint as zf } from "./inventory/tvl-history/to-inventory-tvl-point.js";
|
|
495
|
+
import { getInventoryTvlHistory as Bf } from "./inventory/tvl-history/get-inventory-tvl-history.js";
|
|
496
|
+
import { getInventoryTvlHistoryQueryKey as Vf, getInventoryTvlHistoryQueryOptions as Hf } from "./inventory/tvl-history/query.js";
|
|
497
|
+
import { INVENTORY_VALUE_DECIMALS as Uf } from "./inventory/types.js";
|
|
498
|
+
export { Jo as ADD_MARGIN_TO_NEXT_VA_SELECTOR, qn as ActionStatus, Me as AffiliateState, Zl as BINANCE_DEPTH_DEFAULT_LEVELS, Ql as BINANCE_DEPTH_DEFAULT_LIMIT, $l as BINANCE_DEPTH_DEFAULT_UPDATE_SPEED, eu as BINANCE_DEPTH_LIMITS, tu as BINANCE_DEPTH_MAX_BUFFERED_EVENTS, nu as BINANCE_DEPTH_PATH, ru as BINANCE_DEPTH_REST_URL, iu as BINANCE_DEPTH_UPDATE_SPEEDS, au as BINANCE_DEPTH_WS_URL, Fi as BINANCE_EXCHANGE_INFO_PATH, Ii as BINANCE_KLINES_PATH, Li as BINANCE_MAX_LIMIT, ou as BINANCE_ORDERBOOK_EXCHANGE_INFO_PATH, Ri as BINANCE_REST_URL, zi as BINANCE_WS_URL, yl as BalanceChangeType, bl as BalanceHistoryFilter, Nl as CANDLE_RESOLUTION_MS, As as DEFAULT_QUOTE_EVENTS_BY_TYPE_PAGE_SIZE, sl as DEFAULT_TPSL_SLIPPAGE_LOWCAPS, Ps as FUNDING_HISTORY_EVENT_TYPES, Kc as GROUP_TPSL_SIDES, zr as INSTANT_LAYER_EIP712_DOMAIN_NAME, Br as INSTANT_LAYER_EIP712_DOMAIN_VERSION, Yo as INSTANT_TRADE_REQUIRED_SELECTORS, Uf as INVENTORY_VALUE_DECIMALS, Xo as LEGACY_INSTANT_TRADE_REQUIRED_SELECTORS, pd as LISTING_MARKET_CONFIG_BOUNDS, ku as LISTING_VALUE_DECIMALS, Au as ListingDepositChainId, ju as ListingMarketStatus, ei as MARKET_ORDER_DEADLINE_SECONDS, cs as MAX_INSTANT_CLOSE_BULK_ORDERS, tt as MUON_APP, nt as MUON_METHOD_PARTY_A_OVERVIEW, rt as MUON_METHOD_PRICE, it as MUON_METHOD_PRICE_RANGE, at as MUON_METHOD_SETTLE_UPNL, ot as MUON_METHOD_UPNL_A, st as MUON_METHOD_UPNL_A_WITH_SYMBOL_PRICE, ct as MUON_METHOD_UPNL_B, lt as MUON_METHOD_UPNL_PAIR, ut as MUON_METHOD_UPNL_WITH_SYMBOL_PRICE, xl as MarginTransferType, Jn as NotificationType, Jr as ORDER_TYPE_MARKET, On as OrderType, Dd as POOL_OPEN_QUOTE_STATUSES, Od as POOL_PENDING_QUOTE_STATUSES, Fs as PRICE_HISTORY_EVENT_TYPES, Mu as PoolPositionSide, Nu as PoolTransactionStatus, Pu as PoolTransactionType, kn as PositionType, Rs as QUOTES_FUNDING_MAX_IDS_PER_REQUEST, Hs as QuoteCloseEventType, Us as QuoteCloseType, Is as QuoteEventType, ms as QuoteLifecycle, An as QuoteStatus, Zo as REQUEST_TO_CLOSE_POSITION_SELECTOR, Qo as SEND_QUOTE_SELECTOR, $o as SEND_QUOTE_WITH_AFFILIATE_AND_DATA_SELECTOR, ti as SHORT_FUNDING_BUFFER_PERCENT, Vr as SIGNED_OPERATION_TYPES, Ne as SubAccountIsolationType, r as SymmApiError, i as SymmError, a as SymmioSupportedChainId, tl as TPSL_LIVE_ORDER_STATES, gl as TpSlSearchOrderType, Yr as VIRTUAL_ACCOUNT_ISOLATION_TYPE, jn as WithdrawStatus, Mc as ZERO_LEG, Ar as ZERO_UPNL_SIG, e as accountLayerAbi, Gl as accumulateOrderbook, p as addMargin, U as addMarginMutationOptions, vu as addMarket, yu as addMarketMutationOptions, lc as aggregateGroupFunding, mc as aggregateGroupMetrics, pc as aggregateGroupUpnl, et as allocate, Vt as allocateMutationOptions, hs as applyNotificationToQuotes, Fe as approveCollateral, Re as approveCollateralMutationOptions, hc as assertQuoteGroupingSupported, Cu as authenticateListing, wu as authenticateListingMutationOptions, Sl as balanceHistoryFilterToTypes, al as buildConditionalOrderLeg, Nc as buildConditionalOrderMessage, jr as buildQuoteMetadata, Qn as buildRasaSubscribeMessage, Wr as buildSignedOperation, Zn as buildSubscribeMessage, Pc as buildTpSlDeleteMessage, H as calculateAvailableForOrder, ni as calculateAvailableInstantOpenMargin, Cs as calculateClosePlatformFee, ki as calculateClosePrice, ri as calculateExpectedSettlementLoss, xc as calculateLiquidationPrice, ii as calculateMargin, Oc as calculateMarginRisk, ws as calculateOpenPlatformFee, ea as calculatePriceImpact, wc as calculateQuoteLeverage, Tc as calculateQuotePnl, Ec as calculateQuoteUpnl, Dc as calculateQuoteUpnlWei, xr as calculateSolverCloseFee, ai as calculateSolverFees, oi as calculateTradeParams, h as cancelRegistration, W as cancelRegistrationMutationOptions, Eu as cancelWithdraw, Du as cancelWithdrawMutationOptions, Ui as checkForceCloseEligibility, Wi as checkForceClosePriceReached, Wa as checkNotionalCap, Wc as childNotional, Bu as claimProfit, Vu as claimProfitMutationOptions, Ai as clampClosePrecision, Yn as classifyNotification, gs as classifyQuoteNotificationAction, Ws as closeTypeToEventTypes, si as computePlatformFee, ci as computePlatformFeeLegs, Hl as countTickDecimals, Vl as createBinanceCandleSource, fu as createBinanceOrderbookSource, zt as createClassicWithdrawPart, u as createConfig, _ as createSubAccounts, G as createSubAccountsMutationOptions, ft as deallocate, pt as deallocateAndInitiateWithdraw, Ut as deallocateAndInitiateWithdrawMutationOptions, Ht as deallocateMutationOptions, pi as decimalPriceToWei, zc as deleteQuoteTpSl, Bc as deleteQuoteTpSlMutationOptions, y as deleteSubAccount, K as deleteSubAccountMutationOptions, x as depositAndAllocateForAccount, q as depositAndAllocateForAccountMutationOptions, C as depositForAccount, J as depositForAccountMutationOptions, gi as deriveAutoSlippage, T as editAccountName, Y as editAccountNameMutationOptions, Mr as encodeAddMarginToNextVA, Ei as encodeRequestToClosePosition, Nr as encodeSendQuote, Pr as encodeSendQuoteWithAffiliateAndData, Jc as estimateGroupTpSlReturn, Gs as eventTypeToCloseType, Ks as eventTypeToQuoteStatus, lu as fetchBinanceDepth, uu as fetchBinanceSymbolFilters, X as filterQueryOptions, ht as finalizeWithdrawRequest, Wt as finalizeWithdrawRequestMutationOptions, Gi as findForceCloseWindow, Ts as fingerprintQuote, gt as forceCancelCloseRequest, Gt as forceCancelCloseRequestMutationOptions, _t as forceCancelQuote, Kt as forceCancelQuoteMutationOptions, Yi as forceCloseAuto, Xi as forceCloseAutoMutationOptions, qi as forceClosePosition, Zi as forceClosePositionMutationOptions, Gr as formatSignedOperationPayload, jl as fromTradingViewResolution, E as generateAccountManagerAddress, Z as generateAccountManagerAddressQueryKey, Q as generateAccountManagerAddressQueryOptions, Kr as generateSalt, Fc as generateTpSlSalt, D as getAccountBalanceInfo, $ as getAccountBalanceInfoQueryKey, ee as getAccountBalanceInfoQueryOptions, O as getAccountBalanceOf, te as getAccountBalanceOfQueryKey, ne as getAccountBalanceOfQueryOptions, k as getAffiliateState, re as getAffiliateStateQueryKey, ie as getAffiliateStateQueryOptions, wl as getBalanceHistory, Tl as getBalanceHistoryQueryKey, El as getBalanceHistoryQueryOptions, or as getBinanceHealth, sr as getBinanceHealthQueryKey, cr as getBinanceHealthQueryOptions, lr as getBinancePremiumIndex, ur as getBinancePremiumIndexQueryKey, dr as getBinancePremiumIndexQueryOptions, Rl as getBinanceSupportedResolutions, fr as getBinanceSymbolsInfo, pr as getBinanceSymbolsInfoQueryKey, mr as getBinanceSymbolsInfoQueryOptions, Il as getCandlesQueryKey, Ll as getCandlesQueryOptions, o as getChainConfig, Wu as getClaimHistory, Gu as getClaimHistoryQueryKey, Ku as getClaimHistoryQueryOptions, Ie as getCollateralAllowance, ze as getCollateralAllowanceQueryKey, Be as getCollateralAllowanceQueryOptions, Le as getCollateralBalance, Ve as getCollateralBalanceQueryKey, He as getCollateralBalanceQueryOptions, vt as getCoolDownsOfMA, qt as getCoolDownsOfMAQueryKey, Jt as getCoolDownsOfMAQueryOptions, dt as getDeallocateUpnlSig, ro as getDeallocateUpnlSigQueryKey, io as getDeallocateUpnlSigQueryOptions, s as getDefaultSolver, We as getDelegationExpiry, Je as getDelegationExpiryQueryKey, Ye as getDelegationExpiryQueryOptions, Ju as getDepositAddress, Yu as getDepositAddressQueryKey, Xu as getDepositAddressQueryOptions, Mn as getEnigmaPriceServiceHealth, Nn as getEnigmaPriceServiceHealthQueryKey, Pn as getEnigmaPriceServiceHealthQueryOptions, Fn as getEnigmaPriceServiceMetadata, In as getEnigmaPriceServiceMetadataQueryKey, Ln as getEnigmaPriceServiceMetadataQueryOptions, Rn as getEnigmaPriceServicePricesByAddresses, zn as getEnigmaPriceServicePricesByAddressesQueryKey, Bn as getEnigmaPriceServicePricesByAddressesQueryOptions, Vn as getEnigmaPriceServicePricesByNames, Hn as getEnigmaPriceServicePricesByNamesQueryKey, Un as getEnigmaPriceServicePricesByNamesQueryOptions, Wn as getEnigmaPriceServiceSymbolsInfo, Gn as getEnigmaPriceServiceSymbolsInfoQueryKey, Kn as getEnigmaPriceServiceSymbolsInfoQueryOptions, xa as getErrorMessage, Sa as getErrorMessageQueryKey, Ca as getErrorMessageQueryOptions, hi as getEstimatedPrice, ta as getEstimatedPriceQueryKey, na as getEstimatedPriceQueryOptions, Fr as getFakeSendQuoteMuonSignature, yt as getFeeForUser, Yt as getFeeForUserQueryKey, Xt as getFeeForUserQueryOptions, Ji as getForceCloseParams, Qi as getForceCloseParamsQueryKey, $i as getForceCloseParamsQueryOptions, Hi as getForceClosePriceSig, ao as getForceClosePriceSigQueryKey, oo as getForceClosePriceSigQueryOptions, aa as getFundingInfo, sa as getFundingInfoQueryKey, ca as getFundingInfoQueryOptions, ns as getInstantCloses, rs as getInstantClosesQueryKey, is as getInstantClosesQueryOptions, Hr as getInstantLayerEip712Domain, Io as getInstantOpenFees, Lo as getInstantOpenFeesQueryKey, Ro as getInstantOpenFeesQueryOptions, zo as getInstantOpenQuoteId, Bo as getInstantOpenQuoteIdQueryKey, Vo as getInstantOpenQuoteIdQueryOptions, Ho as getInstantOpens, Uo as getInstantOpensQueryKey, Wo as getInstantOpensQueryOptions, es as getInstantTradeRequiredSelectors, Ff as getInventoryTvl, Bf as getInventoryTvlHistory, Vf as getInventoryTvlHistoryQueryKey, Hf as getInventoryTvlHistoryQueryOptions, Lf as getInventoryTvlQueryKey, Rf as getInventoryTvlQueryOptions, Ge as getIsDelegationActive, Xe as getIsDelegationActiveQueryKey, Ze as getIsDelegationActiveQueryOptions, bt as getLastWithdrawRequestId, Zt as getLastWithdrawRequestIdQueryKey, Qt as getLastWithdrawRequestIdQueryOptions, Qu as getListingConfig, $u as getListingConfigQueryKey, ed as getListingConfigQueryOptions, od as getListingMarketConfig, ud as getListingMarketConfigQueryKey, dd as getListingMarketConfigQueryOptions, hd as getListingMarketDetail, gd as getListingMarketDetailQueryKey, _d as getListingMarketDetailQueryOptions, yd as getListingMarkets, bd as getListingMarketsQueryKey, xd as getListingMarketsQueryOptions, Su as getListingSignInMessage, nd as getListingStatus, rd as getListingStatusQueryKey, id as getListingStatusQueryOptions, bi as getLockedParams, Ha as getLockedParamsQueryKey, Ua as getLockedParamsQueryOptions, hr as getMarkPrices, gr as getMarkPricesQueryKey, _r as getMarkPricesQueryOptions, za as getMarketInfo, Ba as getMarketInfoQueryKey, Va as getMarketInfoQueryOptions, li as getMarketOrderDeadline, wr as getMarkets, Tr as getMarketsQueryKey, Er as getMarketsQueryOptions, so as getMuonPartyAOverview, co as getMuonPartyAOverviewQueryKey, lo as getMuonPartyAOverviewQueryOptions, uo as getMuonPrice, fo as getMuonPriceQueryKey, po as getMuonPriceQueryOptions, mo as getMuonPriceRange, ho as getMuonPriceRangeQueryKey, go as getMuonPriceRangeQueryOptions, _o as getMuonSettleUpnl, vo as getMuonSettleUpnlQueryKey, yo as getMuonSettleUpnlQueryOptions, bo as getMuonUpnl, Co as getMuonUpnlA, wo as getMuonUpnlAQueryKey, To as getMuonUpnlAQueryOptions, Eo as getMuonUpnlAWithSymbolPrice, Do as getMuonUpnlAWithSymbolPriceQueryKey, Oo as getMuonUpnlAWithSymbolPriceQueryOptions, ko as getMuonUpnlB, Ao as getMuonUpnlBQueryKey, jo as getMuonUpnlBQueryOptions, xo as getMuonUpnlQueryKey, So as getMuonUpnlQueryOptions, Mo as getMuonUpnlWithSymbolPrice, No as getMuonUpnlWithSymbolPriceQueryKey, Po as getMuonUpnlWithSymbolPriceQueryOptions, Ga as getNotionalCapAll, Xa as getNotionalCapAllQueryKey, Za as getNotionalCapAllQueryOptions, Ka as getNotionalCapBySymbolId, Ja as getNotionalCapBySymbolIdQueryKey, Ya as getNotionalCapBySymbolIdQueryOptions, xt as getOnchainContractMarkets, $t as getOnchainContractMarketsQueryKey, en as getOnchainContractMarketsQueryOptions, qa as getOpenInterestBySymbolId, Qa as getOpenInterestBySymbolIdQueryKey, $a as getOpenInterestBySymbolIdQueryOptions, Kl as getOrderbookDepthWithin, Yl as getOrderbookQueryKey, Xl as getOrderbookQueryOptions, ql as getOrderbookSpread, St as getPartyAOpenPositions, tn as getPartyAOpenPositionsQueryKey, nn as getPartyAOpenPositionsQueryOptions, Ct as getPartyAPendingQuotes, rn as getPartyAPendingQuotesQueryKey, an as getPartyAPendingQuotesQueryOptions, wa as getPartyAUpnl, Ta as getPartyAUpnlQueryKey, Ea as getPartyAUpnlQueryOptions, wt as getPendingQuotes, on as getPendingQuotesQueryKey, sn as getPendingQuotesQueryOptions, Tt as getPendingWithdrawRequests, cn as getPendingWithdrawRequestsQueryKey, ln as getPendingWithdrawRequestsQueryOptions, kd as getPoolQuotes, Ad as getPoolQuotesQueryKey, jd as getPoolQuotesQueryOptions, Gd as getPoolRewardChart, Yd as getPoolRewardChartQueryKey, Xd as getPoolRewardChartQueryOptions, Kd as getPoolTotalReward, Zd as getPoolTotalRewardQueryKey, Qd as getPoolTotalRewardQueryOptions, rf as getPoolTradeHistory, af as getPoolTradeHistoryQueryKey, of as getPoolTradeHistoryQueryOptions, lf as getPoolTransactions, uf as getPoolTransactionsQueryKey, df as getPoolTransactionsQueryOptions, L as getPredictedNextVirtualAccount, ye as getPredictedNextVirtualAccountQueryKey, be as getPredictedNextVirtualAccountQueryOptions, Ds as getQuerySubgraphQueryKey, Et as getQuote, js as getQuoteEventsByType, Ms as getQuoteEventsByTypeQueryKey, Ns as getQuoteEventsByTypeQueryOptions, zs as getQuoteFunding, Bs as getQuoteFundingQueryKey, Vs as getQuoteFundingQueryOptions, Js as getQuoteHistory, Ys as getQuoteHistoryQueryKey, Xs as getQuoteHistoryQueryOptions, un as getQuoteQueryKey, dn as getQuoteQueryOptions, Vc as getQuoteTpSl, Hc as getQuoteTpSlQueryKey, Uc as getQuoteTpSlQueryOptions, Zs as getQuotesEventsByType, Qs as getQuotesEventsByTypeQueryKey, $s as getQuotesEventsByTypeQueryOptions, Ld as getRetryListingInfo, Bd as getRetryListingInfoQueryKey, Vd as getRetryListingInfoQueryOptions, ua as getRevenueRecords, da as getRevenueRecordsQueryKey, fa as getRevenueRecordsQueryOptions, Zr as getSendQuoteUpnlSig, Qr as getSendQuoteUpnlSigQueryKey, $r as getSendQuoteUpnlSigQueryOptions, Da as getSolverBalanceInfo, Oa as getSolverBalanceInfoQueryKey, ka as getSolverBalanceInfoQueryOptions, Dr as getSolverCapabilities, Sr as getSolverCloseFeeRate, eo as getSolverErrorCodes, to as getSolverErrorCodesQueryKey, no as getSolverErrorCodesQueryOptions, Aa as getSolverOpenInterest, ja as getSolverOpenInterestQueryKey, Ma as getSolverOpenInterestQueryOptions, Na as getSolverPriceRange, Pa as getSolverPriceRangeQueryKey, Fa as getSolverPriceRangeQueryOptions, Ia as getSolverReadiness, La as getSolverReadinessQueryKey, Ra as getSolverReadinessQueryOptions, Af as getSolverRevenue, jf as getSolverRevenueQueryKey, Mf as getSolverRevenueQueryOptions, A as getSubAccount, ae as getSubAccountQueryKey, oe as getSubAccountQueryOptions, oc as getSubAccountQuotes, sc as getSubAccountQuotesQueryKey, cc as getSubAccountQuotesQueryOptions, j as getSubAccountVirtualNonce, se as getSubAccountVirtualNonceQueryKey, ce as getSubAccountVirtualNonceQueryOptions, M as getSubAccountsCountOfUser, le as getSubAccountsCountOfUserQueryKey, ue as getSubAccountsCountOfUserQueryOptions, ma as getSymbols, ha as getSymbolsQueryKey, ga as getSymbolsQueryOptions, kc as getTpSlConfig, Ac as getTpSlConfigQueryKey, jc as getTpSlConfigQueryOptions, Rc as getTpSlDeleteSigningSpec, dl as getTpSlDeleteSigningSpecQueryKey, fl as getTpSlDeleteSigningSpecQueryOptions, ol as getTpSlSigningSpec, pl as getTpSlSigningSpecQueryKey, ml as getTpSlSigningSpecQueryOptions, va as getTradeVolume, ya as getTradeVolumeQueryKey, ba as getTradeVolumeQueryOptions, Ol as getTransferHistory, kl as getTransferHistoryQueryKey, Al as getTransferHistoryQueryOptions, mf as getUserListingMarkets, hf as getUserListingMarketsQueryKey, gf as getUserListingMarketsQueryOptions, Cd as getUserProfit, wd as getUserProfitQueryKey, Td as getUserProfitQueryOptions, qd as getUserRewardChart, $d as getUserRewardChartQueryKey, ef as getUserRewardChartQueryOptions, N as getUserSubAccounts, P as getUserSubAccountsAddresses, pe as getUserSubAccountsAddressesQueryKey, me as getUserSubAccountsAddressesQueryOptions, de as getUserSubAccountsQueryKey, fe as getUserSubAccountsQueryOptions, Jd as getUserTotalReward, tf as getUserTotalRewardQueryKey, nf as getUserTotalRewardQueryOptions, yf as getUserTransactions, bf as getUserTransactionsQueryKey, xf as getUserTransactionsQueryOptions, F as getVirtualAccount, he as getVirtualAccountQueryKey, ge as getVirtualAccountQueryOptions, I as getVirtualAccountsAddressesOfSubAccount, _e as getVirtualAccountsAddressesOfSubAccountQueryKey, ve as getVirtualAccountsAddressesOfSubAccountQueryOptions, Cf as getWeeklyListingLimit, wf as getWeeklyListingLimitQueryKey, Tf as getWeeklyListingLimitQueryOptions, Dt as getWithdrawRequests, fn as getWithdrawRequestsQueryKey, pn as getWithdrawRequestsQueryOptions, Ot as getWithdrawableTime, mn as getWithdrawableTimeQueryKey, hn as getWithdrawableTimeQueryOptions, qe as grantDelegation, Qe as grantDelegationMutationOptions, Jl as groupOrderbook, bc as groupQuotes, kt as initiateWithdraw, gn as initiateWithdrawMutationOptions, Oi as instantClose, os as instantCloseAuto, ss as instantCloseAutoMutationOptions, ls as instantCloseBulk, ds as instantCloseBulkAuto, fs as instantCloseBulkAutoMutationOptions, us as instantCloseBulkMutationOptions, as as instantCloseMutationOptions, t as instantLayerAbi, di as instantOpen, Go as instantOpenAuto, Ko as instantOpenAutoMutationOptions, fi as instantOpenMutationOptions, uc as isActivePosition, _s as isCancelAction, c as isChainSupported, vs as isCloseFillAction, ys as isOpenAnchorAction, dc as isPendingOrder, Xr as isolationTypeForSide, gc as keyQuoteByMarket, _c as keyQuotePerQuote, ec as lifecycleFromQuoteStatus, Ni as limitCloseAuto, Pi as limitCloseAutoMutationOptions, wi as limitOpenAuto, Ti as limitOpenAutoMutationOptions, l as listSupportedChains, bs as minRemainingQuantityOf, Xn as normalizeNotification, su as parseBinanceDepthLevel, cu as parseBinanceDepthLevels, Bi as parseBinanceKline, Vi as parseBinanceKlineEvent, tr as parseBinancePriceFrame, Fu as parseListingValue, $n as parseNotificationFrame, nr as parsePriceFrame, _l as parseTpSlFrame, fc as partitionQuotes, xs as planGroupClose, Xc as planGroupTpSl, Zc as planGroupTpSlDelete, ji as prepareInstantCloseParams, Si as prepareInstantOpenParams, Mi as prepareLimitCloseParams, Ci as prepareLimitOpenParams, Ki as previewForceClosePrice, cl as priceSlippageCalculation, oa as projectFundingRate, sd as projectListingMarketConfig, Es as querySubgraph, Os as querySubgraphQueryOptions, ic as reconcileQuotes, Pd as refundMarket, Fd as refundMarketMutationOptions, z as removeMargin, xe as removeMarginMutationOptions, At as requestCancelWithdraw, _n as requestCancelWithdrawMutationOptions, jt as requestToCancelCloseRequest, vn as requestToCancelCloseRequestMutationOptions, Mt as requestToCancelQuote, yn as requestToCancelQuoteMutationOptions, V as requestToRegisterAffiliate, Se as requestToRegisterAffiliateMutationOptions, Pl as resolutionToMs, qc as resolveChildSide, yi as resolveFeeRates, Nf as resolveInventoryService, mu as resolveListingService, xi as resolveLockedParams, _i as resolveMarkPrice, vi as resolveMarket, ac as resolveQuoteAccounts, vc as resolveQuoteGroupingStrategy, zd as retryListing, Hd as retryListingMutationOptions, Ul as roundToTick, vr as searchNotifications, yr as searchNotificationsQueryKey, br as searchNotificationsQueryOptions, nl as searchTpSlOrders, rl as searchTpSlOrdersQueryKey, il as searchTpSlOrdersQueryOptions, Di as sendInstantClose, Lr as sendInstantOpen, Ir as sendQuoteUpnlSigFlexRange, Rr as sendRasaInstantOpen, ll as setQuoteTpSl, ul as setQuoteTpSlMutationOptions, Fo as sharePercent, Sc as shouldAccelerateOnchainReads, Cc as shouldAccelerateQuotePolling, d as shouldSimulateBeforeWrite, qr as signAndFormatInstantOperation, Ur as signSignedOperation, Lc as signTpSlRequest, f as simulateAddMargin, Ce as simulateAddMarginMutationOptions, Nt as simulateAllocate, bn as simulateAllocateMutationOptions, Pe as simulateApproveCollateral, Ue as simulateApproveCollateralMutationOptions, m as simulateCancelRegistration, we as simulateCancelRegistrationMutationOptions, g as simulateCreateSubAccounts, Te as simulateCreateSubAccountsMutationOptions, Pt as simulateDeallocate, Ft as simulateDeallocateAndInitiateWithdraw, Sn as simulateDeallocateAndInitiateWithdrawMutationOptions, xn as simulateDeallocateMutationOptions, v as simulateDeleteSubAccount, Ee as simulateDeleteSubAccountMutationOptions, b as simulateDepositAndAllocateForAccount, De as simulateDepositAndAllocateForAccountMutationOptions, S as simulateDepositForAccount, Oe as simulateDepositForAccountMutationOptions, w as simulateEditAccountName, ke as simulateEditAccountNameMutationOptions, mt as simulateFinalizeWithdrawRequest, Cn as simulateFinalizeWithdrawRequestMutationOptions, Ke as simulateGrantDelegation, $e as simulateGrantDelegationMutationOptions, It as simulateInitiateWithdraw, wn as simulateInitiateWithdrawMutationOptions, R as simulateRemoveMargin, Ae as simulateRemoveMarginMutationOptions, Lt as simulateRequestCancelWithdraw, Tn as simulateRequestCancelWithdrawMutationOptions, B as simulateRequestToRegisterAffiliate, je as simulateRequestToRegisterAffiliateMutationOptions, Wl as suggestOrderbookTickSizes, Qc as summarizeQuoteGroupTpSl, ra as supportsEstimatedPrice, Or as supportsGroupClose, Pf as supportsInventoryService, kr as supportsLimitOrder, hu as supportsListingService, yc as supportsQuoteGrouping, hl as supportsTpSl, n as symmioAbi, gu as toAddMarketRequest, Cl as toBalanceHistoryRow, zl as toBinanceInterval, Tu as toCancelWithdrawResult, Ou as toClaimRequest, zu as toClaimResult, _u as toCreatedPool, mi as toEstimatedPrice, Ss as toGroupCloseCandidates, $c as toGroupTpSlChildren, el as toGroupTpSlOrders, If as toInventoryTvl, zf as toInventoryTvlPoint, bu as toListingAuthToken, Zu as toListingConfig, Iu as toListingMarket, ad as toListingMarketConfig, md as toListingMarketDetail, Lu as toListingMarketPage, xu as toListingSignInMessage, td as toListingStatus, Ru as toListingValue, qu as toMarketDepositAddress, ia as toMarketFundingInfo, ts as toPendingInstantClose, Hu as toPoolClaim, Uu as toPoolClaimHistoryPage, vd as toPoolPositions, Ed as toPoolQuote, Ud as toPoolRewardPoint, sf as toPoolTransaction, cf as toPoolTransactionPage, ks as toQuoteEventRow, Ls as toQuoteFundingRow, qs as toQuoteHistoryRow, Md as toRefundRequest, Nd as toRefundResult, Id as toRetryListingInfo, Rd as toRetryListingResult, la as toRevenueRecord, Ic as toSignableTpSlMessage, _a as toSolverDailyVolume, kf as toSolverRevenue, pa as toSolverSymbols, Cr as toThresholdSeconds, Fl as toTradingViewDatafeed, Ml as toTradingViewResolution, Dl as toTransferRow, tc as toUnifiedQuoteFromInstantClose, nc as toUnifiedQuoteFromInstantOpen, rc as toUnifiedQuoteFromOnchain, cd as toUpdateListingMarketConfigRequest, ff as toUserListingMarket, pf as toUserListingMarketPage, Sd as toUserPoolProfit, Wd as toUserPoolRewardChart, _f as toUserTransaction, vf as toUserTransactionPage, Sf as toWeeklyListingLimit, ui as toWeiBigInt, Ef as toWithdrawRequest, Gc as triggerPriceToWei, ld as updateListingMarketConfig, fd as updateListingMarketConfigMutationOptions, ps as validateInstantCloseAgainstMarket, qo as validateInstantOpenAgainstMarket, Yc as validateTpSl, pu as walkOrderbook, du as watchBinanceDepth, Bl as watchBinanceKlines, rr as watchBinancePrices, ir as watchEnigmaPrices, er as watchNotifications, ar as watchPrices, vl as watchTpSlNotifications, Rt as withdraw, Bt as withdrawAuto, Dn as withdrawAutoMutationOptions, Df as withdrawLp, Of as withdrawLpMutationOptions, En as withdrawMutationOptions };
|