@symmio/trading-core 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/config/create-config.d.ts +14 -4
- package/dist/core/config/create-config.d.ts.map +1 -1
- package/dist/core/config/create-config.js +22 -26
- package/dist/core/config/create-config.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +279 -267
- package/dist/solvers/instant-close/instant-close-auto/instant-close-auto.d.ts +1 -1
- package/dist/solvers/instant-close/instant-close-auto/instant-close-auto.js.map +1 -1
- package/dist/solvers/instant-close/instant-close-bulk-auto/instant-close-bulk-auto.d.ts +2 -2
- package/dist/solvers/instant-close/instant-close-bulk-auto/instant-close-bulk-auto.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/cancel-registration.d.ts +38 -0
- package/dist/symmio-contracts/account-layer/actions/cancel-registration.d.ts.map +1 -0
- package/dist/symmio-contracts/account-layer/actions/cancel-registration.js +26 -0
- package/dist/symmio-contracts/account-layer/actions/cancel-registration.js.map +1 -0
- package/dist/symmio-contracts/account-layer/actions/deposit-and-allocate-for-account.d.ts +4 -3
- package/dist/symmio-contracts/account-layer/actions/deposit-and-allocate-for-account.d.ts.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/deposit-and-allocate-for-account.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/deposit-for-account.d.ts +4 -3
- package/dist/symmio-contracts/account-layer/actions/deposit-for-account.d.ts.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/deposit-for-account.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/generate-account-manager-address.d.ts +39 -0
- package/dist/symmio-contracts/account-layer/actions/generate-account-manager-address.d.ts.map +1 -0
- package/dist/symmio-contracts/account-layer/actions/generate-account-manager-address.js +15 -0
- package/dist/symmio-contracts/account-layer/actions/generate-account-manager-address.js.map +1 -0
- package/dist/symmio-contracts/account-layer/actions/get-affiliate-state.d.ts +35 -0
- package/dist/symmio-contracts/account-layer/actions/get-affiliate-state.d.ts.map +1 -0
- package/dist/symmio-contracts/account-layer/actions/get-affiliate-state.js +15 -0
- package/dist/symmio-contracts/account-layer/actions/get-affiliate-state.js.map +1 -0
- package/dist/symmio-contracts/account-layer/actions/request-to-register-affiliate.d.ts +56 -0
- package/dist/symmio-contracts/account-layer/actions/request-to-register-affiliate.d.ts.map +1 -0
- package/dist/symmio-contracts/account-layer/actions/request-to-register-affiliate.js +26 -0
- package/dist/symmio-contracts/account-layer/actions/request-to-register-affiliate.js.map +1 -0
- package/dist/symmio-contracts/account-layer/actions/simulate-cancel-registration.d.ts +31 -0
- package/dist/symmio-contracts/account-layer/actions/simulate-cancel-registration.d.ts.map +1 -0
- package/dist/symmio-contracts/account-layer/actions/simulate-cancel-registration.js +16 -0
- package/dist/symmio-contracts/account-layer/actions/simulate-cancel-registration.js.map +1 -0
- package/dist/symmio-contracts/account-layer/actions/simulate-request-to-register-affiliate.d.ts +33 -0
- package/dist/symmio-contracts/account-layer/actions/simulate-request-to-register-affiliate.d.ts.map +1 -0
- package/dist/symmio-contracts/account-layer/actions/simulate-request-to-register-affiliate.js +16 -0
- package/dist/symmio-contracts/account-layer/actions/simulate-request-to-register-affiliate.js.map +1 -0
- package/dist/symmio-contracts/account-layer/index.d.ts +12 -0
- package/dist/symmio-contracts/account-layer/index.d.ts.map +1 -1
- package/dist/symmio-contracts/account-layer/query/cancel-registration.d.ts +22 -0
- package/dist/symmio-contracts/account-layer/query/cancel-registration.d.ts.map +1 -0
- package/dist/symmio-contracts/account-layer/query/cancel-registration.js +12 -0
- package/dist/symmio-contracts/account-layer/query/cancel-registration.js.map +1 -0
- package/dist/symmio-contracts/account-layer/query/generate-account-manager-address.d.ts +39 -0
- package/dist/symmio-contracts/account-layer/query/generate-account-manager-address.d.ts.map +1 -0
- package/dist/symmio-contracts/account-layer/query/generate-account-manager-address.js +30 -0
- package/dist/symmio-contracts/account-layer/query/generate-account-manager-address.js.map +1 -0
- package/dist/symmio-contracts/account-layer/query/get-affiliate-state.d.ts +38 -0
- package/dist/symmio-contracts/account-layer/query/get-affiliate-state.d.ts.map +1 -0
- package/dist/symmio-contracts/account-layer/query/get-affiliate-state.js +29 -0
- package/dist/symmio-contracts/account-layer/query/get-affiliate-state.js.map +1 -0
- package/dist/symmio-contracts/account-layer/query/request-to-register-affiliate.d.ts +22 -0
- package/dist/symmio-contracts/account-layer/query/request-to-register-affiliate.d.ts.map +1 -0
- package/dist/symmio-contracts/account-layer/query/request-to-register-affiliate.js +12 -0
- package/dist/symmio-contracts/account-layer/query/request-to-register-affiliate.js.map +1 -0
- package/dist/symmio-contracts/account-layer/query/simulate-cancel-registration.d.ts +19 -0
- package/dist/symmio-contracts/account-layer/query/simulate-cancel-registration.d.ts.map +1 -0
- package/dist/symmio-contracts/account-layer/query/simulate-cancel-registration.js +12 -0
- package/dist/symmio-contracts/account-layer/query/simulate-cancel-registration.js.map +1 -0
- package/dist/symmio-contracts/account-layer/query/simulate-request-to-register-affiliate.d.ts +19 -0
- package/dist/symmio-contracts/account-layer/query/simulate-request-to-register-affiliate.d.ts.map +1 -0
- package/dist/symmio-contracts/account-layer/query/simulate-request-to-register-affiliate.js +12 -0
- package/dist/symmio-contracts/account-layer/query/simulate-request-to-register-affiliate.js.map +1 -0
- package/dist/symmio-contracts/account-layer/types.d.ts +68 -0
- package/dist/symmio-contracts/account-layer/types.d.ts.map +1 -1
- package/dist/symmio-contracts/account-layer/types.js +3 -1
- package/dist/symmio-contracts/account-layer/types.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10,270 +10,282 @@ import { createConfig as l } from "./core/config/create-config.js";
|
|
|
10
10
|
import { shouldSimulateBeforeWrite as u } from "./shared/utils/simulate-before-write.js";
|
|
11
11
|
import { simulateAddMargin as d } from "./symmio-contracts/account-layer/actions/simulate-add-margin.js";
|
|
12
12
|
import { addMargin as f } from "./symmio-contracts/account-layer/actions/add-margin.js";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import {
|
|
134
|
-
import {
|
|
135
|
-
import {
|
|
136
|
-
import {
|
|
137
|
-
import {
|
|
138
|
-
import {
|
|
139
|
-
import {
|
|
140
|
-
import {
|
|
141
|
-
import {
|
|
142
|
-
import {
|
|
143
|
-
import {
|
|
144
|
-
import {
|
|
145
|
-
import {
|
|
146
|
-
import {
|
|
147
|
-
import {
|
|
148
|
-
import {
|
|
149
|
-
import {
|
|
150
|
-
import {
|
|
151
|
-
import {
|
|
152
|
-
import {
|
|
153
|
-
import {
|
|
154
|
-
import {
|
|
155
|
-
import {
|
|
156
|
-
import {
|
|
157
|
-
import {
|
|
158
|
-
import {
|
|
159
|
-
import {
|
|
160
|
-
import {
|
|
161
|
-
import {
|
|
162
|
-
import {
|
|
163
|
-
import {
|
|
164
|
-
import {
|
|
165
|
-
import {
|
|
166
|
-
import {
|
|
167
|
-
import {
|
|
168
|
-
import {
|
|
169
|
-
import {
|
|
170
|
-
import {
|
|
171
|
-
import {
|
|
172
|
-
import {
|
|
173
|
-
import {
|
|
174
|
-
import {
|
|
175
|
-
import {
|
|
176
|
-
import {
|
|
177
|
-
import {
|
|
178
|
-
import {
|
|
179
|
-
import {
|
|
180
|
-
import {
|
|
181
|
-
import {
|
|
182
|
-
import {
|
|
183
|
-
import {
|
|
184
|
-
import {
|
|
185
|
-
import {
|
|
186
|
-
import {
|
|
187
|
-
import {
|
|
188
|
-
import {
|
|
189
|
-
import {
|
|
190
|
-
import {
|
|
191
|
-
import {
|
|
192
|
-
import {
|
|
193
|
-
import {
|
|
194
|
-
import {
|
|
195
|
-
import {
|
|
196
|
-
import {
|
|
197
|
-
import {
|
|
198
|
-
import {
|
|
199
|
-
import {
|
|
200
|
-
import {
|
|
201
|
-
import {
|
|
202
|
-
import {
|
|
203
|
-
import {
|
|
204
|
-
import {
|
|
205
|
-
import {
|
|
206
|
-
import {
|
|
207
|
-
import {
|
|
208
|
-
import {
|
|
209
|
-
import {
|
|
210
|
-
import {
|
|
211
|
-
import {
|
|
212
|
-
import {
|
|
213
|
-
import {
|
|
214
|
-
import {
|
|
215
|
-
import {
|
|
216
|
-
import {
|
|
217
|
-
import {
|
|
218
|
-
import {
|
|
219
|
-
import {
|
|
220
|
-
import {
|
|
221
|
-
import {
|
|
222
|
-
import {
|
|
223
|
-
import {
|
|
224
|
-
import {
|
|
225
|
-
import {
|
|
226
|
-
import {
|
|
227
|
-
import {
|
|
228
|
-
import {
|
|
229
|
-
import {
|
|
230
|
-
import {
|
|
231
|
-
import {
|
|
232
|
-
import {
|
|
233
|
-
import {
|
|
234
|
-
import {
|
|
235
|
-
import {
|
|
236
|
-
import {
|
|
237
|
-
import {
|
|
238
|
-
import {
|
|
239
|
-
import {
|
|
240
|
-
import {
|
|
241
|
-
import {
|
|
242
|
-
import {
|
|
243
|
-
import {
|
|
244
|
-
import {
|
|
245
|
-
import {
|
|
246
|
-
import {
|
|
247
|
-
import {
|
|
248
|
-
import {
|
|
249
|
-
import {
|
|
250
|
-
import {
|
|
251
|
-
import {
|
|
252
|
-
import {
|
|
253
|
-
import {
|
|
254
|
-
import {
|
|
255
|
-
import {
|
|
256
|
-
import {
|
|
257
|
-
import {
|
|
258
|
-
import {
|
|
259
|
-
import {
|
|
260
|
-
import {
|
|
261
|
-
import {
|
|
262
|
-
import {
|
|
263
|
-
import {
|
|
264
|
-
import {
|
|
265
|
-
import {
|
|
266
|
-
import {
|
|
267
|
-
import {
|
|
268
|
-
import {
|
|
269
|
-
import {
|
|
270
|
-
import {
|
|
271
|
-
import {
|
|
272
|
-
import {
|
|
273
|
-
import {
|
|
274
|
-
import {
|
|
275
|
-
import {
|
|
276
|
-
import {
|
|
277
|
-
import {
|
|
278
|
-
import {
|
|
279
|
-
export { gi as ADD_MARGIN_TO_NEXT_VA_SELECTOR, Zt as ActionStatus, lo as BalanceChangeType, uo as BalanceHistoryFilter, Yi as DEFAULT_QUOTE_EVENTS_BY_TYPE_PAGE_SIZE, Qa as DEFAULT_TPSL_SLIPPAGE_LOWCAPS, Vr as INSTANT_LAYER_EIP712_DOMAIN_NAME, Hr as INSTANT_LAYER_EIP712_DOMAIN_VERSION, _i as INSTANT_TRADE_REQUIRED_SELECTORS, $r as MARKET_ORDER_DEADLINE_SECONDS, Ni as MAX_INSTANT_CLOSE_BULK_ORDERS, Un as MUON_APP, Wn as MUON_METHOD_PARTY_A_OVERVIEW, Gn as MUON_METHOD_PRICE, Kn as MUON_METHOD_PRICE_RANGE, qn as MUON_METHOD_SETTLE_UPNL, Jn as MUON_METHOD_UPNL_A, Yn as MUON_METHOD_UPNL_A_WITH_SYMBOL_PRICE, Xn as MUON_METHOD_UPNL_B, Zn as MUON_METHOD_UPNL_PAIR, Qn as MUON_METHOD_UPNL_WITH_SYMBOL_PRICE, fo as MarginTransferType, Qt as NotificationType, Xr as ORDER_TYPE_MARKET, jt as OrderType, $i as PRICE_HISTORY_EVENT_TYPES, Mt as PositionType, aa as QuoteCloseEventType, oa as QuoteCloseType, ea as QuoteEventType, zi as QuoteLifecycle, Nt as QuoteStatus, vi as REQUEST_TO_CLOSE_POSITION_SELECTOR, yi as SEND_QUOTE_WITH_AFFILIATE_AND_DATA_SELECTOR, Ur as SIGNED_OPERATION_TYPES, ge as SubAccountIsolationType, r as SymmApiError, i as SymmError, a as SymmioSupportedChainId, Zr as VIRTUAL_ACCOUNT_ISOLATION_TYPE, Pt as WithdrawStatus, Ra as ZERO_LEG, Fr as ZERO_UPNL_SIG, e as accountLayerAbi, f as addMargin, F as addMarginMutationOptions, Ea as aggregateGroupMetrics, Le as allocate, rt as allocateMutationOptions, Bi as applyNotificationToQuotes, ve as approveCollateral, xe as approveCollateralMutationOptions, po as balanceHistoryFilterToTypes, Xa as buildConditionalOrderLeg, za as buildConditionalOrderMessage, Ir as buildQuoteMetadata, Kr as buildSignedOperation, Xt as buildSubscribeMessage, Ba as buildTpSlDeleteMessage, ei as calculateAvailableInstantOpenMargin, Hi as calculateClosePlatformFee, Oi as calculateClosePrice, ka as calculateLiquidationPrice, ti as calculateMargin, Ui as calculateOpenPlatformFee, mn as calculatePriceImpact, Ma as calculateQuoteLeverage, Na as calculateQuotePnl, Pa as calculateQuoteUpnl, ni as calculateTradeParams, kn as checkNotionalCap, ki as clampClosePrecision, $t as classifyNotification, Vi as classifyQuoteNotificationAction, sa as closeTypeToEventTypes, ri as computePlatformFee, nt as createClassicWithdrawPart, l as createConfig, m as createSubAccounts, I as createSubAccountsMutationOptions, Re as deallocate, it as deallocateMutationOptions, Ga as deleteQuoteTpSl, Ka as deleteQuoteTpSlMutationOptions, g as deleteSubAccount, L as deleteSubAccountMutationOptions, v as depositAndAllocateForAccount, R as depositAndAllocateForAccountMutationOptions, b as depositForAccount, z as depositForAccountMutationOptions, S as editAccountName, B as editAccountNameMutationOptions, Lr as encodeAddMarginToNextVA, wi as encodeRequestToClosePosition, Rr as encodeSendQuoteWithAffiliateAndData, ca as eventTypeToCloseType, la as eventTypeToQuoteStatus, V as filterQueryOptions, Be as finalizeWithdrawRequest, at as finalizeWithdrawRequestMutationOptions, Wi as fingerprintQuote, qr as formatSignedOperationPayload, Jr as generateSalt, Va as generateTpSlSalt, C as getAccountBalanceInfo, H as getAccountBalanceInfoQueryKey, U as getAccountBalanceInfoQueryOptions, w as getAccountBalanceOf, W as getAccountBalanceOfQueryKey, G as getAccountBalanceOfQueryOptions, ho as getBalanceHistory, go as getBalanceHistoryQueryKey, _o as getBalanceHistoryQueryOptions, o as getChainConfig, ye as getCollateralAllowance, Se as getCollateralAllowanceQueryKey, Ce as getCollateralAllowanceQueryOptions, be as getCollateralBalance, we as getCollateralBalanceQueryKey, Te as getCollateralBalanceQueryOptions, $n as getDeallocateUpnlSig, er as getDeallocateUpnlSigQueryKey, tr as getDeallocateUpnlSigQueryOptions, De as getDelegationExpiry, je as getDelegationExpiryQueryKey, Me as getDelegationExpiryQueryOptions, Ft as getEnigmaPriceServiceHealth, It as getEnigmaPriceServiceHealthQueryKey, Lt as getEnigmaPriceServiceHealthQueryOptions, Rt as getEnigmaPriceServiceMetadata, zt as getEnigmaPriceServiceMetadataQueryKey, Bt as getEnigmaPriceServiceMetadataQueryOptions, Vt as getEnigmaPriceServicePricesByAddresses, Ht as getEnigmaPriceServicePricesByAddressesQueryKey, Ut as getEnigmaPriceServicePricesByAddressesQueryOptions, Wt as getEnigmaPriceServicePricesByNames, Gt as getEnigmaPriceServicePricesByNamesQueryKey, Kt as getEnigmaPriceServicePricesByNamesQueryOptions, qt as getEnigmaPriceServiceSymbolsInfo, Jt as getEnigmaPriceServiceSymbolsInfoQueryKey, Yt as getEnigmaPriceServiceSymbolsInfoQueryOptions, pn as getEstimatedPrice, hn as getEstimatedPriceQueryKey, gn as getEstimatedPriceQueryOptions, zr as getFakeSendQuoteMuonSignature, Ve as getFeeForUser, ot as getFeeForUserQueryKey, st as getFeeForUserQueryOptions, vn as getFundingInfo, bn as getFundingInfoQueryKey, xn as getFundingInfoQueryOptions, xi as getInstantCloses, Si as getInstantClosesQueryKey, Ci as getInstantClosesQueryOptions, Wr as getInstantLayerEip712Domain, kr as getInstantOpenQuoteId, Ar as getInstantOpenQuoteIdQueryKey, jr as getInstantOpenQuoteIdQueryOptions, Mr as getInstantOpens, Nr as getInstantOpensQueryKey, Pr as getInstantOpensQueryOptions, Oe as getIsDelegationActive, Ne as getIsDelegationActiveQueryKey, Pe as getIsDelegationActiveQueryOptions, He as getLastWithdrawRequestId, ct as getLastWithdrawRequestIdQueryKey, lt as getLastWithdrawRequestIdQueryOptions, En as getLockedParams, Dn as getLockedParamsQueryKey, On as getLockedParamsQueryOptions, Cn as getMarketInfo, wn as getMarketInfoQueryKey, Tn as getMarketInfoQueryOptions, ii as getMarketOrderDeadline, ln as getMarkets, un as getMarketsQueryKey, dn as getMarketsQueryOptions, nr as getMuonPartyAOverview, rr as getMuonPartyAOverviewQueryKey, ir as getMuonPartyAOverviewQueryOptions, ar as getMuonPrice, or as getMuonPriceQueryKey, sr as getMuonPriceQueryOptions, cr as getMuonPriceRange, lr as getMuonPriceRangeQueryKey, ur as getMuonPriceRangeQueryOptions, dr as getMuonSettleUpnl, fr as getMuonSettleUpnlQueryKey, pr as getMuonSettleUpnlQueryOptions, mr as getMuonUpnl, _r as getMuonUpnlA, vr as getMuonUpnlAQueryKey, yr as getMuonUpnlAQueryOptions, br as getMuonUpnlAWithSymbolPrice, xr as getMuonUpnlAWithSymbolPriceQueryKey, Sr as getMuonUpnlAWithSymbolPriceQueryOptions, Cr as getMuonUpnlB, wr as getMuonUpnlBQueryKey, Tr as getMuonUpnlBQueryOptions, hr as getMuonUpnlQueryKey, gr as getMuonUpnlQueryOptions, Er as getMuonUpnlWithSymbolPrice, Dr as getMuonUpnlWithSymbolPriceQueryKey, Or as getMuonUpnlWithSymbolPriceQueryOptions, jn as getNotionalCapAll, In as getNotionalCapAllQueryKey, Ln as getNotionalCapAllQueryOptions, Mn as getNotionalCapBySymbolId, Pn as getNotionalCapBySymbolIdQueryKey, Fn as getNotionalCapBySymbolIdQueryOptions, Ue as getOnchainContractMarkets, ut as getOnchainContractMarketsQueryKey, dt as getOnchainContractMarketsQueryOptions, Nn as getOpenInterestBySymbolId, Rn as getOpenInterestBySymbolIdQueryKey, zn as getOpenInterestBySymbolIdQueryOptions, We as getPartyAOpenPositions, ft as getPartyAOpenPositionsQueryKey, pt as getPartyAOpenPositionsQueryOptions, Ge as getPartyAPendingQuotes, mt as getPartyAPendingQuotesQueryKey, ht as getPartyAPendingQuotesQueryOptions, Ke as getPendingWithdrawRequests, gt as getPendingWithdrawRequestsQueryKey, _t as getPendingWithdrawRequestsQueryOptions, M as getPredictedNextVirtualAccount, oe as getPredictedNextVirtualAccountQueryKey, se as getPredictedNextVirtualAccountQueryOptions, Ki as getQuerySubgraphQueryKey, qe as getQuote, Xi as getQuoteEventsByType, Zi as getQuoteEventsByTypeQueryKey, Qi as getQuoteEventsByTypeQueryOptions, na as getQuoteFunding, ra as getQuoteFundingQueryKey, ia as getQuoteFundingQueryOptions, da as getQuoteHistory, fa as getQuoteHistoryQueryKey, pa as getQuoteHistoryQueryOptions, vt as getQuoteQueryKey, yt as getQuoteQueryOptions, qa as getQuoteTpSl, Ja as getQuoteTpSlQueryKey, Ya as getQuoteTpSlQueryOptions, Bn as getSolverErrorCodes, Vn as getSolverErrorCodesQueryKey, Hn as getSolverErrorCodesQueryOptions, T as getSubAccount, K as getSubAccountQueryKey, q as getSubAccountQueryOptions, ba as getSubAccountQuotes, xa as getSubAccountQuotesQueryKey, Sa as getSubAccountQuotesQueryOptions, E as getSubAccountVirtualNonce, J as getSubAccountVirtualNonceQueryKey, Y as getSubAccountVirtualNonceQueryOptions, D as getSubAccountsCountOfUser, X as getSubAccountsCountOfUserQueryKey, Z as getSubAccountsCountOfUserQueryOptions, Fa as getTpSlConfig, Ia as getTpSlConfigQueryKey, La as getTpSlConfigQueryOptions, Wa as getTpSlDeleteSigningSpec, no as getTpSlDeleteSigningSpecQueryKey, ro as getTpSlDeleteSigningSpecQueryOptions, Za as getTpSlSigningSpec, io as getTpSlSigningSpecQueryKey, ao as getTpSlSigningSpecQueryOptions, yo as getTransferHistory, bo as getTransferHistoryQueryKey, xo as getTransferHistoryQueryOptions, O as getUserSubAccounts, k as getUserSubAccountsAddresses, ee as getUserSubAccountsAddressesQueryKey, te as getUserSubAccountsAddressesQueryOptions, Q as getUserSubAccountsQueryKey, $ as getUserSubAccountsQueryOptions, A as getVirtualAccount, ne as getVirtualAccountQueryKey, re as getVirtualAccountQueryOptions, j as getVirtualAccountsAddressesOfSubAccount, ie as getVirtualAccountsAddressesOfSubAccountQueryKey, ae as getVirtualAccountsAddressesOfSubAccountQueryOptions, Je as getWithdrawRequests, bt as getWithdrawRequestsQueryKey, xt as getWithdrawRequestsQueryOptions, Ye as getWithdrawableTime, St as getWithdrawableTimeQueryKey, Ct as getWithdrawableTimeQueryOptions, Ae as grantDelegation, Fe as grantDelegationMutationOptions, Oa as groupQuotes, Xe as initiateWithdraw, wt as initiateWithdrawMutationOptions, Ei as instantClose, ji as instantCloseAuto, Mi as instantCloseAutoMutationOptions, Pi as instantCloseBulk, Ii as instantCloseBulkAuto, Li as instantCloseBulkAutoMutationOptions, Fi as instantCloseBulkMutationOptions, Di as instantCloseMutationOptions, t as instantLayerAbi, oi as instantOpen, pi as instantOpenAuto, mi as instantOpenAutoMutationOptions, si as instantOpenMutationOptions, Ca as isActivePosition, s as isChainSupported, wa as isPendingOrder, Qr as isolationTypeForSide, ma as lifecycleFromQuoteStatus, c as listSupportedChains, en as normalizeNotification, tn as parseNotificationFrame, rn as parsePriceFrame, so as parseTpSlFrame, Ta as partitionQuotes, Ai as prepareInstantCloseParams, fi as prepareInstantOpenParams, $a as priceSlippageCalculation, yn as projectFundingRate, Gi as querySubgraph, qi as querySubgraphQueryOptions, va as reconcileQuotes, P as removeMargin, ce as removeMarginMutationOptions, Ze as requestCancelWithdraw, Tt as requestCancelWithdrawMutationOptions, ui as resolveFeeRates, di as resolveLockedParams, ci as resolveMarkPrice, li as resolveMarket, ya as resolveQuoteAccounts, Da as resolveQuoteGroupingStrategy, on as searchNotifications, sn as searchNotificationsQueryKey, cn as searchNotificationsQueryOptions, Ti as sendInstantClose, Br as sendInstantOpen, eo as setQuoteTpSl, to as setQuoteTpSlMutationOptions, Aa as shouldAccelerateOnchainReads, ja as shouldAccelerateQuotePolling, u as shouldSimulateBeforeWrite, Yr as signAndFormatInstantOperation, Gr as signSignedOperation, Ua as signTpSlRequest, d as simulateAddMargin, le as simulateAddMarginMutationOptions, Qe as simulateAllocate, Et as simulateAllocateMutationOptions, _e as simulateApproveCollateral, Ee as simulateApproveCollateralMutationOptions, p as simulateCreateSubAccounts, ue as simulateCreateSubAccountsMutationOptions, $e as simulateDeallocate, Dt as simulateDeallocateMutationOptions, h as simulateDeleteSubAccount, de as simulateDeleteSubAccountMutationOptions, _ as simulateDepositAndAllocateForAccount, fe as simulateDepositAndAllocateForAccountMutationOptions, y as simulateDepositForAccount, pe as simulateDepositForAccountMutationOptions, x as simulateEditAccountName, me as simulateEditAccountNameMutationOptions, ze as simulateFinalizeWithdrawRequest, Ot as simulateFinalizeWithdrawRequestMutationOptions, ke as simulateGrantDelegation, Ie as simulateGrantDelegationMutationOptions, et as simulateInitiateWithdraw, kt as simulateInitiateWithdrawMutationOptions, N as simulateRemoveMargin, he as simulateRemoveMarginMutationOptions, tt as simulateRequestCancelWithdraw, At as simulateRequestCancelWithdrawMutationOptions, n as symmioAbi, mo as toBalanceHistoryRow, fn as toEstimatedPrice, _n as toMarketFundingInfo, Sn as toMarketInfo, An as toMarketNotionalCap, bi as toPendingInstantClose, Ji as toQuoteEventRow, ta as toQuoteFundingRow, ua as toQuoteHistoryRow, Ha as toSignableTpSlMessage, vo as toTransferRow, ha as toUnifiedQuoteFromInstantClose, ga as toUnifiedQuoteFromInstantOpen, _a as toUnifiedQuoteFromOnchain, ai as toWeiBigInt, Ri as validateInstantCloseAgainstMarket, hi as validateInstantOpenAgainstMarket, oo as validateTpSl, an as watchEnigmaPrices, nn as watchNotifications, co as watchTpSlNotifications };
|
|
13
|
+
import { simulateCancelRegistration as p } from "./symmio-contracts/account-layer/actions/simulate-cancel-registration.js";
|
|
14
|
+
import { cancelRegistration as m } from "./symmio-contracts/account-layer/actions/cancel-registration.js";
|
|
15
|
+
import { simulateCreateSubAccounts as h } from "./symmio-contracts/account-layer/actions/simulate-create-sub-accounts.js";
|
|
16
|
+
import { createSubAccounts as g } from "./symmio-contracts/account-layer/actions/create-sub-accounts.js";
|
|
17
|
+
import { simulateDeleteSubAccount as _ } from "./symmio-contracts/account-layer/actions/simulate-delete-sub-account.js";
|
|
18
|
+
import { deleteSubAccount as v } from "./symmio-contracts/account-layer/actions/delete-sub-account.js";
|
|
19
|
+
import { simulateDepositAndAllocateForAccount as y } from "./symmio-contracts/account-layer/actions/simulate-deposit-and-allocate-for-account.js";
|
|
20
|
+
import { depositAndAllocateForAccount as b } from "./symmio-contracts/account-layer/actions/deposit-and-allocate-for-account.js";
|
|
21
|
+
import { simulateDepositForAccount as x } from "./symmio-contracts/account-layer/actions/simulate-deposit-for-account.js";
|
|
22
|
+
import { depositForAccount as S } from "./symmio-contracts/account-layer/actions/deposit-for-account.js";
|
|
23
|
+
import { simulateEditAccountName as C } from "./symmio-contracts/account-layer/actions/simulate-edit-account-name.js";
|
|
24
|
+
import { editAccountName as w } from "./symmio-contracts/account-layer/actions/edit-account-name.js";
|
|
25
|
+
import { generateAccountManagerAddress as T } from "./symmio-contracts/account-layer/actions/generate-account-manager-address.js";
|
|
26
|
+
import { getAccountBalanceInfo as E } from "./symmio-contracts/account-layer/actions/get-account-balance-info.js";
|
|
27
|
+
import { getAccountBalanceOf as D } from "./symmio-contracts/account-layer/actions/get-account-balance-of.js";
|
|
28
|
+
import { getAffiliateState as O } from "./symmio-contracts/account-layer/actions/get-affiliate-state.js";
|
|
29
|
+
import { getSubAccount as k } from "./symmio-contracts/account-layer/actions/get-sub-account.js";
|
|
30
|
+
import { getSubAccountVirtualNonce as A } from "./symmio-contracts/account-layer/actions/get-sub-account-virtual-nonce.js";
|
|
31
|
+
import { getSubAccountsCountOfUser as j } from "./symmio-contracts/account-layer/actions/get-sub-accounts-count-of-user.js";
|
|
32
|
+
import { getUserSubAccounts as M } from "./symmio-contracts/account-layer/actions/get-user-sub-accounts.js";
|
|
33
|
+
import { getUserSubAccountsAddresses as N } from "./symmio-contracts/account-layer/actions/get-user-sub-accounts-addresses.js";
|
|
34
|
+
import { getVirtualAccount as P } from "./symmio-contracts/account-layer/actions/get-virtual-account.js";
|
|
35
|
+
import { getVirtualAccountsAddressesOfSubAccount as F } from "./symmio-contracts/account-layer/actions/get-virtual-accounts-addresses-of-sub-account.js";
|
|
36
|
+
import { getPredictedNextVirtualAccount as I } from "./symmio-contracts/account-layer/actions/predict-next-virtual-account.js";
|
|
37
|
+
import { simulateRemoveMargin as L } from "./symmio-contracts/account-layer/actions/simulate-remove-margin.js";
|
|
38
|
+
import { removeMargin as R } from "./symmio-contracts/account-layer/actions/remove-margin.js";
|
|
39
|
+
import { simulateRequestToRegisterAffiliate as z } from "./symmio-contracts/account-layer/actions/simulate-request-to-register-affiliate.js";
|
|
40
|
+
import { requestToRegisterAffiliate as B } from "./symmio-contracts/account-layer/actions/request-to-register-affiliate.js";
|
|
41
|
+
import { addMarginMutationOptions as V } from "./symmio-contracts/account-layer/query/add-margin.js";
|
|
42
|
+
import { cancelRegistrationMutationOptions as H } from "./symmio-contracts/account-layer/query/cancel-registration.js";
|
|
43
|
+
import { createSubAccountsMutationOptions as U } from "./symmio-contracts/account-layer/query/create-sub-accounts.js";
|
|
44
|
+
import { deleteSubAccountMutationOptions as W } from "./symmio-contracts/account-layer/query/delete-sub-account.js";
|
|
45
|
+
import { depositAndAllocateForAccountMutationOptions as G } from "./symmio-contracts/account-layer/query/deposit-and-allocate-for-account.js";
|
|
46
|
+
import { depositForAccountMutationOptions as K } from "./symmio-contracts/account-layer/query/deposit-for-account.js";
|
|
47
|
+
import { editAccountNameMutationOptions as q } from "./symmio-contracts/account-layer/query/edit-account-name.js";
|
|
48
|
+
import { filterQueryOptions as J } from "./shared/utils/query.js";
|
|
49
|
+
import { generateAccountManagerAddressQueryKey as Y, generateAccountManagerAddressQueryOptions as X } from "./symmio-contracts/account-layer/query/generate-account-manager-address.js";
|
|
50
|
+
import { getAccountBalanceInfoQueryKey as Z, getAccountBalanceInfoQueryOptions as Q } from "./symmio-contracts/account-layer/query/get-account-balance-info.js";
|
|
51
|
+
import { getAccountBalanceOfQueryKey as $, getAccountBalanceOfQueryOptions as ee } from "./symmio-contracts/account-layer/query/get-account-balance-of.js";
|
|
52
|
+
import { getAffiliateStateQueryKey as te, getAffiliateStateQueryOptions as ne } from "./symmio-contracts/account-layer/query/get-affiliate-state.js";
|
|
53
|
+
import { getSubAccountQueryKey as re, getSubAccountQueryOptions as ie } from "./symmio-contracts/account-layer/query/get-sub-account.js";
|
|
54
|
+
import { getSubAccountVirtualNonceQueryKey as ae, getSubAccountVirtualNonceQueryOptions as oe } from "./symmio-contracts/account-layer/query/get-sub-account-virtual-nonce.js";
|
|
55
|
+
import { getSubAccountsCountOfUserQueryKey as se, getSubAccountsCountOfUserQueryOptions as ce } from "./symmio-contracts/account-layer/query/get-sub-accounts-count-of-user.js";
|
|
56
|
+
import { getUserSubAccountsQueryKey as le, getUserSubAccountsQueryOptions as ue } from "./symmio-contracts/account-layer/query/get-user-sub-accounts.js";
|
|
57
|
+
import { getUserSubAccountsAddressesQueryKey as de, getUserSubAccountsAddressesQueryOptions as fe } from "./symmio-contracts/account-layer/query/get-user-sub-accounts-addresses.js";
|
|
58
|
+
import { getVirtualAccountQueryKey as pe, getVirtualAccountQueryOptions as me } from "./symmio-contracts/account-layer/query/get-virtual-account.js";
|
|
59
|
+
import { getVirtualAccountsAddressesOfSubAccountQueryKey as he, getVirtualAccountsAddressesOfSubAccountQueryOptions as ge } from "./symmio-contracts/account-layer/query/get-virtual-accounts-addresses-of-sub-account.js";
|
|
60
|
+
import { getPredictedNextVirtualAccountQueryKey as _e, getPredictedNextVirtualAccountQueryOptions as ve } from "./symmio-contracts/account-layer/query/predict-next-virtual-account.js";
|
|
61
|
+
import { removeMarginMutationOptions as ye } from "./symmio-contracts/account-layer/query/remove-margin.js";
|
|
62
|
+
import { requestToRegisterAffiliateMutationOptions as be } from "./symmio-contracts/account-layer/query/request-to-register-affiliate.js";
|
|
63
|
+
import { simulateAddMarginMutationOptions as xe } from "./symmio-contracts/account-layer/query/simulate-add-margin.js";
|
|
64
|
+
import { simulateCancelRegistrationMutationOptions as Se } from "./symmio-contracts/account-layer/query/simulate-cancel-registration.js";
|
|
65
|
+
import { simulateCreateSubAccountsMutationOptions as Ce } from "./symmio-contracts/account-layer/query/simulate-create-sub-accounts.js";
|
|
66
|
+
import { simulateDeleteSubAccountMutationOptions as we } from "./symmio-contracts/account-layer/query/simulate-delete-sub-account.js";
|
|
67
|
+
import { simulateDepositAndAllocateForAccountMutationOptions as Te } from "./symmio-contracts/account-layer/query/simulate-deposit-and-allocate-for-account.js";
|
|
68
|
+
import { simulateDepositForAccountMutationOptions as Ee } from "./symmio-contracts/account-layer/query/simulate-deposit-for-account.js";
|
|
69
|
+
import { simulateEditAccountNameMutationOptions as De } from "./symmio-contracts/account-layer/query/simulate-edit-account-name.js";
|
|
70
|
+
import { simulateRemoveMarginMutationOptions as Oe } from "./symmio-contracts/account-layer/query/simulate-remove-margin.js";
|
|
71
|
+
import { simulateRequestToRegisterAffiliateMutationOptions as ke } from "./symmio-contracts/account-layer/query/simulate-request-to-register-affiliate.js";
|
|
72
|
+
import { AffiliateState as Ae, SubAccountIsolationType as je } from "./symmio-contracts/account-layer/types.js";
|
|
73
|
+
import { simulateApproveCollateral as Me } from "./symmio-contracts/collateral/actions/simulate-approve-collateral.js";
|
|
74
|
+
import { approveCollateral as Ne } from "./symmio-contracts/collateral/actions/approve-collateral.js";
|
|
75
|
+
import { getCollateralAllowance as Pe } from "./symmio-contracts/collateral/actions/get-collateral-allowance.js";
|
|
76
|
+
import { getCollateralBalance as Fe } from "./symmio-contracts/collateral/actions/get-collateral-balance.js";
|
|
77
|
+
import { approveCollateralMutationOptions as Ie } from "./symmio-contracts/collateral/query/approve-collateral.js";
|
|
78
|
+
import { getCollateralAllowanceQueryKey as Le, getCollateralAllowanceQueryOptions as Re } from "./symmio-contracts/collateral/query/get-collateral-allowance.js";
|
|
79
|
+
import { getCollateralBalanceQueryKey as ze, getCollateralBalanceQueryOptions as Be } from "./symmio-contracts/collateral/query/get-collateral-balance.js";
|
|
80
|
+
import { simulateApproveCollateralMutationOptions as Ve } from "./symmio-contracts/collateral/query/simulate-approve-collateral.js";
|
|
81
|
+
import { getDelegationExpiry as He } from "./symmio-contracts/instant-layer/actions/get-delegation-expiry.js";
|
|
82
|
+
import { getIsDelegationActive as Ue } from "./symmio-contracts/instant-layer/actions/get-is-delegation-active.js";
|
|
83
|
+
import { simulateGrantDelegation as We } from "./symmio-contracts/instant-layer/actions/simulate-grant-delegation.js";
|
|
84
|
+
import { grantDelegation as Ge } from "./symmio-contracts/instant-layer/actions/grant-delegation.js";
|
|
85
|
+
import { getDelegationExpiryQueryKey as Ke, getDelegationExpiryQueryOptions as qe } from "./symmio-contracts/instant-layer/query/get-delegation-expiry.js";
|
|
86
|
+
import { getIsDelegationActiveQueryKey as Je, getIsDelegationActiveQueryOptions as Ye } from "./symmio-contracts/instant-layer/query/get-is-delegation-active.js";
|
|
87
|
+
import { grantDelegationMutationOptions as Xe } from "./symmio-contracts/instant-layer/query/grant-delegation.js";
|
|
88
|
+
import { simulateGrantDelegationMutationOptions as Ze } from "./symmio-contracts/instant-layer/query/simulate-grant-delegation.js";
|
|
89
|
+
import { allocate as Qe } from "./symmio-contracts/symmio/actions/allocate.js";
|
|
90
|
+
import { deallocate as $e } from "./symmio-contracts/symmio/actions/deallocate.js";
|
|
91
|
+
import { simulateFinalizeWithdrawRequest as et } from "./symmio-contracts/symmio/actions/simulate-finalize-withdraw-request.js";
|
|
92
|
+
import { finalizeWithdrawRequest as tt } from "./symmio-contracts/symmio/actions/finalize-withdraw-request.js";
|
|
93
|
+
import { getFeeForUser as nt } from "./symmio-contracts/symmio/actions/get-fee-for-user.js";
|
|
94
|
+
import { getLastWithdrawRequestId as rt } from "./symmio-contracts/symmio/actions/get-last-withdraw-request-id.js";
|
|
95
|
+
import { getOnchainContractMarkets as it } from "./symmio-contracts/symmio/actions/get-onchain-contract-markets.js";
|
|
96
|
+
import { getPartyAOpenPositions as at } from "./symmio-contracts/symmio/actions/get-party-a-open-positions.js";
|
|
97
|
+
import { getPartyAPendingQuotes as ot } from "./symmio-contracts/symmio/actions/get-party-a-pending-quotes.js";
|
|
98
|
+
import { getPendingWithdrawRequests as st } from "./symmio-contracts/symmio/actions/get-pending-withdraw-requests.js";
|
|
99
|
+
import { getQuote as ct } from "./symmio-contracts/symmio/actions/get-quote.js";
|
|
100
|
+
import { getWithdrawRequests as lt } from "./symmio-contracts/symmio/actions/get-withdraw-requests.js";
|
|
101
|
+
import { getWithdrawableTime as ut } from "./symmio-contracts/symmio/actions/get-withdrawable-time.js";
|
|
102
|
+
import { initiateWithdraw as dt } from "./symmio-contracts/symmio/actions/initiate-withdraw.js";
|
|
103
|
+
import { requestCancelWithdraw as ft } from "./symmio-contracts/symmio/actions/request-cancel-withdraw.js";
|
|
104
|
+
import { simulateAllocate as pt } from "./symmio-contracts/symmio/actions/simulate-allocate.js";
|
|
105
|
+
import { simulateDeallocate as mt } from "./symmio-contracts/symmio/actions/simulate-deallocate.js";
|
|
106
|
+
import { simulateInitiateWithdraw as ht } from "./symmio-contracts/symmio/actions/simulate-initiate-withdraw.js";
|
|
107
|
+
import { simulateRequestCancelWithdraw as gt } from "./symmio-contracts/symmio/actions/simulate-request-cancel-withdraw.js";
|
|
108
|
+
import { createClassicWithdrawPart as _t } from "./symmio-contracts/symmio/parts.js";
|
|
109
|
+
import { allocateMutationOptions as vt } from "./symmio-contracts/symmio/query/allocate.js";
|
|
110
|
+
import { deallocateMutationOptions as yt } from "./symmio-contracts/symmio/query/deallocate.js";
|
|
111
|
+
import { finalizeWithdrawRequestMutationOptions as bt } from "./symmio-contracts/symmio/query/finalize-withdraw-request.js";
|
|
112
|
+
import { getFeeForUserQueryKey as xt, getFeeForUserQueryOptions as St } from "./symmio-contracts/symmio/query/get-fee-for-user.js";
|
|
113
|
+
import { getLastWithdrawRequestIdQueryKey as Ct, getLastWithdrawRequestIdQueryOptions as wt } from "./symmio-contracts/symmio/query/get-last-withdraw-request-id.js";
|
|
114
|
+
import { getOnchainContractMarketsQueryKey as Tt, getOnchainContractMarketsQueryOptions as Et } from "./symmio-contracts/symmio/query/get-onchain-contract-markets.js";
|
|
115
|
+
import { getPartyAOpenPositionsQueryKey as Dt, getPartyAOpenPositionsQueryOptions as Ot } from "./symmio-contracts/symmio/query/get-party-a-open-positions.js";
|
|
116
|
+
import { getPartyAPendingQuotesQueryKey as kt, getPartyAPendingQuotesQueryOptions as At } from "./symmio-contracts/symmio/query/get-party-a-pending-quotes.js";
|
|
117
|
+
import { getPendingWithdrawRequestsQueryKey as jt, getPendingWithdrawRequestsQueryOptions as Mt } from "./symmio-contracts/symmio/query/get-pending-withdraw-requests.js";
|
|
118
|
+
import { getQuoteQueryKey as Nt, getQuoteQueryOptions as Pt } from "./symmio-contracts/symmio/query/get-quote.js";
|
|
119
|
+
import { getWithdrawRequestsQueryKey as Ft, getWithdrawRequestsQueryOptions as It } from "./symmio-contracts/symmio/query/get-withdraw-requests.js";
|
|
120
|
+
import { getWithdrawableTimeQueryKey as Lt, getWithdrawableTimeQueryOptions as Rt } from "./symmio-contracts/symmio/query/get-withdrawable-time.js";
|
|
121
|
+
import { initiateWithdrawMutationOptions as zt } from "./symmio-contracts/symmio/query/initiate-withdraw.js";
|
|
122
|
+
import { requestCancelWithdrawMutationOptions as Bt } from "./symmio-contracts/symmio/query/request-cancel-withdraw.js";
|
|
123
|
+
import { simulateAllocateMutationOptions as Vt } from "./symmio-contracts/symmio/query/simulate-allocate.js";
|
|
124
|
+
import { simulateDeallocateMutationOptions as Ht } from "./symmio-contracts/symmio/query/simulate-deallocate.js";
|
|
125
|
+
import { simulateFinalizeWithdrawRequestMutationOptions as Ut } from "./symmio-contracts/symmio/query/simulate-finalize-withdraw-request.js";
|
|
126
|
+
import { simulateInitiateWithdrawMutationOptions as Wt } from "./symmio-contracts/symmio/query/simulate-initiate-withdraw.js";
|
|
127
|
+
import { simulateRequestCancelWithdrawMutationOptions as Gt } from "./symmio-contracts/symmio/query/simulate-request-cancel-withdraw.js";
|
|
128
|
+
import { OrderType as Kt, PositionType as qt, QuoteStatus as Jt, WithdrawStatus as Yt } from "./symmio-contracts/symmio/types.js";
|
|
129
|
+
import { getEnigmaPriceServiceHealth as Xt } from "./price-service/enigma/health/get-enigma-price-service-health.js";
|
|
130
|
+
import { getEnigmaPriceServiceHealthQueryKey as Zt, getEnigmaPriceServiceHealthQueryOptions as Qt } from "./price-service/enigma/health/query.js";
|
|
131
|
+
import { getEnigmaPriceServiceMetadata as $t } from "./price-service/enigma/metadata/get-enigma-price-service-metadata.js";
|
|
132
|
+
import { getEnigmaPriceServiceMetadataQueryKey as en, getEnigmaPriceServiceMetadataQueryOptions as tn } from "./price-service/enigma/metadata/query.js";
|
|
133
|
+
import { getEnigmaPriceServicePricesByAddresses as nn } from "./price-service/enigma/prices-by-addresses/get-enigma-price-service-prices-by-addresses.js";
|
|
134
|
+
import { getEnigmaPriceServicePricesByAddressesQueryKey as rn, getEnigmaPriceServicePricesByAddressesQueryOptions as an } from "./price-service/enigma/prices-by-addresses/query.js";
|
|
135
|
+
import { getEnigmaPriceServicePricesByNames as on } from "./price-service/enigma/prices-by-names/get-enigma-price-service-prices-by-names.js";
|
|
136
|
+
import { getEnigmaPriceServicePricesByNamesQueryKey as sn, getEnigmaPriceServicePricesByNamesQueryOptions as cn } from "./price-service/enigma/prices-by-names/query.js";
|
|
137
|
+
import { getEnigmaPriceServiceSymbolsInfo as ln } from "./price-service/enigma/symbols-info/get-enigma-price-service-symbols-info.js";
|
|
138
|
+
import { getEnigmaPriceServiceSymbolsInfoQueryKey as un, getEnigmaPriceServiceSymbolsInfoQueryOptions as dn } from "./price-service/enigma/symbols-info/query.js";
|
|
139
|
+
import { buildSubscribeMessage as fn } from "./websocket/notifications/build-subscribe-message.js";
|
|
140
|
+
import { ActionStatus as pn, NotificationType as mn } from "./websocket/notifications/types.js";
|
|
141
|
+
import { classifyNotification as hn, normalizeNotification as gn } from "./websocket/notifications/normalize-notification.js";
|
|
142
|
+
import { parseNotificationFrame as _n } from "./websocket/notifications/parse-notification-frame.js";
|
|
143
|
+
import { watchNotifications as vn } from "./websocket/notifications/watch-notifications.js";
|
|
144
|
+
import { parsePriceFrame as yn } from "./websocket/prices/parse-price-frame.js";
|
|
145
|
+
import { watchEnigmaPrices as bn } from "./websocket/prices/watch-enigma-prices.js";
|
|
146
|
+
import { searchNotifications as xn } from "./notifications/search/search-notifications.js";
|
|
147
|
+
import { searchNotificationsQueryKey as Sn, searchNotificationsQueryOptions as Cn } from "./notifications/search/query.js";
|
|
148
|
+
import { getMarkets as wn } from "./solvers/markets/get-markets.js";
|
|
149
|
+
import { getMarketsQueryKey as Tn, getMarketsQueryOptions as En } from "./solvers/markets/query.js";
|
|
150
|
+
import { toEstimatedPrice as Dn } from "./solvers/estimated-price/to-estimated-price.js";
|
|
151
|
+
import { getEstimatedPrice as On } from "./solvers/estimated-price/get-estimated-price.js";
|
|
152
|
+
import { calculatePriceImpact as kn } from "./solvers/estimated-price/price-impact.js";
|
|
153
|
+
import { getEstimatedPriceQueryKey as An, getEstimatedPriceQueryOptions as jn } from "./solvers/estimated-price/query.js";
|
|
154
|
+
import { toMarketFundingInfo as Mn } from "./solvers/funding-info/to-funding-info.js";
|
|
155
|
+
import { getFundingInfo as Nn } from "./solvers/funding-info/get-funding-info.js";
|
|
156
|
+
import { projectFundingRate as Pn } from "./solvers/funding-info/project-funding-rate.js";
|
|
157
|
+
import { getFundingInfoQueryKey as Fn, getFundingInfoQueryOptions as In } from "./solvers/funding-info/query.js";
|
|
158
|
+
import { toMarketInfo as Ln } from "./solvers/market-info/to-market-info.js";
|
|
159
|
+
import { getMarketInfo as Rn } from "./solvers/market-info/get-market-info.js";
|
|
160
|
+
import { getMarketInfoQueryKey as zn, getMarketInfoQueryOptions as Bn } from "./solvers/market-info/query.js";
|
|
161
|
+
import { getLockedParams as Vn } from "./solvers/locked-params/get-locked-params.js";
|
|
162
|
+
import { getLockedParamsQueryKey as Hn, getLockedParamsQueryOptions as Un } from "./solvers/locked-params/query.js";
|
|
163
|
+
import { checkNotionalCap as Wn } from "./solvers/notional-cap/check-notional-cap.js";
|
|
164
|
+
import { toMarketNotionalCap as Gn } from "./solvers/notional-cap/to-market-notional-cap.js";
|
|
165
|
+
import { getNotionalCapAll as Kn } from "./solvers/notional-cap/get-notional-cap-all.js";
|
|
166
|
+
import { getNotionalCapBySymbolId as qn } from "./solvers/notional-cap/get-notional-cap-by-symbol-id.js";
|
|
167
|
+
import { getOpenInterestBySymbolId as Jn } from "./solvers/notional-cap/get-open-interest-by-symbol-id.js";
|
|
168
|
+
import { getNotionalCapBySymbolIdQueryKey as Yn, getNotionalCapBySymbolIdQueryOptions as Xn } from "./solvers/notional-cap/query.js";
|
|
169
|
+
import { getNotionalCapAllQueryKey as Zn, getNotionalCapAllQueryOptions as Qn } from "./solvers/notional-cap/query-all.js";
|
|
170
|
+
import { getOpenInterestBySymbolIdQueryKey as $n, getOpenInterestBySymbolIdQueryOptions as er } from "./solvers/notional-cap/query-open-interest.js";
|
|
171
|
+
import { getSolverErrorCodes as tr } from "./solvers/error-codes/get-solver-error-codes.js";
|
|
172
|
+
import { getSolverErrorCodesQueryKey as nr, getSolverErrorCodesQueryOptions as rr } from "./solvers/error-codes/query.js";
|
|
173
|
+
import { MUON_APP as ir, MUON_METHOD_PARTY_A_OVERVIEW as ar, MUON_METHOD_PRICE as or, MUON_METHOD_PRICE_RANGE as sr, MUON_METHOD_SETTLE_UPNL as cr, MUON_METHOD_UPNL_A as lr, MUON_METHOD_UPNL_A_WITH_SYMBOL_PRICE as ur, MUON_METHOD_UPNL_B as dr, MUON_METHOD_UPNL_PAIR as fr, MUON_METHOD_UPNL_WITH_SYMBOL_PRICE as pr } from "./muon/types.js";
|
|
174
|
+
import { getDeallocateUpnlSig as mr } from "./muon/deallocate-upnl-sig/get-deallocate-upnl-sig.js";
|
|
175
|
+
import { getDeallocateUpnlSigQueryKey as hr, getDeallocateUpnlSigQueryOptions as gr } from "./muon/deallocate-upnl-sig/query.js";
|
|
176
|
+
import { getMuonPartyAOverview as _r } from "./muon/party-a-overview/get-muon-party-a-overview.js";
|
|
177
|
+
import { getMuonPartyAOverviewQueryKey as vr, getMuonPartyAOverviewQueryOptions as yr } from "./muon/party-a-overview/query.js";
|
|
178
|
+
import { getMuonPrice as br } from "./muon/price/get-muon-price.js";
|
|
179
|
+
import { getMuonPriceQueryKey as xr, getMuonPriceQueryOptions as Sr } from "./muon/price/query.js";
|
|
180
|
+
import { getMuonPriceRange as Cr } from "./muon/price-range/get-muon-price-range.js";
|
|
181
|
+
import { getMuonPriceRangeQueryKey as wr, getMuonPriceRangeQueryOptions as Tr } from "./muon/price-range/query.js";
|
|
182
|
+
import { getMuonSettleUpnl as Er } from "./muon/settle-upnl/get-muon-settle-upnl.js";
|
|
183
|
+
import { getMuonSettleUpnlQueryKey as Dr, getMuonSettleUpnlQueryOptions as Or } from "./muon/settle-upnl/query.js";
|
|
184
|
+
import { getMuonUpnl as kr } from "./muon/upnl/get-muon-upnl.js";
|
|
185
|
+
import { getMuonUpnlQueryKey as Ar, getMuonUpnlQueryOptions as jr } from "./muon/upnl/query.js";
|
|
186
|
+
import { getMuonUpnlA as Mr } from "./muon/upnl-a/get-muon-upnl-a.js";
|
|
187
|
+
import { getMuonUpnlAQueryKey as Nr, getMuonUpnlAQueryOptions as Pr } from "./muon/upnl-a/query.js";
|
|
188
|
+
import { getMuonUpnlAWithSymbolPrice as Fr } from "./muon/upnl-a-with-symbol-price/get-muon-upnl-a-with-symbol-price.js";
|
|
189
|
+
import { getMuonUpnlAWithSymbolPriceQueryKey as Ir, getMuonUpnlAWithSymbolPriceQueryOptions as Lr } from "./muon/upnl-a-with-symbol-price/query.js";
|
|
190
|
+
import { getMuonUpnlB as Rr } from "./muon/upnl-b/get-muon-upnl-b.js";
|
|
191
|
+
import { getMuonUpnlBQueryKey as zr, getMuonUpnlBQueryOptions as Br } from "./muon/upnl-b/query.js";
|
|
192
|
+
import { getMuonUpnlWithSymbolPrice as Vr } from "./muon/upnl-with-symbol-price/get-muon-upnl-with-symbol-price.js";
|
|
193
|
+
import { getMuonUpnlWithSymbolPriceQueryKey as Hr, getMuonUpnlWithSymbolPriceQueryOptions as Ur } from "./muon/upnl-with-symbol-price/query.js";
|
|
194
|
+
import { getInstantOpenQuoteId as Wr } from "./solvers/instant-open/get-instant-open-quote-id/get-instant-open-quote-id.js";
|
|
195
|
+
import { getInstantOpenQuoteIdQueryKey as Gr, getInstantOpenQuoteIdQueryOptions as Kr } from "./solvers/instant-open/get-instant-open-quote-id/query.js";
|
|
196
|
+
import { getInstantOpens as qr } from "./solvers/instant-open/get-instant-opens/get-instant-opens.js";
|
|
197
|
+
import { getInstantOpensQueryKey as Jr, getInstantOpensQueryOptions as Yr } from "./solvers/instant-open/get-instant-opens/query.js";
|
|
198
|
+
import { ZERO_UPNL_SIG as Xr, buildQuoteMetadata as Zr, encodeAddMarginToNextVA as Qr, encodeSendQuoteWithAffiliateAndData as $r, getFakeSendQuoteMuonSignature as ei } from "./solvers/instant-open/shared/calldata.js";
|
|
199
|
+
import { sendInstantOpen as ti } from "./solvers/instant-open/shared/hedger-api.js";
|
|
200
|
+
import { INSTANT_LAYER_EIP712_DOMAIN_NAME as ni, INSTANT_LAYER_EIP712_DOMAIN_VERSION as ri, SIGNED_OPERATION_TYPES as ii, getInstantLayerEip712Domain as ai, signSignedOperation as oi } from "./solvers/instant-open/shared/eip712.js";
|
|
201
|
+
import { buildSignedOperation as si, formatSignedOperationPayload as ci, generateSalt as li, signAndFormatInstantOperation as ui } from "./solvers/instant-open/shared/operations.js";
|
|
202
|
+
import { ORDER_TYPE_MARKET as di, VIRTUAL_ACCOUNT_ISOLATION_TYPE as fi, isolationTypeForSide as pi } from "./solvers/instant-open/shared/types.js";
|
|
203
|
+
import { MARKET_ORDER_DEADLINE_SECONDS as mi, calculateAvailableInstantOpenMargin as hi, calculateMargin as gi, calculateTradeParams as _i, computePlatformFee as vi, getMarketOrderDeadline as yi, toWeiBigInt as bi } from "./solvers/instant-open/shared/trade-math.js";
|
|
204
|
+
import { instantOpen as xi } from "./solvers/instant-open/instant-open/instant-open.js";
|
|
205
|
+
import { instantOpenMutationOptions as Si } from "./solvers/instant-open/instant-open/query.js";
|
|
206
|
+
import { resolveMarkPrice as Ci } from "./solvers/shared/resolvers/resolve-mark-price.js";
|
|
207
|
+
import { resolveMarket as wi } from "./solvers/shared/resolvers/resolve-market.js";
|
|
208
|
+
import { resolveFeeRates as Ti } from "./solvers/instant-open/prepare-instant-open-params/resolvers/resolve-fee-rates.js";
|
|
209
|
+
import { resolveLockedParams as Ei } from "./solvers/instant-open/prepare-instant-open-params/resolvers/resolve-locked-params.js";
|
|
210
|
+
import { prepareInstantOpenParams as Di } from "./solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.js";
|
|
211
|
+
import { instantOpenAuto as Oi } from "./solvers/instant-open/instant-open-auto/instant-open-auto.js";
|
|
212
|
+
import { instantOpenAutoMutationOptions as ki } from "./solvers/instant-open/instant-open-auto/query.js";
|
|
213
|
+
import { validateInstantOpenAgainstMarket as Ai } from "./solvers/instant-open/shared/quote-constraints.js";
|
|
214
|
+
import { ADD_MARGIN_TO_NEXT_VA_SELECTOR as ji, INSTANT_TRADE_REQUIRED_SELECTORS as Mi, REQUEST_TO_CLOSE_POSITION_SELECTOR as Ni, SEND_QUOTE_WITH_AFFILIATE_AND_DATA_SELECTOR as Pi } from "./solvers/instant-open/shared/selectors.js";
|
|
215
|
+
import { toPendingInstantClose as Fi } from "./solvers/instant-close/get-instant-closes/to-pending-instant-close.js";
|
|
216
|
+
import { getInstantCloses as Ii } from "./solvers/instant-close/get-instant-closes/get-instant-closes.js";
|
|
217
|
+
import { getInstantClosesQueryKey as Li, getInstantClosesQueryOptions as Ri } from "./solvers/instant-close/get-instant-closes/query.js";
|
|
218
|
+
import { encodeRequestToClosePosition as zi } from "./solvers/instant-close/shared/calldata.js";
|
|
219
|
+
import { sendInstantClose as Bi } from "./solvers/instant-close/shared/hedger-api.js";
|
|
220
|
+
import { instantClose as Vi } from "./solvers/instant-close/instant-close/instant-close.js";
|
|
221
|
+
import { instantCloseMutationOptions as Hi } from "./solvers/instant-close/instant-close/query.js";
|
|
222
|
+
import { calculateClosePrice as Ui, clampClosePrecision as Wi } from "./solvers/instant-close/shared/close-math.js";
|
|
223
|
+
import { prepareInstantCloseParams as Gi } from "./solvers/instant-close/prepare-instant-close-params/prepare-instant-close-params.js";
|
|
224
|
+
import { instantCloseAuto as Ki } from "./solvers/instant-close/instant-close-auto/instant-close-auto.js";
|
|
225
|
+
import { instantCloseAutoMutationOptions as qi } from "./solvers/instant-close/instant-close-auto/query.js";
|
|
226
|
+
import { MAX_INSTANT_CLOSE_BULK_ORDERS as Ji, instantCloseBulk as Yi } from "./solvers/instant-close/instant-close-bulk/instant-close-bulk.js";
|
|
227
|
+
import { instantCloseBulkMutationOptions as Xi } from "./solvers/instant-close/instant-close-bulk/query.js";
|
|
228
|
+
import { instantCloseBulkAuto as Zi } from "./solvers/instant-close/instant-close-bulk-auto/instant-close-bulk-auto.js";
|
|
229
|
+
import { instantCloseBulkAutoMutationOptions as Qi } from "./solvers/instant-close/instant-close-bulk-auto/query.js";
|
|
230
|
+
import { validateInstantCloseAgainstMarket as $i } from "./solvers/instant-close/shared/quote-constraints.js";
|
|
231
|
+
import { QuoteLifecycle as ea } from "./quotes/unified-quote.js";
|
|
232
|
+
import { applyNotificationToQuotes as ta, classifyQuoteNotificationAction as na } from "./quotes/apply-notification.js";
|
|
233
|
+
import { calculateClosePlatformFee as ra } from "./quotes/fees/calculate-close-platform-fee.js";
|
|
234
|
+
import { calculateOpenPlatformFee as ia } from "./quotes/fees/calculate-open-platform-fee.js";
|
|
235
|
+
import { fingerprintQuote as aa } from "./quotes/fingerprint.js";
|
|
236
|
+
import { querySubgraph as oa } from "./symmio-subgraph/query-subgraph/query-subgraph.js";
|
|
237
|
+
import { getQuerySubgraphQueryKey as sa, querySubgraphQueryOptions as ca } from "./symmio-subgraph/query-subgraph/query.js";
|
|
238
|
+
import { toQuoteEventRow as la } from "./quotes/get-quote-events-by-type/to-quote-event-row.js";
|
|
239
|
+
import { DEFAULT_QUOTE_EVENTS_BY_TYPE_PAGE_SIZE as ua, getQuoteEventsByType as da } from "./quotes/get-quote-events-by-type/get-quote-events-by-type.js";
|
|
240
|
+
import { getQuoteEventsByTypeQueryKey as fa, getQuoteEventsByTypeQueryOptions as pa } from "./quotes/get-quote-events-by-type/query.js";
|
|
241
|
+
import { PRICE_HISTORY_EVENT_TYPES as ma, QuoteEventType as ha } from "./quotes/get-quote-events-by-type/types.js";
|
|
242
|
+
import { toQuoteFundingRow as ga } from "./quotes/get-quote-funding/to-funding-row.js";
|
|
243
|
+
import { getQuoteFunding as _a } from "./quotes/get-quote-funding/get-quote-funding.js";
|
|
244
|
+
import { getQuoteFundingQueryKey as va, getQuoteFundingQueryOptions as ya } from "./quotes/get-quote-funding/query.js";
|
|
245
|
+
import { QuoteCloseEventType as ba, QuoteCloseType as xa } from "./quotes/get-quote-history/types.js";
|
|
246
|
+
import { closeTypeToEventTypes as Sa, eventTypeToCloseType as Ca, eventTypeToQuoteStatus as wa } from "./quotes/get-quote-history/close-type.js";
|
|
247
|
+
import { toQuoteHistoryRow as Ta } from "./quotes/get-quote-history/to-history-row.js";
|
|
248
|
+
import { getQuoteHistory as Ea } from "./quotes/get-quote-history/get-quote-history.js";
|
|
249
|
+
import { getQuoteHistoryQueryKey as Da, getQuoteHistoryQueryOptions as Oa } from "./quotes/get-quote-history/query.js";
|
|
250
|
+
import { lifecycleFromQuoteStatus as ka, toUnifiedQuoteFromInstantClose as Aa, toUnifiedQuoteFromInstantOpen as ja, toUnifiedQuoteFromOnchain as Ma } from "./quotes/to-unified-quote.js";
|
|
251
|
+
import { reconcileQuotes as Na } from "./quotes/reconcile-quotes.js";
|
|
252
|
+
import { resolveQuoteAccounts as Pa } from "./quotes/resolve-quote-accounts.js";
|
|
253
|
+
import { getSubAccountQuotes as Fa } from "./quotes/get-sub-account-quotes/get-sub-account-quotes.js";
|
|
254
|
+
import { getSubAccountQuotesQueryKey as Ia, getSubAccountQuotesQueryOptions as La } from "./quotes/get-sub-account-quotes/query.js";
|
|
255
|
+
import { isActivePosition as Ra, isPendingOrder as za, partitionQuotes as Ba } from "./quotes/grouping/partition-quotes.js";
|
|
256
|
+
import { aggregateGroupMetrics as Va } from "./quotes/grouping/aggregate-metrics.js";
|
|
257
|
+
import { resolveQuoteGroupingStrategy as Ha } from "./quotes/grouping/group-strategy.js";
|
|
258
|
+
import { groupQuotes as Ua } from "./quotes/grouping/group-quotes.js";
|
|
259
|
+
import { calculateLiquidationPrice as Wa } from "./quotes/liquidation/calculate-liquidation-price.js";
|
|
260
|
+
import { shouldAccelerateOnchainReads as Ga, shouldAccelerateQuotePolling as Ka } from "./quotes/should-accelerate.js";
|
|
261
|
+
import { calculateQuoteLeverage as qa } from "./quotes/upnl/calculate-quote-leverage.js";
|
|
262
|
+
import { calculateQuotePnl as Ja } from "./quotes/upnl/calculate-quote-pnl.js";
|
|
263
|
+
import { calculateQuoteUpnl as Ya } from "./quotes/upnl/calculate-quote-upnl.js";
|
|
264
|
+
import { getTpSlConfig as Xa } from "./tpsl/config/get-tpsl-config.js";
|
|
265
|
+
import { getTpSlConfigQueryKey as Za, getTpSlConfigQueryOptions as Qa } from "./tpsl/config/query.js";
|
|
266
|
+
import { ZERO_LEG as $a, buildConditionalOrderMessage as eo, buildTpSlDeleteMessage as to, generateTpSlSalt as no, toSignableTpSlMessage as ro } from "./tpsl/set-quote-tpsl/build-conditional-order-message.js";
|
|
267
|
+
import { signTpSlRequest as io } from "./tpsl/set-quote-tpsl/sign-tpsl-request.js";
|
|
268
|
+
import { getTpSlDeleteSigningSpec as ao } from "./tpsl/signing-spec/get-tpsl-delete-signing-spec.js";
|
|
269
|
+
import { deleteQuoteTpSl as oo } from "./tpsl/delete-quote-tpsl/delete-quote-tpsl.js";
|
|
270
|
+
import { deleteQuoteTpSlMutationOptions as so } from "./tpsl/delete-quote-tpsl/query.js";
|
|
271
|
+
import { getQuoteTpSl as co } from "./tpsl/get-quote-tpsl/get-quote-tpsl.js";
|
|
272
|
+
import { getQuoteTpSlQueryKey as lo, getQuoteTpSlQueryOptions as uo } from "./tpsl/get-quote-tpsl/query.js";
|
|
273
|
+
import { buildConditionalOrderLeg as fo } from "./tpsl/set-quote-tpsl/build-conditional-order-leg.js";
|
|
274
|
+
import { getTpSlSigningSpec as po } from "./tpsl/signing-spec/get-tpsl-signing-spec.js";
|
|
275
|
+
import { DEFAULT_TPSL_SLIPPAGE_LOWCAPS as mo, priceSlippageCalculation as ho } from "./tpsl/slippage.js";
|
|
276
|
+
import { setQuoteTpSl as go } from "./tpsl/set-quote-tpsl/set-quote-tpsl.js";
|
|
277
|
+
import { setQuoteTpSlMutationOptions as _o } from "./tpsl/set-quote-tpsl/query.js";
|
|
278
|
+
import { getTpSlDeleteSigningSpecQueryKey as vo, getTpSlDeleteSigningSpecQueryOptions as yo } from "./tpsl/signing-spec/delete-query.js";
|
|
279
|
+
import { getTpSlSigningSpecQueryKey as bo, getTpSlSigningSpecQueryOptions as xo } from "./tpsl/signing-spec/query.js";
|
|
280
|
+
import { validateTpSl as So } from "./tpsl/validate-tpsl.js";
|
|
281
|
+
import { parseTpSlFrame as Co } from "./websocket/tpsl/parse-tpsl-frame.js";
|
|
282
|
+
import { watchTpSlNotifications as wo } from "./websocket/tpsl/watch-tpsl-notifications.js";
|
|
283
|
+
import { BalanceChangeType as To, BalanceHistoryFilter as Eo, MarginTransferType as Do } from "./balance-history/get-balance-history/types.js";
|
|
284
|
+
import { balanceHistoryFilterToTypes as Oo } from "./balance-history/get-balance-history/balance-history-filter.js";
|
|
285
|
+
import { toBalanceHistoryRow as ko } from "./balance-history/get-balance-history/to-balance-history-row.js";
|
|
286
|
+
import { getBalanceHistory as Ao } from "./balance-history/get-balance-history/get-balance-history.js";
|
|
287
|
+
import { getBalanceHistoryQueryKey as jo, getBalanceHistoryQueryOptions as Mo } from "./balance-history/get-balance-history/query.js";
|
|
288
|
+
import { toTransferRow as No } from "./transfers/get-transfer-history/to-transfer-row.js";
|
|
289
|
+
import { getTransferHistory as Po } from "./transfers/get-transfer-history/get-transfer-history.js";
|
|
290
|
+
import { getTransferHistoryQueryKey as Fo, getTransferHistoryQueryOptions as Io } from "./transfers/get-transfer-history/query.js";
|
|
291
|
+
export { ji as ADD_MARGIN_TO_NEXT_VA_SELECTOR, pn as ActionStatus, Ae as AffiliateState, To as BalanceChangeType, Eo as BalanceHistoryFilter, ua as DEFAULT_QUOTE_EVENTS_BY_TYPE_PAGE_SIZE, mo as DEFAULT_TPSL_SLIPPAGE_LOWCAPS, ni as INSTANT_LAYER_EIP712_DOMAIN_NAME, ri as INSTANT_LAYER_EIP712_DOMAIN_VERSION, Mi as INSTANT_TRADE_REQUIRED_SELECTORS, mi as MARKET_ORDER_DEADLINE_SECONDS, Ji as MAX_INSTANT_CLOSE_BULK_ORDERS, ir as MUON_APP, ar as MUON_METHOD_PARTY_A_OVERVIEW, or as MUON_METHOD_PRICE, sr as MUON_METHOD_PRICE_RANGE, cr as MUON_METHOD_SETTLE_UPNL, lr as MUON_METHOD_UPNL_A, ur as MUON_METHOD_UPNL_A_WITH_SYMBOL_PRICE, dr as MUON_METHOD_UPNL_B, fr as MUON_METHOD_UPNL_PAIR, pr as MUON_METHOD_UPNL_WITH_SYMBOL_PRICE, Do as MarginTransferType, mn as NotificationType, di as ORDER_TYPE_MARKET, Kt as OrderType, ma as PRICE_HISTORY_EVENT_TYPES, qt as PositionType, ba as QuoteCloseEventType, xa as QuoteCloseType, ha as QuoteEventType, ea as QuoteLifecycle, Jt as QuoteStatus, Ni as REQUEST_TO_CLOSE_POSITION_SELECTOR, Pi as SEND_QUOTE_WITH_AFFILIATE_AND_DATA_SELECTOR, ii as SIGNED_OPERATION_TYPES, je as SubAccountIsolationType, r as SymmApiError, i as SymmError, a as SymmioSupportedChainId, fi as VIRTUAL_ACCOUNT_ISOLATION_TYPE, Yt as WithdrawStatus, $a as ZERO_LEG, Xr as ZERO_UPNL_SIG, e as accountLayerAbi, f as addMargin, V as addMarginMutationOptions, Va as aggregateGroupMetrics, Qe as allocate, vt as allocateMutationOptions, ta as applyNotificationToQuotes, Ne as approveCollateral, Ie as approveCollateralMutationOptions, Oo as balanceHistoryFilterToTypes, fo as buildConditionalOrderLeg, eo as buildConditionalOrderMessage, Zr as buildQuoteMetadata, si as buildSignedOperation, fn as buildSubscribeMessage, to as buildTpSlDeleteMessage, hi as calculateAvailableInstantOpenMargin, ra as calculateClosePlatformFee, Ui as calculateClosePrice, Wa as calculateLiquidationPrice, gi as calculateMargin, ia as calculateOpenPlatformFee, kn as calculatePriceImpact, qa as calculateQuoteLeverage, Ja as calculateQuotePnl, Ya as calculateQuoteUpnl, _i as calculateTradeParams, m as cancelRegistration, H as cancelRegistrationMutationOptions, Wn as checkNotionalCap, Wi as clampClosePrecision, hn as classifyNotification, na as classifyQuoteNotificationAction, Sa as closeTypeToEventTypes, vi as computePlatformFee, _t as createClassicWithdrawPart, l as createConfig, g as createSubAccounts, U as createSubAccountsMutationOptions, $e as deallocate, yt as deallocateMutationOptions, oo as deleteQuoteTpSl, so as deleteQuoteTpSlMutationOptions, v as deleteSubAccount, W as deleteSubAccountMutationOptions, b as depositAndAllocateForAccount, G as depositAndAllocateForAccountMutationOptions, S as depositForAccount, K as depositForAccountMutationOptions, w as editAccountName, q as editAccountNameMutationOptions, Qr as encodeAddMarginToNextVA, zi as encodeRequestToClosePosition, $r as encodeSendQuoteWithAffiliateAndData, Ca as eventTypeToCloseType, wa as eventTypeToQuoteStatus, J as filterQueryOptions, tt as finalizeWithdrawRequest, bt as finalizeWithdrawRequestMutationOptions, aa as fingerprintQuote, ci as formatSignedOperationPayload, T as generateAccountManagerAddress, Y as generateAccountManagerAddressQueryKey, X as generateAccountManagerAddressQueryOptions, li as generateSalt, no as generateTpSlSalt, E as getAccountBalanceInfo, Z as getAccountBalanceInfoQueryKey, Q as getAccountBalanceInfoQueryOptions, D as getAccountBalanceOf, $ as getAccountBalanceOfQueryKey, ee as getAccountBalanceOfQueryOptions, O as getAffiliateState, te as getAffiliateStateQueryKey, ne as getAffiliateStateQueryOptions, Ao as getBalanceHistory, jo as getBalanceHistoryQueryKey, Mo as getBalanceHistoryQueryOptions, o as getChainConfig, Pe as getCollateralAllowance, Le as getCollateralAllowanceQueryKey, Re as getCollateralAllowanceQueryOptions, Fe as getCollateralBalance, ze as getCollateralBalanceQueryKey, Be as getCollateralBalanceQueryOptions, mr as getDeallocateUpnlSig, hr as getDeallocateUpnlSigQueryKey, gr as getDeallocateUpnlSigQueryOptions, He as getDelegationExpiry, Ke as getDelegationExpiryQueryKey, qe as getDelegationExpiryQueryOptions, Xt as getEnigmaPriceServiceHealth, Zt as getEnigmaPriceServiceHealthQueryKey, Qt as getEnigmaPriceServiceHealthQueryOptions, $t as getEnigmaPriceServiceMetadata, en as getEnigmaPriceServiceMetadataQueryKey, tn as getEnigmaPriceServiceMetadataQueryOptions, nn as getEnigmaPriceServicePricesByAddresses, rn as getEnigmaPriceServicePricesByAddressesQueryKey, an as getEnigmaPriceServicePricesByAddressesQueryOptions, on as getEnigmaPriceServicePricesByNames, sn as getEnigmaPriceServicePricesByNamesQueryKey, cn as getEnigmaPriceServicePricesByNamesQueryOptions, ln as getEnigmaPriceServiceSymbolsInfo, un as getEnigmaPriceServiceSymbolsInfoQueryKey, dn as getEnigmaPriceServiceSymbolsInfoQueryOptions, On as getEstimatedPrice, An as getEstimatedPriceQueryKey, jn as getEstimatedPriceQueryOptions, ei as getFakeSendQuoteMuonSignature, nt as getFeeForUser, xt as getFeeForUserQueryKey, St as getFeeForUserQueryOptions, Nn as getFundingInfo, Fn as getFundingInfoQueryKey, In as getFundingInfoQueryOptions, Ii as getInstantCloses, Li as getInstantClosesQueryKey, Ri as getInstantClosesQueryOptions, ai as getInstantLayerEip712Domain, Wr as getInstantOpenQuoteId, Gr as getInstantOpenQuoteIdQueryKey, Kr as getInstantOpenQuoteIdQueryOptions, qr as getInstantOpens, Jr as getInstantOpensQueryKey, Yr as getInstantOpensQueryOptions, Ue as getIsDelegationActive, Je as getIsDelegationActiveQueryKey, Ye as getIsDelegationActiveQueryOptions, rt as getLastWithdrawRequestId, Ct as getLastWithdrawRequestIdQueryKey, wt as getLastWithdrawRequestIdQueryOptions, Vn as getLockedParams, Hn as getLockedParamsQueryKey, Un as getLockedParamsQueryOptions, Rn as getMarketInfo, zn as getMarketInfoQueryKey, Bn as getMarketInfoQueryOptions, yi as getMarketOrderDeadline, wn as getMarkets, Tn as getMarketsQueryKey, En as getMarketsQueryOptions, _r as getMuonPartyAOverview, vr as getMuonPartyAOverviewQueryKey, yr as getMuonPartyAOverviewQueryOptions, br as getMuonPrice, xr as getMuonPriceQueryKey, Sr as getMuonPriceQueryOptions, Cr as getMuonPriceRange, wr as getMuonPriceRangeQueryKey, Tr as getMuonPriceRangeQueryOptions, Er as getMuonSettleUpnl, Dr as getMuonSettleUpnlQueryKey, Or as getMuonSettleUpnlQueryOptions, kr as getMuonUpnl, Mr as getMuonUpnlA, Nr as getMuonUpnlAQueryKey, Pr as getMuonUpnlAQueryOptions, Fr as getMuonUpnlAWithSymbolPrice, Ir as getMuonUpnlAWithSymbolPriceQueryKey, Lr as getMuonUpnlAWithSymbolPriceQueryOptions, Rr as getMuonUpnlB, zr as getMuonUpnlBQueryKey, Br as getMuonUpnlBQueryOptions, Ar as getMuonUpnlQueryKey, jr as getMuonUpnlQueryOptions, Vr as getMuonUpnlWithSymbolPrice, Hr as getMuonUpnlWithSymbolPriceQueryKey, Ur as getMuonUpnlWithSymbolPriceQueryOptions, Kn as getNotionalCapAll, Zn as getNotionalCapAllQueryKey, Qn as getNotionalCapAllQueryOptions, qn as getNotionalCapBySymbolId, Yn as getNotionalCapBySymbolIdQueryKey, Xn as getNotionalCapBySymbolIdQueryOptions, it as getOnchainContractMarkets, Tt as getOnchainContractMarketsQueryKey, Et as getOnchainContractMarketsQueryOptions, Jn as getOpenInterestBySymbolId, $n as getOpenInterestBySymbolIdQueryKey, er as getOpenInterestBySymbolIdQueryOptions, at as getPartyAOpenPositions, Dt as getPartyAOpenPositionsQueryKey, Ot as getPartyAOpenPositionsQueryOptions, ot as getPartyAPendingQuotes, kt as getPartyAPendingQuotesQueryKey, At as getPartyAPendingQuotesQueryOptions, st as getPendingWithdrawRequests, jt as getPendingWithdrawRequestsQueryKey, Mt as getPendingWithdrawRequestsQueryOptions, I as getPredictedNextVirtualAccount, _e as getPredictedNextVirtualAccountQueryKey, ve as getPredictedNextVirtualAccountQueryOptions, sa as getQuerySubgraphQueryKey, ct as getQuote, da as getQuoteEventsByType, fa as getQuoteEventsByTypeQueryKey, pa as getQuoteEventsByTypeQueryOptions, _a as getQuoteFunding, va as getQuoteFundingQueryKey, ya as getQuoteFundingQueryOptions, Ea as getQuoteHistory, Da as getQuoteHistoryQueryKey, Oa as getQuoteHistoryQueryOptions, Nt as getQuoteQueryKey, Pt as getQuoteQueryOptions, co as getQuoteTpSl, lo as getQuoteTpSlQueryKey, uo as getQuoteTpSlQueryOptions, tr as getSolverErrorCodes, nr as getSolverErrorCodesQueryKey, rr as getSolverErrorCodesQueryOptions, k as getSubAccount, re as getSubAccountQueryKey, ie as getSubAccountQueryOptions, Fa as getSubAccountQuotes, Ia as getSubAccountQuotesQueryKey, La as getSubAccountQuotesQueryOptions, A as getSubAccountVirtualNonce, ae as getSubAccountVirtualNonceQueryKey, oe as getSubAccountVirtualNonceQueryOptions, j as getSubAccountsCountOfUser, se as getSubAccountsCountOfUserQueryKey, ce as getSubAccountsCountOfUserQueryOptions, Xa as getTpSlConfig, Za as getTpSlConfigQueryKey, Qa as getTpSlConfigQueryOptions, ao as getTpSlDeleteSigningSpec, vo as getTpSlDeleteSigningSpecQueryKey, yo as getTpSlDeleteSigningSpecQueryOptions, po as getTpSlSigningSpec, bo as getTpSlSigningSpecQueryKey, xo as getTpSlSigningSpecQueryOptions, Po as getTransferHistory, Fo as getTransferHistoryQueryKey, Io as getTransferHistoryQueryOptions, M as getUserSubAccounts, N as getUserSubAccountsAddresses, de as getUserSubAccountsAddressesQueryKey, fe as getUserSubAccountsAddressesQueryOptions, le as getUserSubAccountsQueryKey, ue as getUserSubAccountsQueryOptions, P as getVirtualAccount, pe as getVirtualAccountQueryKey, me as getVirtualAccountQueryOptions, F as getVirtualAccountsAddressesOfSubAccount, he as getVirtualAccountsAddressesOfSubAccountQueryKey, ge as getVirtualAccountsAddressesOfSubAccountQueryOptions, lt as getWithdrawRequests, Ft as getWithdrawRequestsQueryKey, It as getWithdrawRequestsQueryOptions, ut as getWithdrawableTime, Lt as getWithdrawableTimeQueryKey, Rt as getWithdrawableTimeQueryOptions, Ge as grantDelegation, Xe as grantDelegationMutationOptions, Ua as groupQuotes, dt as initiateWithdraw, zt as initiateWithdrawMutationOptions, Vi as instantClose, Ki as instantCloseAuto, qi as instantCloseAutoMutationOptions, Yi as instantCloseBulk, Zi as instantCloseBulkAuto, Qi as instantCloseBulkAutoMutationOptions, Xi as instantCloseBulkMutationOptions, Hi as instantCloseMutationOptions, t as instantLayerAbi, xi as instantOpen, Oi as instantOpenAuto, ki as instantOpenAutoMutationOptions, Si as instantOpenMutationOptions, Ra as isActivePosition, s as isChainSupported, za as isPendingOrder, pi as isolationTypeForSide, ka as lifecycleFromQuoteStatus, c as listSupportedChains, gn as normalizeNotification, _n as parseNotificationFrame, yn as parsePriceFrame, Co as parseTpSlFrame, Ba as partitionQuotes, Gi as prepareInstantCloseParams, Di as prepareInstantOpenParams, ho as priceSlippageCalculation, Pn as projectFundingRate, oa as querySubgraph, ca as querySubgraphQueryOptions, Na as reconcileQuotes, R as removeMargin, ye as removeMarginMutationOptions, ft as requestCancelWithdraw, Bt as requestCancelWithdrawMutationOptions, B as requestToRegisterAffiliate, be as requestToRegisterAffiliateMutationOptions, Ti as resolveFeeRates, Ei as resolveLockedParams, Ci as resolveMarkPrice, wi as resolveMarket, Pa as resolveQuoteAccounts, Ha as resolveQuoteGroupingStrategy, xn as searchNotifications, Sn as searchNotificationsQueryKey, Cn as searchNotificationsQueryOptions, Bi as sendInstantClose, ti as sendInstantOpen, go as setQuoteTpSl, _o as setQuoteTpSlMutationOptions, Ga as shouldAccelerateOnchainReads, Ka as shouldAccelerateQuotePolling, u as shouldSimulateBeforeWrite, ui as signAndFormatInstantOperation, oi as signSignedOperation, io as signTpSlRequest, d as simulateAddMargin, xe as simulateAddMarginMutationOptions, pt as simulateAllocate, Vt as simulateAllocateMutationOptions, Me as simulateApproveCollateral, Ve as simulateApproveCollateralMutationOptions, p as simulateCancelRegistration, Se as simulateCancelRegistrationMutationOptions, h as simulateCreateSubAccounts, Ce as simulateCreateSubAccountsMutationOptions, mt as simulateDeallocate, Ht as simulateDeallocateMutationOptions, _ as simulateDeleteSubAccount, we as simulateDeleteSubAccountMutationOptions, y as simulateDepositAndAllocateForAccount, Te as simulateDepositAndAllocateForAccountMutationOptions, x as simulateDepositForAccount, Ee as simulateDepositForAccountMutationOptions, C as simulateEditAccountName, De as simulateEditAccountNameMutationOptions, et as simulateFinalizeWithdrawRequest, Ut as simulateFinalizeWithdrawRequestMutationOptions, We as simulateGrantDelegation, Ze as simulateGrantDelegationMutationOptions, ht as simulateInitiateWithdraw, Wt as simulateInitiateWithdrawMutationOptions, L as simulateRemoveMargin, Oe as simulateRemoveMarginMutationOptions, gt as simulateRequestCancelWithdraw, Gt as simulateRequestCancelWithdrawMutationOptions, z as simulateRequestToRegisterAffiliate, ke as simulateRequestToRegisterAffiliateMutationOptions, n as symmioAbi, ko as toBalanceHistoryRow, Dn as toEstimatedPrice, Mn as toMarketFundingInfo, Ln as toMarketInfo, Gn as toMarketNotionalCap, Fi as toPendingInstantClose, la as toQuoteEventRow, ga as toQuoteFundingRow, Ta as toQuoteHistoryRow, ro as toSignableTpSlMessage, No as toTransferRow, Aa as toUnifiedQuoteFromInstantClose, ja as toUnifiedQuoteFromInstantOpen, Ma as toUnifiedQuoteFromOnchain, bi as toWeiBigInt, $i as validateInstantCloseAgainstMarket, Ai as validateInstantOpenAgainstMarket, So as validateTpSl, bn as watchEnigmaPrices, vn as watchNotifications, wo as watchTpSlNotifications };
|