timelock-sdk 0.0.21 → 0.0.23
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 +15 -4
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +56 -56
- package/dist/client.d.ts +56 -56
- package/dist/client.js +15 -4
- package/dist/client.js.map +1 -1
- package/dist/{index-B7b3c8cu.d.cts → index-B20z73_3.d.ts} +2 -2
- package/dist/{index-CRhFaRiq.d.ts → index-CA5kB-yT.d.cts} +2 -2
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
package/dist/client.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./uniswapMathLens-B1MIL2yT.cjs";
|
|
2
|
-
import { Amount, TimelockMarketData, UniswapMathLens } from "./index-
|
|
2
|
+
import { Amount, TimelockMarketData, UniswapMathLens } from "./index-CA5kB-yT.cjs";
|
|
3
3
|
import "graphql";
|
|
4
4
|
import "graphql-request";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
6
|
-
import * as
|
|
6
|
+
import * as viem249 from "viem";
|
|
7
7
|
import { Address } from "viem";
|
|
8
8
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
9
9
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
@@ -2234,7 +2234,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
2234
2234
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
2235
2235
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
2236
2236
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
2237
|
-
error:
|
|
2237
|
+
error: viem249.ReadContractErrorType;
|
|
2238
2238
|
isError: true;
|
|
2239
2239
|
isPending: false;
|
|
2240
2240
|
isLoading: false;
|
|
@@ -2246,7 +2246,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2246
2246
|
dataUpdatedAt: number;
|
|
2247
2247
|
errorUpdatedAt: number;
|
|
2248
2248
|
failureCount: number;
|
|
2249
|
-
failureReason:
|
|
2249
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2250
2250
|
errorUpdateCount: number;
|
|
2251
2251
|
isFetched: boolean;
|
|
2252
2252
|
isFetchedAfterMount: boolean;
|
|
@@ -2266,7 +2266,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2266
2266
|
totalAmount1: bigint;
|
|
2267
2267
|
borrowedAmount0: bigint;
|
|
2268
2268
|
borrowedAmount1: bigint;
|
|
2269
|
-
}[],
|
|
2269
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2270
2270
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2271
2271
|
promise: Promise<readonly {
|
|
2272
2272
|
tickLower: number;
|
|
@@ -2304,7 +2304,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2304
2304
|
dataUpdatedAt: number;
|
|
2305
2305
|
errorUpdatedAt: number;
|
|
2306
2306
|
failureCount: number;
|
|
2307
|
-
failureReason:
|
|
2307
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2308
2308
|
errorUpdateCount: number;
|
|
2309
2309
|
isFetched: boolean;
|
|
2310
2310
|
isFetchedAfterMount: boolean;
|
|
@@ -2324,7 +2324,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2324
2324
|
totalAmount1: bigint;
|
|
2325
2325
|
borrowedAmount0: bigint;
|
|
2326
2326
|
borrowedAmount1: bigint;
|
|
2327
|
-
}[],
|
|
2327
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2328
2328
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2329
2329
|
promise: Promise<readonly {
|
|
2330
2330
|
tickLower: number;
|
|
@@ -2350,7 +2350,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2350
2350
|
borrowedAmount1: bigint;
|
|
2351
2351
|
}[];
|
|
2352
2352
|
} | {
|
|
2353
|
-
error:
|
|
2353
|
+
error: viem249.ReadContractErrorType;
|
|
2354
2354
|
isError: true;
|
|
2355
2355
|
isPending: false;
|
|
2356
2356
|
isLoading: false;
|
|
@@ -2362,7 +2362,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2362
2362
|
dataUpdatedAt: number;
|
|
2363
2363
|
errorUpdatedAt: number;
|
|
2364
2364
|
failureCount: number;
|
|
2365
|
-
failureReason:
|
|
2365
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2366
2366
|
errorUpdateCount: number;
|
|
2367
2367
|
isFetched: boolean;
|
|
2368
2368
|
isFetchedAfterMount: boolean;
|
|
@@ -2382,7 +2382,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2382
2382
|
totalAmount1: bigint;
|
|
2383
2383
|
borrowedAmount0: bigint;
|
|
2384
2384
|
borrowedAmount1: bigint;
|
|
2385
|
-
}[],
|
|
2385
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2386
2386
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2387
2387
|
promise: Promise<readonly {
|
|
2388
2388
|
tickLower: number;
|
|
@@ -2420,7 +2420,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2420
2420
|
dataUpdatedAt: number;
|
|
2421
2421
|
errorUpdatedAt: number;
|
|
2422
2422
|
failureCount: number;
|
|
2423
|
-
failureReason:
|
|
2423
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2424
2424
|
errorUpdateCount: number;
|
|
2425
2425
|
isFetched: boolean;
|
|
2426
2426
|
isFetchedAfterMount: boolean;
|
|
@@ -2440,7 +2440,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2440
2440
|
totalAmount1: bigint;
|
|
2441
2441
|
borrowedAmount0: bigint;
|
|
2442
2442
|
borrowedAmount1: bigint;
|
|
2443
|
-
}[],
|
|
2443
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2444
2444
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2445
2445
|
promise: Promise<readonly {
|
|
2446
2446
|
tickLower: number;
|
|
@@ -2477,7 +2477,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2477
2477
|
dataUpdatedAt: number;
|
|
2478
2478
|
errorUpdatedAt: number;
|
|
2479
2479
|
failureCount: number;
|
|
2480
|
-
failureReason:
|
|
2480
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2481
2481
|
errorUpdateCount: number;
|
|
2482
2482
|
isFetched: boolean;
|
|
2483
2483
|
isFetchedAfterMount: boolean;
|
|
@@ -2498,7 +2498,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2498
2498
|
totalAmount1: bigint;
|
|
2499
2499
|
borrowedAmount0: bigint;
|
|
2500
2500
|
borrowedAmount1: bigint;
|
|
2501
|
-
}[],
|
|
2501
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2502
2502
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2503
2503
|
promise: Promise<readonly {
|
|
2504
2504
|
tickLower: number;
|
|
@@ -2536,7 +2536,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2536
2536
|
dataUpdatedAt: number;
|
|
2537
2537
|
errorUpdatedAt: number;
|
|
2538
2538
|
failureCount: number;
|
|
2539
|
-
failureReason:
|
|
2539
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2540
2540
|
errorUpdateCount: number;
|
|
2541
2541
|
isFetched: boolean;
|
|
2542
2542
|
isFetchedAfterMount: boolean;
|
|
@@ -2556,7 +2556,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2556
2556
|
totalAmount1: bigint;
|
|
2557
2557
|
borrowedAmount0: bigint;
|
|
2558
2558
|
borrowedAmount1: bigint;
|
|
2559
|
-
}[],
|
|
2559
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2560
2560
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2561
2561
|
promise: Promise<readonly {
|
|
2562
2562
|
tickLower: number;
|
|
@@ -2620,14 +2620,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
2620
2620
|
borrowedAmount0: Amount | undefined;
|
|
2621
2621
|
borrowedAmount1: Amount | undefined;
|
|
2622
2622
|
blocksCount: bigint | undefined;
|
|
2623
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint],
|
|
2623
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem249.ReadContractErrorType>>;
|
|
2624
2624
|
};
|
|
2625
2625
|
//#endregion
|
|
2626
2626
|
//#region src/hooks/useLens.d.ts
|
|
2627
2627
|
declare const useLens: () => {
|
|
2628
2628
|
uniswapLens: {
|
|
2629
2629
|
read: {
|
|
2630
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
2630
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
2631
2631
|
readonly type: "function";
|
|
2632
2632
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
2633
2633
|
readonly inputs: readonly [{
|
|
@@ -3248,7 +3248,7 @@ declare const useLens: () => {
|
|
|
3248
3248
|
}];
|
|
3249
3249
|
readonly stateMutability: "pure";
|
|
3250
3250
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
3251
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
3251
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
3252
3252
|
readonly type: "function";
|
|
3253
3253
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
3254
3254
|
readonly inputs: readonly [{
|
|
@@ -3869,7 +3869,7 @@ declare const useLens: () => {
|
|
|
3869
3869
|
}];
|
|
3870
3870
|
readonly stateMutability: "pure";
|
|
3871
3871
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
3872
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
3872
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
3873
3873
|
readonly type: "function";
|
|
3874
3874
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
3875
3875
|
readonly inputs: readonly [{
|
|
@@ -4490,7 +4490,7 @@ declare const useLens: () => {
|
|
|
4490
4490
|
}];
|
|
4491
4491
|
readonly stateMutability: "pure";
|
|
4492
4492
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
4493
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
4493
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
4494
4494
|
readonly type: "function";
|
|
4495
4495
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
4496
4496
|
readonly inputs: readonly [{
|
|
@@ -5111,7 +5111,7 @@ declare const useLens: () => {
|
|
|
5111
5111
|
}];
|
|
5112
5112
|
readonly stateMutability: "pure";
|
|
5113
5113
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
5114
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
5114
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
5115
5115
|
readonly type: "function";
|
|
5116
5116
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
5117
5117
|
readonly inputs: readonly [{
|
|
@@ -5732,7 +5732,7 @@ declare const useLens: () => {
|
|
|
5732
5732
|
}];
|
|
5733
5733
|
readonly stateMutability: "pure";
|
|
5734
5734
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
5735
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
5735
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
5736
5736
|
readonly type: "function";
|
|
5737
5737
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
5738
5738
|
readonly inputs: readonly [{
|
|
@@ -6353,7 +6353,7 @@ declare const useLens: () => {
|
|
|
6353
6353
|
}];
|
|
6354
6354
|
readonly stateMutability: "pure";
|
|
6355
6355
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
6356
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
6356
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
6357
6357
|
readonly type: "function";
|
|
6358
6358
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
6359
6359
|
readonly inputs: readonly [{
|
|
@@ -6974,7 +6974,7 @@ declare const useLens: () => {
|
|
|
6974
6974
|
}];
|
|
6975
6975
|
readonly stateMutability: "pure";
|
|
6976
6976
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
6977
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
6977
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
6978
6978
|
readonly type: "function";
|
|
6979
6979
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
6980
6980
|
readonly inputs: readonly [{
|
|
@@ -7595,7 +7595,7 @@ declare const useLens: () => {
|
|
|
7595
7595
|
}];
|
|
7596
7596
|
readonly stateMutability: "pure";
|
|
7597
7597
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7598
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
7598
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
7599
7599
|
readonly type: "function";
|
|
7600
7600
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7601
7601
|
readonly inputs: readonly [{
|
|
@@ -8216,7 +8216,7 @@ declare const useLens: () => {
|
|
|
8216
8216
|
}];
|
|
8217
8217
|
readonly stateMutability: "pure";
|
|
8218
8218
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
8219
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
8219
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
8220
8220
|
readonly type: "function";
|
|
8221
8221
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
8222
8222
|
readonly inputs: readonly [{
|
|
@@ -8837,7 +8837,7 @@ declare const useLens: () => {
|
|
|
8837
8837
|
}];
|
|
8838
8838
|
readonly stateMutability: "pure";
|
|
8839
8839
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
8840
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
8840
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
8841
8841
|
readonly type: "function";
|
|
8842
8842
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
8843
8843
|
readonly inputs: readonly [{
|
|
@@ -9458,7 +9458,7 @@ declare const useLens: () => {
|
|
|
9458
9458
|
}];
|
|
9459
9459
|
readonly stateMutability: "pure";
|
|
9460
9460
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
9461
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
9461
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
9462
9462
|
readonly type: "function";
|
|
9463
9463
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9464
9464
|
readonly inputs: readonly [{
|
|
@@ -10079,7 +10079,7 @@ declare const useLens: () => {
|
|
|
10079
10079
|
}];
|
|
10080
10080
|
readonly stateMutability: "pure";
|
|
10081
10081
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10082
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
10082
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
10083
10083
|
readonly type: "function";
|
|
10084
10084
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10085
10085
|
readonly inputs: readonly [{
|
|
@@ -10700,7 +10700,7 @@ declare const useLens: () => {
|
|
|
10700
10700
|
}];
|
|
10701
10701
|
readonly stateMutability: "pure";
|
|
10702
10702
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10703
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
10703
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
10704
10704
|
readonly type: "function";
|
|
10705
10705
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10706
10706
|
readonly inputs: readonly [{
|
|
@@ -11321,7 +11321,7 @@ declare const useLens: () => {
|
|
|
11321
11321
|
}];
|
|
11322
11322
|
readonly stateMutability: "pure";
|
|
11323
11323
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
11324
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
11324
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
11325
11325
|
readonly type: "function";
|
|
11326
11326
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
11327
11327
|
readonly inputs: readonly [{
|
|
@@ -11942,7 +11942,7 @@ declare const useLens: () => {
|
|
|
11942
11942
|
}];
|
|
11943
11943
|
readonly stateMutability: "pure";
|
|
11944
11944
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
11945
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
11945
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
11946
11946
|
readonly type: "function";
|
|
11947
11947
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
11948
11948
|
readonly inputs: readonly [{
|
|
@@ -12563,7 +12563,7 @@ declare const useLens: () => {
|
|
|
12563
12563
|
}];
|
|
12564
12564
|
readonly stateMutability: "pure";
|
|
12565
12565
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
12566
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
12566
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
12567
12567
|
readonly type: "function";
|
|
12568
12568
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12569
12569
|
readonly inputs: readonly [{
|
|
@@ -13184,7 +13184,7 @@ declare const useLens: () => {
|
|
|
13184
13184
|
}];
|
|
13185
13185
|
readonly stateMutability: "pure";
|
|
13186
13186
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
13187
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
13187
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
13188
13188
|
readonly type: "function";
|
|
13189
13189
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13190
13190
|
readonly inputs: readonly [{
|
|
@@ -13805,7 +13805,7 @@ declare const useLens: () => {
|
|
|
13805
13805
|
}];
|
|
13806
13806
|
readonly stateMutability: "pure";
|
|
13807
13807
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
13808
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
13808
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
13809
13809
|
readonly type: "function";
|
|
13810
13810
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13811
13811
|
readonly inputs: readonly [{
|
|
@@ -14426,7 +14426,7 @@ declare const useLens: () => {
|
|
|
14426
14426
|
}];
|
|
14427
14427
|
readonly stateMutability: "pure";
|
|
14428
14428
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
14429
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
14429
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
14430
14430
|
readonly type: "function";
|
|
14431
14431
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14432
14432
|
readonly inputs: readonly [{
|
|
@@ -15047,7 +15047,7 @@ declare const useLens: () => {
|
|
|
15047
15047
|
}];
|
|
15048
15048
|
readonly stateMutability: "pure";
|
|
15049
15049
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15050
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
15050
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
15051
15051
|
readonly type: "function";
|
|
15052
15052
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15053
15053
|
readonly inputs: readonly [{
|
|
@@ -15668,7 +15668,7 @@ declare const useLens: () => {
|
|
|
15668
15668
|
}];
|
|
15669
15669
|
readonly stateMutability: "pure";
|
|
15670
15670
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15671
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
15671
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
15672
15672
|
readonly type: "function";
|
|
15673
15673
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15674
15674
|
readonly inputs: readonly [{
|
|
@@ -16289,7 +16289,7 @@ declare const useLens: () => {
|
|
|
16289
16289
|
}];
|
|
16290
16290
|
readonly stateMutability: "pure";
|
|
16291
16291
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
16292
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
16292
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
16293
16293
|
readonly type: "function";
|
|
16294
16294
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16295
16295
|
readonly inputs: readonly [{
|
|
@@ -16910,7 +16910,7 @@ declare const useLens: () => {
|
|
|
16910
16910
|
}];
|
|
16911
16911
|
readonly stateMutability: "pure";
|
|
16912
16912
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
16913
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
16913
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
16914
16914
|
readonly type: "function";
|
|
16915
16915
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16916
16916
|
readonly inputs: readonly [{
|
|
@@ -17531,7 +17531,7 @@ declare const useLens: () => {
|
|
|
17531
17531
|
}];
|
|
17532
17532
|
readonly stateMutability: "pure";
|
|
17533
17533
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
17534
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
17534
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
17535
17535
|
readonly type: "function";
|
|
17536
17536
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17537
17537
|
readonly inputs: readonly [{
|
|
@@ -18152,7 +18152,7 @@ declare const useLens: () => {
|
|
|
18152
18152
|
}];
|
|
18153
18153
|
readonly stateMutability: "pure";
|
|
18154
18154
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
18155
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
18155
|
+
getPriceAtTick: (args: readonly [number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
18156
18156
|
readonly type: "function";
|
|
18157
18157
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18158
18158
|
readonly inputs: readonly [{
|
|
@@ -19399,7 +19399,7 @@ declare const useLens: () => {
|
|
|
19399
19399
|
} | undefined;
|
|
19400
19400
|
timelockLens: {
|
|
19401
19401
|
read: {
|
|
19402
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
19402
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
19403
19403
|
readonly type: "function";
|
|
19404
19404
|
readonly name: "batchGetRefTick";
|
|
19405
19405
|
readonly inputs: readonly [{
|
|
@@ -20105,7 +20105,7 @@ declare const useLens: () => {
|
|
|
20105
20105
|
}];
|
|
20106
20106
|
readonly stateMutability: "view";
|
|
20107
20107
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
20108
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
20108
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
20109
20109
|
readonly type: "function";
|
|
20110
20110
|
readonly name: "batchGetRefTick";
|
|
20111
20111
|
readonly inputs: readonly [{
|
|
@@ -20821,7 +20821,7 @@ declare const useLens: () => {
|
|
|
20821
20821
|
borrowedAmount0: bigint;
|
|
20822
20822
|
borrowedAmount1: bigint;
|
|
20823
20823
|
}[]>;
|
|
20824
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
20824
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
20825
20825
|
readonly type: "function";
|
|
20826
20826
|
readonly name: "batchGetRefTick";
|
|
20827
20827
|
readonly inputs: readonly [{
|
|
@@ -21546,7 +21546,7 @@ declare const useLens: () => {
|
|
|
21546
21546
|
createdAt: bigint;
|
|
21547
21547
|
liquidities: readonly bigint[];
|
|
21548
21548
|
}[], bigint, boolean]>;
|
|
21549
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
21549
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
21550
21550
|
readonly type: "function";
|
|
21551
21551
|
readonly name: "batchGetRefTick";
|
|
21552
21552
|
readonly inputs: readonly [{
|
|
@@ -22252,7 +22252,7 @@ declare const useLens: () => {
|
|
|
22252
22252
|
}];
|
|
22253
22253
|
readonly stateMutability: "view";
|
|
22254
22254
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
22255
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
22255
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
22256
22256
|
readonly type: "function";
|
|
22257
22257
|
readonly name: "batchGetRefTick";
|
|
22258
22258
|
readonly inputs: readonly [{
|
|
@@ -22971,7 +22971,7 @@ declare const useLens: () => {
|
|
|
22971
22971
|
payoutAssetName: string;
|
|
22972
22972
|
optionsCount: bigint;
|
|
22973
22973
|
}>;
|
|
22974
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
22974
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
22975
22975
|
readonly type: "function";
|
|
22976
22976
|
readonly name: "batchGetRefTick";
|
|
22977
22977
|
readonly inputs: readonly [{
|
|
@@ -23677,7 +23677,7 @@ declare const useLens: () => {
|
|
|
23677
23677
|
}];
|
|
23678
23678
|
readonly stateMutability: "view";
|
|
23679
23679
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
23680
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
23680
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
23681
23681
|
readonly type: "function";
|
|
23682
23682
|
readonly name: "batchGetRefTick";
|
|
23683
23683
|
readonly inputs: readonly [{
|
|
@@ -24383,7 +24383,7 @@ declare const useLens: () => {
|
|
|
24383
24383
|
}];
|
|
24384
24384
|
readonly stateMutability: "view";
|
|
24385
24385
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
24386
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
24386
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
24387
24387
|
readonly type: "function";
|
|
24388
24388
|
readonly name: "batchGetRefTick";
|
|
24389
24389
|
readonly inputs: readonly [{
|
|
@@ -25108,7 +25108,7 @@ declare const useLens: () => {
|
|
|
25108
25108
|
createdAt: bigint;
|
|
25109
25109
|
liquidities: readonly bigint[];
|
|
25110
25110
|
}>;
|
|
25111
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
25111
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
25112
25112
|
readonly type: "function";
|
|
25113
25113
|
readonly name: "batchGetRefTick";
|
|
25114
25114
|
readonly inputs: readonly [{
|
|
@@ -25833,7 +25833,7 @@ declare const useLens: () => {
|
|
|
25833
25833
|
createdAt: bigint;
|
|
25834
25834
|
liquidities: readonly bigint[];
|
|
25835
25835
|
}[]>;
|
|
25836
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
25836
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
25837
25837
|
readonly type: "function";
|
|
25838
25838
|
readonly name: "batchGetRefTick";
|
|
25839
25839
|
readonly inputs: readonly [{
|
|
@@ -26550,7 +26550,7 @@ declare const useLens: () => {
|
|
|
26550
26550
|
tickSpacing: number;
|
|
26551
26551
|
fee: number;
|
|
26552
26552
|
}>;
|
|
26553
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
26553
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
26554
26554
|
readonly type: "function";
|
|
26555
26555
|
readonly name: "batchGetRefTick";
|
|
26556
26556
|
readonly inputs: readonly [{
|
|
@@ -27256,7 +27256,7 @@ declare const useLens: () => {
|
|
|
27256
27256
|
}];
|
|
27257
27257
|
readonly stateMutability: "view";
|
|
27258
27258
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
27259
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
27259
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
27260
27260
|
readonly type: "function";
|
|
27261
27261
|
readonly name: "batchGetRefTick";
|
|
27262
27262
|
readonly inputs: readonly [{
|
|
@@ -27981,7 +27981,7 @@ declare const useLens: () => {
|
|
|
27981
27981
|
createdAt: bigint;
|
|
27982
27982
|
liquidities: readonly bigint[];
|
|
27983
27983
|
}[], bigint, boolean]>;
|
|
27984
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
27984
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
27985
27985
|
readonly type: "function";
|
|
27986
27986
|
readonly name: "batchGetRefTick";
|
|
27987
27987
|
readonly inputs: readonly [{
|