timelock-sdk 0.0.43 → 0.0.45
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/client.cjs +22 -12
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +58 -66
- package/dist/client.d.ts +59 -67
- package/dist/client.js +23 -13
- package/dist/client.js.map +1 -1
- package/dist/{index-CRhFaRiq.d.ts → index-B20z73_3.d.ts} +92 -92
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
package/dist/client.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./uniswapMathLens-B1MIL2yT.cjs";
|
|
2
2
|
import { Amount, TimelockMarketData, UniswapMathLens } from "./index-CA5kB-yT.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as viem249 from "viem";
|
|
4
4
|
import { Address } from "viem";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
6
6
|
import "graphql";
|
|
@@ -2285,17 +2285,9 @@ declare const useMintOption: (marketAddr?: Address) => {
|
|
|
2285
2285
|
};
|
|
2286
2286
|
//#endregion
|
|
2287
2287
|
//#region src/hooks/market/useOptionPnl.d.ts
|
|
2288
|
-
declare const useOptionPnl: (
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
positionSizeCurrent: bigint;
|
|
2292
|
-
strikePrice: bigint;
|
|
2293
|
-
}) => {
|
|
2294
|
-
unrealizedPayout?: undefined;
|
|
2295
|
-
displayPnl?: undefined;
|
|
2296
|
-
} | {
|
|
2297
|
-
unrealizedPayout: Amount;
|
|
2298
|
-
displayPnl: Amount;
|
|
2288
|
+
declare const useOptionPnl: (option: OptionData) => {
|
|
2289
|
+
unrealizedPayout: {};
|
|
2290
|
+
displayPnl: {};
|
|
2299
2291
|
};
|
|
2300
2292
|
//#endregion
|
|
2301
2293
|
//#region src/hooks/market/useOptionPremium.d.ts
|
|
@@ -2365,7 +2357,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
2365
2357
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
2366
2358
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
2367
2359
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
2368
|
-
error:
|
|
2360
|
+
error: viem249.ReadContractErrorType;
|
|
2369
2361
|
isError: true;
|
|
2370
2362
|
isPending: false;
|
|
2371
2363
|
isLoading: false;
|
|
@@ -2377,7 +2369,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2377
2369
|
dataUpdatedAt: number;
|
|
2378
2370
|
errorUpdatedAt: number;
|
|
2379
2371
|
failureCount: number;
|
|
2380
|
-
failureReason:
|
|
2372
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2381
2373
|
errorUpdateCount: number;
|
|
2382
2374
|
isFetched: boolean;
|
|
2383
2375
|
isFetchedAfterMount: boolean;
|
|
@@ -2397,7 +2389,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2397
2389
|
totalAmount1: bigint;
|
|
2398
2390
|
borrowedAmount0: bigint;
|
|
2399
2391
|
borrowedAmount1: bigint;
|
|
2400
|
-
}[],
|
|
2392
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2401
2393
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2402
2394
|
promise: Promise<readonly {
|
|
2403
2395
|
tickLower: number;
|
|
@@ -2435,7 +2427,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2435
2427
|
dataUpdatedAt: number;
|
|
2436
2428
|
errorUpdatedAt: number;
|
|
2437
2429
|
failureCount: number;
|
|
2438
|
-
failureReason:
|
|
2430
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2439
2431
|
errorUpdateCount: number;
|
|
2440
2432
|
isFetched: boolean;
|
|
2441
2433
|
isFetchedAfterMount: boolean;
|
|
@@ -2455,7 +2447,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2455
2447
|
totalAmount1: bigint;
|
|
2456
2448
|
borrowedAmount0: bigint;
|
|
2457
2449
|
borrowedAmount1: bigint;
|
|
2458
|
-
}[],
|
|
2450
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2459
2451
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2460
2452
|
promise: Promise<readonly {
|
|
2461
2453
|
tickLower: number;
|
|
@@ -2481,7 +2473,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2481
2473
|
borrowedAmount1: bigint;
|
|
2482
2474
|
}[];
|
|
2483
2475
|
} | {
|
|
2484
|
-
error:
|
|
2476
|
+
error: viem249.ReadContractErrorType;
|
|
2485
2477
|
isError: true;
|
|
2486
2478
|
isPending: false;
|
|
2487
2479
|
isLoading: false;
|
|
@@ -2493,7 +2485,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2493
2485
|
dataUpdatedAt: number;
|
|
2494
2486
|
errorUpdatedAt: number;
|
|
2495
2487
|
failureCount: number;
|
|
2496
|
-
failureReason:
|
|
2488
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2497
2489
|
errorUpdateCount: number;
|
|
2498
2490
|
isFetched: boolean;
|
|
2499
2491
|
isFetchedAfterMount: boolean;
|
|
@@ -2513,7 +2505,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2513
2505
|
totalAmount1: bigint;
|
|
2514
2506
|
borrowedAmount0: bigint;
|
|
2515
2507
|
borrowedAmount1: bigint;
|
|
2516
|
-
}[],
|
|
2508
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2517
2509
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2518
2510
|
promise: Promise<readonly {
|
|
2519
2511
|
tickLower: number;
|
|
@@ -2551,7 +2543,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2551
2543
|
dataUpdatedAt: number;
|
|
2552
2544
|
errorUpdatedAt: number;
|
|
2553
2545
|
failureCount: number;
|
|
2554
|
-
failureReason:
|
|
2546
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2555
2547
|
errorUpdateCount: number;
|
|
2556
2548
|
isFetched: boolean;
|
|
2557
2549
|
isFetchedAfterMount: boolean;
|
|
@@ -2571,7 +2563,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2571
2563
|
totalAmount1: bigint;
|
|
2572
2564
|
borrowedAmount0: bigint;
|
|
2573
2565
|
borrowedAmount1: bigint;
|
|
2574
|
-
}[],
|
|
2566
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2575
2567
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2576
2568
|
promise: Promise<readonly {
|
|
2577
2569
|
tickLower: number;
|
|
@@ -2608,7 +2600,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2608
2600
|
dataUpdatedAt: number;
|
|
2609
2601
|
errorUpdatedAt: number;
|
|
2610
2602
|
failureCount: number;
|
|
2611
|
-
failureReason:
|
|
2603
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2612
2604
|
errorUpdateCount: number;
|
|
2613
2605
|
isFetched: boolean;
|
|
2614
2606
|
isFetchedAfterMount: boolean;
|
|
@@ -2629,7 +2621,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2629
2621
|
totalAmount1: bigint;
|
|
2630
2622
|
borrowedAmount0: bigint;
|
|
2631
2623
|
borrowedAmount1: bigint;
|
|
2632
|
-
}[],
|
|
2624
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2633
2625
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2634
2626
|
promise: Promise<readonly {
|
|
2635
2627
|
tickLower: number;
|
|
@@ -2667,7 +2659,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2667
2659
|
dataUpdatedAt: number;
|
|
2668
2660
|
errorUpdatedAt: number;
|
|
2669
2661
|
failureCount: number;
|
|
2670
|
-
failureReason:
|
|
2662
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2671
2663
|
errorUpdateCount: number;
|
|
2672
2664
|
isFetched: boolean;
|
|
2673
2665
|
isFetchedAfterMount: boolean;
|
|
@@ -2687,7 +2679,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2687
2679
|
totalAmount1: bigint;
|
|
2688
2680
|
borrowedAmount0: bigint;
|
|
2689
2681
|
borrowedAmount1: bigint;
|
|
2690
|
-
}[],
|
|
2682
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2691
2683
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2692
2684
|
promise: Promise<readonly {
|
|
2693
2685
|
tickLower: number;
|
|
@@ -2760,14 +2752,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
2760
2752
|
borrowedAmount0: Amount;
|
|
2761
2753
|
borrowedAmount1: Amount;
|
|
2762
2754
|
blocksCount: bigint;
|
|
2763
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint],
|
|
2755
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem249.ReadContractErrorType>>;
|
|
2764
2756
|
};
|
|
2765
2757
|
//#endregion
|
|
2766
2758
|
//#region src/hooks/useLens.d.ts
|
|
2767
2759
|
declare const useLens: () => {
|
|
2768
2760
|
timelockLens: {
|
|
2769
2761
|
read: {
|
|
2770
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
2762
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
2771
2763
|
readonly type: "function";
|
|
2772
2764
|
readonly name: "batchGetRefTick";
|
|
2773
2765
|
readonly inputs: readonly [{
|
|
@@ -3473,7 +3465,7 @@ declare const useLens: () => {
|
|
|
3473
3465
|
}];
|
|
3474
3466
|
readonly stateMutability: "view";
|
|
3475
3467
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
3476
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
3468
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
3477
3469
|
readonly type: "function";
|
|
3478
3470
|
readonly name: "batchGetRefTick";
|
|
3479
3471
|
readonly inputs: readonly [{
|
|
@@ -4189,7 +4181,7 @@ declare const useLens: () => {
|
|
|
4189
4181
|
borrowedAmount0: bigint;
|
|
4190
4182
|
borrowedAmount1: bigint;
|
|
4191
4183
|
}[]>;
|
|
4192
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
4184
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
4193
4185
|
readonly type: "function";
|
|
4194
4186
|
readonly name: "batchGetRefTick";
|
|
4195
4187
|
readonly inputs: readonly [{
|
|
@@ -4914,7 +4906,7 @@ declare const useLens: () => {
|
|
|
4914
4906
|
createdAt: bigint;
|
|
4915
4907
|
liquidities: readonly bigint[];
|
|
4916
4908
|
}[], bigint, boolean]>;
|
|
4917
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
4909
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
4918
4910
|
readonly type: "function";
|
|
4919
4911
|
readonly name: "batchGetRefTick";
|
|
4920
4912
|
readonly inputs: readonly [{
|
|
@@ -5620,7 +5612,7 @@ declare const useLens: () => {
|
|
|
5620
5612
|
}];
|
|
5621
5613
|
readonly stateMutability: "view";
|
|
5622
5614
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
5623
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
5615
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
5624
5616
|
readonly type: "function";
|
|
5625
5617
|
readonly name: "batchGetRefTick";
|
|
5626
5618
|
readonly inputs: readonly [{
|
|
@@ -6339,7 +6331,7 @@ declare const useLens: () => {
|
|
|
6339
6331
|
payoutAssetName: string;
|
|
6340
6332
|
optionsCount: bigint;
|
|
6341
6333
|
}>;
|
|
6342
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
6334
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
6343
6335
|
readonly type: "function";
|
|
6344
6336
|
readonly name: "batchGetRefTick";
|
|
6345
6337
|
readonly inputs: readonly [{
|
|
@@ -7045,7 +7037,7 @@ declare const useLens: () => {
|
|
|
7045
7037
|
}];
|
|
7046
7038
|
readonly stateMutability: "view";
|
|
7047
7039
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
7048
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
7040
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
7049
7041
|
readonly type: "function";
|
|
7050
7042
|
readonly name: "batchGetRefTick";
|
|
7051
7043
|
readonly inputs: readonly [{
|
|
@@ -7751,7 +7743,7 @@ declare const useLens: () => {
|
|
|
7751
7743
|
}];
|
|
7752
7744
|
readonly stateMutability: "view";
|
|
7753
7745
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
7754
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
7746
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
7755
7747
|
readonly type: "function";
|
|
7756
7748
|
readonly name: "batchGetRefTick";
|
|
7757
7749
|
readonly inputs: readonly [{
|
|
@@ -8476,7 +8468,7 @@ declare const useLens: () => {
|
|
|
8476
8468
|
createdAt: bigint;
|
|
8477
8469
|
liquidities: readonly bigint[];
|
|
8478
8470
|
}>;
|
|
8479
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
8471
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
8480
8472
|
readonly type: "function";
|
|
8481
8473
|
readonly name: "batchGetRefTick";
|
|
8482
8474
|
readonly inputs: readonly [{
|
|
@@ -9201,7 +9193,7 @@ declare const useLens: () => {
|
|
|
9201
9193
|
createdAt: bigint;
|
|
9202
9194
|
liquidities: readonly bigint[];
|
|
9203
9195
|
}[]>;
|
|
9204
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
9196
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
9205
9197
|
readonly type: "function";
|
|
9206
9198
|
readonly name: "batchGetRefTick";
|
|
9207
9199
|
readonly inputs: readonly [{
|
|
@@ -9918,7 +9910,7 @@ declare const useLens: () => {
|
|
|
9918
9910
|
tickSpacing: number;
|
|
9919
9911
|
fee: number;
|
|
9920
9912
|
}>;
|
|
9921
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
9913
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
9922
9914
|
readonly type: "function";
|
|
9923
9915
|
readonly name: "batchGetRefTick";
|
|
9924
9916
|
readonly inputs: readonly [{
|
|
@@ -10624,7 +10616,7 @@ declare const useLens: () => {
|
|
|
10624
10616
|
}];
|
|
10625
10617
|
readonly stateMutability: "view";
|
|
10626
10618
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
10627
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
10619
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
10628
10620
|
readonly type: "function";
|
|
10629
10621
|
readonly name: "batchGetRefTick";
|
|
10630
10622
|
readonly inputs: readonly [{
|
|
@@ -11349,7 +11341,7 @@ declare const useLens: () => {
|
|
|
11349
11341
|
createdAt: bigint;
|
|
11350
11342
|
liquidities: readonly bigint[];
|
|
11351
11343
|
}[], bigint, boolean]>;
|
|
11352
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
11344
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
11353
11345
|
readonly type: "function";
|
|
11354
11346
|
readonly name: "batchGetRefTick";
|
|
11355
11347
|
readonly inputs: readonly [{
|
|
@@ -12766,7 +12758,7 @@ declare const useLens: () => {
|
|
|
12766
12758
|
} | undefined;
|
|
12767
12759
|
uniswapLens: {
|
|
12768
12760
|
read: {
|
|
12769
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
12761
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
12770
12762
|
readonly type: "function";
|
|
12771
12763
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12772
12764
|
readonly inputs: readonly [{
|
|
@@ -13387,7 +13379,7 @@ declare const useLens: () => {
|
|
|
13387
13379
|
}];
|
|
13388
13380
|
readonly stateMutability: "pure";
|
|
13389
13381
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13390
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
13382
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
13391
13383
|
readonly type: "function";
|
|
13392
13384
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13393
13385
|
readonly inputs: readonly [{
|
|
@@ -14008,7 +14000,7 @@ declare const useLens: () => {
|
|
|
14008
14000
|
}];
|
|
14009
14001
|
readonly stateMutability: "pure";
|
|
14010
14002
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14011
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
14003
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
14012
14004
|
readonly type: "function";
|
|
14013
14005
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14014
14006
|
readonly inputs: readonly [{
|
|
@@ -14629,7 +14621,7 @@ declare const useLens: () => {
|
|
|
14629
14621
|
}];
|
|
14630
14622
|
readonly stateMutability: "pure";
|
|
14631
14623
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14632
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
14624
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
14633
14625
|
readonly type: "function";
|
|
14634
14626
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14635
14627
|
readonly inputs: readonly [{
|
|
@@ -15250,7 +15242,7 @@ declare const useLens: () => {
|
|
|
15250
15242
|
}];
|
|
15251
15243
|
readonly stateMutability: "pure";
|
|
15252
15244
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
15253
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
15245
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
15254
15246
|
readonly type: "function";
|
|
15255
15247
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15256
15248
|
readonly inputs: readonly [{
|
|
@@ -15871,7 +15863,7 @@ declare const useLens: () => {
|
|
|
15871
15863
|
}];
|
|
15872
15864
|
readonly stateMutability: "pure";
|
|
15873
15865
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
15874
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
15866
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
15875
15867
|
readonly type: "function";
|
|
15876
15868
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15877
15869
|
readonly inputs: readonly [{
|
|
@@ -16492,7 +16484,7 @@ declare const useLens: () => {
|
|
|
16492
16484
|
}];
|
|
16493
16485
|
readonly stateMutability: "pure";
|
|
16494
16486
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
16495
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
16487
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
16496
16488
|
readonly type: "function";
|
|
16497
16489
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16498
16490
|
readonly inputs: readonly [{
|
|
@@ -17113,7 +17105,7 @@ declare const useLens: () => {
|
|
|
17113
17105
|
}];
|
|
17114
17106
|
readonly stateMutability: "pure";
|
|
17115
17107
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
17116
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
17108
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
17117
17109
|
readonly type: "function";
|
|
17118
17110
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17119
17111
|
readonly inputs: readonly [{
|
|
@@ -17734,7 +17726,7 @@ declare const useLens: () => {
|
|
|
17734
17726
|
}];
|
|
17735
17727
|
readonly stateMutability: "pure";
|
|
17736
17728
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
17737
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
17729
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
17738
17730
|
readonly type: "function";
|
|
17739
17731
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17740
17732
|
readonly inputs: readonly [{
|
|
@@ -18355,7 +18347,7 @@ declare const useLens: () => {
|
|
|
18355
18347
|
}];
|
|
18356
18348
|
readonly stateMutability: "pure";
|
|
18357
18349
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18358
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
18350
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
18359
18351
|
readonly type: "function";
|
|
18360
18352
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18361
18353
|
readonly inputs: readonly [{
|
|
@@ -18976,7 +18968,7 @@ declare const useLens: () => {
|
|
|
18976
18968
|
}];
|
|
18977
18969
|
readonly stateMutability: "pure";
|
|
18978
18970
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18979
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
18971
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
18980
18972
|
readonly type: "function";
|
|
18981
18973
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18982
18974
|
readonly inputs: readonly [{
|
|
@@ -19597,7 +19589,7 @@ declare const useLens: () => {
|
|
|
19597
19589
|
}];
|
|
19598
19590
|
readonly stateMutability: "pure";
|
|
19599
19591
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
19600
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
19592
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
19601
19593
|
readonly type: "function";
|
|
19602
19594
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19603
19595
|
readonly inputs: readonly [{
|
|
@@ -20218,7 +20210,7 @@ declare const useLens: () => {
|
|
|
20218
20210
|
}];
|
|
20219
20211
|
readonly stateMutability: "pure";
|
|
20220
20212
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20221
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
20213
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
20222
20214
|
readonly type: "function";
|
|
20223
20215
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20224
20216
|
readonly inputs: readonly [{
|
|
@@ -20839,7 +20831,7 @@ declare const useLens: () => {
|
|
|
20839
20831
|
}];
|
|
20840
20832
|
readonly stateMutability: "pure";
|
|
20841
20833
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20842
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
20834
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
20843
20835
|
readonly type: "function";
|
|
20844
20836
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20845
20837
|
readonly inputs: readonly [{
|
|
@@ -21460,7 +21452,7 @@ declare const useLens: () => {
|
|
|
21460
21452
|
}];
|
|
21461
21453
|
readonly stateMutability: "pure";
|
|
21462
21454
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21463
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
21455
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
21464
21456
|
readonly type: "function";
|
|
21465
21457
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21466
21458
|
readonly inputs: readonly [{
|
|
@@ -22081,7 +22073,7 @@ declare const useLens: () => {
|
|
|
22081
22073
|
}];
|
|
22082
22074
|
readonly stateMutability: "pure";
|
|
22083
22075
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
22084
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
22076
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
22085
22077
|
readonly type: "function";
|
|
22086
22078
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
22087
22079
|
readonly inputs: readonly [{
|
|
@@ -22702,7 +22694,7 @@ declare const useLens: () => {
|
|
|
22702
22694
|
}];
|
|
22703
22695
|
readonly stateMutability: "pure";
|
|
22704
22696
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
22705
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
22697
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
22706
22698
|
readonly type: "function";
|
|
22707
22699
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
22708
22700
|
readonly inputs: readonly [{
|
|
@@ -23323,7 +23315,7 @@ declare const useLens: () => {
|
|
|
23323
23315
|
}];
|
|
23324
23316
|
readonly stateMutability: "pure";
|
|
23325
23317
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
23326
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
23318
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
23327
23319
|
readonly type: "function";
|
|
23328
23320
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23329
23321
|
readonly inputs: readonly [{
|
|
@@ -23944,7 +23936,7 @@ declare const useLens: () => {
|
|
|
23944
23936
|
}];
|
|
23945
23937
|
readonly stateMutability: "pure";
|
|
23946
23938
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
23947
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
23939
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
23948
23940
|
readonly type: "function";
|
|
23949
23941
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23950
23942
|
readonly inputs: readonly [{
|
|
@@ -24565,7 +24557,7 @@ declare const useLens: () => {
|
|
|
24565
24557
|
}];
|
|
24566
24558
|
readonly stateMutability: "pure";
|
|
24567
24559
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
24568
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
24560
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
24569
24561
|
readonly type: "function";
|
|
24570
24562
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
24571
24563
|
readonly inputs: readonly [{
|
|
@@ -25186,7 +25178,7 @@ declare const useLens: () => {
|
|
|
25186
25178
|
}];
|
|
25187
25179
|
readonly stateMutability: "pure";
|
|
25188
25180
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25189
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
25181
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
25190
25182
|
readonly type: "function";
|
|
25191
25183
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25192
25184
|
readonly inputs: readonly [{
|
|
@@ -25807,7 +25799,7 @@ declare const useLens: () => {
|
|
|
25807
25799
|
}];
|
|
25808
25800
|
readonly stateMutability: "pure";
|
|
25809
25801
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25810
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
25802
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
25811
25803
|
readonly type: "function";
|
|
25812
25804
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25813
25805
|
readonly inputs: readonly [{
|
|
@@ -26428,7 +26420,7 @@ declare const useLens: () => {
|
|
|
26428
26420
|
}];
|
|
26429
26421
|
readonly stateMutability: "pure";
|
|
26430
26422
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26431
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
26423
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
26432
26424
|
readonly type: "function";
|
|
26433
26425
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26434
26426
|
readonly inputs: readonly [{
|
|
@@ -27049,7 +27041,7 @@ declare const useLens: () => {
|
|
|
27049
27041
|
}];
|
|
27050
27042
|
readonly stateMutability: "pure";
|
|
27051
27043
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27052
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
27044
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
27053
27045
|
readonly type: "function";
|
|
27054
27046
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
27055
27047
|
readonly inputs: readonly [{
|
|
@@ -27670,7 +27662,7 @@ declare const useLens: () => {
|
|
|
27670
27662
|
}];
|
|
27671
27663
|
readonly stateMutability: "pure";
|
|
27672
27664
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27673
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
27665
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
27674
27666
|
readonly type: "function";
|
|
27675
27667
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
27676
27668
|
readonly inputs: readonly [{
|
|
@@ -28291,7 +28283,7 @@ declare const useLens: () => {
|
|
|
28291
28283
|
}];
|
|
28292
28284
|
readonly stateMutability: "pure";
|
|
28293
28285
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
28294
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
28286
|
+
getPriceAtTick: (args: readonly [number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
28295
28287
|
readonly type: "function";
|
|
28296
28288
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
28297
28289
|
readonly inputs: readonly [{
|