timelock-sdk 0.0.18 → 0.0.20
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 +2 -1
- package/dist/abis.d.ts +2 -1
- package/dist/abis.js +4 -1
- package/dist/client.cjs +694 -4
- package/dist/client.cjs.map +1 -0
- package/dist/client.d.cts +372 -51
- package/dist/client.d.ts +372 -51
- package/dist/client.js +666 -4
- package/dist/client.js.map +1 -0
- package/dist/{index-CnaCnYLR.d.cts → index-8U83cr4t.d.cts} +93 -92
- package/dist/{index-DyZhOGnP.d.ts → index-BtLyBBZa.d.ts} +93 -92
- package/dist/numberUtils-B7BwWYfb.cjs +427 -1
- package/dist/numberUtils-B7BwWYfb.cjs.map +1 -0
- package/dist/numberUtils-DP-pDRRs.js +220 -1
- package/dist/numberUtils-DP-pDRRs.js.map +1 -0
- package/dist/optionsMarket-BsJTpwtl.js +2378 -1
- package/dist/optionsMarket-BsJTpwtl.js.map +1 -0
- package/dist/optionsMarket-BsK9z8z4.cjs +2402 -1
- package/dist/optionsMarket-BsK9z8z4.cjs.map +1 -0
- package/dist/package.cjs +32 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/dist/package.js +4 -1
- package/dist/uniswapMathLens-CsZDhwII.d.cts +2 -1
- package/dist/uniswapMathLens-SWLgAikn.d.ts +2 -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/client.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./uniswapMathLens-SWLgAikn.js";
|
|
2
|
-
import { Amount, TimelockMarketData, UniswapMathLens } from "./index-
|
|
3
|
-
import * as
|
|
2
|
+
import { Amount, TimelockMarketData, UniswapMathLens } from "./index-BtLyBBZa.js";
|
|
3
|
+
import * as viem0 from "viem";
|
|
4
4
|
import { Address } from "viem";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
6
6
|
import { GraphQLClient } from "graphql-request";
|
|
@@ -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,145 @@ 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;
|
|
2253
2433
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
2254
2434
|
tickLower: number;
|
|
2255
2435
|
tickUpper: number;
|
|
@@ -2260,7 +2440,147 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2260
2440
|
totalAmount1: bigint;
|
|
2261
2441
|
borrowedAmount0: bigint;
|
|
2262
2442
|
borrowedAmount1: bigint;
|
|
2263
|
-
}[],
|
|
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;
|
|
2549
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
2550
|
+
tickLower: number;
|
|
2551
|
+
tickUpper: number;
|
|
2552
|
+
prevTickLower: number;
|
|
2553
|
+
totalLiquidity: bigint;
|
|
2554
|
+
borrowedLiquidity: bigint;
|
|
2555
|
+
totalAmount0: bigint;
|
|
2556
|
+
totalAmount1: bigint;
|
|
2557
|
+
borrowedAmount0: bigint;
|
|
2558
|
+
borrowedAmount1: bigint;
|
|
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,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
2299
2619
|
totalAmount1: Amount | undefined;
|
|
2300
2620
|
borrowedAmount0: Amount | undefined;
|
|
2301
2621
|
borrowedAmount1: Amount | undefined;
|
|
2302
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint],
|
|
2622
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint], viem0.ReadContractErrorType>>;
|
|
2303
2623
|
};
|
|
2304
2624
|
//#endregion
|
|
2305
2625
|
//#region src/hooks/useLens.d.ts
|
|
2306
2626
|
declare const useLens: () => {
|
|
2307
2627
|
uniswapLens: {
|
|
2308
2628
|
read: {
|
|
2309
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
2629
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
2310
2630
|
readonly type: "function";
|
|
2311
2631
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
2312
2632
|
readonly inputs: readonly [{
|
|
@@ -2927,7 +3247,7 @@ declare const useLens: () => {
|
|
|
2927
3247
|
}];
|
|
2928
3248
|
readonly stateMutability: "pure";
|
|
2929
3249
|
}], "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?:
|
|
3250
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
2931
3251
|
readonly type: "function";
|
|
2932
3252
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
2933
3253
|
readonly inputs: readonly [{
|
|
@@ -3548,7 +3868,7 @@ declare const useLens: () => {
|
|
|
3548
3868
|
}];
|
|
3549
3869
|
readonly stateMutability: "pure";
|
|
3550
3870
|
}], "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?:
|
|
3871
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
3552
3872
|
readonly type: "function";
|
|
3553
3873
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
3554
3874
|
readonly inputs: readonly [{
|
|
@@ -4169,7 +4489,7 @@ declare const useLens: () => {
|
|
|
4169
4489
|
}];
|
|
4170
4490
|
readonly stateMutability: "pure";
|
|
4171
4491
|
}], "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?:
|
|
4492
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
4173
4493
|
readonly type: "function";
|
|
4174
4494
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
4175
4495
|
readonly inputs: readonly [{
|
|
@@ -4790,7 +5110,7 @@ declare const useLens: () => {
|
|
|
4790
5110
|
}];
|
|
4791
5111
|
readonly stateMutability: "pure";
|
|
4792
5112
|
}], "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?:
|
|
5113
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
4794
5114
|
readonly type: "function";
|
|
4795
5115
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
4796
5116
|
readonly inputs: readonly [{
|
|
@@ -5411,7 +5731,7 @@ declare const useLens: () => {
|
|
|
5411
5731
|
}];
|
|
5412
5732
|
readonly stateMutability: "pure";
|
|
5413
5733
|
}], "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?:
|
|
5734
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
5415
5735
|
readonly type: "function";
|
|
5416
5736
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
5417
5737
|
readonly inputs: readonly [{
|
|
@@ -6032,7 +6352,7 @@ declare const useLens: () => {
|
|
|
6032
6352
|
}];
|
|
6033
6353
|
readonly stateMutability: "pure";
|
|
6034
6354
|
}], "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?:
|
|
6355
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
6036
6356
|
readonly type: "function";
|
|
6037
6357
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
6038
6358
|
readonly inputs: readonly [{
|
|
@@ -6653,7 +6973,7 @@ declare const useLens: () => {
|
|
|
6653
6973
|
}];
|
|
6654
6974
|
readonly stateMutability: "pure";
|
|
6655
6975
|
}], "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?:
|
|
6976
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
6657
6977
|
readonly type: "function";
|
|
6658
6978
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
6659
6979
|
readonly inputs: readonly [{
|
|
@@ -7274,7 +7594,7 @@ declare const useLens: () => {
|
|
|
7274
7594
|
}];
|
|
7275
7595
|
readonly stateMutability: "pure";
|
|
7276
7596
|
}], "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?:
|
|
7597
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
7278
7598
|
readonly type: "function";
|
|
7279
7599
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7280
7600
|
readonly inputs: readonly [{
|
|
@@ -7895,7 +8215,7 @@ declare const useLens: () => {
|
|
|
7895
8215
|
}];
|
|
7896
8216
|
readonly stateMutability: "pure";
|
|
7897
8217
|
}], "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?:
|
|
8218
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
7899
8219
|
readonly type: "function";
|
|
7900
8220
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7901
8221
|
readonly inputs: readonly [{
|
|
@@ -8516,7 +8836,7 @@ declare const useLens: () => {
|
|
|
8516
8836
|
}];
|
|
8517
8837
|
readonly stateMutability: "pure";
|
|
8518
8838
|
}], "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?:
|
|
8839
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
8520
8840
|
readonly type: "function";
|
|
8521
8841
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
8522
8842
|
readonly inputs: readonly [{
|
|
@@ -9137,7 +9457,7 @@ declare const useLens: () => {
|
|
|
9137
9457
|
}];
|
|
9138
9458
|
readonly stateMutability: "pure";
|
|
9139
9459
|
}], "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?:
|
|
9460
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
9141
9461
|
readonly type: "function";
|
|
9142
9462
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9143
9463
|
readonly inputs: readonly [{
|
|
@@ -9758,7 +10078,7 @@ declare const useLens: () => {
|
|
|
9758
10078
|
}];
|
|
9759
10079
|
readonly stateMutability: "pure";
|
|
9760
10080
|
}], "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?:
|
|
10081
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
9762
10082
|
readonly type: "function";
|
|
9763
10083
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9764
10084
|
readonly inputs: readonly [{
|
|
@@ -10379,7 +10699,7 @@ declare const useLens: () => {
|
|
|
10379
10699
|
}];
|
|
10380
10700
|
readonly stateMutability: "pure";
|
|
10381
10701
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10382
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
10702
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
10383
10703
|
readonly type: "function";
|
|
10384
10704
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10385
10705
|
readonly inputs: readonly [{
|
|
@@ -11000,7 +11320,7 @@ declare const useLens: () => {
|
|
|
11000
11320
|
}];
|
|
11001
11321
|
readonly stateMutability: "pure";
|
|
11002
11322
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
11003
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
11323
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
11004
11324
|
readonly type: "function";
|
|
11005
11325
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
11006
11326
|
readonly inputs: readonly [{
|
|
@@ -11621,7 +11941,7 @@ declare const useLens: () => {
|
|
|
11621
11941
|
}];
|
|
11622
11942
|
readonly stateMutability: "pure";
|
|
11623
11943
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
11624
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
11944
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
11625
11945
|
readonly type: "function";
|
|
11626
11946
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
11627
11947
|
readonly inputs: readonly [{
|
|
@@ -12242,7 +12562,7 @@ declare const useLens: () => {
|
|
|
12242
12562
|
}];
|
|
12243
12563
|
readonly stateMutability: "pure";
|
|
12244
12564
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
12245
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
12565
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
12246
12566
|
readonly type: "function";
|
|
12247
12567
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12248
12568
|
readonly inputs: readonly [{
|
|
@@ -12863,7 +13183,7 @@ declare const useLens: () => {
|
|
|
12863
13183
|
}];
|
|
12864
13184
|
readonly stateMutability: "pure";
|
|
12865
13185
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
12866
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
13186
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
12867
13187
|
readonly type: "function";
|
|
12868
13188
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12869
13189
|
readonly inputs: readonly [{
|
|
@@ -13484,7 +13804,7 @@ declare const useLens: () => {
|
|
|
13484
13804
|
}];
|
|
13485
13805
|
readonly stateMutability: "pure";
|
|
13486
13806
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
13487
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
13807
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
13488
13808
|
readonly type: "function";
|
|
13489
13809
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13490
13810
|
readonly inputs: readonly [{
|
|
@@ -14105,7 +14425,7 @@ declare const useLens: () => {
|
|
|
14105
14425
|
}];
|
|
14106
14426
|
readonly stateMutability: "pure";
|
|
14107
14427
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
14108
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
14428
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
14109
14429
|
readonly type: "function";
|
|
14110
14430
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14111
14431
|
readonly inputs: readonly [{
|
|
@@ -14726,7 +15046,7 @@ declare const useLens: () => {
|
|
|
14726
15046
|
}];
|
|
14727
15047
|
readonly stateMutability: "pure";
|
|
14728
15048
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
14729
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
15049
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
14730
15050
|
readonly type: "function";
|
|
14731
15051
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14732
15052
|
readonly inputs: readonly [{
|
|
@@ -15347,7 +15667,7 @@ declare const useLens: () => {
|
|
|
15347
15667
|
}];
|
|
15348
15668
|
readonly stateMutability: "pure";
|
|
15349
15669
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15350
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
15670
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
15351
15671
|
readonly type: "function";
|
|
15352
15672
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15353
15673
|
readonly inputs: readonly [{
|
|
@@ -15968,7 +16288,7 @@ declare const useLens: () => {
|
|
|
15968
16288
|
}];
|
|
15969
16289
|
readonly stateMutability: "pure";
|
|
15970
16290
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15971
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
16291
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
15972
16292
|
readonly type: "function";
|
|
15973
16293
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15974
16294
|
readonly inputs: readonly [{
|
|
@@ -16589,7 +16909,7 @@ declare const useLens: () => {
|
|
|
16589
16909
|
}];
|
|
16590
16910
|
readonly stateMutability: "pure";
|
|
16591
16911
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
16592
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
16912
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
16593
16913
|
readonly type: "function";
|
|
16594
16914
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16595
16915
|
readonly inputs: readonly [{
|
|
@@ -17210,7 +17530,7 @@ declare const useLens: () => {
|
|
|
17210
17530
|
}];
|
|
17211
17531
|
readonly stateMutability: "pure";
|
|
17212
17532
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
17213
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
17533
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
17214
17534
|
readonly type: "function";
|
|
17215
17535
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17216
17536
|
readonly inputs: readonly [{
|
|
@@ -17831,7 +18151,7 @@ declare const useLens: () => {
|
|
|
17831
18151
|
}];
|
|
17832
18152
|
readonly stateMutability: "pure";
|
|
17833
18153
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
17834
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
18154
|
+
getPriceAtTick: (args: readonly [number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
17835
18155
|
readonly type: "function";
|
|
17836
18156
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17837
18157
|
readonly inputs: readonly [{
|
|
@@ -19078,7 +19398,7 @@ declare const useLens: () => {
|
|
|
19078
19398
|
} | undefined;
|
|
19079
19399
|
timelockLens: {
|
|
19080
19400
|
read: {
|
|
19081
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
19401
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
19082
19402
|
readonly type: "function";
|
|
19083
19403
|
readonly name: "batchGetRefTick";
|
|
19084
19404
|
readonly inputs: readonly [{
|
|
@@ -19780,7 +20100,7 @@ declare const useLens: () => {
|
|
|
19780
20100
|
}];
|
|
19781
20101
|
readonly stateMutability: "view";
|
|
19782
20102
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
19783
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
20103
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
19784
20104
|
readonly type: "function";
|
|
19785
20105
|
readonly name: "batchGetRefTick";
|
|
19786
20106
|
readonly inputs: readonly [{
|
|
@@ -20492,7 +20812,7 @@ declare const useLens: () => {
|
|
|
20492
20812
|
borrowedAmount0: bigint;
|
|
20493
20813
|
borrowedAmount1: bigint;
|
|
20494
20814
|
}[]>;
|
|
20495
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
20815
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
20496
20816
|
readonly type: "function";
|
|
20497
20817
|
readonly name: "batchGetRefTick";
|
|
20498
20818
|
readonly inputs: readonly [{
|
|
@@ -21213,7 +21533,7 @@ declare const useLens: () => {
|
|
|
21213
21533
|
createdAt: bigint;
|
|
21214
21534
|
liquidities: readonly bigint[];
|
|
21215
21535
|
}[], bigint, boolean]>;
|
|
21216
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
21536
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
21217
21537
|
readonly type: "function";
|
|
21218
21538
|
readonly name: "batchGetRefTick";
|
|
21219
21539
|
readonly inputs: readonly [{
|
|
@@ -21915,7 +22235,7 @@ declare const useLens: () => {
|
|
|
21915
22235
|
}];
|
|
21916
22236
|
readonly stateMutability: "view";
|
|
21917
22237
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
21918
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
22238
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
21919
22239
|
readonly type: "function";
|
|
21920
22240
|
readonly name: "batchGetRefTick";
|
|
21921
22241
|
readonly inputs: readonly [{
|
|
@@ -22630,7 +22950,7 @@ declare const useLens: () => {
|
|
|
22630
22950
|
payoutAssetName: string;
|
|
22631
22951
|
optionsCount: bigint;
|
|
22632
22952
|
}>;
|
|
22633
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
22953
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
22634
22954
|
readonly type: "function";
|
|
22635
22955
|
readonly name: "batchGetRefTick";
|
|
22636
22956
|
readonly inputs: readonly [{
|
|
@@ -23332,7 +23652,7 @@ declare const useLens: () => {
|
|
|
23332
23652
|
}];
|
|
23333
23653
|
readonly stateMutability: "view";
|
|
23334
23654
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
23335
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
23655
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
23336
23656
|
readonly type: "function";
|
|
23337
23657
|
readonly name: "batchGetRefTick";
|
|
23338
23658
|
readonly inputs: readonly [{
|
|
@@ -24034,7 +24354,7 @@ declare const useLens: () => {
|
|
|
24034
24354
|
}];
|
|
24035
24355
|
readonly stateMutability: "view";
|
|
24036
24356
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
24037
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
24357
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
24038
24358
|
readonly type: "function";
|
|
24039
24359
|
readonly name: "batchGetRefTick";
|
|
24040
24360
|
readonly inputs: readonly [{
|
|
@@ -24755,7 +25075,7 @@ declare const useLens: () => {
|
|
|
24755
25075
|
createdAt: bigint;
|
|
24756
25076
|
liquidities: readonly bigint[];
|
|
24757
25077
|
}>;
|
|
24758
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
25078
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
24759
25079
|
readonly type: "function";
|
|
24760
25080
|
readonly name: "batchGetRefTick";
|
|
24761
25081
|
readonly inputs: readonly [{
|
|
@@ -25476,7 +25796,7 @@ declare const useLens: () => {
|
|
|
25476
25796
|
createdAt: bigint;
|
|
25477
25797
|
liquidities: readonly bigint[];
|
|
25478
25798
|
}[]>;
|
|
25479
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
25799
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
25480
25800
|
readonly type: "function";
|
|
25481
25801
|
readonly name: "batchGetRefTick";
|
|
25482
25802
|
readonly inputs: readonly [{
|
|
@@ -26189,7 +26509,7 @@ declare const useLens: () => {
|
|
|
26189
26509
|
tickSpacing: number;
|
|
26190
26510
|
fee: number;
|
|
26191
26511
|
}>;
|
|
26192
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
26512
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
26193
26513
|
readonly type: "function";
|
|
26194
26514
|
readonly name: "batchGetRefTick";
|
|
26195
26515
|
readonly inputs: readonly [{
|
|
@@ -26891,7 +27211,7 @@ declare const useLens: () => {
|
|
|
26891
27211
|
}];
|
|
26892
27212
|
readonly stateMutability: "view";
|
|
26893
27213
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
26894
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
27214
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
26895
27215
|
readonly type: "function";
|
|
26896
27216
|
readonly name: "batchGetRefTick";
|
|
26897
27217
|
readonly inputs: readonly [{
|
|
@@ -27612,7 +27932,7 @@ declare const useLens: () => {
|
|
|
27612
27932
|
createdAt: bigint;
|
|
27613
27933
|
liquidities: readonly bigint[];
|
|
27614
27934
|
}[], bigint, boolean]>;
|
|
27615
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
27935
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
27616
27936
|
readonly type: "function";
|
|
27617
27937
|
readonly name: "batchGetRefTick";
|
|
27618
27938
|
readonly inputs: readonly [{
|
|
@@ -29021,4 +29341,5 @@ declare const useLens: () => {
|
|
|
29021
29341
|
} | undefined;
|
|
29022
29342
|
};
|
|
29023
29343
|
//#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 };
|
|
29344
|
+
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 };
|
|
29345
|
+
//# sourceMappingURL=client.d.ts.map
|