@symmio/trading-core 3.1.0 → 3.3.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 (128) hide show
  1. package/dist/core/chains/registry.js +1 -1
  2. package/dist/core/chains/registry.js.map +1 -1
  3. package/dist/index.d.ts +4 -2
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.js +304 -298
  6. package/dist/quotes/get-quote-history/solver-fees.d.ts +39 -0
  7. package/dist/quotes/get-quote-history/solver-fees.d.ts.map +1 -0
  8. package/dist/quotes/get-quote-history/solver-fees.js +36 -0
  9. package/dist/quotes/get-quote-history/solver-fees.js.map +1 -0
  10. package/dist/quotes/get-quote-history/to-history-row.d.ts.map +1 -1
  11. package/dist/quotes/get-quote-history/to-history-row.js +34 -30
  12. package/dist/quotes/get-quote-history/to-history-row.js.map +1 -1
  13. package/dist/quotes/get-quote-history/types.d.ts +20 -0
  14. package/dist/quotes/get-quote-history/types.d.ts.map +1 -1
  15. package/dist/quotes/get-quote-history/types.js.map +1 -1
  16. package/dist/solvers/get-solver-info/get-solver-info.d.ts +36 -0
  17. package/dist/solvers/get-solver-info/get-solver-info.d.ts.map +1 -0
  18. package/dist/solvers/get-solver-info/get-solver-info.js +28 -0
  19. package/dist/solvers/get-solver-info/get-solver-info.js.map +1 -0
  20. package/dist/solvers/get-solver-info/index.d.ts +3 -0
  21. package/dist/solvers/get-solver-info/index.d.ts.map +1 -0
  22. package/dist/solvers/get-solver-info/query.d.ts +29 -0
  23. package/dist/solvers/get-solver-info/query.d.ts.map +1 -0
  24. package/dist/solvers/get-solver-info/query.js +24 -0
  25. package/dist/solvers/get-solver-info/query.js.map +1 -0
  26. package/dist/solvers/instant-close/get-instant-close-fees/get-instant-close-fees.d.ts +152 -0
  27. package/dist/solvers/instant-close/get-instant-close-fees/get-instant-close-fees.d.ts.map +1 -0
  28. package/dist/solvers/instant-close/get-instant-close-fees/get-instant-close-fees.js +82 -0
  29. package/dist/solvers/instant-close/get-instant-close-fees/get-instant-close-fees.js.map +1 -0
  30. package/dist/solvers/instant-close/get-instant-close-fees/index.d.ts +3 -0
  31. package/dist/solvers/instant-close/get-instant-close-fees/index.d.ts.map +1 -0
  32. package/dist/solvers/instant-close/get-instant-close-fees/query.d.ts +37 -0
  33. package/dist/solvers/instant-close/get-instant-close-fees/query.d.ts.map +1 -0
  34. package/dist/solvers/instant-close/get-instant-close-fees/query.js +32 -0
  35. package/dist/solvers/instant-close/get-instant-close-fees/query.js.map +1 -0
  36. package/dist/solvers/instant-close/index.d.ts +1 -0
  37. package/dist/solvers/instant-close/index.d.ts.map +1 -1
  38. package/dist/solvers/instant-close/instant-close/instant-close.d.ts +4 -3
  39. package/dist/solvers/instant-close/instant-close/instant-close.d.ts.map +1 -1
  40. package/dist/solvers/instant-close/instant-close/instant-close.js +26 -22
  41. package/dist/solvers/instant-close/instant-close/instant-close.js.map +1 -1
  42. package/dist/solvers/instant-close/instant-close-bulk/instant-close-bulk.d.ts +2 -0
  43. package/dist/solvers/instant-close/instant-close-bulk/instant-close-bulk.d.ts.map +1 -1
  44. package/dist/solvers/instant-close/instant-close-bulk/instant-close-bulk.js +26 -22
  45. package/dist/solvers/instant-close/instant-close-bulk/instant-close-bulk.js.map +1 -1
  46. package/dist/solvers/instant-close/shared/calldata.d.ts +1 -1
  47. package/dist/solvers/instant-close/shared/calldata.d.ts.map +1 -1
  48. package/dist/solvers/instant-close/shared/calldata.js.map +1 -1
  49. package/dist/solvers/instant-close/shared/resolve-close-order-type.d.ts +13 -0
  50. package/dist/solvers/instant-close/shared/resolve-close-order-type.d.ts.map +1 -0
  51. package/dist/solvers/instant-close/shared/resolve-close-order-type.js +9 -0
  52. package/dist/solvers/instant-close/shared/resolve-close-order-type.js.map +1 -0
  53. package/dist/solvers/instant-close/shared/types.d.ts +3 -3
  54. package/dist/solvers/instant-open/get-instant-open-fees/get-instant-open-fees.d.ts +111 -35
  55. package/dist/solvers/instant-open/get-instant-open-fees/get-instant-open-fees.d.ts.map +1 -1
  56. package/dist/solvers/instant-open/get-instant-open-fees/get-instant-open-fees.js +168 -91
  57. package/dist/solvers/instant-open/get-instant-open-fees/get-instant-open-fees.js.map +1 -1
  58. package/dist/solvers/instant-open/get-instant-open-fees/query.d.ts +3 -2
  59. package/dist/solvers/instant-open/get-instant-open-fees/query.d.ts.map +1 -1
  60. package/dist/solvers/instant-open/get-instant-open-fees/query.js +4 -15
  61. package/dist/solvers/instant-open/get-instant-open-fees/query.js.map +1 -1
  62. package/dist/solvers/instant-open/prepare-instant-open-params/index.d.ts +1 -0
  63. package/dist/solvers/instant-open/prepare-instant-open-params/index.d.ts.map +1 -1
  64. package/dist/solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.d.ts +108 -12
  65. package/dist/solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.d.ts.map +1 -1
  66. package/dist/solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.js +169 -149
  67. package/dist/solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.js.map +1 -1
  68. package/dist/solvers/instant-open/prepare-instant-open-params/query.d.ts +49 -0
  69. package/dist/solvers/instant-open/prepare-instant-open-params/query.d.ts.map +1 -0
  70. package/dist/solvers/instant-open/prepare-instant-open-params/query.js +24 -0
  71. package/dist/solvers/instant-open/prepare-instant-open-params/query.js.map +1 -0
  72. package/dist/solvers/instant-open/prepare-instant-open-params/resolvers/index.d.ts +0 -1
  73. package/dist/solvers/instant-open/prepare-instant-open-params/resolvers/index.d.ts.map +1 -1
  74. package/dist/solvers/instant-open/shared/full-balance-sizing.d.ts +164 -0
  75. package/dist/solvers/instant-open/shared/full-balance-sizing.d.ts.map +1 -0
  76. package/dist/solvers/instant-open/shared/full-balance-sizing.js +138 -0
  77. package/dist/solvers/instant-open/shared/full-balance-sizing.js.map +1 -0
  78. package/dist/solvers/instant-open/shared/index.d.ts +1 -0
  79. package/dist/solvers/instant-open/shared/index.d.ts.map +1 -1
  80. package/dist/solvers/instant-open/shared/resolve-instant-open-sizing.d.ts +46 -0
  81. package/dist/solvers/instant-open/shared/resolve-instant-open-sizing.d.ts.map +1 -0
  82. package/dist/solvers/instant-open/shared/resolve-instant-open-sizing.js +50 -0
  83. package/dist/solvers/instant-open/shared/resolve-instant-open-sizing.js.map +1 -0
  84. package/dist/solvers/instant-open/shared/trade-math.d.ts +73 -26
  85. package/dist/solvers/instant-open/shared/trade-math.d.ts.map +1 -1
  86. package/dist/solvers/instant-open/shared/trade-math.js +18 -13
  87. package/dist/solvers/instant-open/shared/trade-math.js.map +1 -1
  88. package/dist/solvers/instant-open/shared/types.d.ts +18 -1
  89. package/dist/solvers/instant-open/shared/types.d.ts.map +1 -1
  90. package/dist/solvers/instant-open/shared/types.js.map +1 -1
  91. package/dist/solvers/limit-open/prepare-limit-open-params.d.ts +3 -1
  92. package/dist/solvers/limit-open/prepare-limit-open-params.d.ts.map +1 -1
  93. package/dist/solvers/limit-open/prepare-limit-open-params.js.map +1 -1
  94. package/dist/solvers/shared/resolvers/index.d.ts +2 -0
  95. package/dist/solvers/shared/resolvers/index.d.ts.map +1 -1
  96. package/dist/solvers/{instant-open/prepare-instant-open-params → shared}/resolvers/resolve-fee-rates.d.ts +3 -3
  97. package/dist/solvers/shared/resolvers/resolve-fee-rates.d.ts.map +1 -0
  98. package/dist/solvers/{instant-open/prepare-instant-open-params → shared}/resolvers/resolve-fee-rates.js +2 -2
  99. package/dist/solvers/shared/resolvers/resolve-fee-rates.js.map +1 -0
  100. package/dist/solvers/shared/resolvers/resolve-market.d.ts +21 -0
  101. package/dist/solvers/shared/resolvers/resolve-market.d.ts.map +1 -1
  102. package/dist/solvers/shared/resolvers/resolve-market.js +34 -18
  103. package/dist/solvers/shared/resolvers/resolve-market.js.map +1 -1
  104. package/dist/solvers/shared/resolvers/resolve-solver-info.d.ts +29 -0
  105. package/dist/solvers/shared/resolvers/resolve-solver-info.d.ts.map +1 -0
  106. package/dist/solvers/shared/resolvers/resolve-solver-info.js +21 -0
  107. package/dist/solvers/shared/resolvers/resolve-solver-info.js.map +1 -0
  108. package/dist/solvers/shared/resolvers/types.d.ts +12 -0
  109. package/dist/solvers/shared/resolvers/types.d.ts.map +1 -1
  110. package/dist/solvers/types/generated/enigma-solver.d.ts +43 -82
  111. package/dist/solvers/types/generated/enigma-solver.d.ts.map +1 -1
  112. package/dist/solvers/types/generated/enigma-solver.js +6 -6
  113. package/dist/solvers/types/generated/enigma-solver.js.map +1 -1
  114. package/dist/symmio-contracts/abi/v0.8.6/account-layer.d.ts +696 -85
  115. package/dist/symmio-contracts/abi/v0.8.6/account-layer.d.ts.map +1 -1
  116. package/dist/symmio-contracts/abi/v0.8.6/account-layer.js +815 -116
  117. package/dist/symmio-contracts/abi/v0.8.6/account-layer.js.map +1 -1
  118. package/dist/symmio-contracts/abi/v0.8.6/symmio.d.ts +1044 -467
  119. package/dist/symmio-contracts/abi/v0.8.6/symmio.d.ts.map +1 -1
  120. package/dist/symmio-contracts/abi/v0.8.6/symmio.js +1183 -496
  121. package/dist/symmio-contracts/abi/v0.8.6/symmio.js.map +1 -1
  122. package/dist/symmio-contracts/symmio/types.d.ts +3 -1
  123. package/dist/symmio-contracts/symmio/types.d.ts.map +1 -1
  124. package/dist/symmio-contracts/symmio/types.js +1 -1
  125. package/dist/symmio-contracts/symmio/types.js.map +1 -1
  126. package/package.json +1 -1
  127. package/dist/solvers/instant-open/prepare-instant-open-params/resolvers/resolve-fee-rates.d.ts.map +0 -1
  128. package/dist/solvers/instant-open/prepare-instant-open-params/resolvers/resolve-fee-rates.js.map +0 -1
package/dist/index.js CHANGED
@@ -269,301 +269,307 @@ import { decimalPriceToWei as So } from "./shared/utils/price.js";
269
269
  import { toEstimatedPrice as Co } from "./solvers/estimated-price/to-estimated-price.js";
270
270
  import { getEstimatedPrice as wo } from "./solvers/estimated-price/get-estimated-price.js";
271
271
  import { deriveAutoSlippage as To } from "./solvers/instant-open/shared/open-estimate-guard.js";
272
- import { resolveMarkPrice as Eo } from "./solvers/shared/resolvers/resolve-mark-price.js";
273
- import { resolveMarket as Do } from "./solvers/shared/resolvers/resolve-market.js";
274
- import { resolveFeeRates as Oo } from "./solvers/instant-open/prepare-instant-open-params/resolvers/resolve-fee-rates.js";
275
- import { getLockedParams as ko } from "./solvers/locked-params/get-locked-params.js";
276
- import { resolveLockedParams as Ao } from "./solvers/instant-open/prepare-instant-open-params/resolvers/resolve-locked-params.js";
277
- import { prepareInstantOpenParams as jo } from "./solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.js";
278
- import { prepareLimitOpenParams as Mo } from "./solvers/limit-open/prepare-limit-open-params.js";
279
- import { limitOpenAuto as No } from "./solvers/limit-open/limit-open-auto.js";
280
- import { limitOpenAutoMutationOptions as Po } from "./solvers/limit-open/query.js";
281
- import { encodeRequestToClosePosition as Fo } from "./solvers/instant-close/shared/calldata.js";
282
- import { sendInstantClose as Io } from "./solvers/instant-close/shared/hedger-api.js";
283
- import { instantClose as Lo } from "./solvers/instant-close/instant-close/instant-close.js";
284
- import { calculateClosePrice as Ro, clampClosePrecision as zo } from "./solvers/instant-close/shared/close-math.js";
285
- import { prepareInstantCloseParams as Bo } from "./solvers/instant-close/prepare-instant-close-params/prepare-instant-close-params.js";
286
- import { prepareLimitCloseParams as Vo } from "./solvers/limit-close/prepare-limit-close-params.js";
287
- import { limitCloseAuto as Ho } from "./solvers/limit-close/limit-close-auto.js";
288
- import { limitCloseAutoMutationOptions as Uo } from "./solvers/limit-close/query.js";
289
- import { BINANCE_EXCHANGE_INFO_PATH as Wo, BINANCE_KLINES_PATH as Go, BINANCE_MAX_LIMIT as Ko, BINANCE_REST_URL as qo, BINANCE_WS_URL as Jo } from "./candles/sources/binance/constants.js";
290
- import { parseBinanceKline as Yo, parseBinanceKlineEvent as Xo } from "./candles/sources/binance/parse-kline.js";
291
- import { getForceClosePriceSig as Zo } from "./muon/force-close-price-sig/get-force-close-price-sig.js";
292
- import { checkForceCloseEligibility as Qo, checkForceClosePriceReached as $o, findForceCloseWindow as es, previewForceClosePrice as ts } from "./solvers/force-close/force-close-math.js";
293
- import { forceClosePosition as ns } from "./solvers/force-close/force-close-position.js";
294
- import { getForceCloseParams as rs } from "./solvers/force-close/get-force-close-params.js";
295
- import { forceCloseAuto as is } from "./solvers/force-close/force-close-auto.js";
296
- import { forceCloseAutoMutationOptions as as, forceClosePositionMutationOptions as os, getForceCloseParamsQueryKey as ss, getForceCloseParamsQueryOptions as cs } from "./solvers/force-close/query.js";
297
- import { calculatePriceImpact as ls } from "./solvers/estimated-price/price-impact.js";
298
- import { getEstimatedPriceQueryKey as us, getEstimatedPriceQueryOptions as ds } from "./solvers/estimated-price/query.js";
299
- import { supportsEstimatedPrice as fs } from "./solvers/estimated-price/supports-estimated-price.js";
300
- import { toMarketFundingInfo as ps } from "./solvers/funding-info/to-funding-info.js";
301
- import { getFundingInfo as ms } from "./solvers/funding-info/get-funding-info.js";
302
- import { projectFundingRate as hs } from "./solvers/funding-info/project-funding-rate.js";
303
- import { getFundingInfoQueryKey as gs, getFundingInfoQueryOptions as _s } from "./solvers/funding-info/query.js";
304
- import { toRevenueRecord as vs } from "./solvers/revenue-records/to-revenue-record.js";
305
- import { getRevenueRecords as ys } from "./solvers/revenue-records/get-revenue-records.js";
306
- import { getRevenueRecordsQueryKey as bs, getRevenueRecordsQueryOptions as xs } from "./solvers/revenue-records/query.js";
307
- import { toSolverSymbols as Ss } from "./solvers/symbols/to-solver-symbol.js";
308
- import { getSymbols as Cs } from "./solvers/symbols/get-symbols.js";
309
- import { getSymbolsQueryKey as ws, getSymbolsQueryOptions as Ts } from "./solvers/symbols/query.js";
310
- import { toSolverDailyVolume as Es } from "./solvers/trade-volume/to-daily-volume.js";
311
- import { getTradeVolume as Ds } from "./solvers/trade-volume/get-trade-volume.js";
312
- import { getTradeVolumeQueryKey as Os, getTradeVolumeQueryOptions as ks } from "./solvers/trade-volume/query.js";
313
- import { getErrorMessage as As } from "./solvers/get-error-message/get-error-message.js";
314
- import { getErrorMessageQueryKey as js, getErrorMessageQueryOptions as Ms } from "./solvers/get-error-message/query.js";
315
- import { getPartyAUpnl as Ns } from "./solvers/get-party-a-upnl/get-party-a-upnl.js";
316
- import { getPartyAUpnlQueryKey as Ps, getPartyAUpnlQueryOptions as Fs } from "./solvers/get-party-a-upnl/query.js";
317
- import { getSolverBalanceInfo as Is } from "./solvers/get-solver-balance-info/get-solver-balance-info.js";
318
- import { getSolverBalanceInfoQueryKey as Ls, getSolverBalanceInfoQueryOptions as Rs } from "./solvers/get-solver-balance-info/query.js";
319
- import { getSolverOpenInterest as zs } from "./solvers/get-solver-open-interest/get-solver-open-interest.js";
320
- import { getSolverOpenInterestQueryKey as Bs, getSolverOpenInterestQueryOptions as Vs } from "./solvers/get-solver-open-interest/query.js";
321
- import { getSolverPriceRange as Hs } from "./solvers/get-solver-price-range/get-solver-price-range.js";
322
- import { getSolverPriceRangeQueryKey as Us, getSolverPriceRangeQueryOptions as Ws } from "./solvers/get-solver-price-range/query.js";
323
- import { getSolverReadiness as Gs } from "./solvers/get-solver-readiness/get-solver-readiness.js";
324
- import { getSolverReadinessQueryKey as Ks, getSolverReadinessQueryOptions as qs } from "./solvers/get-solver-readiness/query.js";
325
- import { getMarketInfo as Js } from "./solvers/market-info/get-market-info.js";
326
- import { getMarketInfoQueryKey as Ys, getMarketInfoQueryOptions as Xs } from "./solvers/market-info/query.js";
327
- import { getLockedParamsQueryKey as Zs, getLockedParamsQueryOptions as Qs } from "./solvers/locked-params/query.js";
328
- import { checkNotionalCap as $s } from "./solvers/notional-cap/check-notional-cap.js";
329
- import { getNotionalCapAll as ec } from "./solvers/notional-cap/get-notional-cap-all.js";
330
- import { getNotionalCapBySymbolId as tc } from "./solvers/notional-cap/get-notional-cap-by-symbol-id.js";
331
- import { getOpenInterestBySymbolId as nc } from "./solvers/notional-cap/get-open-interest-by-symbol-id.js";
332
- import { getNotionalCapBySymbolIdQueryKey as rc, getNotionalCapBySymbolIdQueryOptions as ic } from "./solvers/notional-cap/query.js";
333
- import { getNotionalCapAllQueryKey as ac, getNotionalCapAllQueryOptions as oc } from "./solvers/notional-cap/query-all.js";
334
- import { getOpenInterestBySymbolIdQueryKey as sc, getOpenInterestBySymbolIdQueryOptions as cc } from "./solvers/notional-cap/query-open-interest.js";
335
- import { getSolverErrorCodes as lc } from "./solvers/error-codes/get-solver-error-codes.js";
336
- import { getSolverErrorCodesQueryKey as uc, getSolverErrorCodesQueryOptions as dc } from "./solvers/error-codes/query.js";
337
- import { getDeallocateUpnlSigQueryKey as fc, getDeallocateUpnlSigQueryOptions as pc } from "./muon/deallocate-upnl-sig/query.js";
338
- import { getForceClosePriceSigQueryKey as mc, getForceClosePriceSigQueryOptions as hc } from "./muon/force-close-price-sig/query.js";
339
- import { getMuonPartyAOverview as gc } from "./muon/party-a-overview/get-muon-party-a-overview.js";
340
- import { getMuonPartyAOverviewQueryKey as _c, getMuonPartyAOverviewQueryOptions as vc } from "./muon/party-a-overview/query.js";
341
- import { getMuonPrice as yc } from "./muon/price/get-muon-price.js";
342
- import { getMuonPriceQueryKey as bc, getMuonPriceQueryOptions as xc } from "./muon/price/query.js";
343
- import { getMuonPriceRange as Sc } from "./muon/price-range/get-muon-price-range.js";
344
- import { getMuonPriceRangeQueryKey as Cc, getMuonPriceRangeQueryOptions as wc } from "./muon/price-range/query.js";
345
- import { getMuonSettleUpnl as Tc } from "./muon/settle-upnl/get-muon-settle-upnl.js";
346
- import { getMuonSettleUpnlQueryKey as Ec, getMuonSettleUpnlQueryOptions as Dc } from "./muon/settle-upnl/query.js";
347
- import { getMuonUpnl as Oc } from "./muon/upnl/get-muon-upnl.js";
348
- import { getMuonUpnlQueryKey as kc, getMuonUpnlQueryOptions as Ac } from "./muon/upnl/query.js";
349
- import { getMuonUpnlA as jc } from "./muon/upnl-a/get-muon-upnl-a.js";
350
- import { getMuonUpnlAQueryKey as Mc, getMuonUpnlAQueryOptions as Nc } from "./muon/upnl-a/query.js";
351
- import { getMuonUpnlAWithSymbolPrice as Pc } from "./muon/upnl-a-with-symbol-price/get-muon-upnl-a-with-symbol-price.js";
352
- import { getMuonUpnlAWithSymbolPriceQueryKey as Fc, getMuonUpnlAWithSymbolPriceQueryOptions as Ic } from "./muon/upnl-a-with-symbol-price/query.js";
353
- import { getMuonUpnlB as Lc } from "./muon/upnl-b/get-muon-upnl-b.js";
354
- import { getMuonUpnlBQueryKey as Rc, getMuonUpnlBQueryOptions as zc } from "./muon/upnl-b/query.js";
355
- import { getMuonUpnlWithSymbolPrice as Bc } from "./muon/upnl-with-symbol-price/get-muon-upnl-with-symbol-price.js";
356
- import { getMuonUpnlWithSymbolPriceQueryKey as Vc, getMuonUpnlWithSymbolPriceQueryOptions as Hc } from "./muon/upnl-with-symbol-price/query.js";
357
- import { sharePercent as Uc } from "./shared/utils/percent.js";
358
- import { getInstantOpenFees as Wc } from "./solvers/instant-open/get-instant-open-fees/get-instant-open-fees.js";
359
- import { getInstantOpenFeesQueryKey as Gc, getInstantOpenFeesQueryOptions as Kc } from "./solvers/instant-open/get-instant-open-fees/query.js";
360
- import { getInstantOpenQuoteId as qc } from "./solvers/instant-open/get-instant-open-quote-id/get-instant-open-quote-id.js";
361
- import { getInstantOpenQuoteIdQueryKey as Jc, getInstantOpenQuoteIdQueryOptions as Yc } from "./solvers/instant-open/get-instant-open-quote-id/query.js";
362
- import { getInstantOpens as Xc } from "./solvers/instant-open/get-instant-opens/get-instant-opens.js";
363
- import { getInstantOpensQueryKey as Zc, getInstantOpensQueryOptions as Qc } from "./solvers/instant-open/get-instant-opens/query.js";
364
- import { instantOpenAuto as $c } from "./solvers/instant-open/instant-open-auto/instant-open-auto.js";
365
- import { instantOpenAutoMutationOptions as el } from "./solvers/instant-open/instant-open-auto/query.js";
366
- import { validateInstantOpenAgainstMarket as tl } from "./solvers/instant-open/shared/quote-constraints.js";
367
- import { toPendingInstantClose as nl } from "./solvers/instant-close/get-instant-closes/to-pending-instant-close.js";
368
- import { getInstantCloses as rl } from "./solvers/instant-close/get-instant-closes/get-instant-closes.js";
369
- import { getInstantClosesQueryKey as il, getInstantClosesQueryOptions as al } from "./solvers/instant-close/get-instant-closes/query.js";
370
- import { instantCloseMutationOptions as ol } from "./solvers/instant-close/instant-close/query.js";
371
- import { instantCloseAuto as sl } from "./solvers/instant-close/instant-close-auto/instant-close-auto.js";
372
- import { instantCloseAutoMutationOptions as cl } from "./solvers/instant-close/instant-close-auto/query.js";
373
- import { MAX_INSTANT_CLOSE_BULK_ORDERS as ll, instantCloseBulk as ul } from "./solvers/instant-close/instant-close-bulk/instant-close-bulk.js";
374
- import { instantCloseBulkMutationOptions as dl } from "./solvers/instant-close/instant-close-bulk/query.js";
375
- import { instantCloseBulkAuto as fl } from "./solvers/instant-close/instant-close-bulk-auto/instant-close-bulk-auto.js";
376
- import { instantCloseBulkAutoMutationOptions as pl } from "./solvers/instant-close/instant-close-bulk-auto/query.js";
377
- import { validateInstantCloseAgainstMarket as ml } from "./solvers/instant-close/shared/quote-constraints.js";
378
- import { QuoteLifecycle as hl } from "./quotes/unified-quote.js";
379
- import { applyNotificationToQuotes as gl, classifyQuoteNotificationAction as _l, isCancelAction as vl, isCloseFillAction as yl, isOpenAnchorAction as bl } from "./quotes/apply-notification.js";
380
- import { minRemainingQuantityOf as xl } from "./quotes/close-planning/min-remaining-quantity.js";
381
- import { planGroupClose as Sl } from "./quotes/close-planning/plan-group-close/plan-group-close.js";
382
- import { toGroupCloseCandidates as Cl } from "./quotes/close-planning/to-close-candidates.js";
383
- import { calculateClosePlatformFee as wl } from "./quotes/fees/calculate-close-platform-fee.js";
384
- import { calculateOpenPlatformFee as Tl } from "./quotes/fees/calculate-open-platform-fee.js";
385
- import { fingerprintQuote as El } from "./quotes/fingerprint.js";
386
- import { querySubgraph as Dl } from "./symmio-subgraph/query-subgraph/query-subgraph.js";
387
- import { getQuerySubgraphQueryKey as Ol, querySubgraphQueryOptions as kl } from "./symmio-subgraph/query-subgraph/query.js";
388
- import { toQuoteEventRow as Al } from "./quotes/get-quote-events-by-type/to-quote-event-row.js";
389
- import { DEFAULT_QUOTE_EVENTS_BY_TYPE_PAGE_SIZE as jl, getQuoteEventsByType as Ml } from "./quotes/get-quote-events-by-type/get-quote-events-by-type.js";
390
- import { getQuoteEventsByTypeQueryKey as Nl, getQuoteEventsByTypeQueryOptions as Pl } from "./quotes/get-quote-events-by-type/query.js";
391
- import { FUNDING_HISTORY_EVENT_TYPES as Fl, PRICE_HISTORY_EVENT_TYPES as Il, QuoteEventType as Ll } from "./quotes/get-quote-events-by-type/types.js";
392
- import { toQuoteFundingRow as Rl } from "./quotes/get-quote-funding/to-funding-row.js";
393
- import { QUOTES_FUNDING_MAX_IDS_PER_REQUEST as zl, getQuoteFunding as Bl } from "./quotes/get-quote-funding/get-quote-funding.js";
394
- import { getQuoteFundingQueryKey as Vl, getQuoteFundingQueryOptions as Hl } from "./quotes/get-quote-funding/query.js";
395
- import { QuoteCloseEventType as Ul, QuoteCloseType as Wl } from "./quotes/get-quote-history/types.js";
396
- import { closeTypeToEventTypes as Gl, eventTypeToCloseType as Kl, eventTypeToQuoteStatus as ql } from "./quotes/get-quote-history/close-type.js";
397
- import { toQuoteHistoryRow as Jl } from "./quotes/get-quote-history/to-history-row.js";
398
- import { getQuoteHistory as Yl } from "./quotes/get-quote-history/get-quote-history.js";
399
- import { getQuoteHistoryQueryKey as Xl, getQuoteHistoryQueryOptions as Zl } from "./quotes/get-quote-history/query.js";
400
- import { getQuotePendingFunding as Ql } from "./quotes/get-quote-pending-funding/get-quote-pending-funding.js";
401
- import { getQuotePendingFundingQueryKey as $l, getQuotePendingFundingQueryOptions as eu } from "./quotes/get-quote-pending-funding/query.js";
402
- import { getQuotesEventsByType as tu } from "./quotes/get-quotes-events-by-type/get-quotes-events-by-type.js";
403
- import { getQuotesEventsByTypeQueryKey as nu, getQuotesEventsByTypeQueryOptions as ru } from "./quotes/get-quotes-events-by-type/query.js";
404
- import { lifecycleFromQuoteStatus as iu, toUnifiedQuoteFromInstantClose as au, toUnifiedQuoteFromInstantOpen as ou, toUnifiedQuoteFromOnchain as su } from "./quotes/to-unified-quote.js";
405
- import { reconcileQuotes as cu } from "./quotes/reconcile-quotes.js";
406
- import { resolveQuoteAccounts as lu } from "./quotes/resolve-quote-accounts.js";
407
- import { getSubAccountQuotes as uu } from "./quotes/get-sub-account-quotes/get-sub-account-quotes.js";
408
- import { getSubAccountQuotesQueryKey as du, getSubAccountQuotesQueryOptions as fu } from "./quotes/get-sub-account-quotes/query.js";
409
- import { aggregateGroupFunding as pu } from "./quotes/grouping/aggregate-group-funding.js";
410
- import { isActivePosition as mu, isActiveQuoteStatus as hu, isPendingOrder as gu, partitionQuotes as _u } from "./quotes/grouping/partition-quotes.js";
411
- import { aggregateGroupUpnl as vu } from "./quotes/grouping/aggregate-group-upnl.js";
412
- import { aggregateGroupMetrics as yu } from "./quotes/grouping/aggregate-metrics.js";
413
- import { assertQuoteGroupingSupported as bu, keyQuoteByMarket as xu, keyQuotePerQuote as Su, resolveQuoteGroupingStrategy as Cu, supportsQuoteGrouping as wu } from "./quotes/grouping/group-strategy.js";
414
- import { groupQuotes as Tu } from "./quotes/grouping/group-quotes.js";
415
- import { calculateLiquidationPrice as Eu } from "./quotes/liquidation/calculate-liquidation-price.js";
416
- import { shouldAccelerateOnchainReads as Du, shouldAccelerateQuotePolling as Ou } from "./quotes/should-accelerate.js";
417
- import { calculateQuoteLeverage as ku } from "./quotes/upnl/calculate-quote-leverage.js";
418
- import { calculateQuotePnl as Au } from "./quotes/upnl/calculate-quote-pnl.js";
419
- import { calculateQuoteUpnl as ju } from "./quotes/upnl/calculate-quote-upnl.js";
420
- import { calculateQuoteUpnlWei as Mu } from "./quotes/upnl/calculate-quote-upnl-wei.js";
421
- import { calculateMarginRisk as Nu } from "./margin/calculate-margin-risk.js";
422
- import { getTpSlConfig as Pu } from "./tpsl/config/get-tpsl-config.js";
423
- import { getTpSlConfigQueryKey as Fu, getTpSlConfigQueryOptions as Iu } from "./tpsl/config/query.js";
424
- import { ZERO_LEG as Lu, buildConditionalOrderMessage as Ru, buildTpSlDeleteMessage as zu, generateTpSlSalt as Bu, toSignableTpSlMessage as Vu } from "./tpsl/set-quote-tpsl/build-conditional-order-message.js";
425
- import { signTpSlRequest as Hu } from "./tpsl/set-quote-tpsl/sign-tpsl-request.js";
426
- import { getTpSlDeleteSigningSpec as Uu } from "./tpsl/signing-spec/get-tpsl-delete-signing-spec.js";
427
- import { deleteQuoteTpSl as Wu } from "./tpsl/delete-quote-tpsl/delete-quote-tpsl.js";
428
- import { deleteQuoteTpSlMutationOptions as Gu } from "./tpsl/delete-quote-tpsl/query.js";
429
- import { getQuoteTpSl as Ku } from "./tpsl/get-quote-tpsl/get-quote-tpsl.js";
430
- import { getQuoteTpSlQueryKey as qu, getQuoteTpSlQueryOptions as Ju } from "./tpsl/get-quote-tpsl/query.js";
431
- import { childNotional as Yu, triggerPriceToWei as Xu } from "./tpsl/grouping/notional.js";
432
- import { GROUP_TPSL_SIDES as Zu, resolveChildSide as Qu } from "./tpsl/grouping/resolve-child-side.js";
433
- import { estimateGroupTpSlReturn as $u } from "./tpsl/grouping/estimate-group-tpsl-return.js";
434
- import { validateTpSl as ed } from "./tpsl/validate-tpsl.js";
435
- import { planGroupTpSl as td } from "./tpsl/grouping/plan-group-tpsl/plan-group-tpsl.js";
436
- import { planGroupTpSlDelete as nd } from "./tpsl/grouping/plan-group-tpsl-delete.js";
437
- import { summarizeQuoteGroupTpSl as rd } from "./tpsl/grouping/summarize-group-tpsl.js";
438
- import { toGroupTpSlChildren as id } from "./tpsl/grouping/to-group-tpsl-children.js";
439
- import { toGroupTpSlOrders as ad } from "./tpsl/grouping/to-group-tpsl-orders.js";
440
- import { TPSL_LIVE_ORDER_STATES as od, searchTpSlOrders as sd } from "./tpsl/search-tpsl-orders/search-tpsl-orders.js";
441
- import { searchTpSlOrdersQueryKey as cd, searchTpSlOrdersQueryOptions as ld } from "./tpsl/search-tpsl-orders/query.js";
442
- import { buildConditionalOrderLeg as ud } from "./tpsl/set-quote-tpsl/build-conditional-order-leg.js";
443
- import { getTpSlSigningSpec as dd } from "./tpsl/signing-spec/get-tpsl-signing-spec.js";
444
- import { DEFAULT_TPSL_SLIPPAGE_LOWCAPS as fd, priceSlippageCalculation as pd } from "./tpsl/slippage.js";
445
- import { setQuoteTpSl as md } from "./tpsl/set-quote-tpsl/set-quote-tpsl.js";
446
- import { setQuoteTpSlMutationOptions as hd } from "./tpsl/set-quote-tpsl/query.js";
447
- import { getTpSlDeleteSigningSpecQueryKey as gd, getTpSlDeleteSigningSpecQueryOptions as _d } from "./tpsl/signing-spec/delete-query.js";
448
- import { getTpSlSigningSpecQueryKey as vd, getTpSlSigningSpecQueryOptions as yd } from "./tpsl/signing-spec/query.js";
449
- import { supportsTpSl as bd } from "./tpsl/supports-tpsl.js";
450
- import { TpSlSearchOrderType as xd } from "./tpsl/types.js";
451
- import { parseTpSlFrame as Sd } from "./websocket/tpsl/parse-tpsl-frame.js";
452
- import { watchTpSlNotifications as Cd } from "./websocket/tpsl/watch-tpsl-notifications.js";
453
- import { BalanceChangeType as wd, BalanceHistoryFilter as Td, MarginTransferType as Ed } from "./balance-history/get-balance-history/types.js";
454
- import { balanceHistoryFilterToTypes as Dd } from "./balance-history/get-balance-history/balance-history-filter.js";
455
- import { toBalanceHistoryRow as Od } from "./balance-history/get-balance-history/to-balance-history-row.js";
456
- import { getBalanceHistory as kd } from "./balance-history/get-balance-history/get-balance-history.js";
457
- import { getBalanceHistoryQueryKey as Ad, getBalanceHistoryQueryOptions as jd } from "./balance-history/get-balance-history/query.js";
458
- import { toTransferRow as Md } from "./transfers/get-transfer-history/to-transfer-row.js";
459
- import { getTransferHistory as Nd } from "./transfers/get-transfer-history/get-transfer-history.js";
460
- import { getTransferHistoryQueryKey as Pd, getTransferHistoryQueryOptions as Fd } from "./transfers/get-transfer-history/query.js";
461
- import { fromTradingViewResolution as Id, toTradingViewResolution as Ld } from "./candles/adapters/tradingview/map-resolution.js";
462
- import { CANDLE_RESOLUTION_MS as Rd, resolutionToMs as zd } from "./candles/resolution.js";
463
- import { toTradingViewDatafeed as Bd } from "./candles/adapters/tradingview/to-tradingview-datafeed.js";
464
- import { getCandlesQueryKey as Vd, getCandlesQueryOptions as Hd } from "./candles/query.js";
465
- import { getBinanceSupportedResolutions as Ud, toBinanceInterval as Wd } from "./candles/sources/binance/map-resolution.js";
466
- import { watchBinanceKlines as Gd } from "./candles/sources/binance/watch-binance-klines.js";
467
- import { createBinanceCandleSource as Kd } from "./candles/sources/binance/create-binance-candle-source.js";
468
- import { countTickDecimals as qd, roundToTick as Jd, suggestOrderbookTickSizes as Yd } from "./orderbook/tick-size.js";
469
- import { accumulateOrderbook as Xd, getOrderbookDepthWithin as Zd, getOrderbookSpread as Qd, groupOrderbook as $d } from "./orderbook/aggregate.js";
470
- import { getOrderbookQueryKey as ef, getOrderbookQueryOptions as tf } from "./orderbook/query.js";
471
- import { BINANCE_DEPTH_DEFAULT_LEVELS as nf, BINANCE_DEPTH_DEFAULT_LIMIT as rf, BINANCE_DEPTH_DEFAULT_UPDATE_SPEED as af, BINANCE_DEPTH_LIMITS as of, BINANCE_DEPTH_MAX_BUFFERED_EVENTS as sf, BINANCE_DEPTH_PATH as cf, BINANCE_DEPTH_REST_URL as lf, BINANCE_DEPTH_UPDATE_SPEEDS as uf, BINANCE_DEPTH_WS_URL as df, BINANCE_ORDERBOOK_EXCHANGE_INFO_PATH as ff } from "./orderbook/sources/binance/constants.js";
472
- import { parseBinanceDepthLevel as pf, parseBinanceDepthLevels as mf } from "./orderbook/sources/binance/parse-depth.js";
473
- import { fetchBinanceDepth as hf } from "./orderbook/sources/binance/fetch-binance-depth.js";
474
- import { fetchBinanceSymbolFilters as gf } from "./orderbook/sources/binance/fetch-binance-symbol-filters.js";
475
- import { watchBinanceDepth as _f } from "./orderbook/sources/binance/watch-binance-depth.js";
476
- import { createBinanceOrderbookSource as vf } from "./orderbook/sources/binance/create-binance-orderbook-source.js";
477
- import { walkOrderbook as yf } from "./orderbook/walk.js";
478
- import { resolveListingService as bf, supportsListingService as xf } from "./pools/resolve-listing.js";
479
- import { toAddMarketRequest as Sf } from "./pools/add-market/to-add-market-request.js";
480
- import { toCreatedPool as Cf } from "./pools/add-market/to-created-pool.js";
481
- import { addMarket as wf } from "./pools/add-market/add-market.js";
482
- import { addMarketMutationOptions as Tf } from "./pools/add-market/query.js";
483
- import { toListingAuthToken as Ef, toListingSignInMessage as Df } from "./pools/auth/to-siwe.js";
484
- import { getListingSignInMessage as Of } from "./pools/auth/get-sign-in-message.js";
485
- import { authenticateListing as kf } from "./pools/auth/authenticate-listing.js";
486
- import { authenticateListingMutationOptions as Af } from "./pools/auth/query.js";
487
- import { toCancelWithdrawResult as jf } from "./pools/cancel-withdraw/to-cancel-withdraw-result.js";
488
- import { cancelWithdraw as Mf } from "./pools/cancel-withdraw/cancel-withdraw.js";
489
- import { cancelWithdrawMutationOptions as Nf } from "./pools/cancel-withdraw/query.js";
490
- import { toClaimRequest as Pf } from "./pools/claim/to-claim-request.js";
491
- import { LISTING_VALUE_DECIMALS as Ff, ListingDepositChainId as If, ListingMarketStatus as Lf, MarketLockReason as Rf, PoolPositionSide as zf, PoolTransactionStatus as Bf, PoolTransactionType as Vf } from "./pools/types.js";
492
- import { parseListingValue as Hf, toListingMarket as Uf, toListingMarketPage as Wf, toListingValue as Gf } from "./pools/markets/to-listing-market.js";
493
- import { toClaimResult as Kf } from "./pools/claim/to-claim-result.js";
494
- import { claimProfit as qf } from "./pools/claim/claim-profit.js";
495
- import { claimProfitMutationOptions as Jf } from "./pools/claim/query.js";
496
- import { toPoolClaim as Yf, toPoolClaimHistoryPage as Xf } from "./pools/claim-history/to-pool-claim.js";
497
- import { getClaimHistory as Zf } from "./pools/claim-history/get-claim-history.js";
498
- import { getClaimHistoryQueryKey as Qf, getClaimHistoryQueryOptions as $f } from "./pools/claim-history/query.js";
499
- import { toMarketDepositAddress as ep } from "./pools/deposit-address/to-market-deposit-address.js";
500
- import { getDepositAddress as tp } from "./pools/deposit-address/get-deposit-address.js";
501
- import { getDepositAddressQueryKey as np, getDepositAddressQueryOptions as rp } from "./pools/deposit-address/query.js";
502
- import { toListingConfig as ip } from "./pools/listing-config/to-listing-config.js";
503
- import { getListingConfig as ap } from "./pools/listing-config/get-listing-config.js";
504
- import { getListingConfigQueryKey as op, getListingConfigQueryOptions as sp } from "./pools/listing-config/query.js";
505
- import { toListingStatus as cp } from "./pools/listing-status/to-listing-status.js";
506
- import { getListingStatus as lp } from "./pools/listing-status/get-listing-status.js";
507
- import { getListingStatusQueryKey as up, getListingStatusQueryOptions as dp } from "./pools/listing-status/query.js";
508
- import { toListingMarketConfig as fp } from "./pools/market-config/to-listing-market-config.js";
509
- import { getListingMarketConfig as pp } from "./pools/market-config/get-listing-market-config.js";
510
- import { projectListingMarketConfig as mp } from "./pools/market-config/project-listing-market-config.js";
511
- import { toUpdateListingMarketConfigRequest as hp } from "./pools/market-config/to-update-listing-market-config-request.js";
512
- import { updateListingMarketConfig as gp } from "./pools/market-config/update-listing-market-config.js";
513
- import { getListingMarketConfigQueryKey as _p, getListingMarketConfigQueryOptions as vp, updateListingMarketConfigMutationOptions as yp } from "./pools/market-config/query.js";
514
- import { LISTING_MARKET_CONFIG_BOUNDS as bp } from "./pools/market-config/types.js";
515
- import { toListingMarketDetail as xp } from "./pools/market-detail/to-listing-market-detail.js";
516
- import { getListingMarketDetail as Sp } from "./pools/market-detail/get-listing-market-detail.js";
517
- import { getListingMarketDetailQueryKey as Cp, getListingMarketDetailQueryOptions as wp } from "./pools/market-detail/query.js";
518
- import { toPoolPositions as Tp } from "./pools/market-detail/to-pool-positions.js";
519
- import { getListingMarkets as Ep } from "./pools/markets/get-listing-markets.js";
520
- import { getListingMarketsQueryKey as Dp, getListingMarketsQueryOptions as Op } from "./pools/markets/query.js";
521
- import { toUserPoolProfit as kp } from "./pools/profit/to-user-pool-profit.js";
522
- import { getUserProfit as Ap } from "./pools/profit/get-user-profit.js";
523
- import { getUserProfitQueryKey as jp, getUserProfitQueryOptions as Mp } from "./pools/profit/query.js";
524
- import { toPoolQuote as Np } from "./pools/quotes/to-pool-quote.js";
525
- import { POOL_OPEN_QUOTE_STATUSES as Pp, POOL_PENDING_QUOTE_STATUSES as Fp, getPoolQuotes as Ip } from "./pools/quotes/get-pool-quotes.js";
526
- import { getPoolQuotesQueryKey as Lp, getPoolQuotesQueryOptions as Rp } from "./pools/quotes/query.js";
527
- import { toRefundRequest as zp } from "./pools/refund/to-refund-request.js";
528
- import { toRefundResult as Bp } from "./pools/refund/to-refund-result.js";
529
- import { refundMarket as Vp } from "./pools/refund/refund-market.js";
530
- import { refundMarketMutationOptions as Hp } from "./pools/refund/query.js";
531
- import { toRetryListingInfo as Up } from "./pools/retry-listing/to-retry-listing-info.js";
532
- import { getRetryListingInfo as Wp } from "./pools/retry-listing/get-retry-listing-info.js";
533
- import { toRetryListingResult as Gp } from "./pools/retry-listing/to-retry-listing-result.js";
534
- import { retryListing as Kp } from "./pools/retry-listing/retry-listing.js";
535
- import { getRetryListingInfoQueryKey as qp, getRetryListingInfoQueryOptions as Jp, retryListingMutationOptions as Yp } from "./pools/retry-listing/query.js";
536
- import { toPoolRewardPoint as Xp, toUserPoolRewardChart as Zp } from "./pools/rewards/to-pool-reward-point.js";
537
- import { getPoolRewardChart as Qp } from "./pools/rewards/get-pool-reward-chart.js";
538
- import { getPoolTotalReward as $p } from "./pools/rewards/get-pool-total-reward.js";
539
- import { getUserRewardChart as em } from "./pools/rewards/get-user-reward-chart.js";
540
- import { getUserTotalReward as tm } from "./pools/rewards/get-user-total-reward.js";
541
- import { getPoolRewardChartQueryKey as nm, getPoolRewardChartQueryOptions as rm, getPoolTotalRewardQueryKey as im, getPoolTotalRewardQueryOptions as am, getUserRewardChartQueryKey as om, getUserRewardChartQueryOptions as sm, getUserTotalRewardQueryKey as cm, getUserTotalRewardQueryOptions as lm } from "./pools/rewards/query.js";
542
- import { getPoolTradeHistory as um } from "./pools/trade-history/get-pool-trade-history.js";
543
- import { getPoolTradeHistoryQueryKey as dm, getPoolTradeHistoryQueryOptions as fm } from "./pools/trade-history/query.js";
544
- import { toPoolTransaction as pm, toPoolTransactionPage as mm } from "./pools/transactions/to-pool-transaction.js";
545
- import { getPoolTransactions as hm } from "./pools/transactions/get-pool-transactions.js";
546
- import { getPoolTransactionsQueryKey as gm, getPoolTransactionsQueryOptions as _m } from "./pools/transactions/query.js";
547
- import { toUserListingMarket as vm, toUserListingMarketPage as ym } from "./pools/user-markets/to-user-listing-market.js";
548
- import { getUserListingMarkets as bm } from "./pools/user-markets/get-user-listing-markets.js";
549
- import { getUserListingMarketsQueryKey as xm, getUserListingMarketsQueryOptions as Sm } from "./pools/user-markets/query.js";
550
- import { toUserTransaction as Cm, toUserTransactionPage as wm } from "./pools/user-transactions/to-user-transaction.js";
551
- import { getUserTransactions as Tm } from "./pools/user-transactions/get-user-transactions.js";
552
- import { getUserTransactionsQueryKey as Em, getUserTransactionsQueryOptions as Dm } from "./pools/user-transactions/query.js";
553
- import { toWeeklyListingLimit as Om } from "./pools/weekly-limit/to-weekly-limit.js";
554
- import { getWeeklyListingLimit as km } from "./pools/weekly-limit/get-weekly-listing-limit.js";
555
- import { getWeeklyListingLimitQueryKey as Am, getWeeklyListingLimitQueryOptions as jm } from "./pools/weekly-limit/query.js";
556
- import { toWithdrawRequest as Mm } from "./pools/withdraw/to-withdraw-request.js";
557
- import { withdrawLp as Nm } from "./pools/withdraw/withdraw-lp.js";
558
- import { withdrawLpMutationOptions as Pm } from "./pools/withdraw/query.js";
559
- import { toSolverRevenue as Fm } from "./solvers/revenue/to-solver-revenue.js";
560
- import { getSolverRevenue as Im } from "./solvers/revenue/get-solver-revenue.js";
561
- import { getSolverRevenueQueryKey as Lm, getSolverRevenueQueryOptions as Rm } from "./solvers/revenue/query.js";
562
- import { resolveInventoryService as zm, supportsInventoryService as Bm } from "./inventory/resolve-inventory.js";
563
- import { getInventoryTvl as Vm, toInventoryTvl as Hm } from "./inventory/tvl/get-inventory-tvl.js";
564
- import { getInventoryTvlQueryKey as Um, getInventoryTvlQueryOptions as Wm } from "./inventory/tvl/query.js";
565
- import { toInventoryTvlPoint as Gm } from "./inventory/tvl-history/to-inventory-tvl-point.js";
566
- import { getInventoryTvlHistory as Km } from "./inventory/tvl-history/get-inventory-tvl-history.js";
567
- import { getInventoryTvlHistoryQueryKey as qm, getInventoryTvlHistoryQueryOptions as Jm } from "./inventory/tvl-history/query.js";
568
- import { INVENTORY_VALUE_DECIMALS as Ym } from "./inventory/types.js";
569
- export { Vn as ADD_MARGIN_TO_NEXT_VA_SELECTOR, ua as ActionStatus, St as AffiliateState, nf as BINANCE_DEPTH_DEFAULT_LEVELS, rf as BINANCE_DEPTH_DEFAULT_LIMIT, af as BINANCE_DEPTH_DEFAULT_UPDATE_SPEED, of as BINANCE_DEPTH_LIMITS, sf as BINANCE_DEPTH_MAX_BUFFERED_EVENTS, cf as BINANCE_DEPTH_PATH, lf as BINANCE_DEPTH_REST_URL, uf as BINANCE_DEPTH_UPDATE_SPEEDS, df as BINANCE_DEPTH_WS_URL, Wo as BINANCE_EXCHANGE_INFO_PATH, Go as BINANCE_KLINES_PATH, Ko as BINANCE_MAX_LIMIT, ff as BINANCE_ORDERBOOK_EXCHANGE_INFO_PATH, qo as BINANCE_REST_URL, Jo as BINANCE_WS_URL, wd as BalanceChangeType, Td as BalanceHistoryFilter, Rd as CANDLE_RESOLUTION_MS, jl as DEFAULT_QUOTE_EVENTS_BY_TYPE_PAGE_SIZE, fd as DEFAULT_TPSL_SLIPPAGE_LOWCAPS, Fl as FUNDING_HISTORY_EVENT_TYPES, pn as GASLESS_GATEWAY_EIP712_DOMAIN_NAME, mn as GASLESS_GATEWAY_EIP712_DOMAIN_VERSION, j as GASLESS_QUEUED_POLL_MS, dn as GASLESS_RECEIPT_TIMEOUT_MS, Z as GASLESS_RELAYABLE_FUNCTIONS, Q as GASLESS_RELAYABLE_SELECTORS, $ as GASLESS_SESSION_KEY_SELECTORS, ee as GASLESS_SESSION_KEY_WITHDRAW_SELECTORS, M as GASLESS_STREAM_SETTLE_MS, N as GASLESS_STREAM_STALE_MS, P as GASLESS_SUBMITTED_POLL_MS, F as GASLESS_TERMINAL_STATUSES, J as GASLESS_WAIT_TIMEOUT_MS, an as GASLESS_WALLET_EXECUTE_SELECTOR, on as GASLESS_WALLET_EXECUTION_SENTINEL_SELECTOR, hn as GASLESS_WALLET_OPERATION_TYPES, Zu as GROUP_TPSL_SIDES, I as GaslessFeeSource, L as GaslessRequestStatus, R as GaslessTransactionAttemptStatus, p as INSTANT_LAYER_EIP712_DOMAIN_NAME, m as INSTANT_LAYER_EIP712_DOMAIN_VERSION, Hn as INSTANT_TRADE_REQUIRED_SELECTORS, Ym as INVENTORY_VALUE_DECIMALS, Un as LEGACY_INSTANT_TRADE_REQUIRED_SELECTORS, bp as LISTING_MARKET_CONFIG_BOUNDS, Ff as LISTING_VALUE_DECIMALS, If as ListingDepositChainId, Lf as ListingMarketStatus, co as MARKET_ORDER_DEADLINE_SECONDS, ll as MAX_INSTANT_CLOSE_BULK_ORDERS, ur as MUON_APP, dr as MUON_METHOD_PARTY_A_OVERVIEW, fr as MUON_METHOD_PRICE, pr as MUON_METHOD_PRICE_RANGE, mr as MUON_METHOD_SETTLE_UPNL, hr as MUON_METHOD_UPNL_A, gr as MUON_METHOD_UPNL_A_WITH_SYMBOL_PRICE, _r as MUON_METHOD_UPNL_B, vr as MUON_METHOD_UPNL_PAIR, yr as MUON_METHOD_UPNL_WITH_SYMBOL_PRICE, Ed as MarginTransferType, Rf as MarketLockReason, da as NotificationType, cr as OPERATIONAL_FEE_LIST_PRICE_MULTIPLIER, no as ORDER_TYPE_MARKET, Gi as OrderType, Pp as POOL_OPEN_QUOTE_STATUSES, Fp as POOL_PENDING_QUOTE_STATUSES, Il as PRICE_HISTORY_EVENT_TYPES, zf as PoolPositionSide, Bf as PoolTransactionStatus, Vf as PoolTransactionType, Ki as PositionType, zl as QUOTES_FUNDING_MAX_IDS_PER_REQUEST, Ul as QuoteCloseEventType, Wl as QuoteCloseType, Ll as QuoteEventType, hl as QuoteLifecycle, qi as QuoteStatus, Wn as REQUEST_TO_CLOSE_POSITION_SELECTOR, Gn as SEND_QUOTE_SELECTOR, Kn as SEND_QUOTE_WITH_AFFILIATE_AND_DATA_SELECTOR, lo as SHORT_FUNDING_BUFFER_PERCENT, h as SIGNED_OPERATION_TYPES, Ct as SubAccountIsolationType, a as SymmApiError, o as SymmError, s as SymmioSupportedChainId, od as TPSL_LIVE_ORDER_STATES, xd as TpSlSearchOrderType, ro as VIRTUAL_ACCOUNT_ISOLATION_TYPE, Ji as WithdrawStatus, Lu as ZERO_LEG, qa as ZERO_UPNL_SIG, e as accountLayerAbi, Xd as accumulateOrderbook, ae as addMargin, Ne as addMarginMutationOptions, wf as addMarket, Tf as addMarketMutationOptions, pu as aggregateGroupFunding, yu as aggregateGroupMetrics, vu as aggregateGroupUpnl, sr as allocate, ni as allocateMutationOptions, gl as applyNotificationToQuotes, Tt as approveCollateral, Ot as approveCollateralMutationOptions, lr as approveOperationalFee, ri as approveOperationalFeeMutationOptions, bu as assertQuoteGroupingSupported, kf as authenticateListing, Af as authenticateListingMutationOptions, Dd as balanceHistoryFilterToTypes, ud as buildConditionalOrderLeg, Ru as buildConditionalOrderMessage, Ja as buildQuoteMetadata, ha as buildRasaSubscribeMessage, v as buildSignedOperation, ma as buildSubscribeMessage, zu as buildTpSlDeleteMessage, Me as calculateAvailableForOrder, uo as calculateAvailableInstantOpenMargin, wl as calculateClosePlatformFee, Ro as calculateClosePrice, fo as calculateExpectedSettlementLoss, Eu as calculateLiquidationPrice, po as calculateMargin, Nu as calculateMarginRisk, Tl as calculateOpenPlatformFee, ls as calculatePriceImpact, ku as calculateQuoteLeverage, Au as calculateQuotePnl, ju as calculateQuoteUpnl, Mu as calculateQuoteUpnlWei, Ra as calculateSolverCloseFee, mo as calculateSolverFees, ho as calculateTradeParams, se as cancelRegistration, Pe as cancelRegistrationMutationOptions, Mf as cancelWithdraw, Nf as cancelWithdrawMutationOptions, Qo as checkForceCloseEligibility, $o as checkForceClosePriceReached, $s as checkNotionalCap, Yu as childNotional, qf as claimProfit, Jf as claimProfitMutationOptions, zo as clampClosePrecision, ln as classifyGaslessFailure, fa as classifyNotification, _l as classifyQuoteNotificationAction, Gl as closeTypeToEventTypes, Yr as collateralToCore18, go as computePlatformFee, _o as computePlatformFeeLegs, fn as confirmGaslessRequest, Xr as core18ToCollateral, qd as countTickDecimals, Kd as createBinanceCandleSource, vf as createBinanceOrderbookSource, Zr as createClassicWithdrawPart, f as createConfig, le as createSubAccounts, Fe as createSubAccountsMutationOptions, xr as deallocate, Sr as deallocateAndInitiateWithdraw, ai as deallocateAndInitiateWithdrawMutationOptions, ii as deallocateMutationOptions, So as decimalPriceToWei, un as decodeGaslessOperationFailure, Wu as deleteQuoteTpSl, Gu as deleteQuoteTpSlMutationOptions, de as deleteSubAccount, Ie as deleteSubAccountMutationOptions, pe as depositAndAllocateForAccount, Le as depositAndAllocateForAccountMutationOptions, he as depositForAccount, Re as depositForAccountMutationOptions, To as deriveAutoSlippage, _e as editAccountName, ze as editAccountNameMutationOptions, Ya as encodeAddMarginToNextVA, Fo as encodeRequestToClosePosition, Xa as encodeSendQuote, Za as encodeSendQuoteWithAffiliateAndData, $u as estimateGroupTpSlReturn, Kl as eventTypeToCloseType, ql as eventTypeToQuoteStatus, hf as fetchBinanceDepth, gf as fetchBinanceSymbolFilters, Be as filterQueryOptions, Pt as finalizeRevokeDelegation, Ht as finalizeRevokeDelegationMutationOptions, wr as finalizeWithdrawRequest, oi as finalizeWithdrawRequestMutationOptions, es as findForceCloseWindow, El as fingerprintQuote, Tr as forceCancelCloseRequest, si as forceCancelCloseRequestMutationOptions, Er as forceCancelQuote, ci as forceCancelQuoteMutationOptions, is as forceCloseAuto, as as forceCloseAutoMutationOptions, ns as forceClosePosition, os as forceClosePositionMutationOptions, y as formatSignedOperationPayload, Id as fromTradingViewResolution, t as gaslessLayerAbi, z as gaslessPollDelay, n as gaslessWalletAbi, yn as gaslessWalletExecute, bn as gaslessWalletExecuteMutationOptions, ve as generateAccountManagerAddress, Ve as generateAccountManagerAddressQueryKey, He as generateAccountManagerAddressQueryOptions, b as generateSalt, Bu as generateTpSlSalt, ye as getAccountBalanceInfo, Ue as getAccountBalanceInfoQueryKey, We as getAccountBalanceInfoQueryOptions, be as getAccountBalanceOf, Ge as getAccountBalanceOfQueryKey, Ke as getAccountBalanceOfQueryOptions, Ft as getActiveDelegations, Ut as getActiveDelegationsQueryKey, Wt as getActiveDelegationsQueryOptions, xe as getAffiliateState, qe as getAffiliateStateQueryKey, Je as getAffiliateStateQueryOptions, kd as getBalanceHistory, Ad as getBalanceHistoryQueryKey, jd as getBalanceHistoryQueryOptions, Ca as getBinanceHealth, wa as getBinanceHealthQueryKey, Ta as getBinanceHealthQueryOptions, Ea as getBinancePremiumIndex, Da as getBinancePremiumIndexQueryKey, Oa as getBinancePremiumIndexQueryOptions, Ud as getBinanceSupportedResolutions, ka as getBinanceSymbolsInfo, Aa as getBinanceSymbolsInfoQueryKey, ja as getBinanceSymbolsInfoQueryOptions, Vd as getCandlesQueryKey, Hd as getCandlesQueryOptions, c as getChainConfig, Zf as getClaimHistory, Qf as getClaimHistoryQueryKey, $f as getClaimHistoryQueryOptions, Et as getCollateralAllowance, kt as getCollateralAllowanceQueryKey, At as getCollateralAllowanceQueryOptions, Dt as getCollateralBalance, jt as getCollateralBalanceQueryKey, Mt as getCollateralBalanceQueryOptions, Dr as getCoolDownsOfMA, li as getCoolDownsOfMAQueryKey, ui as getCoolDownsOfMAQueryOptions, br as getDeallocateUpnlSig, fc as getDeallocateUpnlSigQueryKey, pc as getDeallocateUpnlSigQueryOptions, l as getDefaultSolver, It as getDelegationExpiry, Gt as getDelegationExpiryQueryKey, Kt as getDelegationExpiryQueryOptions, tp as getDepositAddress, np as getDepositAddressQueryKey, rp as getDepositAddressQueryOptions, Yi as getEnigmaPriceServiceHealth, Xi as getEnigmaPriceServiceHealthQueryKey, Zi as getEnigmaPriceServiceHealthQueryOptions, Qi as getEnigmaPriceServiceMetadata, $i as getEnigmaPriceServiceMetadataQueryKey, ea as getEnigmaPriceServiceMetadataQueryOptions, ta as getEnigmaPriceServicePricesByAddresses, na as getEnigmaPriceServicePricesByAddressesQueryKey, ra as getEnigmaPriceServicePricesByAddressesQueryOptions, ia as getEnigmaPriceServicePricesByNames, aa as getEnigmaPriceServicePricesByNamesQueryKey, oa as getEnigmaPriceServicePricesByNamesQueryOptions, sa as getEnigmaPriceServiceSymbolsInfo, ca as getEnigmaPriceServiceSymbolsInfoQueryKey, la as getEnigmaPriceServiceSymbolsInfoQueryOptions, As as getErrorMessage, js as getErrorMessageQueryKey, Ms as getErrorMessageQueryOptions, wo as getEstimatedPrice, us as getEstimatedPriceQueryKey, ds as getEstimatedPriceQueryOptions, Qa as getFakeSendQuoteMuonSignature, Or as getFeeForUser, di as getFeeForUserQueryKey, fi as getFeeForUserQueryOptions, rs as getForceCloseParams, ss as getForceCloseParamsQueryKey, cs as getForceCloseParamsQueryOptions, Zo as getForceClosePriceSig, mc as getForceClosePriceSigQueryKey, hc as getForceClosePriceSigQueryOptions, $r as getFundingFeesOfPartyB, ei as getFundingFeesOfPartyBQueryKey, ti as getFundingFeesOfPartyBQueryOptions, ms as getFundingInfo, gs as getFundingInfoQueryKey, _s as getFundingInfoQueryOptions, xn as getGaslessBatchFeeQuote, Sn as getGaslessBatchFeeQuoteQueryKey, Cn as getGaslessBatchFeeQuoteQueryOptions, cn as getGaslessBatchSelectors, Tn as getGaslessDepositPolicy, En as getGaslessDepositPolicyQueryKey, Dn as getGaslessDepositPolicyQueryOptions, W as getGaslessFeeQuote, On as getGaslessFeeQuoteQueryKey, kn as getGaslessFeeQuoteQueryOptions, gn as getGaslessGatewayEip712Domain, G as getGaslessRequest, An as getGaslessRequestQueryKey, jn as getGaslessRequestQueryOptions, Mn as getGaslessRequestTransactions, Nn as getGaslessRequestTransactionsQueryKey, Pn as getGaslessRequestTransactionsQueryOptions, k as getGaslessUnconfirmedSubmit, _n as getGaslessWalletAddress, Fn as getGaslessWalletAddressQueryKey, In as getGaslessWalletAddressQueryOptions, wn as getGaslessWalletCreationFee, Ln as getGaslessWalletCreationFeeQueryKey, Rn as getGaslessWalletCreationFeeQueryOptions, sn as getGaslessWalletExecuteSelectors, vn as getGaslessWalletNonce, zn as getGaslessWalletNonceQueryKey, Bn as getGaslessWalletNonceQueryOptions, ne as getGaslessWriteRequest, rl as getInstantCloses, il as getInstantClosesQueryKey, al as getInstantClosesQueryOptions, g as getInstantLayerEip712Domain, C as getInstantLayerNonce, qt as getInstantLayerNonceQueryKey, Jt as getInstantLayerNonceQueryOptions, Wc as getInstantOpenFees, Gc as getInstantOpenFeesQueryKey, Kc as getInstantOpenFeesQueryOptions, qc as getInstantOpenQuoteId, Jc as getInstantOpenQuoteIdQueryKey, Yc as getInstantOpenQuoteIdQueryOptions, Xc as getInstantOpens, Zc as getInstantOpensQueryKey, Qc as getInstantOpensQueryOptions, qn as getInstantTradeRequiredSelectors, Vm as getInventoryTvl, Km as getInventoryTvlHistory, qm as getInventoryTvlHistoryQueryKey, Jm as getInventoryTvlHistoryQueryOptions, Um as getInventoryTvlQueryKey, Wm as getInventoryTvlQueryOptions, T as getIsDelegationActive, Yt as getIsDelegationActiveQueryKey, Xt as getIsDelegationActiveQueryOptions, kr as getLastWithdrawRequestId, pi as getLastWithdrawRequestIdQueryKey, mi as getLastWithdrawRequestIdQueryOptions, ap as getListingConfig, op as getListingConfigQueryKey, sp as getListingConfigQueryOptions, pp as getListingMarketConfig, _p as getListingMarketConfigQueryKey, vp as getListingMarketConfigQueryOptions, Sp as getListingMarketDetail, Cp as getListingMarketDetailQueryKey, wp as getListingMarketDetailQueryOptions, Ep as getListingMarkets, Dp as getListingMarketsQueryKey, Op as getListingMarketsQueryOptions, Of as getListingSignInMessage, lp as getListingStatus, up as getListingStatusQueryKey, dp as getListingStatusQueryOptions, ko as getLockedParams, Zs as getLockedParamsQueryKey, Qs as getLockedParamsQueryOptions, Ma as getMarkPrices, Na as getMarkPricesQueryKey, Pa as getMarkPricesQueryOptions, Js as getMarketInfo, Ys as getMarketInfoQueryKey, Xs as getMarketInfoQueryOptions, vo as getMarketOrderDeadline, Va as getMarkets, Ha as getMarketsQueryKey, Ua as getMarketsQueryOptions, gc as getMuonPartyAOverview, _c as getMuonPartyAOverviewQueryKey, vc as getMuonPartyAOverviewQueryOptions, yc as getMuonPrice, bc as getMuonPriceQueryKey, xc as getMuonPriceQueryOptions, Sc as getMuonPriceRange, Cc as getMuonPriceRangeQueryKey, wc as getMuonPriceRangeQueryOptions, Tc as getMuonSettleUpnl, Ec as getMuonSettleUpnlQueryKey, Dc as getMuonSettleUpnlQueryOptions, Oc as getMuonUpnl, jc as getMuonUpnlA, Mc as getMuonUpnlAQueryKey, Nc as getMuonUpnlAQueryOptions, Pc as getMuonUpnlAWithSymbolPrice, Fc as getMuonUpnlAWithSymbolPriceQueryKey, Ic as getMuonUpnlAWithSymbolPriceQueryOptions, Lc as getMuonUpnlB, Rc as getMuonUpnlBQueryKey, zc as getMuonUpnlBQueryOptions, kc as getMuonUpnlQueryKey, Ac as getMuonUpnlQueryOptions, Bc as getMuonUpnlWithSymbolPrice, Vc as getMuonUpnlWithSymbolPriceQueryKey, Hc as getMuonUpnlWithSymbolPriceQueryOptions, ec as getNotionalCapAll, ac as getNotionalCapAllQueryKey, oc as getNotionalCapAllQueryOptions, tc as getNotionalCapBySymbolId, rc as getNotionalCapBySymbolIdQueryKey, ic as getNotionalCapBySymbolIdQueryOptions, Ar as getOnchainContractMarkets, hi as getOnchainContractMarketsQueryKey, gi as getOnchainContractMarketsQueryOptions, nc as getOpenInterestBySymbolId, sc as getOpenInterestBySymbolIdQueryKey, cc as getOpenInterestBySymbolIdQueryOptions, jr as getOperationalFeeAllowance, _i as getOperationalFeeAllowanceQueryKey, vi as getOperationalFeeAllowanceQueryOptions, Zd as getOrderbookDepthWithin, ef as getOrderbookQueryKey, tf as getOrderbookQueryOptions, Qd as getOrderbookSpread, Mr as getPartyAOpenPositions, yi as getPartyAOpenPositionsQueryKey, bi as getPartyAOpenPositionsQueryOptions, Nr as getPartyAPendingQuotes, xi as getPartyAPendingQuotesQueryKey, Si as getPartyAPendingQuotesQueryOptions, Ns as getPartyAUpnl, Ps as getPartyAUpnlQueryKey, Fs as getPartyAUpnlQueryOptions, Pr as getPendingQuotes, Ci as getPendingQuotesQueryKey, wi as getPendingQuotesQueryOptions, Lt as getPendingRevocationEtas, Zt as getPendingRevocationEtasQueryKey, Qt as getPendingRevocationEtasQueryOptions, Fr as getPendingWithdrawRequests, Ti as getPendingWithdrawRequestsQueryKey, Ei as getPendingWithdrawRequestsQueryOptions, Ip as getPoolQuotes, Lp as getPoolQuotesQueryKey, Rp as getPoolQuotesQueryOptions, Qp as getPoolRewardChart, nm as getPoolRewardChartQueryKey, rm as getPoolRewardChartQueryOptions, $p as getPoolTotalReward, im as getPoolTotalRewardQueryKey, am as getPoolTotalRewardQueryOptions, um as getPoolTradeHistory, dm as getPoolTradeHistoryQueryKey, fm as getPoolTradeHistoryQueryOptions, hm as getPoolTransactions, gm as getPoolTransactionsQueryKey, _m as getPoolTransactionsQueryOptions, De as getPredictedNextVirtualAccount, lt as getPredictedNextVirtualAccountQueryKey, ut as getPredictedNextVirtualAccountQueryOptions, Ol as getQuerySubgraphQueryKey, Ir as getQuote, Ml as getQuoteEventsByType, Nl as getQuoteEventsByTypeQueryKey, Pl as getQuoteEventsByTypeQueryOptions, Bl as getQuoteFunding, Vl as getQuoteFundingQueryKey, Hl as getQuoteFundingQueryOptions, Yl as getQuoteHistory, Xl as getQuoteHistoryQueryKey, Zl as getQuoteHistoryQueryOptions, Ql as getQuotePendingFunding, $l as getQuotePendingFundingQueryKey, eu as getQuotePendingFundingQueryOptions, Di as getQuoteQueryKey, Oi as getQuoteQueryOptions, Ku as getQuoteTpSl, qu as getQuoteTpSlQueryKey, Ju as getQuoteTpSlQueryOptions, tu as getQuotesEventsByType, nu as getQuotesEventsByTypeQueryKey, ru as getQuotesEventsByTypeQueryOptions, Wp as getRetryListingInfo, qp as getRetryListingInfoQueryKey, Jp as getRetryListingInfoQueryOptions, ys as getRevenueRecords, bs as getRevenueRecordsQueryKey, xs as getRevenueRecordsQueryOptions, Rt as getRevocationCooldown, $t as getRevocationCooldownQueryKey, en as getRevocationCooldownQueryOptions, ao as getSendQuoteUpnlSig, oo as getSendQuoteUpnlSigQueryKey, so as getSendQuoteUpnlSigQueryOptions, Jn as getSessionKeySelectors, Is as getSolverBalanceInfo, Ls as getSolverBalanceInfoQueryKey, Rs as getSolverBalanceInfoQueryOptions, Wa as getSolverCapabilities, za as getSolverCloseFeeRate, lc as getSolverErrorCodes, uc as getSolverErrorCodesQueryKey, dc as getSolverErrorCodesQueryOptions, zs as getSolverOpenInterest, Bs as getSolverOpenInterestQueryKey, Vs as getSolverOpenInterestQueryOptions, Hs as getSolverPriceRange, Us as getSolverPriceRangeQueryKey, Ws as getSolverPriceRangeQueryOptions, Gs as getSolverReadiness, Ks as getSolverReadinessQueryKey, qs as getSolverReadinessQueryOptions, Im as getSolverRevenue, Lm as getSolverRevenueQueryKey, Rm as getSolverRevenueQueryOptions, w as getSubAccount, Ye as getSubAccountQueryKey, Xe as getSubAccountQueryOptions, uu as getSubAccountQuotes, du as getSubAccountQuotesQueryKey, fu as getSubAccountQuotesQueryOptions, Se as getSubAccountVirtualNonce, Ze as getSubAccountVirtualNonceQueryKey, Qe as getSubAccountVirtualNonceQueryOptions, Ce as getSubAccountsCountOfUser, $e as getSubAccountsCountOfUserQueryKey, et as getSubAccountsCountOfUserQueryOptions, Cs as getSymbols, ws as getSymbolsQueryKey, Ts as getSymbolsQueryOptions, Pu as getTpSlConfig, Fu as getTpSlConfigQueryKey, Iu as getTpSlConfigQueryOptions, Uu as getTpSlDeleteSigningSpec, gd as getTpSlDeleteSigningSpecQueryKey, _d as getTpSlDeleteSigningSpecQueryOptions, dd as getTpSlSigningSpec, vd as getTpSlSigningSpecQueryKey, yd as getTpSlSigningSpecQueryOptions, Ds as getTradeVolume, Os as getTradeVolumeQueryKey, ks as getTradeVolumeQueryOptions, Nd as getTransferHistory, Pd as getTransferHistoryQueryKey, Fd as getTransferHistoryQueryOptions, bm as getUserListingMarkets, xm as getUserListingMarketsQueryKey, Sm as getUserListingMarketsQueryOptions, Ap as getUserProfit, jp as getUserProfitQueryKey, Mp as getUserProfitQueryOptions, em as getUserRewardChart, om as getUserRewardChartQueryKey, sm as getUserRewardChartQueryOptions, we as getUserSubAccounts, Te as getUserSubAccountsAddresses, rt as getUserSubAccountsAddressesQueryKey, it as getUserSubAccountsAddressesQueryOptions, tt as getUserSubAccountsQueryKey, nt as getUserSubAccountsQueryOptions, tm as getUserTotalReward, cm as getUserTotalRewardQueryKey, lm as getUserTotalRewardQueryOptions, Tm as getUserTransactions, Em as getUserTransactionsQueryKey, Dm as getUserTransactionsQueryOptions, S as getVirtualAccount, at as getVirtualAccountQueryKey, ot as getVirtualAccountQueryOptions, Ee as getVirtualAccountsAddressesOfSubAccount, st as getVirtualAccountsAddressesOfSubAccountQueryKey, ct as getVirtualAccountsAddressesOfSubAccountQueryOptions, km as getWeeklyListingLimit, Am as getWeeklyListingLimitQueryKey, jm as getWeeklyListingLimitQueryOptions, Lr as getWithdrawRequests, ki as getWithdrawRequestsQueryKey, Ai as getWithdrawRequestsQueryOptions, Rr as getWithdrawableTime, ji as getWithdrawableTimeQueryKey, Mi as getWithdrawableTimeQueryOptions, Bt as grantDelegation, tn as grantDelegationMutationOptions, $d as groupOrderbook, Tu as groupQuotes, Vt as initiateRevokeDelegation, nn as initiateRevokeDelegationMutationOptions, zr as initiateWithdraw, Ni as initiateWithdrawMutationOptions, Lo as instantClose, sl as instantCloseAuto, cl as instantCloseAutoMutationOptions, ul as instantCloseBulk, fl as instantCloseBulkAuto, pl as instantCloseBulkAutoMutationOptions, dl as instantCloseBulkMutationOptions, ol as instantCloseMutationOptions, r as instantLayerAbi, bo as instantOpen, $c as instantOpenAuto, el as instantOpenAutoMutationOptions, xo as instantOpenMutationOptions, mu as isActivePosition, hu as isActiveQuoteStatus, vl as isCancelAction, u as isChainSupported, yl as isCloseFillAction, V as isConfirmedGaslessFeeLimitError, H as isConfirmedGaslessUnavailableError, U as isGaslessFreeQuotaExhaustedError, A as isGaslessIdempotencyConflictError, te as isGaslessRelayableSelector, B as isGaslessRequestTerminal, Yn as isNewerGaslessRequest, bl as isOpenAnchorAction, gu as isPendingOrder, io as isolationTypeForSide, xu as keyQuoteByMarket, Su as keyQuotePerQuote, iu as lifecycleFromQuoteStatus, Ho as limitCloseAuto, Uo as limitCloseAutoMutationOptions, No as limitOpenAuto, Po as limitOpenAutoMutationOptions, d as listSupportedChains, xl as minRemainingQuantityOf, pa as normalizeNotification, pf as parseBinanceDepthLevel, mf as parseBinanceDepthLevels, Yo as parseBinanceKline, Xo as parseBinanceKlineEvent, va as parseBinancePriceFrame, E as parseGaslessErrorDetail, Hf as parseListingValue, ga as parseNotificationFrame, ya as parsePriceFrame, Sd as parseTpSlFrame, _u as partitionQuotes, Sl as planGroupClose, td as planGroupTpSl, nd as planGroupTpSlDelete, Bo as prepareInstantCloseParams, jo as prepareInstantOpenParams, Vo as prepareLimitCloseParams, Mo as prepareLimitOpenParams, ts as previewForceClosePrice, pd as priceSlippageCalculation, hs as projectFundingRate, mp as projectListingMarketConfig, Dl as querySubgraph, kl as querySubgraphQueryOptions, cu as reconcileQuotes, Vp as refundMarket, Hp as refundMarketMutationOptions, Xn as relayGaslessBatch, Zn as relayGaslessBatchMutationOptions, Qn as relayGrantDelegation, $n as relayGrantDelegationMutationOptions, X as relayInstantOperations, er as relayInstantOperationsMutationOptions, ke as removeMargin, dt as removeMarginMutationOptions, Br as requestCancelWithdraw, Pi as requestCancelWithdrawMutationOptions, Vr as requestToCancelCloseRequest, Fi as requestToCancelCloseRequestMutationOptions, Hr as requestToCancelQuote, Ii as requestToCancelQuoteMutationOptions, je as requestToRegisterAffiliate, ft as requestToRegisterAffiliateMutationOptions, zd as resolutionToMs, Qu as resolveChildSide, Oo as resolveFeeRates, D as resolveGaslessService, zm as resolveInventoryService, bf as resolveListingService, Ao as resolveLockedParams, Eo as resolveMarkPrice, Do as resolveMarket, lu as resolveQuoteAccounts, Cu as resolveQuoteGroupingStrategy, tr as resubmitGaslessRequest, nr as resubmitGaslessRequestMutationOptions, Kp as retryListing, Yp as retryListingMutationOptions, Jd as roundToTick, Fa as searchNotifications, Ia as searchNotificationsQueryKey, La as searchNotificationsQueryOptions, sd as searchTpSlOrders, cd as searchTpSlOrdersQueryKey, ld as searchTpSlOrdersQueryOptions, Io as sendInstantClose, eo as sendInstantOpen, $a as sendQuoteUpnlSigFlexRange, to as sendRasaInstantOpen, md as setQuoteTpSl, hd as setQuoteTpSlMutationOptions, rr as settleGaslessDepositExistingAccount, ir as settleGaslessDepositExistingAccountMutationOptions, ar as settleGaslessDepositNewAccount, or as settleGaslessDepositNewAccountMutationOptions, Uc as sharePercent, Du as shouldAccelerateOnchainReads, Ou as shouldAccelerateQuotePolling, re as shouldSimulateBeforeWrite, x as signAndFormatInstantOperation, _ as signSignedOperation, Hu as signTpSlRequest, ie as simulateAddMargin, pt as simulateAddMarginMutationOptions, Ur as simulateAllocate, Li as simulateAllocateMutationOptions, wt as simulateApproveCollateral, Nt as simulateApproveCollateralMutationOptions, oe as simulateCancelRegistration, mt as simulateCancelRegistrationMutationOptions, ce as simulateCreateSubAccounts, ht as simulateCreateSubAccountsMutationOptions, Wr as simulateDeallocate, Gr as simulateDeallocateAndInitiateWithdraw, zi as simulateDeallocateAndInitiateWithdrawMutationOptions, Ri as simulateDeallocateMutationOptions, ue as simulateDeleteSubAccount, gt as simulateDeleteSubAccountMutationOptions, fe as simulateDepositAndAllocateForAccount, _t as simulateDepositAndAllocateForAccountMutationOptions, me as simulateDepositForAccount, vt as simulateDepositForAccountMutationOptions, ge as simulateEditAccountName, yt as simulateEditAccountNameMutationOptions, Cr as simulateFinalizeWithdrawRequest, Bi as simulateFinalizeWithdrawRequestMutationOptions, zt as simulateGrantDelegation, rn as simulateGrantDelegationMutationOptions, Kr as simulateInitiateWithdraw, Vi as simulateInitiateWithdrawMutationOptions, Oe as simulateRemoveMargin, bt as simulateRemoveMarginMutationOptions, qr as simulateRequestCancelWithdraw, Hi as simulateRequestCancelWithdrawMutationOptions, Ae as simulateRequestToRegisterAffiliate, xt as simulateRequestToRegisterAffiliateMutationOptions, Yd as suggestOrderbookTickSizes, rd as summarizeQuoteGroupTpSl, fs as supportsEstimatedPrice, O as supportsGaslessService, K as supportsGaslessStatusStream, Ga as supportsGroupClose, Bm as supportsInventoryService, Ka as supportsLimitOrder, xf as supportsListingService, wu as supportsQuoteGrouping, bd as supportsTpSl, i as symmioAbi, Sf as toAddMarketRequest, Od as toBalanceHistoryRow, Wd as toBinanceInterval, jf as toCancelWithdrawResult, Pf as toClaimRequest, Kf as toClaimResult, Cf as toCreatedPool, Co as toEstimatedPrice, Cl as toGroupCloseCandidates, id as toGroupTpSlChildren, ad as toGroupTpSlOrders, Hm as toInventoryTvl, Gm as toInventoryTvlPoint, Ef as toListingAuthToken, ip as toListingConfig, Uf as toListingMarket, fp as toListingMarketConfig, xp as toListingMarketDetail, Wf as toListingMarketPage, Df as toListingSignInMessage, cp as toListingStatus, Gf as toListingValue, ep as toMarketDepositAddress, ps as toMarketFundingInfo, nl as toPendingInstantClose, Yf as toPoolClaim, Xf as toPoolClaimHistoryPage, Tp as toPoolPositions, Np as toPoolQuote, Xp as toPoolRewardPoint, pm as toPoolTransaction, mm as toPoolTransactionPage, Al as toQuoteEventRow, Rl as toQuoteFundingRow, Jl as toQuoteHistoryRow, zp as toRefundRequest, Bp as toRefundResult, Up as toRetryListingInfo, Gp as toRetryListingResult, vs as toRevenueRecord, Vu as toSignableTpSlMessage, Es as toSolverDailyVolume, Fm as toSolverRevenue, Ss as toSolverSymbols, Ba as toThresholdSeconds, Bd as toTradingViewDatafeed, Ld as toTradingViewResolution, Md as toTransferRow, au as toUnifiedQuoteFromInstantClose, ou as toUnifiedQuoteFromInstantOpen, su as toUnifiedQuoteFromOnchain, hp as toUpdateListingMarketConfigRequest, vm as toUserListingMarket, ym as toUserListingMarketPage, kp as toUserPoolProfit, Zp as toUserPoolRewardChart, Cm as toUserTransaction, wm as toUserTransactionPage, Om as toWeeklyListingLimit, yo as toWeiBigInt, Mm as toWithdrawRequest, Xu as triggerPriceToWei, gp as updateListingMarketConfig, yp as updateListingMarketConfigMutationOptions, ml as validateInstantCloseAgainstMarket, tl as validateInstantOpenAgainstMarket, ed as validateTpSl, Y as waitForGaslessRequest, yf as walkOrderbook, _f as watchBinanceDepth, Gd as watchBinanceKlines, ba as watchBinancePrices, xa as watchEnigmaPrices, q as watchGaslessRequest, _a as watchNotifications, Sa as watchPrices, Cd as watchTpSlNotifications, Jr as withdraw, Qr as withdrawAuto, Wi as withdrawAutoMutationOptions, Nm as withdrawLp, Pm as withdrawLpMutationOptions, Ui as withdrawMutationOptions };
272
+ import { checkNotionalCap as Eo } from "./solvers/notional-cap/check-notional-cap.js";
273
+ import { validateInstantOpenAgainstMarket as Do } from "./solvers/instant-open/shared/quote-constraints.js";
274
+ import { validateInstantOpenBalanceFunding as Oo } from "./solvers/instant-open/shared/resolve-instant-open-sizing.js";
275
+ import { resolveFeeRates as ko } from "./solvers/shared/resolvers/resolve-fee-rates.js";
276
+ import { resolveMarkPrice as Ao } from "./solvers/shared/resolvers/resolve-mark-price.js";
277
+ import { resolveMarket as jo } from "./solvers/shared/resolvers/resolve-market.js";
278
+ import { getSolverInfo as Mo } from "./solvers/get-solver-info/get-solver-info.js";
279
+ import { getSolverInfoQueryKey as No, getSolverInfoQueryOptions as Po } from "./solvers/get-solver-info/query.js";
280
+ import { getLockedParams as Fo } from "./solvers/locked-params/get-locked-params.js";
281
+ import { resolveLockedParams as Io } from "./solvers/instant-open/prepare-instant-open-params/resolvers/resolve-locked-params.js";
282
+ import { prepareInstantOpenParams as Lo } from "./solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.js";
283
+ import { prepareLimitOpenParams as Ro } from "./solvers/limit-open/prepare-limit-open-params.js";
284
+ import { limitOpenAuto as zo } from "./solvers/limit-open/limit-open-auto.js";
285
+ import { limitOpenAutoMutationOptions as Bo } from "./solvers/limit-open/query.js";
286
+ import { encodeRequestToClosePosition as Vo } from "./solvers/instant-close/shared/calldata.js";
287
+ import { sendInstantClose as Ho } from "./solvers/instant-close/shared/hedger-api.js";
288
+ import { instantClose as Uo } from "./solvers/instant-close/instant-close/instant-close.js";
289
+ import { calculateClosePrice as Wo, clampClosePrecision as Go } from "./solvers/instant-close/shared/close-math.js";
290
+ import { prepareInstantCloseParams as Ko } from "./solvers/instant-close/prepare-instant-close-params/prepare-instant-close-params.js";
291
+ import { prepareLimitCloseParams as qo } from "./solvers/limit-close/prepare-limit-close-params.js";
292
+ import { limitCloseAuto as Jo } from "./solvers/limit-close/limit-close-auto.js";
293
+ import { limitCloseAutoMutationOptions as Yo } from "./solvers/limit-close/query.js";
294
+ import { BINANCE_EXCHANGE_INFO_PATH as Xo, BINANCE_KLINES_PATH as Zo, BINANCE_MAX_LIMIT as Qo, BINANCE_REST_URL as $o, BINANCE_WS_URL as es } from "./candles/sources/binance/constants.js";
295
+ import { parseBinanceKline as ts, parseBinanceKlineEvent as ns } from "./candles/sources/binance/parse-kline.js";
296
+ import { getForceClosePriceSig as rs } from "./muon/force-close-price-sig/get-force-close-price-sig.js";
297
+ import { checkForceCloseEligibility as is, checkForceClosePriceReached as as, findForceCloseWindow as os, previewForceClosePrice as ss } from "./solvers/force-close/force-close-math.js";
298
+ import { forceClosePosition as cs } from "./solvers/force-close/force-close-position.js";
299
+ import { getForceCloseParams as ls } from "./solvers/force-close/get-force-close-params.js";
300
+ import { forceCloseAuto as us } from "./solvers/force-close/force-close-auto.js";
301
+ import { forceCloseAutoMutationOptions as ds, forceClosePositionMutationOptions as fs, getForceCloseParamsQueryKey as ps, getForceCloseParamsQueryOptions as ms } from "./solvers/force-close/query.js";
302
+ import { calculatePriceImpact as hs } from "./solvers/estimated-price/price-impact.js";
303
+ import { getEstimatedPriceQueryKey as gs, getEstimatedPriceQueryOptions as _s } from "./solvers/estimated-price/query.js";
304
+ import { supportsEstimatedPrice as vs } from "./solvers/estimated-price/supports-estimated-price.js";
305
+ import { toMarketFundingInfo as ys } from "./solvers/funding-info/to-funding-info.js";
306
+ import { getFundingInfo as bs } from "./solvers/funding-info/get-funding-info.js";
307
+ import { projectFundingRate as xs } from "./solvers/funding-info/project-funding-rate.js";
308
+ import { getFundingInfoQueryKey as Ss, getFundingInfoQueryOptions as Cs } from "./solvers/funding-info/query.js";
309
+ import { toRevenueRecord as ws } from "./solvers/revenue-records/to-revenue-record.js";
310
+ import { getRevenueRecords as Ts } from "./solvers/revenue-records/get-revenue-records.js";
311
+ import { getRevenueRecordsQueryKey as Es, getRevenueRecordsQueryOptions as Ds } from "./solvers/revenue-records/query.js";
312
+ import { toSolverSymbols as Os } from "./solvers/symbols/to-solver-symbol.js";
313
+ import { getSymbols as ks } from "./solvers/symbols/get-symbols.js";
314
+ import { getSymbolsQueryKey as As, getSymbolsQueryOptions as js } from "./solvers/symbols/query.js";
315
+ import { toSolverDailyVolume as Ms } from "./solvers/trade-volume/to-daily-volume.js";
316
+ import { getTradeVolume as Ns } from "./solvers/trade-volume/get-trade-volume.js";
317
+ import { getTradeVolumeQueryKey as Ps, getTradeVolumeQueryOptions as Fs } from "./solvers/trade-volume/query.js";
318
+ import { getErrorMessage as Is } from "./solvers/get-error-message/get-error-message.js";
319
+ import { getErrorMessageQueryKey as Ls, getErrorMessageQueryOptions as Rs } from "./solvers/get-error-message/query.js";
320
+ import { getPartyAUpnl as zs } from "./solvers/get-party-a-upnl/get-party-a-upnl.js";
321
+ import { getPartyAUpnlQueryKey as Bs, getPartyAUpnlQueryOptions as Vs } from "./solvers/get-party-a-upnl/query.js";
322
+ import { getSolverBalanceInfo as Hs } from "./solvers/get-solver-balance-info/get-solver-balance-info.js";
323
+ import { getSolverBalanceInfoQueryKey as Us, getSolverBalanceInfoQueryOptions as Ws } from "./solvers/get-solver-balance-info/query.js";
324
+ import { getSolverOpenInterest as Gs } from "./solvers/get-solver-open-interest/get-solver-open-interest.js";
325
+ import { getSolverOpenInterestQueryKey as Ks, getSolverOpenInterestQueryOptions as qs } from "./solvers/get-solver-open-interest/query.js";
326
+ import { getSolverPriceRange as Js } from "./solvers/get-solver-price-range/get-solver-price-range.js";
327
+ import { getSolverPriceRangeQueryKey as Ys, getSolverPriceRangeQueryOptions as Xs } from "./solvers/get-solver-price-range/query.js";
328
+ import { getSolverReadiness as Zs } from "./solvers/get-solver-readiness/get-solver-readiness.js";
329
+ import { getSolverReadinessQueryKey as Qs, getSolverReadinessQueryOptions as $s } from "./solvers/get-solver-readiness/query.js";
330
+ import { getMarketInfo as ec } from "./solvers/market-info/get-market-info.js";
331
+ import { getMarketInfoQueryKey as tc, getMarketInfoQueryOptions as nc } from "./solvers/market-info/query.js";
332
+ import { getLockedParamsQueryKey as rc, getLockedParamsQueryOptions as ic } from "./solvers/locked-params/query.js";
333
+ import { getNotionalCapAll as ac } from "./solvers/notional-cap/get-notional-cap-all.js";
334
+ import { getNotionalCapBySymbolId as oc } from "./solvers/notional-cap/get-notional-cap-by-symbol-id.js";
335
+ import { getOpenInterestBySymbolId as sc } from "./solvers/notional-cap/get-open-interest-by-symbol-id.js";
336
+ import { getNotionalCapBySymbolIdQueryKey as cc, getNotionalCapBySymbolIdQueryOptions as lc } from "./solvers/notional-cap/query.js";
337
+ import { getNotionalCapAllQueryKey as uc, getNotionalCapAllQueryOptions as dc } from "./solvers/notional-cap/query-all.js";
338
+ import { getOpenInterestBySymbolIdQueryKey as fc, getOpenInterestBySymbolIdQueryOptions as pc } from "./solvers/notional-cap/query-open-interest.js";
339
+ import { getSolverErrorCodes as mc } from "./solvers/error-codes/get-solver-error-codes.js";
340
+ import { getSolverErrorCodesQueryKey as hc, getSolverErrorCodesQueryOptions as gc } from "./solvers/error-codes/query.js";
341
+ import { getDeallocateUpnlSigQueryKey as _c, getDeallocateUpnlSigQueryOptions as vc } from "./muon/deallocate-upnl-sig/query.js";
342
+ import { getForceClosePriceSigQueryKey as yc, getForceClosePriceSigQueryOptions as bc } from "./muon/force-close-price-sig/query.js";
343
+ import { getMuonPartyAOverview as xc } from "./muon/party-a-overview/get-muon-party-a-overview.js";
344
+ import { getMuonPartyAOverviewQueryKey as Sc, getMuonPartyAOverviewQueryOptions as Cc } from "./muon/party-a-overview/query.js";
345
+ import { getMuonPrice as wc } from "./muon/price/get-muon-price.js";
346
+ import { getMuonPriceQueryKey as Tc, getMuonPriceQueryOptions as Ec } from "./muon/price/query.js";
347
+ import { getMuonPriceRange as Dc } from "./muon/price-range/get-muon-price-range.js";
348
+ import { getMuonPriceRangeQueryKey as Oc, getMuonPriceRangeQueryOptions as kc } from "./muon/price-range/query.js";
349
+ import { getMuonSettleUpnl as Ac } from "./muon/settle-upnl/get-muon-settle-upnl.js";
350
+ import { getMuonSettleUpnlQueryKey as jc, getMuonSettleUpnlQueryOptions as Mc } from "./muon/settle-upnl/query.js";
351
+ import { getMuonUpnl as Nc } from "./muon/upnl/get-muon-upnl.js";
352
+ import { getMuonUpnlQueryKey as Pc, getMuonUpnlQueryOptions as Fc } from "./muon/upnl/query.js";
353
+ import { getMuonUpnlA as Ic } from "./muon/upnl-a/get-muon-upnl-a.js";
354
+ import { getMuonUpnlAQueryKey as Lc, getMuonUpnlAQueryOptions as Rc } from "./muon/upnl-a/query.js";
355
+ import { getMuonUpnlAWithSymbolPrice as zc } from "./muon/upnl-a-with-symbol-price/get-muon-upnl-a-with-symbol-price.js";
356
+ import { getMuonUpnlAWithSymbolPriceQueryKey as Bc, getMuonUpnlAWithSymbolPriceQueryOptions as Vc } from "./muon/upnl-a-with-symbol-price/query.js";
357
+ import { getMuonUpnlB as Hc } from "./muon/upnl-b/get-muon-upnl-b.js";
358
+ import { getMuonUpnlBQueryKey as Uc, getMuonUpnlBQueryOptions as Wc } from "./muon/upnl-b/query.js";
359
+ import { getMuonUpnlWithSymbolPrice as Gc } from "./muon/upnl-with-symbol-price/get-muon-upnl-with-symbol-price.js";
360
+ import { getMuonUpnlWithSymbolPriceQueryKey as Kc, getMuonUpnlWithSymbolPriceQueryOptions as qc } from "./muon/upnl-with-symbol-price/query.js";
361
+ import { sharePercent as Jc } from "./shared/utils/percent.js";
362
+ import { getInstantOpenFees as Yc } from "./solvers/instant-open/get-instant-open-fees/get-instant-open-fees.js";
363
+ import { getInstantOpenFeesQueryKey as Xc, getInstantOpenFeesQueryOptions as Zc } from "./solvers/instant-open/get-instant-open-fees/query.js";
364
+ import { getInstantOpenQuoteId as Qc } from "./solvers/instant-open/get-instant-open-quote-id/get-instant-open-quote-id.js";
365
+ import { getInstantOpenQuoteIdQueryKey as $c, getInstantOpenQuoteIdQueryOptions as el } from "./solvers/instant-open/get-instant-open-quote-id/query.js";
366
+ import { getInstantOpens as tl } from "./solvers/instant-open/get-instant-opens/get-instant-opens.js";
367
+ import { getInstantOpensQueryKey as nl, getInstantOpensQueryOptions as rl } from "./solvers/instant-open/get-instant-opens/query.js";
368
+ import { instantOpenAuto as il } from "./solvers/instant-open/instant-open-auto/instant-open-auto.js";
369
+ import { instantOpenAutoMutationOptions as al } from "./solvers/instant-open/instant-open-auto/query.js";
370
+ import { getPrepareInstantOpenParamsQueryKey as ol, prepareInstantOpenParamsQueryOptions as sl } from "./solvers/instant-open/prepare-instant-open-params/query.js";
371
+ import { getInstantCloseFees as cl } from "./solvers/instant-close/get-instant-close-fees/get-instant-close-fees.js";
372
+ import { getInstantCloseFeesQueryKey as ll, getInstantCloseFeesQueryOptions as ul } from "./solvers/instant-close/get-instant-close-fees/query.js";
373
+ import { toPendingInstantClose as dl } from "./solvers/instant-close/get-instant-closes/to-pending-instant-close.js";
374
+ import { getInstantCloses as fl } from "./solvers/instant-close/get-instant-closes/get-instant-closes.js";
375
+ import { getInstantClosesQueryKey as pl, getInstantClosesQueryOptions as ml } from "./solvers/instant-close/get-instant-closes/query.js";
376
+ import { instantCloseMutationOptions as hl } from "./solvers/instant-close/instant-close/query.js";
377
+ import { instantCloseAuto as gl } from "./solvers/instant-close/instant-close-auto/instant-close-auto.js";
378
+ import { instantCloseAutoMutationOptions as _l } from "./solvers/instant-close/instant-close-auto/query.js";
379
+ import { MAX_INSTANT_CLOSE_BULK_ORDERS as vl, instantCloseBulk as yl } from "./solvers/instant-close/instant-close-bulk/instant-close-bulk.js";
380
+ import { instantCloseBulkMutationOptions as bl } from "./solvers/instant-close/instant-close-bulk/query.js";
381
+ import { instantCloseBulkAuto as xl } from "./solvers/instant-close/instant-close-bulk-auto/instant-close-bulk-auto.js";
382
+ import { instantCloseBulkAutoMutationOptions as Sl } from "./solvers/instant-close/instant-close-bulk-auto/query.js";
383
+ import { validateInstantCloseAgainstMarket as Cl } from "./solvers/instant-close/shared/quote-constraints.js";
384
+ import { QuoteLifecycle as wl } from "./quotes/unified-quote.js";
385
+ import { applyNotificationToQuotes as Tl, classifyQuoteNotificationAction as El, isCancelAction as Dl, isCloseFillAction as Ol, isOpenAnchorAction as kl } from "./quotes/apply-notification.js";
386
+ import { minRemainingQuantityOf as Al } from "./quotes/close-planning/min-remaining-quantity.js";
387
+ import { planGroupClose as jl } from "./quotes/close-planning/plan-group-close/plan-group-close.js";
388
+ import { toGroupCloseCandidates as Ml } from "./quotes/close-planning/to-close-candidates.js";
389
+ import { calculateClosePlatformFee as Nl } from "./quotes/fees/calculate-close-platform-fee.js";
390
+ import { calculateOpenPlatformFee as Pl } from "./quotes/fees/calculate-open-platform-fee.js";
391
+ import { fingerprintQuote as Fl } from "./quotes/fingerprint.js";
392
+ import { querySubgraph as Il } from "./symmio-subgraph/query-subgraph/query-subgraph.js";
393
+ import { getQuerySubgraphQueryKey as Ll, querySubgraphQueryOptions as Rl } from "./symmio-subgraph/query-subgraph/query.js";
394
+ import { toQuoteEventRow as zl } from "./quotes/get-quote-events-by-type/to-quote-event-row.js";
395
+ import { DEFAULT_QUOTE_EVENTS_BY_TYPE_PAGE_SIZE as Bl, getQuoteEventsByType as Vl } from "./quotes/get-quote-events-by-type/get-quote-events-by-type.js";
396
+ import { getQuoteEventsByTypeQueryKey as Hl, getQuoteEventsByTypeQueryOptions as Ul } from "./quotes/get-quote-events-by-type/query.js";
397
+ import { FUNDING_HISTORY_EVENT_TYPES as Wl, PRICE_HISTORY_EVENT_TYPES as Gl, QuoteEventType as Kl } from "./quotes/get-quote-events-by-type/types.js";
398
+ import { toQuoteFundingRow as ql } from "./quotes/get-quote-funding/to-funding-row.js";
399
+ import { QUOTES_FUNDING_MAX_IDS_PER_REQUEST as Jl, getQuoteFunding as Yl } from "./quotes/get-quote-funding/get-quote-funding.js";
400
+ import { getQuoteFundingQueryKey as Xl, getQuoteFundingQueryOptions as Zl } from "./quotes/get-quote-funding/query.js";
401
+ import { QuoteCloseEventType as Ql, QuoteCloseType as $l } from "./quotes/get-quote-history/types.js";
402
+ import { closeTypeToEventTypes as eu, eventTypeToCloseType as tu, eventTypeToQuoteStatus as nu } from "./quotes/get-quote-history/close-type.js";
403
+ import { toQuoteHistoryRow as ru } from "./quotes/get-quote-history/to-history-row.js";
404
+ import { getQuoteHistory as iu } from "./quotes/get-quote-history/get-quote-history.js";
405
+ import { getQuoteHistoryQueryKey as au, getQuoteHistoryQueryOptions as ou } from "./quotes/get-quote-history/query.js";
406
+ import { getQuotePendingFunding as su } from "./quotes/get-quote-pending-funding/get-quote-pending-funding.js";
407
+ import { getQuotePendingFundingQueryKey as cu, getQuotePendingFundingQueryOptions as lu } from "./quotes/get-quote-pending-funding/query.js";
408
+ import { getQuotesEventsByType as uu } from "./quotes/get-quotes-events-by-type/get-quotes-events-by-type.js";
409
+ import { getQuotesEventsByTypeQueryKey as du, getQuotesEventsByTypeQueryOptions as fu } from "./quotes/get-quotes-events-by-type/query.js";
410
+ import { lifecycleFromQuoteStatus as pu, toUnifiedQuoteFromInstantClose as mu, toUnifiedQuoteFromInstantOpen as hu, toUnifiedQuoteFromOnchain as gu } from "./quotes/to-unified-quote.js";
411
+ import { reconcileQuotes as _u } from "./quotes/reconcile-quotes.js";
412
+ import { resolveQuoteAccounts as vu } from "./quotes/resolve-quote-accounts.js";
413
+ import { getSubAccountQuotes as yu } from "./quotes/get-sub-account-quotes/get-sub-account-quotes.js";
414
+ import { getSubAccountQuotesQueryKey as bu, getSubAccountQuotesQueryOptions as xu } from "./quotes/get-sub-account-quotes/query.js";
415
+ import { aggregateGroupFunding as Su } from "./quotes/grouping/aggregate-group-funding.js";
416
+ import { isActivePosition as Cu, isActiveQuoteStatus as wu, isPendingOrder as Tu, partitionQuotes as Eu } from "./quotes/grouping/partition-quotes.js";
417
+ import { aggregateGroupUpnl as Du } from "./quotes/grouping/aggregate-group-upnl.js";
418
+ import { aggregateGroupMetrics as Ou } from "./quotes/grouping/aggregate-metrics.js";
419
+ import { assertQuoteGroupingSupported as ku, keyQuoteByMarket as Au, keyQuotePerQuote as ju, resolveQuoteGroupingStrategy as Mu, supportsQuoteGrouping as Nu } from "./quotes/grouping/group-strategy.js";
420
+ import { groupQuotes as Pu } from "./quotes/grouping/group-quotes.js";
421
+ import { calculateLiquidationPrice as Fu } from "./quotes/liquidation/calculate-liquidation-price.js";
422
+ import { shouldAccelerateOnchainReads as Iu, shouldAccelerateQuotePolling as Lu } from "./quotes/should-accelerate.js";
423
+ import { calculateQuoteLeverage as Ru } from "./quotes/upnl/calculate-quote-leverage.js";
424
+ import { calculateQuotePnl as zu } from "./quotes/upnl/calculate-quote-pnl.js";
425
+ import { calculateQuoteUpnl as Bu } from "./quotes/upnl/calculate-quote-upnl.js";
426
+ import { calculateQuoteUpnlWei as Vu } from "./quotes/upnl/calculate-quote-upnl-wei.js";
427
+ import { calculateMarginRisk as Hu } from "./margin/calculate-margin-risk.js";
428
+ import { getTpSlConfig as Uu } from "./tpsl/config/get-tpsl-config.js";
429
+ import { getTpSlConfigQueryKey as Wu, getTpSlConfigQueryOptions as Gu } from "./tpsl/config/query.js";
430
+ import { ZERO_LEG as Ku, buildConditionalOrderMessage as qu, buildTpSlDeleteMessage as Ju, generateTpSlSalt as Yu, toSignableTpSlMessage as Xu } from "./tpsl/set-quote-tpsl/build-conditional-order-message.js";
431
+ import { signTpSlRequest as Zu } from "./tpsl/set-quote-tpsl/sign-tpsl-request.js";
432
+ import { getTpSlDeleteSigningSpec as Qu } from "./tpsl/signing-spec/get-tpsl-delete-signing-spec.js";
433
+ import { deleteQuoteTpSl as $u } from "./tpsl/delete-quote-tpsl/delete-quote-tpsl.js";
434
+ import { deleteQuoteTpSlMutationOptions as ed } from "./tpsl/delete-quote-tpsl/query.js";
435
+ import { getQuoteTpSl as td } from "./tpsl/get-quote-tpsl/get-quote-tpsl.js";
436
+ import { getQuoteTpSlQueryKey as nd, getQuoteTpSlQueryOptions as rd } from "./tpsl/get-quote-tpsl/query.js";
437
+ import { childNotional as id, triggerPriceToWei as ad } from "./tpsl/grouping/notional.js";
438
+ import { GROUP_TPSL_SIDES as od, resolveChildSide as sd } from "./tpsl/grouping/resolve-child-side.js";
439
+ import { estimateGroupTpSlReturn as cd } from "./tpsl/grouping/estimate-group-tpsl-return.js";
440
+ import { validateTpSl as ld } from "./tpsl/validate-tpsl.js";
441
+ import { planGroupTpSl as ud } from "./tpsl/grouping/plan-group-tpsl/plan-group-tpsl.js";
442
+ import { planGroupTpSlDelete as dd } from "./tpsl/grouping/plan-group-tpsl-delete.js";
443
+ import { summarizeQuoteGroupTpSl as fd } from "./tpsl/grouping/summarize-group-tpsl.js";
444
+ import { toGroupTpSlChildren as pd } from "./tpsl/grouping/to-group-tpsl-children.js";
445
+ import { toGroupTpSlOrders as md } from "./tpsl/grouping/to-group-tpsl-orders.js";
446
+ import { TPSL_LIVE_ORDER_STATES as hd, searchTpSlOrders as gd } from "./tpsl/search-tpsl-orders/search-tpsl-orders.js";
447
+ import { searchTpSlOrdersQueryKey as _d, searchTpSlOrdersQueryOptions as vd } from "./tpsl/search-tpsl-orders/query.js";
448
+ import { buildConditionalOrderLeg as yd } from "./tpsl/set-quote-tpsl/build-conditional-order-leg.js";
449
+ import { getTpSlSigningSpec as bd } from "./tpsl/signing-spec/get-tpsl-signing-spec.js";
450
+ import { DEFAULT_TPSL_SLIPPAGE_LOWCAPS as xd, priceSlippageCalculation as Sd } from "./tpsl/slippage.js";
451
+ import { setQuoteTpSl as Cd } from "./tpsl/set-quote-tpsl/set-quote-tpsl.js";
452
+ import { setQuoteTpSlMutationOptions as wd } from "./tpsl/set-quote-tpsl/query.js";
453
+ import { getTpSlDeleteSigningSpecQueryKey as Td, getTpSlDeleteSigningSpecQueryOptions as Ed } from "./tpsl/signing-spec/delete-query.js";
454
+ import { getTpSlSigningSpecQueryKey as Dd, getTpSlSigningSpecQueryOptions as Od } from "./tpsl/signing-spec/query.js";
455
+ import { supportsTpSl as kd } from "./tpsl/supports-tpsl.js";
456
+ import { TpSlSearchOrderType as Ad } from "./tpsl/types.js";
457
+ import { parseTpSlFrame as jd } from "./websocket/tpsl/parse-tpsl-frame.js";
458
+ import { watchTpSlNotifications as Md } from "./websocket/tpsl/watch-tpsl-notifications.js";
459
+ import { BalanceChangeType as Nd, BalanceHistoryFilter as Pd, MarginTransferType as Fd } from "./balance-history/get-balance-history/types.js";
460
+ import { balanceHistoryFilterToTypes as Id } from "./balance-history/get-balance-history/balance-history-filter.js";
461
+ import { toBalanceHistoryRow as Ld } from "./balance-history/get-balance-history/to-balance-history-row.js";
462
+ import { getBalanceHistory as Rd } from "./balance-history/get-balance-history/get-balance-history.js";
463
+ import { getBalanceHistoryQueryKey as zd, getBalanceHistoryQueryOptions as Bd } from "./balance-history/get-balance-history/query.js";
464
+ import { toTransferRow as Vd } from "./transfers/get-transfer-history/to-transfer-row.js";
465
+ import { getTransferHistory as Hd } from "./transfers/get-transfer-history/get-transfer-history.js";
466
+ import { getTransferHistoryQueryKey as Ud, getTransferHistoryQueryOptions as Wd } from "./transfers/get-transfer-history/query.js";
467
+ import { fromTradingViewResolution as Gd, toTradingViewResolution as Kd } from "./candles/adapters/tradingview/map-resolution.js";
468
+ import { CANDLE_RESOLUTION_MS as qd, resolutionToMs as Jd } from "./candles/resolution.js";
469
+ import { toTradingViewDatafeed as Yd } from "./candles/adapters/tradingview/to-tradingview-datafeed.js";
470
+ import { getCandlesQueryKey as Xd, getCandlesQueryOptions as Zd } from "./candles/query.js";
471
+ import { getBinanceSupportedResolutions as Qd, toBinanceInterval as $d } from "./candles/sources/binance/map-resolution.js";
472
+ import { watchBinanceKlines as ef } from "./candles/sources/binance/watch-binance-klines.js";
473
+ import { createBinanceCandleSource as tf } from "./candles/sources/binance/create-binance-candle-source.js";
474
+ import { countTickDecimals as nf, roundToTick as rf, suggestOrderbookTickSizes as af } from "./orderbook/tick-size.js";
475
+ import { accumulateOrderbook as of, getOrderbookDepthWithin as sf, getOrderbookSpread as cf, groupOrderbook as lf } from "./orderbook/aggregate.js";
476
+ import { getOrderbookQueryKey as uf, getOrderbookQueryOptions as df } from "./orderbook/query.js";
477
+ import { BINANCE_DEPTH_DEFAULT_LEVELS as ff, BINANCE_DEPTH_DEFAULT_LIMIT as pf, BINANCE_DEPTH_DEFAULT_UPDATE_SPEED as mf, BINANCE_DEPTH_LIMITS as hf, BINANCE_DEPTH_MAX_BUFFERED_EVENTS as gf, BINANCE_DEPTH_PATH as _f, BINANCE_DEPTH_REST_URL as vf, BINANCE_DEPTH_UPDATE_SPEEDS as yf, BINANCE_DEPTH_WS_URL as bf, BINANCE_ORDERBOOK_EXCHANGE_INFO_PATH as xf } from "./orderbook/sources/binance/constants.js";
478
+ import { parseBinanceDepthLevel as Sf, parseBinanceDepthLevels as Cf } from "./orderbook/sources/binance/parse-depth.js";
479
+ import { fetchBinanceDepth as wf } from "./orderbook/sources/binance/fetch-binance-depth.js";
480
+ import { fetchBinanceSymbolFilters as Tf } from "./orderbook/sources/binance/fetch-binance-symbol-filters.js";
481
+ import { watchBinanceDepth as Ef } from "./orderbook/sources/binance/watch-binance-depth.js";
482
+ import { createBinanceOrderbookSource as Df } from "./orderbook/sources/binance/create-binance-orderbook-source.js";
483
+ import { walkOrderbook as Of } from "./orderbook/walk.js";
484
+ import { resolveListingService as kf, supportsListingService as Af } from "./pools/resolve-listing.js";
485
+ import { toAddMarketRequest as jf } from "./pools/add-market/to-add-market-request.js";
486
+ import { toCreatedPool as Mf } from "./pools/add-market/to-created-pool.js";
487
+ import { addMarket as Nf } from "./pools/add-market/add-market.js";
488
+ import { addMarketMutationOptions as Pf } from "./pools/add-market/query.js";
489
+ import { toListingAuthToken as Ff, toListingSignInMessage as If } from "./pools/auth/to-siwe.js";
490
+ import { getListingSignInMessage as Lf } from "./pools/auth/get-sign-in-message.js";
491
+ import { authenticateListing as Rf } from "./pools/auth/authenticate-listing.js";
492
+ import { authenticateListingMutationOptions as zf } from "./pools/auth/query.js";
493
+ import { toCancelWithdrawResult as Bf } from "./pools/cancel-withdraw/to-cancel-withdraw-result.js";
494
+ import { cancelWithdraw as Vf } from "./pools/cancel-withdraw/cancel-withdraw.js";
495
+ import { cancelWithdrawMutationOptions as Hf } from "./pools/cancel-withdraw/query.js";
496
+ import { toClaimRequest as Uf } from "./pools/claim/to-claim-request.js";
497
+ import { LISTING_VALUE_DECIMALS as Wf, ListingDepositChainId as Gf, ListingMarketStatus as Kf, MarketLockReason as qf, PoolPositionSide as Jf, PoolTransactionStatus as Yf, PoolTransactionType as Xf } from "./pools/types.js";
498
+ import { parseListingValue as Zf, toListingMarket as Qf, toListingMarketPage as $f, toListingValue as ep } from "./pools/markets/to-listing-market.js";
499
+ import { toClaimResult as tp } from "./pools/claim/to-claim-result.js";
500
+ import { claimProfit as np } from "./pools/claim/claim-profit.js";
501
+ import { claimProfitMutationOptions as rp } from "./pools/claim/query.js";
502
+ import { toPoolClaim as ip, toPoolClaimHistoryPage as ap } from "./pools/claim-history/to-pool-claim.js";
503
+ import { getClaimHistory as op } from "./pools/claim-history/get-claim-history.js";
504
+ import { getClaimHistoryQueryKey as sp, getClaimHistoryQueryOptions as cp } from "./pools/claim-history/query.js";
505
+ import { toMarketDepositAddress as lp } from "./pools/deposit-address/to-market-deposit-address.js";
506
+ import { getDepositAddress as up } from "./pools/deposit-address/get-deposit-address.js";
507
+ import { getDepositAddressQueryKey as dp, getDepositAddressQueryOptions as fp } from "./pools/deposit-address/query.js";
508
+ import { toListingConfig as pp } from "./pools/listing-config/to-listing-config.js";
509
+ import { getListingConfig as mp } from "./pools/listing-config/get-listing-config.js";
510
+ import { getListingConfigQueryKey as hp, getListingConfigQueryOptions as gp } from "./pools/listing-config/query.js";
511
+ import { toListingStatus as _p } from "./pools/listing-status/to-listing-status.js";
512
+ import { getListingStatus as vp } from "./pools/listing-status/get-listing-status.js";
513
+ import { getListingStatusQueryKey as yp, getListingStatusQueryOptions as bp } from "./pools/listing-status/query.js";
514
+ import { toListingMarketConfig as xp } from "./pools/market-config/to-listing-market-config.js";
515
+ import { getListingMarketConfig as Sp } from "./pools/market-config/get-listing-market-config.js";
516
+ import { projectListingMarketConfig as Cp } from "./pools/market-config/project-listing-market-config.js";
517
+ import { toUpdateListingMarketConfigRequest as wp } from "./pools/market-config/to-update-listing-market-config-request.js";
518
+ import { updateListingMarketConfig as Tp } from "./pools/market-config/update-listing-market-config.js";
519
+ import { getListingMarketConfigQueryKey as Ep, getListingMarketConfigQueryOptions as Dp, updateListingMarketConfigMutationOptions as Op } from "./pools/market-config/query.js";
520
+ import { LISTING_MARKET_CONFIG_BOUNDS as kp } from "./pools/market-config/types.js";
521
+ import { toListingMarketDetail as Ap } from "./pools/market-detail/to-listing-market-detail.js";
522
+ import { getListingMarketDetail as jp } from "./pools/market-detail/get-listing-market-detail.js";
523
+ import { getListingMarketDetailQueryKey as Mp, getListingMarketDetailQueryOptions as Np } from "./pools/market-detail/query.js";
524
+ import { toPoolPositions as Pp } from "./pools/market-detail/to-pool-positions.js";
525
+ import { getListingMarkets as Fp } from "./pools/markets/get-listing-markets.js";
526
+ import { getListingMarketsQueryKey as Ip, getListingMarketsQueryOptions as Lp } from "./pools/markets/query.js";
527
+ import { toUserPoolProfit as Rp } from "./pools/profit/to-user-pool-profit.js";
528
+ import { getUserProfit as zp } from "./pools/profit/get-user-profit.js";
529
+ import { getUserProfitQueryKey as Bp, getUserProfitQueryOptions as Vp } from "./pools/profit/query.js";
530
+ import { toPoolQuote as Hp } from "./pools/quotes/to-pool-quote.js";
531
+ import { POOL_OPEN_QUOTE_STATUSES as Up, POOL_PENDING_QUOTE_STATUSES as Wp, getPoolQuotes as Gp } from "./pools/quotes/get-pool-quotes.js";
532
+ import { getPoolQuotesQueryKey as Kp, getPoolQuotesQueryOptions as qp } from "./pools/quotes/query.js";
533
+ import { toRefundRequest as Jp } from "./pools/refund/to-refund-request.js";
534
+ import { toRefundResult as Yp } from "./pools/refund/to-refund-result.js";
535
+ import { refundMarket as Xp } from "./pools/refund/refund-market.js";
536
+ import { refundMarketMutationOptions as Zp } from "./pools/refund/query.js";
537
+ import { toRetryListingInfo as Qp } from "./pools/retry-listing/to-retry-listing-info.js";
538
+ import { getRetryListingInfo as $p } from "./pools/retry-listing/get-retry-listing-info.js";
539
+ import { toRetryListingResult as em } from "./pools/retry-listing/to-retry-listing-result.js";
540
+ import { retryListing as tm } from "./pools/retry-listing/retry-listing.js";
541
+ import { getRetryListingInfoQueryKey as nm, getRetryListingInfoQueryOptions as rm, retryListingMutationOptions as im } from "./pools/retry-listing/query.js";
542
+ import { toPoolRewardPoint as am, toUserPoolRewardChart as om } from "./pools/rewards/to-pool-reward-point.js";
543
+ import { getPoolRewardChart as sm } from "./pools/rewards/get-pool-reward-chart.js";
544
+ import { getPoolTotalReward as cm } from "./pools/rewards/get-pool-total-reward.js";
545
+ import { getUserRewardChart as lm } from "./pools/rewards/get-user-reward-chart.js";
546
+ import { getUserTotalReward as um } from "./pools/rewards/get-user-total-reward.js";
547
+ import { getPoolRewardChartQueryKey as dm, getPoolRewardChartQueryOptions as fm, getPoolTotalRewardQueryKey as pm, getPoolTotalRewardQueryOptions as mm, getUserRewardChartQueryKey as hm, getUserRewardChartQueryOptions as gm, getUserTotalRewardQueryKey as _m, getUserTotalRewardQueryOptions as vm } from "./pools/rewards/query.js";
548
+ import { getPoolTradeHistory as ym } from "./pools/trade-history/get-pool-trade-history.js";
549
+ import { getPoolTradeHistoryQueryKey as bm, getPoolTradeHistoryQueryOptions as xm } from "./pools/trade-history/query.js";
550
+ import { toPoolTransaction as Sm, toPoolTransactionPage as Cm } from "./pools/transactions/to-pool-transaction.js";
551
+ import { getPoolTransactions as wm } from "./pools/transactions/get-pool-transactions.js";
552
+ import { getPoolTransactionsQueryKey as Tm, getPoolTransactionsQueryOptions as Em } from "./pools/transactions/query.js";
553
+ import { toUserListingMarket as Dm, toUserListingMarketPage as Om } from "./pools/user-markets/to-user-listing-market.js";
554
+ import { getUserListingMarkets as km } from "./pools/user-markets/get-user-listing-markets.js";
555
+ import { getUserListingMarketsQueryKey as Am, getUserListingMarketsQueryOptions as jm } from "./pools/user-markets/query.js";
556
+ import { toUserTransaction as Mm, toUserTransactionPage as Nm } from "./pools/user-transactions/to-user-transaction.js";
557
+ import { getUserTransactions as Pm } from "./pools/user-transactions/get-user-transactions.js";
558
+ import { getUserTransactionsQueryKey as Fm, getUserTransactionsQueryOptions as Im } from "./pools/user-transactions/query.js";
559
+ import { toWeeklyListingLimit as Lm } from "./pools/weekly-limit/to-weekly-limit.js";
560
+ import { getWeeklyListingLimit as Rm } from "./pools/weekly-limit/get-weekly-listing-limit.js";
561
+ import { getWeeklyListingLimitQueryKey as zm, getWeeklyListingLimitQueryOptions as Bm } from "./pools/weekly-limit/query.js";
562
+ import { toWithdrawRequest as Vm } from "./pools/withdraw/to-withdraw-request.js";
563
+ import { withdrawLp as Hm } from "./pools/withdraw/withdraw-lp.js";
564
+ import { withdrawLpMutationOptions as Um } from "./pools/withdraw/query.js";
565
+ import { toSolverRevenue as Wm } from "./solvers/revenue/to-solver-revenue.js";
566
+ import { getSolverRevenue as Gm } from "./solvers/revenue/get-solver-revenue.js";
567
+ import { getSolverRevenueQueryKey as Km, getSolverRevenueQueryOptions as qm } from "./solvers/revenue/query.js";
568
+ import { resolveInventoryService as Jm, supportsInventoryService as Ym } from "./inventory/resolve-inventory.js";
569
+ import { getInventoryTvl as Xm, toInventoryTvl as Zm } from "./inventory/tvl/get-inventory-tvl.js";
570
+ import { getInventoryTvlQueryKey as Qm, getInventoryTvlQueryOptions as $m } from "./inventory/tvl/query.js";
571
+ import { toInventoryTvlPoint as eh } from "./inventory/tvl-history/to-inventory-tvl-point.js";
572
+ import { getInventoryTvlHistory as th } from "./inventory/tvl-history/get-inventory-tvl-history.js";
573
+ import { getInventoryTvlHistoryQueryKey as nh, getInventoryTvlHistoryQueryOptions as rh } from "./inventory/tvl-history/query.js";
574
+ import { INVENTORY_VALUE_DECIMALS as ih } from "./inventory/types.js";
575
+ export { Vn as ADD_MARGIN_TO_NEXT_VA_SELECTOR, ua as ActionStatus, St as AffiliateState, ff as BINANCE_DEPTH_DEFAULT_LEVELS, pf as BINANCE_DEPTH_DEFAULT_LIMIT, mf as BINANCE_DEPTH_DEFAULT_UPDATE_SPEED, hf as BINANCE_DEPTH_LIMITS, gf as BINANCE_DEPTH_MAX_BUFFERED_EVENTS, _f as BINANCE_DEPTH_PATH, vf as BINANCE_DEPTH_REST_URL, yf as BINANCE_DEPTH_UPDATE_SPEEDS, bf as BINANCE_DEPTH_WS_URL, Xo as BINANCE_EXCHANGE_INFO_PATH, Zo as BINANCE_KLINES_PATH, Qo as BINANCE_MAX_LIMIT, xf as BINANCE_ORDERBOOK_EXCHANGE_INFO_PATH, $o as BINANCE_REST_URL, es as BINANCE_WS_URL, Nd as BalanceChangeType, Pd as BalanceHistoryFilter, qd as CANDLE_RESOLUTION_MS, Bl as DEFAULT_QUOTE_EVENTS_BY_TYPE_PAGE_SIZE, xd as DEFAULT_TPSL_SLIPPAGE_LOWCAPS, Wl as FUNDING_HISTORY_EVENT_TYPES, pn as GASLESS_GATEWAY_EIP712_DOMAIN_NAME, mn as GASLESS_GATEWAY_EIP712_DOMAIN_VERSION, j as GASLESS_QUEUED_POLL_MS, dn as GASLESS_RECEIPT_TIMEOUT_MS, Z as GASLESS_RELAYABLE_FUNCTIONS, Q as GASLESS_RELAYABLE_SELECTORS, $ as GASLESS_SESSION_KEY_SELECTORS, ee as GASLESS_SESSION_KEY_WITHDRAW_SELECTORS, M as GASLESS_STREAM_SETTLE_MS, N as GASLESS_STREAM_STALE_MS, P as GASLESS_SUBMITTED_POLL_MS, F as GASLESS_TERMINAL_STATUSES, J as GASLESS_WAIT_TIMEOUT_MS, an as GASLESS_WALLET_EXECUTE_SELECTOR, on as GASLESS_WALLET_EXECUTION_SENTINEL_SELECTOR, hn as GASLESS_WALLET_OPERATION_TYPES, od as GROUP_TPSL_SIDES, I as GaslessFeeSource, L as GaslessRequestStatus, R as GaslessTransactionAttemptStatus, p as INSTANT_LAYER_EIP712_DOMAIN_NAME, m as INSTANT_LAYER_EIP712_DOMAIN_VERSION, Hn as INSTANT_TRADE_REQUIRED_SELECTORS, ih as INVENTORY_VALUE_DECIMALS, Un as LEGACY_INSTANT_TRADE_REQUIRED_SELECTORS, kp as LISTING_MARKET_CONFIG_BOUNDS, Wf as LISTING_VALUE_DECIMALS, Gf as ListingDepositChainId, Kf as ListingMarketStatus, co as MARKET_ORDER_DEADLINE_SECONDS, vl as MAX_INSTANT_CLOSE_BULK_ORDERS, ur as MUON_APP, dr as MUON_METHOD_PARTY_A_OVERVIEW, fr as MUON_METHOD_PRICE, pr as MUON_METHOD_PRICE_RANGE, mr as MUON_METHOD_SETTLE_UPNL, hr as MUON_METHOD_UPNL_A, gr as MUON_METHOD_UPNL_A_WITH_SYMBOL_PRICE, _r as MUON_METHOD_UPNL_B, vr as MUON_METHOD_UPNL_PAIR, yr as MUON_METHOD_UPNL_WITH_SYMBOL_PRICE, Fd as MarginTransferType, qf as MarketLockReason, da as NotificationType, cr as OPERATIONAL_FEE_LIST_PRICE_MULTIPLIER, no as ORDER_TYPE_MARKET, Gi as OrderType, Up as POOL_OPEN_QUOTE_STATUSES, Wp as POOL_PENDING_QUOTE_STATUSES, Gl as PRICE_HISTORY_EVENT_TYPES, Jf as PoolPositionSide, Yf as PoolTransactionStatus, Xf as PoolTransactionType, Ki as PositionType, Jl as QUOTES_FUNDING_MAX_IDS_PER_REQUEST, Ql as QuoteCloseEventType, $l as QuoteCloseType, Kl as QuoteEventType, wl as QuoteLifecycle, qi as QuoteStatus, Wn as REQUEST_TO_CLOSE_POSITION_SELECTOR, Gn as SEND_QUOTE_SELECTOR, Kn as SEND_QUOTE_WITH_AFFILIATE_AND_DATA_SELECTOR, lo as SHORT_FUNDING_BUFFER_PERCENT, h as SIGNED_OPERATION_TYPES, Ct as SubAccountIsolationType, a as SymmApiError, o as SymmError, s as SymmioSupportedChainId, hd as TPSL_LIVE_ORDER_STATES, Ad as TpSlSearchOrderType, ro as VIRTUAL_ACCOUNT_ISOLATION_TYPE, Ji as WithdrawStatus, Ku as ZERO_LEG, qa as ZERO_UPNL_SIG, e as accountLayerAbi, of as accumulateOrderbook, ae as addMargin, Ne as addMarginMutationOptions, Nf as addMarket, Pf as addMarketMutationOptions, Su as aggregateGroupFunding, Ou as aggregateGroupMetrics, Du as aggregateGroupUpnl, sr as allocate, ni as allocateMutationOptions, Tl as applyNotificationToQuotes, Tt as approveCollateral, Ot as approveCollateralMutationOptions, lr as approveOperationalFee, ri as approveOperationalFeeMutationOptions, ku as assertQuoteGroupingSupported, Rf as authenticateListing, zf as authenticateListingMutationOptions, Id as balanceHistoryFilterToTypes, yd as buildConditionalOrderLeg, qu as buildConditionalOrderMessage, Ja as buildQuoteMetadata, ha as buildRasaSubscribeMessage, v as buildSignedOperation, ma as buildSubscribeMessage, Ju as buildTpSlDeleteMessage, Me as calculateAvailableForOrder, uo as calculateAvailableInstantOpenMargin, Nl as calculateClosePlatformFee, Wo as calculateClosePrice, fo as calculateExpectedSettlementLoss, Fu as calculateLiquidationPrice, po as calculateMargin, Hu as calculateMarginRisk, Pl as calculateOpenPlatformFee, hs as calculatePriceImpact, Ru as calculateQuoteLeverage, zu as calculateQuotePnl, Bu as calculateQuoteUpnl, Vu as calculateQuoteUpnlWei, Ra as calculateSolverCloseFee, mo as calculateSolverFees, ho as calculateTradeParams, se as cancelRegistration, Pe as cancelRegistrationMutationOptions, Vf as cancelWithdraw, Hf as cancelWithdrawMutationOptions, is as checkForceCloseEligibility, as as checkForceClosePriceReached, Eo as checkNotionalCap, id as childNotional, np as claimProfit, rp as claimProfitMutationOptions, Go as clampClosePrecision, ln as classifyGaslessFailure, fa as classifyNotification, El as classifyQuoteNotificationAction, eu as closeTypeToEventTypes, Yr as collateralToCore18, go as computePlatformFee, _o as computePlatformFeeLegs, fn as confirmGaslessRequest, Xr as core18ToCollateral, nf as countTickDecimals, tf as createBinanceCandleSource, Df as createBinanceOrderbookSource, Zr as createClassicWithdrawPart, f as createConfig, le as createSubAccounts, Fe as createSubAccountsMutationOptions, xr as deallocate, Sr as deallocateAndInitiateWithdraw, ai as deallocateAndInitiateWithdrawMutationOptions, ii as deallocateMutationOptions, So as decimalPriceToWei, un as decodeGaslessOperationFailure, $u as deleteQuoteTpSl, ed as deleteQuoteTpSlMutationOptions, de as deleteSubAccount, Ie as deleteSubAccountMutationOptions, pe as depositAndAllocateForAccount, Le as depositAndAllocateForAccountMutationOptions, he as depositForAccount, Re as depositForAccountMutationOptions, To as deriveAutoSlippage, _e as editAccountName, ze as editAccountNameMutationOptions, Ya as encodeAddMarginToNextVA, Vo as encodeRequestToClosePosition, Xa as encodeSendQuote, Za as encodeSendQuoteWithAffiliateAndData, cd as estimateGroupTpSlReturn, tu as eventTypeToCloseType, nu as eventTypeToQuoteStatus, wf as fetchBinanceDepth, Tf as fetchBinanceSymbolFilters, Be as filterQueryOptions, Pt as finalizeRevokeDelegation, Ht as finalizeRevokeDelegationMutationOptions, wr as finalizeWithdrawRequest, oi as finalizeWithdrawRequestMutationOptions, os as findForceCloseWindow, Fl as fingerprintQuote, Tr as forceCancelCloseRequest, si as forceCancelCloseRequestMutationOptions, Er as forceCancelQuote, ci as forceCancelQuoteMutationOptions, us as forceCloseAuto, ds as forceCloseAutoMutationOptions, cs as forceClosePosition, fs as forceClosePositionMutationOptions, y as formatSignedOperationPayload, Gd as fromTradingViewResolution, t as gaslessLayerAbi, z as gaslessPollDelay, n as gaslessWalletAbi, yn as gaslessWalletExecute, bn as gaslessWalletExecuteMutationOptions, ve as generateAccountManagerAddress, Ve as generateAccountManagerAddressQueryKey, He as generateAccountManagerAddressQueryOptions, b as generateSalt, Yu as generateTpSlSalt, ye as getAccountBalanceInfo, Ue as getAccountBalanceInfoQueryKey, We as getAccountBalanceInfoQueryOptions, be as getAccountBalanceOf, Ge as getAccountBalanceOfQueryKey, Ke as getAccountBalanceOfQueryOptions, Ft as getActiveDelegations, Ut as getActiveDelegationsQueryKey, Wt as getActiveDelegationsQueryOptions, xe as getAffiliateState, qe as getAffiliateStateQueryKey, Je as getAffiliateStateQueryOptions, Rd as getBalanceHistory, zd as getBalanceHistoryQueryKey, Bd as getBalanceHistoryQueryOptions, Ca as getBinanceHealth, wa as getBinanceHealthQueryKey, Ta as getBinanceHealthQueryOptions, Ea as getBinancePremiumIndex, Da as getBinancePremiumIndexQueryKey, Oa as getBinancePremiumIndexQueryOptions, Qd as getBinanceSupportedResolutions, ka as getBinanceSymbolsInfo, Aa as getBinanceSymbolsInfoQueryKey, ja as getBinanceSymbolsInfoQueryOptions, Xd as getCandlesQueryKey, Zd as getCandlesQueryOptions, c as getChainConfig, op as getClaimHistory, sp as getClaimHistoryQueryKey, cp as getClaimHistoryQueryOptions, Et as getCollateralAllowance, kt as getCollateralAllowanceQueryKey, At as getCollateralAllowanceQueryOptions, Dt as getCollateralBalance, jt as getCollateralBalanceQueryKey, Mt as getCollateralBalanceQueryOptions, Dr as getCoolDownsOfMA, li as getCoolDownsOfMAQueryKey, ui as getCoolDownsOfMAQueryOptions, br as getDeallocateUpnlSig, _c as getDeallocateUpnlSigQueryKey, vc as getDeallocateUpnlSigQueryOptions, l as getDefaultSolver, It as getDelegationExpiry, Gt as getDelegationExpiryQueryKey, Kt as getDelegationExpiryQueryOptions, up as getDepositAddress, dp as getDepositAddressQueryKey, fp as getDepositAddressQueryOptions, Yi as getEnigmaPriceServiceHealth, Xi as getEnigmaPriceServiceHealthQueryKey, Zi as getEnigmaPriceServiceHealthQueryOptions, Qi as getEnigmaPriceServiceMetadata, $i as getEnigmaPriceServiceMetadataQueryKey, ea as getEnigmaPriceServiceMetadataQueryOptions, ta as getEnigmaPriceServicePricesByAddresses, na as getEnigmaPriceServicePricesByAddressesQueryKey, ra as getEnigmaPriceServicePricesByAddressesQueryOptions, ia as getEnigmaPriceServicePricesByNames, aa as getEnigmaPriceServicePricesByNamesQueryKey, oa as getEnigmaPriceServicePricesByNamesQueryOptions, sa as getEnigmaPriceServiceSymbolsInfo, ca as getEnigmaPriceServiceSymbolsInfoQueryKey, la as getEnigmaPriceServiceSymbolsInfoQueryOptions, Is as getErrorMessage, Ls as getErrorMessageQueryKey, Rs as getErrorMessageQueryOptions, wo as getEstimatedPrice, gs as getEstimatedPriceQueryKey, _s as getEstimatedPriceQueryOptions, Qa as getFakeSendQuoteMuonSignature, Or as getFeeForUser, di as getFeeForUserQueryKey, fi as getFeeForUserQueryOptions, ls as getForceCloseParams, ps as getForceCloseParamsQueryKey, ms as getForceCloseParamsQueryOptions, rs as getForceClosePriceSig, yc as getForceClosePriceSigQueryKey, bc as getForceClosePriceSigQueryOptions, $r as getFundingFeesOfPartyB, ei as getFundingFeesOfPartyBQueryKey, ti as getFundingFeesOfPartyBQueryOptions, bs as getFundingInfo, Ss as getFundingInfoQueryKey, Cs as getFundingInfoQueryOptions, xn as getGaslessBatchFeeQuote, Sn as getGaslessBatchFeeQuoteQueryKey, Cn as getGaslessBatchFeeQuoteQueryOptions, cn as getGaslessBatchSelectors, Tn as getGaslessDepositPolicy, En as getGaslessDepositPolicyQueryKey, Dn as getGaslessDepositPolicyQueryOptions, W as getGaslessFeeQuote, On as getGaslessFeeQuoteQueryKey, kn as getGaslessFeeQuoteQueryOptions, gn as getGaslessGatewayEip712Domain, G as getGaslessRequest, An as getGaslessRequestQueryKey, jn as getGaslessRequestQueryOptions, Mn as getGaslessRequestTransactions, Nn as getGaslessRequestTransactionsQueryKey, Pn as getGaslessRequestTransactionsQueryOptions, k as getGaslessUnconfirmedSubmit, _n as getGaslessWalletAddress, Fn as getGaslessWalletAddressQueryKey, In as getGaslessWalletAddressQueryOptions, wn as getGaslessWalletCreationFee, Ln as getGaslessWalletCreationFeeQueryKey, Rn as getGaslessWalletCreationFeeQueryOptions, sn as getGaslessWalletExecuteSelectors, vn as getGaslessWalletNonce, zn as getGaslessWalletNonceQueryKey, Bn as getGaslessWalletNonceQueryOptions, ne as getGaslessWriteRequest, cl as getInstantCloseFees, ll as getInstantCloseFeesQueryKey, ul as getInstantCloseFeesQueryOptions, fl as getInstantCloses, pl as getInstantClosesQueryKey, ml as getInstantClosesQueryOptions, g as getInstantLayerEip712Domain, C as getInstantLayerNonce, qt as getInstantLayerNonceQueryKey, Jt as getInstantLayerNonceQueryOptions, Yc as getInstantOpenFees, Xc as getInstantOpenFeesQueryKey, Zc as getInstantOpenFeesQueryOptions, Qc as getInstantOpenQuoteId, $c as getInstantOpenQuoteIdQueryKey, el as getInstantOpenQuoteIdQueryOptions, tl as getInstantOpens, nl as getInstantOpensQueryKey, rl as getInstantOpensQueryOptions, qn as getInstantTradeRequiredSelectors, Xm as getInventoryTvl, th as getInventoryTvlHistory, nh as getInventoryTvlHistoryQueryKey, rh as getInventoryTvlHistoryQueryOptions, Qm as getInventoryTvlQueryKey, $m as getInventoryTvlQueryOptions, T as getIsDelegationActive, Yt as getIsDelegationActiveQueryKey, Xt as getIsDelegationActiveQueryOptions, kr as getLastWithdrawRequestId, pi as getLastWithdrawRequestIdQueryKey, mi as getLastWithdrawRequestIdQueryOptions, mp as getListingConfig, hp as getListingConfigQueryKey, gp as getListingConfigQueryOptions, Sp as getListingMarketConfig, Ep as getListingMarketConfigQueryKey, Dp as getListingMarketConfigQueryOptions, jp as getListingMarketDetail, Mp as getListingMarketDetailQueryKey, Np as getListingMarketDetailQueryOptions, Fp as getListingMarkets, Ip as getListingMarketsQueryKey, Lp as getListingMarketsQueryOptions, Lf as getListingSignInMessage, vp as getListingStatus, yp as getListingStatusQueryKey, bp as getListingStatusQueryOptions, Fo as getLockedParams, rc as getLockedParamsQueryKey, ic as getLockedParamsQueryOptions, Ma as getMarkPrices, Na as getMarkPricesQueryKey, Pa as getMarkPricesQueryOptions, ec as getMarketInfo, tc as getMarketInfoQueryKey, nc as getMarketInfoQueryOptions, vo as getMarketOrderDeadline, Va as getMarkets, Ha as getMarketsQueryKey, Ua as getMarketsQueryOptions, xc as getMuonPartyAOverview, Sc as getMuonPartyAOverviewQueryKey, Cc as getMuonPartyAOverviewQueryOptions, wc as getMuonPrice, Tc as getMuonPriceQueryKey, Ec as getMuonPriceQueryOptions, Dc as getMuonPriceRange, Oc as getMuonPriceRangeQueryKey, kc as getMuonPriceRangeQueryOptions, Ac as getMuonSettleUpnl, jc as getMuonSettleUpnlQueryKey, Mc as getMuonSettleUpnlQueryOptions, Nc as getMuonUpnl, Ic as getMuonUpnlA, Lc as getMuonUpnlAQueryKey, Rc as getMuonUpnlAQueryOptions, zc as getMuonUpnlAWithSymbolPrice, Bc as getMuonUpnlAWithSymbolPriceQueryKey, Vc as getMuonUpnlAWithSymbolPriceQueryOptions, Hc as getMuonUpnlB, Uc as getMuonUpnlBQueryKey, Wc as getMuonUpnlBQueryOptions, Pc as getMuonUpnlQueryKey, Fc as getMuonUpnlQueryOptions, Gc as getMuonUpnlWithSymbolPrice, Kc as getMuonUpnlWithSymbolPriceQueryKey, qc as getMuonUpnlWithSymbolPriceQueryOptions, ac as getNotionalCapAll, uc as getNotionalCapAllQueryKey, dc as getNotionalCapAllQueryOptions, oc as getNotionalCapBySymbolId, cc as getNotionalCapBySymbolIdQueryKey, lc as getNotionalCapBySymbolIdQueryOptions, Ar as getOnchainContractMarkets, hi as getOnchainContractMarketsQueryKey, gi as getOnchainContractMarketsQueryOptions, sc as getOpenInterestBySymbolId, fc as getOpenInterestBySymbolIdQueryKey, pc as getOpenInterestBySymbolIdQueryOptions, jr as getOperationalFeeAllowance, _i as getOperationalFeeAllowanceQueryKey, vi as getOperationalFeeAllowanceQueryOptions, sf as getOrderbookDepthWithin, uf as getOrderbookQueryKey, df as getOrderbookQueryOptions, cf as getOrderbookSpread, Mr as getPartyAOpenPositions, yi as getPartyAOpenPositionsQueryKey, bi as getPartyAOpenPositionsQueryOptions, Nr as getPartyAPendingQuotes, xi as getPartyAPendingQuotesQueryKey, Si as getPartyAPendingQuotesQueryOptions, zs as getPartyAUpnl, Bs as getPartyAUpnlQueryKey, Vs as getPartyAUpnlQueryOptions, Pr as getPendingQuotes, Ci as getPendingQuotesQueryKey, wi as getPendingQuotesQueryOptions, Lt as getPendingRevocationEtas, Zt as getPendingRevocationEtasQueryKey, Qt as getPendingRevocationEtasQueryOptions, Fr as getPendingWithdrawRequests, Ti as getPendingWithdrawRequestsQueryKey, Ei as getPendingWithdrawRequestsQueryOptions, Gp as getPoolQuotes, Kp as getPoolQuotesQueryKey, qp as getPoolQuotesQueryOptions, sm as getPoolRewardChart, dm as getPoolRewardChartQueryKey, fm as getPoolRewardChartQueryOptions, cm as getPoolTotalReward, pm as getPoolTotalRewardQueryKey, mm as getPoolTotalRewardQueryOptions, ym as getPoolTradeHistory, bm as getPoolTradeHistoryQueryKey, xm as getPoolTradeHistoryQueryOptions, wm as getPoolTransactions, Tm as getPoolTransactionsQueryKey, Em as getPoolTransactionsQueryOptions, De as getPredictedNextVirtualAccount, lt as getPredictedNextVirtualAccountQueryKey, ut as getPredictedNextVirtualAccountQueryOptions, ol as getPrepareInstantOpenParamsQueryKey, Ll as getQuerySubgraphQueryKey, Ir as getQuote, Vl as getQuoteEventsByType, Hl as getQuoteEventsByTypeQueryKey, Ul as getQuoteEventsByTypeQueryOptions, Yl as getQuoteFunding, Xl as getQuoteFundingQueryKey, Zl as getQuoteFundingQueryOptions, iu as getQuoteHistory, au as getQuoteHistoryQueryKey, ou as getQuoteHistoryQueryOptions, su as getQuotePendingFunding, cu as getQuotePendingFundingQueryKey, lu as getQuotePendingFundingQueryOptions, Di as getQuoteQueryKey, Oi as getQuoteQueryOptions, td as getQuoteTpSl, nd as getQuoteTpSlQueryKey, rd as getQuoteTpSlQueryOptions, uu as getQuotesEventsByType, du as getQuotesEventsByTypeQueryKey, fu as getQuotesEventsByTypeQueryOptions, $p as getRetryListingInfo, nm as getRetryListingInfoQueryKey, rm as getRetryListingInfoQueryOptions, Ts as getRevenueRecords, Es as getRevenueRecordsQueryKey, Ds as getRevenueRecordsQueryOptions, Rt as getRevocationCooldown, $t as getRevocationCooldownQueryKey, en as getRevocationCooldownQueryOptions, ao as getSendQuoteUpnlSig, oo as getSendQuoteUpnlSigQueryKey, so as getSendQuoteUpnlSigQueryOptions, Jn as getSessionKeySelectors, Hs as getSolverBalanceInfo, Us as getSolverBalanceInfoQueryKey, Ws as getSolverBalanceInfoQueryOptions, Wa as getSolverCapabilities, za as getSolverCloseFeeRate, mc as getSolverErrorCodes, hc as getSolverErrorCodesQueryKey, gc as getSolverErrorCodesQueryOptions, Mo as getSolverInfo, No as getSolverInfoQueryKey, Po as getSolverInfoQueryOptions, Gs as getSolverOpenInterest, Ks as getSolverOpenInterestQueryKey, qs as getSolverOpenInterestQueryOptions, Js as getSolverPriceRange, Ys as getSolverPriceRangeQueryKey, Xs as getSolverPriceRangeQueryOptions, Zs as getSolverReadiness, Qs as getSolverReadinessQueryKey, $s as getSolverReadinessQueryOptions, Gm as getSolverRevenue, Km as getSolverRevenueQueryKey, qm as getSolverRevenueQueryOptions, w as getSubAccount, Ye as getSubAccountQueryKey, Xe as getSubAccountQueryOptions, yu as getSubAccountQuotes, bu as getSubAccountQuotesQueryKey, xu as getSubAccountQuotesQueryOptions, Se as getSubAccountVirtualNonce, Ze as getSubAccountVirtualNonceQueryKey, Qe as getSubAccountVirtualNonceQueryOptions, Ce as getSubAccountsCountOfUser, $e as getSubAccountsCountOfUserQueryKey, et as getSubAccountsCountOfUserQueryOptions, ks as getSymbols, As as getSymbolsQueryKey, js as getSymbolsQueryOptions, Uu as getTpSlConfig, Wu as getTpSlConfigQueryKey, Gu as getTpSlConfigQueryOptions, Qu as getTpSlDeleteSigningSpec, Td as getTpSlDeleteSigningSpecQueryKey, Ed as getTpSlDeleteSigningSpecQueryOptions, bd as getTpSlSigningSpec, Dd as getTpSlSigningSpecQueryKey, Od as getTpSlSigningSpecQueryOptions, Ns as getTradeVolume, Ps as getTradeVolumeQueryKey, Fs as getTradeVolumeQueryOptions, Hd as getTransferHistory, Ud as getTransferHistoryQueryKey, Wd as getTransferHistoryQueryOptions, km as getUserListingMarkets, Am as getUserListingMarketsQueryKey, jm as getUserListingMarketsQueryOptions, zp as getUserProfit, Bp as getUserProfitQueryKey, Vp as getUserProfitQueryOptions, lm as getUserRewardChart, hm as getUserRewardChartQueryKey, gm as getUserRewardChartQueryOptions, we as getUserSubAccounts, Te as getUserSubAccountsAddresses, rt as getUserSubAccountsAddressesQueryKey, it as getUserSubAccountsAddressesQueryOptions, tt as getUserSubAccountsQueryKey, nt as getUserSubAccountsQueryOptions, um as getUserTotalReward, _m as getUserTotalRewardQueryKey, vm as getUserTotalRewardQueryOptions, Pm as getUserTransactions, Fm as getUserTransactionsQueryKey, Im as getUserTransactionsQueryOptions, S as getVirtualAccount, at as getVirtualAccountQueryKey, ot as getVirtualAccountQueryOptions, Ee as getVirtualAccountsAddressesOfSubAccount, st as getVirtualAccountsAddressesOfSubAccountQueryKey, ct as getVirtualAccountsAddressesOfSubAccountQueryOptions, Rm as getWeeklyListingLimit, zm as getWeeklyListingLimitQueryKey, Bm as getWeeklyListingLimitQueryOptions, Lr as getWithdrawRequests, ki as getWithdrawRequestsQueryKey, Ai as getWithdrawRequestsQueryOptions, Rr as getWithdrawableTime, ji as getWithdrawableTimeQueryKey, Mi as getWithdrawableTimeQueryOptions, Bt as grantDelegation, tn as grantDelegationMutationOptions, lf as groupOrderbook, Pu as groupQuotes, Vt as initiateRevokeDelegation, nn as initiateRevokeDelegationMutationOptions, zr as initiateWithdraw, Ni as initiateWithdrawMutationOptions, Uo as instantClose, gl as instantCloseAuto, _l as instantCloseAutoMutationOptions, yl as instantCloseBulk, xl as instantCloseBulkAuto, Sl as instantCloseBulkAutoMutationOptions, bl as instantCloseBulkMutationOptions, hl as instantCloseMutationOptions, r as instantLayerAbi, bo as instantOpen, il as instantOpenAuto, al as instantOpenAutoMutationOptions, xo as instantOpenMutationOptions, Cu as isActivePosition, wu as isActiveQuoteStatus, Dl as isCancelAction, u as isChainSupported, Ol as isCloseFillAction, V as isConfirmedGaslessFeeLimitError, H as isConfirmedGaslessUnavailableError, U as isGaslessFreeQuotaExhaustedError, A as isGaslessIdempotencyConflictError, te as isGaslessRelayableSelector, B as isGaslessRequestTerminal, Yn as isNewerGaslessRequest, kl as isOpenAnchorAction, Tu as isPendingOrder, io as isolationTypeForSide, Au as keyQuoteByMarket, ju as keyQuotePerQuote, pu as lifecycleFromQuoteStatus, Jo as limitCloseAuto, Yo as limitCloseAutoMutationOptions, zo as limitOpenAuto, Bo as limitOpenAutoMutationOptions, d as listSupportedChains, Al as minRemainingQuantityOf, pa as normalizeNotification, Sf as parseBinanceDepthLevel, Cf as parseBinanceDepthLevels, ts as parseBinanceKline, ns as parseBinanceKlineEvent, va as parseBinancePriceFrame, E as parseGaslessErrorDetail, Zf as parseListingValue, ga as parseNotificationFrame, ya as parsePriceFrame, jd as parseTpSlFrame, Eu as partitionQuotes, jl as planGroupClose, ud as planGroupTpSl, dd as planGroupTpSlDelete, Ko as prepareInstantCloseParams, Lo as prepareInstantOpenParams, sl as prepareInstantOpenParamsQueryOptions, qo as prepareLimitCloseParams, Ro as prepareLimitOpenParams, ss as previewForceClosePrice, Sd as priceSlippageCalculation, xs as projectFundingRate, Cp as projectListingMarketConfig, Il as querySubgraph, Rl as querySubgraphQueryOptions, _u as reconcileQuotes, Xp as refundMarket, Zp as refundMarketMutationOptions, Xn as relayGaslessBatch, Zn as relayGaslessBatchMutationOptions, Qn as relayGrantDelegation, $n as relayGrantDelegationMutationOptions, X as relayInstantOperations, er as relayInstantOperationsMutationOptions, ke as removeMargin, dt as removeMarginMutationOptions, Br as requestCancelWithdraw, Pi as requestCancelWithdrawMutationOptions, Vr as requestToCancelCloseRequest, Fi as requestToCancelCloseRequestMutationOptions, Hr as requestToCancelQuote, Ii as requestToCancelQuoteMutationOptions, je as requestToRegisterAffiliate, ft as requestToRegisterAffiliateMutationOptions, Jd as resolutionToMs, sd as resolveChildSide, ko as resolveFeeRates, D as resolveGaslessService, Jm as resolveInventoryService, kf as resolveListingService, Io as resolveLockedParams, Ao as resolveMarkPrice, jo as resolveMarket, vu as resolveQuoteAccounts, Mu as resolveQuoteGroupingStrategy, tr as resubmitGaslessRequest, nr as resubmitGaslessRequestMutationOptions, tm as retryListing, im as retryListingMutationOptions, rf as roundToTick, Fa as searchNotifications, Ia as searchNotificationsQueryKey, La as searchNotificationsQueryOptions, gd as searchTpSlOrders, _d as searchTpSlOrdersQueryKey, vd as searchTpSlOrdersQueryOptions, Ho as sendInstantClose, eo as sendInstantOpen, $a as sendQuoteUpnlSigFlexRange, to as sendRasaInstantOpen, Cd as setQuoteTpSl, wd as setQuoteTpSlMutationOptions, rr as settleGaslessDepositExistingAccount, ir as settleGaslessDepositExistingAccountMutationOptions, ar as settleGaslessDepositNewAccount, or as settleGaslessDepositNewAccountMutationOptions, Jc as sharePercent, Iu as shouldAccelerateOnchainReads, Lu as shouldAccelerateQuotePolling, re as shouldSimulateBeforeWrite, x as signAndFormatInstantOperation, _ as signSignedOperation, Zu as signTpSlRequest, ie as simulateAddMargin, pt as simulateAddMarginMutationOptions, Ur as simulateAllocate, Li as simulateAllocateMutationOptions, wt as simulateApproveCollateral, Nt as simulateApproveCollateralMutationOptions, oe as simulateCancelRegistration, mt as simulateCancelRegistrationMutationOptions, ce as simulateCreateSubAccounts, ht as simulateCreateSubAccountsMutationOptions, Wr as simulateDeallocate, Gr as simulateDeallocateAndInitiateWithdraw, zi as simulateDeallocateAndInitiateWithdrawMutationOptions, Ri as simulateDeallocateMutationOptions, ue as simulateDeleteSubAccount, gt as simulateDeleteSubAccountMutationOptions, fe as simulateDepositAndAllocateForAccount, _t as simulateDepositAndAllocateForAccountMutationOptions, me as simulateDepositForAccount, vt as simulateDepositForAccountMutationOptions, ge as simulateEditAccountName, yt as simulateEditAccountNameMutationOptions, Cr as simulateFinalizeWithdrawRequest, Bi as simulateFinalizeWithdrawRequestMutationOptions, zt as simulateGrantDelegation, rn as simulateGrantDelegationMutationOptions, Kr as simulateInitiateWithdraw, Vi as simulateInitiateWithdrawMutationOptions, Oe as simulateRemoveMargin, bt as simulateRemoveMarginMutationOptions, qr as simulateRequestCancelWithdraw, Hi as simulateRequestCancelWithdrawMutationOptions, Ae as simulateRequestToRegisterAffiliate, xt as simulateRequestToRegisterAffiliateMutationOptions, af as suggestOrderbookTickSizes, fd as summarizeQuoteGroupTpSl, vs as supportsEstimatedPrice, O as supportsGaslessService, K as supportsGaslessStatusStream, Ga as supportsGroupClose, Ym as supportsInventoryService, Ka as supportsLimitOrder, Af as supportsListingService, Nu as supportsQuoteGrouping, kd as supportsTpSl, i as symmioAbi, jf as toAddMarketRequest, Ld as toBalanceHistoryRow, $d as toBinanceInterval, Bf as toCancelWithdrawResult, Uf as toClaimRequest, tp as toClaimResult, Mf as toCreatedPool, Co as toEstimatedPrice, Ml as toGroupCloseCandidates, pd as toGroupTpSlChildren, md as toGroupTpSlOrders, Zm as toInventoryTvl, eh as toInventoryTvlPoint, Ff as toListingAuthToken, pp as toListingConfig, Qf as toListingMarket, xp as toListingMarketConfig, Ap as toListingMarketDetail, $f as toListingMarketPage, If as toListingSignInMessage, _p as toListingStatus, ep as toListingValue, lp as toMarketDepositAddress, ys as toMarketFundingInfo, dl as toPendingInstantClose, ip as toPoolClaim, ap as toPoolClaimHistoryPage, Pp as toPoolPositions, Hp as toPoolQuote, am as toPoolRewardPoint, Sm as toPoolTransaction, Cm as toPoolTransactionPage, zl as toQuoteEventRow, ql as toQuoteFundingRow, ru as toQuoteHistoryRow, Jp as toRefundRequest, Yp as toRefundResult, Qp as toRetryListingInfo, em as toRetryListingResult, ws as toRevenueRecord, Xu as toSignableTpSlMessage, Ms as toSolverDailyVolume, Wm as toSolverRevenue, Os as toSolverSymbols, Ba as toThresholdSeconds, Yd as toTradingViewDatafeed, Kd as toTradingViewResolution, Vd as toTransferRow, mu as toUnifiedQuoteFromInstantClose, hu as toUnifiedQuoteFromInstantOpen, gu as toUnifiedQuoteFromOnchain, wp as toUpdateListingMarketConfigRequest, Dm as toUserListingMarket, Om as toUserListingMarketPage, Rp as toUserPoolProfit, om as toUserPoolRewardChart, Mm as toUserTransaction, Nm as toUserTransactionPage, Lm as toWeeklyListingLimit, yo as toWeiBigInt, Vm as toWithdrawRequest, ad as triggerPriceToWei, Tp as updateListingMarketConfig, Op as updateListingMarketConfigMutationOptions, Cl as validateInstantCloseAgainstMarket, Do as validateInstantOpenAgainstMarket, Oo as validateInstantOpenBalanceFunding, ld as validateTpSl, Y as waitForGaslessRequest, Of as walkOrderbook, Ef as watchBinanceDepth, ef as watchBinanceKlines, ba as watchBinancePrices, xa as watchEnigmaPrices, q as watchGaslessRequest, _a as watchNotifications, Sa as watchPrices, Md as watchTpSlNotifications, Jr as withdraw, Qr as withdrawAuto, Wi as withdrawAutoMutationOptions, Hm as withdrawLp, Um as withdrawLpMutationOptions, Ui as withdrawMutationOptions };