timelock-sdk 0.0.19 → 0.0.21
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/abis.cjs +9 -1
- package/dist/abis.d.cts +3 -2
- package/dist/abis.d.ts +3 -2
- package/dist/abis.js +4 -1
- package/dist/client.cjs +695 -4
- package/dist/client.cjs.map +1 -0
- package/dist/client.d.cts +431 -53
- package/dist/client.d.ts +391 -13
- package/dist/client.js +667 -4
- package/dist/client.js.map +1 -0
- package/dist/{index-DyZhOGnP.d.ts → index-B7b3c8cu.d.cts} +151 -94
- package/dist/{index-CnaCnYLR.d.cts → index-CRhFaRiq.d.ts} +60 -3
- package/dist/numberUtils-CAMznXR5.js +220 -0
- package/dist/numberUtils-CAMznXR5.js.map +1 -0
- package/dist/numberUtils-DOUvJfQD.cjs +427 -0
- package/dist/numberUtils-DOUvJfQD.cjs.map +1 -0
- package/dist/optionsMarket-Br-bjuSA.cjs +2407 -0
- package/dist/optionsMarket-Br-bjuSA.cjs.map +1 -0
- package/dist/optionsMarket-DyBxHplR.js +2383 -0
- package/dist/optionsMarket-DyBxHplR.js.map +1 -0
- package/dist/package.cjs +32 -1
- package/dist/package.d.cts +2 -2
- package/dist/package.d.ts +2 -2
- package/dist/package.js +4 -1
- package/dist/{uniswapMathLens-SWLgAikn.d.ts → uniswapMathLens-B1MIL2yT.d.cts} +6 -1
- package/dist/{uniswapMathLens-CsZDhwII.d.cts → uniswapMathLens-MrB_VfJB.d.ts} +6 -1
- package/dist/uniswapV3Pool-Copswrde.js +1119 -1
- package/dist/uniswapV3Pool-Copswrde.js.map +1 -0
- package/dist/uniswapV3Pool-D9Vqrkmz.cjs +1131 -1
- package/dist/uniswapV3Pool-D9Vqrkmz.cjs.map +1 -0
- package/package.json +1 -1
- package/dist/numberUtils-B7BwWYfb.cjs +0 -1
- package/dist/numberUtils-DP-pDRRs.js +0 -1
- package/dist/optionsMarket-BsJTpwtl.js +0 -1
- package/dist/optionsMarket-BsK9z8z4.cjs +0 -1
package/dist/client.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./uniswapMathLens-
|
|
2
|
-
import { Amount, TimelockMarketData, UniswapMathLens } from "./index-
|
|
1
|
+
import "./uniswapMathLens-MrB_VfJB.js";
|
|
2
|
+
import { Amount, TimelockMarketData, UniswapMathLens } from "./index-CRhFaRiq.js";
|
|
3
3
|
import * as viem366 from "viem";
|
|
4
4
|
import { Address } from "viem";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
@@ -2232,10 +2232,55 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
2232
2232
|
};
|
|
2233
2233
|
//#endregion
|
|
2234
2234
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
2235
|
-
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['
|
|
2235
|
+
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
2236
2236
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
2237
|
-
|
|
2238
|
-
|
|
2237
|
+
error: viem366.ReadContractErrorType;
|
|
2238
|
+
isError: true;
|
|
2239
|
+
isPending: false;
|
|
2240
|
+
isLoading: false;
|
|
2241
|
+
isLoadingError: false;
|
|
2242
|
+
isRefetchError: true;
|
|
2243
|
+
isSuccess: false;
|
|
2244
|
+
isPlaceholderData: false;
|
|
2245
|
+
status: "error";
|
|
2246
|
+
dataUpdatedAt: number;
|
|
2247
|
+
errorUpdatedAt: number;
|
|
2248
|
+
failureCount: number;
|
|
2249
|
+
failureReason: viem366.ReadContractErrorType | null;
|
|
2250
|
+
errorUpdateCount: number;
|
|
2251
|
+
isFetched: boolean;
|
|
2252
|
+
isFetchedAfterMount: boolean;
|
|
2253
|
+
isFetching: boolean;
|
|
2254
|
+
isInitialLoading: boolean;
|
|
2255
|
+
isPaused: boolean;
|
|
2256
|
+
isRefetching: boolean;
|
|
2257
|
+
isStale: boolean;
|
|
2258
|
+
isEnabled: boolean;
|
|
2259
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
2260
|
+
tickLower: number;
|
|
2261
|
+
tickUpper: number;
|
|
2262
|
+
prevTickLower: number;
|
|
2263
|
+
totalLiquidity: bigint;
|
|
2264
|
+
borrowedLiquidity: bigint;
|
|
2265
|
+
totalAmount0: bigint;
|
|
2266
|
+
totalAmount1: bigint;
|
|
2267
|
+
borrowedAmount0: bigint;
|
|
2268
|
+
borrowedAmount1: bigint;
|
|
2269
|
+
}[], viem366.ReadContractErrorType>>;
|
|
2270
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2271
|
+
promise: Promise<readonly {
|
|
2272
|
+
tickLower: number;
|
|
2273
|
+
tickUpper: number;
|
|
2274
|
+
prevTickLower: number;
|
|
2275
|
+
totalLiquidity: bigint;
|
|
2276
|
+
borrowedLiquidity: bigint;
|
|
2277
|
+
totalAmount0: bigint;
|
|
2278
|
+
totalAmount1: bigint;
|
|
2279
|
+
borrowedAmount0: bigint;
|
|
2280
|
+
borrowedAmount1: bigint;
|
|
2281
|
+
}[]>;
|
|
2282
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
2283
|
+
data: readonly {
|
|
2239
2284
|
tickLower: number;
|
|
2240
2285
|
tickUpper: number;
|
|
2241
2286
|
prevTickLower: number;
|
|
@@ -2246,10 +2291,261 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2246
2291
|
borrowedAmount0: bigint;
|
|
2247
2292
|
borrowedAmount1: bigint;
|
|
2248
2293
|
}[];
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2294
|
+
} | {
|
|
2295
|
+
error: null;
|
|
2296
|
+
isError: false;
|
|
2297
|
+
isPending: false;
|
|
2298
|
+
isLoading: false;
|
|
2299
|
+
isLoadingError: false;
|
|
2300
|
+
isRefetchError: false;
|
|
2301
|
+
isSuccess: true;
|
|
2302
|
+
isPlaceholderData: false;
|
|
2303
|
+
status: "success";
|
|
2304
|
+
dataUpdatedAt: number;
|
|
2305
|
+
errorUpdatedAt: number;
|
|
2306
|
+
failureCount: number;
|
|
2307
|
+
failureReason: viem366.ReadContractErrorType | null;
|
|
2308
|
+
errorUpdateCount: number;
|
|
2309
|
+
isFetched: boolean;
|
|
2310
|
+
isFetchedAfterMount: boolean;
|
|
2311
|
+
isFetching: boolean;
|
|
2312
|
+
isInitialLoading: boolean;
|
|
2313
|
+
isPaused: boolean;
|
|
2314
|
+
isRefetching: boolean;
|
|
2315
|
+
isStale: boolean;
|
|
2316
|
+
isEnabled: boolean;
|
|
2317
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
2318
|
+
tickLower: number;
|
|
2319
|
+
tickUpper: number;
|
|
2320
|
+
prevTickLower: number;
|
|
2321
|
+
totalLiquidity: bigint;
|
|
2322
|
+
borrowedLiquidity: bigint;
|
|
2323
|
+
totalAmount0: bigint;
|
|
2324
|
+
totalAmount1: bigint;
|
|
2325
|
+
borrowedAmount0: bigint;
|
|
2326
|
+
borrowedAmount1: bigint;
|
|
2327
|
+
}[], viem366.ReadContractErrorType>>;
|
|
2328
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2329
|
+
promise: Promise<readonly {
|
|
2330
|
+
tickLower: number;
|
|
2331
|
+
tickUpper: number;
|
|
2332
|
+
prevTickLower: number;
|
|
2333
|
+
totalLiquidity: bigint;
|
|
2334
|
+
borrowedLiquidity: bigint;
|
|
2335
|
+
totalAmount0: bigint;
|
|
2336
|
+
totalAmount1: bigint;
|
|
2337
|
+
borrowedAmount0: bigint;
|
|
2338
|
+
borrowedAmount1: bigint;
|
|
2339
|
+
}[]>;
|
|
2340
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
2341
|
+
data: readonly {
|
|
2342
|
+
tickLower: number;
|
|
2343
|
+
tickUpper: number;
|
|
2344
|
+
prevTickLower: number;
|
|
2345
|
+
totalLiquidity: bigint;
|
|
2346
|
+
borrowedLiquidity: bigint;
|
|
2347
|
+
totalAmount0: bigint;
|
|
2348
|
+
totalAmount1: bigint;
|
|
2349
|
+
borrowedAmount0: bigint;
|
|
2350
|
+
borrowedAmount1: bigint;
|
|
2351
|
+
}[];
|
|
2352
|
+
} | {
|
|
2353
|
+
error: viem366.ReadContractErrorType;
|
|
2354
|
+
isError: true;
|
|
2355
|
+
isPending: false;
|
|
2356
|
+
isLoading: false;
|
|
2357
|
+
isLoadingError: true;
|
|
2358
|
+
isRefetchError: false;
|
|
2359
|
+
isSuccess: false;
|
|
2360
|
+
isPlaceholderData: false;
|
|
2361
|
+
status: "error";
|
|
2362
|
+
dataUpdatedAt: number;
|
|
2363
|
+
errorUpdatedAt: number;
|
|
2364
|
+
failureCount: number;
|
|
2365
|
+
failureReason: viem366.ReadContractErrorType | null;
|
|
2366
|
+
errorUpdateCount: number;
|
|
2367
|
+
isFetched: boolean;
|
|
2368
|
+
isFetchedAfterMount: boolean;
|
|
2369
|
+
isFetching: boolean;
|
|
2370
|
+
isInitialLoading: boolean;
|
|
2371
|
+
isPaused: boolean;
|
|
2372
|
+
isRefetching: boolean;
|
|
2373
|
+
isStale: boolean;
|
|
2374
|
+
isEnabled: boolean;
|
|
2375
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
2376
|
+
tickLower: number;
|
|
2377
|
+
tickUpper: number;
|
|
2378
|
+
prevTickLower: number;
|
|
2379
|
+
totalLiquidity: bigint;
|
|
2380
|
+
borrowedLiquidity: bigint;
|
|
2381
|
+
totalAmount0: bigint;
|
|
2382
|
+
totalAmount1: bigint;
|
|
2383
|
+
borrowedAmount0: bigint;
|
|
2384
|
+
borrowedAmount1: bigint;
|
|
2385
|
+
}[], viem366.ReadContractErrorType>>;
|
|
2386
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2387
|
+
promise: Promise<readonly {
|
|
2388
|
+
tickLower: number;
|
|
2389
|
+
tickUpper: number;
|
|
2390
|
+
prevTickLower: number;
|
|
2391
|
+
totalLiquidity: bigint;
|
|
2392
|
+
borrowedLiquidity: bigint;
|
|
2393
|
+
totalAmount0: bigint;
|
|
2394
|
+
totalAmount1: bigint;
|
|
2395
|
+
borrowedAmount0: bigint;
|
|
2396
|
+
borrowedAmount1: bigint;
|
|
2397
|
+
}[]>;
|
|
2398
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
2399
|
+
data: readonly {
|
|
2400
|
+
tickLower: number;
|
|
2401
|
+
tickUpper: number;
|
|
2402
|
+
prevTickLower: number;
|
|
2403
|
+
totalLiquidity: bigint;
|
|
2404
|
+
borrowedLiquidity: bigint;
|
|
2405
|
+
totalAmount0: bigint;
|
|
2406
|
+
totalAmount1: bigint;
|
|
2407
|
+
borrowedAmount0: bigint;
|
|
2408
|
+
borrowedAmount1: bigint;
|
|
2409
|
+
}[];
|
|
2410
|
+
} | {
|
|
2411
|
+
error: null;
|
|
2412
|
+
isError: false;
|
|
2413
|
+
isPending: true;
|
|
2414
|
+
isLoading: true;
|
|
2415
|
+
isLoadingError: false;
|
|
2416
|
+
isRefetchError: false;
|
|
2417
|
+
isSuccess: false;
|
|
2418
|
+
isPlaceholderData: false;
|
|
2419
|
+
status: "pending";
|
|
2420
|
+
dataUpdatedAt: number;
|
|
2421
|
+
errorUpdatedAt: number;
|
|
2422
|
+
failureCount: number;
|
|
2423
|
+
failureReason: viem366.ReadContractErrorType | null;
|
|
2424
|
+
errorUpdateCount: number;
|
|
2425
|
+
isFetched: boolean;
|
|
2426
|
+
isFetchedAfterMount: boolean;
|
|
2427
|
+
isFetching: boolean;
|
|
2428
|
+
isInitialLoading: boolean;
|
|
2429
|
+
isPaused: boolean;
|
|
2430
|
+
isRefetching: boolean;
|
|
2431
|
+
isStale: boolean;
|
|
2432
|
+
isEnabled: boolean;
|
|
2433
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
2434
|
+
tickLower: number;
|
|
2435
|
+
tickUpper: number;
|
|
2436
|
+
prevTickLower: number;
|
|
2437
|
+
totalLiquidity: bigint;
|
|
2438
|
+
borrowedLiquidity: bigint;
|
|
2439
|
+
totalAmount0: bigint;
|
|
2440
|
+
totalAmount1: bigint;
|
|
2441
|
+
borrowedAmount0: bigint;
|
|
2442
|
+
borrowedAmount1: bigint;
|
|
2443
|
+
}[], viem366.ReadContractErrorType>>;
|
|
2444
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2445
|
+
promise: Promise<readonly {
|
|
2446
|
+
tickLower: number;
|
|
2447
|
+
tickUpper: number;
|
|
2448
|
+
prevTickLower: number;
|
|
2449
|
+
totalLiquidity: bigint;
|
|
2450
|
+
borrowedLiquidity: bigint;
|
|
2451
|
+
totalAmount0: bigint;
|
|
2452
|
+
totalAmount1: bigint;
|
|
2453
|
+
borrowedAmount0: bigint;
|
|
2454
|
+
borrowedAmount1: bigint;
|
|
2455
|
+
}[]>;
|
|
2456
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
2457
|
+
data: readonly {
|
|
2458
|
+
tickLower: number;
|
|
2459
|
+
tickUpper: number;
|
|
2460
|
+
prevTickLower: number;
|
|
2461
|
+
totalLiquidity: bigint;
|
|
2462
|
+
borrowedLiquidity: bigint;
|
|
2463
|
+
totalAmount0: bigint;
|
|
2464
|
+
totalAmount1: bigint;
|
|
2465
|
+
borrowedAmount0: bigint;
|
|
2466
|
+
borrowedAmount1: bigint;
|
|
2467
|
+
}[];
|
|
2468
|
+
} | {
|
|
2469
|
+
error: null;
|
|
2470
|
+
isError: false;
|
|
2471
|
+
isPending: true;
|
|
2472
|
+
isLoadingError: false;
|
|
2473
|
+
isRefetchError: false;
|
|
2474
|
+
isSuccess: false;
|
|
2475
|
+
isPlaceholderData: false;
|
|
2476
|
+
status: "pending";
|
|
2477
|
+
dataUpdatedAt: number;
|
|
2478
|
+
errorUpdatedAt: number;
|
|
2479
|
+
failureCount: number;
|
|
2480
|
+
failureReason: viem366.ReadContractErrorType | null;
|
|
2481
|
+
errorUpdateCount: number;
|
|
2482
|
+
isFetched: boolean;
|
|
2483
|
+
isFetchedAfterMount: boolean;
|
|
2484
|
+
isFetching: boolean;
|
|
2485
|
+
isLoading: boolean;
|
|
2486
|
+
isInitialLoading: boolean;
|
|
2487
|
+
isPaused: boolean;
|
|
2488
|
+
isRefetching: boolean;
|
|
2489
|
+
isStale: boolean;
|
|
2490
|
+
isEnabled: boolean;
|
|
2491
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
2492
|
+
tickLower: number;
|
|
2493
|
+
tickUpper: number;
|
|
2494
|
+
prevTickLower: number;
|
|
2495
|
+
totalLiquidity: bigint;
|
|
2496
|
+
borrowedLiquidity: bigint;
|
|
2497
|
+
totalAmount0: bigint;
|
|
2498
|
+
totalAmount1: bigint;
|
|
2499
|
+
borrowedAmount0: bigint;
|
|
2500
|
+
borrowedAmount1: bigint;
|
|
2501
|
+
}[], viem366.ReadContractErrorType>>;
|
|
2502
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2503
|
+
promise: Promise<readonly {
|
|
2504
|
+
tickLower: number;
|
|
2505
|
+
tickUpper: number;
|
|
2506
|
+
prevTickLower: number;
|
|
2507
|
+
totalLiquidity: bigint;
|
|
2508
|
+
borrowedLiquidity: bigint;
|
|
2509
|
+
totalAmount0: bigint;
|
|
2510
|
+
totalAmount1: bigint;
|
|
2511
|
+
borrowedAmount0: bigint;
|
|
2512
|
+
borrowedAmount1: bigint;
|
|
2513
|
+
}[]>;
|
|
2514
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
2515
|
+
data: readonly {
|
|
2516
|
+
tickLower: number;
|
|
2517
|
+
tickUpper: number;
|
|
2518
|
+
prevTickLower: number;
|
|
2519
|
+
totalLiquidity: bigint;
|
|
2520
|
+
borrowedLiquidity: bigint;
|
|
2521
|
+
totalAmount0: bigint;
|
|
2522
|
+
totalAmount1: bigint;
|
|
2523
|
+
borrowedAmount0: bigint;
|
|
2524
|
+
borrowedAmount1: bigint;
|
|
2525
|
+
}[];
|
|
2526
|
+
} | {
|
|
2527
|
+
isError: false;
|
|
2528
|
+
error: null;
|
|
2529
|
+
isPending: false;
|
|
2530
|
+
isLoading: false;
|
|
2531
|
+
isLoadingError: false;
|
|
2532
|
+
isRefetchError: false;
|
|
2533
|
+
isSuccess: true;
|
|
2534
|
+
isPlaceholderData: true;
|
|
2535
|
+
status: "success";
|
|
2536
|
+
dataUpdatedAt: number;
|
|
2537
|
+
errorUpdatedAt: number;
|
|
2538
|
+
failureCount: number;
|
|
2539
|
+
failureReason: viem366.ReadContractErrorType | null;
|
|
2540
|
+
errorUpdateCount: number;
|
|
2541
|
+
isFetched: boolean;
|
|
2542
|
+
isFetchedAfterMount: boolean;
|
|
2543
|
+
isFetching: boolean;
|
|
2544
|
+
isInitialLoading: boolean;
|
|
2545
|
+
isPaused: boolean;
|
|
2546
|
+
isRefetching: boolean;
|
|
2547
|
+
isStale: boolean;
|
|
2548
|
+
isEnabled: boolean;
|
|
2253
2549
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
2254
2550
|
tickLower: number;
|
|
2255
2551
|
tickUpper: number;
|
|
@@ -2260,7 +2556,31 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2260
2556
|
totalAmount1: bigint;
|
|
2261
2557
|
borrowedAmount0: bigint;
|
|
2262
2558
|
borrowedAmount1: bigint;
|
|
2263
|
-
}[],
|
|
2559
|
+
}[], viem366.ReadContractErrorType>>;
|
|
2560
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2561
|
+
promise: Promise<readonly {
|
|
2562
|
+
tickLower: number;
|
|
2563
|
+
tickUpper: number;
|
|
2564
|
+
prevTickLower: number;
|
|
2565
|
+
totalLiquidity: bigint;
|
|
2566
|
+
borrowedLiquidity: bigint;
|
|
2567
|
+
totalAmount0: bigint;
|
|
2568
|
+
totalAmount1: bigint;
|
|
2569
|
+
borrowedAmount0: bigint;
|
|
2570
|
+
borrowedAmount1: bigint;
|
|
2571
|
+
}[]>;
|
|
2572
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
2573
|
+
data: readonly {
|
|
2574
|
+
tickLower: number;
|
|
2575
|
+
tickUpper: number;
|
|
2576
|
+
prevTickLower: number;
|
|
2577
|
+
totalLiquidity: bigint;
|
|
2578
|
+
borrowedLiquidity: bigint;
|
|
2579
|
+
totalAmount0: bigint;
|
|
2580
|
+
totalAmount1: bigint;
|
|
2581
|
+
borrowedAmount0: bigint;
|
|
2582
|
+
borrowedAmount1: bigint;
|
|
2583
|
+
}[];
|
|
2264
2584
|
};
|
|
2265
2585
|
//#endregion
|
|
2266
2586
|
//#region src/hooks/vault/useMintLiquidity.d.ts
|
|
@@ -2299,7 +2619,8 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
2299
2619
|
totalAmount1: Amount | undefined;
|
|
2300
2620
|
borrowedAmount0: Amount | undefined;
|
|
2301
2621
|
borrowedAmount1: Amount | undefined;
|
|
2302
|
-
|
|
2622
|
+
blocksCount: bigint | undefined;
|
|
2623
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem366.ReadContractErrorType>>;
|
|
2303
2624
|
};
|
|
2304
2625
|
//#endregion
|
|
2305
2626
|
//#region src/hooks/useLens.d.ts
|
|
@@ -19777,6 +20098,10 @@ declare const useLens: () => {
|
|
|
19777
20098
|
readonly name: "tvl1";
|
|
19778
20099
|
readonly type: "uint256";
|
|
19779
20100
|
readonly internalType: "uint256";
|
|
20101
|
+
}, {
|
|
20102
|
+
readonly name: "blocksCount";
|
|
20103
|
+
readonly type: "uint256";
|
|
20104
|
+
readonly internalType: "uint256";
|
|
19780
20105
|
}];
|
|
19781
20106
|
readonly stateMutability: "view";
|
|
19782
20107
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
@@ -20479,6 +20804,10 @@ declare const useLens: () => {
|
|
|
20479
20804
|
readonly name: "tvl1";
|
|
20480
20805
|
readonly type: "uint256";
|
|
20481
20806
|
readonly internalType: "uint256";
|
|
20807
|
+
}, {
|
|
20808
|
+
readonly name: "blocksCount";
|
|
20809
|
+
readonly type: "uint256";
|
|
20810
|
+
readonly internalType: "uint256";
|
|
20482
20811
|
}];
|
|
20483
20812
|
readonly stateMutability: "view";
|
|
20484
20813
|
}], "getAllBlocks", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly {
|
|
@@ -21191,6 +21520,10 @@ declare const useLens: () => {
|
|
|
21191
21520
|
readonly name: "tvl1";
|
|
21192
21521
|
readonly type: "uint256";
|
|
21193
21522
|
readonly internalType: "uint256";
|
|
21523
|
+
}, {
|
|
21524
|
+
readonly name: "blocksCount";
|
|
21525
|
+
readonly type: "uint256";
|
|
21526
|
+
readonly internalType: "uint256";
|
|
21194
21527
|
}];
|
|
21195
21528
|
readonly stateMutability: "view";
|
|
21196
21529
|
}], "getExpiredOptions", readonly [`0x${string}`, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly {
|
|
@@ -21912,6 +22245,10 @@ declare const useLens: () => {
|
|
|
21912
22245
|
readonly name: "tvl1";
|
|
21913
22246
|
readonly type: "uint256";
|
|
21914
22247
|
readonly internalType: "uint256";
|
|
22248
|
+
}, {
|
|
22249
|
+
readonly name: "blocksCount";
|
|
22250
|
+
readonly type: "uint256";
|
|
22251
|
+
readonly internalType: "uint256";
|
|
21915
22252
|
}];
|
|
21916
22253
|
readonly stateMutability: "view";
|
|
21917
22254
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
@@ -22614,6 +22951,10 @@ declare const useLens: () => {
|
|
|
22614
22951
|
readonly name: "tvl1";
|
|
22615
22952
|
readonly type: "uint256";
|
|
22616
22953
|
readonly internalType: "uint256";
|
|
22954
|
+
}, {
|
|
22955
|
+
readonly name: "blocksCount";
|
|
22956
|
+
readonly type: "uint256";
|
|
22957
|
+
readonly internalType: "uint256";
|
|
22617
22958
|
}];
|
|
22618
22959
|
readonly stateMutability: "view";
|
|
22619
22960
|
}], "getMarketData", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<{
|
|
@@ -23329,6 +23670,10 @@ declare const useLens: () => {
|
|
|
23329
23670
|
readonly name: "tvl1";
|
|
23330
23671
|
readonly type: "uint256";
|
|
23331
23672
|
readonly internalType: "uint256";
|
|
23673
|
+
}, {
|
|
23674
|
+
readonly name: "blocksCount";
|
|
23675
|
+
readonly type: "uint256";
|
|
23676
|
+
readonly internalType: "uint256";
|
|
23332
23677
|
}];
|
|
23333
23678
|
readonly stateMutability: "view";
|
|
23334
23679
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
@@ -24031,6 +24376,10 @@ declare const useLens: () => {
|
|
|
24031
24376
|
readonly name: "tvl1";
|
|
24032
24377
|
readonly type: "uint256";
|
|
24033
24378
|
readonly internalType: "uint256";
|
|
24379
|
+
}, {
|
|
24380
|
+
readonly name: "blocksCount";
|
|
24381
|
+
readonly type: "uint256";
|
|
24382
|
+
readonly internalType: "uint256";
|
|
24034
24383
|
}];
|
|
24035
24384
|
readonly stateMutability: "view";
|
|
24036
24385
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
@@ -24733,6 +25082,10 @@ declare const useLens: () => {
|
|
|
24733
25082
|
readonly name: "tvl1";
|
|
24734
25083
|
readonly type: "uint256";
|
|
24735
25084
|
readonly internalType: "uint256";
|
|
25085
|
+
}, {
|
|
25086
|
+
readonly name: "blocksCount";
|
|
25087
|
+
readonly type: "uint256";
|
|
25088
|
+
readonly internalType: "uint256";
|
|
24736
25089
|
}];
|
|
24737
25090
|
readonly stateMutability: "view";
|
|
24738
25091
|
}], "getOptionData", readonly [`0x${string}`, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<{
|
|
@@ -25454,6 +25807,10 @@ declare const useLens: () => {
|
|
|
25454
25807
|
readonly name: "tvl1";
|
|
25455
25808
|
readonly type: "uint256";
|
|
25456
25809
|
readonly internalType: "uint256";
|
|
25810
|
+
}, {
|
|
25811
|
+
readonly name: "blocksCount";
|
|
25812
|
+
readonly type: "uint256";
|
|
25813
|
+
readonly internalType: "uint256";
|
|
25457
25814
|
}];
|
|
25458
25815
|
readonly stateMutability: "view";
|
|
25459
25816
|
}], "getOptionsData", readonly [`0x${string}`, readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly {
|
|
@@ -26175,6 +26532,10 @@ declare const useLens: () => {
|
|
|
26175
26532
|
readonly name: "tvl1";
|
|
26176
26533
|
readonly type: "uint256";
|
|
26177
26534
|
readonly internalType: "uint256";
|
|
26535
|
+
}, {
|
|
26536
|
+
readonly name: "blocksCount";
|
|
26537
|
+
readonly type: "uint256";
|
|
26538
|
+
readonly internalType: "uint256";
|
|
26178
26539
|
}];
|
|
26179
26540
|
readonly stateMutability: "view";
|
|
26180
26541
|
}], "getPoolData", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<{
|
|
@@ -26888,6 +27249,10 @@ declare const useLens: () => {
|
|
|
26888
27249
|
readonly name: "tvl1";
|
|
26889
27250
|
readonly type: "uint256";
|
|
26890
27251
|
readonly internalType: "uint256";
|
|
27252
|
+
}, {
|
|
27253
|
+
readonly name: "blocksCount";
|
|
27254
|
+
readonly type: "uint256";
|
|
27255
|
+
readonly internalType: "uint256";
|
|
26891
27256
|
}];
|
|
26892
27257
|
readonly stateMutability: "view";
|
|
26893
27258
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
@@ -27590,6 +27955,10 @@ declare const useLens: () => {
|
|
|
27590
27955
|
readonly name: "tvl1";
|
|
27591
27956
|
readonly type: "uint256";
|
|
27592
27957
|
readonly internalType: "uint256";
|
|
27958
|
+
}, {
|
|
27959
|
+
readonly name: "blocksCount";
|
|
27960
|
+
readonly type: "uint256";
|
|
27961
|
+
readonly internalType: "uint256";
|
|
27593
27962
|
}];
|
|
27594
27963
|
readonly stateMutability: "view";
|
|
27595
27964
|
}], "getUserOptions", readonly [`0x${string}`, `0x${string}`, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly {
|
|
@@ -28311,9 +28680,13 @@ declare const useLens: () => {
|
|
|
28311
28680
|
readonly name: "tvl1";
|
|
28312
28681
|
readonly type: "uint256";
|
|
28313
28682
|
readonly internalType: "uint256";
|
|
28683
|
+
}, {
|
|
28684
|
+
readonly name: "blocksCount";
|
|
28685
|
+
readonly type: "uint256";
|
|
28686
|
+
readonly internalType: "uint256";
|
|
28314
28687
|
}];
|
|
28315
28688
|
readonly stateMutability: "view";
|
|
28316
|
-
}], "getVaultTVL", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint, bigint, bigint, bigint, bigint]>;
|
|
28689
|
+
}], "getVaultTVL", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint]>;
|
|
28317
28690
|
};
|
|
28318
28691
|
address: `0x${string}`;
|
|
28319
28692
|
abi: readonly [{
|
|
@@ -29015,10 +29388,15 @@ declare const useLens: () => {
|
|
|
29015
29388
|
readonly name: "tvl1";
|
|
29016
29389
|
readonly type: "uint256";
|
|
29017
29390
|
readonly internalType: "uint256";
|
|
29391
|
+
}, {
|
|
29392
|
+
readonly name: "blocksCount";
|
|
29393
|
+
readonly type: "uint256";
|
|
29394
|
+
readonly internalType: "uint256";
|
|
29018
29395
|
}];
|
|
29019
29396
|
readonly stateMutability: "view";
|
|
29020
29397
|
}];
|
|
29021
29398
|
} | undefined;
|
|
29022
29399
|
};
|
|
29023
29400
|
//#endregion
|
|
29024
|
-
export { LiquidityBlockData, OptionData, TimelockMarketProvider, UniswapPoolData, batchGetAmountsFromLiquidity, useActiveUserOptions, useBurnLiquidity, useClosedUserOptions, useCurrentMarket, useCurrentPrice, useCurrentTick, useExerciseOption, useLens, useLiquidityBlocks, useMarketData, useMaxPositionSize, useMintLiquidity, useMintOption, useOptionPnl, useOptionPremium, usePoolData, usePriceAtTick, useTimelockConfig, useVaultData, useVaultTVL };
|
|
29401
|
+
export { LiquidityBlockData, OptionData, TimelockMarketProvider, UniswapPoolData, batchGetAmountsFromLiquidity, useActiveUserOptions, useBurnLiquidity, useClosedUserOptions, useCurrentMarket, useCurrentPrice, useCurrentTick, useExerciseOption, useLens, useLiquidityBlocks, useMarketData, useMaxPositionSize, useMintLiquidity, useMintOption, useOptionPnl, useOptionPremium, usePoolData, usePriceAtTick, useTimelockConfig, useVaultData, useVaultTVL };
|
|
29402
|
+
//# sourceMappingURL=client.d.ts.map
|