@symmio/trading-core 4.4.0 → 4.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/dist/candles/adapters/tradingview/map-resolution.d.ts.map +1 -1
  2. package/dist/candles/adapters/tradingview/map-resolution.js +2 -0
  3. package/dist/candles/adapters/tradingview/map-resolution.js.map +1 -1
  4. package/dist/candles/adapters/tradingview/to-tradingview-datafeed.d.ts.map +1 -1
  5. package/dist/candles/adapters/tradingview/to-tradingview-datafeed.js +6 -4
  6. package/dist/candles/adapters/tradingview/to-tradingview-datafeed.js.map +1 -1
  7. package/dist/candles/history-query.d.ts +67 -0
  8. package/dist/candles/history-query.d.ts.map +1 -0
  9. package/dist/candles/history-query.js +80 -0
  10. package/dist/candles/history-query.js.map +1 -0
  11. package/dist/candles/index.d.ts +3 -0
  12. package/dist/candles/index.d.ts.map +1 -1
  13. package/dist/candles/merge-candle-pages.d.ts +5 -0
  14. package/dist/candles/merge-candle-pages.d.ts.map +1 -0
  15. package/dist/candles/merge-candle-pages.js +13 -0
  16. package/dist/candles/merge-candle-pages.js.map +1 -0
  17. package/dist/candles/query.d.ts +5 -1
  18. package/dist/candles/query.d.ts.map +1 -1
  19. package/dist/candles/query.js +3 -2
  20. package/dist/candles/query.js.map +1 -1
  21. package/dist/candles/refresh-candle-history.d.ts +31 -0
  22. package/dist/candles/refresh-candle-history.d.ts.map +1 -0
  23. package/dist/candles/refresh-candle-history.js +91 -0
  24. package/dist/candles/refresh-candle-history.js.map +1 -0
  25. package/dist/candles/resolution.d.ts +3 -3
  26. package/dist/candles/resolution.d.ts.map +1 -1
  27. package/dist/candles/resolution.js +1 -0
  28. package/dist/candles/resolution.js.map +1 -1
  29. package/dist/candles/sources/binance/create-binance-candle-source.d.ts.map +1 -1
  30. package/dist/candles/sources/binance/create-binance-candle-source.js +3 -1
  31. package/dist/candles/sources/binance/create-binance-candle-source.js.map +1 -1
  32. package/dist/candles/sources/lowcap/create-lowcap-candle-source.d.ts +35 -0
  33. package/dist/candles/sources/lowcap/create-lowcap-candle-source.d.ts.map +1 -0
  34. package/dist/candles/sources/lowcap/create-lowcap-candle-source.js +104 -0
  35. package/dist/candles/sources/lowcap/create-lowcap-candle-source.js.map +1 -0
  36. package/dist/candles/sources/lowcap/create-lowcap-symbol-loader.d.ts +4 -0
  37. package/dist/candles/sources/lowcap/create-lowcap-symbol-loader.d.ts.map +1 -0
  38. package/dist/candles/sources/lowcap/create-lowcap-symbol-loader.js +40 -0
  39. package/dist/candles/sources/lowcap/create-lowcap-symbol-loader.js.map +1 -0
  40. package/dist/candles/sources/lowcap/get-lowcap-candles.d.ts +12 -0
  41. package/dist/candles/sources/lowcap/get-lowcap-candles.d.ts.map +1 -0
  42. package/dist/candles/sources/lowcap/get-lowcap-candles.js +48 -0
  43. package/dist/candles/sources/lowcap/get-lowcap-candles.js.map +1 -0
  44. package/dist/candles/sources/lowcap/index.d.ts +2 -0
  45. package/dist/candles/sources/lowcap/index.d.ts.map +1 -0
  46. package/dist/candles/sources/lowcap/lowcap-candle-time.d.ts +9 -0
  47. package/dist/candles/sources/lowcap/lowcap-candle-time.d.ts.map +1 -0
  48. package/dist/candles/sources/lowcap/lowcap-candle-time.js +24 -0
  49. package/dist/candles/sources/lowcap/lowcap-candle-time.js.map +1 -0
  50. package/dist/candles/sources/lowcap/map-resolution.d.ts +16 -0
  51. package/dist/candles/sources/lowcap/map-resolution.d.ts.map +1 -0
  52. package/dist/candles/sources/lowcap/map-resolution.js +26 -0
  53. package/dist/candles/sources/lowcap/map-resolution.js.map +1 -0
  54. package/dist/candles/sources/lowcap/resolve-lowcap-symbol.d.ts +12 -0
  55. package/dist/candles/sources/lowcap/resolve-lowcap-symbol.d.ts.map +1 -0
  56. package/dist/candles/sources/lowcap/resolve-lowcap-symbol.js +8 -0
  57. package/dist/candles/sources/lowcap/resolve-lowcap-symbol.js.map +1 -0
  58. package/dist/candles/sources/lowcap/watch-lowcap-candles.d.ts +19 -0
  59. package/dist/candles/sources/lowcap/watch-lowcap-candles.d.ts.map +1 -0
  60. package/dist/candles/sources/lowcap/watch-lowcap-candles.js +104 -0
  61. package/dist/candles/sources/lowcap/watch-lowcap-candles.js.map +1 -0
  62. package/dist/candles/types.d.ts +32 -16
  63. package/dist/candles/types.d.ts.map +1 -1
  64. package/dist/gasless/get-gasless-batch-funding/batch-fee-approvals.d.ts +20 -0
  65. package/dist/gasless/get-gasless-batch-funding/batch-fee-approvals.d.ts.map +1 -0
  66. package/dist/gasless/get-gasless-batch-funding/batch-fee-approvals.js +29 -0
  67. package/dist/gasless/get-gasless-batch-funding/batch-fee-approvals.js.map +1 -0
  68. package/dist/gasless/get-gasless-batch-funding/get-gasless-batch-funding.d.ts +43 -0
  69. package/dist/gasless/get-gasless-batch-funding/get-gasless-batch-funding.d.ts.map +1 -0
  70. package/dist/gasless/get-gasless-batch-funding/get-gasless-batch-funding.js +96 -0
  71. package/dist/gasless/get-gasless-batch-funding/get-gasless-batch-funding.js.map +1 -0
  72. package/dist/gasless/get-gasless-batch-funding/index.d.ts +4 -0
  73. package/dist/gasless/get-gasless-batch-funding/index.d.ts.map +1 -0
  74. package/dist/gasless/get-gasless-batch-funding/query.d.ts +31 -0
  75. package/dist/gasless/get-gasless-batch-funding/query.d.ts.map +1 -0
  76. package/dist/gasless/get-gasless-batch-funding/query.js +22 -0
  77. package/dist/gasless/get-gasless-batch-funding/query.js.map +1 -0
  78. package/dist/gasless/get-gasless-batch-funding/types.d.ts +80 -0
  79. package/dist/gasless/get-gasless-batch-funding/types.d.ts.map +1 -0
  80. package/dist/gasless/get-gasless-margin-funding/get-gasless-margin-funding.d.ts +33 -0
  81. package/dist/gasless/get-gasless-margin-funding/get-gasless-margin-funding.d.ts.map +1 -0
  82. package/dist/gasless/get-gasless-margin-funding/get-gasless-margin-funding.js +31 -0
  83. package/dist/gasless/get-gasless-margin-funding/get-gasless-margin-funding.js.map +1 -0
  84. package/dist/gasless/get-gasless-margin-funding/index.d.ts +4 -0
  85. package/dist/gasless/get-gasless-margin-funding/index.d.ts.map +1 -0
  86. package/dist/gasless/get-gasless-margin-funding/query.d.ts +31 -0
  87. package/dist/gasless/get-gasless-margin-funding/query.d.ts.map +1 -0
  88. package/dist/gasless/get-gasless-margin-funding/query.js +22 -0
  89. package/dist/gasless/get-gasless-margin-funding/query.js.map +1 -0
  90. package/dist/gasless/get-gasless-margin-funding/types.d.ts +27 -0
  91. package/dist/gasless/get-gasless-margin-funding/types.d.ts.map +1 -0
  92. package/dist/gasless/index.d.ts +2 -0
  93. package/dist/gasless/index.d.ts.map +1 -1
  94. package/dist/index.d.ts +2 -2
  95. package/dist/index.d.ts.map +1 -1
  96. package/dist/index.js +505 -498
  97. package/dist/pools/listing-config/to-listing-config.d.ts +10 -3
  98. package/dist/pools/listing-config/to-listing-config.d.ts.map +1 -1
  99. package/dist/pools/listing-config/to-listing-config.js +5 -1
  100. package/dist/pools/listing-config/to-listing-config.js.map +1 -1
  101. package/dist/pools/types/generated/listing-backend.d.ts +266 -1
  102. package/dist/pools/types/generated/listing-backend.d.ts.map +1 -1
  103. package/dist/pools/types/generated/listing-backend.js.map +1 -1
  104. package/dist/pools/types.d.ts +7 -0
  105. package/dist/pools/types.d.ts.map +1 -1
  106. package/dist/pools/types.js.map +1 -1
  107. package/dist/price-service/enigma/ohlcv/fetch-enigma-ohlcv.d.ts +39 -0
  108. package/dist/price-service/enigma/ohlcv/fetch-enigma-ohlcv.d.ts.map +1 -0
  109. package/dist/price-service/enigma/ohlcv/fetch-enigma-ohlcv.js +43 -0
  110. package/dist/price-service/enigma/ohlcv/fetch-enigma-ohlcv.js.map +1 -0
  111. package/dist/price-service/enigma/ohlcv/generated/enigma-price-service-ohlcv.d.ts +67 -0
  112. package/dist/price-service/enigma/ohlcv/generated/enigma-price-service-ohlcv.d.ts.map +1 -0
  113. package/dist/price-service/enigma/ohlcv/generated/enigma-price-service-ohlcv.js +15 -0
  114. package/dist/price-service/enigma/ohlcv/generated/enigma-price-service-ohlcv.js.map +1 -0
  115. package/dist/price-service/enigma/ohlcv/parse-enigma-ohlcv.d.ts +21 -0
  116. package/dist/price-service/enigma/ohlcv/parse-enigma-ohlcv.d.ts.map +1 -0
  117. package/dist/price-service/enigma/ohlcv/parse-enigma-ohlcv.js +36 -0
  118. package/dist/price-service/enigma/ohlcv/parse-enigma-ohlcv.js.map +1 -0
  119. package/dist/price-service/enigma/symbols-info/get-enigma-price-service-symbols-info.d.ts +2 -0
  120. package/dist/price-service/enigma/symbols-info/get-enigma-price-service-symbols-info.d.ts.map +1 -1
  121. package/dist/price-service/enigma/symbols-info/get-enigma-price-service-symbols-info.js +12 -8
  122. package/dist/price-service/enigma/symbols-info/get-enigma-price-service-symbols-info.js.map +1 -1
  123. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -179,501 +179,508 @@ import { gaslessWalletExecute as ti } from "./gasless/gasless-wallet-execute/gas
179
179
  import { gaslessWalletExecuteMutationOptions as ni } from "./gasless/gasless-wallet-execute/query.js";
180
180
  import { getGaslessBatchFeeQuote as ri } from "./gasless/get-gasless-batch-fee-quote/get-gasless-batch-fee-quote.js";
181
181
  import { getGaslessBatchFeeQuoteQueryKey as ii, getGaslessBatchFeeQuoteQueryOptions as ai } from "./gasless/get-gasless-batch-fee-quote/query.js";
182
- import { getGaslessWalletCreationFee as oi } from "./gasless/get-gasless-wallet-creation-fee/get-gasless-wallet-creation-fee.js";
183
- import { getGaslessDepositPolicy as si } from "./gasless/get-gasless-deposit-policy/get-gasless-deposit-policy.js";
184
- import { getGaslessDepositPolicyQueryKey as ci, getGaslessDepositPolicyQueryOptions as li } from "./gasless/get-gasless-deposit-policy/query.js";
185
- import { getGaslessFeeQuoteQueryKey as ui, getGaslessFeeQuoteQueryOptions as di } from "./gasless/get-gasless-fee-quote/query.js";
186
- import { getGaslessRequestQueryKey as fi, getGaslessRequestQueryOptions as pi } from "./gasless/get-gasless-request/query.js";
187
- import { getGaslessRequestTransactions as mi } from "./gasless/get-gasless-request-transactions/get-gasless-request-transactions.js";
188
- import { getGaslessRequestTransactionsQueryKey as hi, getGaslessRequestTransactionsQueryOptions as gi } from "./gasless/get-gasless-request-transactions/query.js";
189
- import { getGaslessWalletAddressQueryKey as _i, getGaslessWalletAddressQueryOptions as vi } from "./gasless/get-gasless-wallet-address/query.js";
190
- import { getGaslessWalletCreationFeeQueryKey as yi, getGaslessWalletCreationFeeQueryOptions as bi } from "./gasless/get-gasless-wallet-creation-fee/query.js";
191
- import { getGaslessWalletNonceQueryKey as xi, getGaslessWalletNonceQueryOptions as Si } from "./gasless/get-gasless-wallet-nonce/query.js";
192
- import { ADD_MARGIN_TO_NEXT_VA_SELECTOR as Ci, INSTANT_TRADE_REQUIRED_SELECTORS as wi, LEGACY_INSTANT_TRADE_REQUIRED_SELECTORS as Ti, REQUEST_TO_CLOSE_POSITION_SELECTOR as Ei, SEND_QUOTE_SELECTOR as Di, SEND_QUOTE_WITH_AFFILIATE_AND_DATA_SELECTOR as Oi, getInstantTradeRequiredSelectors as ki } from "./solvers/instant-open/shared/selectors.js";
193
- import { getSessionKeySelectors as Ai } from "./gasless/get-session-key-selectors.js";
194
- import { isNewerGaslessRequest as ji } from "./gasless/is-newer-gasless-request.js";
195
- import { relayGaslessBatch as Mi } from "./gasless/relay-gasless-batch/relay-gasless-batch.js";
196
- import { relayGaslessBatchMutationOptions as Ni } from "./gasless/relay-gasless-batch/query.js";
197
- import { relayGrantDelegation as Pi } from "./gasless/relay-grant-delegation/relay-grant-delegation.js";
198
- import { relayGrantDelegationMutationOptions as Fi } from "./gasless/relay-grant-delegation/query.js";
199
- import { relayInstantOperationsMutationOptions as Ii } from "./gasless/relay-instant-operations/query.js";
200
- import { resubmitGaslessRequest as Li } from "./gasless/resubmit-gasless-request/resubmit-gasless-request.js";
201
- import { resubmitGaslessRequestMutationOptions as Ri } from "./gasless/resubmit-gasless-request/query.js";
202
- import { settleGaslessDepositExistingAccount as zi } from "./gasless/settle-gasless-deposit-existing-account/settle-gasless-deposit-existing-account.js";
203
- import { settleGaslessDepositExistingAccountMutationOptions as Bi } from "./gasless/settle-gasless-deposit-existing-account/query.js";
204
- import { settleGaslessDepositNewAccount as Vi } from "./gasless/settle-gasless-deposit-new-account/settle-gasless-deposit-new-account.js";
205
- import { settleGaslessDepositNewAccountMutationOptions as Hi } from "./gasless/settle-gasless-deposit-new-account/query.js";
206
- import { allocate as Ui } from "./symmio-contracts/symmio/actions/allocate.js";
207
- import { OPERATIONAL_FEE_LIST_PRICE_MULTIPLIER as Wi, approveOperationalFee as Gi } from "./symmio-contracts/symmio/actions/approve-operational-fee.js";
208
- import { approveOperationalFeeAllowance as Ki } from "./symmio-contracts/symmio/actions/approve-operational-fee-allowance.js";
209
- import { MUON_APP as qi, MUON_METHOD_PARTY_A_OVERVIEW as Ji, MUON_METHOD_PRICE as Yi, MUON_METHOD_PRICE_RANGE as Xi, MUON_METHOD_SETTLE_UPNL as Zi, MUON_METHOD_UPNL_A as Qi, MUON_METHOD_UPNL_A_WITH_SYMBOL_PRICE as $i, MUON_METHOD_UPNL_B as ea, MUON_METHOD_UPNL_PAIR as ta, MUON_METHOD_UPNL_WITH_SYMBOL_PRICE as na } from "./muon/types.js";
210
- import { getDeallocateUpnlSig as ra } from "./muon/deallocate-upnl-sig/get-deallocate-upnl-sig.js";
211
- import { deallocate as ia } from "./symmio-contracts/symmio/actions/deallocate.js";
212
- import { deallocateAndInitiateWithdraw as aa } from "./symmio-contracts/symmio/actions/deallocate-and-initiate-withdraw.js";
213
- import { simulateFinalizeWithdrawRequest as oa } from "./symmio-contracts/symmio/actions/simulate-finalize-withdraw-request.js";
214
- import { finalizeWithdrawRequest as sa } from "./symmio-contracts/symmio/actions/finalize-withdraw-request.js";
215
- import { forceCancelCloseRequest as ca } from "./symmio-contracts/symmio/actions/force-cancel-close-request.js";
216
- import { forceCancelQuote as la } from "./symmio-contracts/symmio/actions/force-cancel-quote.js";
217
- import { getCoolDownsOfMA as ua } from "./symmio-contracts/symmio/actions/get-cool-downs-of-ma.js";
218
- import { getFeeForUser as da } from "./symmio-contracts/symmio/actions/get-fee-for-user.js";
219
- import { getLastWithdrawRequestId as fa } from "./symmio-contracts/symmio/actions/get-last-withdraw-request-id.js";
220
- import { getOnchainContractMarkets as pa } from "./symmio-contracts/symmio/actions/get-onchain-contract-markets.js";
221
- import { getOperationalFeeAllowance as ma } from "./symmio-contracts/symmio/actions/get-operational-fee-allowance.js";
222
- import { getPartyAOpenPositions as ha } from "./symmio-contracts/symmio/actions/get-party-a-open-positions.js";
223
- import { getPartyAPendingQuotes as ga } from "./symmio-contracts/symmio/actions/get-party-a-pending-quotes.js";
224
- import { getPendingQuotes as _a } from "./symmio-contracts/symmio/actions/get-pending-quotes.js";
225
- import { getPendingWithdrawRequests as va } from "./symmio-contracts/symmio/actions/get-pending-withdraw-requests.js";
226
- import { getQuote as ya } from "./symmio-contracts/symmio/actions/get-quote.js";
227
- import { getWithdrawRequests as ba } from "./symmio-contracts/symmio/actions/get-withdraw-requests.js";
228
- import { getWithdrawableTime as xa } from "./symmio-contracts/symmio/actions/get-withdrawable-time.js";
229
- import { requestCancelWithdraw as Sa } from "./symmio-contracts/symmio/actions/request-cancel-withdraw.js";
230
- import { requestToCancelCloseRequest as Ca } from "./symmio-contracts/symmio/actions/request-to-cancel-close-request.js";
231
- import { requestToCancelQuote as wa } from "./symmio-contracts/symmio/actions/request-to-cancel-quote.js";
232
- import { simulateAllocate as Ta } from "./symmio-contracts/symmio/actions/simulate-allocate.js";
233
- import { simulateDeallocate as Ea } from "./symmio-contracts/symmio/actions/simulate-deallocate.js";
234
- import { simulateDeallocateAndInitiateWithdraw as Da } from "./symmio-contracts/symmio/actions/simulate-deallocate-and-initiate-withdraw.js";
235
- import { simulateInitiateWithdraw as Oa } from "./symmio-contracts/symmio/actions/simulate-initiate-withdraw.js";
236
- import { simulateRequestCancelWithdraw as ka } from "./symmio-contracts/symmio/actions/simulate-request-cancel-withdraw.js";
237
- import { withdraw as Aa } from "./symmio-contracts/symmio/actions/withdraw.js";
238
- import { collateralToCore18 as ja, core18ToCollateral as Ma } from "./shared/utils/core-units.js";
239
- import { createClassicWithdrawPart as Na } from "./symmio-contracts/symmio/parts.js";
240
- import { withdrawAuto as Pa } from "./symmio-contracts/symmio/actions/withdraw-auto.js";
241
- import { executeAccountCalls as Fa } from "./symmio-contracts/symmio/execute-account-calls/execute-account-calls.js";
242
- import { executeAccountCallsMutationOptions as Ia } from "./symmio-contracts/symmio/execute-account-calls/query.js";
243
- import { getDeallocateDebounceTime as La } from "./symmio-contracts/symmio/get-deallocate-debounce-time/get-deallocate-debounce-time.js";
244
- import { getDeallocateDebounceTimeQueryKey as Ra, getDeallocateDebounceTimeQueryOptions as za } from "./symmio-contracts/symmio/get-deallocate-debounce-time/query.js";
245
- import { getFundingFeesOfPartyB as Ba } from "./symmio-contracts/symmio/get-funding-fees-of-party-b/get-funding-fees-of-party-b.js";
246
- import { getFundingFeesOfPartyBQueryKey as Va, getFundingFeesOfPartyBQueryOptions as Ha } from "./symmio-contracts/symmio/get-funding-fees-of-party-b/query.js";
247
- import { getPartyAOpenPositionsBatch as Ua } from "./symmio-contracts/symmio/get-party-a-open-positions-batch/get-party-a-open-positions-batch.js";
248
- import { getPartyAOpenPositionsBatchQueryKey as Wa, getPartyAOpenPositionsBatchQueryOptions as Ga } from "./symmio-contracts/symmio/get-party-a-open-positions-batch/query.js";
249
- import { getPendingWithdrawRequestsBatch as Ka } from "./symmio-contracts/symmio/get-pending-withdraw-requests-batch/get-pending-withdraw-requests-batch.js";
250
- import { getPendingWithdrawRequestsBatchQueryKey as qa, getPendingWithdrawRequestsBatchQueryOptions as Ja } from "./symmio-contracts/symmio/get-pending-withdraw-requests-batch/query.js";
251
- import { getWithdrawCooldownOf as Ya } from "./symmio-contracts/symmio/get-withdraw-cooldown-of/get-withdraw-cooldown-of.js";
252
- import { getWithdrawCooldownOfQueryKey as Xa, getWithdrawCooldownOfQueryOptions as Za } from "./symmio-contracts/symmio/get-withdraw-cooldown-of/query.js";
253
- import { isPartyALiquidated as Qa } from "./symmio-contracts/symmio/is-party-a-liquidated/is-party-a-liquidated.js";
254
- import { isPartyALiquidatedQueryKey as $a, isPartyALiquidatedQueryOptions as eo } from "./symmio-contracts/symmio/is-party-a-liquidated/query.js";
255
- import { allocateMutationOptions as to } from "./symmio-contracts/symmio/query/allocate.js";
256
- import { approveOperationalFeeMutationOptions as no } from "./symmio-contracts/symmio/query/approve-operational-fee.js";
257
- import { approveOperationalFeeAllowanceMutationOptions as ro } from "./symmio-contracts/symmio/query/approve-operational-fee-allowance.js";
258
- import { deallocateMutationOptions as io } from "./symmio-contracts/symmio/query/deallocate.js";
259
- import { deallocateAndInitiateWithdrawMutationOptions as ao } from "./symmio-contracts/symmio/query/deallocate-and-initiate-withdraw.js";
260
- import { finalizeWithdrawRequestMutationOptions as oo } from "./symmio-contracts/symmio/query/finalize-withdraw-request.js";
261
- import { forceCancelCloseRequestMutationOptions as so } from "./symmio-contracts/symmio/query/force-cancel-close-request.js";
262
- import { forceCancelQuoteMutationOptions as co } from "./symmio-contracts/symmio/query/force-cancel-quote.js";
263
- import { getCoolDownsOfMAQueryKey as lo, getCoolDownsOfMAQueryOptions as uo } from "./symmio-contracts/symmio/query/get-cool-downs-of-ma.js";
264
- import { getFeeForUserQueryKey as fo, getFeeForUserQueryOptions as po } from "./symmio-contracts/symmio/query/get-fee-for-user.js";
265
- import { getLastWithdrawRequestIdQueryKey as mo, getLastWithdrawRequestIdQueryOptions as ho } from "./symmio-contracts/symmio/query/get-last-withdraw-request-id.js";
266
- import { getOnchainContractMarketsQueryKey as go, getOnchainContractMarketsQueryOptions as _o } from "./symmio-contracts/symmio/query/get-onchain-contract-markets.js";
267
- import { getOperationalFeeAllowanceQueryKey as vo, getOperationalFeeAllowanceQueryOptions as yo } from "./symmio-contracts/symmio/query/get-operational-fee-allowance.js";
268
- import { getPartyAOpenPositionsQueryKey as bo, getPartyAOpenPositionsQueryOptions as xo } from "./symmio-contracts/symmio/query/get-party-a-open-positions.js";
269
- import { getPartyAPendingQuotesQueryKey as So, getPartyAPendingQuotesQueryOptions as Co } from "./symmio-contracts/symmio/query/get-party-a-pending-quotes.js";
270
- import { getPendingQuotesQueryKey as wo, getPendingQuotesQueryOptions as To } from "./symmio-contracts/symmio/query/get-pending-quotes.js";
271
- import { getPendingWithdrawRequestsQueryKey as Eo, getPendingWithdrawRequestsQueryOptions as Do } from "./symmio-contracts/symmio/query/get-pending-withdraw-requests.js";
272
- import { getQuoteQueryKey as Oo, getQuoteQueryOptions as ko } from "./symmio-contracts/symmio/query/get-quote.js";
273
- import { getWithdrawRequestsQueryKey as Ao, getWithdrawRequestsQueryOptions as jo } from "./symmio-contracts/symmio/query/get-withdraw-requests.js";
274
- import { getWithdrawableTimeQueryKey as Mo, getWithdrawableTimeQueryOptions as No } from "./symmio-contracts/symmio/query/get-withdrawable-time.js";
275
- import { initiateWithdrawMutationOptions as Po } from "./symmio-contracts/symmio/query/initiate-withdraw.js";
276
- import { requestCancelWithdrawMutationOptions as Fo } from "./symmio-contracts/symmio/query/request-cancel-withdraw.js";
277
- import { requestToCancelCloseRequestMutationOptions as Io } from "./symmio-contracts/symmio/query/request-to-cancel-close-request.js";
278
- import { requestToCancelQuoteMutationOptions as Lo } from "./symmio-contracts/symmio/query/request-to-cancel-quote.js";
279
- import { simulateAllocateMutationOptions as Ro } from "./symmio-contracts/symmio/query/simulate-allocate.js";
280
- import { simulateDeallocateMutationOptions as zo } from "./symmio-contracts/symmio/query/simulate-deallocate.js";
281
- import { simulateDeallocateAndInitiateWithdrawMutationOptions as Bo } from "./symmio-contracts/symmio/query/simulate-deallocate-and-initiate-withdraw.js";
282
- import { simulateFinalizeWithdrawRequestMutationOptions as Vo } from "./symmio-contracts/symmio/query/simulate-finalize-withdraw-request.js";
283
- import { simulateInitiateWithdrawMutationOptions as Ho } from "./symmio-contracts/symmio/query/simulate-initiate-withdraw.js";
284
- import { simulateRequestCancelWithdrawMutationOptions as Uo } from "./symmio-contracts/symmio/query/simulate-request-cancel-withdraw.js";
285
- import { withdrawMutationOptions as Wo } from "./symmio-contracts/symmio/query/withdraw.js";
286
- import { withdrawAutoMutationOptions as Go } from "./symmio-contracts/symmio/query/withdraw-auto.js";
287
- import { OrderType as Ko, PositionType as qo, QuoteStatus as Jo, WithdrawStatus as Yo } from "./symmio-contracts/symmio/types.js";
288
- import { getEnigmaPriceServiceHealth as Xo } from "./price-service/enigma/health/get-enigma-price-service-health.js";
289
- import { getEnigmaPriceServiceHealthQueryKey as Zo, getEnigmaPriceServiceHealthQueryOptions as Qo } from "./price-service/enigma/health/query.js";
290
- import { getEnigmaPriceServiceMetadata as $o } from "./price-service/enigma/metadata/get-enigma-price-service-metadata.js";
291
- import { getEnigmaPriceServiceMetadataQueryKey as es, getEnigmaPriceServiceMetadataQueryOptions as ts } from "./price-service/enigma/metadata/query.js";
292
- import { getEnigmaPriceServicePricesByAddresses as ns } from "./price-service/enigma/prices-by-addresses/get-enigma-price-service-prices-by-addresses.js";
293
- import { getEnigmaPriceServicePricesByAddressesQueryKey as rs, getEnigmaPriceServicePricesByAddressesQueryOptions as is } from "./price-service/enigma/prices-by-addresses/query.js";
294
- import { getEnigmaPriceServicePricesByNames as as } from "./price-service/enigma/prices-by-names/get-enigma-price-service-prices-by-names.js";
295
- import { getEnigmaPriceServicePricesByNamesQueryKey as os, getEnigmaPriceServicePricesByNamesQueryOptions as ss } from "./price-service/enigma/prices-by-names/query.js";
296
- import { getEnigmaPriceServiceSymbolsInfo as cs } from "./price-service/enigma/symbols-info/get-enigma-price-service-symbols-info.js";
297
- import { getEnigmaPriceServiceSymbolsInfoQueryKey as ls, getEnigmaPriceServiceSymbolsInfoQueryOptions as us } from "./price-service/enigma/symbols-info/query.js";
298
- import { ActionStatus as ds, NotificationType as fs } from "./websocket/notifications/types.js";
299
- import { classifyNotification as ps, normalizeNotification as ms } from "./websocket/notifications/normalize-notification.js";
300
- import { buildSubscribeMessage as hs } from "./websocket/notifications/adapters/enigma-notifications.js";
301
- import { buildRasaSubscribeMessage as gs } from "./websocket/notifications/adapters/rasa-notifications-hub.js";
302
- import { parseNotificationFrame as _s } from "./websocket/notifications/parse-notification-frame.js";
303
- import { watchNotifications as vs } from "./websocket/notifications/watch-notifications.js";
304
- import { parseBinancePriceFrame as ys } from "./websocket/prices/parse-binance-price-frame.js";
305
- import { parsePriceFrame as bs } from "./websocket/prices/parse-price-frame.js";
306
- import { watchBinancePrices as xs } from "./websocket/prices/watch-binance-prices.js";
307
- import { watchEnigmaPrices as Ss } from "./websocket/prices/watch-enigma-prices.js";
308
- import { watchPrices as Cs } from "./websocket/prices/watch-prices.js";
309
- import { getBinanceHealth as ws } from "./price-service/binance/health/get-binance-health.js";
310
- import { getBinanceHealthQueryKey as Ts, getBinanceHealthQueryOptions as Es } from "./price-service/binance/health/query.js";
311
- import { getBinancePremiumIndex as Ds } from "./price-service/binance/premium-index/get-binance-premium-index.js";
312
- import { getBinancePremiumIndexQueryKey as Os, getBinancePremiumIndexQueryOptions as ks } from "./price-service/binance/premium-index/query.js";
313
- import { getBinanceSymbolsInfo as As } from "./price-service/binance/symbols-info/get-binance-symbols-info.js";
314
- import { getBinanceSymbolsInfoQueryKey as js, getBinanceSymbolsInfoQueryOptions as Ms } from "./price-service/binance/symbols-info/query.js";
315
- import { getMarkPrices as Ns } from "./price-service/get-mark-prices/get-mark-prices.js";
316
- import { getMarkPricesQueryKey as Ps, getMarkPricesQueryOptions as Fs } from "./price-service/get-mark-prices/query.js";
317
- import { searchNotifications as Is } from "./notifications/search/search-notifications.js";
318
- import { searchNotificationsQueryKey as Ls, searchNotificationsQueryOptions as Rs } from "./notifications/search/query.js";
319
- import { calculateSolverCloseFee as zs, getSolverCloseFeeRate as Bs, toThresholdSeconds as Vs } from "./solvers/shared/solver-close-fee.js";
320
- import { getMarkets as Hs } from "./solvers/markets/get-markets.js";
321
- import { getMarketsQueryKey as Us, getMarketsQueryOptions as Ws } from "./solvers/markets/query.js";
322
- import { getSolverCapabilities as Gs, supportsGroupClose as Ks, supportsLimitOrder as qs } from "./solvers/capabilities.js";
323
- import { ZERO_UPNL_SIG as Js, buildQuoteMetadata as Ys, encodeAddMarginToNextVA as Xs, encodeSendQuote as Zs, encodeSendQuoteWithAffiliateAndData as Qs, getFakeSendQuoteMuonSignature as $s, sendQuoteUpnlSigFlexRange as ec } from "./solvers/instant-open/shared/calldata.js";
324
- import { ORDER_TYPE_MARKET as tc, VIRTUAL_ACCOUNT_ISOLATION_TYPE as nc, isolationTypeForSide as rc } from "./solvers/instant-open/shared/types.js";
325
- import { sendInstantOpen as ic, sendRasaInstantOpen as ac } from "./solvers/instant-open/shared/hedger-api.js";
326
- import { submitPreparedInstantOpen as oc } from "./solvers/instant-open/instant-open/prepared/submit-prepared-instant-open.js";
327
- import { getSendQuoteUpnlSig as sc } from "./muon/send-quote-upnl-sig/get-send-quote-upnl-sig.js";
328
- import { getSendQuoteUpnlSigQueryKey as cc, getSendQuoteUpnlSigQueryOptions as lc } from "./muon/send-quote-upnl-sig/query.js";
329
- import { MARKET_ORDER_DEADLINE_SECONDS as uc, SHORT_FUNDING_BUFFER_PERCENT as dc, calculateAvailableInstantOpenMargin as fc, calculateExpectedSettlementLoss as pc, calculateMargin as mc, calculateSolverFees as hc, calculateTradeParams as gc, computePlatformFee as _c, computePlatformFeeLegs as vc, getMarketOrderDeadline as yc, toWeiBigInt as bc } from "./solvers/instant-open/shared/trade-math.js";
330
- import { instantOpen as xc, prepareInstantOpen as Sc } from "./solvers/instant-open/instant-open/instant-open.js";
331
- import { instantOpenMutationOptions as Cc } from "./solvers/instant-open/instant-open/query.js";
332
- import { decimalPriceToWei as wc } from "./shared/utils/price.js";
333
- import { toEstimatedPrice as Tc } from "./solvers/estimated-price/to-estimated-price.js";
334
- import { getEstimatedPrice as Ec } from "./solvers/estimated-price/get-estimated-price.js";
335
- import { deriveAutoSlippage as Dc } from "./solvers/instant-open/shared/open-estimate-guard.js";
336
- import { checkNotionalCap as Oc } from "./solvers/notional-cap/check-notional-cap.js";
337
- import { validateInstantOpenAgainstMarket as kc } from "./solvers/instant-open/shared/quote-constraints.js";
338
- import { validateInstantOpenBalanceFunding as Ac } from "./solvers/instant-open/shared/resolve-instant-open-sizing.js";
339
- import { resolveFeeRates as jc } from "./solvers/shared/resolvers/resolve-fee-rates.js";
340
- import { resolveMarkPrice as Mc } from "./solvers/shared/resolvers/resolve-mark-price.js";
341
- import { resolveMarket as Nc } from "./solvers/shared/resolvers/resolve-market.js";
342
- import { getLockedParams as Pc } from "./solvers/locked-params/get-locked-params.js";
343
- import { resolveLockedParams as Fc } from "./solvers/instant-open/prepare-instant-open-params/resolvers/resolve-locked-params.js";
344
- import { prepareInstantOpenParams as Ic } from "./solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.js";
345
- import { prepareLimitOpenParams as Lc } from "./solvers/limit-open/prepare-limit-open-params.js";
346
- import { limitOpenAuto as Rc } from "./solvers/limit-open/limit-open-auto.js";
347
- import { limitOpenAutoMutationOptions as zc } from "./solvers/limit-open/query.js";
348
- import { encodeRequestToClosePosition as Bc } from "./solvers/instant-close/shared/calldata.js";
349
- import { sendInstantClose as Vc } from "./solvers/instant-close/shared/hedger-api.js";
350
- import { instantClose as Hc } from "./solvers/instant-close/instant-close/instant-close.js";
351
- import { calculateClosePrice as Uc, clampClosePrecision as Wc } from "./solvers/instant-close/shared/close-math.js";
352
- import { prepareInstantCloseParams as Gc } from "./solvers/instant-close/prepare-instant-close-params/prepare-instant-close-params.js";
353
- import { prepareLimitCloseParams as Kc } from "./solvers/limit-close/prepare-limit-close-params.js";
354
- import { limitCloseAuto as qc } from "./solvers/limit-close/limit-close-auto.js";
355
- import { limitCloseAutoMutationOptions as Jc } from "./solvers/limit-close/query.js";
356
- import { BINANCE_EXCHANGE_INFO_PATH as Yc, BINANCE_KLINES_PATH as Xc, BINANCE_MAX_LIMIT as Zc, BINANCE_REST_URL as Qc, BINANCE_WS_URL as $c } from "./candles/sources/binance/constants.js";
357
- import { parseBinanceKline as el, parseBinanceKlineEvent as tl } from "./candles/sources/binance/parse-kline.js";
358
- import { getForceClosePriceSig as nl } from "./muon/force-close-price-sig/get-force-close-price-sig.js";
359
- import { checkForceCloseEligibility as rl, checkForceClosePriceReached as il, findForceCloseWindow as al, previewForceClosePrice as ol } from "./solvers/force-close/force-close-math.js";
360
- import { forceClosePosition as sl } from "./solvers/force-close/force-close-position.js";
361
- import { getForceCloseParams as cl } from "./solvers/force-close/get-force-close-params.js";
362
- import { forceCloseAuto as ll } from "./solvers/force-close/force-close-auto.js";
363
- import { forceCloseAutoMutationOptions as ul, forceClosePositionMutationOptions as dl, getForceCloseParamsQueryKey as fl, getForceCloseParamsQueryOptions as pl } from "./solvers/force-close/query.js";
364
- import { calculatePriceImpact as ml } from "./solvers/estimated-price/price-impact.js";
365
- import { getEstimatedPriceQueryKey as hl, getEstimatedPriceQueryOptions as gl } from "./solvers/estimated-price/query.js";
366
- import { supportsEstimatedPrice as _l } from "./solvers/estimated-price/supports-estimated-price.js";
367
- import { toMarketFundingInfo as vl } from "./solvers/funding-info/to-funding-info.js";
368
- import { getFundingInfo as yl } from "./solvers/funding-info/get-funding-info.js";
369
- import { projectFundingRate as bl } from "./solvers/funding-info/project-funding-rate.js";
370
- import { getFundingInfoQueryKey as xl, getFundingInfoQueryOptions as Sl } from "./solvers/funding-info/query.js";
371
- import { toRevenueRecord as Cl } from "./solvers/revenue-records/to-revenue-record.js";
372
- import { getRevenueRecords as wl } from "./solvers/revenue-records/get-revenue-records.js";
373
- import { getRevenueRecordsQueryKey as Tl, getRevenueRecordsQueryOptions as El } from "./solvers/revenue-records/query.js";
374
- import { toSolverSymbols as Dl } from "./solvers/symbols/to-solver-symbol.js";
375
- import { getSymbols as Ol } from "./solvers/symbols/get-symbols.js";
376
- import { getSymbolsQueryKey as kl, getSymbolsQueryOptions as Al } from "./solvers/symbols/query.js";
377
- import { toSolverDailyVolume as jl } from "./solvers/trade-volume/to-daily-volume.js";
378
- import { getTradeVolume as Ml } from "./solvers/trade-volume/get-trade-volume.js";
379
- import { getTradeVolumeQueryKey as Nl, getTradeVolumeQueryOptions as Pl } from "./solvers/trade-volume/query.js";
380
- import { getErrorMessage as Fl } from "./solvers/get-error-message/get-error-message.js";
381
- import { getErrorMessageQueryKey as Il, getErrorMessageQueryOptions as Ll } from "./solvers/get-error-message/query.js";
382
- import { getPartyAUpnl as Rl } from "./solvers/get-party-a-upnl/get-party-a-upnl.js";
383
- import { getPartyAUpnlQueryKey as zl, getPartyAUpnlQueryOptions as Bl } from "./solvers/get-party-a-upnl/query.js";
384
- import { getSolverBalanceInfo as Vl } from "./solvers/get-solver-balance-info/get-solver-balance-info.js";
385
- import { getSolverBalanceInfoQueryKey as Hl, getSolverBalanceInfoQueryOptions as Ul } from "./solvers/get-solver-balance-info/query.js";
386
- import { getSolverOpenInterest as Wl } from "./solvers/get-solver-open-interest/get-solver-open-interest.js";
387
- import { getSolverOpenInterestQueryKey as Gl, getSolverOpenInterestQueryOptions as Kl } from "./solvers/get-solver-open-interest/query.js";
388
- import { getSolverPriceRange as ql } from "./solvers/get-solver-price-range/get-solver-price-range.js";
389
- import { getSolverPriceRangeQueryKey as Jl, getSolverPriceRangeQueryOptions as Yl } from "./solvers/get-solver-price-range/query.js";
390
- import { getSolverReadiness as Xl } from "./solvers/get-solver-readiness/get-solver-readiness.js";
391
- import { getSolverReadinessQueryKey as Zl, getSolverReadinessQueryOptions as Ql } from "./solvers/get-solver-readiness/query.js";
392
- import { getMarketInfo as $l } from "./solvers/market-info/get-market-info.js";
393
- import { getMarketInfoQueryKey as eu, getMarketInfoQueryOptions as tu } from "./solvers/market-info/query.js";
394
- import { getLockedParamsQueryKey as nu, getLockedParamsQueryOptions as ru } from "./solvers/locked-params/query.js";
395
- import { getNotionalCapPage as iu } from "./solvers/notional-cap/get-notional-cap-page.js";
396
- import { getNotionalCapAll as au } from "./solvers/notional-cap/get-notional-cap-all.js";
397
- import { getNotionalCapBySymbolId as ou } from "./solvers/notional-cap/get-notional-cap-by-symbol-id.js";
398
- import { getOpenInterestBySymbolId as su } from "./solvers/notional-cap/get-open-interest-by-symbol-id.js";
399
- import { getNotionalCapBySymbolIdQueryKey as cu, getNotionalCapBySymbolIdQueryOptions as lu } from "./solvers/notional-cap/query.js";
400
- import { getNotionalCapAllQueryKey as uu, getNotionalCapAllQueryOptions as du } from "./solvers/notional-cap/query-all.js";
401
- import { getOpenInterestBySymbolIdQueryKey as fu, getOpenInterestBySymbolIdQueryOptions as pu } from "./solvers/notional-cap/query-open-interest.js";
402
- import { getNotionalCapPageQueryKey as mu, getNotionalCapPageQueryOptions as hu } from "./solvers/notional-cap/query-page.js";
403
- import { getSolverErrorCodes as gu } from "./solvers/error-codes/get-solver-error-codes.js";
404
- import { getSolverErrorCodesQueryKey as _u, getSolverErrorCodesQueryOptions as vu } from "./solvers/error-codes/query.js";
405
- import { getDeallocateUpnlSigQueryKey as yu, getDeallocateUpnlSigQueryOptions as bu } from "./muon/deallocate-upnl-sig/query.js";
406
- import { getForceClosePriceSigQueryKey as xu, getForceClosePriceSigQueryOptions as Su } from "./muon/force-close-price-sig/query.js";
407
- import { getMuonPartyAOverview as Cu } from "./muon/party-a-overview/get-muon-party-a-overview.js";
408
- import { getMuonPartyAOverviewQueryKey as wu, getMuonPartyAOverviewQueryOptions as Tu } from "./muon/party-a-overview/query.js";
409
- import { getMuonPrice as Eu } from "./muon/price/get-muon-price.js";
410
- import { getMuonPriceQueryKey as Du, getMuonPriceQueryOptions as Ou } from "./muon/price/query.js";
411
- import { getMuonPriceRange as ku } from "./muon/price-range/get-muon-price-range.js";
412
- import { getMuonPriceRangeQueryKey as Au, getMuonPriceRangeQueryOptions as ju } from "./muon/price-range/query.js";
413
- import { getMuonSettleUpnl as Mu } from "./muon/settle-upnl/get-muon-settle-upnl.js";
414
- import { getMuonSettleUpnlQueryKey as Nu, getMuonSettleUpnlQueryOptions as Pu } from "./muon/settle-upnl/query.js";
415
- import { getMuonUpnl as Fu } from "./muon/upnl/get-muon-upnl.js";
416
- import { getMuonUpnlQueryKey as Iu, getMuonUpnlQueryOptions as Lu } from "./muon/upnl/query.js";
417
- import { getMuonUpnlA as Ru } from "./muon/upnl-a/get-muon-upnl-a.js";
418
- import { getMuonUpnlAQueryKey as zu, getMuonUpnlAQueryOptions as Bu } from "./muon/upnl-a/query.js";
419
- import { getMuonUpnlAWithSymbolPrice as Vu } from "./muon/upnl-a-with-symbol-price/get-muon-upnl-a-with-symbol-price.js";
420
- import { getMuonUpnlAWithSymbolPriceQueryKey as Hu, getMuonUpnlAWithSymbolPriceQueryOptions as Uu } from "./muon/upnl-a-with-symbol-price/query.js";
421
- import { getMuonUpnlB as Wu } from "./muon/upnl-b/get-muon-upnl-b.js";
422
- import { getMuonUpnlBQueryKey as Gu, getMuonUpnlBQueryOptions as Ku } from "./muon/upnl-b/query.js";
423
- import { getMuonUpnlWithSymbolPrice as qu } from "./muon/upnl-with-symbol-price/get-muon-upnl-with-symbol-price.js";
424
- import { getMuonUpnlWithSymbolPriceQueryKey as Ju, getMuonUpnlWithSymbolPriceQueryOptions as Yu } from "./muon/upnl-with-symbol-price/query.js";
425
- import { sharePercent as Xu } from "./shared/utils/percent.js";
426
- import { getInstantOpenFees as Zu } from "./solvers/instant-open/get-instant-open-fees/get-instant-open-fees.js";
427
- import { getInstantOpenFeesQueryKey as Qu, getInstantOpenFeesQueryOptions as $u } from "./solvers/instant-open/get-instant-open-fees/query.js";
428
- import { getInstantOpenQuoteId as ed } from "./solvers/instant-open/get-instant-open-quote-id/get-instant-open-quote-id.js";
429
- import { getInstantOpenQuoteIdQueryKey as td, getInstantOpenQuoteIdQueryOptions as nd } from "./solvers/instant-open/get-instant-open-quote-id/query.js";
430
- import { getInstantOpens as rd } from "./solvers/instant-open/get-instant-opens/get-instant-opens.js";
431
- import { getInstantOpensQueryKey as id, getInstantOpensQueryOptions as ad } from "./solvers/instant-open/get-instant-opens/query.js";
432
- import { instantOpenAuto as od } from "./solvers/instant-open/instant-open-auto/instant-open-auto.js";
433
- import { instantOpenAutoMutationOptions as sd } from "./solvers/instant-open/instant-open-auto/query.js";
434
- import { getPrepareInstantOpenParamsQueryKey as cd, prepareInstantOpenParamsQueryOptions as ld } from "./solvers/instant-open/prepare-instant-open-params/query.js";
435
- import { getInstantCloseFees as ud } from "./solvers/instant-close/get-instant-close-fees/get-instant-close-fees.js";
436
- import { getInstantCloseFeesQueryKey as dd, getInstantCloseFeesQueryOptions as fd } from "./solvers/instant-close/get-instant-close-fees/query.js";
437
- import { toPendingInstantClose as pd } from "./solvers/instant-close/get-instant-closes/to-pending-instant-close.js";
438
- import { getInstantCloses as md } from "./solvers/instant-close/get-instant-closes/get-instant-closes.js";
439
- import { getInstantClosesQueryKey as hd, getInstantClosesQueryOptions as gd } from "./solvers/instant-close/get-instant-closes/query.js";
440
- import { instantCloseMutationOptions as _d } from "./solvers/instant-close/instant-close/query.js";
441
- import { instantCloseAuto as vd } from "./solvers/instant-close/instant-close-auto/instant-close-auto.js";
442
- import { instantCloseAutoMutationOptions as yd } from "./solvers/instant-close/instant-close-auto/query.js";
443
- import { MAX_INSTANT_CLOSE_BULK_ORDERS as bd, instantCloseBulk as xd } from "./solvers/instant-close/instant-close-bulk/instant-close-bulk.js";
444
- import { instantCloseBulkMutationOptions as Sd } from "./solvers/instant-close/instant-close-bulk/query.js";
445
- import { instantCloseBulkAuto as Cd } from "./solvers/instant-close/instant-close-bulk-auto/instant-close-bulk-auto.js";
446
- import { instantCloseBulkAutoMutationOptions as wd } from "./solvers/instant-close/instant-close-bulk-auto/query.js";
447
- import { validateInstantCloseAgainstMarket as Td } from "./solvers/instant-close/shared/quote-constraints.js";
448
- import { QuoteLifecycle as Ed } from "./quotes/unified-quote.js";
449
- import { applyNotificationToQuotes as Dd, classifyQuoteNotificationAction as Od, isCancelAction as kd, isCloseFillAction as Ad, isOpenAnchorAction as jd } from "./quotes/apply-notification.js";
450
- import { minRemainingQuantityOf as Md } from "./quotes/close-planning/min-remaining-quantity.js";
451
- import { planGroupClose as Nd } from "./quotes/close-planning/plan-group-close/plan-group-close.js";
452
- import { toGroupCloseCandidates as Pd } from "./quotes/close-planning/to-close-candidates.js";
453
- import { calculateClosePlatformFee as Fd } from "./quotes/fees/calculate-close-platform-fee.js";
454
- import { calculateOpenPlatformFee as Id } from "./quotes/fees/calculate-open-platform-fee.js";
455
- import { fingerprintQuote as Ld } from "./quotes/fingerprint.js";
456
- import { querySubgraph as Rd } from "./symmio-subgraph/query-subgraph/query-subgraph.js";
457
- import { getQuerySubgraphQueryKey as zd, querySubgraphQueryOptions as Bd } from "./symmio-subgraph/query-subgraph/query.js";
458
- import { SUBGRAPH_MAX_PAGE_SIZE as Vd } from "./symmio-subgraph/subgraph-filters.js";
459
- import { toQuoteEventRow as Hd } from "./quotes/get-quote-events-by-type/to-quote-event-row.js";
460
- import { DEFAULT_QUOTE_EVENTS_BY_TYPE_PAGE_SIZE as Ud, getQuoteEventsByType as Wd } from "./quotes/get-quote-events-by-type/get-quote-events-by-type.js";
461
- import { getQuoteEventsByTypeQueryKey as Gd, getQuoteEventsByTypeQueryOptions as Kd } from "./quotes/get-quote-events-by-type/query.js";
462
- import { FUNDING_HISTORY_EVENT_TYPES as qd, PRICE_HISTORY_EVENT_TYPES as Jd, QuoteEventType as Yd } from "./quotes/get-quote-events-by-type/types.js";
463
- import { toQuoteFundingRow as Xd } from "./quotes/get-quote-funding/to-funding-row.js";
464
- import { QUOTES_FUNDING_MAX_IDS_PER_REQUEST as Zd, getQuoteFunding as Qd } from "./quotes/get-quote-funding/get-quote-funding.js";
465
- import { getQuoteFundingQueryKey as $d, getQuoteFundingQueryOptions as ef } from "./quotes/get-quote-funding/query.js";
466
- import { QuoteCloseEventType as tf, QuoteCloseType as nf } from "./quotes/get-quote-history/types.js";
467
- import { closeTypeToEventTypes as rf, eventTypeToCloseType as af, eventTypeToQuoteStatus as of } from "./quotes/get-quote-history/close-type.js";
468
- import { toQuoteHistoryRow as sf } from "./quotes/get-quote-history/to-history-row.js";
469
- import { getQuoteHistory as cf } from "./quotes/get-quote-history/get-quote-history.js";
470
- import { getQuoteHistoryQueryKey as lf, getQuoteHistoryQueryOptions as uf } from "./quotes/get-quote-history/query.js";
471
- import { getQuotePendingFunding as df } from "./quotes/get-quote-pending-funding/get-quote-pending-funding.js";
472
- import { getQuotePendingFundingQueryKey as ff, getQuotePendingFundingQueryOptions as pf } from "./quotes/get-quote-pending-funding/query.js";
473
- import { getQuotesEventsByType as mf } from "./quotes/get-quotes-events-by-type/get-quotes-events-by-type.js";
474
- import { getQuotesEventsByTypeQueryKey as hf, getQuotesEventsByTypeQueryOptions as gf } from "./quotes/get-quotes-events-by-type/query.js";
475
- import { lifecycleFromQuoteStatus as _f, toUnifiedQuoteFromInstantClose as vf, toUnifiedQuoteFromInstantOpen as yf, toUnifiedQuoteFromOnchain as bf } from "./quotes/to-unified-quote.js";
476
- import { reconcileQuotes as xf } from "./quotes/reconcile-quotes.js";
477
- import { resolveQuoteAccounts as Sf } from "./quotes/resolve-quote-accounts.js";
478
- import { getSubAccountQuotes as Cf } from "./quotes/get-sub-account-quotes/get-sub-account-quotes.js";
479
- import { getSubAccountQuotesQueryKey as wf, getSubAccountQuotesQueryOptions as Tf } from "./quotes/get-sub-account-quotes/query.js";
480
- import { toSubgraphQuoteRow as Ef } from "./quotes/get-subgraph-quotes/to-subgraph-quote-row.js";
481
- import { getSubgraphQuotes as Df } from "./quotes/get-subgraph-quotes/get-subgraph-quotes.js";
482
- import { getSubgraphQuotesQueryKey as Of, getSubgraphQuotesQueryOptions as kf } from "./quotes/get-subgraph-quotes/query.js";
483
- import { aggregateGroupFunding as Af } from "./quotes/grouping/aggregate-group-funding.js";
484
- import { isActivePosition as jf, isActiveQuoteStatus as Mf, isPendingOrder as Nf, partitionQuotes as Pf } from "./quotes/grouping/partition-quotes.js";
485
- import { aggregateGroupUpnl as Ff } from "./quotes/grouping/aggregate-group-upnl.js";
486
- import { aggregateGroupMetrics as If } from "./quotes/grouping/aggregate-metrics.js";
487
- import { assertQuoteGroupingSupported as Lf, keyQuoteByMarket as Rf, keyQuotePerQuote as zf, resolveQuoteGroupingStrategy as Bf, supportsQuoteGrouping as Vf } from "./quotes/grouping/group-strategy.js";
488
- import { groupQuotes as Hf } from "./quotes/grouping/group-quotes.js";
489
- import { calculateLiquidationPrice as Uf } from "./quotes/liquidation/calculate-liquidation-price.js";
490
- import { shouldAccelerateOnchainReads as Wf, shouldAccelerateQuotePolling as Gf } from "./quotes/should-accelerate.js";
491
- import { calculateQuoteLeverage as Kf } from "./quotes/upnl/calculate-quote-leverage.js";
492
- import { calculateQuotePnl as qf } from "./quotes/upnl/calculate-quote-pnl.js";
493
- import { calculateQuoteUpnl as Jf } from "./quotes/upnl/calculate-quote-upnl.js";
494
- import { calculateQuoteUpnlWei as Yf } from "./quotes/upnl/calculate-quote-upnl-wei.js";
495
- import { calculateMarginRisk as Xf } from "./margin/calculate-margin-risk.js";
496
- import { toMarginTransferRow as Zf } from "./margin/get-margin-transfers/to-margin-transfer-row.js";
497
- import { getMarginTransfers as Qf } from "./margin/get-margin-transfers/get-margin-transfers.js";
498
- import { getMarginTransfersQueryKey as $f, getMarginTransfersQueryOptions as ep } from "./margin/get-margin-transfers/query.js";
499
- import { toFundingIndexCheckpointRow as tp } from "./funding/get-funding-index-checkpoints/to-funding-index-checkpoint-row.js";
500
- import { getFundingIndexCheckpoints as np } from "./funding/get-funding-index-checkpoints/get-funding-index-checkpoints.js";
501
- import { getFundingIndexCheckpointsQueryKey as rp, getFundingIndexCheckpointsQueryOptions as ip } from "./funding/get-funding-index-checkpoints/query.js";
502
- import { toQuoteFundingSettlementRow as ap } from "./funding/get-quote-funding-settlements/to-quote-funding-settlement-row.js";
503
- import { getQuoteFundingSettlements as op } from "./funding/get-quote-funding-settlements/get-quote-funding-settlements.js";
504
- import { getQuoteFundingSettlementsQueryKey as sp, getQuoteFundingSettlementsQueryOptions as cp } from "./funding/get-quote-funding-settlements/query.js";
505
- import { toLiquidationDetailRow as lp } from "./liquidation/get-liquidation-details/to-liquidation-detail-row.js";
506
- import { getLiquidationDetails as up } from "./liquidation/get-liquidation-details/get-liquidation-details.js";
507
- import { getLiquidationDetailsQueryKey as dp, getLiquidationDetailsQueryOptions as fp } from "./liquidation/get-liquidation-details/query.js";
508
- import { getTpSlConfig as pp } from "./tpsl/config/get-tpsl-config.js";
509
- import { getTpSlConfigQueryKey as mp, getTpSlConfigQueryOptions as hp } from "./tpsl/config/query.js";
510
- import { ZERO_LEG as gp, buildConditionalOrderMessage as _p, buildTpSlDeleteMessage as vp, generateTpSlSalt as yp, toSignableTpSlMessage as bp } from "./tpsl/set-quote-tpsl/build-conditional-order-message.js";
511
- import { signTpSlRequest as xp } from "./tpsl/set-quote-tpsl/sign-tpsl-request.js";
512
- import { getTpSlDeleteSigningSpec as Sp } from "./tpsl/signing-spec/get-tpsl-delete-signing-spec.js";
513
- import { deleteQuoteTpSl as Cp } from "./tpsl/delete-quote-tpsl/delete-quote-tpsl.js";
514
- import { deleteQuoteTpSlMutationOptions as wp } from "./tpsl/delete-quote-tpsl/query.js";
515
- import { getQuoteTpSl as Tp } from "./tpsl/get-quote-tpsl/get-quote-tpsl.js";
516
- import { getQuoteTpSlQueryKey as Ep, getQuoteTpSlQueryOptions as Dp } from "./tpsl/get-quote-tpsl/query.js";
517
- import { childNotional as Op, triggerPriceToWei as kp } from "./tpsl/grouping/notional.js";
518
- import { GROUP_TPSL_SIDES as Ap, resolveChildSide as jp } from "./tpsl/grouping/resolve-child-side.js";
519
- import { estimateGroupTpSlReturn as Mp } from "./tpsl/grouping/estimate-group-tpsl-return.js";
520
- import { validateTpSl as Np } from "./tpsl/validate-tpsl.js";
521
- import { planGroupTpSl as Pp } from "./tpsl/grouping/plan-group-tpsl/plan-group-tpsl.js";
522
- import { planGroupTpSlDelete as Fp } from "./tpsl/grouping/plan-group-tpsl-delete.js";
523
- import { summarizeQuoteGroupTpSl as Ip } from "./tpsl/grouping/summarize-group-tpsl.js";
524
- import { toGroupTpSlChildren as Lp } from "./tpsl/grouping/to-group-tpsl-children.js";
525
- import { toGroupTpSlOrders as Rp } from "./tpsl/grouping/to-group-tpsl-orders.js";
526
- import { TPSL_LIVE_ORDER_STATES as zp, searchTpSlOrders as Bp } from "./tpsl/search-tpsl-orders/search-tpsl-orders.js";
527
- import { searchTpSlOrdersQueryKey as Vp, searchTpSlOrdersQueryOptions as Hp } from "./tpsl/search-tpsl-orders/query.js";
528
- import { buildConditionalOrderLeg as Up } from "./tpsl/set-quote-tpsl/build-conditional-order-leg.js";
529
- import { getTpSlSigningSpec as Wp } from "./tpsl/signing-spec/get-tpsl-signing-spec.js";
530
- import { DEFAULT_TPSL_SLIPPAGE_LOWCAPS as Gp, priceSlippageCalculation as Kp } from "./tpsl/slippage.js";
531
- import { setQuoteTpSl as qp } from "./tpsl/set-quote-tpsl/set-quote-tpsl.js";
532
- import { setQuoteTpSlMutationOptions as Jp } from "./tpsl/set-quote-tpsl/query.js";
533
- import { getTpSlDeleteSigningSpecQueryKey as Yp, getTpSlDeleteSigningSpecQueryOptions as Xp } from "./tpsl/signing-spec/delete-query.js";
534
- import { getTpSlSigningSpecQueryKey as Zp, getTpSlSigningSpecQueryOptions as Qp } from "./tpsl/signing-spec/query.js";
535
- import { supportsTpSl as $p } from "./tpsl/supports-tpsl.js";
536
- import { TpSlSearchOrderType as em } from "./tpsl/types.js";
537
- import { parseTpSlFrame as tm } from "./websocket/tpsl/parse-tpsl-frame.js";
538
- import { watchTpSlNotifications as nm } from "./websocket/tpsl/watch-tpsl-notifications.js";
539
- import { BalanceChangeType as rm, BalanceHistoryFilter as im, MarginTransferType as am } from "./balance-history/get-balance-history/types.js";
540
- import { balanceHistoryFilterToTypes as om } from "./balance-history/get-balance-history/balance-history-filter.js";
541
- import { toBalanceHistoryRow as sm } from "./balance-history/get-balance-history/to-balance-history-row.js";
542
- import { getBalanceHistory as cm } from "./balance-history/get-balance-history/get-balance-history.js";
543
- import { getBalanceHistoryQueryKey as lm, getBalanceHistoryQueryOptions as um } from "./balance-history/get-balance-history/query.js";
544
- import { toTransferRow as dm } from "./transfers/get-transfer-history/to-transfer-row.js";
545
- import { getTransferHistory as fm } from "./transfers/get-transfer-history/get-transfer-history.js";
546
- import { getTransferHistoryQueryKey as pm, getTransferHistoryQueryOptions as mm } from "./transfers/get-transfer-history/query.js";
547
- import { fromTradingViewResolution as hm, toTradingViewResolution as gm } from "./candles/adapters/tradingview/map-resolution.js";
548
- import { CANDLE_RESOLUTION_MS as _m, resolutionToMs as vm } from "./candles/resolution.js";
549
- import { toTradingViewDatafeed as ym } from "./candles/adapters/tradingview/to-tradingview-datafeed.js";
550
- import { getCandlesQueryKey as bm, getCandlesQueryOptions as xm } from "./candles/query.js";
551
- import { getBinanceSupportedResolutions as Sm, toBinanceInterval as Cm } from "./candles/sources/binance/map-resolution.js";
552
- import { watchBinanceKlines as wm } from "./candles/sources/binance/watch-binance-klines.js";
553
- import { createBinanceCandleSource as Tm } from "./candles/sources/binance/create-binance-candle-source.js";
554
- import { countTickDecimals as Em, roundToTick as Dm, suggestOrderbookTickSizes as Om } from "./orderbook/tick-size.js";
555
- import { accumulateOrderbook as km, getOrderbookDepthWithin as Am, getOrderbookSpread as jm, groupOrderbook as Mm } from "./orderbook/aggregate.js";
556
- import { getOrderbookQueryKey as Nm, getOrderbookQueryOptions as Pm } from "./orderbook/query.js";
557
- import { BINANCE_DEPTH_DEFAULT_LEVELS as Fm, BINANCE_DEPTH_DEFAULT_LIMIT as Im, BINANCE_DEPTH_DEFAULT_UPDATE_SPEED as Lm, BINANCE_DEPTH_LIMITS as Rm, BINANCE_DEPTH_MAX_BUFFERED_EVENTS as zm, BINANCE_DEPTH_PATH as Bm, BINANCE_DEPTH_REST_URL as Vm, BINANCE_DEPTH_UPDATE_SPEEDS as Hm, BINANCE_DEPTH_WS_URL as Um, BINANCE_ORDERBOOK_EXCHANGE_INFO_PATH as Wm } from "./orderbook/sources/binance/constants.js";
558
- import { parseBinanceDepthLevel as Gm, parseBinanceDepthLevels as Km } from "./orderbook/sources/binance/parse-depth.js";
559
- import { fetchBinanceDepth as qm } from "./orderbook/sources/binance/fetch-binance-depth.js";
560
- import { fetchBinanceSymbolFilters as Jm } from "./orderbook/sources/binance/fetch-binance-symbol-filters.js";
561
- import { watchBinanceDepth as Ym } from "./orderbook/sources/binance/watch-binance-depth.js";
562
- import { createBinanceOrderbookSource as Xm } from "./orderbook/sources/binance/create-binance-orderbook-source.js";
563
- import { walkOrderbook as Zm } from "./orderbook/walk.js";
564
- import { resolveListingService as Qm, supportsListingService as $m } from "./pools/resolve-listing.js";
565
- import { toAddMarketRequest as eh } from "./pools/add-market/to-add-market-request.js";
566
- import { toCreatedPool as th } from "./pools/add-market/to-created-pool.js";
567
- import { addMarket as nh } from "./pools/add-market/add-market.js";
568
- import { addMarketMutationOptions as rh } from "./pools/add-market/query.js";
569
- import { toListingAuthToken as ih, toListingSignInMessage as ah } from "./pools/auth/to-siwe.js";
570
- import { getListingSignInMessage as oh } from "./pools/auth/get-sign-in-message.js";
571
- import { authenticateListing as sh } from "./pools/auth/authenticate-listing.js";
572
- import { authenticateListingMutationOptions as ch, getListingSignInMessageQueryKey as lh, getListingSignInMessageQueryOptions as uh } from "./pools/auth/query.js";
573
- import { toCancelWithdrawResult as dh } from "./pools/cancel-withdraw/to-cancel-withdraw-result.js";
574
- import { cancelWithdraw as fh } from "./pools/cancel-withdraw/cancel-withdraw.js";
575
- import { cancelWithdrawMutationOptions as ph } from "./pools/cancel-withdraw/query.js";
576
- import { toClaimRequest as mh } from "./pools/claim/to-claim-request.js";
577
- import { LISTING_VALUE_DECIMALS as hh, ListingDepositChainId as gh, ListingMarketStatus as _h, MarketLockReason as vh, PoolPositionSide as yh, PoolTransactionStatus as bh, PoolTransactionType as xh, TokenPriceChain as Sh } from "./pools/types.js";
578
- import { parseListingValue as Ch, toListingMarket as wh, toListingMarketPage as Th, toListingValue as Eh } from "./pools/markets/to-listing-market.js";
579
- import { toClaimResult as Dh } from "./pools/claim/to-claim-result.js";
580
- import { claimProfit as Oh } from "./pools/claim/claim-profit.js";
581
- import { claimProfitMutationOptions as kh } from "./pools/claim/query.js";
582
- import { toPoolClaim as Ah, toPoolClaimHistoryPage as jh } from "./pools/claim-history/to-pool-claim.js";
583
- import { getClaimHistory as Mh } from "./pools/claim-history/get-claim-history.js";
584
- import { getPoolClaim as Nh } from "./pools/claim-history/get-pool-claim.js";
585
- import { getClaimHistoryQueryKey as Ph, getClaimHistoryQueryOptions as Fh } from "./pools/claim-history/query.js";
586
- import { toMarketDepositAddress as Ih } from "./pools/deposit-address/to-market-deposit-address.js";
587
- import { getDepositAddress as Lh } from "./pools/deposit-address/get-deposit-address.js";
588
- import { getDepositAddressQueryKey as Rh, getDepositAddressQueryOptions as zh } from "./pools/deposit-address/query.js";
589
- import { toListingConfig as Bh } from "./pools/listing-config/to-listing-config.js";
590
- import { getListingConfig as Vh } from "./pools/listing-config/get-listing-config.js";
591
- import { getListingConfigQueryKey as Hh, getListingConfigQueryOptions as Uh } from "./pools/listing-config/query.js";
592
- import { toListingStatus as Wh } from "./pools/listing-status/to-listing-status.js";
593
- import { getListingStatus as Gh } from "./pools/listing-status/get-listing-status.js";
594
- import { getListingStatusQueryKey as Kh, getListingStatusQueryOptions as qh } from "./pools/listing-status/query.js";
595
- import { getPoolMaintenanceFees as Jh } from "./pools/maintenance-fees/get-pool-maintenance-fees.js";
596
- import { getPoolMaintenanceFeesQueryKey as Yh, getPoolMaintenanceFeesQueryOptions as Xh } from "./pools/maintenance-fees/query.js";
597
- import { toListingMarketConfig as Zh } from "./pools/market-config/to-listing-market-config.js";
598
- import { getListingMarketConfig as Qh } from "./pools/market-config/get-listing-market-config.js";
599
- import { projectListingMarketConfig as $h } from "./pools/market-config/project-listing-market-config.js";
600
- import { toUpdateListingMarketConfigRequest as eg } from "./pools/market-config/to-update-listing-market-config-request.js";
601
- import { updateListingMarketConfig as tg } from "./pools/market-config/update-listing-market-config.js";
602
- import { getListingMarketConfigQueryKey as ng, getListingMarketConfigQueryOptions as rg, updateListingMarketConfigMutationOptions as ig } from "./pools/market-config/query.js";
603
- import { LISTING_MARKET_CONFIG_BOUNDS as ag } from "./pools/market-config/types.js";
604
- import { getPoolMarketData as og } from "./pools/market-data/get-pool-market-data.js";
605
- import { toListingMarketDetail as sg } from "./pools/market-detail/to-listing-market-detail.js";
606
- import { getListingMarketDetail as cg } from "./pools/market-detail/get-listing-market-detail.js";
607
- import { getListingMarketDetailQueryKey as lg, getListingMarketDetailQueryOptions as ug } from "./pools/market-detail/query.js";
608
- import { toPoolPositions as dg } from "./pools/market-detail/to-pool-positions.js";
609
- import { getListingMarkets as fg } from "./pools/markets/get-listing-markets.js";
610
- import { getListingMarketsQueryKey as pg, getListingMarketsQueryOptions as mg } from "./pools/markets/query.js";
611
- import { calculatePoolOpenPositions as hg } from "./pools/open-positions/calculate-pool-open-positions.js";
612
- import { toPoolQuote as gg } from "./pools/quotes/to-pool-quote.js";
613
- import { POOL_OPEN_QUOTE_STATUSES as _g, POOL_PENDING_QUOTE_STATUSES as vg, getPoolQuotes as yg } from "./pools/quotes/get-pool-quotes.js";
614
- import { getPoolOpenPositions as bg } from "./pools/open-positions/get-pool-open-positions.js";
615
- import { getPoolOpenPositionsQueryKey as xg, getPoolOpenPositionsQueryOptions as Sg } from "./pools/open-positions/query.js";
616
- import { calculatePoolPosition as Cg } from "./pools/position/calculate-pool-position.js";
617
- import { calculatePoolPortfolio as wg } from "./pools/portfolio/calculate-pool-portfolio.js";
618
- import { toUserPoolProfit as Tg } from "./pools/profit/to-user-pool-profit.js";
619
- import { getUserProfit as Eg } from "./pools/profit/get-user-profit.js";
620
- import { getUserTotalReward as Dg } from "./pools/rewards/get-user-total-reward.js";
621
- import { toUserListingMarket as Og, toUserListingMarketPage as kg } from "./pools/user-markets/to-user-listing-market.js";
622
- import { getUserListingMarkets as Ag } from "./pools/user-markets/get-user-listing-markets.js";
623
- import { toUserTransaction as jg, toUserTransactionPage as Mg } from "./pools/user-transactions/to-user-transaction.js";
624
- import { getUserTransactions as Ng } from "./pools/user-transactions/get-user-transactions.js";
625
- import { getPoolPortfolio as Pg } from "./pools/portfolio/get-pool-portfolio.js";
626
- import { getPoolPortfolioQueryKey as Fg, getPoolPortfolioQueryOptions as Ig } from "./pools/portfolio/query.js";
627
- import { getPoolPosition as Lg } from "./pools/position/get-pool-position.js";
628
- import { getPoolPositionQueryKey as Rg, getPoolPositionQueryOptions as zg } from "./pools/position/query.js";
629
- import { getUserProfitQueryKey as Bg, getUserProfitQueryOptions as Vg } from "./pools/profit/query.js";
630
- import { getPoolQuotesQueryKey as Hg, getPoolQuotesQueryOptions as Ug } from "./pools/quotes/query.js";
631
- import { toRefundRequest as Wg } from "./pools/refund/to-refund-request.js";
632
- import { toRefundResult as Gg } from "./pools/refund/to-refund-result.js";
633
- import { refundMarket as Kg } from "./pools/refund/refund-market.js";
634
- import { refundMarketMutationOptions as qg } from "./pools/refund/query.js";
635
- import { toRetryListingInfo as Jg } from "./pools/retry-listing/to-retry-listing-info.js";
636
- import { getRetryListingInfo as Yg } from "./pools/retry-listing/get-retry-listing-info.js";
637
- import { toRetryListingResult as Xg } from "./pools/retry-listing/to-retry-listing-result.js";
638
- import { retryListing as Zg } from "./pools/retry-listing/retry-listing.js";
639
- import { getRetryListingInfoQueryKey as Qg, getRetryListingInfoQueryOptions as $g, retryListingMutationOptions as e_ } from "./pools/retry-listing/query.js";
640
- import { toPoolRewardPoint as t_, toUserPoolRewardChart as n_ } from "./pools/rewards/to-pool-reward-point.js";
641
- import { getPoolRewardChart as r_ } from "./pools/rewards/get-pool-reward-chart.js";
642
- import { getPoolTotalReward as i_ } from "./pools/rewards/get-pool-total-reward.js";
643
- import { getUserRewardChart as a_ } from "./pools/rewards/get-user-reward-chart.js";
644
- import { getPoolRewardChartQueryKey as o_, getPoolRewardChartQueryOptions as s_, getPoolTotalRewardQueryKey as c_, getPoolTotalRewardQueryOptions as l_, getUserRewardChartQueryKey as u_, getUserRewardChartQueryOptions as d_, getUserTotalRewardQueryKey as f_, getUserTotalRewardQueryOptions as p_ } from "./pools/rewards/query.js";
645
- import { calculatePoolStatistics as m_ } from "./pools/statistics/calculate-pool-statistics.js";
646
- import { toPoolTransaction as h_, toPoolTransactionPage as g_ } from "./pools/transactions/to-pool-transaction.js";
647
- import { getPoolTransactions as __ } from "./pools/transactions/get-pool-transactions.js";
648
- import { getPoolStatistics as v_ } from "./pools/statistics/get-pool-statistics.js";
649
- import { getPoolStatisticsQueryKey as y_, getPoolStatisticsQueryOptions as b_ } from "./pools/statistics/query.js";
650
- import { getListingTokenMetadata as x_ } from "./pools/token-metadata/get-listing-token-metadata.js";
651
- import { getListingTokenMetadataQueryKey as S_, getListingTokenMetadataQueryOptions as C_ } from "./pools/token-metadata/query.js";
652
- import { toTokenPrice as w_ } from "./pools/token-price/to-token-price.js";
653
- import { getTokenPrice as T_ } from "./pools/token-price/get-token-price.js";
654
- import { getTokenPriceQueryKey as E_, getTokenPriceQueryOptions as D_ } from "./pools/token-price/query.js";
655
- import { checkListingTokenSupport as O_ } from "./pools/token-support/check-listing-token-support.js";
656
- import { checkListingTokenSupportQueryKey as k_, checkListingTokenSupportQueryOptions as A_ } from "./pools/token-support/query.js";
657
- import { getPoolTradeHistory as j_ } from "./pools/trade-history/get-pool-trade-history.js";
658
- import { getPoolTradeHistoryQueryKey as M_, getPoolTradeHistoryQueryOptions as N_ } from "./pools/trade-history/query.js";
659
- import { getPoolTransactionRange as P_ } from "./pools/transactions/get-pool-transaction-range.js";
660
- import { getPoolTransactionsQueryKey as F_, getPoolTransactionsQueryOptions as I_ } from "./pools/transactions/query.js";
661
- import { getUserListingMarketsQueryKey as L_, getUserListingMarketsQueryOptions as R_ } from "./pools/user-markets/query.js";
662
- import { getUserTransactionsQueryKey as z_, getUserTransactionsQueryOptions as B_ } from "./pools/user-transactions/query.js";
663
- import { toWeeklyListingLimit as V_ } from "./pools/weekly-limit/to-weekly-limit.js";
664
- import { getWeeklyListingLimit as H_ } from "./pools/weekly-limit/get-weekly-listing-limit.js";
665
- import { getWeeklyListingLimitQueryKey as U_, getWeeklyListingLimitQueryOptions as W_ } from "./pools/weekly-limit/query.js";
666
- import { toWithdrawRequest as G_ } from "./pools/withdraw/to-withdraw-request.js";
667
- import { withdrawLp as K_ } from "./pools/withdraw/withdraw-lp.js";
668
- import { withdrawLpMutationOptions as q_ } from "./pools/withdraw/query.js";
669
- import { toSolverRevenue as J_ } from "./solvers/revenue/to-solver-revenue.js";
670
- import { getSolverRevenue as Y_ } from "./solvers/revenue/get-solver-revenue.js";
671
- import { getSolverRevenueQueryKey as X_, getSolverRevenueQueryOptions as Z_ } from "./solvers/revenue/query.js";
672
- import { resolveInventoryService as Q_, supportsInventoryService as $_ } from "./inventory/resolve-inventory.js";
673
- import { getInventoryTvl as ev, toInventoryTvl as tv } from "./inventory/tvl/get-inventory-tvl.js";
674
- import { getInventoryTvlQueryKey as nv, getInventoryTvlQueryOptions as rv } from "./inventory/tvl/query.js";
675
- import { toInventoryTvlPoint as iv } from "./inventory/tvl-history/to-inventory-tvl-point.js";
676
- import { getInventoryTvlHistory as av } from "./inventory/tvl-history/get-inventory-tvl-history.js";
677
- import { getInventoryTvlHistoryQueryKey as ov, getInventoryTvlHistoryQueryOptions as sv } from "./inventory/tvl-history/query.js";
678
- import { INVENTORY_VALUE_DECIMALS as cv } from "./inventory/types.js";
679
- export { Ci as ADD_MARGIN_TO_NEXT_VA_SELECTOR, ds as ActionStatus, ir as AffiliateState, Fm as BINANCE_DEPTH_DEFAULT_LEVELS, Im as BINANCE_DEPTH_DEFAULT_LIMIT, Lm as BINANCE_DEPTH_DEFAULT_UPDATE_SPEED, Rm as BINANCE_DEPTH_LIMITS, zm as BINANCE_DEPTH_MAX_BUFFERED_EVENTS, Bm as BINANCE_DEPTH_PATH, Vm as BINANCE_DEPTH_REST_URL, Hm as BINANCE_DEPTH_UPDATE_SPEEDS, Um as BINANCE_DEPTH_WS_URL, Yc as BINANCE_EXCHANGE_INFO_PATH, Xc as BINANCE_KLINES_PATH, Zc as BINANCE_MAX_LIMIT, Wm as BINANCE_ORDERBOOK_EXCHANGE_INFO_PATH, Qc as BINANCE_REST_URL, $c as BINANCE_WS_URL, rm as BalanceChangeType, im as BalanceHistoryFilter, _m as CANDLE_RESOLUTION_MS, Ud as DEFAULT_QUOTE_EVENTS_BY_TYPE_PAGE_SIZE, Gp as DEFAULT_TPSL_SLIPPAGE_LOWCAPS, Ue as EarlyWithdrawExecutionError, qd as FUNDING_HISTORY_EVENT_TYPES, Yr as GASLESS_GATEWAY_EIP712_DOMAIN_NAME, Xr as GASLESS_GATEWAY_EIP712_DOMAIN_VERSION, Y as GASLESS_QUEUED_POLL_MS, ct as GASLESS_RECEIPT_TIMEOUT_MS, P as GASLESS_RELAYABLE_FUNCTIONS, F as GASLESS_RELAYABLE_SELECTORS, I as GASLESS_SESSION_KEY_SELECTORS, L as GASLESS_SESSION_KEY_WITHDRAW_SELECTORS, H as GASLESS_SIGNATURE_LIFETIME_SECONDS, X as GASLESS_STREAM_SETTLE_MS, Z as GASLESS_STREAM_STALE_MS, Q as GASLESS_SUBMITTED_POLL_MS, $ as GASLESS_TERMINAL_STATUSES, pe as GASLESS_WAIT_TIMEOUT_MS, U as GASLESS_WALLET_EXECUTE_SELECTOR, W as GASLESS_WALLET_EXECUTION_SENTINEL_SELECTOR, Zr as GASLESS_WALLET_OPERATION_TYPES, Ap as GROUP_TPSL_SIDES, ee as GaslessFeeSource, te as GaslessRequestStatus, ne as GaslessTransactionAttemptStatus, s as INSTANT_LAYER_EIP712_DOMAIN_NAME, c as INSTANT_LAYER_EIP712_DOMAIN_VERSION, Le as INSTANT_OPEN_TIMELOCK_ACCOUNT_LAYER_FUNCTIONS, Re as INSTANT_OPEN_TIMELOCK_CORE_FUNCTIONS, ze as INSTANT_OPEN_TIMELOCK_SELECTORS, wi as INSTANT_TRADE_REQUIRED_SELECTORS, cv as INVENTORY_VALUE_DECIMALS, Ti as LEGACY_INSTANT_TRADE_REQUIRED_SELECTORS, ag as LISTING_MARKET_CONFIG_BOUNDS, hh as LISTING_VALUE_DECIMALS, gh as ListingDepositChainId, _h as ListingMarketStatus, uc as MARKET_ORDER_DEADLINE_SECONDS, bd as MAX_INSTANT_CLOSE_BULK_ORDERS, qi as MUON_APP, Ji as MUON_METHOD_PARTY_A_OVERVIEW, Yi as MUON_METHOD_PRICE, Xi as MUON_METHOD_PRICE_RANGE, Zi as MUON_METHOD_SETTLE_UPNL, Qi as MUON_METHOD_UPNL_A, $i as MUON_METHOD_UPNL_A_WITH_SYMBOL_PRICE, ea as MUON_METHOD_UPNL_B, ta as MUON_METHOD_UPNL_PAIR, na as MUON_METHOD_UPNL_WITH_SYMBOL_PRICE, am as MarginTransferType, vh as MarketLockReason, fs as NotificationType, Wi as OPERATIONAL_FEE_LIST_PRICE_MULTIPLIER, tc as ORDER_TYPE_MARKET, Ko as OrderType, _g as POOL_OPEN_QUOTE_STATUSES, vg as POOL_PENDING_QUOTE_STATUSES, Jd as PRICE_HISTORY_EVENT_TYPES, yh as PoolPositionSide, bh as PoolTransactionStatus, xh as PoolTransactionType, qo as PositionType, Zd as QUOTES_FUNDING_MAX_IDS_PER_REQUEST, tf as QuoteCloseEventType, nf as QuoteCloseType, Yd as QuoteEventType, Ed as QuoteLifecycle, Jo as QuoteStatus, Ei as REQUEST_TO_CLOSE_POSITION_SELECTOR, Di as SEND_QUOTE_SELECTOR, Oi as SEND_QUOTE_WITH_AFFILIATE_AND_DATA_SELECTOR, dc as SHORT_FUNDING_BUFFER_PERCENT, l as SIGNED_OPERATION_TYPES, Vd as SUBGRAPH_MAX_PAGE_SIZE, ar as SubAccountIsolationType, a as SymmApiError, o as SymmError, pt as SymmioSupportedChainId, v as TIMELOCK_APPROVAL_REQUEST_TYPES, zp as TPSL_LIVE_ORDER_STATES, y as TimelockApprovalHttpError, Ke as TimelockBatchExecutionError, Ee as TimelockExecutionError, nt as TimelockPolicyChangeAuthorizationError, ut as TimelockSetupConfirmationError, g as TimelockSolverError, Sh as TokenPriceChain, em as TpSlSearchOrderType, nc as VIRTUAL_ACCOUNT_ISOLATION_TYPE, Yo as WithdrawStatus, gp as ZERO_LEG, Js as ZERO_UPNL_SIG, e as accountLayerAbi, km as accumulateOrderbook, bt as addMargin, cn as addMarginMutationOptions, nh as addMarket, rh as addMarketMutationOptions, Af as aggregateGroupFunding, If as aggregateGroupMetrics, Ff as aggregateGroupUpnl, Ui as allocate, to as allocateMutationOptions, Dd as applyNotificationToQuotes, sr as approveCollateral, ur as approveCollateralMutationOptions, Gi as approveOperationalFee, Ki as approveOperationalFeeAllowance, ro as approveOperationalFeeAllowanceMutationOptions, no as approveOperationalFeeMutationOptions, Lf as assertQuoteGroupingSupported, De as assertTimelockAuthorizationUnused, qe as assertTimelockBatchUnused, rt as assertTimelockPolicyChangeReady, sh as authenticateListing, ch as authenticateListingMutationOptions, om as balanceHistoryFilterToTypes, Up as buildConditionalOrderLeg, _p as buildConditionalOrderMessage, Ys as buildQuoteMetadata, gs as buildRasaSubscribeMessage, f as buildSignedOperation, hs as buildSubscribeMessage, vp as buildTpSlDeleteMessage, Xt as calculateAvailableForOrder, fc as calculateAvailableInstantOpenMargin, Fd as calculateClosePlatformFee, Uc as calculateClosePrice, pc as calculateExpectedSettlementLoss, Uf as calculateLiquidationPrice, mc as calculateMargin, Xf as calculateMarginRisk, Id as calculateOpenPlatformFee, hg as calculatePoolOpenPositions, wg as calculatePoolPortfolio, Cg as calculatePoolPosition, m_ as calculatePoolStatistics, ml as calculatePriceImpact, Kf as calculateQuoteLeverage, qf as calculateQuotePnl, Jf as calculateQuoteUpnl, Yf as calculateQuoteUpnlWei, zs as calculateSolverCloseFee, hc as calculateSolverFees, gc as calculateTradeParams, St as cancelRegistration, ln as cancelRegistrationMutationOptions, Zt as cancelTimelockOp, Qt as cancelTimelockOpMutationOptions, fh as cancelWithdraw, ph as cancelWithdrawMutationOptions, rl as checkForceCloseEligibility, il as checkForceClosePriceReached, O_ as checkListingTokenSupport, k_ as checkListingTokenSupportQueryKey, A_ as checkListingTokenSupportQueryOptions, Oc as checkNotionalCap, Op as childNotional, Oh as claimProfit, kh as claimProfitMutationOptions, Wc as clampClosePrecision, Kr as classifyGaslessFailure, ps as classifyNotification, Od as classifyQuoteNotificationAction, $t as clearTimelocks, en as clearTimelocksMutationOptions, rf as closeTypeToEventTypes, ja as collateralToCore18, _c as computePlatformFee, vc as computePlatformFeeLegs, lt as confirmGaslessRequest, Ma as core18ToCollateral, Em as countTickDecimals, Tm as createBinanceCandleSource, Xm as createBinanceOrderbookSource, Na as createClassicWithdrawPart, vt as createConfig, b as createHttpTimelockApprovalProvider, Ct as createSubAccounts, un as createSubAccountsMutationOptions, ia as deallocate, aa as deallocateAndInitiateWithdraw, ao as deallocateAndInitiateWithdrawMutationOptions, io as deallocateMutationOptions, wc as decimalPriceToWei, qr as decodeGaslessOperationFailure, Cp as deleteQuoteTpSl, wp as deleteQuoteTpSlMutationOptions, Tt as deleteSubAccount, dn as deleteSubAccountMutationOptions, Dt as depositAndAllocateForAccount, fn as depositAndAllocateForAccountMutationOptions, kt as depositForAccount, pn as depositForAccountMutationOptions, Dc as deriveAutoSlippage, We as earlyWithdraw, Ge as earlyWithdrawMutationOptions, At as editAccountName, mn as editAccountNameMutationOptions, Xs as encodeAddMarginToNextVA, je as encodeInitiateWithdrawCall, Ye as encodeProtectedFunction, Bc as encodeRequestToClosePosition, Zs as encodeSendQuote, Qs as encodeSendQuoteWithAffiliateAndData, on as encodeSubAccountHookMetadata, x as encodeTimelockedCoreCall, Mp as estimateGroupTpSlReturn, af as eventTypeToCloseType, of as eventTypeToQuoteStatus, Fa as executeAccountCalls, Ia as executeAccountCallsMutationOptions, Oe as executeProtectedCall, ke as executeProtectedCallMutationOptions, Xe as executeProtectedFunction, Ze as executeProtectedFunctionMutationOptions, be as executeTimelockOp, xe as executeTimelockOpMutationOptions, qm as fetchBinanceDepth, Jm as fetchBinanceSymbolFilters, Ce as filterQueryOptions, gr as finalizeRevokeDelegation, Er as finalizeRevokeDelegationMutationOptions, sa as finalizeWithdrawRequest, oo as finalizeWithdrawRequestMutationOptions, al as findForceCloseWindow, Ld as fingerprintQuote, ca as forceCancelCloseRequest, so as forceCancelCloseRequestMutationOptions, la as forceCancelQuote, co as forceCancelQuoteMutationOptions, ll as forceCloseAuto, ul as forceCloseAutoMutationOptions, sl as forceClosePosition, dl as forceClosePositionMutationOptions, p as formatSignedOperationPayload, hm as fromTradingViewResolution, t as gaslessLayerAbi, re as gaslessPollDelay, n as gaslessWalletAbi, ti as gaslessWalletExecute, ni as gaslessWalletExecuteMutationOptions, jt as generateAccountManagerAddress, hn as generateAccountManagerAddressQueryKey, gn as generateAccountManagerAddressQueryOptions, N as generateGaslessIdempotencyKey, m as generateSalt, yp as generateTpSlSalt, Mt as getAccountBalanceInfo, _n as getAccountBalanceInfoQueryKey, vn as getAccountBalanceInfoQueryOptions, Nt as getAccountBalanceOf, yn as getAccountBalanceOfQueryKey, bn as getAccountBalanceOfQueryOptions, _r as getActiveDelegations, Dr as getActiveDelegationsQueryKey, Or as getActiveDelegationsQueryOptions, Pt as getActiveVirtualAccountByKey, xn as getActiveVirtualAccountByKeyQueryKey, Sn as getActiveVirtualAccountByKeyQueryOptions, Ft as getAffiliateState, Cn as getAffiliateStateQueryKey, wn as getAffiliateStateQueryOptions, cm as getBalanceHistory, lm as getBalanceHistoryQueryKey, um as getBalanceHistoryQueryOptions, ws as getBinanceHealth, Ts as getBinanceHealthQueryKey, Es as getBinanceHealthQueryOptions, Ds as getBinancePremiumIndex, Os as getBinancePremiumIndexQueryKey, ks as getBinancePremiumIndexQueryOptions, Sm as getBinanceSupportedResolutions, As as getBinanceSymbolsInfo, js as getBinanceSymbolsInfoQueryKey, Ms as getBinanceSymbolsInfoQueryOptions, bm as getCandlesQueryKey, xm as getCandlesQueryOptions, mt as getChainConfig, Mh as getClaimHistory, Ph as getClaimHistoryQueryKey, Fh as getClaimHistoryQueryOptions, cr as getCollateralAllowance, dr as getCollateralAllowanceQueryKey, fr as getCollateralAllowanceQueryOptions, lr as getCollateralBalance, pr as getCollateralBalanceQueryKey, mr as getCollateralBalanceQueryOptions, ua as getCoolDownsOfMA, lo as getCoolDownsOfMAQueryKey, uo as getCoolDownsOfMAQueryOptions, La as getDeallocateDebounceTime, Ra as getDeallocateDebounceTimeQueryKey, za as getDeallocateDebounceTimeQueryOptions, ra as getDeallocateUpnlSig, yu as getDeallocateUpnlSigQueryKey, bu as getDeallocateUpnlSigQueryOptions, ht as getDefaultSolver, vr as getDelegationExpiry, kr as getDelegationExpiryQueryKey, Ar as getDelegationExpiryQueryOptions, Lh as getDepositAddress, Rh as getDepositAddressQueryKey, zh as getDepositAddressQueryOptions, Xo as getEnigmaPriceServiceHealth, Zo as getEnigmaPriceServiceHealthQueryKey, Qo as getEnigmaPriceServiceHealthQueryOptions, $o as getEnigmaPriceServiceMetadata, es as getEnigmaPriceServiceMetadataQueryKey, ts as getEnigmaPriceServiceMetadataQueryOptions, ns as getEnigmaPriceServicePricesByAddresses, rs as getEnigmaPriceServicePricesByAddressesQueryKey, is as getEnigmaPriceServicePricesByAddressesQueryOptions, as as getEnigmaPriceServicePricesByNames, os as getEnigmaPriceServicePricesByNamesQueryKey, ss as getEnigmaPriceServicePricesByNamesQueryOptions, cs as getEnigmaPriceServiceSymbolsInfo, ls as getEnigmaPriceServiceSymbolsInfoQueryKey, us as getEnigmaPriceServiceSymbolsInfoQueryOptions, Fl as getErrorMessage, Il as getErrorMessageQueryKey, Ll as getErrorMessageQueryOptions, Ec as getEstimatedPrice, hl as getEstimatedPriceQueryKey, gl as getEstimatedPriceQueryOptions, $s as getFakeSendQuoteMuonSignature, da as getFeeForUser, fo as getFeeForUserQueryKey, po as getFeeForUserQueryOptions, cl as getForceCloseParams, fl as getForceCloseParamsQueryKey, pl as getForceCloseParamsQueryOptions, nl as getForceClosePriceSig, xu as getForceClosePriceSigQueryKey, Su as getForceClosePriceSigQueryOptions, Ba as getFundingFeesOfPartyB, Va as getFundingFeesOfPartyBQueryKey, Ha as getFundingFeesOfPartyBQueryOptions, np as getFundingIndexCheckpoints, rp as getFundingIndexCheckpointsQueryKey, ip as getFundingIndexCheckpointsQueryOptions, yl as getFundingInfo, xl as getFundingInfoQueryKey, Sl as getFundingInfoQueryOptions, ri as getGaslessBatchFeeQuote, ii as getGaslessBatchFeeQuoteQueryKey, ai as getGaslessBatchFeeQuoteQueryOptions, Gr as getGaslessBatchSelectors, Jr as getGaslessDeploymentKey, si as getGaslessDepositPolicy, ci as getGaslessDepositPolicyQueryKey, li as getGaslessDepositPolicyQueryOptions, le as getGaslessFeeQuote, ui as getGaslessFeeQuoteQueryKey, di as getGaslessFeeQuoteQueryOptions, Qr as getGaslessGatewayEip712Domain, ue as getGaslessRequest, fi as getGaslessRequestQueryKey, pi as getGaslessRequestQueryOptions, mi as getGaslessRequestTransactions, hi as getGaslessRequestTransactionsQueryKey, gi as getGaslessRequestTransactionsQueryOptions, q as getGaslessUnconfirmedSubmit, $r as getGaslessWalletAddress, _i as getGaslessWalletAddressQueryKey, vi as getGaslessWalletAddressQueryOptions, oi as getGaslessWalletCreationFee, yi as getGaslessWalletCreationFeeQueryKey, bi as getGaslessWalletCreationFeeQueryOptions, Wr as getGaslessWalletExecuteSelectors, ei as getGaslessWalletNonce, xi as getGaslessWalletNonceQueryKey, Si as getGaslessWalletNonceQueryOptions, ge as getGaslessWriteRequest, ud as getInstantCloseFees, dd as getInstantCloseFeesQueryKey, fd as getInstantCloseFeesQueryOptions, md as getInstantCloses, hd as getInstantClosesQueryKey, gd as getInstantClosesQueryOptions, u as getInstantLayerEip712Domain, V as getInstantLayerNonce, jr as getInstantLayerNonceQueryKey, Mr as getInstantLayerNonceQueryOptions, Zu as getInstantOpenFees, Qu as getInstantOpenFeesQueryKey, $u as getInstantOpenFeesQueryOptions, ed as getInstantOpenQuoteId, td as getInstantOpenQuoteIdQueryKey, nd as getInstantOpenQuoteIdQueryOptions, rd as getInstantOpens, id as getInstantOpensQueryKey, ad as getInstantOpensQueryOptions, ki as getInstantTradeRequiredSelectors, ev as getInventoryTvl, av as getInventoryTvlHistory, ov as getInventoryTvlHistoryQueryKey, sv as getInventoryTvlHistoryQueryOptions, nv as getInventoryTvlQueryKey, rv as getInventoryTvlQueryOptions, G as getIsDelegationActive, Nr as getIsDelegationActiveQueryKey, Pr as getIsDelegationActiveQueryOptions, fa as getLastWithdrawRequestId, mo as getLastWithdrawRequestIdQueryKey, ho as getLastWithdrawRequestIdQueryOptions, up as getLiquidationDetails, dp as getLiquidationDetailsQueryKey, fp as getLiquidationDetailsQueryOptions, Vh as getListingConfig, Hh as getListingConfigQueryKey, Uh as getListingConfigQueryOptions, Qh as getListingMarketConfig, ng as getListingMarketConfigQueryKey, rg as getListingMarketConfigQueryOptions, cg as getListingMarketDetail, lg as getListingMarketDetailQueryKey, ug as getListingMarketDetailQueryOptions, fg as getListingMarkets, pg as getListingMarketsQueryKey, mg as getListingMarketsQueryOptions, oh as getListingSignInMessage, lh as getListingSignInMessageQueryKey, uh as getListingSignInMessageQueryOptions, Gh as getListingStatus, Kh as getListingStatusQueryKey, qh as getListingStatusQueryOptions, x_ as getListingTokenMetadata, S_ as getListingTokenMetadataQueryKey, C_ as getListingTokenMetadataQueryOptions, Pc as getLockedParams, nu as getLockedParamsQueryKey, ru as getLockedParamsQueryOptions, Qf as getMarginTransfers, $f as getMarginTransfersQueryKey, ep as getMarginTransfersQueryOptions, Ns as getMarkPrices, Ps as getMarkPricesQueryKey, Fs as getMarkPricesQueryOptions, $l as getMarketInfo, eu as getMarketInfoQueryKey, tu as getMarketInfoQueryOptions, yc as getMarketOrderDeadline, Hs as getMarkets, Us as getMarketsQueryKey, Ws as getMarketsQueryOptions, Ie as getMinTimelockDelay, Cu as getMuonPartyAOverview, wu as getMuonPartyAOverviewQueryKey, Tu as getMuonPartyAOverviewQueryOptions, Eu as getMuonPrice, Du as getMuonPriceQueryKey, Ou as getMuonPriceQueryOptions, ku as getMuonPriceRange, Au as getMuonPriceRangeQueryKey, ju as getMuonPriceRangeQueryOptions, Mu as getMuonSettleUpnl, Nu as getMuonSettleUpnlQueryKey, Pu as getMuonSettleUpnlQueryOptions, Fu as getMuonUpnl, Ru as getMuonUpnlA, zu as getMuonUpnlAQueryKey, Bu as getMuonUpnlAQueryOptions, Vu as getMuonUpnlAWithSymbolPrice, Hu as getMuonUpnlAWithSymbolPriceQueryKey, Uu as getMuonUpnlAWithSymbolPriceQueryOptions, Wu as getMuonUpnlB, Gu as getMuonUpnlBQueryKey, Ku as getMuonUpnlBQueryOptions, Iu as getMuonUpnlQueryKey, Lu as getMuonUpnlQueryOptions, qu as getMuonUpnlWithSymbolPrice, Ju as getMuonUpnlWithSymbolPriceQueryKey, Yu as getMuonUpnlWithSymbolPriceQueryOptions, au as getNotionalCapAll, uu as getNotionalCapAllQueryKey, du as getNotionalCapAllQueryOptions, ou as getNotionalCapBySymbolId, cu as getNotionalCapBySymbolIdQueryKey, lu as getNotionalCapBySymbolIdQueryOptions, iu as getNotionalCapPage, mu as getNotionalCapPageQueryKey, hu as getNotionalCapPageQueryOptions, pa as getOnchainContractMarkets, go as getOnchainContractMarketsQueryKey, _o as getOnchainContractMarketsQueryOptions, su as getOpenInterestBySymbolId, fu as getOpenInterestBySymbolIdQueryKey, pu as getOpenInterestBySymbolIdQueryOptions, ma as getOperationalFeeAllowance, vo as getOperationalFeeAllowanceQueryKey, yo as getOperationalFeeAllowanceQueryOptions, Am as getOrderbookDepthWithin, Nm as getOrderbookQueryKey, Pm as getOrderbookQueryOptions, jm as getOrderbookSpread, ha as getPartyAOpenPositions, Ua as getPartyAOpenPositionsBatch, Wa as getPartyAOpenPositionsBatchQueryKey, Ga as getPartyAOpenPositionsBatchQueryOptions, bo as getPartyAOpenPositionsQueryKey, xo as getPartyAOpenPositionsQueryOptions, ga as getPartyAPendingQuotes, So as getPartyAPendingQuotesQueryKey, Co as getPartyAPendingQuotesQueryOptions, Rl as getPartyAUpnl, zl as getPartyAUpnlQueryKey, Bl as getPartyAUpnlQueryOptions, _a as getPendingQuotes, wo as getPendingQuotesQueryKey, To as getPendingQuotesQueryOptions, yr as getPendingRevocationEtas, Fr as getPendingRevocationEtasQueryKey, Ir as getPendingRevocationEtasQueryOptions, va as getPendingWithdrawRequests, Ka as getPendingWithdrawRequestsBatch, qa as getPendingWithdrawRequestsBatchQueryKey, Ja as getPendingWithdrawRequestsBatchQueryOptions, Eo as getPendingWithdrawRequestsQueryKey, Do as getPendingWithdrawRequestsQueryOptions, Nh as getPoolClaim, Jh as getPoolMaintenanceFees, Yh as getPoolMaintenanceFeesQueryKey, Xh as getPoolMaintenanceFeesQueryOptions, og as getPoolMarketData, bg as getPoolOpenPositions, xg as getPoolOpenPositionsQueryKey, Sg as getPoolOpenPositionsQueryOptions, Pg as getPoolPortfolio, Fg as getPoolPortfolioQueryKey, Ig as getPoolPortfolioQueryOptions, Lg as getPoolPosition, Rg as getPoolPositionQueryKey, zg as getPoolPositionQueryOptions, yg as getPoolQuotes, Hg as getPoolQuotesQueryKey, Ug as getPoolQuotesQueryOptions, r_ as getPoolRewardChart, o_ as getPoolRewardChartQueryKey, s_ as getPoolRewardChartQueryOptions, v_ as getPoolStatistics, y_ as getPoolStatisticsQueryKey, b_ as getPoolStatisticsQueryOptions, i_ as getPoolTotalReward, c_ as getPoolTotalRewardQueryKey, l_ as getPoolTotalRewardQueryOptions, j_ as getPoolTradeHistory, M_ as getPoolTradeHistoryQueryKey, N_ as getPoolTradeHistoryQueryOptions, P_ as getPoolTransactionRange, __ as getPoolTransactions, F_ as getPoolTransactionsQueryKey, I_ as getPoolTransactionsQueryOptions, Ut as getPredictedNextVirtualAccount, Un as getPredictedNextVirtualAccountQueryKey, Wn as getPredictedNextVirtualAccountQueryOptions, cd as getPrepareInstantOpenParamsQueryKey, zd as getQuerySubgraphQueryKey, ya as getQuote, Wd as getQuoteEventsByType, Gd as getQuoteEventsByTypeQueryKey, Kd as getQuoteEventsByTypeQueryOptions, Qd as getQuoteFunding, $d as getQuoteFundingQueryKey, ef as getQuoteFundingQueryOptions, op as getQuoteFundingSettlements, sp as getQuoteFundingSettlementsQueryKey, cp as getQuoteFundingSettlementsQueryOptions, cf as getQuoteHistory, lf as getQuoteHistoryQueryKey, uf as getQuoteHistoryQueryOptions, df as getQuotePendingFunding, ff as getQuotePendingFundingQueryKey, pf as getQuotePendingFundingQueryOptions, Oo as getQuoteQueryKey, ko as getQuoteQueryOptions, Tp as getQuoteTpSl, Ep as getQuoteTpSlQueryKey, Dp as getQuoteTpSlQueryOptions, mf as getQuotesEventsByType, hf as getQuotesEventsByTypeQueryKey, gf as getQuotesEventsByTypeQueryOptions, Yg as getRetryListingInfo, Qg as getRetryListingInfoQueryKey, $g as getRetryListingInfoQueryOptions, wl as getRevenueRecords, Tl as getRevenueRecordsQueryKey, El as getRevenueRecordsQueryOptions, br as getRevocationCooldown, Lr as getRevocationCooldownQueryKey, Rr as getRevocationCooldownQueryOptions, Se as getSelectorTimelock, we as getSelectorTimelockQueryKey, Te as getSelectorTimelockQueryOptions, sc as getSendQuoteUpnlSig, cc as getSendQuoteUpnlSigQueryKey, lc as getSendQuoteUpnlSigQueryOptions, Ai as getSessionKeySelectors, Vl as getSolverBalanceInfo, Hl as getSolverBalanceInfoQueryKey, Ul as getSolverBalanceInfoQueryOptions, Gs as getSolverCapabilities, Bs as getSolverCloseFeeRate, gu as getSolverErrorCodes, _u as getSolverErrorCodesQueryKey, vu as getSolverErrorCodesQueryOptions, Ne as getSolverInfo, Pe as getSolverInfoQueryKey, Fe as getSolverInfoQueryOptions, Wl as getSolverOpenInterest, Gl as getSolverOpenInterestQueryKey, Kl as getSolverOpenInterestQueryOptions, ql as getSolverPriceRange, Jl as getSolverPriceRangeQueryKey, Yl as getSolverPriceRangeQueryOptions, Xl as getSolverReadiness, Zl as getSolverReadinessQueryKey, Ql as getSolverReadinessQueryOptions, Y_ as getSolverRevenue, X_ as getSolverRevenueQueryKey, Z_ as getSolverRevenueQueryOptions, j as getSubAccount, Tn as getSubAccountQueryKey, En as getSubAccountQueryOptions, Cf as getSubAccountQuotes, wf as getSubAccountQuotesQueryKey, Tf as getSubAccountQuotesQueryOptions, It as getSubAccountVirtualNonce, Dn as getSubAccountVirtualNonceQueryKey, On as getSubAccountVirtualNonceQueryOptions, Lt as getSubAccountsCountOfUser, kn as getSubAccountsCountOfUserQueryKey, An as getSubAccountsCountOfUserQueryOptions, Df as getSubgraphQuotes, Of as getSubgraphQuotesQueryKey, kf as getSubgraphQuotesQueryOptions, Ol as getSymbols, kl as getSymbolsQueryKey, Al as getSymbolsQueryOptions, Je as getTimelockBatchRecovery, Ae as getTimelockExecutionRecovery, He as getTimelockPolicy, it as getTimelockPolicyChange, Qe as getTimelockPolicyQueryKey, $e as getTimelockPolicyQueryOptions, E as getTimelockRecoveryTransactionHash, et as getTimelockSchedule, tt as getTimelockScheduleGracePeriod, tn as getTimelockScheduleState, nn as getTimelockScheduleStateQueryKey, rn as getTimelockScheduleStateQueryOptions, T_ as getTokenPrice, E_ as getTokenPriceQueryKey, D_ as getTokenPriceQueryOptions, pp as getTpSlConfig, mp as getTpSlConfigQueryKey, hp as getTpSlConfigQueryOptions, Sp as getTpSlDeleteSigningSpec, Yp as getTpSlDeleteSigningSpecQueryKey, Xp as getTpSlDeleteSigningSpecQueryOptions, Wp as getTpSlSigningSpec, Zp as getTpSlSigningSpecQueryKey, Qp as getTpSlSigningSpecQueryOptions, Ml as getTradeVolume, Nl as getTradeVolumeQueryKey, Pl as getTradeVolumeQueryOptions, fm as getTransferHistory, pm as getTransferHistoryQueryKey, mm as getTransferHistoryQueryOptions, Ag as getUserListingMarkets, L_ as getUserListingMarketsQueryKey, R_ as getUserListingMarketsQueryOptions, Eg as getUserProfit, Bg as getUserProfitQueryKey, Vg as getUserProfitQueryOptions, a_ as getUserRewardChart, u_ as getUserRewardChartQueryKey, d_ as getUserRewardChartQueryOptions, Rt as getUserSubAccounts, zt as getUserSubAccountsAddresses, Nn as getUserSubAccountsAddressesQueryKey, Pn as getUserSubAccountsAddressesQueryOptions, jn as getUserSubAccountsQueryKey, Mn as getUserSubAccountsQueryOptions, Dg as getUserTotalReward, f_ as getUserTotalRewardQueryKey, p_ as getUserTotalRewardQueryOptions, Ng as getUserTransactions, z_ as getUserTransactionsQueryKey, B_ as getUserTransactionsQueryOptions, M as getVirtualAccount, Fn as getVirtualAccountQueryKey, In as getVirtualAccountQueryOptions, Bt as getVirtualAccountsAddressesOfSubAccount, Ln as getVirtualAccountsAddressesOfSubAccountQueryKey, Rn as getVirtualAccountsAddressesOfSubAccountQueryOptions, Vt as getVirtualAccountsCountOfSubAccount, zn as getVirtualAccountsCountOfSubAccountQueryKey, Bn as getVirtualAccountsCountOfSubAccountQueryOptions, Ht as getVirtualAccountsOfSubAccount, Vn as getVirtualAccountsOfSubAccountQueryKey, Hn as getVirtualAccountsOfSubAccountQueryOptions, H_ as getWeeklyListingLimit, U_ as getWeeklyListingLimitQueryKey, W_ as getWeeklyListingLimitQueryOptions, Ya as getWithdrawCooldownOf, Xa as getWithdrawCooldownOfQueryKey, Za as getWithdrawCooldownOfQueryOptions, ba as getWithdrawRequests, Ao as getWithdrawRequestsQueryKey, jo as getWithdrawRequestsQueryOptions, xa as getWithdrawableTime, Mo as getWithdrawableTimeQueryKey, No as getWithdrawableTimeQueryOptions, Sr as grantDelegation, zr as grantDelegationMutationOptions, wr as grantDelegations, Br as grantDelegationsMutationOptions, Mm as groupOrderbook, Hf as groupQuotes, D as hasTimelockSubmissionEvidence, an as hashTimelockApproval, Tr as initiateRevokeDelegation, Vr as initiateRevokeDelegationMutationOptions, Me as initiateWithdraw, Po as initiateWithdrawMutationOptions, Hc as instantClose, vd as instantCloseAuto, yd as instantCloseAutoMutationOptions, xd as instantCloseBulk, Cd as instantCloseBulkAuto, wd as instantCloseBulkAutoMutationOptions, Sd as instantCloseBulkMutationOptions, _d as instantCloseMutationOptions, r as instantLayerAbi, xc as instantOpen, od as instantOpenAuto, sd as instantOpenAutoMutationOptions, Cc as instantOpenMutationOptions, jf as isActivePosition, Mf as isActiveQuoteStatus, kd as isCancelAction, gt as isChainSupported, Ad as isCloseFillAction, ae as isConfirmedGaslessFeeLimitError, oe as isConfirmedGaslessRefusalError, se as isConfirmedGaslessUnavailableError, O as isDefiniteGaslessSimulationRejection, k as isDefiniteTimelockApprovalRejection, K as isGaslessFreeQuotaExhaustedError, J as isGaslessIdempotencyConflictError, R as isGaslessRelayableSelector, ce as isGaslessRequestRejectedOrRevertedError, ie as isGaslessRequestTerminal, ji as isNewerGaslessRequest, jd as isOpenAnchorAction, Qa as isPartyALiquidated, $a as isPartyALiquidatedQueryKey, eo as isPartyALiquidatedQueryOptions, Nf as isPendingOrder, sn as isTimelockApprovalUsed, Be as isTimelockPolicyConfigured, A as isUnsubmittedTimelockWalletRejection, rc as isolationTypeForSide, Rf as keyQuoteByMarket, zf as keyQuotePerQuote, _f as lifecycleFromQuoteStatus, qc as limitCloseAuto, Jc as limitCloseAutoMutationOptions, Rc as limitOpenAuto, zc as limitOpenAutoMutationOptions, _t as listSupportedChains, at as matchesScheduledCall, Md as minRemainingQuantityOf, ms as normalizeNotification, Gm as parseBinanceDepthLevel, Km as parseBinanceDepthLevels, el as parseBinanceKline, tl as parseBinanceKlineEvent, ys as parseBinancePriceFrame, T as parseGaslessErrorDetail, Ch as parseListingValue, _s as parseNotificationFrame, bs as parsePriceFrame, _ as parseTimelockErrorDetails, tm as parseTpSlFrame, Pf as partitionQuotes, Nd as planGroupClose, Pp as planGroupTpSl, Fp as planGroupTpSlDelete, Gc as prepareInstantCloseParams, Sc as prepareInstantOpen, Ic as prepareInstantOpenParams, ld as prepareInstantOpenParamsQueryOptions, Kc as prepareLimitCloseParams, Lc as prepareLimitOpenParams, S as prepareTimelockApprovalRequest, ol as previewForceClosePrice, Kp as priceSlippageCalculation, bl as projectFundingRate, $h as projectListingMarketConfig, Rd as querySubgraph, Bd as querySubgraphQueryOptions, xf as reconcileQuotes, Kg as refundMarket, qg as refundMarketMutationOptions, Mi as relayGaslessBatch, Ni as relayGaslessBatchMutationOptions, Pi as relayGrantDelegation, Fi as relayGrantDelegationMutationOptions, he as relayInstantOperations, Ii as relayInstantOperationsMutationOptions, Gt as removeMargin, Gn as removeMarginMutationOptions, Sa as requestCancelWithdraw, Fo as requestCancelWithdrawMutationOptions, C as requestTimelockApproval, w as requestTimelockApprovalMutationOptions, Ca as requestToCancelCloseRequest, Io as requestToCancelCloseRequestMutationOptions, wa as requestToCancelQuote, Lo as requestToCancelQuoteMutationOptions, qt as requestToRegisterAffiliate, Kn as requestToRegisterAffiliateMutationOptions, Ve as requiredTimelockDelay, vm as resolutionToMs, jp as resolveChildSide, jc as resolveFeeRates, z as resolveGaslessService, Q_ as resolveInventoryService, Qm as resolveListingService, Fc as resolveLockedParams, Mc as resolveMarkPrice, Nc as resolveMarket, Sf as resolveQuoteAccounts, Bf as resolveQuoteGroupingStrategy, ve as resolveTimelockFamilyAccount, ye as resolveTimelockRootAccount, Li as resubmitGaslessRequest, Ri as resubmitGaslessRequestMutationOptions, Zg as retryListing, e_ as retryListingMutationOptions, Dm as roundToTick, nr as scheduleTimelockOp, rr as scheduleTimelockOpMutationOptions, Is as searchNotifications, Ls as searchNotificationsQueryKey, Rs as searchNotificationsQueryOptions, Bp as searchTpSlOrders, Vp as searchTpSlOrdersQueryKey, Hp as searchTpSlOrdersQueryOptions, Vc as sendInstantClose, ic as sendInstantOpen, ec as sendQuoteUpnlSigFlexRange, ac as sendRasaInstantOpen, qp as setQuoteTpSl, Jp as setQuoteTpSlMutationOptions, zi as settleGaslessDepositExistingAccount, Bi as settleGaslessDepositExistingAccountMutationOptions, Vi as settleGaslessDepositNewAccount, Hi as settleGaslessDepositNewAccountMutationOptions, dt as setupTimelockPolicy, ft as setupTimelockPolicyMutationOptions, ot as setupTimelocks, st as setupTimelocksMutationOptions, Xu as sharePercent, Wf as shouldAccelerateOnchainReads, Gf as shouldAccelerateQuotePolling, _e as shouldSimulateBeforeWrite, h as signAndFormatInstantOperation, d as signSignedOperation, xp as signTpSlRequest, yt as simulateAddMargin, qn as simulateAddMarginMutationOptions, Ta as simulateAllocate, Ro as simulateAllocateMutationOptions, or as simulateApproveCollateral, hr as simulateApproveCollateralMutationOptions, xt as simulateCancelRegistration, Jn as simulateCancelRegistrationMutationOptions, Jt as simulateCreateSubAccounts, Yn as simulateCreateSubAccountsMutationOptions, Ea as simulateDeallocate, Da as simulateDeallocateAndInitiateWithdraw, Bo as simulateDeallocateAndInitiateWithdrawMutationOptions, zo as simulateDeallocateMutationOptions, wt as simulateDeleteSubAccount, Xn as simulateDeleteSubAccountMutationOptions, Et as simulateDepositAndAllocateForAccount, Zn as simulateDepositAndAllocateForAccountMutationOptions, Ot as simulateDepositForAccount, Qn as simulateDepositForAccountMutationOptions, Yt as simulateEditAccountName, $n as simulateEditAccountNameMutationOptions, oa as simulateFinalizeWithdrawRequest, Vo as simulateFinalizeWithdrawRequestMutationOptions, xr as simulateGrantDelegation, Hr as simulateGrantDelegationMutationOptions, Cr as simulateGrantDelegations, Ur as simulateGrantDelegationsMutationOptions, Oa as simulateInitiateWithdraw, Ho as simulateInitiateWithdrawMutationOptions, Wt as simulateRemoveMargin, er as simulateRemoveMarginMutationOptions, ka as simulateRequestCancelWithdraw, Uo as simulateRequestCancelWithdrawMutationOptions, Kt as simulateRequestToRegisterAffiliate, tr as simulateRequestToRegisterAffiliateMutationOptions, oc as submitPreparedInstantOpen, Om as suggestOrderbookTickSizes, Ip as summarizeQuoteGroupTpSl, _l as supportsEstimatedPrice, B as supportsGaslessService, de as supportsGaslessStatusStream, Ks as supportsGroupClose, $_ as supportsInventoryService, qs as supportsLimitOrder, $m as supportsListingService, Vf as supportsQuoteGrouping, $p as supportsTpSl, i as symmioAbi, eh as toAddMarketRequest, sm as toBalanceHistoryRow, Cm as toBinanceInterval, dh as toCancelWithdrawResult, mh as toClaimRequest, Dh as toClaimResult, th as toCreatedPool, Tc as toEstimatedPrice, tp as toFundingIndexCheckpointRow, Pd as toGroupCloseCandidates, Lp as toGroupTpSlChildren, Rp as toGroupTpSlOrders, tv as toInventoryTvl, iv as toInventoryTvlPoint, lp as toLiquidationDetailRow, ih as toListingAuthToken, Bh as toListingConfig, wh as toListingMarket, Zh as toListingMarketConfig, sg as toListingMarketDetail, Th as toListingMarketPage, ah as toListingSignInMessage, Wh as toListingStatus, Eh as toListingValue, Zf as toMarginTransferRow, Ih as toMarketDepositAddress, vl as toMarketFundingInfo, pd as toPendingInstantClose, Ah as toPoolClaim, jh as toPoolClaimHistoryPage, dg as toPoolPositions, gg as toPoolQuote, t_ as toPoolRewardPoint, h_ as toPoolTransaction, g_ as toPoolTransactionPage, Hd as toQuoteEventRow, Xd as toQuoteFundingRow, ap as toQuoteFundingSettlementRow, sf as toQuoteHistoryRow, Wg as toRefundRequest, Gg as toRefundResult, Jg as toRetryListingInfo, Xg as toRetryListingResult, Cl as toRevenueRecord, bp as toSignableTpSlMessage, jl as toSolverDailyVolume, J_ as toSolverRevenue, Dl as toSolverSymbols, Ef as toSubgraphQuoteRow, Vs as toThresholdSeconds, w_ as toTokenPrice, ym as toTradingViewDatafeed, gm as toTradingViewResolution, dm as toTransferRow, vf as toUnifiedQuoteFromInstantClose, yf as toUnifiedQuoteFromInstantOpen, bf as toUnifiedQuoteFromOnchain, eg as toUpdateListingMarketConfigRequest, Og as toUserListingMarket, kg as toUserListingMarketPage, Tg as toUserPoolProfit, n_ as toUserPoolRewardChart, jg as toUserTransaction, Mg as toUserTransactionPage, V_ as toWeeklyListingLimit, bc as toWeiBigInt, G_ as toWithdrawRequest, kp as triggerPriceToWei, tg as updateListingMarketConfig, ig as updateListingMarketConfigMutationOptions, Td as validateInstantCloseAgainstMarket, kc as validateInstantOpenAgainstMarket, Ac as validateInstantOpenBalanceFunding, Np as validateTpSl, me as waitForGaslessRequest, Zm as walkOrderbook, Ym as watchBinanceDepth, wm as watchBinanceKlines, xs as watchBinancePrices, Ss as watchEnigmaPrices, fe as watchGaslessRequest, vs as watchNotifications, Cs as watchPrices, nm as watchTpSlNotifications, Aa as withdraw, Pa as withdrawAuto, Go as withdrawAutoMutationOptions, K_ as withdrawLp, q_ as withdrawLpMutationOptions, Wo as withdrawMutationOptions };
182
+ import { getGaslessBatchFunding as oi } from "./gasless/get-gasless-batch-funding/get-gasless-batch-funding.js";
183
+ import { getGaslessBatchFundingQueryKey as si, getGaslessBatchFundingQueryOptions as ci } from "./gasless/get-gasless-batch-funding/query.js";
184
+ import { getGaslessWalletCreationFee as li } from "./gasless/get-gasless-wallet-creation-fee/get-gasless-wallet-creation-fee.js";
185
+ import { getGaslessDepositPolicy as ui } from "./gasless/get-gasless-deposit-policy/get-gasless-deposit-policy.js";
186
+ import { getGaslessDepositPolicyQueryKey as di, getGaslessDepositPolicyQueryOptions as fi } from "./gasless/get-gasless-deposit-policy/query.js";
187
+ import { getGaslessFeeQuoteQueryKey as pi, getGaslessFeeQuoteQueryOptions as mi } from "./gasless/get-gasless-fee-quote/query.js";
188
+ import { getGaslessMarginFunding as hi } from "./gasless/get-gasless-margin-funding/get-gasless-margin-funding.js";
189
+ import { getGaslessMarginFundingQueryKey as gi, getGaslessMarginFundingQueryOptions as _i } from "./gasless/get-gasless-margin-funding/query.js";
190
+ import { getGaslessRequestQueryKey as vi, getGaslessRequestQueryOptions as yi } from "./gasless/get-gasless-request/query.js";
191
+ import { getGaslessRequestTransactions as bi } from "./gasless/get-gasless-request-transactions/get-gasless-request-transactions.js";
192
+ import { getGaslessRequestTransactionsQueryKey as xi, getGaslessRequestTransactionsQueryOptions as Si } from "./gasless/get-gasless-request-transactions/query.js";
193
+ import { getGaslessWalletAddressQueryKey as Ci, getGaslessWalletAddressQueryOptions as wi } from "./gasless/get-gasless-wallet-address/query.js";
194
+ import { getGaslessWalletCreationFeeQueryKey as Ti, getGaslessWalletCreationFeeQueryOptions as Ei } from "./gasless/get-gasless-wallet-creation-fee/query.js";
195
+ import { getGaslessWalletNonceQueryKey as Di, getGaslessWalletNonceQueryOptions as Oi } from "./gasless/get-gasless-wallet-nonce/query.js";
196
+ import { ADD_MARGIN_TO_NEXT_VA_SELECTOR as ki, INSTANT_TRADE_REQUIRED_SELECTORS as Ai, LEGACY_INSTANT_TRADE_REQUIRED_SELECTORS as ji, REQUEST_TO_CLOSE_POSITION_SELECTOR as Mi, SEND_QUOTE_SELECTOR as Ni, SEND_QUOTE_WITH_AFFILIATE_AND_DATA_SELECTOR as Pi, getInstantTradeRequiredSelectors as Fi } from "./solvers/instant-open/shared/selectors.js";
197
+ import { getSessionKeySelectors as Ii } from "./gasless/get-session-key-selectors.js";
198
+ import { isNewerGaslessRequest as Li } from "./gasless/is-newer-gasless-request.js";
199
+ import { relayGaslessBatch as Ri } from "./gasless/relay-gasless-batch/relay-gasless-batch.js";
200
+ import { relayGaslessBatchMutationOptions as zi } from "./gasless/relay-gasless-batch/query.js";
201
+ import { relayGrantDelegation as Bi } from "./gasless/relay-grant-delegation/relay-grant-delegation.js";
202
+ import { relayGrantDelegationMutationOptions as Vi } from "./gasless/relay-grant-delegation/query.js";
203
+ import { relayInstantOperationsMutationOptions as Hi } from "./gasless/relay-instant-operations/query.js";
204
+ import { resubmitGaslessRequest as Ui } from "./gasless/resubmit-gasless-request/resubmit-gasless-request.js";
205
+ import { resubmitGaslessRequestMutationOptions as Wi } from "./gasless/resubmit-gasless-request/query.js";
206
+ import { settleGaslessDepositExistingAccount as Gi } from "./gasless/settle-gasless-deposit-existing-account/settle-gasless-deposit-existing-account.js";
207
+ import { settleGaslessDepositExistingAccountMutationOptions as Ki } from "./gasless/settle-gasless-deposit-existing-account/query.js";
208
+ import { settleGaslessDepositNewAccount as qi } from "./gasless/settle-gasless-deposit-new-account/settle-gasless-deposit-new-account.js";
209
+ import { settleGaslessDepositNewAccountMutationOptions as Ji } from "./gasless/settle-gasless-deposit-new-account/query.js";
210
+ import { allocate as Yi } from "./symmio-contracts/symmio/actions/allocate.js";
211
+ import { OPERATIONAL_FEE_LIST_PRICE_MULTIPLIER as Xi, approveOperationalFee as Zi } from "./symmio-contracts/symmio/actions/approve-operational-fee.js";
212
+ import { approveOperationalFeeAllowance as Qi } from "./symmio-contracts/symmio/actions/approve-operational-fee-allowance.js";
213
+ import { MUON_APP as $i, MUON_METHOD_PARTY_A_OVERVIEW as ea, MUON_METHOD_PRICE as ta, MUON_METHOD_PRICE_RANGE as na, MUON_METHOD_SETTLE_UPNL as ra, MUON_METHOD_UPNL_A as ia, MUON_METHOD_UPNL_A_WITH_SYMBOL_PRICE as aa, MUON_METHOD_UPNL_B as oa, MUON_METHOD_UPNL_PAIR as sa, MUON_METHOD_UPNL_WITH_SYMBOL_PRICE as ca } from "./muon/types.js";
214
+ import { getDeallocateUpnlSig as la } from "./muon/deallocate-upnl-sig/get-deallocate-upnl-sig.js";
215
+ import { deallocate as ua } from "./symmio-contracts/symmio/actions/deallocate.js";
216
+ import { deallocateAndInitiateWithdraw as da } from "./symmio-contracts/symmio/actions/deallocate-and-initiate-withdraw.js";
217
+ import { simulateFinalizeWithdrawRequest as fa } from "./symmio-contracts/symmio/actions/simulate-finalize-withdraw-request.js";
218
+ import { finalizeWithdrawRequest as pa } from "./symmio-contracts/symmio/actions/finalize-withdraw-request.js";
219
+ import { forceCancelCloseRequest as ma } from "./symmio-contracts/symmio/actions/force-cancel-close-request.js";
220
+ import { forceCancelQuote as ha } from "./symmio-contracts/symmio/actions/force-cancel-quote.js";
221
+ import { getCoolDownsOfMA as ga } from "./symmio-contracts/symmio/actions/get-cool-downs-of-ma.js";
222
+ import { getFeeForUser as _a } from "./symmio-contracts/symmio/actions/get-fee-for-user.js";
223
+ import { getLastWithdrawRequestId as va } from "./symmio-contracts/symmio/actions/get-last-withdraw-request-id.js";
224
+ import { getOnchainContractMarkets as ya } from "./symmio-contracts/symmio/actions/get-onchain-contract-markets.js";
225
+ import { getOperationalFeeAllowance as ba } from "./symmio-contracts/symmio/actions/get-operational-fee-allowance.js";
226
+ import { getPartyAOpenPositions as xa } from "./symmio-contracts/symmio/actions/get-party-a-open-positions.js";
227
+ import { getPartyAPendingQuotes as Sa } from "./symmio-contracts/symmio/actions/get-party-a-pending-quotes.js";
228
+ import { getPendingQuotes as Ca } from "./symmio-contracts/symmio/actions/get-pending-quotes.js";
229
+ import { getPendingWithdrawRequests as wa } from "./symmio-contracts/symmio/actions/get-pending-withdraw-requests.js";
230
+ import { getQuote as Ta } from "./symmio-contracts/symmio/actions/get-quote.js";
231
+ import { getWithdrawRequests as Ea } from "./symmio-contracts/symmio/actions/get-withdraw-requests.js";
232
+ import { getWithdrawableTime as Da } from "./symmio-contracts/symmio/actions/get-withdrawable-time.js";
233
+ import { requestCancelWithdraw as Oa } from "./symmio-contracts/symmio/actions/request-cancel-withdraw.js";
234
+ import { requestToCancelCloseRequest as ka } from "./symmio-contracts/symmio/actions/request-to-cancel-close-request.js";
235
+ import { requestToCancelQuote as Aa } from "./symmio-contracts/symmio/actions/request-to-cancel-quote.js";
236
+ import { simulateAllocate as ja } from "./symmio-contracts/symmio/actions/simulate-allocate.js";
237
+ import { simulateDeallocate as Ma } from "./symmio-contracts/symmio/actions/simulate-deallocate.js";
238
+ import { simulateDeallocateAndInitiateWithdraw as Na } from "./symmio-contracts/symmio/actions/simulate-deallocate-and-initiate-withdraw.js";
239
+ import { simulateInitiateWithdraw as Pa } from "./symmio-contracts/symmio/actions/simulate-initiate-withdraw.js";
240
+ import { simulateRequestCancelWithdraw as Fa } from "./symmio-contracts/symmio/actions/simulate-request-cancel-withdraw.js";
241
+ import { withdraw as Ia } from "./symmio-contracts/symmio/actions/withdraw.js";
242
+ import { collateralToCore18 as La, core18ToCollateral as Ra } from "./shared/utils/core-units.js";
243
+ import { createClassicWithdrawPart as za } from "./symmio-contracts/symmio/parts.js";
244
+ import { withdrawAuto as Ba } from "./symmio-contracts/symmio/actions/withdraw-auto.js";
245
+ import { executeAccountCalls as Va } from "./symmio-contracts/symmio/execute-account-calls/execute-account-calls.js";
246
+ import { executeAccountCallsMutationOptions as Ha } from "./symmio-contracts/symmio/execute-account-calls/query.js";
247
+ import { getDeallocateDebounceTime as Ua } from "./symmio-contracts/symmio/get-deallocate-debounce-time/get-deallocate-debounce-time.js";
248
+ import { getDeallocateDebounceTimeQueryKey as Wa, getDeallocateDebounceTimeQueryOptions as Ga } from "./symmio-contracts/symmio/get-deallocate-debounce-time/query.js";
249
+ import { getFundingFeesOfPartyB as Ka } from "./symmio-contracts/symmio/get-funding-fees-of-party-b/get-funding-fees-of-party-b.js";
250
+ import { getFundingFeesOfPartyBQueryKey as qa, getFundingFeesOfPartyBQueryOptions as Ja } from "./symmio-contracts/symmio/get-funding-fees-of-party-b/query.js";
251
+ import { getPartyAOpenPositionsBatch as Ya } from "./symmio-contracts/symmio/get-party-a-open-positions-batch/get-party-a-open-positions-batch.js";
252
+ import { getPartyAOpenPositionsBatchQueryKey as Xa, getPartyAOpenPositionsBatchQueryOptions as Za } from "./symmio-contracts/symmio/get-party-a-open-positions-batch/query.js";
253
+ import { getPendingWithdrawRequestsBatch as Qa } from "./symmio-contracts/symmio/get-pending-withdraw-requests-batch/get-pending-withdraw-requests-batch.js";
254
+ import { getPendingWithdrawRequestsBatchQueryKey as $a, getPendingWithdrawRequestsBatchQueryOptions as eo } from "./symmio-contracts/symmio/get-pending-withdraw-requests-batch/query.js";
255
+ import { getWithdrawCooldownOf as to } from "./symmio-contracts/symmio/get-withdraw-cooldown-of/get-withdraw-cooldown-of.js";
256
+ import { getWithdrawCooldownOfQueryKey as no, getWithdrawCooldownOfQueryOptions as ro } from "./symmio-contracts/symmio/get-withdraw-cooldown-of/query.js";
257
+ import { isPartyALiquidated as io } from "./symmio-contracts/symmio/is-party-a-liquidated/is-party-a-liquidated.js";
258
+ import { isPartyALiquidatedQueryKey as ao, isPartyALiquidatedQueryOptions as oo } from "./symmio-contracts/symmio/is-party-a-liquidated/query.js";
259
+ import { allocateMutationOptions as so } from "./symmio-contracts/symmio/query/allocate.js";
260
+ import { approveOperationalFeeMutationOptions as co } from "./symmio-contracts/symmio/query/approve-operational-fee.js";
261
+ import { approveOperationalFeeAllowanceMutationOptions as lo } from "./symmio-contracts/symmio/query/approve-operational-fee-allowance.js";
262
+ import { deallocateMutationOptions as uo } from "./symmio-contracts/symmio/query/deallocate.js";
263
+ import { deallocateAndInitiateWithdrawMutationOptions as fo } from "./symmio-contracts/symmio/query/deallocate-and-initiate-withdraw.js";
264
+ import { finalizeWithdrawRequestMutationOptions as po } from "./symmio-contracts/symmio/query/finalize-withdraw-request.js";
265
+ import { forceCancelCloseRequestMutationOptions as mo } from "./symmio-contracts/symmio/query/force-cancel-close-request.js";
266
+ import { forceCancelQuoteMutationOptions as ho } from "./symmio-contracts/symmio/query/force-cancel-quote.js";
267
+ import { getCoolDownsOfMAQueryKey as go, getCoolDownsOfMAQueryOptions as _o } from "./symmio-contracts/symmio/query/get-cool-downs-of-ma.js";
268
+ import { getFeeForUserQueryKey as vo, getFeeForUserQueryOptions as yo } from "./symmio-contracts/symmio/query/get-fee-for-user.js";
269
+ import { getLastWithdrawRequestIdQueryKey as bo, getLastWithdrawRequestIdQueryOptions as xo } from "./symmio-contracts/symmio/query/get-last-withdraw-request-id.js";
270
+ import { getOnchainContractMarketsQueryKey as So, getOnchainContractMarketsQueryOptions as Co } from "./symmio-contracts/symmio/query/get-onchain-contract-markets.js";
271
+ import { getOperationalFeeAllowanceQueryKey as wo, getOperationalFeeAllowanceQueryOptions as To } from "./symmio-contracts/symmio/query/get-operational-fee-allowance.js";
272
+ import { getPartyAOpenPositionsQueryKey as Eo, getPartyAOpenPositionsQueryOptions as Do } from "./symmio-contracts/symmio/query/get-party-a-open-positions.js";
273
+ import { getPartyAPendingQuotesQueryKey as Oo, getPartyAPendingQuotesQueryOptions as ko } from "./symmio-contracts/symmio/query/get-party-a-pending-quotes.js";
274
+ import { getPendingQuotesQueryKey as Ao, getPendingQuotesQueryOptions as jo } from "./symmio-contracts/symmio/query/get-pending-quotes.js";
275
+ import { getPendingWithdrawRequestsQueryKey as Mo, getPendingWithdrawRequestsQueryOptions as No } from "./symmio-contracts/symmio/query/get-pending-withdraw-requests.js";
276
+ import { getQuoteQueryKey as Po, getQuoteQueryOptions as Fo } from "./symmio-contracts/symmio/query/get-quote.js";
277
+ import { getWithdrawRequestsQueryKey as Io, getWithdrawRequestsQueryOptions as Lo } from "./symmio-contracts/symmio/query/get-withdraw-requests.js";
278
+ import { getWithdrawableTimeQueryKey as Ro, getWithdrawableTimeQueryOptions as zo } from "./symmio-contracts/symmio/query/get-withdrawable-time.js";
279
+ import { initiateWithdrawMutationOptions as Bo } from "./symmio-contracts/symmio/query/initiate-withdraw.js";
280
+ import { requestCancelWithdrawMutationOptions as Vo } from "./symmio-contracts/symmio/query/request-cancel-withdraw.js";
281
+ import { requestToCancelCloseRequestMutationOptions as Ho } from "./symmio-contracts/symmio/query/request-to-cancel-close-request.js";
282
+ import { requestToCancelQuoteMutationOptions as Uo } from "./symmio-contracts/symmio/query/request-to-cancel-quote.js";
283
+ import { simulateAllocateMutationOptions as Wo } from "./symmio-contracts/symmio/query/simulate-allocate.js";
284
+ import { simulateDeallocateMutationOptions as Go } from "./symmio-contracts/symmio/query/simulate-deallocate.js";
285
+ import { simulateDeallocateAndInitiateWithdrawMutationOptions as Ko } from "./symmio-contracts/symmio/query/simulate-deallocate-and-initiate-withdraw.js";
286
+ import { simulateFinalizeWithdrawRequestMutationOptions as qo } from "./symmio-contracts/symmio/query/simulate-finalize-withdraw-request.js";
287
+ import { simulateInitiateWithdrawMutationOptions as Jo } from "./symmio-contracts/symmio/query/simulate-initiate-withdraw.js";
288
+ import { simulateRequestCancelWithdrawMutationOptions as Yo } from "./symmio-contracts/symmio/query/simulate-request-cancel-withdraw.js";
289
+ import { withdrawMutationOptions as Xo } from "./symmio-contracts/symmio/query/withdraw.js";
290
+ import { withdrawAutoMutationOptions as Zo } from "./symmio-contracts/symmio/query/withdraw-auto.js";
291
+ import { OrderType as Qo, PositionType as $o, QuoteStatus as es, WithdrawStatus as ts } from "./symmio-contracts/symmio/types.js";
292
+ import { getEnigmaPriceServiceHealth as ns } from "./price-service/enigma/health/get-enigma-price-service-health.js";
293
+ import { getEnigmaPriceServiceHealthQueryKey as rs, getEnigmaPriceServiceHealthQueryOptions as is } from "./price-service/enigma/health/query.js";
294
+ import { getEnigmaPriceServiceMetadata as as } from "./price-service/enigma/metadata/get-enigma-price-service-metadata.js";
295
+ import { getEnigmaPriceServiceMetadataQueryKey as os, getEnigmaPriceServiceMetadataQueryOptions as ss } from "./price-service/enigma/metadata/query.js";
296
+ import { getEnigmaPriceServicePricesByAddresses as cs } from "./price-service/enigma/prices-by-addresses/get-enigma-price-service-prices-by-addresses.js";
297
+ import { getEnigmaPriceServicePricesByAddressesQueryKey as ls, getEnigmaPriceServicePricesByAddressesQueryOptions as us } from "./price-service/enigma/prices-by-addresses/query.js";
298
+ import { getEnigmaPriceServicePricesByNames as ds } from "./price-service/enigma/prices-by-names/get-enigma-price-service-prices-by-names.js";
299
+ import { getEnigmaPriceServicePricesByNamesQueryKey as fs, getEnigmaPriceServicePricesByNamesQueryOptions as ps } from "./price-service/enigma/prices-by-names/query.js";
300
+ import { getEnigmaPriceServiceSymbolsInfo as ms } from "./price-service/enigma/symbols-info/get-enigma-price-service-symbols-info.js";
301
+ import { getEnigmaPriceServiceSymbolsInfoQueryKey as hs, getEnigmaPriceServiceSymbolsInfoQueryOptions as gs } from "./price-service/enigma/symbols-info/query.js";
302
+ import { ActionStatus as _s, NotificationType as vs } from "./websocket/notifications/types.js";
303
+ import { classifyNotification as ys, normalizeNotification as bs } from "./websocket/notifications/normalize-notification.js";
304
+ import { buildSubscribeMessage as xs } from "./websocket/notifications/adapters/enigma-notifications.js";
305
+ import { buildRasaSubscribeMessage as Ss } from "./websocket/notifications/adapters/rasa-notifications-hub.js";
306
+ import { parseNotificationFrame as Cs } from "./websocket/notifications/parse-notification-frame.js";
307
+ import { watchNotifications as ws } from "./websocket/notifications/watch-notifications.js";
308
+ import { parseBinancePriceFrame as Ts } from "./websocket/prices/parse-binance-price-frame.js";
309
+ import { parsePriceFrame as Es } from "./websocket/prices/parse-price-frame.js";
310
+ import { watchBinancePrices as Ds } from "./websocket/prices/watch-binance-prices.js";
311
+ import { watchEnigmaPrices as Os } from "./websocket/prices/watch-enigma-prices.js";
312
+ import { watchPrices as ks } from "./websocket/prices/watch-prices.js";
313
+ import { getBinanceHealth as As } from "./price-service/binance/health/get-binance-health.js";
314
+ import { getBinanceHealthQueryKey as js, getBinanceHealthQueryOptions as Ms } from "./price-service/binance/health/query.js";
315
+ import { getBinancePremiumIndex as Ns } from "./price-service/binance/premium-index/get-binance-premium-index.js";
316
+ import { getBinancePremiumIndexQueryKey as Ps, getBinancePremiumIndexQueryOptions as Fs } from "./price-service/binance/premium-index/query.js";
317
+ import { getBinanceSymbolsInfo as Is } from "./price-service/binance/symbols-info/get-binance-symbols-info.js";
318
+ import { getBinanceSymbolsInfoQueryKey as Ls, getBinanceSymbolsInfoQueryOptions as Rs } from "./price-service/binance/symbols-info/query.js";
319
+ import { getMarkPrices as zs } from "./price-service/get-mark-prices/get-mark-prices.js";
320
+ import { getMarkPricesQueryKey as Bs, getMarkPricesQueryOptions as Vs } from "./price-service/get-mark-prices/query.js";
321
+ import { searchNotifications as Hs } from "./notifications/search/search-notifications.js";
322
+ import { searchNotificationsQueryKey as Us, searchNotificationsQueryOptions as Ws } from "./notifications/search/query.js";
323
+ import { calculateSolverCloseFee as Gs, getSolverCloseFeeRate as Ks, toThresholdSeconds as qs } from "./solvers/shared/solver-close-fee.js";
324
+ import { getMarkets as Js } from "./solvers/markets/get-markets.js";
325
+ import { getMarketsQueryKey as Ys, getMarketsQueryOptions as Xs } from "./solvers/markets/query.js";
326
+ import { getSolverCapabilities as Zs, supportsGroupClose as Qs, supportsLimitOrder as $s } from "./solvers/capabilities.js";
327
+ import { ZERO_UPNL_SIG as ec, buildQuoteMetadata as tc, encodeAddMarginToNextVA as nc, encodeSendQuote as rc, encodeSendQuoteWithAffiliateAndData as ic, getFakeSendQuoteMuonSignature as ac, sendQuoteUpnlSigFlexRange as oc } from "./solvers/instant-open/shared/calldata.js";
328
+ import { ORDER_TYPE_MARKET as sc, VIRTUAL_ACCOUNT_ISOLATION_TYPE as cc, isolationTypeForSide as lc } from "./solvers/instant-open/shared/types.js";
329
+ import { sendInstantOpen as uc, sendRasaInstantOpen as dc } from "./solvers/instant-open/shared/hedger-api.js";
330
+ import { submitPreparedInstantOpen as fc } from "./solvers/instant-open/instant-open/prepared/submit-prepared-instant-open.js";
331
+ import { getSendQuoteUpnlSig as pc } from "./muon/send-quote-upnl-sig/get-send-quote-upnl-sig.js";
332
+ import { getSendQuoteUpnlSigQueryKey as mc, getSendQuoteUpnlSigQueryOptions as hc } from "./muon/send-quote-upnl-sig/query.js";
333
+ import { MARKET_ORDER_DEADLINE_SECONDS as gc, SHORT_FUNDING_BUFFER_PERCENT as _c, calculateAvailableInstantOpenMargin as vc, calculateExpectedSettlementLoss as yc, calculateMargin as bc, calculateSolverFees as xc, calculateTradeParams as Sc, computePlatformFee as Cc, computePlatformFeeLegs as wc, getMarketOrderDeadline as Tc, toWeiBigInt as Ec } from "./solvers/instant-open/shared/trade-math.js";
334
+ import { instantOpen as Dc, prepareInstantOpen as Oc } from "./solvers/instant-open/instant-open/instant-open.js";
335
+ import { instantOpenMutationOptions as kc } from "./solvers/instant-open/instant-open/query.js";
336
+ import { decimalPriceToWei as Ac } from "./shared/utils/price.js";
337
+ import { toEstimatedPrice as jc } from "./solvers/estimated-price/to-estimated-price.js";
338
+ import { getEstimatedPrice as Mc } from "./solvers/estimated-price/get-estimated-price.js";
339
+ import { deriveAutoSlippage as Nc } from "./solvers/instant-open/shared/open-estimate-guard.js";
340
+ import { checkNotionalCap as Pc } from "./solvers/notional-cap/check-notional-cap.js";
341
+ import { validateInstantOpenAgainstMarket as Fc } from "./solvers/instant-open/shared/quote-constraints.js";
342
+ import { validateInstantOpenBalanceFunding as Ic } from "./solvers/instant-open/shared/resolve-instant-open-sizing.js";
343
+ import { resolveFeeRates as Lc } from "./solvers/shared/resolvers/resolve-fee-rates.js";
344
+ import { resolveMarkPrice as Rc } from "./solvers/shared/resolvers/resolve-mark-price.js";
345
+ import { resolveMarket as zc } from "./solvers/shared/resolvers/resolve-market.js";
346
+ import { getLockedParams as Bc } from "./solvers/locked-params/get-locked-params.js";
347
+ import { resolveLockedParams as Vc } from "./solvers/instant-open/prepare-instant-open-params/resolvers/resolve-locked-params.js";
348
+ import { prepareInstantOpenParams as Hc } from "./solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.js";
349
+ import { prepareLimitOpenParams as Uc } from "./solvers/limit-open/prepare-limit-open-params.js";
350
+ import { limitOpenAuto as Wc } from "./solvers/limit-open/limit-open-auto.js";
351
+ import { limitOpenAutoMutationOptions as Gc } from "./solvers/limit-open/query.js";
352
+ import { encodeRequestToClosePosition as Kc } from "./solvers/instant-close/shared/calldata.js";
353
+ import { sendInstantClose as qc } from "./solvers/instant-close/shared/hedger-api.js";
354
+ import { instantClose as Jc } from "./solvers/instant-close/instant-close/instant-close.js";
355
+ import { calculateClosePrice as Yc, clampClosePrecision as Xc } from "./solvers/instant-close/shared/close-math.js";
356
+ import { prepareInstantCloseParams as Zc } from "./solvers/instant-close/prepare-instant-close-params/prepare-instant-close-params.js";
357
+ import { prepareLimitCloseParams as Qc } from "./solvers/limit-close/prepare-limit-close-params.js";
358
+ import { limitCloseAuto as $c } from "./solvers/limit-close/limit-close-auto.js";
359
+ import { limitCloseAutoMutationOptions as el } from "./solvers/limit-close/query.js";
360
+ import { BINANCE_EXCHANGE_INFO_PATH as tl, BINANCE_KLINES_PATH as nl, BINANCE_MAX_LIMIT as rl, BINANCE_REST_URL as il, BINANCE_WS_URL as al } from "./candles/sources/binance/constants.js";
361
+ import { parseBinanceKline as ol, parseBinanceKlineEvent as sl } from "./candles/sources/binance/parse-kline.js";
362
+ import { getForceClosePriceSig as cl } from "./muon/force-close-price-sig/get-force-close-price-sig.js";
363
+ import { checkForceCloseEligibility as ll, checkForceClosePriceReached as ul, findForceCloseWindow as dl, previewForceClosePrice as fl } from "./solvers/force-close/force-close-math.js";
364
+ import { forceClosePosition as pl } from "./solvers/force-close/force-close-position.js";
365
+ import { getForceCloseParams as ml } from "./solvers/force-close/get-force-close-params.js";
366
+ import { forceCloseAuto as hl } from "./solvers/force-close/force-close-auto.js";
367
+ import { forceCloseAutoMutationOptions as gl, forceClosePositionMutationOptions as _l, getForceCloseParamsQueryKey as vl, getForceCloseParamsQueryOptions as yl } from "./solvers/force-close/query.js";
368
+ import { calculatePriceImpact as bl } from "./solvers/estimated-price/price-impact.js";
369
+ import { getEstimatedPriceQueryKey as xl, getEstimatedPriceQueryOptions as Sl } from "./solvers/estimated-price/query.js";
370
+ import { supportsEstimatedPrice as Cl } from "./solvers/estimated-price/supports-estimated-price.js";
371
+ import { toMarketFundingInfo as wl } from "./solvers/funding-info/to-funding-info.js";
372
+ import { getFundingInfo as Tl } from "./solvers/funding-info/get-funding-info.js";
373
+ import { projectFundingRate as El } from "./solvers/funding-info/project-funding-rate.js";
374
+ import { getFundingInfoQueryKey as Dl, getFundingInfoQueryOptions as Ol } from "./solvers/funding-info/query.js";
375
+ import { toRevenueRecord as kl } from "./solvers/revenue-records/to-revenue-record.js";
376
+ import { getRevenueRecords as Al } from "./solvers/revenue-records/get-revenue-records.js";
377
+ import { getRevenueRecordsQueryKey as jl, getRevenueRecordsQueryOptions as Ml } from "./solvers/revenue-records/query.js";
378
+ import { toSolverSymbols as Nl } from "./solvers/symbols/to-solver-symbol.js";
379
+ import { getSymbols as Pl } from "./solvers/symbols/get-symbols.js";
380
+ import { getSymbolsQueryKey as Fl, getSymbolsQueryOptions as Il } from "./solvers/symbols/query.js";
381
+ import { toSolverDailyVolume as Ll } from "./solvers/trade-volume/to-daily-volume.js";
382
+ import { getTradeVolume as Rl } from "./solvers/trade-volume/get-trade-volume.js";
383
+ import { getTradeVolumeQueryKey as zl, getTradeVolumeQueryOptions as Bl } from "./solvers/trade-volume/query.js";
384
+ import { getErrorMessage as Vl } from "./solvers/get-error-message/get-error-message.js";
385
+ import { getErrorMessageQueryKey as Hl, getErrorMessageQueryOptions as Ul } from "./solvers/get-error-message/query.js";
386
+ import { getPartyAUpnl as Wl } from "./solvers/get-party-a-upnl/get-party-a-upnl.js";
387
+ import { getPartyAUpnlQueryKey as Gl, getPartyAUpnlQueryOptions as Kl } from "./solvers/get-party-a-upnl/query.js";
388
+ import { getSolverBalanceInfo as ql } from "./solvers/get-solver-balance-info/get-solver-balance-info.js";
389
+ import { getSolverBalanceInfoQueryKey as Jl, getSolverBalanceInfoQueryOptions as Yl } from "./solvers/get-solver-balance-info/query.js";
390
+ import { getSolverOpenInterest as Xl } from "./solvers/get-solver-open-interest/get-solver-open-interest.js";
391
+ import { getSolverOpenInterestQueryKey as Zl, getSolverOpenInterestQueryOptions as Ql } from "./solvers/get-solver-open-interest/query.js";
392
+ import { getSolverPriceRange as $l } from "./solvers/get-solver-price-range/get-solver-price-range.js";
393
+ import { getSolverPriceRangeQueryKey as eu, getSolverPriceRangeQueryOptions as tu } from "./solvers/get-solver-price-range/query.js";
394
+ import { getSolverReadiness as nu } from "./solvers/get-solver-readiness/get-solver-readiness.js";
395
+ import { getSolverReadinessQueryKey as ru, getSolverReadinessQueryOptions as iu } from "./solvers/get-solver-readiness/query.js";
396
+ import { getMarketInfo as au } from "./solvers/market-info/get-market-info.js";
397
+ import { getMarketInfoQueryKey as ou, getMarketInfoQueryOptions as su } from "./solvers/market-info/query.js";
398
+ import { getLockedParamsQueryKey as cu, getLockedParamsQueryOptions as lu } from "./solvers/locked-params/query.js";
399
+ import { getNotionalCapPage as uu } from "./solvers/notional-cap/get-notional-cap-page.js";
400
+ import { getNotionalCapAll as du } from "./solvers/notional-cap/get-notional-cap-all.js";
401
+ import { getNotionalCapBySymbolId as fu } from "./solvers/notional-cap/get-notional-cap-by-symbol-id.js";
402
+ import { getOpenInterestBySymbolId as pu } from "./solvers/notional-cap/get-open-interest-by-symbol-id.js";
403
+ import { getNotionalCapBySymbolIdQueryKey as mu, getNotionalCapBySymbolIdQueryOptions as hu } from "./solvers/notional-cap/query.js";
404
+ import { getNotionalCapAllQueryKey as gu, getNotionalCapAllQueryOptions as _u } from "./solvers/notional-cap/query-all.js";
405
+ import { getOpenInterestBySymbolIdQueryKey as vu, getOpenInterestBySymbolIdQueryOptions as yu } from "./solvers/notional-cap/query-open-interest.js";
406
+ import { getNotionalCapPageQueryKey as bu, getNotionalCapPageQueryOptions as xu } from "./solvers/notional-cap/query-page.js";
407
+ import { getSolverErrorCodes as Su } from "./solvers/error-codes/get-solver-error-codes.js";
408
+ import { getSolverErrorCodesQueryKey as Cu, getSolverErrorCodesQueryOptions as wu } from "./solvers/error-codes/query.js";
409
+ import { getDeallocateUpnlSigQueryKey as Tu, getDeallocateUpnlSigQueryOptions as Eu } from "./muon/deallocate-upnl-sig/query.js";
410
+ import { getForceClosePriceSigQueryKey as Du, getForceClosePriceSigQueryOptions as Ou } from "./muon/force-close-price-sig/query.js";
411
+ import { getMuonPartyAOverview as ku } from "./muon/party-a-overview/get-muon-party-a-overview.js";
412
+ import { getMuonPartyAOverviewQueryKey as Au, getMuonPartyAOverviewQueryOptions as ju } from "./muon/party-a-overview/query.js";
413
+ import { getMuonPrice as Mu } from "./muon/price/get-muon-price.js";
414
+ import { getMuonPriceQueryKey as Nu, getMuonPriceQueryOptions as Pu } from "./muon/price/query.js";
415
+ import { getMuonPriceRange as Fu } from "./muon/price-range/get-muon-price-range.js";
416
+ import { getMuonPriceRangeQueryKey as Iu, getMuonPriceRangeQueryOptions as Lu } from "./muon/price-range/query.js";
417
+ import { getMuonSettleUpnl as Ru } from "./muon/settle-upnl/get-muon-settle-upnl.js";
418
+ import { getMuonSettleUpnlQueryKey as zu, getMuonSettleUpnlQueryOptions as Bu } from "./muon/settle-upnl/query.js";
419
+ import { getMuonUpnl as Vu } from "./muon/upnl/get-muon-upnl.js";
420
+ import { getMuonUpnlQueryKey as Hu, getMuonUpnlQueryOptions as Uu } from "./muon/upnl/query.js";
421
+ import { getMuonUpnlA as Wu } from "./muon/upnl-a/get-muon-upnl-a.js";
422
+ import { getMuonUpnlAQueryKey as Gu, getMuonUpnlAQueryOptions as Ku } from "./muon/upnl-a/query.js";
423
+ import { getMuonUpnlAWithSymbolPrice as qu } from "./muon/upnl-a-with-symbol-price/get-muon-upnl-a-with-symbol-price.js";
424
+ import { getMuonUpnlAWithSymbolPriceQueryKey as Ju, getMuonUpnlAWithSymbolPriceQueryOptions as Yu } from "./muon/upnl-a-with-symbol-price/query.js";
425
+ import { getMuonUpnlB as Xu } from "./muon/upnl-b/get-muon-upnl-b.js";
426
+ import { getMuonUpnlBQueryKey as Zu, getMuonUpnlBQueryOptions as Qu } from "./muon/upnl-b/query.js";
427
+ import { getMuonUpnlWithSymbolPrice as $u } from "./muon/upnl-with-symbol-price/get-muon-upnl-with-symbol-price.js";
428
+ import { getMuonUpnlWithSymbolPriceQueryKey as ed, getMuonUpnlWithSymbolPriceQueryOptions as td } from "./muon/upnl-with-symbol-price/query.js";
429
+ import { sharePercent as nd } from "./shared/utils/percent.js";
430
+ import { getInstantOpenFees as rd } from "./solvers/instant-open/get-instant-open-fees/get-instant-open-fees.js";
431
+ import { getInstantOpenFeesQueryKey as id, getInstantOpenFeesQueryOptions as ad } from "./solvers/instant-open/get-instant-open-fees/query.js";
432
+ import { getInstantOpenQuoteId as od } from "./solvers/instant-open/get-instant-open-quote-id/get-instant-open-quote-id.js";
433
+ import { getInstantOpenQuoteIdQueryKey as sd, getInstantOpenQuoteIdQueryOptions as cd } from "./solvers/instant-open/get-instant-open-quote-id/query.js";
434
+ import { getInstantOpens as ld } from "./solvers/instant-open/get-instant-opens/get-instant-opens.js";
435
+ import { getInstantOpensQueryKey as ud, getInstantOpensQueryOptions as dd } from "./solvers/instant-open/get-instant-opens/query.js";
436
+ import { instantOpenAuto as fd } from "./solvers/instant-open/instant-open-auto/instant-open-auto.js";
437
+ import { instantOpenAutoMutationOptions as pd } from "./solvers/instant-open/instant-open-auto/query.js";
438
+ import { getPrepareInstantOpenParamsQueryKey as md, prepareInstantOpenParamsQueryOptions as hd } from "./solvers/instant-open/prepare-instant-open-params/query.js";
439
+ import { getInstantCloseFees as gd } from "./solvers/instant-close/get-instant-close-fees/get-instant-close-fees.js";
440
+ import { getInstantCloseFeesQueryKey as _d, getInstantCloseFeesQueryOptions as vd } from "./solvers/instant-close/get-instant-close-fees/query.js";
441
+ import { toPendingInstantClose as yd } from "./solvers/instant-close/get-instant-closes/to-pending-instant-close.js";
442
+ import { getInstantCloses as bd } from "./solvers/instant-close/get-instant-closes/get-instant-closes.js";
443
+ import { getInstantClosesQueryKey as xd, getInstantClosesQueryOptions as Sd } from "./solvers/instant-close/get-instant-closes/query.js";
444
+ import { instantCloseMutationOptions as Cd } from "./solvers/instant-close/instant-close/query.js";
445
+ import { instantCloseAuto as wd } from "./solvers/instant-close/instant-close-auto/instant-close-auto.js";
446
+ import { instantCloseAutoMutationOptions as Td } from "./solvers/instant-close/instant-close-auto/query.js";
447
+ import { MAX_INSTANT_CLOSE_BULK_ORDERS as Ed, instantCloseBulk as Dd } from "./solvers/instant-close/instant-close-bulk/instant-close-bulk.js";
448
+ import { instantCloseBulkMutationOptions as Od } from "./solvers/instant-close/instant-close-bulk/query.js";
449
+ import { instantCloseBulkAuto as kd } from "./solvers/instant-close/instant-close-bulk-auto/instant-close-bulk-auto.js";
450
+ import { instantCloseBulkAutoMutationOptions as Ad } from "./solvers/instant-close/instant-close-bulk-auto/query.js";
451
+ import { validateInstantCloseAgainstMarket as jd } from "./solvers/instant-close/shared/quote-constraints.js";
452
+ import { QuoteLifecycle as Md } from "./quotes/unified-quote.js";
453
+ import { applyNotificationToQuotes as Nd, classifyQuoteNotificationAction as Pd, isCancelAction as Fd, isCloseFillAction as Id, isOpenAnchorAction as Ld } from "./quotes/apply-notification.js";
454
+ import { minRemainingQuantityOf as Rd } from "./quotes/close-planning/min-remaining-quantity.js";
455
+ import { planGroupClose as zd } from "./quotes/close-planning/plan-group-close/plan-group-close.js";
456
+ import { toGroupCloseCandidates as Bd } from "./quotes/close-planning/to-close-candidates.js";
457
+ import { calculateClosePlatformFee as Vd } from "./quotes/fees/calculate-close-platform-fee.js";
458
+ import { calculateOpenPlatformFee as Hd } from "./quotes/fees/calculate-open-platform-fee.js";
459
+ import { fingerprintQuote as Ud } from "./quotes/fingerprint.js";
460
+ import { querySubgraph as Wd } from "./symmio-subgraph/query-subgraph/query-subgraph.js";
461
+ import { getQuerySubgraphQueryKey as Gd, querySubgraphQueryOptions as Kd } from "./symmio-subgraph/query-subgraph/query.js";
462
+ import { SUBGRAPH_MAX_PAGE_SIZE as qd } from "./symmio-subgraph/subgraph-filters.js";
463
+ import { toQuoteEventRow as Jd } from "./quotes/get-quote-events-by-type/to-quote-event-row.js";
464
+ import { DEFAULT_QUOTE_EVENTS_BY_TYPE_PAGE_SIZE as Yd, getQuoteEventsByType as Xd } from "./quotes/get-quote-events-by-type/get-quote-events-by-type.js";
465
+ import { getQuoteEventsByTypeQueryKey as Zd, getQuoteEventsByTypeQueryOptions as Qd } from "./quotes/get-quote-events-by-type/query.js";
466
+ import { FUNDING_HISTORY_EVENT_TYPES as $d, PRICE_HISTORY_EVENT_TYPES as ef, QuoteEventType as tf } from "./quotes/get-quote-events-by-type/types.js";
467
+ import { toQuoteFundingRow as nf } from "./quotes/get-quote-funding/to-funding-row.js";
468
+ import { QUOTES_FUNDING_MAX_IDS_PER_REQUEST as rf, getQuoteFunding as af } from "./quotes/get-quote-funding/get-quote-funding.js";
469
+ import { getQuoteFundingQueryKey as of, getQuoteFundingQueryOptions as sf } from "./quotes/get-quote-funding/query.js";
470
+ import { QuoteCloseEventType as cf, QuoteCloseType as lf } from "./quotes/get-quote-history/types.js";
471
+ import { closeTypeToEventTypes as uf, eventTypeToCloseType as df, eventTypeToQuoteStatus as ff } from "./quotes/get-quote-history/close-type.js";
472
+ import { toQuoteHistoryRow as pf } from "./quotes/get-quote-history/to-history-row.js";
473
+ import { getQuoteHistory as mf } from "./quotes/get-quote-history/get-quote-history.js";
474
+ import { getQuoteHistoryQueryKey as hf, getQuoteHistoryQueryOptions as gf } from "./quotes/get-quote-history/query.js";
475
+ import { getQuotePendingFunding as _f } from "./quotes/get-quote-pending-funding/get-quote-pending-funding.js";
476
+ import { getQuotePendingFundingQueryKey as vf, getQuotePendingFundingQueryOptions as yf } from "./quotes/get-quote-pending-funding/query.js";
477
+ import { getQuotesEventsByType as bf } from "./quotes/get-quotes-events-by-type/get-quotes-events-by-type.js";
478
+ import { getQuotesEventsByTypeQueryKey as xf, getQuotesEventsByTypeQueryOptions as Sf } from "./quotes/get-quotes-events-by-type/query.js";
479
+ import { lifecycleFromQuoteStatus as Cf, toUnifiedQuoteFromInstantClose as wf, toUnifiedQuoteFromInstantOpen as Tf, toUnifiedQuoteFromOnchain as Ef } from "./quotes/to-unified-quote.js";
480
+ import { reconcileQuotes as Df } from "./quotes/reconcile-quotes.js";
481
+ import { resolveQuoteAccounts as Of } from "./quotes/resolve-quote-accounts.js";
482
+ import { getSubAccountQuotes as kf } from "./quotes/get-sub-account-quotes/get-sub-account-quotes.js";
483
+ import { getSubAccountQuotesQueryKey as Af, getSubAccountQuotesQueryOptions as jf } from "./quotes/get-sub-account-quotes/query.js";
484
+ import { toSubgraphQuoteRow as Mf } from "./quotes/get-subgraph-quotes/to-subgraph-quote-row.js";
485
+ import { getSubgraphQuotes as Nf } from "./quotes/get-subgraph-quotes/get-subgraph-quotes.js";
486
+ import { getSubgraphQuotesQueryKey as Pf, getSubgraphQuotesQueryOptions as Ff } from "./quotes/get-subgraph-quotes/query.js";
487
+ import { aggregateGroupFunding as If } from "./quotes/grouping/aggregate-group-funding.js";
488
+ import { isActivePosition as Lf, isActiveQuoteStatus as Rf, isPendingOrder as zf, partitionQuotes as Bf } from "./quotes/grouping/partition-quotes.js";
489
+ import { aggregateGroupUpnl as Vf } from "./quotes/grouping/aggregate-group-upnl.js";
490
+ import { aggregateGroupMetrics as Hf } from "./quotes/grouping/aggregate-metrics.js";
491
+ import { assertQuoteGroupingSupported as Uf, keyQuoteByMarket as Wf, keyQuotePerQuote as Gf, resolveQuoteGroupingStrategy as Kf, supportsQuoteGrouping as qf } from "./quotes/grouping/group-strategy.js";
492
+ import { groupQuotes as Jf } from "./quotes/grouping/group-quotes.js";
493
+ import { calculateLiquidationPrice as Yf } from "./quotes/liquidation/calculate-liquidation-price.js";
494
+ import { shouldAccelerateOnchainReads as Xf, shouldAccelerateQuotePolling as Zf } from "./quotes/should-accelerate.js";
495
+ import { calculateQuoteLeverage as Qf } from "./quotes/upnl/calculate-quote-leverage.js";
496
+ import { calculateQuotePnl as $f } from "./quotes/upnl/calculate-quote-pnl.js";
497
+ import { calculateQuoteUpnl as ep } from "./quotes/upnl/calculate-quote-upnl.js";
498
+ import { calculateQuoteUpnlWei as tp } from "./quotes/upnl/calculate-quote-upnl-wei.js";
499
+ import { calculateMarginRisk as np } from "./margin/calculate-margin-risk.js";
500
+ import { toMarginTransferRow as rp } from "./margin/get-margin-transfers/to-margin-transfer-row.js";
501
+ import { getMarginTransfers as ip } from "./margin/get-margin-transfers/get-margin-transfers.js";
502
+ import { getMarginTransfersQueryKey as ap, getMarginTransfersQueryOptions as op } from "./margin/get-margin-transfers/query.js";
503
+ import { toFundingIndexCheckpointRow as sp } from "./funding/get-funding-index-checkpoints/to-funding-index-checkpoint-row.js";
504
+ import { getFundingIndexCheckpoints as cp } from "./funding/get-funding-index-checkpoints/get-funding-index-checkpoints.js";
505
+ import { getFundingIndexCheckpointsQueryKey as lp, getFundingIndexCheckpointsQueryOptions as up } from "./funding/get-funding-index-checkpoints/query.js";
506
+ import { toQuoteFundingSettlementRow as dp } from "./funding/get-quote-funding-settlements/to-quote-funding-settlement-row.js";
507
+ import { getQuoteFundingSettlements as fp } from "./funding/get-quote-funding-settlements/get-quote-funding-settlements.js";
508
+ import { getQuoteFundingSettlementsQueryKey as pp, getQuoteFundingSettlementsQueryOptions as mp } from "./funding/get-quote-funding-settlements/query.js";
509
+ import { toLiquidationDetailRow as hp } from "./liquidation/get-liquidation-details/to-liquidation-detail-row.js";
510
+ import { getLiquidationDetails as gp } from "./liquidation/get-liquidation-details/get-liquidation-details.js";
511
+ import { getLiquidationDetailsQueryKey as _p, getLiquidationDetailsQueryOptions as vp } from "./liquidation/get-liquidation-details/query.js";
512
+ import { getTpSlConfig as yp } from "./tpsl/config/get-tpsl-config.js";
513
+ import { getTpSlConfigQueryKey as bp, getTpSlConfigQueryOptions as xp } from "./tpsl/config/query.js";
514
+ import { ZERO_LEG as Sp, buildConditionalOrderMessage as Cp, buildTpSlDeleteMessage as wp, generateTpSlSalt as Tp, toSignableTpSlMessage as Ep } from "./tpsl/set-quote-tpsl/build-conditional-order-message.js";
515
+ import { signTpSlRequest as Dp } from "./tpsl/set-quote-tpsl/sign-tpsl-request.js";
516
+ import { getTpSlDeleteSigningSpec as Op } from "./tpsl/signing-spec/get-tpsl-delete-signing-spec.js";
517
+ import { deleteQuoteTpSl as kp } from "./tpsl/delete-quote-tpsl/delete-quote-tpsl.js";
518
+ import { deleteQuoteTpSlMutationOptions as Ap } from "./tpsl/delete-quote-tpsl/query.js";
519
+ import { getQuoteTpSl as jp } from "./tpsl/get-quote-tpsl/get-quote-tpsl.js";
520
+ import { getQuoteTpSlQueryKey as Mp, getQuoteTpSlQueryOptions as Np } from "./tpsl/get-quote-tpsl/query.js";
521
+ import { childNotional as Pp, triggerPriceToWei as Fp } from "./tpsl/grouping/notional.js";
522
+ import { GROUP_TPSL_SIDES as Ip, resolveChildSide as Lp } from "./tpsl/grouping/resolve-child-side.js";
523
+ import { estimateGroupTpSlReturn as Rp } from "./tpsl/grouping/estimate-group-tpsl-return.js";
524
+ import { validateTpSl as zp } from "./tpsl/validate-tpsl.js";
525
+ import { planGroupTpSl as Bp } from "./tpsl/grouping/plan-group-tpsl/plan-group-tpsl.js";
526
+ import { planGroupTpSlDelete as Vp } from "./tpsl/grouping/plan-group-tpsl-delete.js";
527
+ import { summarizeQuoteGroupTpSl as Hp } from "./tpsl/grouping/summarize-group-tpsl.js";
528
+ import { toGroupTpSlChildren as Up } from "./tpsl/grouping/to-group-tpsl-children.js";
529
+ import { toGroupTpSlOrders as Wp } from "./tpsl/grouping/to-group-tpsl-orders.js";
530
+ import { TPSL_LIVE_ORDER_STATES as Gp, searchTpSlOrders as Kp } from "./tpsl/search-tpsl-orders/search-tpsl-orders.js";
531
+ import { searchTpSlOrdersQueryKey as qp, searchTpSlOrdersQueryOptions as Jp } from "./tpsl/search-tpsl-orders/query.js";
532
+ import { buildConditionalOrderLeg as Yp } from "./tpsl/set-quote-tpsl/build-conditional-order-leg.js";
533
+ import { getTpSlSigningSpec as Xp } from "./tpsl/signing-spec/get-tpsl-signing-spec.js";
534
+ import { DEFAULT_TPSL_SLIPPAGE_LOWCAPS as Zp, priceSlippageCalculation as Qp } from "./tpsl/slippage.js";
535
+ import { setQuoteTpSl as $p } from "./tpsl/set-quote-tpsl/set-quote-tpsl.js";
536
+ import { setQuoteTpSlMutationOptions as em } from "./tpsl/set-quote-tpsl/query.js";
537
+ import { getTpSlDeleteSigningSpecQueryKey as tm, getTpSlDeleteSigningSpecQueryOptions as nm } from "./tpsl/signing-spec/delete-query.js";
538
+ import { getTpSlSigningSpecQueryKey as rm, getTpSlSigningSpecQueryOptions as im } from "./tpsl/signing-spec/query.js";
539
+ import { supportsTpSl as am } from "./tpsl/supports-tpsl.js";
540
+ import { TpSlSearchOrderType as om } from "./tpsl/types.js";
541
+ import { parseTpSlFrame as sm } from "./websocket/tpsl/parse-tpsl-frame.js";
542
+ import { watchTpSlNotifications as cm } from "./websocket/tpsl/watch-tpsl-notifications.js";
543
+ import { BalanceChangeType as lm, BalanceHistoryFilter as um, MarginTransferType as dm } from "./balance-history/get-balance-history/types.js";
544
+ import { balanceHistoryFilterToTypes as fm } from "./balance-history/get-balance-history/balance-history-filter.js";
545
+ import { toBalanceHistoryRow as pm } from "./balance-history/get-balance-history/to-balance-history-row.js";
546
+ import { getBalanceHistory as mm } from "./balance-history/get-balance-history/get-balance-history.js";
547
+ import { getBalanceHistoryQueryKey as hm, getBalanceHistoryQueryOptions as gm } from "./balance-history/get-balance-history/query.js";
548
+ import { toTransferRow as _m } from "./transfers/get-transfer-history/to-transfer-row.js";
549
+ import { getTransferHistory as vm } from "./transfers/get-transfer-history/get-transfer-history.js";
550
+ import { getTransferHistoryQueryKey as ym, getTransferHistoryQueryOptions as bm } from "./transfers/get-transfer-history/query.js";
551
+ import { fromTradingViewResolution as xm, toTradingViewResolution as Sm } from "./candles/adapters/tradingview/map-resolution.js";
552
+ import { CANDLE_RESOLUTION_MS as Cm, resolutionToMs as wm } from "./candles/resolution.js";
553
+ import { toTradingViewDatafeed as Tm } from "./candles/adapters/tradingview/to-tradingview-datafeed.js";
554
+ import { getCandleHistoryQueryKey as Em, getCandleHistoryQueryOptions as Dm } from "./candles/history-query.js";
555
+ import { getCandlesQueryKey as Om, getCandlesQueryOptions as km } from "./candles/query.js";
556
+ import { refreshCandleHistory as Am } from "./candles/refresh-candle-history.js";
557
+ import { getBinanceSupportedResolutions as jm, toBinanceInterval as Mm } from "./candles/sources/binance/map-resolution.js";
558
+ import { watchBinanceKlines as Nm } from "./candles/sources/binance/watch-binance-klines.js";
559
+ import { createBinanceCandleSource as Pm } from "./candles/sources/binance/create-binance-candle-source.js";
560
+ import { createLowcapCandleSource as Fm } from "./candles/sources/lowcap/create-lowcap-candle-source.js";
561
+ import { countTickDecimals as Im, roundToTick as Lm, suggestOrderbookTickSizes as Rm } from "./orderbook/tick-size.js";
562
+ import { accumulateOrderbook as zm, getOrderbookDepthWithin as Bm, getOrderbookSpread as Vm, groupOrderbook as Hm } from "./orderbook/aggregate.js";
563
+ import { getOrderbookQueryKey as Um, getOrderbookQueryOptions as Wm } from "./orderbook/query.js";
564
+ import { BINANCE_DEPTH_DEFAULT_LEVELS as Gm, BINANCE_DEPTH_DEFAULT_LIMIT as Km, BINANCE_DEPTH_DEFAULT_UPDATE_SPEED as qm, BINANCE_DEPTH_LIMITS as Jm, BINANCE_DEPTH_MAX_BUFFERED_EVENTS as Ym, BINANCE_DEPTH_PATH as Xm, BINANCE_DEPTH_REST_URL as Zm, BINANCE_DEPTH_UPDATE_SPEEDS as Qm, BINANCE_DEPTH_WS_URL as $m, BINANCE_ORDERBOOK_EXCHANGE_INFO_PATH as eh } from "./orderbook/sources/binance/constants.js";
565
+ import { parseBinanceDepthLevel as th, parseBinanceDepthLevels as nh } from "./orderbook/sources/binance/parse-depth.js";
566
+ import { fetchBinanceDepth as rh } from "./orderbook/sources/binance/fetch-binance-depth.js";
567
+ import { fetchBinanceSymbolFilters as ih } from "./orderbook/sources/binance/fetch-binance-symbol-filters.js";
568
+ import { watchBinanceDepth as ah } from "./orderbook/sources/binance/watch-binance-depth.js";
569
+ import { createBinanceOrderbookSource as oh } from "./orderbook/sources/binance/create-binance-orderbook-source.js";
570
+ import { walkOrderbook as sh } from "./orderbook/walk.js";
571
+ import { resolveListingService as ch, supportsListingService as lh } from "./pools/resolve-listing.js";
572
+ import { toAddMarketRequest as uh } from "./pools/add-market/to-add-market-request.js";
573
+ import { toCreatedPool as dh } from "./pools/add-market/to-created-pool.js";
574
+ import { addMarket as fh } from "./pools/add-market/add-market.js";
575
+ import { addMarketMutationOptions as ph } from "./pools/add-market/query.js";
576
+ import { toListingAuthToken as mh, toListingSignInMessage as hh } from "./pools/auth/to-siwe.js";
577
+ import { getListingSignInMessage as gh } from "./pools/auth/get-sign-in-message.js";
578
+ import { authenticateListing as _h } from "./pools/auth/authenticate-listing.js";
579
+ import { authenticateListingMutationOptions as vh, getListingSignInMessageQueryKey as yh, getListingSignInMessageQueryOptions as bh } from "./pools/auth/query.js";
580
+ import { toCancelWithdrawResult as xh } from "./pools/cancel-withdraw/to-cancel-withdraw-result.js";
581
+ import { cancelWithdraw as Sh } from "./pools/cancel-withdraw/cancel-withdraw.js";
582
+ import { cancelWithdrawMutationOptions as Ch } from "./pools/cancel-withdraw/query.js";
583
+ import { toClaimRequest as wh } from "./pools/claim/to-claim-request.js";
584
+ import { LISTING_VALUE_DECIMALS as Th, ListingDepositChainId as Eh, ListingMarketStatus as Dh, MarketLockReason as Oh, PoolPositionSide as kh, PoolTransactionStatus as Ah, PoolTransactionType as jh, TokenPriceChain as Mh } from "./pools/types.js";
585
+ import { parseListingValue as Nh, toListingMarket as Ph, toListingMarketPage as Fh, toListingValue as Ih } from "./pools/markets/to-listing-market.js";
586
+ import { toClaimResult as Lh } from "./pools/claim/to-claim-result.js";
587
+ import { claimProfit as Rh } from "./pools/claim/claim-profit.js";
588
+ import { claimProfitMutationOptions as zh } from "./pools/claim/query.js";
589
+ import { toPoolClaim as Bh, toPoolClaimHistoryPage as Vh } from "./pools/claim-history/to-pool-claim.js";
590
+ import { getClaimHistory as Hh } from "./pools/claim-history/get-claim-history.js";
591
+ import { getPoolClaim as Uh } from "./pools/claim-history/get-pool-claim.js";
592
+ import { getClaimHistoryQueryKey as Wh, getClaimHistoryQueryOptions as Gh } from "./pools/claim-history/query.js";
593
+ import { toMarketDepositAddress as Kh } from "./pools/deposit-address/to-market-deposit-address.js";
594
+ import { getDepositAddress as qh } from "./pools/deposit-address/get-deposit-address.js";
595
+ import { getDepositAddressQueryKey as Jh, getDepositAddressQueryOptions as Yh } from "./pools/deposit-address/query.js";
596
+ import { toListingConfig as Xh } from "./pools/listing-config/to-listing-config.js";
597
+ import { getListingConfig as Zh } from "./pools/listing-config/get-listing-config.js";
598
+ import { getListingConfigQueryKey as Qh, getListingConfigQueryOptions as $h } from "./pools/listing-config/query.js";
599
+ import { toListingStatus as eg } from "./pools/listing-status/to-listing-status.js";
600
+ import { getListingStatus as tg } from "./pools/listing-status/get-listing-status.js";
601
+ import { getListingStatusQueryKey as ng, getListingStatusQueryOptions as rg } from "./pools/listing-status/query.js";
602
+ import { getPoolMaintenanceFees as ig } from "./pools/maintenance-fees/get-pool-maintenance-fees.js";
603
+ import { getPoolMaintenanceFeesQueryKey as ag, getPoolMaintenanceFeesQueryOptions as og } from "./pools/maintenance-fees/query.js";
604
+ import { toListingMarketConfig as sg } from "./pools/market-config/to-listing-market-config.js";
605
+ import { getListingMarketConfig as cg } from "./pools/market-config/get-listing-market-config.js";
606
+ import { projectListingMarketConfig as lg } from "./pools/market-config/project-listing-market-config.js";
607
+ import { toUpdateListingMarketConfigRequest as ug } from "./pools/market-config/to-update-listing-market-config-request.js";
608
+ import { updateListingMarketConfig as dg } from "./pools/market-config/update-listing-market-config.js";
609
+ import { getListingMarketConfigQueryKey as fg, getListingMarketConfigQueryOptions as pg, updateListingMarketConfigMutationOptions as mg } from "./pools/market-config/query.js";
610
+ import { LISTING_MARKET_CONFIG_BOUNDS as hg } from "./pools/market-config/types.js";
611
+ import { getPoolMarketData as gg } from "./pools/market-data/get-pool-market-data.js";
612
+ import { toListingMarketDetail as _g } from "./pools/market-detail/to-listing-market-detail.js";
613
+ import { getListingMarketDetail as vg } from "./pools/market-detail/get-listing-market-detail.js";
614
+ import { getListingMarketDetailQueryKey as yg, getListingMarketDetailQueryOptions as bg } from "./pools/market-detail/query.js";
615
+ import { toPoolPositions as xg } from "./pools/market-detail/to-pool-positions.js";
616
+ import { getListingMarkets as Sg } from "./pools/markets/get-listing-markets.js";
617
+ import { getListingMarketsQueryKey as Cg, getListingMarketsQueryOptions as wg } from "./pools/markets/query.js";
618
+ import { calculatePoolOpenPositions as Tg } from "./pools/open-positions/calculate-pool-open-positions.js";
619
+ import { toPoolQuote as Eg } from "./pools/quotes/to-pool-quote.js";
620
+ import { POOL_OPEN_QUOTE_STATUSES as Dg, POOL_PENDING_QUOTE_STATUSES as Og, getPoolQuotes as kg } from "./pools/quotes/get-pool-quotes.js";
621
+ import { getPoolOpenPositions as Ag } from "./pools/open-positions/get-pool-open-positions.js";
622
+ import { getPoolOpenPositionsQueryKey as jg, getPoolOpenPositionsQueryOptions as Mg } from "./pools/open-positions/query.js";
623
+ import { calculatePoolPosition as Ng } from "./pools/position/calculate-pool-position.js";
624
+ import { calculatePoolPortfolio as Pg } from "./pools/portfolio/calculate-pool-portfolio.js";
625
+ import { toUserPoolProfit as Fg } from "./pools/profit/to-user-pool-profit.js";
626
+ import { getUserProfit as Ig } from "./pools/profit/get-user-profit.js";
627
+ import { getUserTotalReward as Lg } from "./pools/rewards/get-user-total-reward.js";
628
+ import { toUserListingMarket as Rg, toUserListingMarketPage as zg } from "./pools/user-markets/to-user-listing-market.js";
629
+ import { getUserListingMarkets as Bg } from "./pools/user-markets/get-user-listing-markets.js";
630
+ import { toUserTransaction as Vg, toUserTransactionPage as Hg } from "./pools/user-transactions/to-user-transaction.js";
631
+ import { getUserTransactions as Ug } from "./pools/user-transactions/get-user-transactions.js";
632
+ import { getPoolPortfolio as Wg } from "./pools/portfolio/get-pool-portfolio.js";
633
+ import { getPoolPortfolioQueryKey as Gg, getPoolPortfolioQueryOptions as Kg } from "./pools/portfolio/query.js";
634
+ import { getPoolPosition as qg } from "./pools/position/get-pool-position.js";
635
+ import { getPoolPositionQueryKey as Jg, getPoolPositionQueryOptions as Yg } from "./pools/position/query.js";
636
+ import { getUserProfitQueryKey as Xg, getUserProfitQueryOptions as Zg } from "./pools/profit/query.js";
637
+ import { getPoolQuotesQueryKey as Qg, getPoolQuotesQueryOptions as $g } from "./pools/quotes/query.js";
638
+ import { toRefundRequest as e_ } from "./pools/refund/to-refund-request.js";
639
+ import { toRefundResult as t_ } from "./pools/refund/to-refund-result.js";
640
+ import { refundMarket as n_ } from "./pools/refund/refund-market.js";
641
+ import { refundMarketMutationOptions as r_ } from "./pools/refund/query.js";
642
+ import { toRetryListingInfo as i_ } from "./pools/retry-listing/to-retry-listing-info.js";
643
+ import { getRetryListingInfo as a_ } from "./pools/retry-listing/get-retry-listing-info.js";
644
+ import { toRetryListingResult as o_ } from "./pools/retry-listing/to-retry-listing-result.js";
645
+ import { retryListing as s_ } from "./pools/retry-listing/retry-listing.js";
646
+ import { getRetryListingInfoQueryKey as c_, getRetryListingInfoQueryOptions as l_, retryListingMutationOptions as u_ } from "./pools/retry-listing/query.js";
647
+ import { toPoolRewardPoint as d_, toUserPoolRewardChart as f_ } from "./pools/rewards/to-pool-reward-point.js";
648
+ import { getPoolRewardChart as p_ } from "./pools/rewards/get-pool-reward-chart.js";
649
+ import { getPoolTotalReward as m_ } from "./pools/rewards/get-pool-total-reward.js";
650
+ import { getUserRewardChart as h_ } from "./pools/rewards/get-user-reward-chart.js";
651
+ import { getPoolRewardChartQueryKey as g_, getPoolRewardChartQueryOptions as __, getPoolTotalRewardQueryKey as v_, getPoolTotalRewardQueryOptions as y_, getUserRewardChartQueryKey as b_, getUserRewardChartQueryOptions as x_, getUserTotalRewardQueryKey as S_, getUserTotalRewardQueryOptions as C_ } from "./pools/rewards/query.js";
652
+ import { calculatePoolStatistics as w_ } from "./pools/statistics/calculate-pool-statistics.js";
653
+ import { toPoolTransaction as T_, toPoolTransactionPage as E_ } from "./pools/transactions/to-pool-transaction.js";
654
+ import { getPoolTransactions as D_ } from "./pools/transactions/get-pool-transactions.js";
655
+ import { getPoolStatistics as O_ } from "./pools/statistics/get-pool-statistics.js";
656
+ import { getPoolStatisticsQueryKey as k_, getPoolStatisticsQueryOptions as A_ } from "./pools/statistics/query.js";
657
+ import { getListingTokenMetadata as j_ } from "./pools/token-metadata/get-listing-token-metadata.js";
658
+ import { getListingTokenMetadataQueryKey as M_, getListingTokenMetadataQueryOptions as N_ } from "./pools/token-metadata/query.js";
659
+ import { toTokenPrice as P_ } from "./pools/token-price/to-token-price.js";
660
+ import { getTokenPrice as F_ } from "./pools/token-price/get-token-price.js";
661
+ import { getTokenPriceQueryKey as I_, getTokenPriceQueryOptions as L_ } from "./pools/token-price/query.js";
662
+ import { checkListingTokenSupport as R_ } from "./pools/token-support/check-listing-token-support.js";
663
+ import { checkListingTokenSupportQueryKey as z_, checkListingTokenSupportQueryOptions as B_ } from "./pools/token-support/query.js";
664
+ import { getPoolTradeHistory as V_ } from "./pools/trade-history/get-pool-trade-history.js";
665
+ import { getPoolTradeHistoryQueryKey as H_, getPoolTradeHistoryQueryOptions as U_ } from "./pools/trade-history/query.js";
666
+ import { getPoolTransactionRange as W_ } from "./pools/transactions/get-pool-transaction-range.js";
667
+ import { getPoolTransactionsQueryKey as G_, getPoolTransactionsQueryOptions as K_ } from "./pools/transactions/query.js";
668
+ import { getUserListingMarketsQueryKey as q_, getUserListingMarketsQueryOptions as J_ } from "./pools/user-markets/query.js";
669
+ import { getUserTransactionsQueryKey as Y_, getUserTransactionsQueryOptions as X_ } from "./pools/user-transactions/query.js";
670
+ import { toWeeklyListingLimit as Z_ } from "./pools/weekly-limit/to-weekly-limit.js";
671
+ import { getWeeklyListingLimit as Q_ } from "./pools/weekly-limit/get-weekly-listing-limit.js";
672
+ import { getWeeklyListingLimitQueryKey as $_, getWeeklyListingLimitQueryOptions as ev } from "./pools/weekly-limit/query.js";
673
+ import { toWithdrawRequest as tv } from "./pools/withdraw/to-withdraw-request.js";
674
+ import { withdrawLp as nv } from "./pools/withdraw/withdraw-lp.js";
675
+ import { withdrawLpMutationOptions as rv } from "./pools/withdraw/query.js";
676
+ import { toSolverRevenue as iv } from "./solvers/revenue/to-solver-revenue.js";
677
+ import { getSolverRevenue as av } from "./solvers/revenue/get-solver-revenue.js";
678
+ import { getSolverRevenueQueryKey as ov, getSolverRevenueQueryOptions as sv } from "./solvers/revenue/query.js";
679
+ import { resolveInventoryService as cv, supportsInventoryService as lv } from "./inventory/resolve-inventory.js";
680
+ import { getInventoryTvl as uv, toInventoryTvl as dv } from "./inventory/tvl/get-inventory-tvl.js";
681
+ import { getInventoryTvlQueryKey as fv, getInventoryTvlQueryOptions as pv } from "./inventory/tvl/query.js";
682
+ import { toInventoryTvlPoint as mv } from "./inventory/tvl-history/to-inventory-tvl-point.js";
683
+ import { getInventoryTvlHistory as hv } from "./inventory/tvl-history/get-inventory-tvl-history.js";
684
+ import { getInventoryTvlHistoryQueryKey as gv, getInventoryTvlHistoryQueryOptions as _v } from "./inventory/tvl-history/query.js";
685
+ import { INVENTORY_VALUE_DECIMALS as vv } from "./inventory/types.js";
686
+ export { ki as ADD_MARGIN_TO_NEXT_VA_SELECTOR, _s as ActionStatus, ir as AffiliateState, Gm as BINANCE_DEPTH_DEFAULT_LEVELS, Km as BINANCE_DEPTH_DEFAULT_LIMIT, qm as BINANCE_DEPTH_DEFAULT_UPDATE_SPEED, Jm as BINANCE_DEPTH_LIMITS, Ym as BINANCE_DEPTH_MAX_BUFFERED_EVENTS, Xm as BINANCE_DEPTH_PATH, Zm as BINANCE_DEPTH_REST_URL, Qm as BINANCE_DEPTH_UPDATE_SPEEDS, $m as BINANCE_DEPTH_WS_URL, tl as BINANCE_EXCHANGE_INFO_PATH, nl as BINANCE_KLINES_PATH, rl as BINANCE_MAX_LIMIT, eh as BINANCE_ORDERBOOK_EXCHANGE_INFO_PATH, il as BINANCE_REST_URL, al as BINANCE_WS_URL, lm as BalanceChangeType, um as BalanceHistoryFilter, Cm as CANDLE_RESOLUTION_MS, Yd as DEFAULT_QUOTE_EVENTS_BY_TYPE_PAGE_SIZE, Zp as DEFAULT_TPSL_SLIPPAGE_LOWCAPS, Ue as EarlyWithdrawExecutionError, $d as FUNDING_HISTORY_EVENT_TYPES, Yr as GASLESS_GATEWAY_EIP712_DOMAIN_NAME, Xr as GASLESS_GATEWAY_EIP712_DOMAIN_VERSION, Y as GASLESS_QUEUED_POLL_MS, ct as GASLESS_RECEIPT_TIMEOUT_MS, P as GASLESS_RELAYABLE_FUNCTIONS, F as GASLESS_RELAYABLE_SELECTORS, I as GASLESS_SESSION_KEY_SELECTORS, L as GASLESS_SESSION_KEY_WITHDRAW_SELECTORS, H as GASLESS_SIGNATURE_LIFETIME_SECONDS, X as GASLESS_STREAM_SETTLE_MS, Z as GASLESS_STREAM_STALE_MS, Q as GASLESS_SUBMITTED_POLL_MS, $ as GASLESS_TERMINAL_STATUSES, pe as GASLESS_WAIT_TIMEOUT_MS, U as GASLESS_WALLET_EXECUTE_SELECTOR, W as GASLESS_WALLET_EXECUTION_SENTINEL_SELECTOR, Zr as GASLESS_WALLET_OPERATION_TYPES, Ip as GROUP_TPSL_SIDES, ee as GaslessFeeSource, te as GaslessRequestStatus, ne as GaslessTransactionAttemptStatus, s as INSTANT_LAYER_EIP712_DOMAIN_NAME, c as INSTANT_LAYER_EIP712_DOMAIN_VERSION, Le as INSTANT_OPEN_TIMELOCK_ACCOUNT_LAYER_FUNCTIONS, Re as INSTANT_OPEN_TIMELOCK_CORE_FUNCTIONS, ze as INSTANT_OPEN_TIMELOCK_SELECTORS, Ai as INSTANT_TRADE_REQUIRED_SELECTORS, vv as INVENTORY_VALUE_DECIMALS, ji as LEGACY_INSTANT_TRADE_REQUIRED_SELECTORS, hg as LISTING_MARKET_CONFIG_BOUNDS, Th as LISTING_VALUE_DECIMALS, Eh as ListingDepositChainId, Dh as ListingMarketStatus, gc as MARKET_ORDER_DEADLINE_SECONDS, Ed as MAX_INSTANT_CLOSE_BULK_ORDERS, $i as MUON_APP, ea as MUON_METHOD_PARTY_A_OVERVIEW, ta as MUON_METHOD_PRICE, na as MUON_METHOD_PRICE_RANGE, ra as MUON_METHOD_SETTLE_UPNL, ia as MUON_METHOD_UPNL_A, aa as MUON_METHOD_UPNL_A_WITH_SYMBOL_PRICE, oa as MUON_METHOD_UPNL_B, sa as MUON_METHOD_UPNL_PAIR, ca as MUON_METHOD_UPNL_WITH_SYMBOL_PRICE, dm as MarginTransferType, Oh as MarketLockReason, vs as NotificationType, Xi as OPERATIONAL_FEE_LIST_PRICE_MULTIPLIER, sc as ORDER_TYPE_MARKET, Qo as OrderType, Dg as POOL_OPEN_QUOTE_STATUSES, Og as POOL_PENDING_QUOTE_STATUSES, ef as PRICE_HISTORY_EVENT_TYPES, kh as PoolPositionSide, Ah as PoolTransactionStatus, jh as PoolTransactionType, $o as PositionType, rf as QUOTES_FUNDING_MAX_IDS_PER_REQUEST, cf as QuoteCloseEventType, lf as QuoteCloseType, tf as QuoteEventType, Md as QuoteLifecycle, es as QuoteStatus, Mi as REQUEST_TO_CLOSE_POSITION_SELECTOR, Ni as SEND_QUOTE_SELECTOR, Pi as SEND_QUOTE_WITH_AFFILIATE_AND_DATA_SELECTOR, _c as SHORT_FUNDING_BUFFER_PERCENT, l as SIGNED_OPERATION_TYPES, qd as SUBGRAPH_MAX_PAGE_SIZE, ar as SubAccountIsolationType, a as SymmApiError, o as SymmError, pt as SymmioSupportedChainId, v as TIMELOCK_APPROVAL_REQUEST_TYPES, Gp as TPSL_LIVE_ORDER_STATES, y as TimelockApprovalHttpError, Ke as TimelockBatchExecutionError, Ee as TimelockExecutionError, nt as TimelockPolicyChangeAuthorizationError, ut as TimelockSetupConfirmationError, g as TimelockSolverError, Mh as TokenPriceChain, om as TpSlSearchOrderType, cc as VIRTUAL_ACCOUNT_ISOLATION_TYPE, ts as WithdrawStatus, Sp as ZERO_LEG, ec as ZERO_UPNL_SIG, e as accountLayerAbi, zm as accumulateOrderbook, bt as addMargin, cn as addMarginMutationOptions, fh as addMarket, ph as addMarketMutationOptions, If as aggregateGroupFunding, Hf as aggregateGroupMetrics, Vf as aggregateGroupUpnl, Yi as allocate, so as allocateMutationOptions, Nd as applyNotificationToQuotes, sr as approveCollateral, ur as approveCollateralMutationOptions, Zi as approveOperationalFee, Qi as approveOperationalFeeAllowance, lo as approveOperationalFeeAllowanceMutationOptions, co as approveOperationalFeeMutationOptions, Uf as assertQuoteGroupingSupported, De as assertTimelockAuthorizationUnused, qe as assertTimelockBatchUnused, rt as assertTimelockPolicyChangeReady, _h as authenticateListing, vh as authenticateListingMutationOptions, fm as balanceHistoryFilterToTypes, Yp as buildConditionalOrderLeg, Cp as buildConditionalOrderMessage, tc as buildQuoteMetadata, Ss as buildRasaSubscribeMessage, f as buildSignedOperation, xs as buildSubscribeMessage, wp as buildTpSlDeleteMessage, Xt as calculateAvailableForOrder, vc as calculateAvailableInstantOpenMargin, Vd as calculateClosePlatformFee, Yc as calculateClosePrice, yc as calculateExpectedSettlementLoss, Yf as calculateLiquidationPrice, bc as calculateMargin, np as calculateMarginRisk, Hd as calculateOpenPlatformFee, Tg as calculatePoolOpenPositions, Pg as calculatePoolPortfolio, Ng as calculatePoolPosition, w_ as calculatePoolStatistics, bl as calculatePriceImpact, Qf as calculateQuoteLeverage, $f as calculateQuotePnl, ep as calculateQuoteUpnl, tp as calculateQuoteUpnlWei, Gs as calculateSolverCloseFee, xc as calculateSolverFees, Sc as calculateTradeParams, St as cancelRegistration, ln as cancelRegistrationMutationOptions, Zt as cancelTimelockOp, Qt as cancelTimelockOpMutationOptions, Sh as cancelWithdraw, Ch as cancelWithdrawMutationOptions, ll as checkForceCloseEligibility, ul as checkForceClosePriceReached, R_ as checkListingTokenSupport, z_ as checkListingTokenSupportQueryKey, B_ as checkListingTokenSupportQueryOptions, Pc as checkNotionalCap, Pp as childNotional, Rh as claimProfit, zh as claimProfitMutationOptions, Xc as clampClosePrecision, Kr as classifyGaslessFailure, ys as classifyNotification, Pd as classifyQuoteNotificationAction, $t as clearTimelocks, en as clearTimelocksMutationOptions, uf as closeTypeToEventTypes, La as collateralToCore18, Cc as computePlatformFee, wc as computePlatformFeeLegs, lt as confirmGaslessRequest, Ra as core18ToCollateral, Im as countTickDecimals, Pm as createBinanceCandleSource, oh as createBinanceOrderbookSource, za as createClassicWithdrawPart, vt as createConfig, b as createHttpTimelockApprovalProvider, Fm as createLowcapCandleSource, Ct as createSubAccounts, un as createSubAccountsMutationOptions, ua as deallocate, da as deallocateAndInitiateWithdraw, fo as deallocateAndInitiateWithdrawMutationOptions, uo as deallocateMutationOptions, Ac as decimalPriceToWei, qr as decodeGaslessOperationFailure, kp as deleteQuoteTpSl, Ap as deleteQuoteTpSlMutationOptions, Tt as deleteSubAccount, dn as deleteSubAccountMutationOptions, Dt as depositAndAllocateForAccount, fn as depositAndAllocateForAccountMutationOptions, kt as depositForAccount, pn as depositForAccountMutationOptions, Nc as deriveAutoSlippage, We as earlyWithdraw, Ge as earlyWithdrawMutationOptions, At as editAccountName, mn as editAccountNameMutationOptions, nc as encodeAddMarginToNextVA, je as encodeInitiateWithdrawCall, Ye as encodeProtectedFunction, Kc as encodeRequestToClosePosition, rc as encodeSendQuote, ic as encodeSendQuoteWithAffiliateAndData, on as encodeSubAccountHookMetadata, x as encodeTimelockedCoreCall, Rp as estimateGroupTpSlReturn, df as eventTypeToCloseType, ff as eventTypeToQuoteStatus, Va as executeAccountCalls, Ha as executeAccountCallsMutationOptions, Oe as executeProtectedCall, ke as executeProtectedCallMutationOptions, Xe as executeProtectedFunction, Ze as executeProtectedFunctionMutationOptions, be as executeTimelockOp, xe as executeTimelockOpMutationOptions, rh as fetchBinanceDepth, ih as fetchBinanceSymbolFilters, Ce as filterQueryOptions, gr as finalizeRevokeDelegation, Er as finalizeRevokeDelegationMutationOptions, pa as finalizeWithdrawRequest, po as finalizeWithdrawRequestMutationOptions, dl as findForceCloseWindow, Ud as fingerprintQuote, ma as forceCancelCloseRequest, mo as forceCancelCloseRequestMutationOptions, ha as forceCancelQuote, ho as forceCancelQuoteMutationOptions, hl as forceCloseAuto, gl as forceCloseAutoMutationOptions, pl as forceClosePosition, _l as forceClosePositionMutationOptions, p as formatSignedOperationPayload, xm as fromTradingViewResolution, t as gaslessLayerAbi, re as gaslessPollDelay, n as gaslessWalletAbi, ti as gaslessWalletExecute, ni as gaslessWalletExecuteMutationOptions, jt as generateAccountManagerAddress, hn as generateAccountManagerAddressQueryKey, gn as generateAccountManagerAddressQueryOptions, N as generateGaslessIdempotencyKey, m as generateSalt, Tp as generateTpSlSalt, Mt as getAccountBalanceInfo, _n as getAccountBalanceInfoQueryKey, vn as getAccountBalanceInfoQueryOptions, Nt as getAccountBalanceOf, yn as getAccountBalanceOfQueryKey, bn as getAccountBalanceOfQueryOptions, _r as getActiveDelegations, Dr as getActiveDelegationsQueryKey, Or as getActiveDelegationsQueryOptions, Pt as getActiveVirtualAccountByKey, xn as getActiveVirtualAccountByKeyQueryKey, Sn as getActiveVirtualAccountByKeyQueryOptions, Ft as getAffiliateState, Cn as getAffiliateStateQueryKey, wn as getAffiliateStateQueryOptions, mm as getBalanceHistory, hm as getBalanceHistoryQueryKey, gm as getBalanceHistoryQueryOptions, As as getBinanceHealth, js as getBinanceHealthQueryKey, Ms as getBinanceHealthQueryOptions, Ns as getBinancePremiumIndex, Ps as getBinancePremiumIndexQueryKey, Fs as getBinancePremiumIndexQueryOptions, jm as getBinanceSupportedResolutions, Is as getBinanceSymbolsInfo, Ls as getBinanceSymbolsInfoQueryKey, Rs as getBinanceSymbolsInfoQueryOptions, Em as getCandleHistoryQueryKey, Dm as getCandleHistoryQueryOptions, Om as getCandlesQueryKey, km as getCandlesQueryOptions, mt as getChainConfig, Hh as getClaimHistory, Wh as getClaimHistoryQueryKey, Gh as getClaimHistoryQueryOptions, cr as getCollateralAllowance, dr as getCollateralAllowanceQueryKey, fr as getCollateralAllowanceQueryOptions, lr as getCollateralBalance, pr as getCollateralBalanceQueryKey, mr as getCollateralBalanceQueryOptions, ga as getCoolDownsOfMA, go as getCoolDownsOfMAQueryKey, _o as getCoolDownsOfMAQueryOptions, Ua as getDeallocateDebounceTime, Wa as getDeallocateDebounceTimeQueryKey, Ga as getDeallocateDebounceTimeQueryOptions, la as getDeallocateUpnlSig, Tu as getDeallocateUpnlSigQueryKey, Eu as getDeallocateUpnlSigQueryOptions, ht as getDefaultSolver, vr as getDelegationExpiry, kr as getDelegationExpiryQueryKey, Ar as getDelegationExpiryQueryOptions, qh as getDepositAddress, Jh as getDepositAddressQueryKey, Yh as getDepositAddressQueryOptions, ns as getEnigmaPriceServiceHealth, rs as getEnigmaPriceServiceHealthQueryKey, is as getEnigmaPriceServiceHealthQueryOptions, as as getEnigmaPriceServiceMetadata, os as getEnigmaPriceServiceMetadataQueryKey, ss as getEnigmaPriceServiceMetadataQueryOptions, cs as getEnigmaPriceServicePricesByAddresses, ls as getEnigmaPriceServicePricesByAddressesQueryKey, us as getEnigmaPriceServicePricesByAddressesQueryOptions, ds as getEnigmaPriceServicePricesByNames, fs as getEnigmaPriceServicePricesByNamesQueryKey, ps as getEnigmaPriceServicePricesByNamesQueryOptions, ms as getEnigmaPriceServiceSymbolsInfo, hs as getEnigmaPriceServiceSymbolsInfoQueryKey, gs as getEnigmaPriceServiceSymbolsInfoQueryOptions, Vl as getErrorMessage, Hl as getErrorMessageQueryKey, Ul as getErrorMessageQueryOptions, Mc as getEstimatedPrice, xl as getEstimatedPriceQueryKey, Sl as getEstimatedPriceQueryOptions, ac as getFakeSendQuoteMuonSignature, _a as getFeeForUser, vo as getFeeForUserQueryKey, yo as getFeeForUserQueryOptions, ml as getForceCloseParams, vl as getForceCloseParamsQueryKey, yl as getForceCloseParamsQueryOptions, cl as getForceClosePriceSig, Du as getForceClosePriceSigQueryKey, Ou as getForceClosePriceSigQueryOptions, Ka as getFundingFeesOfPartyB, qa as getFundingFeesOfPartyBQueryKey, Ja as getFundingFeesOfPartyBQueryOptions, cp as getFundingIndexCheckpoints, lp as getFundingIndexCheckpointsQueryKey, up as getFundingIndexCheckpointsQueryOptions, Tl as getFundingInfo, Dl as getFundingInfoQueryKey, Ol as getFundingInfoQueryOptions, ri as getGaslessBatchFeeQuote, ii as getGaslessBatchFeeQuoteQueryKey, ai as getGaslessBatchFeeQuoteQueryOptions, oi as getGaslessBatchFunding, si as getGaslessBatchFundingQueryKey, ci as getGaslessBatchFundingQueryOptions, Gr as getGaslessBatchSelectors, Jr as getGaslessDeploymentKey, ui as getGaslessDepositPolicy, di as getGaslessDepositPolicyQueryKey, fi as getGaslessDepositPolicyQueryOptions, le as getGaslessFeeQuote, pi as getGaslessFeeQuoteQueryKey, mi as getGaslessFeeQuoteQueryOptions, Qr as getGaslessGatewayEip712Domain, hi as getGaslessMarginFunding, gi as getGaslessMarginFundingQueryKey, _i as getGaslessMarginFundingQueryOptions, ue as getGaslessRequest, vi as getGaslessRequestQueryKey, yi as getGaslessRequestQueryOptions, bi as getGaslessRequestTransactions, xi as getGaslessRequestTransactionsQueryKey, Si as getGaslessRequestTransactionsQueryOptions, q as getGaslessUnconfirmedSubmit, $r as getGaslessWalletAddress, Ci as getGaslessWalletAddressQueryKey, wi as getGaslessWalletAddressQueryOptions, li as getGaslessWalletCreationFee, Ti as getGaslessWalletCreationFeeQueryKey, Ei as getGaslessWalletCreationFeeQueryOptions, Wr as getGaslessWalletExecuteSelectors, ei as getGaslessWalletNonce, Di as getGaslessWalletNonceQueryKey, Oi as getGaslessWalletNonceQueryOptions, ge as getGaslessWriteRequest, gd as getInstantCloseFees, _d as getInstantCloseFeesQueryKey, vd as getInstantCloseFeesQueryOptions, bd as getInstantCloses, xd as getInstantClosesQueryKey, Sd as getInstantClosesQueryOptions, u as getInstantLayerEip712Domain, V as getInstantLayerNonce, jr as getInstantLayerNonceQueryKey, Mr as getInstantLayerNonceQueryOptions, rd as getInstantOpenFees, id as getInstantOpenFeesQueryKey, ad as getInstantOpenFeesQueryOptions, od as getInstantOpenQuoteId, sd as getInstantOpenQuoteIdQueryKey, cd as getInstantOpenQuoteIdQueryOptions, ld as getInstantOpens, ud as getInstantOpensQueryKey, dd as getInstantOpensQueryOptions, Fi as getInstantTradeRequiredSelectors, uv as getInventoryTvl, hv as getInventoryTvlHistory, gv as getInventoryTvlHistoryQueryKey, _v as getInventoryTvlHistoryQueryOptions, fv as getInventoryTvlQueryKey, pv as getInventoryTvlQueryOptions, G as getIsDelegationActive, Nr as getIsDelegationActiveQueryKey, Pr as getIsDelegationActiveQueryOptions, va as getLastWithdrawRequestId, bo as getLastWithdrawRequestIdQueryKey, xo as getLastWithdrawRequestIdQueryOptions, gp as getLiquidationDetails, _p as getLiquidationDetailsQueryKey, vp as getLiquidationDetailsQueryOptions, Zh as getListingConfig, Qh as getListingConfigQueryKey, $h as getListingConfigQueryOptions, cg as getListingMarketConfig, fg as getListingMarketConfigQueryKey, pg as getListingMarketConfigQueryOptions, vg as getListingMarketDetail, yg as getListingMarketDetailQueryKey, bg as getListingMarketDetailQueryOptions, Sg as getListingMarkets, Cg as getListingMarketsQueryKey, wg as getListingMarketsQueryOptions, gh as getListingSignInMessage, yh as getListingSignInMessageQueryKey, bh as getListingSignInMessageQueryOptions, tg as getListingStatus, ng as getListingStatusQueryKey, rg as getListingStatusQueryOptions, j_ as getListingTokenMetadata, M_ as getListingTokenMetadataQueryKey, N_ as getListingTokenMetadataQueryOptions, Bc as getLockedParams, cu as getLockedParamsQueryKey, lu as getLockedParamsQueryOptions, ip as getMarginTransfers, ap as getMarginTransfersQueryKey, op as getMarginTransfersQueryOptions, zs as getMarkPrices, Bs as getMarkPricesQueryKey, Vs as getMarkPricesQueryOptions, au as getMarketInfo, ou as getMarketInfoQueryKey, su as getMarketInfoQueryOptions, Tc as getMarketOrderDeadline, Js as getMarkets, Ys as getMarketsQueryKey, Xs as getMarketsQueryOptions, Ie as getMinTimelockDelay, ku as getMuonPartyAOverview, Au as getMuonPartyAOverviewQueryKey, ju as getMuonPartyAOverviewQueryOptions, Mu as getMuonPrice, Nu as getMuonPriceQueryKey, Pu as getMuonPriceQueryOptions, Fu as getMuonPriceRange, Iu as getMuonPriceRangeQueryKey, Lu as getMuonPriceRangeQueryOptions, Ru as getMuonSettleUpnl, zu as getMuonSettleUpnlQueryKey, Bu as getMuonSettleUpnlQueryOptions, Vu as getMuonUpnl, Wu as getMuonUpnlA, Gu as getMuonUpnlAQueryKey, Ku as getMuonUpnlAQueryOptions, qu as getMuonUpnlAWithSymbolPrice, Ju as getMuonUpnlAWithSymbolPriceQueryKey, Yu as getMuonUpnlAWithSymbolPriceQueryOptions, Xu as getMuonUpnlB, Zu as getMuonUpnlBQueryKey, Qu as getMuonUpnlBQueryOptions, Hu as getMuonUpnlQueryKey, Uu as getMuonUpnlQueryOptions, $u as getMuonUpnlWithSymbolPrice, ed as getMuonUpnlWithSymbolPriceQueryKey, td as getMuonUpnlWithSymbolPriceQueryOptions, du as getNotionalCapAll, gu as getNotionalCapAllQueryKey, _u as getNotionalCapAllQueryOptions, fu as getNotionalCapBySymbolId, mu as getNotionalCapBySymbolIdQueryKey, hu as getNotionalCapBySymbolIdQueryOptions, uu as getNotionalCapPage, bu as getNotionalCapPageQueryKey, xu as getNotionalCapPageQueryOptions, ya as getOnchainContractMarkets, So as getOnchainContractMarketsQueryKey, Co as getOnchainContractMarketsQueryOptions, pu as getOpenInterestBySymbolId, vu as getOpenInterestBySymbolIdQueryKey, yu as getOpenInterestBySymbolIdQueryOptions, ba as getOperationalFeeAllowance, wo as getOperationalFeeAllowanceQueryKey, To as getOperationalFeeAllowanceQueryOptions, Bm as getOrderbookDepthWithin, Um as getOrderbookQueryKey, Wm as getOrderbookQueryOptions, Vm as getOrderbookSpread, xa as getPartyAOpenPositions, Ya as getPartyAOpenPositionsBatch, Xa as getPartyAOpenPositionsBatchQueryKey, Za as getPartyAOpenPositionsBatchQueryOptions, Eo as getPartyAOpenPositionsQueryKey, Do as getPartyAOpenPositionsQueryOptions, Sa as getPartyAPendingQuotes, Oo as getPartyAPendingQuotesQueryKey, ko as getPartyAPendingQuotesQueryOptions, Wl as getPartyAUpnl, Gl as getPartyAUpnlQueryKey, Kl as getPartyAUpnlQueryOptions, Ca as getPendingQuotes, Ao as getPendingQuotesQueryKey, jo as getPendingQuotesQueryOptions, yr as getPendingRevocationEtas, Fr as getPendingRevocationEtasQueryKey, Ir as getPendingRevocationEtasQueryOptions, wa as getPendingWithdrawRequests, Qa as getPendingWithdrawRequestsBatch, $a as getPendingWithdrawRequestsBatchQueryKey, eo as getPendingWithdrawRequestsBatchQueryOptions, Mo as getPendingWithdrawRequestsQueryKey, No as getPendingWithdrawRequestsQueryOptions, Uh as getPoolClaim, ig as getPoolMaintenanceFees, ag as getPoolMaintenanceFeesQueryKey, og as getPoolMaintenanceFeesQueryOptions, gg as getPoolMarketData, Ag as getPoolOpenPositions, jg as getPoolOpenPositionsQueryKey, Mg as getPoolOpenPositionsQueryOptions, Wg as getPoolPortfolio, Gg as getPoolPortfolioQueryKey, Kg as getPoolPortfolioQueryOptions, qg as getPoolPosition, Jg as getPoolPositionQueryKey, Yg as getPoolPositionQueryOptions, kg as getPoolQuotes, Qg as getPoolQuotesQueryKey, $g as getPoolQuotesQueryOptions, p_ as getPoolRewardChart, g_ as getPoolRewardChartQueryKey, __ as getPoolRewardChartQueryOptions, O_ as getPoolStatistics, k_ as getPoolStatisticsQueryKey, A_ as getPoolStatisticsQueryOptions, m_ as getPoolTotalReward, v_ as getPoolTotalRewardQueryKey, y_ as getPoolTotalRewardQueryOptions, V_ as getPoolTradeHistory, H_ as getPoolTradeHistoryQueryKey, U_ as getPoolTradeHistoryQueryOptions, W_ as getPoolTransactionRange, D_ as getPoolTransactions, G_ as getPoolTransactionsQueryKey, K_ as getPoolTransactionsQueryOptions, Ut as getPredictedNextVirtualAccount, Un as getPredictedNextVirtualAccountQueryKey, Wn as getPredictedNextVirtualAccountQueryOptions, md as getPrepareInstantOpenParamsQueryKey, Gd as getQuerySubgraphQueryKey, Ta as getQuote, Xd as getQuoteEventsByType, Zd as getQuoteEventsByTypeQueryKey, Qd as getQuoteEventsByTypeQueryOptions, af as getQuoteFunding, of as getQuoteFundingQueryKey, sf as getQuoteFundingQueryOptions, fp as getQuoteFundingSettlements, pp as getQuoteFundingSettlementsQueryKey, mp as getQuoteFundingSettlementsQueryOptions, mf as getQuoteHistory, hf as getQuoteHistoryQueryKey, gf as getQuoteHistoryQueryOptions, _f as getQuotePendingFunding, vf as getQuotePendingFundingQueryKey, yf as getQuotePendingFundingQueryOptions, Po as getQuoteQueryKey, Fo as getQuoteQueryOptions, jp as getQuoteTpSl, Mp as getQuoteTpSlQueryKey, Np as getQuoteTpSlQueryOptions, bf as getQuotesEventsByType, xf as getQuotesEventsByTypeQueryKey, Sf as getQuotesEventsByTypeQueryOptions, a_ as getRetryListingInfo, c_ as getRetryListingInfoQueryKey, l_ as getRetryListingInfoQueryOptions, Al as getRevenueRecords, jl as getRevenueRecordsQueryKey, Ml as getRevenueRecordsQueryOptions, br as getRevocationCooldown, Lr as getRevocationCooldownQueryKey, Rr as getRevocationCooldownQueryOptions, Se as getSelectorTimelock, we as getSelectorTimelockQueryKey, Te as getSelectorTimelockQueryOptions, pc as getSendQuoteUpnlSig, mc as getSendQuoteUpnlSigQueryKey, hc as getSendQuoteUpnlSigQueryOptions, Ii as getSessionKeySelectors, ql as getSolverBalanceInfo, Jl as getSolverBalanceInfoQueryKey, Yl as getSolverBalanceInfoQueryOptions, Zs as getSolverCapabilities, Ks as getSolverCloseFeeRate, Su as getSolverErrorCodes, Cu as getSolverErrorCodesQueryKey, wu as getSolverErrorCodesQueryOptions, Ne as getSolverInfo, Pe as getSolverInfoQueryKey, Fe as getSolverInfoQueryOptions, Xl as getSolverOpenInterest, Zl as getSolverOpenInterestQueryKey, Ql as getSolverOpenInterestQueryOptions, $l as getSolverPriceRange, eu as getSolverPriceRangeQueryKey, tu as getSolverPriceRangeQueryOptions, nu as getSolverReadiness, ru as getSolverReadinessQueryKey, iu as getSolverReadinessQueryOptions, av as getSolverRevenue, ov as getSolverRevenueQueryKey, sv as getSolverRevenueQueryOptions, j as getSubAccount, Tn as getSubAccountQueryKey, En as getSubAccountQueryOptions, kf as getSubAccountQuotes, Af as getSubAccountQuotesQueryKey, jf as getSubAccountQuotesQueryOptions, It as getSubAccountVirtualNonce, Dn as getSubAccountVirtualNonceQueryKey, On as getSubAccountVirtualNonceQueryOptions, Lt as getSubAccountsCountOfUser, kn as getSubAccountsCountOfUserQueryKey, An as getSubAccountsCountOfUserQueryOptions, Nf as getSubgraphQuotes, Pf as getSubgraphQuotesQueryKey, Ff as getSubgraphQuotesQueryOptions, Pl as getSymbols, Fl as getSymbolsQueryKey, Il as getSymbolsQueryOptions, Je as getTimelockBatchRecovery, Ae as getTimelockExecutionRecovery, He as getTimelockPolicy, it as getTimelockPolicyChange, Qe as getTimelockPolicyQueryKey, $e as getTimelockPolicyQueryOptions, E as getTimelockRecoveryTransactionHash, et as getTimelockSchedule, tt as getTimelockScheduleGracePeriod, tn as getTimelockScheduleState, nn as getTimelockScheduleStateQueryKey, rn as getTimelockScheduleStateQueryOptions, F_ as getTokenPrice, I_ as getTokenPriceQueryKey, L_ as getTokenPriceQueryOptions, yp as getTpSlConfig, bp as getTpSlConfigQueryKey, xp as getTpSlConfigQueryOptions, Op as getTpSlDeleteSigningSpec, tm as getTpSlDeleteSigningSpecQueryKey, nm as getTpSlDeleteSigningSpecQueryOptions, Xp as getTpSlSigningSpec, rm as getTpSlSigningSpecQueryKey, im as getTpSlSigningSpecQueryOptions, Rl as getTradeVolume, zl as getTradeVolumeQueryKey, Bl as getTradeVolumeQueryOptions, vm as getTransferHistory, ym as getTransferHistoryQueryKey, bm as getTransferHistoryQueryOptions, Bg as getUserListingMarkets, q_ as getUserListingMarketsQueryKey, J_ as getUserListingMarketsQueryOptions, Ig as getUserProfit, Xg as getUserProfitQueryKey, Zg as getUserProfitQueryOptions, h_ as getUserRewardChart, b_ as getUserRewardChartQueryKey, x_ as getUserRewardChartQueryOptions, Rt as getUserSubAccounts, zt as getUserSubAccountsAddresses, Nn as getUserSubAccountsAddressesQueryKey, Pn as getUserSubAccountsAddressesQueryOptions, jn as getUserSubAccountsQueryKey, Mn as getUserSubAccountsQueryOptions, Lg as getUserTotalReward, S_ as getUserTotalRewardQueryKey, C_ as getUserTotalRewardQueryOptions, Ug as getUserTransactions, Y_ as getUserTransactionsQueryKey, X_ as getUserTransactionsQueryOptions, M as getVirtualAccount, Fn as getVirtualAccountQueryKey, In as getVirtualAccountQueryOptions, Bt as getVirtualAccountsAddressesOfSubAccount, Ln as getVirtualAccountsAddressesOfSubAccountQueryKey, Rn as getVirtualAccountsAddressesOfSubAccountQueryOptions, Vt as getVirtualAccountsCountOfSubAccount, zn as getVirtualAccountsCountOfSubAccountQueryKey, Bn as getVirtualAccountsCountOfSubAccountQueryOptions, Ht as getVirtualAccountsOfSubAccount, Vn as getVirtualAccountsOfSubAccountQueryKey, Hn as getVirtualAccountsOfSubAccountQueryOptions, Q_ as getWeeklyListingLimit, $_ as getWeeklyListingLimitQueryKey, ev as getWeeklyListingLimitQueryOptions, to as getWithdrawCooldownOf, no as getWithdrawCooldownOfQueryKey, ro as getWithdrawCooldownOfQueryOptions, Ea as getWithdrawRequests, Io as getWithdrawRequestsQueryKey, Lo as getWithdrawRequestsQueryOptions, Da as getWithdrawableTime, Ro as getWithdrawableTimeQueryKey, zo as getWithdrawableTimeQueryOptions, Sr as grantDelegation, zr as grantDelegationMutationOptions, wr as grantDelegations, Br as grantDelegationsMutationOptions, Hm as groupOrderbook, Jf as groupQuotes, D as hasTimelockSubmissionEvidence, an as hashTimelockApproval, Tr as initiateRevokeDelegation, Vr as initiateRevokeDelegationMutationOptions, Me as initiateWithdraw, Bo as initiateWithdrawMutationOptions, Jc as instantClose, wd as instantCloseAuto, Td as instantCloseAutoMutationOptions, Dd as instantCloseBulk, kd as instantCloseBulkAuto, Ad as instantCloseBulkAutoMutationOptions, Od as instantCloseBulkMutationOptions, Cd as instantCloseMutationOptions, r as instantLayerAbi, Dc as instantOpen, fd as instantOpenAuto, pd as instantOpenAutoMutationOptions, kc as instantOpenMutationOptions, Lf as isActivePosition, Rf as isActiveQuoteStatus, Fd as isCancelAction, gt as isChainSupported, Id as isCloseFillAction, ae as isConfirmedGaslessFeeLimitError, oe as isConfirmedGaslessRefusalError, se as isConfirmedGaslessUnavailableError, O as isDefiniteGaslessSimulationRejection, k as isDefiniteTimelockApprovalRejection, K as isGaslessFreeQuotaExhaustedError, J as isGaslessIdempotencyConflictError, R as isGaslessRelayableSelector, ce as isGaslessRequestRejectedOrRevertedError, ie as isGaslessRequestTerminal, Li as isNewerGaslessRequest, Ld as isOpenAnchorAction, io as isPartyALiquidated, ao as isPartyALiquidatedQueryKey, oo as isPartyALiquidatedQueryOptions, zf as isPendingOrder, sn as isTimelockApprovalUsed, Be as isTimelockPolicyConfigured, A as isUnsubmittedTimelockWalletRejection, lc as isolationTypeForSide, Wf as keyQuoteByMarket, Gf as keyQuotePerQuote, Cf as lifecycleFromQuoteStatus, $c as limitCloseAuto, el as limitCloseAutoMutationOptions, Wc as limitOpenAuto, Gc as limitOpenAutoMutationOptions, _t as listSupportedChains, at as matchesScheduledCall, Rd as minRemainingQuantityOf, bs as normalizeNotification, th as parseBinanceDepthLevel, nh as parseBinanceDepthLevels, ol as parseBinanceKline, sl as parseBinanceKlineEvent, Ts as parseBinancePriceFrame, T as parseGaslessErrorDetail, Nh as parseListingValue, Cs as parseNotificationFrame, Es as parsePriceFrame, _ as parseTimelockErrorDetails, sm as parseTpSlFrame, Bf as partitionQuotes, zd as planGroupClose, Bp as planGroupTpSl, Vp as planGroupTpSlDelete, Zc as prepareInstantCloseParams, Oc as prepareInstantOpen, Hc as prepareInstantOpenParams, hd as prepareInstantOpenParamsQueryOptions, Qc as prepareLimitCloseParams, Uc as prepareLimitOpenParams, S as prepareTimelockApprovalRequest, fl as previewForceClosePrice, Qp as priceSlippageCalculation, El as projectFundingRate, lg as projectListingMarketConfig, Wd as querySubgraph, Kd as querySubgraphQueryOptions, Df as reconcileQuotes, Am as refreshCandleHistory, n_ as refundMarket, r_ as refundMarketMutationOptions, Ri as relayGaslessBatch, zi as relayGaslessBatchMutationOptions, Bi as relayGrantDelegation, Vi as relayGrantDelegationMutationOptions, he as relayInstantOperations, Hi as relayInstantOperationsMutationOptions, Gt as removeMargin, Gn as removeMarginMutationOptions, Oa as requestCancelWithdraw, Vo as requestCancelWithdrawMutationOptions, C as requestTimelockApproval, w as requestTimelockApprovalMutationOptions, ka as requestToCancelCloseRequest, Ho as requestToCancelCloseRequestMutationOptions, Aa as requestToCancelQuote, Uo as requestToCancelQuoteMutationOptions, qt as requestToRegisterAffiliate, Kn as requestToRegisterAffiliateMutationOptions, Ve as requiredTimelockDelay, wm as resolutionToMs, Lp as resolveChildSide, Lc as resolveFeeRates, z as resolveGaslessService, cv as resolveInventoryService, ch as resolveListingService, Vc as resolveLockedParams, Rc as resolveMarkPrice, zc as resolveMarket, Of as resolveQuoteAccounts, Kf as resolveQuoteGroupingStrategy, ve as resolveTimelockFamilyAccount, ye as resolveTimelockRootAccount, Ui as resubmitGaslessRequest, Wi as resubmitGaslessRequestMutationOptions, s_ as retryListing, u_ as retryListingMutationOptions, Lm as roundToTick, nr as scheduleTimelockOp, rr as scheduleTimelockOpMutationOptions, Hs as searchNotifications, Us as searchNotificationsQueryKey, Ws as searchNotificationsQueryOptions, Kp as searchTpSlOrders, qp as searchTpSlOrdersQueryKey, Jp as searchTpSlOrdersQueryOptions, qc as sendInstantClose, uc as sendInstantOpen, oc as sendQuoteUpnlSigFlexRange, dc as sendRasaInstantOpen, $p as setQuoteTpSl, em as setQuoteTpSlMutationOptions, Gi as settleGaslessDepositExistingAccount, Ki as settleGaslessDepositExistingAccountMutationOptions, qi as settleGaslessDepositNewAccount, Ji as settleGaslessDepositNewAccountMutationOptions, dt as setupTimelockPolicy, ft as setupTimelockPolicyMutationOptions, ot as setupTimelocks, st as setupTimelocksMutationOptions, nd as sharePercent, Xf as shouldAccelerateOnchainReads, Zf as shouldAccelerateQuotePolling, _e as shouldSimulateBeforeWrite, h as signAndFormatInstantOperation, d as signSignedOperation, Dp as signTpSlRequest, yt as simulateAddMargin, qn as simulateAddMarginMutationOptions, ja as simulateAllocate, Wo as simulateAllocateMutationOptions, or as simulateApproveCollateral, hr as simulateApproveCollateralMutationOptions, xt as simulateCancelRegistration, Jn as simulateCancelRegistrationMutationOptions, Jt as simulateCreateSubAccounts, Yn as simulateCreateSubAccountsMutationOptions, Ma as simulateDeallocate, Na as simulateDeallocateAndInitiateWithdraw, Ko as simulateDeallocateAndInitiateWithdrawMutationOptions, Go as simulateDeallocateMutationOptions, wt as simulateDeleteSubAccount, Xn as simulateDeleteSubAccountMutationOptions, Et as simulateDepositAndAllocateForAccount, Zn as simulateDepositAndAllocateForAccountMutationOptions, Ot as simulateDepositForAccount, Qn as simulateDepositForAccountMutationOptions, Yt as simulateEditAccountName, $n as simulateEditAccountNameMutationOptions, fa as simulateFinalizeWithdrawRequest, qo as simulateFinalizeWithdrawRequestMutationOptions, xr as simulateGrantDelegation, Hr as simulateGrantDelegationMutationOptions, Cr as simulateGrantDelegations, Ur as simulateGrantDelegationsMutationOptions, Pa as simulateInitiateWithdraw, Jo as simulateInitiateWithdrawMutationOptions, Wt as simulateRemoveMargin, er as simulateRemoveMarginMutationOptions, Fa as simulateRequestCancelWithdraw, Yo as simulateRequestCancelWithdrawMutationOptions, Kt as simulateRequestToRegisterAffiliate, tr as simulateRequestToRegisterAffiliateMutationOptions, fc as submitPreparedInstantOpen, Rm as suggestOrderbookTickSizes, Hp as summarizeQuoteGroupTpSl, Cl as supportsEstimatedPrice, B as supportsGaslessService, de as supportsGaslessStatusStream, Qs as supportsGroupClose, lv as supportsInventoryService, $s as supportsLimitOrder, lh as supportsListingService, qf as supportsQuoteGrouping, am as supportsTpSl, i as symmioAbi, uh as toAddMarketRequest, pm as toBalanceHistoryRow, Mm as toBinanceInterval, xh as toCancelWithdrawResult, wh as toClaimRequest, Lh as toClaimResult, dh as toCreatedPool, jc as toEstimatedPrice, sp as toFundingIndexCheckpointRow, Bd as toGroupCloseCandidates, Up as toGroupTpSlChildren, Wp as toGroupTpSlOrders, dv as toInventoryTvl, mv as toInventoryTvlPoint, hp as toLiquidationDetailRow, mh as toListingAuthToken, Xh as toListingConfig, Ph as toListingMarket, sg as toListingMarketConfig, _g as toListingMarketDetail, Fh as toListingMarketPage, hh as toListingSignInMessage, eg as toListingStatus, Ih as toListingValue, rp as toMarginTransferRow, Kh as toMarketDepositAddress, wl as toMarketFundingInfo, yd as toPendingInstantClose, Bh as toPoolClaim, Vh as toPoolClaimHistoryPage, xg as toPoolPositions, Eg as toPoolQuote, d_ as toPoolRewardPoint, T_ as toPoolTransaction, E_ as toPoolTransactionPage, Jd as toQuoteEventRow, nf as toQuoteFundingRow, dp as toQuoteFundingSettlementRow, pf as toQuoteHistoryRow, e_ as toRefundRequest, t_ as toRefundResult, i_ as toRetryListingInfo, o_ as toRetryListingResult, kl as toRevenueRecord, Ep as toSignableTpSlMessage, Ll as toSolverDailyVolume, iv as toSolverRevenue, Nl as toSolverSymbols, Mf as toSubgraphQuoteRow, qs as toThresholdSeconds, P_ as toTokenPrice, Tm as toTradingViewDatafeed, Sm as toTradingViewResolution, _m as toTransferRow, wf as toUnifiedQuoteFromInstantClose, Tf as toUnifiedQuoteFromInstantOpen, Ef as toUnifiedQuoteFromOnchain, ug as toUpdateListingMarketConfigRequest, Rg as toUserListingMarket, zg as toUserListingMarketPage, Fg as toUserPoolProfit, f_ as toUserPoolRewardChart, Vg as toUserTransaction, Hg as toUserTransactionPage, Z_ as toWeeklyListingLimit, Ec as toWeiBigInt, tv as toWithdrawRequest, Fp as triggerPriceToWei, dg as updateListingMarketConfig, mg as updateListingMarketConfigMutationOptions, jd as validateInstantCloseAgainstMarket, Fc as validateInstantOpenAgainstMarket, Ic as validateInstantOpenBalanceFunding, zp as validateTpSl, me as waitForGaslessRequest, sh as walkOrderbook, ah as watchBinanceDepth, Nm as watchBinanceKlines, Ds as watchBinancePrices, Os as watchEnigmaPrices, fe as watchGaslessRequest, ws as watchNotifications, ks as watchPrices, cm as watchTpSlNotifications, Ia as withdraw, Ba as withdrawAuto, Zo as withdrawAutoMutationOptions, nv as withdrawLp, rv as withdrawLpMutationOptions, Xo as withdrawMutationOptions };