timelock-sdk 0.0.55 → 0.0.57

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.d.ts CHANGED
@@ -1,14 +1,18 @@
1
1
  import "./uniswapMathLens-BCl11EO1.js";
2
- import { D as TimelockMarketData, O as UniswapMathLens, d as Amount } from "./index-D5xWncVD.js";
3
- import * as viem0 from "viem";
2
+ import { D as TimelockMarketData, O as UniswapMathLens, d as Amount } from "./index-BCwVk3dz.js";
3
+ import * as viem249 from "viem";
4
4
  import { Address } from "viem";
5
5
  import React, { ReactNode } from "react";
6
+ import * as wagmi0 from "wagmi";
6
7
  import { GraphQLClient, RequestOptions } from "graphql-request";
7
8
  import * as _tanstack_react_query0 from "@tanstack/react-query";
8
9
  import { NonUndefinedGuard } from "@tanstack/react-query";
9
10
  import "graphql";
10
11
  import * as _wagmi_core0 from "@wagmi/core";
11
12
  import * as _tanstack_query_core0 from "@tanstack/query-core";
13
+ import * as node_modules__wagmi_core_dist_types_errors_base0 from "node_modules/@wagmi/core/dist/types/errors/base";
14
+ import * as node_modules_viem__types_errors_abi0 from "node_modules/viem/_types/errors/abi";
15
+ import * as node_modules_viem__types_errors_account0 from "node_modules/viem/_types/errors/account";
12
16
 
13
17
  //#region src/generated/graphql.d.ts
14
18
  type Exact<T$1 extends {
@@ -2336,8 +2340,11 @@ declare const useMintOption: (marketAddr?: Address) => {
2336
2340
  isPending: boolean;
2337
2341
  isConfirming: boolean;
2338
2342
  isSuccess: boolean;
2339
- error: _wagmi_core0.WriteContractErrorType | null;
2343
+ error: wagmi0.ConnectorAccountNotFoundErrorType | wagmi0.ConnectorChainMismatchErrorType | _wagmi_core0.ConnectorNotConnectedErrorType | wagmi0.ConnectorUnavailableReconnectingErrorType | viem249.BaseErrorType | node_modules__wagmi_core_dist_types_errors_base0.ErrorType | node_modules__wagmi_core_dist_types_errors_base0.BaseErrorType | viem249.AbiFunctionNotFoundErrorType | viem249.AbiEncodingLengthMismatchErrorType | viem249.InvalidAddressErrorType | viem249.AbiEncodingArrayLengthMismatchErrorType | viem249.IntegerOutOfRangeErrorType | viem249.SizeExceedsPaddingSizeErrorType | viem249.InvalidArrayErrorType | viem249.AbiEncodingBytesSizeMismatchErrorType | viem249.SizeOverflowErrorType | viem249.SliceOffsetOutOfBoundsErrorType | viem249.InvalidAbiEncodingTypeErrorType | viem249.InvalidDefinitionTypeErrorType | node_modules_viem__types_errors_abi0.AbiItemAmbiguityErrorType | node_modules_viem__types_errors_account0.AccountNotFoundErrorType | viem249.GetContractErrorReturnType<viem249.SendTransactionErrorType> | null;
2340
2344
  isLoading: boolean;
2345
+ isApprovalPending: boolean;
2346
+ approvalError: _wagmi_core0.WriteContractErrorType | null;
2347
+ resetApproval: () => void;
2341
2348
  };
2342
2349
  //#endregion
2343
2350
  //#region src/hooks/market/useOptionPnl.d.ts
@@ -2357,6 +2364,20 @@ declare const useOptionPremium: (marketAddr: Address | undefined, optionType: "C
2357
2364
  totalPremium: Amount;
2358
2365
  };
2359
2366
  //#endregion
2367
+ //#region src/hooks/market/useExtendOption.d.ts
2368
+ declare const useExtendOption: (marketAddr?: Address) => {
2369
+ extendOption: (option: OptionData, duration: number) => Promise<`0x${string}`>;
2370
+ hash: `0x${string}` | undefined;
2371
+ isPending: boolean;
2372
+ isConfirming: boolean;
2373
+ isSuccess: boolean;
2374
+ error: wagmi0.ConnectorAccountNotFoundErrorType | wagmi0.ConnectorChainMismatchErrorType | _wagmi_core0.ConnectorNotConnectedErrorType | wagmi0.ConnectorUnavailableReconnectingErrorType | viem249.BaseErrorType | node_modules__wagmi_core_dist_types_errors_base0.ErrorType | node_modules__wagmi_core_dist_types_errors_base0.BaseErrorType | viem249.AbiFunctionNotFoundErrorType | viem249.AbiEncodingLengthMismatchErrorType | viem249.InvalidAddressErrorType | viem249.AbiEncodingArrayLengthMismatchErrorType | viem249.IntegerOutOfRangeErrorType | viem249.SizeExceedsPaddingSizeErrorType | viem249.InvalidArrayErrorType | viem249.AbiEncodingBytesSizeMismatchErrorType | viem249.SizeOverflowErrorType | viem249.SliceOffsetOutOfBoundsErrorType | viem249.InvalidAbiEncodingTypeErrorType | viem249.InvalidDefinitionTypeErrorType | node_modules_viem__types_errors_abi0.AbiItemAmbiguityErrorType | node_modules_viem__types_errors_account0.AccountNotFoundErrorType | viem249.GetContractErrorReturnType<viem249.SendTransactionErrorType> | null;
2375
+ isLoading: boolean;
2376
+ isApprovalPending: boolean;
2377
+ approvalError: _wagmi_core0.WriteContractErrorType | null;
2378
+ resetApproval: () => void;
2379
+ };
2380
+ //#endregion
2360
2381
  //#region src/hooks/pool/useCurrentPrice.d.ts
2361
2382
  declare const useCurrentPrice: (poolAddr?: Address) => {
2362
2383
  currentPrice: Amount | undefined;
@@ -2421,7 +2442,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
2421
2442
  //#region src/hooks/vault/useLiquidityBlocks.d.ts
2422
2443
  type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
2423
2444
  declare const useLiquidityBlocks: (vaultAddr?: Address) => {
2424
- error: viem0.ReadContractErrorType;
2445
+ error: viem249.ReadContractErrorType;
2425
2446
  isError: true;
2426
2447
  isPending: false;
2427
2448
  isLoading: false;
@@ -2433,7 +2454,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
2433
2454
  dataUpdatedAt: number;
2434
2455
  errorUpdatedAt: number;
2435
2456
  failureCount: number;
2436
- failureReason: viem0.ReadContractErrorType | null;
2457
+ failureReason: viem249.ReadContractErrorType | null;
2437
2458
  errorUpdateCount: number;
2438
2459
  isFetched: boolean;
2439
2460
  isFetchedAfterMount: boolean;
@@ -2453,7 +2474,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
2453
2474
  totalAmount1: bigint;
2454
2475
  borrowedAmount0: bigint;
2455
2476
  borrowedAmount1: bigint;
2456
- }[], viem0.ReadContractErrorType>>;
2477
+ }[], viem249.ReadContractErrorType>>;
2457
2478
  fetchStatus: _tanstack_query_core0.FetchStatus;
2458
2479
  promise: Promise<readonly {
2459
2480
  tickLower: number;
@@ -2491,7 +2512,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
2491
2512
  dataUpdatedAt: number;
2492
2513
  errorUpdatedAt: number;
2493
2514
  failureCount: number;
2494
- failureReason: viem0.ReadContractErrorType | null;
2515
+ failureReason: viem249.ReadContractErrorType | null;
2495
2516
  errorUpdateCount: number;
2496
2517
  isFetched: boolean;
2497
2518
  isFetchedAfterMount: boolean;
@@ -2511,7 +2532,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
2511
2532
  totalAmount1: bigint;
2512
2533
  borrowedAmount0: bigint;
2513
2534
  borrowedAmount1: bigint;
2514
- }[], viem0.ReadContractErrorType>>;
2535
+ }[], viem249.ReadContractErrorType>>;
2515
2536
  fetchStatus: _tanstack_query_core0.FetchStatus;
2516
2537
  promise: Promise<readonly {
2517
2538
  tickLower: number;
@@ -2537,7 +2558,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
2537
2558
  borrowedAmount1: bigint;
2538
2559
  }[];
2539
2560
  } | {
2540
- error: viem0.ReadContractErrorType;
2561
+ error: viem249.ReadContractErrorType;
2541
2562
  isError: true;
2542
2563
  isPending: false;
2543
2564
  isLoading: false;
@@ -2549,7 +2570,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
2549
2570
  dataUpdatedAt: number;
2550
2571
  errorUpdatedAt: number;
2551
2572
  failureCount: number;
2552
- failureReason: viem0.ReadContractErrorType | null;
2573
+ failureReason: viem249.ReadContractErrorType | null;
2553
2574
  errorUpdateCount: number;
2554
2575
  isFetched: boolean;
2555
2576
  isFetchedAfterMount: boolean;
@@ -2569,7 +2590,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
2569
2590
  totalAmount1: bigint;
2570
2591
  borrowedAmount0: bigint;
2571
2592
  borrowedAmount1: bigint;
2572
- }[], viem0.ReadContractErrorType>>;
2593
+ }[], viem249.ReadContractErrorType>>;
2573
2594
  fetchStatus: _tanstack_query_core0.FetchStatus;
2574
2595
  promise: Promise<readonly {
2575
2596
  tickLower: number;
@@ -2607,7 +2628,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
2607
2628
  dataUpdatedAt: number;
2608
2629
  errorUpdatedAt: number;
2609
2630
  failureCount: number;
2610
- failureReason: viem0.ReadContractErrorType | null;
2631
+ failureReason: viem249.ReadContractErrorType | null;
2611
2632
  errorUpdateCount: number;
2612
2633
  isFetched: boolean;
2613
2634
  isFetchedAfterMount: boolean;
@@ -2627,7 +2648,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
2627
2648
  totalAmount1: bigint;
2628
2649
  borrowedAmount0: bigint;
2629
2650
  borrowedAmount1: bigint;
2630
- }[], viem0.ReadContractErrorType>>;
2651
+ }[], viem249.ReadContractErrorType>>;
2631
2652
  fetchStatus: _tanstack_query_core0.FetchStatus;
2632
2653
  promise: Promise<readonly {
2633
2654
  tickLower: number;
@@ -2664,7 +2685,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
2664
2685
  dataUpdatedAt: number;
2665
2686
  errorUpdatedAt: number;
2666
2687
  failureCount: number;
2667
- failureReason: viem0.ReadContractErrorType | null;
2688
+ failureReason: viem249.ReadContractErrorType | null;
2668
2689
  errorUpdateCount: number;
2669
2690
  isFetched: boolean;
2670
2691
  isFetchedAfterMount: boolean;
@@ -2685,7 +2706,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
2685
2706
  totalAmount1: bigint;
2686
2707
  borrowedAmount0: bigint;
2687
2708
  borrowedAmount1: bigint;
2688
- }[], viem0.ReadContractErrorType>>;
2709
+ }[], viem249.ReadContractErrorType>>;
2689
2710
  fetchStatus: _tanstack_query_core0.FetchStatus;
2690
2711
  promise: Promise<readonly {
2691
2712
  tickLower: number;
@@ -2723,7 +2744,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
2723
2744
  dataUpdatedAt: number;
2724
2745
  errorUpdatedAt: number;
2725
2746
  failureCount: number;
2726
- failureReason: viem0.ReadContractErrorType | null;
2747
+ failureReason: viem249.ReadContractErrorType | null;
2727
2748
  errorUpdateCount: number;
2728
2749
  isFetched: boolean;
2729
2750
  isFetchedAfterMount: boolean;
@@ -2743,7 +2764,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
2743
2764
  totalAmount1: bigint;
2744
2765
  borrowedAmount0: bigint;
2745
2766
  borrowedAmount1: bigint;
2746
- }[], viem0.ReadContractErrorType>>;
2767
+ }[], viem249.ReadContractErrorType>>;
2747
2768
  fetchStatus: _tanstack_query_core0.FetchStatus;
2748
2769
  promise: Promise<readonly {
2749
2770
  tickLower: number;
@@ -2816,14 +2837,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
2816
2837
  borrowedAmount0: Amount;
2817
2838
  borrowedAmount1: Amount;
2818
2839
  blocksCount: bigint;
2819
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem0.ReadContractErrorType>>;
2840
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem249.ReadContractErrorType>>;
2820
2841
  };
2821
2842
  //#endregion
2822
2843
  //#region src/hooks/useLens.d.ts
2823
2844
  declare const useLens: () => {
2824
2845
  timelockLens: {
2825
2846
  read: {
2826
- batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
2847
+ batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
2827
2848
  readonly type: "function";
2828
2849
  readonly name: "batchGetRefTick";
2829
2850
  readonly inputs: readonly [{
@@ -3497,7 +3518,7 @@ declare const useLens: () => {
3497
3518
  }];
3498
3519
  readonly stateMutability: "view";
3499
3520
  }], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
3500
- getAllBlocks: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
3521
+ getAllBlocks: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
3501
3522
  readonly type: "function";
3502
3523
  readonly name: "batchGetRefTick";
3503
3524
  readonly inputs: readonly [{
@@ -4181,7 +4202,7 @@ declare const useLens: () => {
4181
4202
  borrowedAmount0: bigint;
4182
4203
  borrowedAmount1: bigint;
4183
4204
  }[]>;
4184
- getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
4205
+ getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
4185
4206
  readonly type: "function";
4186
4207
  readonly name: "batchGetRefTick";
4187
4208
  readonly inputs: readonly [{
@@ -4872,7 +4893,7 @@ declare const useLens: () => {
4872
4893
  expiresAt: bigint;
4873
4894
  liquidities: readonly bigint[];
4874
4895
  }[], bigint, boolean]>;
4875
- getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
4896
+ getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
4876
4897
  readonly type: "function";
4877
4898
  readonly name: "batchGetRefTick";
4878
4899
  readonly inputs: readonly [{
@@ -5546,7 +5567,7 @@ declare const useLens: () => {
5546
5567
  }];
5547
5568
  readonly stateMutability: "view";
5548
5569
  }], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
5549
- getMarketData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
5570
+ getMarketData: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
5550
5571
  readonly type: "function";
5551
5572
  readonly name: "batchGetRefTick";
5552
5573
  readonly inputs: readonly [{
@@ -6233,7 +6254,7 @@ declare const useLens: () => {
6233
6254
  payoutAssetName: string;
6234
6255
  optionsCount: bigint;
6235
6256
  }>;
6236
- getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
6257
+ getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
6237
6258
  readonly type: "function";
6238
6259
  readonly name: "batchGetRefTick";
6239
6260
  readonly inputs: readonly [{
@@ -6907,7 +6928,7 @@ declare const useLens: () => {
6907
6928
  }];
6908
6929
  readonly stateMutability: "view";
6909
6930
  }], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
6910
- getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
6931
+ getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
6911
6932
  readonly type: "function";
6912
6933
  readonly name: "batchGetRefTick";
6913
6934
  readonly inputs: readonly [{
@@ -7581,7 +7602,7 @@ declare const useLens: () => {
7581
7602
  }];
7582
7603
  readonly stateMutability: "view";
7583
7604
  }], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
7584
- getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
7605
+ getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
7585
7606
  readonly type: "function";
7586
7607
  readonly name: "batchGetRefTick";
7587
7608
  readonly inputs: readonly [{
@@ -8272,7 +8293,7 @@ declare const useLens: () => {
8272
8293
  expiresAt: bigint;
8273
8294
  liquidities: readonly bigint[];
8274
8295
  }>;
8275
- getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
8296
+ getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
8276
8297
  readonly type: "function";
8277
8298
  readonly name: "batchGetRefTick";
8278
8299
  readonly inputs: readonly [{
@@ -8963,7 +8984,7 @@ declare const useLens: () => {
8963
8984
  expiresAt: bigint;
8964
8985
  liquidities: readonly bigint[];
8965
8986
  }[]>;
8966
- getPoolData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
8987
+ getPoolData: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
8967
8988
  readonly type: "function";
8968
8989
  readonly name: "batchGetRefTick";
8969
8990
  readonly inputs: readonly [{
@@ -9648,7 +9669,7 @@ declare const useLens: () => {
9648
9669
  tickSpacing: number;
9649
9670
  fee: number;
9650
9671
  }>;
9651
- getRefTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
9672
+ getRefTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
9652
9673
  readonly type: "function";
9653
9674
  readonly name: "batchGetRefTick";
9654
9675
  readonly inputs: readonly [{
@@ -10322,7 +10343,7 @@ declare const useLens: () => {
10322
10343
  }];
10323
10344
  readonly stateMutability: "view";
10324
10345
  }], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
10325
- getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
10346
+ getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
10326
10347
  readonly type: "function";
10327
10348
  readonly name: "batchGetRefTick";
10328
10349
  readonly inputs: readonly [{
@@ -11013,7 +11034,7 @@ declare const useLens: () => {
11013
11034
  expiresAt: bigint;
11014
11035
  liquidities: readonly bigint[];
11015
11036
  }[], bigint, boolean]>;
11016
- getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
11037
+ getVaultTVL: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
11017
11038
  readonly type: "function";
11018
11039
  readonly name: "batchGetRefTick";
11019
11040
  readonly inputs: readonly [{
@@ -12366,7 +12387,7 @@ declare const useLens: () => {
12366
12387
  } | undefined;
12367
12388
  uniswapLens: {
12368
12389
  read: {
12369
- batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
12390
+ batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
12370
12391
  readonly type: "function";
12371
12392
  readonly name: "batchGetAmount0ForLiquidity";
12372
12393
  readonly inputs: readonly [{
@@ -12987,7 +13008,7 @@ declare const useLens: () => {
12987
13008
  }];
12988
13009
  readonly stateMutability: "pure";
12989
13010
  }], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
12990
- batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
13011
+ batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
12991
13012
  readonly type: "function";
12992
13013
  readonly name: "batchGetAmount0ForLiquidity";
12993
13014
  readonly inputs: readonly [{
@@ -13608,7 +13629,7 @@ declare const useLens: () => {
13608
13629
  }];
13609
13630
  readonly stateMutability: "pure";
13610
13631
  }], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
13611
- batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
13632
+ batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
13612
13633
  readonly type: "function";
13613
13634
  readonly name: "batchGetAmount0ForLiquidity";
13614
13635
  readonly inputs: readonly [{
@@ -14229,7 +14250,7 @@ declare const useLens: () => {
14229
14250
  }];
14230
14251
  readonly stateMutability: "pure";
14231
14252
  }], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
14232
- batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
14253
+ batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
14233
14254
  readonly type: "function";
14234
14255
  readonly name: "batchGetAmount0ForLiquidity";
14235
14256
  readonly inputs: readonly [{
@@ -14850,7 +14871,7 @@ declare const useLens: () => {
14850
14871
  }];
14851
14872
  readonly stateMutability: "pure";
14852
14873
  }], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
14853
- batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
14874
+ batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
14854
14875
  readonly type: "function";
14855
14876
  readonly name: "batchGetAmount0ForLiquidity";
14856
14877
  readonly inputs: readonly [{
@@ -15471,7 +15492,7 @@ declare const useLens: () => {
15471
15492
  }];
15472
15493
  readonly stateMutability: "pure";
15473
15494
  }], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
15474
- batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
15495
+ batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
15475
15496
  readonly type: "function";
15476
15497
  readonly name: "batchGetAmount0ForLiquidity";
15477
15498
  readonly inputs: readonly [{
@@ -16092,7 +16113,7 @@ declare const useLens: () => {
16092
16113
  }];
16093
16114
  readonly stateMutability: "pure";
16094
16115
  }], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
16095
- batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
16116
+ batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
16096
16117
  readonly type: "function";
16097
16118
  readonly name: "batchGetAmount0ForLiquidity";
16098
16119
  readonly inputs: readonly [{
@@ -16713,7 +16734,7 @@ declare const useLens: () => {
16713
16734
  }];
16714
16735
  readonly stateMutability: "pure";
16715
16736
  }], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
16716
- batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
16737
+ batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
16717
16738
  readonly type: "function";
16718
16739
  readonly name: "batchGetAmount0ForLiquidity";
16719
16740
  readonly inputs: readonly [{
@@ -17334,7 +17355,7 @@ declare const useLens: () => {
17334
17355
  }];
17335
17356
  readonly stateMutability: "pure";
17336
17357
  }], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
17337
- batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
17358
+ batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
17338
17359
  readonly type: "function";
17339
17360
  readonly name: "batchGetAmount0ForLiquidity";
17340
17361
  readonly inputs: readonly [{
@@ -17955,7 +17976,7 @@ declare const useLens: () => {
17955
17976
  }];
17956
17977
  readonly stateMutability: "pure";
17957
17978
  }], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
17958
- batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
17979
+ batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
17959
17980
  readonly type: "function";
17960
17981
  readonly name: "batchGetAmount0ForLiquidity";
17961
17982
  readonly inputs: readonly [{
@@ -18576,7 +18597,7 @@ declare const useLens: () => {
18576
18597
  }];
18577
18598
  readonly stateMutability: "pure";
18578
18599
  }], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
18579
- batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
18600
+ batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
18580
18601
  readonly type: "function";
18581
18602
  readonly name: "batchGetAmount0ForLiquidity";
18582
18603
  readonly inputs: readonly [{
@@ -19197,7 +19218,7 @@ declare const useLens: () => {
19197
19218
  }];
19198
19219
  readonly stateMutability: "pure";
19199
19220
  }], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
19200
- batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
19221
+ batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
19201
19222
  readonly type: "function";
19202
19223
  readonly name: "batchGetAmount0ForLiquidity";
19203
19224
  readonly inputs: readonly [{
@@ -19818,7 +19839,7 @@ declare const useLens: () => {
19818
19839
  }];
19819
19840
  readonly stateMutability: "pure";
19820
19841
  }], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
19821
- batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
19842
+ batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
19822
19843
  readonly type: "function";
19823
19844
  readonly name: "batchGetAmount0ForLiquidity";
19824
19845
  readonly inputs: readonly [{
@@ -20439,7 +20460,7 @@ declare const useLens: () => {
20439
20460
  }];
20440
20461
  readonly stateMutability: "pure";
20441
20462
  }], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
20442
- getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
20463
+ getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
20443
20464
  readonly type: "function";
20444
20465
  readonly name: "batchGetAmount0ForLiquidity";
20445
20466
  readonly inputs: readonly [{
@@ -21060,7 +21081,7 @@ declare const useLens: () => {
21060
21081
  }];
21061
21082
  readonly stateMutability: "pure";
21062
21083
  }], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
21063
- getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
21084
+ getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
21064
21085
  readonly type: "function";
21065
21086
  readonly name: "batchGetAmount0ForLiquidity";
21066
21087
  readonly inputs: readonly [{
@@ -21681,7 +21702,7 @@ declare const useLens: () => {
21681
21702
  }];
21682
21703
  readonly stateMutability: "pure";
21683
21704
  }], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
21684
- getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
21705
+ getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
21685
21706
  readonly type: "function";
21686
21707
  readonly name: "batchGetAmount0ForLiquidity";
21687
21708
  readonly inputs: readonly [{
@@ -22302,7 +22323,7 @@ declare const useLens: () => {
22302
22323
  }];
22303
22324
  readonly stateMutability: "pure";
22304
22325
  }], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
22305
- getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
22326
+ getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
22306
22327
  readonly type: "function";
22307
22328
  readonly name: "batchGetAmount0ForLiquidity";
22308
22329
  readonly inputs: readonly [{
@@ -22923,7 +22944,7 @@ declare const useLens: () => {
22923
22944
  }];
22924
22945
  readonly stateMutability: "pure";
22925
22946
  }], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
22926
- getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
22947
+ getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
22927
22948
  readonly type: "function";
22928
22949
  readonly name: "batchGetAmount0ForLiquidity";
22929
22950
  readonly inputs: readonly [{
@@ -23544,7 +23565,7 @@ declare const useLens: () => {
23544
23565
  }];
23545
23566
  readonly stateMutability: "pure";
23546
23567
  }], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
23547
- getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
23568
+ getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
23548
23569
  readonly type: "function";
23549
23570
  readonly name: "batchGetAmount0ForLiquidity";
23550
23571
  readonly inputs: readonly [{
@@ -24165,7 +24186,7 @@ declare const useLens: () => {
24165
24186
  }];
24166
24187
  readonly stateMutability: "pure";
24167
24188
  }], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
24168
- getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
24189
+ getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
24169
24190
  readonly type: "function";
24170
24191
  readonly name: "batchGetAmount0ForLiquidity";
24171
24192
  readonly inputs: readonly [{
@@ -24786,7 +24807,7 @@ declare const useLens: () => {
24786
24807
  }];
24787
24808
  readonly stateMutability: "pure";
24788
24809
  }], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
24789
- getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
24810
+ getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
24790
24811
  readonly type: "function";
24791
24812
  readonly name: "batchGetAmount0ForLiquidity";
24792
24813
  readonly inputs: readonly [{
@@ -25407,7 +25428,7 @@ declare const useLens: () => {
25407
25428
  }];
25408
25429
  readonly stateMutability: "pure";
25409
25430
  }], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
25410
- getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
25431
+ getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
25411
25432
  readonly type: "function";
25412
25433
  readonly name: "batchGetAmount0ForLiquidity";
25413
25434
  readonly inputs: readonly [{
@@ -26028,7 +26049,7 @@ declare const useLens: () => {
26028
26049
  }];
26029
26050
  readonly stateMutability: "pure";
26030
26051
  }], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
26031
- getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
26052
+ getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
26032
26053
  readonly type: "function";
26033
26054
  readonly name: "batchGetAmount0ForLiquidity";
26034
26055
  readonly inputs: readonly [{
@@ -26649,7 +26670,7 @@ declare const useLens: () => {
26649
26670
  }];
26650
26671
  readonly stateMutability: "pure";
26651
26672
  }], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
26652
- getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
26673
+ getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
26653
26674
  readonly type: "function";
26654
26675
  readonly name: "batchGetAmount0ForLiquidity";
26655
26676
  readonly inputs: readonly [{
@@ -27270,7 +27291,7 @@ declare const useLens: () => {
27270
27291
  }];
27271
27292
  readonly stateMutability: "pure";
27272
27293
  }], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
27273
- getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
27294
+ getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
27274
27295
  readonly type: "function";
27275
27296
  readonly name: "batchGetAmount0ForLiquidity";
27276
27297
  readonly inputs: readonly [{
@@ -27891,7 +27912,7 @@ declare const useLens: () => {
27891
27912
  }];
27892
27913
  readonly stateMutability: "pure";
27893
27914
  }], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
27894
- getPriceAtTick: (args: readonly [number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
27915
+ getPriceAtTick: (args: readonly [number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
27895
27916
  readonly type: "function";
27896
27917
  readonly name: "batchGetAmount0ForLiquidity";
27897
27918
  readonly inputs: readonly [{
@@ -29138,5 +29159,5 @@ declare const useLens: () => {
29138
29159
  } | undefined;
29139
29160
  };
29140
29161
  //#endregion
29141
- export { LiquidityBlockData, OptionData, TimelockMarketProvider, UniswapPoolData, batchGetAmountsFromLiquidity, useActiveUserOptions, useBurnLiquidity, useClosedUserOptions, useCurrentMarket, useCurrentPrice, useCurrentTick, useExerciseOption, useLens, useLiquidityBlocks, useMarketData, useMaxPositionSize, useMintLiquidity, useMintOption, useOptionPnl, useOptionPremium, usePoolData, usePriceAtTick, usePriceHistory, useTimelockConfig, useVaultData, useVaultTVL };
29162
+ export { LiquidityBlockData, OptionData, TimelockMarketProvider, UniswapPoolData, batchGetAmountsFromLiquidity, useActiveUserOptions, useBurnLiquidity, useClosedUserOptions, useCurrentMarket, useCurrentPrice, useCurrentTick, useExerciseOption, useExtendOption, useLens, useLiquidityBlocks, useMarketData, useMaxPositionSize, useMintLiquidity, useMintOption, useOptionPnl, useOptionPremium, usePoolData, usePriceAtTick, usePriceHistory, useTimelockConfig, useVaultData, useVaultTVL };
29142
29163
  //# sourceMappingURL=client.d.ts.map