timelock-sdk 0.0.28 → 0.0.30
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 +39 -43
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +133 -128
- package/dist/client.d.ts +72 -67
- package/dist/client.js +40 -44
- package/dist/client.js.map +1 -1
- package/dist/{index-DW-OoI-q.d.ts → index-CRhFaRiq.d.ts} +92 -92
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./uniswapMathLens-MrB_VfJB.js";
|
|
2
|
-
import { Amount, TimelockMarketData, UniswapMathLens } from "./index-
|
|
3
|
-
import * as
|
|
2
|
+
import { Amount, TimelockMarketData, UniswapMathLens } from "./index-CRhFaRiq.js";
|
|
3
|
+
import * as viem366 from "viem";
|
|
4
4
|
import { Address } from "viem";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
6
|
-
import { GraphQLClient } from "graphql-request";
|
|
6
|
+
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
7
7
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
8
8
|
import "graphql";
|
|
9
9
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
@@ -13,6 +13,7 @@ import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
|
13
13
|
type Exact<T extends {
|
|
14
14
|
[key: string]: unknown;
|
|
15
15
|
}> = { [K in keyof T]: T[K] };
|
|
16
|
+
type GraphQLClientRequestHeaders = RequestOptions['requestHeaders'];
|
|
16
17
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
17
18
|
type Scalars = {
|
|
18
19
|
ID: {
|
|
@@ -144,8 +145,21 @@ type GetMarketDataQuery = {
|
|
|
144
145
|
payoutAssetName: string;
|
|
145
146
|
}>;
|
|
146
147
|
};
|
|
148
|
+
type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
|
|
149
|
+
declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
150
|
+
GetActiveUserOptions(variables: GetActiveUserOptionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetActiveUserOptionsQuery>;
|
|
151
|
+
GetClosedUserOptions(variables: GetClosedUserOptionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetClosedUserOptionsQuery>;
|
|
152
|
+
GetMarketData(variables: GetMarketDataQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetMarketDataQuery>;
|
|
153
|
+
};
|
|
147
154
|
//#endregion
|
|
148
155
|
//#region src/providers/TimelockMarketProvider.d.ts
|
|
156
|
+
type TimelockMarketContextValue = {
|
|
157
|
+
marketData: Partial<TimelockMarketData>;
|
|
158
|
+
lensAddr?: Address;
|
|
159
|
+
uniswapMathLensAddr?: Address;
|
|
160
|
+
envioGraphqlUrl?: string;
|
|
161
|
+
graphqlClient?: ReturnType<typeof getSdk>;
|
|
162
|
+
};
|
|
149
163
|
declare const TimelockMarketProvider: ({
|
|
150
164
|
children,
|
|
151
165
|
marketData,
|
|
@@ -156,16 +170,7 @@ declare const TimelockMarketProvider: ({
|
|
|
156
170
|
envioGraphqlUrl?: string;
|
|
157
171
|
}) => React.JSX.Element;
|
|
158
172
|
declare const useCurrentMarket: () => Partial<TimelockMarketData>;
|
|
159
|
-
declare const useTimelockConfig: () =>
|
|
160
|
-
lensAddr: `0x${string}` | undefined;
|
|
161
|
-
uniswapMathLensAddr: `0x${string}` | undefined;
|
|
162
|
-
envioGraphqlUrl: string | undefined;
|
|
163
|
-
graphqlClient: {
|
|
164
|
-
GetActiveUserOptions(variables: GetActiveUserOptionsQueryVariables, requestHeaders?: any, signal?: RequestInit["signal"]): Promise<GetActiveUserOptionsQuery>;
|
|
165
|
-
GetClosedUserOptions(variables: GetClosedUserOptionsQueryVariables, requestHeaders?: any, signal?: RequestInit["signal"]): Promise<GetClosedUserOptionsQuery>;
|
|
166
|
-
GetMarketData(variables: GetMarketDataQueryVariables, requestHeaders?: any, signal?: RequestInit["signal"]): Promise<GetMarketDataQuery>;
|
|
167
|
-
} | undefined;
|
|
168
|
-
};
|
|
173
|
+
declare const useTimelockConfig: () => TimelockMarketContextValue;
|
|
169
174
|
//#endregion
|
|
170
175
|
//#region src/hooks/market/useExerciseOption.d.ts
|
|
171
176
|
declare const useExerciseOption: (marketAddr?: Address) => {
|
|
@@ -2237,7 +2242,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
2237
2242
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
2238
2243
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
2239
2244
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
2240
|
-
error:
|
|
2245
|
+
error: viem366.ReadContractErrorType;
|
|
2241
2246
|
isError: true;
|
|
2242
2247
|
isPending: false;
|
|
2243
2248
|
isLoading: false;
|
|
@@ -2249,7 +2254,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2249
2254
|
dataUpdatedAt: number;
|
|
2250
2255
|
errorUpdatedAt: number;
|
|
2251
2256
|
failureCount: number;
|
|
2252
|
-
failureReason:
|
|
2257
|
+
failureReason: viem366.ReadContractErrorType | null;
|
|
2253
2258
|
errorUpdateCount: number;
|
|
2254
2259
|
isFetched: boolean;
|
|
2255
2260
|
isFetchedAfterMount: boolean;
|
|
@@ -2269,7 +2274,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2269
2274
|
totalAmount1: bigint;
|
|
2270
2275
|
borrowedAmount0: bigint;
|
|
2271
2276
|
borrowedAmount1: bigint;
|
|
2272
|
-
}[],
|
|
2277
|
+
}[], viem366.ReadContractErrorType>>;
|
|
2273
2278
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2274
2279
|
promise: Promise<readonly {
|
|
2275
2280
|
tickLower: number;
|
|
@@ -2307,7 +2312,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2307
2312
|
dataUpdatedAt: number;
|
|
2308
2313
|
errorUpdatedAt: number;
|
|
2309
2314
|
failureCount: number;
|
|
2310
|
-
failureReason:
|
|
2315
|
+
failureReason: viem366.ReadContractErrorType | null;
|
|
2311
2316
|
errorUpdateCount: number;
|
|
2312
2317
|
isFetched: boolean;
|
|
2313
2318
|
isFetchedAfterMount: boolean;
|
|
@@ -2327,7 +2332,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2327
2332
|
totalAmount1: bigint;
|
|
2328
2333
|
borrowedAmount0: bigint;
|
|
2329
2334
|
borrowedAmount1: bigint;
|
|
2330
|
-
}[],
|
|
2335
|
+
}[], viem366.ReadContractErrorType>>;
|
|
2331
2336
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2332
2337
|
promise: Promise<readonly {
|
|
2333
2338
|
tickLower: number;
|
|
@@ -2353,7 +2358,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2353
2358
|
borrowedAmount1: bigint;
|
|
2354
2359
|
}[];
|
|
2355
2360
|
} | {
|
|
2356
|
-
error:
|
|
2361
|
+
error: viem366.ReadContractErrorType;
|
|
2357
2362
|
isError: true;
|
|
2358
2363
|
isPending: false;
|
|
2359
2364
|
isLoading: false;
|
|
@@ -2365,7 +2370,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2365
2370
|
dataUpdatedAt: number;
|
|
2366
2371
|
errorUpdatedAt: number;
|
|
2367
2372
|
failureCount: number;
|
|
2368
|
-
failureReason:
|
|
2373
|
+
failureReason: viem366.ReadContractErrorType | null;
|
|
2369
2374
|
errorUpdateCount: number;
|
|
2370
2375
|
isFetched: boolean;
|
|
2371
2376
|
isFetchedAfterMount: boolean;
|
|
@@ -2385,7 +2390,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2385
2390
|
totalAmount1: bigint;
|
|
2386
2391
|
borrowedAmount0: bigint;
|
|
2387
2392
|
borrowedAmount1: bigint;
|
|
2388
|
-
}[],
|
|
2393
|
+
}[], viem366.ReadContractErrorType>>;
|
|
2389
2394
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2390
2395
|
promise: Promise<readonly {
|
|
2391
2396
|
tickLower: number;
|
|
@@ -2423,7 +2428,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2423
2428
|
dataUpdatedAt: number;
|
|
2424
2429
|
errorUpdatedAt: number;
|
|
2425
2430
|
failureCount: number;
|
|
2426
|
-
failureReason:
|
|
2431
|
+
failureReason: viem366.ReadContractErrorType | null;
|
|
2427
2432
|
errorUpdateCount: number;
|
|
2428
2433
|
isFetched: boolean;
|
|
2429
2434
|
isFetchedAfterMount: boolean;
|
|
@@ -2443,7 +2448,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2443
2448
|
totalAmount1: bigint;
|
|
2444
2449
|
borrowedAmount0: bigint;
|
|
2445
2450
|
borrowedAmount1: bigint;
|
|
2446
|
-
}[],
|
|
2451
|
+
}[], viem366.ReadContractErrorType>>;
|
|
2447
2452
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2448
2453
|
promise: Promise<readonly {
|
|
2449
2454
|
tickLower: number;
|
|
@@ -2480,7 +2485,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2480
2485
|
dataUpdatedAt: number;
|
|
2481
2486
|
errorUpdatedAt: number;
|
|
2482
2487
|
failureCount: number;
|
|
2483
|
-
failureReason:
|
|
2488
|
+
failureReason: viem366.ReadContractErrorType | null;
|
|
2484
2489
|
errorUpdateCount: number;
|
|
2485
2490
|
isFetched: boolean;
|
|
2486
2491
|
isFetchedAfterMount: boolean;
|
|
@@ -2501,7 +2506,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2501
2506
|
totalAmount1: bigint;
|
|
2502
2507
|
borrowedAmount0: bigint;
|
|
2503
2508
|
borrowedAmount1: bigint;
|
|
2504
|
-
}[],
|
|
2509
|
+
}[], viem366.ReadContractErrorType>>;
|
|
2505
2510
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2506
2511
|
promise: Promise<readonly {
|
|
2507
2512
|
tickLower: number;
|
|
@@ -2539,7 +2544,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2539
2544
|
dataUpdatedAt: number;
|
|
2540
2545
|
errorUpdatedAt: number;
|
|
2541
2546
|
failureCount: number;
|
|
2542
|
-
failureReason:
|
|
2547
|
+
failureReason: viem366.ReadContractErrorType | null;
|
|
2543
2548
|
errorUpdateCount: number;
|
|
2544
2549
|
isFetched: boolean;
|
|
2545
2550
|
isFetchedAfterMount: boolean;
|
|
@@ -2559,7 +2564,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2559
2564
|
totalAmount1: bigint;
|
|
2560
2565
|
borrowedAmount0: bigint;
|
|
2561
2566
|
borrowedAmount1: bigint;
|
|
2562
|
-
}[],
|
|
2567
|
+
}[], viem366.ReadContractErrorType>>;
|
|
2563
2568
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2564
2569
|
promise: Promise<readonly {
|
|
2565
2570
|
tickLower: number;
|
|
@@ -2632,14 +2637,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
2632
2637
|
borrowedAmount0: Amount;
|
|
2633
2638
|
borrowedAmount1: Amount;
|
|
2634
2639
|
blocksCount: bigint;
|
|
2635
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint],
|
|
2640
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem366.ReadContractErrorType>>;
|
|
2636
2641
|
};
|
|
2637
2642
|
//#endregion
|
|
2638
2643
|
//#region src/hooks/useLens.d.ts
|
|
2639
2644
|
declare const useLens: () => {
|
|
2640
2645
|
timelockLens: {
|
|
2641
2646
|
read: {
|
|
2642
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
2647
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
2643
2648
|
readonly type: "function";
|
|
2644
2649
|
readonly name: "batchGetRefTick";
|
|
2645
2650
|
readonly inputs: readonly [{
|
|
@@ -3345,7 +3350,7 @@ declare const useLens: () => {
|
|
|
3345
3350
|
}];
|
|
3346
3351
|
readonly stateMutability: "view";
|
|
3347
3352
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
3348
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
3353
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
3349
3354
|
readonly type: "function";
|
|
3350
3355
|
readonly name: "batchGetRefTick";
|
|
3351
3356
|
readonly inputs: readonly [{
|
|
@@ -4061,7 +4066,7 @@ declare const useLens: () => {
|
|
|
4061
4066
|
borrowedAmount0: bigint;
|
|
4062
4067
|
borrowedAmount1: bigint;
|
|
4063
4068
|
}[]>;
|
|
4064
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
4069
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
4065
4070
|
readonly type: "function";
|
|
4066
4071
|
readonly name: "batchGetRefTick";
|
|
4067
4072
|
readonly inputs: readonly [{
|
|
@@ -4786,7 +4791,7 @@ declare const useLens: () => {
|
|
|
4786
4791
|
createdAt: bigint;
|
|
4787
4792
|
liquidities: readonly bigint[];
|
|
4788
4793
|
}[], bigint, boolean]>;
|
|
4789
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
4794
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
4790
4795
|
readonly type: "function";
|
|
4791
4796
|
readonly name: "batchGetRefTick";
|
|
4792
4797
|
readonly inputs: readonly [{
|
|
@@ -5492,7 +5497,7 @@ declare const useLens: () => {
|
|
|
5492
5497
|
}];
|
|
5493
5498
|
readonly stateMutability: "view";
|
|
5494
5499
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
5495
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
5500
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
5496
5501
|
readonly type: "function";
|
|
5497
5502
|
readonly name: "batchGetRefTick";
|
|
5498
5503
|
readonly inputs: readonly [{
|
|
@@ -6211,7 +6216,7 @@ declare const useLens: () => {
|
|
|
6211
6216
|
payoutAssetName: string;
|
|
6212
6217
|
optionsCount: bigint;
|
|
6213
6218
|
}>;
|
|
6214
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
6219
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
6215
6220
|
readonly type: "function";
|
|
6216
6221
|
readonly name: "batchGetRefTick";
|
|
6217
6222
|
readonly inputs: readonly [{
|
|
@@ -6917,7 +6922,7 @@ declare const useLens: () => {
|
|
|
6917
6922
|
}];
|
|
6918
6923
|
readonly stateMutability: "view";
|
|
6919
6924
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
6920
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
6925
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
6921
6926
|
readonly type: "function";
|
|
6922
6927
|
readonly name: "batchGetRefTick";
|
|
6923
6928
|
readonly inputs: readonly [{
|
|
@@ -7623,7 +7628,7 @@ declare const useLens: () => {
|
|
|
7623
7628
|
}];
|
|
7624
7629
|
readonly stateMutability: "view";
|
|
7625
7630
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
7626
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
7631
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
7627
7632
|
readonly type: "function";
|
|
7628
7633
|
readonly name: "batchGetRefTick";
|
|
7629
7634
|
readonly inputs: readonly [{
|
|
@@ -8348,7 +8353,7 @@ declare const useLens: () => {
|
|
|
8348
8353
|
createdAt: bigint;
|
|
8349
8354
|
liquidities: readonly bigint[];
|
|
8350
8355
|
}>;
|
|
8351
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
8356
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
8352
8357
|
readonly type: "function";
|
|
8353
8358
|
readonly name: "batchGetRefTick";
|
|
8354
8359
|
readonly inputs: readonly [{
|
|
@@ -9073,7 +9078,7 @@ declare const useLens: () => {
|
|
|
9073
9078
|
createdAt: bigint;
|
|
9074
9079
|
liquidities: readonly bigint[];
|
|
9075
9080
|
}[]>;
|
|
9076
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
9081
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
9077
9082
|
readonly type: "function";
|
|
9078
9083
|
readonly name: "batchGetRefTick";
|
|
9079
9084
|
readonly inputs: readonly [{
|
|
@@ -9790,7 +9795,7 @@ declare const useLens: () => {
|
|
|
9790
9795
|
tickSpacing: number;
|
|
9791
9796
|
fee: number;
|
|
9792
9797
|
}>;
|
|
9793
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
9798
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
9794
9799
|
readonly type: "function";
|
|
9795
9800
|
readonly name: "batchGetRefTick";
|
|
9796
9801
|
readonly inputs: readonly [{
|
|
@@ -10496,7 +10501,7 @@ declare const useLens: () => {
|
|
|
10496
10501
|
}];
|
|
10497
10502
|
readonly stateMutability: "view";
|
|
10498
10503
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
10499
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
10504
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
10500
10505
|
readonly type: "function";
|
|
10501
10506
|
readonly name: "batchGetRefTick";
|
|
10502
10507
|
readonly inputs: readonly [{
|
|
@@ -11221,7 +11226,7 @@ declare const useLens: () => {
|
|
|
11221
11226
|
createdAt: bigint;
|
|
11222
11227
|
liquidities: readonly bigint[];
|
|
11223
11228
|
}[], bigint, boolean]>;
|
|
11224
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
11229
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
11225
11230
|
readonly type: "function";
|
|
11226
11231
|
readonly name: "batchGetRefTick";
|
|
11227
11232
|
readonly inputs: readonly [{
|
|
@@ -12638,7 +12643,7 @@ declare const useLens: () => {
|
|
|
12638
12643
|
} | undefined;
|
|
12639
12644
|
uniswapLens: {
|
|
12640
12645
|
read: {
|
|
12641
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
12646
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
12642
12647
|
readonly type: "function";
|
|
12643
12648
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12644
12649
|
readonly inputs: readonly [{
|
|
@@ -13259,7 +13264,7 @@ declare const useLens: () => {
|
|
|
13259
13264
|
}];
|
|
13260
13265
|
readonly stateMutability: "pure";
|
|
13261
13266
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13262
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
13267
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
13263
13268
|
readonly type: "function";
|
|
13264
13269
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13265
13270
|
readonly inputs: readonly [{
|
|
@@ -13880,7 +13885,7 @@ declare const useLens: () => {
|
|
|
13880
13885
|
}];
|
|
13881
13886
|
readonly stateMutability: "pure";
|
|
13882
13887
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13883
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
13888
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
13884
13889
|
readonly type: "function";
|
|
13885
13890
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13886
13891
|
readonly inputs: readonly [{
|
|
@@ -14501,7 +14506,7 @@ declare const useLens: () => {
|
|
|
14501
14506
|
}];
|
|
14502
14507
|
readonly stateMutability: "pure";
|
|
14503
14508
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14504
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
14509
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
14505
14510
|
readonly type: "function";
|
|
14506
14511
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14507
14512
|
readonly inputs: readonly [{
|
|
@@ -15122,7 +15127,7 @@ declare const useLens: () => {
|
|
|
15122
15127
|
}];
|
|
15123
15128
|
readonly stateMutability: "pure";
|
|
15124
15129
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
15125
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
15130
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
15126
15131
|
readonly type: "function";
|
|
15127
15132
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15128
15133
|
readonly inputs: readonly [{
|
|
@@ -15743,7 +15748,7 @@ declare const useLens: () => {
|
|
|
15743
15748
|
}];
|
|
15744
15749
|
readonly stateMutability: "pure";
|
|
15745
15750
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
15746
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
15751
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
15747
15752
|
readonly type: "function";
|
|
15748
15753
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15749
15754
|
readonly inputs: readonly [{
|
|
@@ -16364,7 +16369,7 @@ declare const useLens: () => {
|
|
|
16364
16369
|
}];
|
|
16365
16370
|
readonly stateMutability: "pure";
|
|
16366
16371
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
16367
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
16372
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
16368
16373
|
readonly type: "function";
|
|
16369
16374
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16370
16375
|
readonly inputs: readonly [{
|
|
@@ -16985,7 +16990,7 @@ declare const useLens: () => {
|
|
|
16985
16990
|
}];
|
|
16986
16991
|
readonly stateMutability: "pure";
|
|
16987
16992
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
16988
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
16993
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
16989
16994
|
readonly type: "function";
|
|
16990
16995
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16991
16996
|
readonly inputs: readonly [{
|
|
@@ -17606,7 +17611,7 @@ declare const useLens: () => {
|
|
|
17606
17611
|
}];
|
|
17607
17612
|
readonly stateMutability: "pure";
|
|
17608
17613
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
17609
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
17614
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
17610
17615
|
readonly type: "function";
|
|
17611
17616
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17612
17617
|
readonly inputs: readonly [{
|
|
@@ -18227,7 +18232,7 @@ declare const useLens: () => {
|
|
|
18227
18232
|
}];
|
|
18228
18233
|
readonly stateMutability: "pure";
|
|
18229
18234
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18230
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
18235
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
18231
18236
|
readonly type: "function";
|
|
18232
18237
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18233
18238
|
readonly inputs: readonly [{
|
|
@@ -18848,7 +18853,7 @@ declare const useLens: () => {
|
|
|
18848
18853
|
}];
|
|
18849
18854
|
readonly stateMutability: "pure";
|
|
18850
18855
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18851
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
18856
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
18852
18857
|
readonly type: "function";
|
|
18853
18858
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18854
18859
|
readonly inputs: readonly [{
|
|
@@ -19469,7 +19474,7 @@ declare const useLens: () => {
|
|
|
19469
19474
|
}];
|
|
19470
19475
|
readonly stateMutability: "pure";
|
|
19471
19476
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
19472
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
19477
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
19473
19478
|
readonly type: "function";
|
|
19474
19479
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19475
19480
|
readonly inputs: readonly [{
|
|
@@ -20090,7 +20095,7 @@ declare const useLens: () => {
|
|
|
20090
20095
|
}];
|
|
20091
20096
|
readonly stateMutability: "pure";
|
|
20092
20097
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20093
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
20098
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
20094
20099
|
readonly type: "function";
|
|
20095
20100
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20096
20101
|
readonly inputs: readonly [{
|
|
@@ -20711,7 +20716,7 @@ declare const useLens: () => {
|
|
|
20711
20716
|
}];
|
|
20712
20717
|
readonly stateMutability: "pure";
|
|
20713
20718
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20714
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
20719
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
20715
20720
|
readonly type: "function";
|
|
20716
20721
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20717
20722
|
readonly inputs: readonly [{
|
|
@@ -21332,7 +21337,7 @@ declare const useLens: () => {
|
|
|
21332
21337
|
}];
|
|
21333
21338
|
readonly stateMutability: "pure";
|
|
21334
21339
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21335
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
21340
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
21336
21341
|
readonly type: "function";
|
|
21337
21342
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21338
21343
|
readonly inputs: readonly [{
|
|
@@ -21953,7 +21958,7 @@ declare const useLens: () => {
|
|
|
21953
21958
|
}];
|
|
21954
21959
|
readonly stateMutability: "pure";
|
|
21955
21960
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21956
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
21961
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
21957
21962
|
readonly type: "function";
|
|
21958
21963
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21959
21964
|
readonly inputs: readonly [{
|
|
@@ -22574,7 +22579,7 @@ declare const useLens: () => {
|
|
|
22574
22579
|
}];
|
|
22575
22580
|
readonly stateMutability: "pure";
|
|
22576
22581
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
22577
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
22582
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
22578
22583
|
readonly type: "function";
|
|
22579
22584
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
22580
22585
|
readonly inputs: readonly [{
|
|
@@ -23195,7 +23200,7 @@ declare const useLens: () => {
|
|
|
23195
23200
|
}];
|
|
23196
23201
|
readonly stateMutability: "pure";
|
|
23197
23202
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
23198
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
23203
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
23199
23204
|
readonly type: "function";
|
|
23200
23205
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23201
23206
|
readonly inputs: readonly [{
|
|
@@ -23816,7 +23821,7 @@ declare const useLens: () => {
|
|
|
23816
23821
|
}];
|
|
23817
23822
|
readonly stateMutability: "pure";
|
|
23818
23823
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
23819
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
23824
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
23820
23825
|
readonly type: "function";
|
|
23821
23826
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23822
23827
|
readonly inputs: readonly [{
|
|
@@ -24437,7 +24442,7 @@ declare const useLens: () => {
|
|
|
24437
24442
|
}];
|
|
24438
24443
|
readonly stateMutability: "pure";
|
|
24439
24444
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
24440
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
24445
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
24441
24446
|
readonly type: "function";
|
|
24442
24447
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
24443
24448
|
readonly inputs: readonly [{
|
|
@@ -25058,7 +25063,7 @@ declare const useLens: () => {
|
|
|
25058
25063
|
}];
|
|
25059
25064
|
readonly stateMutability: "pure";
|
|
25060
25065
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25061
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
25066
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
25062
25067
|
readonly type: "function";
|
|
25063
25068
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25064
25069
|
readonly inputs: readonly [{
|
|
@@ -25679,7 +25684,7 @@ declare const useLens: () => {
|
|
|
25679
25684
|
}];
|
|
25680
25685
|
readonly stateMutability: "pure";
|
|
25681
25686
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25682
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
25687
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
25683
25688
|
readonly type: "function";
|
|
25684
25689
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25685
25690
|
readonly inputs: readonly [{
|
|
@@ -26300,7 +26305,7 @@ declare const useLens: () => {
|
|
|
26300
26305
|
}];
|
|
26301
26306
|
readonly stateMutability: "pure";
|
|
26302
26307
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26303
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
26308
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
26304
26309
|
readonly type: "function";
|
|
26305
26310
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26306
26311
|
readonly inputs: readonly [{
|
|
@@ -26921,7 +26926,7 @@ declare const useLens: () => {
|
|
|
26921
26926
|
}];
|
|
26922
26927
|
readonly stateMutability: "pure";
|
|
26923
26928
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26924
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
26929
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
26925
26930
|
readonly type: "function";
|
|
26926
26931
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26927
26932
|
readonly inputs: readonly [{
|
|
@@ -27542,7 +27547,7 @@ declare const useLens: () => {
|
|
|
27542
27547
|
}];
|
|
27543
27548
|
readonly stateMutability: "pure";
|
|
27544
27549
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27545
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
27550
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
27546
27551
|
readonly type: "function";
|
|
27547
27552
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
27548
27553
|
readonly inputs: readonly [{
|
|
@@ -28163,7 +28168,7 @@ declare const useLens: () => {
|
|
|
28163
28168
|
}];
|
|
28164
28169
|
readonly stateMutability: "pure";
|
|
28165
28170
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
28166
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
28171
|
+
getPriceAtTick: (args: readonly [number], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
28167
28172
|
readonly type: "function";
|
|
28168
28173
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
28169
28174
|
readonly inputs: readonly [{
|