timelock-sdk 0.0.20 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abis.cjs +1 -1
- package/dist/abis.d.cts +1 -1
- package/dist/abis.d.ts +1 -1
- package/dist/abis.js +1 -1
- package/dist/client.cjs +3 -2
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +115 -58
- package/dist/client.d.ts +115 -58
- package/dist/client.js +3 -2
- package/dist/client.js.map +1 -1
- package/dist/{index-8U83cr4t.d.cts → index-B7b3c8cu.d.cts} +59 -3
- package/dist/{index-BtLyBBZa.d.ts → index-CRhFaRiq.d.ts} +150 -94
- package/dist/{numberUtils-DP-pDRRs.js → numberUtils-CAMznXR5.js} +3 -3
- package/dist/{numberUtils-DP-pDRRs.js.map → numberUtils-CAMznXR5.js.map} +1 -1
- package/dist/{numberUtils-B7BwWYfb.cjs → numberUtils-DOUvJfQD.cjs} +3 -3
- package/dist/{numberUtils-B7BwWYfb.cjs.map → numberUtils-DOUvJfQD.cjs.map} +1 -1
- package/dist/{optionsMarket-BsK9z8z4.cjs → optionsMarket-Br-bjuSA.cjs} +6 -1
- package/dist/optionsMarket-Br-bjuSA.cjs.map +1 -0
- package/dist/{optionsMarket-BsJTpwtl.js → optionsMarket-DyBxHplR.js} +6 -1
- package/dist/optionsMarket-DyBxHplR.js.map +1 -0
- package/dist/package.cjs +2 -2
- package/dist/package.d.cts +2 -2
- package/dist/package.d.ts +2 -2
- package/dist/package.js +2 -2
- package/dist/{uniswapMathLens-CsZDhwII.d.cts → uniswapMathLens-B1MIL2yT.d.cts} +5 -1
- package/dist/{uniswapMathLens-SWLgAikn.d.ts → uniswapMathLens-MrB_VfJB.d.ts} +5 -1
- package/package.json +1 -1
- package/dist/optionsMarket-BsJTpwtl.js.map +0 -1
- package/dist/optionsMarket-BsK9z8z4.cjs.map +0 -1
package/dist/client.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./uniswapMathLens-
|
|
2
|
-
import { Amount, TimelockMarketData, UniswapMathLens } from "./index-
|
|
1
|
+
import "./uniswapMathLens-B1MIL2yT.cjs";
|
|
2
|
+
import { Amount, TimelockMarketData, UniswapMathLens } from "./index-B7b3c8cu.cjs";
|
|
3
3
|
import "graphql";
|
|
4
4
|
import "graphql-request";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
6
|
-
import * as
|
|
6
|
+
import * as viem0 from "viem";
|
|
7
7
|
import { Address } from "viem";
|
|
8
8
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
9
9
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
@@ -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: viem0.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: viem0.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
|
+
}[], viem0.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: viem0.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
|
+
}[], viem0.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: viem0.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: viem0.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
|
+
}[], viem0.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: viem0.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
|
+
}[], viem0.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: viem0.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
|
+
}[], viem0.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: viem0.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
|
+
}[], viem0.ReadContractErrorType>>;
|
|
2560
2560
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2561
2561
|
promise: Promise<readonly {
|
|
2562
2562
|
tickLower: number;
|
|
@@ -2619,14 +2619,15 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
2619
2619
|
totalAmount1: Amount | undefined;
|
|
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], viem0.ReadContractErrorType>>;
|
|
2623
2624
|
};
|
|
2624
2625
|
//#endregion
|
|
2625
2626
|
//#region src/hooks/useLens.d.ts
|
|
2626
2627
|
declare const useLens: () => {
|
|
2627
2628
|
uniswapLens: {
|
|
2628
2629
|
read: {
|
|
2629
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
2630
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
2630
2631
|
readonly type: "function";
|
|
2631
2632
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
2632
2633
|
readonly inputs: readonly [{
|
|
@@ -3247,7 +3248,7 @@ declare const useLens: () => {
|
|
|
3247
3248
|
}];
|
|
3248
3249
|
readonly stateMutability: "pure";
|
|
3249
3250
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
3250
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
3251
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
3251
3252
|
readonly type: "function";
|
|
3252
3253
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
3253
3254
|
readonly inputs: readonly [{
|
|
@@ -3868,7 +3869,7 @@ declare const useLens: () => {
|
|
|
3868
3869
|
}];
|
|
3869
3870
|
readonly stateMutability: "pure";
|
|
3870
3871
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
3871
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
3872
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
3872
3873
|
readonly type: "function";
|
|
3873
3874
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
3874
3875
|
readonly inputs: readonly [{
|
|
@@ -4489,7 +4490,7 @@ declare const useLens: () => {
|
|
|
4489
4490
|
}];
|
|
4490
4491
|
readonly stateMutability: "pure";
|
|
4491
4492
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
4492
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
4493
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
4493
4494
|
readonly type: "function";
|
|
4494
4495
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
4495
4496
|
readonly inputs: readonly [{
|
|
@@ -5110,7 +5111,7 @@ declare const useLens: () => {
|
|
|
5110
5111
|
}];
|
|
5111
5112
|
readonly stateMutability: "pure";
|
|
5112
5113
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
5113
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
5114
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
5114
5115
|
readonly type: "function";
|
|
5115
5116
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
5116
5117
|
readonly inputs: readonly [{
|
|
@@ -5731,7 +5732,7 @@ declare const useLens: () => {
|
|
|
5731
5732
|
}];
|
|
5732
5733
|
readonly stateMutability: "pure";
|
|
5733
5734
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
5734
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
5735
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
5735
5736
|
readonly type: "function";
|
|
5736
5737
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
5737
5738
|
readonly inputs: readonly [{
|
|
@@ -6352,7 +6353,7 @@ declare const useLens: () => {
|
|
|
6352
6353
|
}];
|
|
6353
6354
|
readonly stateMutability: "pure";
|
|
6354
6355
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
6355
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
6356
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
6356
6357
|
readonly type: "function";
|
|
6357
6358
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
6358
6359
|
readonly inputs: readonly [{
|
|
@@ -6973,7 +6974,7 @@ declare const useLens: () => {
|
|
|
6973
6974
|
}];
|
|
6974
6975
|
readonly stateMutability: "pure";
|
|
6975
6976
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
6976
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
6977
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
6977
6978
|
readonly type: "function";
|
|
6978
6979
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
6979
6980
|
readonly inputs: readonly [{
|
|
@@ -7594,7 +7595,7 @@ declare const useLens: () => {
|
|
|
7594
7595
|
}];
|
|
7595
7596
|
readonly stateMutability: "pure";
|
|
7596
7597
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7597
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
7598
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
7598
7599
|
readonly type: "function";
|
|
7599
7600
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7600
7601
|
readonly inputs: readonly [{
|
|
@@ -8215,7 +8216,7 @@ declare const useLens: () => {
|
|
|
8215
8216
|
}];
|
|
8216
8217
|
readonly stateMutability: "pure";
|
|
8217
8218
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
8218
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
8219
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
8219
8220
|
readonly type: "function";
|
|
8220
8221
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
8221
8222
|
readonly inputs: readonly [{
|
|
@@ -8836,7 +8837,7 @@ declare const useLens: () => {
|
|
|
8836
8837
|
}];
|
|
8837
8838
|
readonly stateMutability: "pure";
|
|
8838
8839
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
8839
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
8840
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
8840
8841
|
readonly type: "function";
|
|
8841
8842
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
8842
8843
|
readonly inputs: readonly [{
|
|
@@ -9457,7 +9458,7 @@ declare const useLens: () => {
|
|
|
9457
9458
|
}];
|
|
9458
9459
|
readonly stateMutability: "pure";
|
|
9459
9460
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
9460
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
9461
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
9461
9462
|
readonly type: "function";
|
|
9462
9463
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9463
9464
|
readonly inputs: readonly [{
|
|
@@ -10078,7 +10079,7 @@ declare const useLens: () => {
|
|
|
10078
10079
|
}];
|
|
10079
10080
|
readonly stateMutability: "pure";
|
|
10080
10081
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10081
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
10082
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
10082
10083
|
readonly type: "function";
|
|
10083
10084
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10084
10085
|
readonly inputs: readonly [{
|
|
@@ -10699,7 +10700,7 @@ declare const useLens: () => {
|
|
|
10699
10700
|
}];
|
|
10700
10701
|
readonly stateMutability: "pure";
|
|
10701
10702
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10702
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
10703
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
10703
10704
|
readonly type: "function";
|
|
10704
10705
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10705
10706
|
readonly inputs: readonly [{
|
|
@@ -11320,7 +11321,7 @@ declare const useLens: () => {
|
|
|
11320
11321
|
}];
|
|
11321
11322
|
readonly stateMutability: "pure";
|
|
11322
11323
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
11323
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
11324
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
11324
11325
|
readonly type: "function";
|
|
11325
11326
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
11326
11327
|
readonly inputs: readonly [{
|
|
@@ -11941,7 +11942,7 @@ declare const useLens: () => {
|
|
|
11941
11942
|
}];
|
|
11942
11943
|
readonly stateMutability: "pure";
|
|
11943
11944
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
11944
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
11945
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
11945
11946
|
readonly type: "function";
|
|
11946
11947
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
11947
11948
|
readonly inputs: readonly [{
|
|
@@ -12562,7 +12563,7 @@ declare const useLens: () => {
|
|
|
12562
12563
|
}];
|
|
12563
12564
|
readonly stateMutability: "pure";
|
|
12564
12565
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
12565
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
12566
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
12566
12567
|
readonly type: "function";
|
|
12567
12568
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12568
12569
|
readonly inputs: readonly [{
|
|
@@ -13183,7 +13184,7 @@ declare const useLens: () => {
|
|
|
13183
13184
|
}];
|
|
13184
13185
|
readonly stateMutability: "pure";
|
|
13185
13186
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
13186
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
13187
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
13187
13188
|
readonly type: "function";
|
|
13188
13189
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13189
13190
|
readonly inputs: readonly [{
|
|
@@ -13804,7 +13805,7 @@ declare const useLens: () => {
|
|
|
13804
13805
|
}];
|
|
13805
13806
|
readonly stateMutability: "pure";
|
|
13806
13807
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
13807
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
13808
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
13808
13809
|
readonly type: "function";
|
|
13809
13810
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13810
13811
|
readonly inputs: readonly [{
|
|
@@ -14425,7 +14426,7 @@ declare const useLens: () => {
|
|
|
14425
14426
|
}];
|
|
14426
14427
|
readonly stateMutability: "pure";
|
|
14427
14428
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
14428
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
14429
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
14429
14430
|
readonly type: "function";
|
|
14430
14431
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14431
14432
|
readonly inputs: readonly [{
|
|
@@ -15046,7 +15047,7 @@ declare const useLens: () => {
|
|
|
15046
15047
|
}];
|
|
15047
15048
|
readonly stateMutability: "pure";
|
|
15048
15049
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15049
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
15050
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
15050
15051
|
readonly type: "function";
|
|
15051
15052
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15052
15053
|
readonly inputs: readonly [{
|
|
@@ -15667,7 +15668,7 @@ declare const useLens: () => {
|
|
|
15667
15668
|
}];
|
|
15668
15669
|
readonly stateMutability: "pure";
|
|
15669
15670
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15670
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
15671
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
15671
15672
|
readonly type: "function";
|
|
15672
15673
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15673
15674
|
readonly inputs: readonly [{
|
|
@@ -16288,7 +16289,7 @@ declare const useLens: () => {
|
|
|
16288
16289
|
}];
|
|
16289
16290
|
readonly stateMutability: "pure";
|
|
16290
16291
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
16291
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
16292
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
16292
16293
|
readonly type: "function";
|
|
16293
16294
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16294
16295
|
readonly inputs: readonly [{
|
|
@@ -16909,7 +16910,7 @@ declare const useLens: () => {
|
|
|
16909
16910
|
}];
|
|
16910
16911
|
readonly stateMutability: "pure";
|
|
16911
16912
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
16912
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
16913
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
16913
16914
|
readonly type: "function";
|
|
16914
16915
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16915
16916
|
readonly inputs: readonly [{
|
|
@@ -17530,7 +17531,7 @@ declare const useLens: () => {
|
|
|
17530
17531
|
}];
|
|
17531
17532
|
readonly stateMutability: "pure";
|
|
17532
17533
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
17533
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
17534
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
17534
17535
|
readonly type: "function";
|
|
17535
17536
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17536
17537
|
readonly inputs: readonly [{
|
|
@@ -18151,7 +18152,7 @@ declare const useLens: () => {
|
|
|
18151
18152
|
}];
|
|
18152
18153
|
readonly stateMutability: "pure";
|
|
18153
18154
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
18154
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
18155
|
+
getPriceAtTick: (args: readonly [number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
18155
18156
|
readonly type: "function";
|
|
18156
18157
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18157
18158
|
readonly inputs: readonly [{
|
|
@@ -19398,7 +19399,7 @@ declare const useLens: () => {
|
|
|
19398
19399
|
} | undefined;
|
|
19399
19400
|
timelockLens: {
|
|
19400
19401
|
read: {
|
|
19401
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
19402
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
19402
19403
|
readonly type: "function";
|
|
19403
19404
|
readonly name: "batchGetRefTick";
|
|
19404
19405
|
readonly inputs: readonly [{
|
|
@@ -20097,10 +20098,14 @@ declare const useLens: () => {
|
|
|
20097
20098
|
readonly name: "tvl1";
|
|
20098
20099
|
readonly type: "uint256";
|
|
20099
20100
|
readonly internalType: "uint256";
|
|
20101
|
+
}, {
|
|
20102
|
+
readonly name: "blocksCount";
|
|
20103
|
+
readonly type: "uint256";
|
|
20104
|
+
readonly internalType: "uint256";
|
|
20100
20105
|
}];
|
|
20101
20106
|
readonly stateMutability: "view";
|
|
20102
20107
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
20103
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
20108
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
20104
20109
|
readonly type: "function";
|
|
20105
20110
|
readonly name: "batchGetRefTick";
|
|
20106
20111
|
readonly inputs: readonly [{
|
|
@@ -20799,6 +20804,10 @@ declare const useLens: () => {
|
|
|
20799
20804
|
readonly name: "tvl1";
|
|
20800
20805
|
readonly type: "uint256";
|
|
20801
20806
|
readonly internalType: "uint256";
|
|
20807
|
+
}, {
|
|
20808
|
+
readonly name: "blocksCount";
|
|
20809
|
+
readonly type: "uint256";
|
|
20810
|
+
readonly internalType: "uint256";
|
|
20802
20811
|
}];
|
|
20803
20812
|
readonly stateMutability: "view";
|
|
20804
20813
|
}], "getAllBlocks", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly {
|
|
@@ -20812,7 +20821,7 @@ declare const useLens: () => {
|
|
|
20812
20821
|
borrowedAmount0: bigint;
|
|
20813
20822
|
borrowedAmount1: bigint;
|
|
20814
20823
|
}[]>;
|
|
20815
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
20824
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
20816
20825
|
readonly type: "function";
|
|
20817
20826
|
readonly name: "batchGetRefTick";
|
|
20818
20827
|
readonly inputs: readonly [{
|
|
@@ -21511,6 +21520,10 @@ declare const useLens: () => {
|
|
|
21511
21520
|
readonly name: "tvl1";
|
|
21512
21521
|
readonly type: "uint256";
|
|
21513
21522
|
readonly internalType: "uint256";
|
|
21523
|
+
}, {
|
|
21524
|
+
readonly name: "blocksCount";
|
|
21525
|
+
readonly type: "uint256";
|
|
21526
|
+
readonly internalType: "uint256";
|
|
21514
21527
|
}];
|
|
21515
21528
|
readonly stateMutability: "view";
|
|
21516
21529
|
}], "getExpiredOptions", readonly [`0x${string}`, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly {
|
|
@@ -21533,7 +21546,7 @@ declare const useLens: () => {
|
|
|
21533
21546
|
createdAt: bigint;
|
|
21534
21547
|
liquidities: readonly bigint[];
|
|
21535
21548
|
}[], bigint, boolean]>;
|
|
21536
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
21549
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
21537
21550
|
readonly type: "function";
|
|
21538
21551
|
readonly name: "batchGetRefTick";
|
|
21539
21552
|
readonly inputs: readonly [{
|
|
@@ -22232,10 +22245,14 @@ declare const useLens: () => {
|
|
|
22232
22245
|
readonly name: "tvl1";
|
|
22233
22246
|
readonly type: "uint256";
|
|
22234
22247
|
readonly internalType: "uint256";
|
|
22248
|
+
}, {
|
|
22249
|
+
readonly name: "blocksCount";
|
|
22250
|
+
readonly type: "uint256";
|
|
22251
|
+
readonly internalType: "uint256";
|
|
22235
22252
|
}];
|
|
22236
22253
|
readonly stateMutability: "view";
|
|
22237
22254
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
22238
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
22255
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
22239
22256
|
readonly type: "function";
|
|
22240
22257
|
readonly name: "batchGetRefTick";
|
|
22241
22258
|
readonly inputs: readonly [{
|
|
@@ -22934,6 +22951,10 @@ declare const useLens: () => {
|
|
|
22934
22951
|
readonly name: "tvl1";
|
|
22935
22952
|
readonly type: "uint256";
|
|
22936
22953
|
readonly internalType: "uint256";
|
|
22954
|
+
}, {
|
|
22955
|
+
readonly name: "blocksCount";
|
|
22956
|
+
readonly type: "uint256";
|
|
22957
|
+
readonly internalType: "uint256";
|
|
22937
22958
|
}];
|
|
22938
22959
|
readonly stateMutability: "view";
|
|
22939
22960
|
}], "getMarketData", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<{
|
|
@@ -22950,7 +22971,7 @@ declare const useLens: () => {
|
|
|
22950
22971
|
payoutAssetName: string;
|
|
22951
22972
|
optionsCount: bigint;
|
|
22952
22973
|
}>;
|
|
22953
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
22974
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
22954
22975
|
readonly type: "function";
|
|
22955
22976
|
readonly name: "batchGetRefTick";
|
|
22956
22977
|
readonly inputs: readonly [{
|
|
@@ -23649,10 +23670,14 @@ declare const useLens: () => {
|
|
|
23649
23670
|
readonly name: "tvl1";
|
|
23650
23671
|
readonly type: "uint256";
|
|
23651
23672
|
readonly internalType: "uint256";
|
|
23673
|
+
}, {
|
|
23674
|
+
readonly name: "blocksCount";
|
|
23675
|
+
readonly type: "uint256";
|
|
23676
|
+
readonly internalType: "uint256";
|
|
23652
23677
|
}];
|
|
23653
23678
|
readonly stateMutability: "view";
|
|
23654
23679
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
23655
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
23680
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
23656
23681
|
readonly type: "function";
|
|
23657
23682
|
readonly name: "batchGetRefTick";
|
|
23658
23683
|
readonly inputs: readonly [{
|
|
@@ -24351,10 +24376,14 @@ declare const useLens: () => {
|
|
|
24351
24376
|
readonly name: "tvl1";
|
|
24352
24377
|
readonly type: "uint256";
|
|
24353
24378
|
readonly internalType: "uint256";
|
|
24379
|
+
}, {
|
|
24380
|
+
readonly name: "blocksCount";
|
|
24381
|
+
readonly type: "uint256";
|
|
24382
|
+
readonly internalType: "uint256";
|
|
24354
24383
|
}];
|
|
24355
24384
|
readonly stateMutability: "view";
|
|
24356
24385
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
24357
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
24386
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
24358
24387
|
readonly type: "function";
|
|
24359
24388
|
readonly name: "batchGetRefTick";
|
|
24360
24389
|
readonly inputs: readonly [{
|
|
@@ -25053,6 +25082,10 @@ declare const useLens: () => {
|
|
|
25053
25082
|
readonly name: "tvl1";
|
|
25054
25083
|
readonly type: "uint256";
|
|
25055
25084
|
readonly internalType: "uint256";
|
|
25085
|
+
}, {
|
|
25086
|
+
readonly name: "blocksCount";
|
|
25087
|
+
readonly type: "uint256";
|
|
25088
|
+
readonly internalType: "uint256";
|
|
25056
25089
|
}];
|
|
25057
25090
|
readonly stateMutability: "view";
|
|
25058
25091
|
}], "getOptionData", readonly [`0x${string}`, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<{
|
|
@@ -25075,7 +25108,7 @@ declare const useLens: () => {
|
|
|
25075
25108
|
createdAt: bigint;
|
|
25076
25109
|
liquidities: readonly bigint[];
|
|
25077
25110
|
}>;
|
|
25078
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
25111
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
25079
25112
|
readonly type: "function";
|
|
25080
25113
|
readonly name: "batchGetRefTick";
|
|
25081
25114
|
readonly inputs: readonly [{
|
|
@@ -25774,6 +25807,10 @@ declare const useLens: () => {
|
|
|
25774
25807
|
readonly name: "tvl1";
|
|
25775
25808
|
readonly type: "uint256";
|
|
25776
25809
|
readonly internalType: "uint256";
|
|
25810
|
+
}, {
|
|
25811
|
+
readonly name: "blocksCount";
|
|
25812
|
+
readonly type: "uint256";
|
|
25813
|
+
readonly internalType: "uint256";
|
|
25777
25814
|
}];
|
|
25778
25815
|
readonly stateMutability: "view";
|
|
25779
25816
|
}], "getOptionsData", readonly [`0x${string}`, readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly {
|
|
@@ -25796,7 +25833,7 @@ declare const useLens: () => {
|
|
|
25796
25833
|
createdAt: bigint;
|
|
25797
25834
|
liquidities: readonly bigint[];
|
|
25798
25835
|
}[]>;
|
|
25799
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
25836
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
25800
25837
|
readonly type: "function";
|
|
25801
25838
|
readonly name: "batchGetRefTick";
|
|
25802
25839
|
readonly inputs: readonly [{
|
|
@@ -26495,6 +26532,10 @@ declare const useLens: () => {
|
|
|
26495
26532
|
readonly name: "tvl1";
|
|
26496
26533
|
readonly type: "uint256";
|
|
26497
26534
|
readonly internalType: "uint256";
|
|
26535
|
+
}, {
|
|
26536
|
+
readonly name: "blocksCount";
|
|
26537
|
+
readonly type: "uint256";
|
|
26538
|
+
readonly internalType: "uint256";
|
|
26498
26539
|
}];
|
|
26499
26540
|
readonly stateMutability: "view";
|
|
26500
26541
|
}], "getPoolData", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<{
|
|
@@ -26509,7 +26550,7 @@ declare const useLens: () => {
|
|
|
26509
26550
|
tickSpacing: number;
|
|
26510
26551
|
fee: number;
|
|
26511
26552
|
}>;
|
|
26512
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
26553
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
26513
26554
|
readonly type: "function";
|
|
26514
26555
|
readonly name: "batchGetRefTick";
|
|
26515
26556
|
readonly inputs: readonly [{
|
|
@@ -27208,10 +27249,14 @@ declare const useLens: () => {
|
|
|
27208
27249
|
readonly name: "tvl1";
|
|
27209
27250
|
readonly type: "uint256";
|
|
27210
27251
|
readonly internalType: "uint256";
|
|
27252
|
+
}, {
|
|
27253
|
+
readonly name: "blocksCount";
|
|
27254
|
+
readonly type: "uint256";
|
|
27255
|
+
readonly internalType: "uint256";
|
|
27211
27256
|
}];
|
|
27212
27257
|
readonly stateMutability: "view";
|
|
27213
27258
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
27214
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
27259
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
27215
27260
|
readonly type: "function";
|
|
27216
27261
|
readonly name: "batchGetRefTick";
|
|
27217
27262
|
readonly inputs: readonly [{
|
|
@@ -27910,6 +27955,10 @@ declare const useLens: () => {
|
|
|
27910
27955
|
readonly name: "tvl1";
|
|
27911
27956
|
readonly type: "uint256";
|
|
27912
27957
|
readonly internalType: "uint256";
|
|
27958
|
+
}, {
|
|
27959
|
+
readonly name: "blocksCount";
|
|
27960
|
+
readonly type: "uint256";
|
|
27961
|
+
readonly internalType: "uint256";
|
|
27913
27962
|
}];
|
|
27914
27963
|
readonly stateMutability: "view";
|
|
27915
27964
|
}], "getUserOptions", readonly [`0x${string}`, `0x${string}`, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly {
|
|
@@ -27932,7 +27981,7 @@ declare const useLens: () => {
|
|
|
27932
27981
|
createdAt: bigint;
|
|
27933
27982
|
liquidities: readonly bigint[];
|
|
27934
27983
|
}[], bigint, boolean]>;
|
|
27935
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
27984
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
27936
27985
|
readonly type: "function";
|
|
27937
27986
|
readonly name: "batchGetRefTick";
|
|
27938
27987
|
readonly inputs: readonly [{
|
|
@@ -28631,9 +28680,13 @@ declare const useLens: () => {
|
|
|
28631
28680
|
readonly name: "tvl1";
|
|
28632
28681
|
readonly type: "uint256";
|
|
28633
28682
|
readonly internalType: "uint256";
|
|
28683
|
+
}, {
|
|
28684
|
+
readonly name: "blocksCount";
|
|
28685
|
+
readonly type: "uint256";
|
|
28686
|
+
readonly internalType: "uint256";
|
|
28634
28687
|
}];
|
|
28635
28688
|
readonly stateMutability: "view";
|
|
28636
|
-
}], "getVaultTVL", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint, bigint, bigint, bigint, bigint]>;
|
|
28689
|
+
}], "getVaultTVL", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint]>;
|
|
28637
28690
|
};
|
|
28638
28691
|
address: `0x${string}`;
|
|
28639
28692
|
abi: readonly [{
|
|
@@ -29335,6 +29388,10 @@ declare const useLens: () => {
|
|
|
29335
29388
|
readonly name: "tvl1";
|
|
29336
29389
|
readonly type: "uint256";
|
|
29337
29390
|
readonly internalType: "uint256";
|
|
29391
|
+
}, {
|
|
29392
|
+
readonly name: "blocksCount";
|
|
29393
|
+
readonly type: "uint256";
|
|
29394
|
+
readonly internalType: "uint256";
|
|
29338
29395
|
}];
|
|
29339
29396
|
readonly stateMutability: "view";
|
|
29340
29397
|
}];
|