@oydual31/more-vaults-sdk 0.1.2 → 0.1.3
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/react/index.cjs +1108 -0
- package/dist/react/index.cjs.map +1 -0
- package/dist/react/index.d.cts +382 -0
- package/dist/react/index.d.ts +382 -0
- package/dist/react/index.js +1097 -0
- package/dist/react/index.js.map +1 -0
- package/dist/userHelpers-CZLB9oQ4.d.cts +286 -0
- package/dist/userHelpers-CZLB9oQ4.d.ts +286 -0
- package/dist/viem/index.d.cts +2 -284
- package/dist/viem/index.d.ts +2 -284
- package/package.json +26 -5
- package/src/react/index.ts +26 -0
- package/src/react/useAsyncRequestStatus.ts +36 -0
- package/src/react/useDepositSimple.ts +76 -0
- package/src/react/useLzFee.ts +27 -0
- package/src/react/useOmniDeposit.ts +97 -0
- package/src/react/useOmniRedeem.ts +96 -0
- package/src/react/useRedeemShares.ts +77 -0
- package/src/react/useSmartDeposit.ts +70 -0
- package/src/react/useUserPosition.ts +29 -0
- package/src/react/useVaultMetadata.ts +29 -0
- package/src/react/useVaultStatus.ts +34 -0
|
@@ -0,0 +1,382 @@
|
|
|
1
|
+
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
|
+
import { e as VaultStatus, V as VaultMetadata, c as UserPosition, a as AsyncRequestStatusInfo } from '../userHelpers-CZLB9oQ4.cjs';
|
|
3
|
+
import * as _tanstack_query_core from '@tanstack/query-core';
|
|
4
|
+
import 'viem';
|
|
5
|
+
|
|
6
|
+
interface UseVaultStatusOptions {
|
|
7
|
+
/** Refetch interval in ms. Default: 30_000 (30s) */
|
|
8
|
+
refetchInterval?: number;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Read the full vault status snapshot.
|
|
12
|
+
* Automatically refetches on a configurable interval.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* const { data: status, isLoading } = useVaultStatus('0xVAULT', 747)
|
|
16
|
+
* if (status?.mode === 'cross-chain-async') { ... }
|
|
17
|
+
*/
|
|
18
|
+
declare function useVaultStatus(vault: `0x${string}` | undefined, chainId: number, options?: UseVaultStatusOptions): _tanstack_react_query.UseQueryResult<VaultStatus, Error>;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Read display metadata for a vault and its underlying token.
|
|
22
|
+
* Uses a long stale time (5 min) because metadata rarely changes.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* const { data: meta } = useVaultMetadata('0xVAULT', 747)
|
|
26
|
+
* // meta.name, meta.symbol, meta.underlying, meta.underlyingSymbol
|
|
27
|
+
*/
|
|
28
|
+
declare function useVaultMetadata(vault: `0x${string}` | undefined, chainId: number): _tanstack_react_query.UseQueryResult<VaultMetadata, Error>;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Read the user's current position in a vault.
|
|
32
|
+
* Refetches every 15s to keep the balance display current.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* const { data: position } = useUserPosition('0xVAULT', '0xUSER', 747)
|
|
36
|
+
* // position.shares, position.estimatedAssets, position.pendingWithdrawal
|
|
37
|
+
*/
|
|
38
|
+
declare function useUserPosition(vault: `0x${string}` | undefined, user: `0x${string}` | undefined, chainId: number): _tanstack_react_query.UseQueryResult<UserPosition, Error>;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Quote the LayerZero fee required for async operations (D4, D5, R5).
|
|
42
|
+
* Refreshes every 60s — fees change with network congestion.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* const { fee, feeWithBuffer } = useLzFee('0xVAULT', 747)
|
|
46
|
+
* // feeWithBuffer adds 1% buffer automatically (fee * 101 / 100)
|
|
47
|
+
*/
|
|
48
|
+
declare function useLzFee(vault: `0x${string}` | undefined, chainId: number): {
|
|
49
|
+
fee: bigint | undefined;
|
|
50
|
+
feeWithBuffer: bigint | undefined;
|
|
51
|
+
data: bigint;
|
|
52
|
+
error: Error;
|
|
53
|
+
isError: true;
|
|
54
|
+
isPending: false;
|
|
55
|
+
isLoading: false;
|
|
56
|
+
isLoadingError: false;
|
|
57
|
+
isRefetchError: true;
|
|
58
|
+
isSuccess: false;
|
|
59
|
+
isPlaceholderData: false;
|
|
60
|
+
status: "error";
|
|
61
|
+
dataUpdatedAt: number;
|
|
62
|
+
errorUpdatedAt: number;
|
|
63
|
+
failureCount: number;
|
|
64
|
+
failureReason: Error | null;
|
|
65
|
+
errorUpdateCount: number;
|
|
66
|
+
isFetched: boolean;
|
|
67
|
+
isFetchedAfterMount: boolean;
|
|
68
|
+
isFetching: boolean;
|
|
69
|
+
isInitialLoading: boolean;
|
|
70
|
+
isPaused: boolean;
|
|
71
|
+
isRefetching: boolean;
|
|
72
|
+
isStale: boolean;
|
|
73
|
+
isEnabled: boolean;
|
|
74
|
+
refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<bigint, Error>>;
|
|
75
|
+
fetchStatus: _tanstack_query_core.FetchStatus;
|
|
76
|
+
promise: Promise<bigint>;
|
|
77
|
+
} | {
|
|
78
|
+
fee: bigint | undefined;
|
|
79
|
+
feeWithBuffer: bigint | undefined;
|
|
80
|
+
data: bigint;
|
|
81
|
+
error: null;
|
|
82
|
+
isError: false;
|
|
83
|
+
isPending: false;
|
|
84
|
+
isLoading: false;
|
|
85
|
+
isLoadingError: false;
|
|
86
|
+
isRefetchError: false;
|
|
87
|
+
isSuccess: true;
|
|
88
|
+
isPlaceholderData: false;
|
|
89
|
+
status: "success";
|
|
90
|
+
dataUpdatedAt: number;
|
|
91
|
+
errorUpdatedAt: number;
|
|
92
|
+
failureCount: number;
|
|
93
|
+
failureReason: Error | null;
|
|
94
|
+
errorUpdateCount: number;
|
|
95
|
+
isFetched: boolean;
|
|
96
|
+
isFetchedAfterMount: boolean;
|
|
97
|
+
isFetching: boolean;
|
|
98
|
+
isInitialLoading: boolean;
|
|
99
|
+
isPaused: boolean;
|
|
100
|
+
isRefetching: boolean;
|
|
101
|
+
isStale: boolean;
|
|
102
|
+
isEnabled: boolean;
|
|
103
|
+
refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<bigint, Error>>;
|
|
104
|
+
fetchStatus: _tanstack_query_core.FetchStatus;
|
|
105
|
+
promise: Promise<bigint>;
|
|
106
|
+
} | {
|
|
107
|
+
fee: bigint | undefined;
|
|
108
|
+
feeWithBuffer: bigint | undefined;
|
|
109
|
+
data: undefined;
|
|
110
|
+
error: Error;
|
|
111
|
+
isError: true;
|
|
112
|
+
isPending: false;
|
|
113
|
+
isLoading: false;
|
|
114
|
+
isLoadingError: true;
|
|
115
|
+
isRefetchError: false;
|
|
116
|
+
isSuccess: false;
|
|
117
|
+
isPlaceholderData: false;
|
|
118
|
+
status: "error";
|
|
119
|
+
dataUpdatedAt: number;
|
|
120
|
+
errorUpdatedAt: number;
|
|
121
|
+
failureCount: number;
|
|
122
|
+
failureReason: Error | null;
|
|
123
|
+
errorUpdateCount: number;
|
|
124
|
+
isFetched: boolean;
|
|
125
|
+
isFetchedAfterMount: boolean;
|
|
126
|
+
isFetching: boolean;
|
|
127
|
+
isInitialLoading: boolean;
|
|
128
|
+
isPaused: boolean;
|
|
129
|
+
isRefetching: boolean;
|
|
130
|
+
isStale: boolean;
|
|
131
|
+
isEnabled: boolean;
|
|
132
|
+
refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<bigint, Error>>;
|
|
133
|
+
fetchStatus: _tanstack_query_core.FetchStatus;
|
|
134
|
+
promise: Promise<bigint>;
|
|
135
|
+
} | {
|
|
136
|
+
fee: bigint | undefined;
|
|
137
|
+
feeWithBuffer: bigint | undefined;
|
|
138
|
+
data: undefined;
|
|
139
|
+
error: null;
|
|
140
|
+
isError: false;
|
|
141
|
+
isPending: true;
|
|
142
|
+
isLoading: true;
|
|
143
|
+
isLoadingError: false;
|
|
144
|
+
isRefetchError: false;
|
|
145
|
+
isSuccess: false;
|
|
146
|
+
isPlaceholderData: false;
|
|
147
|
+
status: "pending";
|
|
148
|
+
dataUpdatedAt: number;
|
|
149
|
+
errorUpdatedAt: number;
|
|
150
|
+
failureCount: number;
|
|
151
|
+
failureReason: Error | null;
|
|
152
|
+
errorUpdateCount: number;
|
|
153
|
+
isFetched: boolean;
|
|
154
|
+
isFetchedAfterMount: boolean;
|
|
155
|
+
isFetching: boolean;
|
|
156
|
+
isInitialLoading: boolean;
|
|
157
|
+
isPaused: boolean;
|
|
158
|
+
isRefetching: boolean;
|
|
159
|
+
isStale: boolean;
|
|
160
|
+
isEnabled: boolean;
|
|
161
|
+
refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<bigint, Error>>;
|
|
162
|
+
fetchStatus: _tanstack_query_core.FetchStatus;
|
|
163
|
+
promise: Promise<bigint>;
|
|
164
|
+
} | {
|
|
165
|
+
fee: bigint | undefined;
|
|
166
|
+
feeWithBuffer: bigint | undefined;
|
|
167
|
+
data: undefined;
|
|
168
|
+
error: null;
|
|
169
|
+
isError: false;
|
|
170
|
+
isPending: true;
|
|
171
|
+
isLoadingError: false;
|
|
172
|
+
isRefetchError: false;
|
|
173
|
+
isSuccess: false;
|
|
174
|
+
isPlaceholderData: false;
|
|
175
|
+
status: "pending";
|
|
176
|
+
dataUpdatedAt: number;
|
|
177
|
+
errorUpdatedAt: number;
|
|
178
|
+
failureCount: number;
|
|
179
|
+
failureReason: Error | null;
|
|
180
|
+
errorUpdateCount: number;
|
|
181
|
+
isFetched: boolean;
|
|
182
|
+
isFetchedAfterMount: boolean;
|
|
183
|
+
isFetching: boolean;
|
|
184
|
+
isLoading: boolean;
|
|
185
|
+
isInitialLoading: boolean;
|
|
186
|
+
isPaused: boolean;
|
|
187
|
+
isRefetching: boolean;
|
|
188
|
+
isStale: boolean;
|
|
189
|
+
isEnabled: boolean;
|
|
190
|
+
refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<bigint, Error>>;
|
|
191
|
+
fetchStatus: _tanstack_query_core.FetchStatus;
|
|
192
|
+
promise: Promise<bigint>;
|
|
193
|
+
} | {
|
|
194
|
+
fee: bigint | undefined;
|
|
195
|
+
feeWithBuffer: bigint | undefined;
|
|
196
|
+
data: bigint;
|
|
197
|
+
isError: false;
|
|
198
|
+
error: null;
|
|
199
|
+
isPending: false;
|
|
200
|
+
isLoading: false;
|
|
201
|
+
isLoadingError: false;
|
|
202
|
+
isRefetchError: false;
|
|
203
|
+
isSuccess: true;
|
|
204
|
+
isPlaceholderData: true;
|
|
205
|
+
status: "success";
|
|
206
|
+
dataUpdatedAt: number;
|
|
207
|
+
errorUpdatedAt: number;
|
|
208
|
+
failureCount: number;
|
|
209
|
+
failureReason: Error | null;
|
|
210
|
+
errorUpdateCount: number;
|
|
211
|
+
isFetched: boolean;
|
|
212
|
+
isFetchedAfterMount: boolean;
|
|
213
|
+
isFetching: boolean;
|
|
214
|
+
isInitialLoading: boolean;
|
|
215
|
+
isPaused: boolean;
|
|
216
|
+
isRefetching: boolean;
|
|
217
|
+
isStale: boolean;
|
|
218
|
+
isEnabled: boolean;
|
|
219
|
+
refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<bigint, Error>>;
|
|
220
|
+
fetchStatus: _tanstack_query_core.FetchStatus;
|
|
221
|
+
promise: Promise<bigint>;
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Poll the status of an async cross-chain request (D4/D5/R5) by GUID.
|
|
226
|
+
*
|
|
227
|
+
* Automatically stops polling when status reaches 'completed' or 'refunded'.
|
|
228
|
+
* Polls every 10s while the request is still pending or ready-to-execute.
|
|
229
|
+
*
|
|
230
|
+
* @example
|
|
231
|
+
* const { data } = useAsyncRequestStatus('0xVAULT', guid, 747)
|
|
232
|
+
* // data.status: 'pending' | 'ready-to-execute' | 'completed' | 'refunded'
|
|
233
|
+
* // data.label: human-readable description
|
|
234
|
+
* // data.result: shares minted or assets returned (0n while pending)
|
|
235
|
+
*/
|
|
236
|
+
declare function useAsyncRequestStatus(vault: `0x${string}` | undefined, guid: `0x${string}` | undefined, chainId: number): _tanstack_react_query.UseQueryResult<AsyncRequestStatusInfo, Error>;
|
|
237
|
+
|
|
238
|
+
interface UseOmniDepositReturn {
|
|
239
|
+
/** Execute approve + depositAsync. Handles everything internally. */
|
|
240
|
+
deposit: (amountInWei: bigint, receiver: `0x${string}`) => Promise<void>;
|
|
241
|
+
isLoading: boolean;
|
|
242
|
+
txHash: `0x${string}` | undefined;
|
|
243
|
+
/** GUID for cross-chain tracking. Available after tx confirmation. */
|
|
244
|
+
guid: `0x${string}` | undefined;
|
|
245
|
+
/** Cross-chain request status. undefined until a guid is available. */
|
|
246
|
+
requestStatus: AsyncRequestStatusInfo | undefined;
|
|
247
|
+
/** true when the wallet is connected to the wrong chain */
|
|
248
|
+
wrongChain: boolean;
|
|
249
|
+
error: Error | undefined;
|
|
250
|
+
reset: () => void;
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* Complete hook for async deposits on hub vaults (D4 flow).
|
|
254
|
+
*
|
|
255
|
+
* Handles: fee quote, chain validation, approve, depositAsync, and GUID polling.
|
|
256
|
+
* The deposit function wraps the entire flow — callers only pass amount + receiver.
|
|
257
|
+
*
|
|
258
|
+
* @example
|
|
259
|
+
* const { deposit, isLoading, guid, requestStatus, wrongChain } = useOmniDeposit('0xVAULT', 747)
|
|
260
|
+
*
|
|
261
|
+
* if (wrongChain) return <SwitchNetworkButton chainId={747} />
|
|
262
|
+
*
|
|
263
|
+
* await deposit(parseUnits('100', 6), userAddress)
|
|
264
|
+
* // requestStatus.status goes: 'pending' → 'completed' | 'refunded'
|
|
265
|
+
*/
|
|
266
|
+
declare function useOmniDeposit(vault: `0x${string}` | undefined, hubChainId: number): UseOmniDepositReturn;
|
|
267
|
+
|
|
268
|
+
interface UseOmniRedeemReturn {
|
|
269
|
+
/** Execute approve + redeemAsync. Handles everything internally. */
|
|
270
|
+
redeem: (sharesInWei: bigint, receiver: `0x${string}`, owner: `0x${string}`) => Promise<void>;
|
|
271
|
+
isLoading: boolean;
|
|
272
|
+
txHash: `0x${string}` | undefined;
|
|
273
|
+
/** GUID for cross-chain tracking. Available after tx confirmation. */
|
|
274
|
+
guid: `0x${string}` | undefined;
|
|
275
|
+
/** Cross-chain request status. undefined until a guid is available. */
|
|
276
|
+
requestStatus: AsyncRequestStatusInfo | undefined;
|
|
277
|
+
/** true when the wallet is connected to the wrong chain */
|
|
278
|
+
wrongChain: boolean;
|
|
279
|
+
error: Error | undefined;
|
|
280
|
+
reset: () => void;
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* Complete hook for async redeems on hub vaults (R5 flow).
|
|
284
|
+
*
|
|
285
|
+
* Handles: fee quote, chain validation, share approve, redeemAsync, and GUID polling.
|
|
286
|
+
*
|
|
287
|
+
* @example
|
|
288
|
+
* const { redeem, isLoading, guid, requestStatus, wrongChain } = useOmniRedeem('0xVAULT', 747)
|
|
289
|
+
*
|
|
290
|
+
* if (wrongChain) return <SwitchNetworkButton chainId={747} />
|
|
291
|
+
*
|
|
292
|
+
* await redeem(sharesInWei, userAddress, userAddress)
|
|
293
|
+
* // requestStatus.status goes: 'pending' → 'completed' | 'refunded'
|
|
294
|
+
*/
|
|
295
|
+
declare function useOmniRedeem(vault: `0x${string}` | undefined, hubChainId: number): UseOmniRedeemReturn;
|
|
296
|
+
|
|
297
|
+
interface UseDepositSimpleReturn {
|
|
298
|
+
/** Execute approve + depositSimple (D1/D3 flows). */
|
|
299
|
+
deposit: (amountInWei: bigint, receiver: `0x${string}`) => Promise<void>;
|
|
300
|
+
isLoading: boolean;
|
|
301
|
+
txHash: `0x${string}` | undefined;
|
|
302
|
+
/** Shares minted. Available after tx confirmation. */
|
|
303
|
+
shares: bigint | undefined;
|
|
304
|
+
error: Error | undefined;
|
|
305
|
+
reset: () => void;
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* Hook for local and oracle-on cross-chain vaults (D1/D3 flows).
|
|
309
|
+
*
|
|
310
|
+
* Simpler than useOmniDeposit — no LZ fee, no GUID, no polling.
|
|
311
|
+
* One approve + one deposit transaction.
|
|
312
|
+
*
|
|
313
|
+
* @example
|
|
314
|
+
* const { deposit, isLoading, txHash, shares } = useDepositSimple('0xVAULT', 747)
|
|
315
|
+
* await deposit(parseUnits('100', 6), userAddress)
|
|
316
|
+
*/
|
|
317
|
+
declare function useDepositSimple(vault: `0x${string}` | undefined, chainId: number): UseDepositSimpleReturn;
|
|
318
|
+
|
|
319
|
+
interface UseRedeemSharesReturn {
|
|
320
|
+
/** Execute redeemShares (R1 flow). */
|
|
321
|
+
redeem: (sharesInWei: bigint, receiver: `0x${string}`, owner: `0x${string}`) => Promise<void>;
|
|
322
|
+
isLoading: boolean;
|
|
323
|
+
txHash: `0x${string}` | undefined;
|
|
324
|
+
/** Assets received. Available after tx confirmation. */
|
|
325
|
+
assets: bigint | undefined;
|
|
326
|
+
error: Error | undefined;
|
|
327
|
+
reset: () => void;
|
|
328
|
+
}
|
|
329
|
+
/**
|
|
330
|
+
* Hook for standard ERC-4626 share redemption (R1 flow).
|
|
331
|
+
*
|
|
332
|
+
* Used for local and oracle-on cross-chain vaults.
|
|
333
|
+
* No LZ fee required — single transaction.
|
|
334
|
+
*
|
|
335
|
+
* @example
|
|
336
|
+
* const { redeem, isLoading, txHash, assets } = useRedeemShares('0xVAULT', 747)
|
|
337
|
+
* await redeem(sharesInWei, userAddress, userAddress)
|
|
338
|
+
*/
|
|
339
|
+
declare function useRedeemShares(vault: `0x${string}` | undefined, chainId: number): UseRedeemSharesReturn;
|
|
340
|
+
|
|
341
|
+
interface UseSmartDepositReturn {
|
|
342
|
+
/**
|
|
343
|
+
* Execute deposit using the correct flow for this vault's mode.
|
|
344
|
+
* For async vaults: wraps depositAsync (D4) — returns guid for tracking.
|
|
345
|
+
* For local/oracle vaults: wraps depositSimple (D1/D3) — returns shares.
|
|
346
|
+
*/
|
|
347
|
+
deposit: (amountInWei: bigint, receiver: `0x${string}`) => Promise<void>;
|
|
348
|
+
isLoading: boolean;
|
|
349
|
+
txHash: `0x${string}` | undefined;
|
|
350
|
+
/** Shares minted (available for D1/D3 vaults after confirmation, undefined for D4). */
|
|
351
|
+
shares: bigint | undefined;
|
|
352
|
+
/** GUID for cross-chain tracking (D4 vaults only). */
|
|
353
|
+
guid: `0x${string}` | undefined;
|
|
354
|
+
/** Cross-chain request status (D4 vaults only). */
|
|
355
|
+
requestStatus: AsyncRequestStatusInfo | undefined;
|
|
356
|
+
/** true when the wallet is connected to the wrong chain (D4 vaults only). */
|
|
357
|
+
wrongChain: boolean;
|
|
358
|
+
/** Vault mode loaded from getVaultStatus. undefined while loading. */
|
|
359
|
+
vaultMode: 'local' | 'cross-chain-oracle' | 'cross-chain-async' | 'paused' | 'full' | undefined;
|
|
360
|
+
error: Error | undefined;
|
|
361
|
+
reset: () => void;
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* Auto-selects the correct deposit flow based on vault mode.
|
|
365
|
+
* Best for frontends that support multiple vault types.
|
|
366
|
+
*
|
|
367
|
+
* Internally uses useVaultStatus to detect the mode, then delegates to:
|
|
368
|
+
* - useOmniDeposit (D4) for 'cross-chain-async' vaults
|
|
369
|
+
* - useDepositSimple (D1/D3) for 'local' and 'cross-chain-oracle' vaults
|
|
370
|
+
*
|
|
371
|
+
* @example
|
|
372
|
+
* const { deposit, isLoading, guid, requestStatus, vaultMode } = useSmartDeposit('0xVAULT', 747)
|
|
373
|
+
*
|
|
374
|
+
* if (vaultMode === 'paused') return <PausedBadge />
|
|
375
|
+
*
|
|
376
|
+
* await deposit(parseUnits('100', 6), userAddress)
|
|
377
|
+
* // For async vaults: poll requestStatus until 'completed'
|
|
378
|
+
* // For sync vaults: txHash + shares are available immediately
|
|
379
|
+
*/
|
|
380
|
+
declare function useSmartDeposit(vault: `0x${string}` | undefined, hubChainId: number): UseSmartDepositReturn;
|
|
381
|
+
|
|
382
|
+
export { AsyncRequestStatusInfo, UserPosition, VaultMetadata, VaultStatus, useAsyncRequestStatus, useDepositSimple, useLzFee, useOmniDeposit, useOmniRedeem, useRedeemShares, useSmartDeposit, useUserPosition, useVaultMetadata, useVaultStatus };
|