timelock-sdk 0.0.70 → 0.0.71
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 +26 -68
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +92 -116
- package/dist/client.d.ts +80 -104
- package/dist/client.js +27 -69
- package/dist/client.js.map +1 -1
- package/dist/{index-BK67HnC2.d.cts → index-C-uDgfkL.d.cts} +92 -92
- package/dist/package.d.cts +1 -1
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
import "./uniswapMathLens-C54iWXpi.js";
|
|
2
2
|
import { A as UniswapMathLens, k as TimelockMarketData, p as Amount } from "./index-CdkTrz02.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as viem367 from "viem";
|
|
4
4
|
import { Address } from "viem";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
6
|
-
import * as wagmi2 from "wagmi";
|
|
7
6
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
8
7
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
9
8
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
10
9
|
import "graphql";
|
|
11
|
-
import * as _wagmi_core3 from "@wagmi/core";
|
|
12
10
|
import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
13
|
-
import * as
|
|
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";
|
|
11
|
+
import * as _wagmi_core0 from "@wagmi/core";
|
|
16
12
|
|
|
17
13
|
//#region src/generated/graphql.d.ts
|
|
18
14
|
type Exact<T$1 extends {
|
|
@@ -2762,15 +2758,10 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2762
2758
|
};
|
|
2763
2759
|
//#endregion
|
|
2764
2760
|
//#region src/hooks/market/useExerciseOption.d.ts
|
|
2765
|
-
declare const useExerciseOption: (marketAddr?: Address) => {
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
isConfirming: boolean;
|
|
2770
|
-
isSuccess: boolean;
|
|
2771
|
-
error: _wagmi_core3.WriteContractErrorType | null;
|
|
2772
|
-
isLoading: boolean;
|
|
2773
|
-
};
|
|
2761
|
+
declare const useExerciseOption: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
2762
|
+
option: OptionData;
|
|
2763
|
+
liquidities: readonly bigint[];
|
|
2764
|
+
}, unknown>;
|
|
2774
2765
|
//#endregion
|
|
2775
2766
|
//#region src/hooks/market/useMarketData.d.ts
|
|
2776
2767
|
declare const useMarketData: (marketAddr?: Address) => Partial<NonUndefinedGuard<{
|
|
@@ -2801,18 +2792,12 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
2801
2792
|
};
|
|
2802
2793
|
//#endregion
|
|
2803
2794
|
//#region src/hooks/market/useMintOption.d.ts
|
|
2804
|
-
declare const useMintOption: (marketAddr?: Address) => {
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
error: wagmi2.ConnectorAccountNotFoundErrorType | wagmi2.ConnectorChainMismatchErrorType | _wagmi_core3.ConnectorNotConnectedErrorType | wagmi2.ConnectorUnavailableReconnectingErrorType | viem396.BaseErrorType | node_modules__wagmi_core_dist_types_errors_base1.ErrorType | node_modules__wagmi_core_dist_types_errors_base1.BaseErrorType | viem396.AbiFunctionNotFoundErrorType | viem396.AbiEncodingLengthMismatchErrorType | viem396.InvalidAddressErrorType | viem396.AbiEncodingArrayLengthMismatchErrorType | viem396.IntegerOutOfRangeErrorType | viem396.SizeExceedsPaddingSizeErrorType | viem396.InvalidArrayErrorType | viem396.AbiEncodingBytesSizeMismatchErrorType | viem396.SizeOverflowErrorType | viem396.SliceOffsetOutOfBoundsErrorType | viem396.InvalidAbiEncodingTypeErrorType | viem396.InvalidDefinitionTypeErrorType | node_modules_viem__types_errors_abi0.AbiItemAmbiguityErrorType | node_modules_viem__types_errors_account0.AccountNotFoundErrorType | viem396.GetContractErrorReturnType<viem396.SendTransactionErrorType> | null;
|
|
2811
|
-
isLoading: boolean;
|
|
2812
|
-
isApprovalPending: boolean;
|
|
2813
|
-
approvalError: _wagmi_core3.WriteContractErrorType | null;
|
|
2814
|
-
resetApproval: () => void;
|
|
2815
|
-
};
|
|
2795
|
+
declare const useMintOption: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
2796
|
+
optionType: "CALL" | "PUT";
|
|
2797
|
+
amount: bigint;
|
|
2798
|
+
duration: number;
|
|
2799
|
+
strikeTick?: number;
|
|
2800
|
+
}, unknown>;
|
|
2816
2801
|
//#endregion
|
|
2817
2802
|
//#region src/hooks/market/useOptionPnl.d.ts
|
|
2818
2803
|
declare const useOptionPnl: (option: OptionData) => {
|
|
@@ -2832,18 +2817,10 @@ declare const useOptionPremium: (marketAddr: Address | undefined, optionType: "C
|
|
|
2832
2817
|
};
|
|
2833
2818
|
//#endregion
|
|
2834
2819
|
//#region src/hooks/market/useExtendOption.d.ts
|
|
2835
|
-
declare const useExtendOption: (marketAddr?: Address) => {
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
isConfirming: boolean;
|
|
2840
|
-
isSuccess: boolean;
|
|
2841
|
-
error: wagmi2.ConnectorAccountNotFoundErrorType | wagmi2.ConnectorChainMismatchErrorType | _wagmi_core3.ConnectorNotConnectedErrorType | wagmi2.ConnectorUnavailableReconnectingErrorType | viem396.BaseErrorType | node_modules__wagmi_core_dist_types_errors_base1.ErrorType | node_modules__wagmi_core_dist_types_errors_base1.BaseErrorType | viem396.AbiFunctionNotFoundErrorType | viem396.AbiEncodingLengthMismatchErrorType | viem396.InvalidAddressErrorType | viem396.AbiEncodingArrayLengthMismatchErrorType | viem396.IntegerOutOfRangeErrorType | viem396.SizeExceedsPaddingSizeErrorType | viem396.InvalidArrayErrorType | viem396.AbiEncodingBytesSizeMismatchErrorType | viem396.SizeOverflowErrorType | viem396.SliceOffsetOutOfBoundsErrorType | viem396.InvalidAbiEncodingTypeErrorType | viem396.InvalidDefinitionTypeErrorType | node_modules_viem__types_errors_abi0.AbiItemAmbiguityErrorType | node_modules_viem__types_errors_account0.AccountNotFoundErrorType | viem396.GetContractErrorReturnType<viem396.SendTransactionErrorType> | null;
|
|
2842
|
-
isLoading: boolean;
|
|
2843
|
-
isApprovalPending: boolean;
|
|
2844
|
-
approvalError: _wagmi_core3.WriteContractErrorType | null;
|
|
2845
|
-
resetApproval: () => void;
|
|
2846
|
-
};
|
|
2820
|
+
declare const useExtendOption: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
2821
|
+
option: OptionData;
|
|
2822
|
+
duration: number;
|
|
2823
|
+
}, unknown>;
|
|
2847
2824
|
//#endregion
|
|
2848
2825
|
//#region src/hooks/market/useUserOperators.d.ts
|
|
2849
2826
|
declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
@@ -3245,15 +3222,14 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3245
3222
|
};
|
|
3246
3223
|
//#endregion
|
|
3247
3224
|
//#region src/hooks/market/useSetOperatorPerms.d.ts
|
|
3248
|
-
declare const useSetOperatorPerms: (marketAddr?: Address) => {
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
};
|
|
3225
|
+
declare const useSetOperatorPerms: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
3226
|
+
operator: Address;
|
|
3227
|
+
canExtend: boolean;
|
|
3228
|
+
canExercise: boolean;
|
|
3229
|
+
canTransfer: boolean;
|
|
3230
|
+
canMint: boolean;
|
|
3231
|
+
spendingApproval: bigint;
|
|
3232
|
+
}, unknown>;
|
|
3257
3233
|
//#endregion
|
|
3258
3234
|
//#region src/hooks/pool/useCurrentPrice.d.ts
|
|
3259
3235
|
declare const useCurrentPrice: (poolAddr?: Address) => {
|
|
@@ -3312,14 +3288,14 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
3312
3288
|
isPending: boolean;
|
|
3313
3289
|
isConfirming: boolean;
|
|
3314
3290
|
isSuccess: boolean;
|
|
3315
|
-
error:
|
|
3291
|
+
error: _wagmi_core0.WriteContractErrorType | null;
|
|
3316
3292
|
isLoading: boolean;
|
|
3317
3293
|
};
|
|
3318
3294
|
//#endregion
|
|
3319
3295
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
3320
3296
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
3321
3297
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
3322
|
-
error:
|
|
3298
|
+
error: viem367.ReadContractErrorType;
|
|
3323
3299
|
isError: true;
|
|
3324
3300
|
isPending: false;
|
|
3325
3301
|
isLoading: false;
|
|
@@ -3331,7 +3307,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3331
3307
|
dataUpdatedAt: number;
|
|
3332
3308
|
errorUpdatedAt: number;
|
|
3333
3309
|
failureCount: number;
|
|
3334
|
-
failureReason:
|
|
3310
|
+
failureReason: viem367.ReadContractErrorType | null;
|
|
3335
3311
|
errorUpdateCount: number;
|
|
3336
3312
|
isFetched: boolean;
|
|
3337
3313
|
isFetchedAfterMount: boolean;
|
|
@@ -3351,7 +3327,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3351
3327
|
totalAmount1: bigint;
|
|
3352
3328
|
borrowedAmount0: bigint;
|
|
3353
3329
|
borrowedAmount1: bigint;
|
|
3354
|
-
}[],
|
|
3330
|
+
}[], viem367.ReadContractErrorType>>;
|
|
3355
3331
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3356
3332
|
promise: Promise<readonly {
|
|
3357
3333
|
tickLower: number;
|
|
@@ -3389,7 +3365,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3389
3365
|
dataUpdatedAt: number;
|
|
3390
3366
|
errorUpdatedAt: number;
|
|
3391
3367
|
failureCount: number;
|
|
3392
|
-
failureReason:
|
|
3368
|
+
failureReason: viem367.ReadContractErrorType | null;
|
|
3393
3369
|
errorUpdateCount: number;
|
|
3394
3370
|
isFetched: boolean;
|
|
3395
3371
|
isFetchedAfterMount: boolean;
|
|
@@ -3409,7 +3385,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3409
3385
|
totalAmount1: bigint;
|
|
3410
3386
|
borrowedAmount0: bigint;
|
|
3411
3387
|
borrowedAmount1: bigint;
|
|
3412
|
-
}[],
|
|
3388
|
+
}[], viem367.ReadContractErrorType>>;
|
|
3413
3389
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3414
3390
|
promise: Promise<readonly {
|
|
3415
3391
|
tickLower: number;
|
|
@@ -3435,7 +3411,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3435
3411
|
borrowedAmount1: bigint;
|
|
3436
3412
|
}[];
|
|
3437
3413
|
} | {
|
|
3438
|
-
error:
|
|
3414
|
+
error: viem367.ReadContractErrorType;
|
|
3439
3415
|
isError: true;
|
|
3440
3416
|
isPending: false;
|
|
3441
3417
|
isLoading: false;
|
|
@@ -3447,7 +3423,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3447
3423
|
dataUpdatedAt: number;
|
|
3448
3424
|
errorUpdatedAt: number;
|
|
3449
3425
|
failureCount: number;
|
|
3450
|
-
failureReason:
|
|
3426
|
+
failureReason: viem367.ReadContractErrorType | null;
|
|
3451
3427
|
errorUpdateCount: number;
|
|
3452
3428
|
isFetched: boolean;
|
|
3453
3429
|
isFetchedAfterMount: boolean;
|
|
@@ -3467,7 +3443,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3467
3443
|
totalAmount1: bigint;
|
|
3468
3444
|
borrowedAmount0: bigint;
|
|
3469
3445
|
borrowedAmount1: bigint;
|
|
3470
|
-
}[],
|
|
3446
|
+
}[], viem367.ReadContractErrorType>>;
|
|
3471
3447
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3472
3448
|
promise: Promise<readonly {
|
|
3473
3449
|
tickLower: number;
|
|
@@ -3505,7 +3481,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3505
3481
|
dataUpdatedAt: number;
|
|
3506
3482
|
errorUpdatedAt: number;
|
|
3507
3483
|
failureCount: number;
|
|
3508
|
-
failureReason:
|
|
3484
|
+
failureReason: viem367.ReadContractErrorType | null;
|
|
3509
3485
|
errorUpdateCount: number;
|
|
3510
3486
|
isFetched: boolean;
|
|
3511
3487
|
isFetchedAfterMount: boolean;
|
|
@@ -3525,7 +3501,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3525
3501
|
totalAmount1: bigint;
|
|
3526
3502
|
borrowedAmount0: bigint;
|
|
3527
3503
|
borrowedAmount1: bigint;
|
|
3528
|
-
}[],
|
|
3504
|
+
}[], viem367.ReadContractErrorType>>;
|
|
3529
3505
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3530
3506
|
promise: Promise<readonly {
|
|
3531
3507
|
tickLower: number;
|
|
@@ -3562,7 +3538,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3562
3538
|
dataUpdatedAt: number;
|
|
3563
3539
|
errorUpdatedAt: number;
|
|
3564
3540
|
failureCount: number;
|
|
3565
|
-
failureReason:
|
|
3541
|
+
failureReason: viem367.ReadContractErrorType | null;
|
|
3566
3542
|
errorUpdateCount: number;
|
|
3567
3543
|
isFetched: boolean;
|
|
3568
3544
|
isFetchedAfterMount: boolean;
|
|
@@ -3583,7 +3559,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3583
3559
|
totalAmount1: bigint;
|
|
3584
3560
|
borrowedAmount0: bigint;
|
|
3585
3561
|
borrowedAmount1: bigint;
|
|
3586
|
-
}[],
|
|
3562
|
+
}[], viem367.ReadContractErrorType>>;
|
|
3587
3563
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3588
3564
|
promise: Promise<readonly {
|
|
3589
3565
|
tickLower: number;
|
|
@@ -3621,7 +3597,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3621
3597
|
dataUpdatedAt: number;
|
|
3622
3598
|
errorUpdatedAt: number;
|
|
3623
3599
|
failureCount: number;
|
|
3624
|
-
failureReason:
|
|
3600
|
+
failureReason: viem367.ReadContractErrorType | null;
|
|
3625
3601
|
errorUpdateCount: number;
|
|
3626
3602
|
isFetched: boolean;
|
|
3627
3603
|
isFetchedAfterMount: boolean;
|
|
@@ -3641,7 +3617,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3641
3617
|
totalAmount1: bigint;
|
|
3642
3618
|
borrowedAmount0: bigint;
|
|
3643
3619
|
borrowedAmount1: bigint;
|
|
3644
|
-
}[],
|
|
3620
|
+
}[], viem367.ReadContractErrorType>>;
|
|
3645
3621
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3646
3622
|
promise: Promise<readonly {
|
|
3647
3623
|
tickLower: number;
|
|
@@ -3687,7 +3663,7 @@ declare const useMintLiquidity: (vaultAddr?: Address) => {
|
|
|
3687
3663
|
isPending: boolean;
|
|
3688
3664
|
isConfirming: boolean;
|
|
3689
3665
|
isSuccess: boolean;
|
|
3690
|
-
error:
|
|
3666
|
+
error: _wagmi_core0.WriteContractErrorType | null;
|
|
3691
3667
|
isLoading: boolean;
|
|
3692
3668
|
};
|
|
3693
3669
|
//#endregion
|
|
@@ -3714,14 +3690,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
3714
3690
|
borrowedAmount0: Amount;
|
|
3715
3691
|
borrowedAmount1: Amount;
|
|
3716
3692
|
blocksCount: bigint;
|
|
3717
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint],
|
|
3693
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem367.ReadContractErrorType>>;
|
|
3718
3694
|
};
|
|
3719
3695
|
//#endregion
|
|
3720
3696
|
//#region src/hooks/useLens.d.ts
|
|
3721
3697
|
declare const useLens: () => {
|
|
3722
3698
|
timelockLens: {
|
|
3723
3699
|
read: {
|
|
3724
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
3700
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
3725
3701
|
readonly type: "function";
|
|
3726
3702
|
readonly name: "batchGetRefTick";
|
|
3727
3703
|
readonly inputs: readonly [{
|
|
@@ -4395,7 +4371,7 @@ declare const useLens: () => {
|
|
|
4395
4371
|
}];
|
|
4396
4372
|
readonly stateMutability: "view";
|
|
4397
4373
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
4398
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
4374
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
4399
4375
|
readonly type: "function";
|
|
4400
4376
|
readonly name: "batchGetRefTick";
|
|
4401
4377
|
readonly inputs: readonly [{
|
|
@@ -5079,7 +5055,7 @@ declare const useLens: () => {
|
|
|
5079
5055
|
borrowedAmount0: bigint;
|
|
5080
5056
|
borrowedAmount1: bigint;
|
|
5081
5057
|
}[]>;
|
|
5082
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
5058
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
5083
5059
|
readonly type: "function";
|
|
5084
5060
|
readonly name: "batchGetRefTick";
|
|
5085
5061
|
readonly inputs: readonly [{
|
|
@@ -5770,7 +5746,7 @@ declare const useLens: () => {
|
|
|
5770
5746
|
expiresAt: number;
|
|
5771
5747
|
liquidities: readonly bigint[];
|
|
5772
5748
|
}[], bigint, boolean]>;
|
|
5773
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
5749
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
5774
5750
|
readonly type: "function";
|
|
5775
5751
|
readonly name: "batchGetRefTick";
|
|
5776
5752
|
readonly inputs: readonly [{
|
|
@@ -6444,7 +6420,7 @@ declare const useLens: () => {
|
|
|
6444
6420
|
}];
|
|
6445
6421
|
readonly stateMutability: "view";
|
|
6446
6422
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
6447
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
6423
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
6448
6424
|
readonly type: "function";
|
|
6449
6425
|
readonly name: "batchGetRefTick";
|
|
6450
6426
|
readonly inputs: readonly [{
|
|
@@ -7131,7 +7107,7 @@ declare const useLens: () => {
|
|
|
7131
7107
|
payoutAssetName: string;
|
|
7132
7108
|
optionsCount: bigint;
|
|
7133
7109
|
}>;
|
|
7134
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
7110
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
7135
7111
|
readonly type: "function";
|
|
7136
7112
|
readonly name: "batchGetRefTick";
|
|
7137
7113
|
readonly inputs: readonly [{
|
|
@@ -7805,7 +7781,7 @@ declare const useLens: () => {
|
|
|
7805
7781
|
}];
|
|
7806
7782
|
readonly stateMutability: "view";
|
|
7807
7783
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
7808
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
7784
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
7809
7785
|
readonly type: "function";
|
|
7810
7786
|
readonly name: "batchGetRefTick";
|
|
7811
7787
|
readonly inputs: readonly [{
|
|
@@ -8479,7 +8455,7 @@ declare const useLens: () => {
|
|
|
8479
8455
|
}];
|
|
8480
8456
|
readonly stateMutability: "view";
|
|
8481
8457
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
8482
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
8458
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
8483
8459
|
readonly type: "function";
|
|
8484
8460
|
readonly name: "batchGetRefTick";
|
|
8485
8461
|
readonly inputs: readonly [{
|
|
@@ -9170,7 +9146,7 @@ declare const useLens: () => {
|
|
|
9170
9146
|
expiresAt: number;
|
|
9171
9147
|
liquidities: readonly bigint[];
|
|
9172
9148
|
}>;
|
|
9173
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
9149
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
9174
9150
|
readonly type: "function";
|
|
9175
9151
|
readonly name: "batchGetRefTick";
|
|
9176
9152
|
readonly inputs: readonly [{
|
|
@@ -9861,7 +9837,7 @@ declare const useLens: () => {
|
|
|
9861
9837
|
expiresAt: number;
|
|
9862
9838
|
liquidities: readonly bigint[];
|
|
9863
9839
|
}[]>;
|
|
9864
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
9840
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
9865
9841
|
readonly type: "function";
|
|
9866
9842
|
readonly name: "batchGetRefTick";
|
|
9867
9843
|
readonly inputs: readonly [{
|
|
@@ -10546,7 +10522,7 @@ declare const useLens: () => {
|
|
|
10546
10522
|
tickSpacing: number;
|
|
10547
10523
|
fee: number;
|
|
10548
10524
|
}>;
|
|
10549
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
10525
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
10550
10526
|
readonly type: "function";
|
|
10551
10527
|
readonly name: "batchGetRefTick";
|
|
10552
10528
|
readonly inputs: readonly [{
|
|
@@ -11220,7 +11196,7 @@ declare const useLens: () => {
|
|
|
11220
11196
|
}];
|
|
11221
11197
|
readonly stateMutability: "view";
|
|
11222
11198
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
11223
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
11199
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
11224
11200
|
readonly type: "function";
|
|
11225
11201
|
readonly name: "batchGetRefTick";
|
|
11226
11202
|
readonly inputs: readonly [{
|
|
@@ -11911,7 +11887,7 @@ declare const useLens: () => {
|
|
|
11911
11887
|
expiresAt: number;
|
|
11912
11888
|
liquidities: readonly bigint[];
|
|
11913
11889
|
}[], bigint, boolean]>;
|
|
11914
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
11890
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
11915
11891
|
readonly type: "function";
|
|
11916
11892
|
readonly name: "batchGetRefTick";
|
|
11917
11893
|
readonly inputs: readonly [{
|
|
@@ -13264,7 +13240,7 @@ declare const useLens: () => {
|
|
|
13264
13240
|
} | undefined;
|
|
13265
13241
|
uniswapLens: {
|
|
13266
13242
|
read: {
|
|
13267
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
13243
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
13268
13244
|
readonly type: "function";
|
|
13269
13245
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13270
13246
|
readonly inputs: readonly [{
|
|
@@ -13885,7 +13861,7 @@ declare const useLens: () => {
|
|
|
13885
13861
|
}];
|
|
13886
13862
|
readonly stateMutability: "pure";
|
|
13887
13863
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13888
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
13864
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
13889
13865
|
readonly type: "function";
|
|
13890
13866
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13891
13867
|
readonly inputs: readonly [{
|
|
@@ -14506,7 +14482,7 @@ declare const useLens: () => {
|
|
|
14506
14482
|
}];
|
|
14507
14483
|
readonly stateMutability: "pure";
|
|
14508
14484
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14509
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
14485
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
14510
14486
|
readonly type: "function";
|
|
14511
14487
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14512
14488
|
readonly inputs: readonly [{
|
|
@@ -15127,7 +15103,7 @@ declare const useLens: () => {
|
|
|
15127
15103
|
}];
|
|
15128
15104
|
readonly stateMutability: "pure";
|
|
15129
15105
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
15130
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
15106
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
15131
15107
|
readonly type: "function";
|
|
15132
15108
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15133
15109
|
readonly inputs: readonly [{
|
|
@@ -15748,7 +15724,7 @@ declare const useLens: () => {
|
|
|
15748
15724
|
}];
|
|
15749
15725
|
readonly stateMutability: "pure";
|
|
15750
15726
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
15751
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
15727
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
15752
15728
|
readonly type: "function";
|
|
15753
15729
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15754
15730
|
readonly inputs: readonly [{
|
|
@@ -16369,7 +16345,7 @@ declare const useLens: () => {
|
|
|
16369
16345
|
}];
|
|
16370
16346
|
readonly stateMutability: "pure";
|
|
16371
16347
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
16372
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
16348
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
16373
16349
|
readonly type: "function";
|
|
16374
16350
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16375
16351
|
readonly inputs: readonly [{
|
|
@@ -16990,7 +16966,7 @@ declare const useLens: () => {
|
|
|
16990
16966
|
}];
|
|
16991
16967
|
readonly stateMutability: "pure";
|
|
16992
16968
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
16993
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
16969
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
16994
16970
|
readonly type: "function";
|
|
16995
16971
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16996
16972
|
readonly inputs: readonly [{
|
|
@@ -17611,7 +17587,7 @@ declare const useLens: () => {
|
|
|
17611
17587
|
}];
|
|
17612
17588
|
readonly stateMutability: "pure";
|
|
17613
17589
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
17614
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
17590
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
17615
17591
|
readonly type: "function";
|
|
17616
17592
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17617
17593
|
readonly inputs: readonly [{
|
|
@@ -18232,7 +18208,7 @@ declare const useLens: () => {
|
|
|
18232
18208
|
}];
|
|
18233
18209
|
readonly stateMutability: "pure";
|
|
18234
18210
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18235
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
18211
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
18236
18212
|
readonly type: "function";
|
|
18237
18213
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18238
18214
|
readonly inputs: readonly [{
|
|
@@ -18853,7 +18829,7 @@ declare const useLens: () => {
|
|
|
18853
18829
|
}];
|
|
18854
18830
|
readonly stateMutability: "pure";
|
|
18855
18831
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18856
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
18832
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
18857
18833
|
readonly type: "function";
|
|
18858
18834
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18859
18835
|
readonly inputs: readonly [{
|
|
@@ -19474,7 +19450,7 @@ declare const useLens: () => {
|
|
|
19474
19450
|
}];
|
|
19475
19451
|
readonly stateMutability: "pure";
|
|
19476
19452
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
19477
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
19453
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
19478
19454
|
readonly type: "function";
|
|
19479
19455
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19480
19456
|
readonly inputs: readonly [{
|
|
@@ -20095,7 +20071,7 @@ declare const useLens: () => {
|
|
|
20095
20071
|
}];
|
|
20096
20072
|
readonly stateMutability: "pure";
|
|
20097
20073
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20098
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
20074
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
20099
20075
|
readonly type: "function";
|
|
20100
20076
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20101
20077
|
readonly inputs: readonly [{
|
|
@@ -20716,7 +20692,7 @@ declare const useLens: () => {
|
|
|
20716
20692
|
}];
|
|
20717
20693
|
readonly stateMutability: "pure";
|
|
20718
20694
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20719
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
20695
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
20720
20696
|
readonly type: "function";
|
|
20721
20697
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20722
20698
|
readonly inputs: readonly [{
|
|
@@ -21337,7 +21313,7 @@ declare const useLens: () => {
|
|
|
21337
21313
|
}];
|
|
21338
21314
|
readonly stateMutability: "pure";
|
|
21339
21315
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
21340
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
21316
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
21341
21317
|
readonly type: "function";
|
|
21342
21318
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21343
21319
|
readonly inputs: readonly [{
|
|
@@ -21958,7 +21934,7 @@ declare const useLens: () => {
|
|
|
21958
21934
|
}];
|
|
21959
21935
|
readonly stateMutability: "pure";
|
|
21960
21936
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21961
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
21937
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
21962
21938
|
readonly type: "function";
|
|
21963
21939
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21964
21940
|
readonly inputs: readonly [{
|
|
@@ -22579,7 +22555,7 @@ declare const useLens: () => {
|
|
|
22579
22555
|
}];
|
|
22580
22556
|
readonly stateMutability: "pure";
|
|
22581
22557
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
22582
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
22558
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
22583
22559
|
readonly type: "function";
|
|
22584
22560
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
22585
22561
|
readonly inputs: readonly [{
|
|
@@ -23200,7 +23176,7 @@ declare const useLens: () => {
|
|
|
23200
23176
|
}];
|
|
23201
23177
|
readonly stateMutability: "pure";
|
|
23202
23178
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
23203
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
23179
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
23204
23180
|
readonly type: "function";
|
|
23205
23181
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23206
23182
|
readonly inputs: readonly [{
|
|
@@ -23821,7 +23797,7 @@ declare const useLens: () => {
|
|
|
23821
23797
|
}];
|
|
23822
23798
|
readonly stateMutability: "pure";
|
|
23823
23799
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
23824
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
23800
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
23825
23801
|
readonly type: "function";
|
|
23826
23802
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23827
23803
|
readonly inputs: readonly [{
|
|
@@ -24442,7 +24418,7 @@ declare const useLens: () => {
|
|
|
24442
24418
|
}];
|
|
24443
24419
|
readonly stateMutability: "pure";
|
|
24444
24420
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
24445
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
24421
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
24446
24422
|
readonly type: "function";
|
|
24447
24423
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
24448
24424
|
readonly inputs: readonly [{
|
|
@@ -25063,7 +25039,7 @@ declare const useLens: () => {
|
|
|
25063
25039
|
}];
|
|
25064
25040
|
readonly stateMutability: "pure";
|
|
25065
25041
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
25066
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
25042
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
25067
25043
|
readonly type: "function";
|
|
25068
25044
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25069
25045
|
readonly inputs: readonly [{
|
|
@@ -25684,7 +25660,7 @@ declare const useLens: () => {
|
|
|
25684
25660
|
}];
|
|
25685
25661
|
readonly stateMutability: "pure";
|
|
25686
25662
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25687
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
25663
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
25688
25664
|
readonly type: "function";
|
|
25689
25665
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25690
25666
|
readonly inputs: readonly [{
|
|
@@ -26305,7 +26281,7 @@ declare const useLens: () => {
|
|
|
26305
26281
|
}];
|
|
26306
26282
|
readonly stateMutability: "pure";
|
|
26307
26283
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26308
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
26284
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
26309
26285
|
readonly type: "function";
|
|
26310
26286
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26311
26287
|
readonly inputs: readonly [{
|
|
@@ -26926,7 +26902,7 @@ declare const useLens: () => {
|
|
|
26926
26902
|
}];
|
|
26927
26903
|
readonly stateMutability: "pure";
|
|
26928
26904
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26929
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
26905
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
26930
26906
|
readonly type: "function";
|
|
26931
26907
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26932
26908
|
readonly inputs: readonly [{
|
|
@@ -27547,7 +27523,7 @@ declare const useLens: () => {
|
|
|
27547
27523
|
}];
|
|
27548
27524
|
readonly stateMutability: "pure";
|
|
27549
27525
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27550
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
27526
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
27551
27527
|
readonly type: "function";
|
|
27552
27528
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
27553
27529
|
readonly inputs: readonly [{
|
|
@@ -28168,7 +28144,7 @@ declare const useLens: () => {
|
|
|
28168
28144
|
}];
|
|
28169
28145
|
readonly stateMutability: "pure";
|
|
28170
28146
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
28171
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
28147
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
28172
28148
|
readonly type: "function";
|
|
28173
28149
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
28174
28150
|
readonly inputs: readonly [{
|
|
@@ -28789,7 +28765,7 @@ declare const useLens: () => {
|
|
|
28789
28765
|
}];
|
|
28790
28766
|
readonly stateMutability: "pure";
|
|
28791
28767
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
28792
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
28768
|
+
getPriceAtTick: (args: readonly [number], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
28793
28769
|
readonly type: "function";
|
|
28794
28770
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
28795
28771
|
readonly inputs: readonly [{
|