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.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./uniswapMathLens-
|
|
2
|
-
import { Amount, TimelockMarketData, UniswapMathLens } from "./index-
|
|
1
|
+
import "./uniswapMathLens-B1MIL2yT.cjs";
|
|
2
|
+
import { Amount, TimelockMarketData, UniswapMathLens } from "./index-B7b3c8cu.cjs";
|
|
3
3
|
import "graphql";
|
|
4
4
|
import "graphql-request";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
6
|
-
import * as
|
|
6
|
+
import * as viem0 from "viem";
|
|
7
7
|
import { Address } from "viem";
|
|
8
8
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
9
9
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
@@ -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: viem0.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: viem0.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
|
+
}[], viem0.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: viem0.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
|
+
}[], viem0.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: viem0.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: viem0.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
|
+
}[], viem0.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: viem0.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
|
+
}[], viem0.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: viem0.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
|
+
}[], viem0.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: viem0.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
|
+
}[], viem0.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,14 +2619,15 @@ 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], viem0.ReadContractErrorType>>;
|
|
2303
2624
|
};
|
|
2304
2625
|
//#endregion
|
|
2305
2626
|
//#region src/hooks/useLens.d.ts
|
|
2306
2627
|
declare const useLens: () => {
|
|
2307
2628
|
uniswapLens: {
|
|
2308
2629
|
read: {
|
|
2309
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
2630
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
2310
2631
|
readonly type: "function";
|
|
2311
2632
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
2312
2633
|
readonly inputs: readonly [{
|
|
@@ -2927,7 +3248,7 @@ declare const useLens: () => {
|
|
|
2927
3248
|
}];
|
|
2928
3249
|
readonly stateMutability: "pure";
|
|
2929
3250
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
2930
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
3251
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
2931
3252
|
readonly type: "function";
|
|
2932
3253
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
2933
3254
|
readonly inputs: readonly [{
|
|
@@ -3548,7 +3869,7 @@ declare const useLens: () => {
|
|
|
3548
3869
|
}];
|
|
3549
3870
|
readonly stateMutability: "pure";
|
|
3550
3871
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
3551
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
3872
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
3552
3873
|
readonly type: "function";
|
|
3553
3874
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
3554
3875
|
readonly inputs: readonly [{
|
|
@@ -4169,7 +4490,7 @@ declare const useLens: () => {
|
|
|
4169
4490
|
}];
|
|
4170
4491
|
readonly stateMutability: "pure";
|
|
4171
4492
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
4172
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
4493
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
4173
4494
|
readonly type: "function";
|
|
4174
4495
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
4175
4496
|
readonly inputs: readonly [{
|
|
@@ -4790,7 +5111,7 @@ declare const useLens: () => {
|
|
|
4790
5111
|
}];
|
|
4791
5112
|
readonly stateMutability: "pure";
|
|
4792
5113
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
4793
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
5114
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
4794
5115
|
readonly type: "function";
|
|
4795
5116
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
4796
5117
|
readonly inputs: readonly [{
|
|
@@ -5411,7 +5732,7 @@ declare const useLens: () => {
|
|
|
5411
5732
|
}];
|
|
5412
5733
|
readonly stateMutability: "pure";
|
|
5413
5734
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
5414
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
5735
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
5415
5736
|
readonly type: "function";
|
|
5416
5737
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
5417
5738
|
readonly inputs: readonly [{
|
|
@@ -6032,7 +6353,7 @@ declare const useLens: () => {
|
|
|
6032
6353
|
}];
|
|
6033
6354
|
readonly stateMutability: "pure";
|
|
6034
6355
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
6035
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
6356
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
6036
6357
|
readonly type: "function";
|
|
6037
6358
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
6038
6359
|
readonly inputs: readonly [{
|
|
@@ -6653,7 +6974,7 @@ declare const useLens: () => {
|
|
|
6653
6974
|
}];
|
|
6654
6975
|
readonly stateMutability: "pure";
|
|
6655
6976
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
6656
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
6977
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
6657
6978
|
readonly type: "function";
|
|
6658
6979
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
6659
6980
|
readonly inputs: readonly [{
|
|
@@ -7274,7 +7595,7 @@ declare const useLens: () => {
|
|
|
7274
7595
|
}];
|
|
7275
7596
|
readonly stateMutability: "pure";
|
|
7276
7597
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7277
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
7598
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
7278
7599
|
readonly type: "function";
|
|
7279
7600
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7280
7601
|
readonly inputs: readonly [{
|
|
@@ -7895,7 +8216,7 @@ declare const useLens: () => {
|
|
|
7895
8216
|
}];
|
|
7896
8217
|
readonly stateMutability: "pure";
|
|
7897
8218
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7898
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
8219
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
7899
8220
|
readonly type: "function";
|
|
7900
8221
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7901
8222
|
readonly inputs: readonly [{
|
|
@@ -8516,7 +8837,7 @@ declare const useLens: () => {
|
|
|
8516
8837
|
}];
|
|
8517
8838
|
readonly stateMutability: "pure";
|
|
8518
8839
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
8519
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
8840
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
8520
8841
|
readonly type: "function";
|
|
8521
8842
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
8522
8843
|
readonly inputs: readonly [{
|
|
@@ -9137,7 +9458,7 @@ declare const useLens: () => {
|
|
|
9137
9458
|
}];
|
|
9138
9459
|
readonly stateMutability: "pure";
|
|
9139
9460
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
9140
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
9461
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
9141
9462
|
readonly type: "function";
|
|
9142
9463
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9143
9464
|
readonly inputs: readonly [{
|
|
@@ -9758,7 +10079,7 @@ declare const useLens: () => {
|
|
|
9758
10079
|
}];
|
|
9759
10080
|
readonly stateMutability: "pure";
|
|
9760
10081
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
9761
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
10082
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
9762
10083
|
readonly type: "function";
|
|
9763
10084
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9764
10085
|
readonly inputs: readonly [{
|
|
@@ -10379,7 +10700,7 @@ declare const useLens: () => {
|
|
|
10379
10700
|
}];
|
|
10380
10701
|
readonly stateMutability: "pure";
|
|
10381
10702
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10382
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
10703
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
10383
10704
|
readonly type: "function";
|
|
10384
10705
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10385
10706
|
readonly inputs: readonly [{
|
|
@@ -11000,7 +11321,7 @@ declare const useLens: () => {
|
|
|
11000
11321
|
}];
|
|
11001
11322
|
readonly stateMutability: "pure";
|
|
11002
11323
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
11003
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
11324
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
11004
11325
|
readonly type: "function";
|
|
11005
11326
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
11006
11327
|
readonly inputs: readonly [{
|
|
@@ -11621,7 +11942,7 @@ declare const useLens: () => {
|
|
|
11621
11942
|
}];
|
|
11622
11943
|
readonly stateMutability: "pure";
|
|
11623
11944
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
11624
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
11945
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
11625
11946
|
readonly type: "function";
|
|
11626
11947
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
11627
11948
|
readonly inputs: readonly [{
|
|
@@ -12242,7 +12563,7 @@ declare const useLens: () => {
|
|
|
12242
12563
|
}];
|
|
12243
12564
|
readonly stateMutability: "pure";
|
|
12244
12565
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
12245
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
12566
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
12246
12567
|
readonly type: "function";
|
|
12247
12568
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12248
12569
|
readonly inputs: readonly [{
|
|
@@ -12863,7 +13184,7 @@ declare const useLens: () => {
|
|
|
12863
13184
|
}];
|
|
12864
13185
|
readonly stateMutability: "pure";
|
|
12865
13186
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
12866
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
13187
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
12867
13188
|
readonly type: "function";
|
|
12868
13189
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12869
13190
|
readonly inputs: readonly [{
|
|
@@ -13484,7 +13805,7 @@ declare const useLens: () => {
|
|
|
13484
13805
|
}];
|
|
13485
13806
|
readonly stateMutability: "pure";
|
|
13486
13807
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
13487
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
13808
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
13488
13809
|
readonly type: "function";
|
|
13489
13810
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13490
13811
|
readonly inputs: readonly [{
|
|
@@ -14105,7 +14426,7 @@ declare const useLens: () => {
|
|
|
14105
14426
|
}];
|
|
14106
14427
|
readonly stateMutability: "pure";
|
|
14107
14428
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
14108
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
14429
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
14109
14430
|
readonly type: "function";
|
|
14110
14431
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14111
14432
|
readonly inputs: readonly [{
|
|
@@ -14726,7 +15047,7 @@ declare const useLens: () => {
|
|
|
14726
15047
|
}];
|
|
14727
15048
|
readonly stateMutability: "pure";
|
|
14728
15049
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
14729
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
15050
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
14730
15051
|
readonly type: "function";
|
|
14731
15052
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14732
15053
|
readonly inputs: readonly [{
|
|
@@ -15347,7 +15668,7 @@ declare const useLens: () => {
|
|
|
15347
15668
|
}];
|
|
15348
15669
|
readonly stateMutability: "pure";
|
|
15349
15670
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15350
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
15671
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
15351
15672
|
readonly type: "function";
|
|
15352
15673
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15353
15674
|
readonly inputs: readonly [{
|
|
@@ -15968,7 +16289,7 @@ declare const useLens: () => {
|
|
|
15968
16289
|
}];
|
|
15969
16290
|
readonly stateMutability: "pure";
|
|
15970
16291
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15971
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
16292
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
15972
16293
|
readonly type: "function";
|
|
15973
16294
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15974
16295
|
readonly inputs: readonly [{
|
|
@@ -16589,7 +16910,7 @@ declare const useLens: () => {
|
|
|
16589
16910
|
}];
|
|
16590
16911
|
readonly stateMutability: "pure";
|
|
16591
16912
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
16592
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
16913
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
16593
16914
|
readonly type: "function";
|
|
16594
16915
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16595
16916
|
readonly inputs: readonly [{
|
|
@@ -17210,7 +17531,7 @@ declare const useLens: () => {
|
|
|
17210
17531
|
}];
|
|
17211
17532
|
readonly stateMutability: "pure";
|
|
17212
17533
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
17213
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
17534
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
17214
17535
|
readonly type: "function";
|
|
17215
17536
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17216
17537
|
readonly inputs: readonly [{
|
|
@@ -17831,7 +18152,7 @@ declare const useLens: () => {
|
|
|
17831
18152
|
}];
|
|
17832
18153
|
readonly stateMutability: "pure";
|
|
17833
18154
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
17834
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
18155
|
+
getPriceAtTick: (args: readonly [number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
17835
18156
|
readonly type: "function";
|
|
17836
18157
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17837
18158
|
readonly inputs: readonly [{
|
|
@@ -19078,7 +19399,7 @@ declare const useLens: () => {
|
|
|
19078
19399
|
} | undefined;
|
|
19079
19400
|
timelockLens: {
|
|
19080
19401
|
read: {
|
|
19081
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
19402
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
19082
19403
|
readonly type: "function";
|
|
19083
19404
|
readonly name: "batchGetRefTick";
|
|
19084
19405
|
readonly inputs: readonly [{
|
|
@@ -19777,10 +20098,14 @@ 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[]>;
|
|
19783
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
20108
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
19784
20109
|
readonly type: "function";
|
|
19785
20110
|
readonly name: "batchGetRefTick";
|
|
19786
20111
|
readonly inputs: readonly [{
|
|
@@ -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 {
|
|
@@ -20492,7 +20821,7 @@ declare const useLens: () => {
|
|
|
20492
20821
|
borrowedAmount0: bigint;
|
|
20493
20822
|
borrowedAmount1: bigint;
|
|
20494
20823
|
}[]>;
|
|
20495
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
20824
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
20496
20825
|
readonly type: "function";
|
|
20497
20826
|
readonly name: "batchGetRefTick";
|
|
20498
20827
|
readonly inputs: 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 {
|
|
@@ -21213,7 +21546,7 @@ declare const useLens: () => {
|
|
|
21213
21546
|
createdAt: bigint;
|
|
21214
21547
|
liquidities: readonly bigint[];
|
|
21215
21548
|
}[], bigint, boolean]>;
|
|
21216
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
21549
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
21217
21550
|
readonly type: "function";
|
|
21218
21551
|
readonly name: "batchGetRefTick";
|
|
21219
21552
|
readonly inputs: readonly [{
|
|
@@ -21912,10 +22245,14 @@ 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]>;
|
|
21918
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
22255
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
21919
22256
|
readonly type: "function";
|
|
21920
22257
|
readonly name: "batchGetRefTick";
|
|
21921
22258
|
readonly inputs: readonly [{
|
|
@@ -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<{
|
|
@@ -22630,7 +22971,7 @@ declare const useLens: () => {
|
|
|
22630
22971
|
payoutAssetName: string;
|
|
22631
22972
|
optionsCount: bigint;
|
|
22632
22973
|
}>;
|
|
22633
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
22974
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
22634
22975
|
readonly type: "function";
|
|
22635
22976
|
readonly name: "batchGetRefTick";
|
|
22636
22977
|
readonly inputs: readonly [{
|
|
@@ -23329,10 +23670,14 @@ 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]>;
|
|
23335
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
23680
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
23336
23681
|
readonly type: "function";
|
|
23337
23682
|
readonly name: "batchGetRefTick";
|
|
23338
23683
|
readonly inputs: readonly [{
|
|
@@ -24031,10 +24376,14 @@ 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]>;
|
|
24037
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
24386
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
24038
24387
|
readonly type: "function";
|
|
24039
24388
|
readonly name: "batchGetRefTick";
|
|
24040
24389
|
readonly inputs: readonly [{
|
|
@@ -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<{
|
|
@@ -24755,7 +25108,7 @@ declare const useLens: () => {
|
|
|
24755
25108
|
createdAt: bigint;
|
|
24756
25109
|
liquidities: readonly bigint[];
|
|
24757
25110
|
}>;
|
|
24758
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
25111
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
24759
25112
|
readonly type: "function";
|
|
24760
25113
|
readonly name: "batchGetRefTick";
|
|
24761
25114
|
readonly inputs: readonly [{
|
|
@@ -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 {
|
|
@@ -25476,7 +25833,7 @@ declare const useLens: () => {
|
|
|
25476
25833
|
createdAt: bigint;
|
|
25477
25834
|
liquidities: readonly bigint[];
|
|
25478
25835
|
}[]>;
|
|
25479
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
25836
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
25480
25837
|
readonly type: "function";
|
|
25481
25838
|
readonly name: "batchGetRefTick";
|
|
25482
25839
|
readonly inputs: 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<{
|
|
@@ -26189,7 +26550,7 @@ declare const useLens: () => {
|
|
|
26189
26550
|
tickSpacing: number;
|
|
26190
26551
|
fee: number;
|
|
26191
26552
|
}>;
|
|
26192
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
26553
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
26193
26554
|
readonly type: "function";
|
|
26194
26555
|
readonly name: "batchGetRefTick";
|
|
26195
26556
|
readonly inputs: readonly [{
|
|
@@ -26888,10 +27249,14 @@ 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>;
|
|
26894
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
27259
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
26895
27260
|
readonly type: "function";
|
|
26896
27261
|
readonly name: "batchGetRefTick";
|
|
26897
27262
|
readonly inputs: readonly [{
|
|
@@ -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 {
|
|
@@ -27612,7 +27981,7 @@ declare const useLens: () => {
|
|
|
27612
27981
|
createdAt: bigint;
|
|
27613
27982
|
liquidities: readonly bigint[];
|
|
27614
27983
|
}[], bigint, boolean]>;
|
|
27615
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
27984
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
27616
27985
|
readonly type: "function";
|
|
27617
27986
|
readonly name: "batchGetRefTick";
|
|
27618
27987
|
readonly inputs: 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.cts.map
|