timelock-sdk 0.0.63 → 0.0.65
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 +49 -5
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +82 -71
- package/dist/client.d.ts +82 -71
- package/dist/client.js +49 -6
- package/dist/client.js.map +1 -1
- package/dist/{index-CDYUCwzA.d.cts → index-C7ZrOL-D.d.cts} +92 -92
- package/dist/{index-BIkdgG3y.d.ts → index-ZCeoylWY.d.ts} +92 -92
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
package/dist/client.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./uniswapMathLens-D3iSMTdz.cjs";
|
|
2
|
-
import { D as TimelockMarketData, O as UniswapMathLens, d as Amount } from "./index-
|
|
3
|
-
import * as
|
|
2
|
+
import { D as TimelockMarketData, O as UniswapMathLens, d as Amount } from "./index-C7ZrOL-D.cjs";
|
|
3
|
+
import * as viem0 from "viem";
|
|
4
4
|
import { Address } from "viem";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
6
6
|
import "graphql";
|
|
@@ -2807,7 +2807,7 @@ declare const useMintOption: (marketAddr?: Address) => {
|
|
|
2807
2807
|
isPending: boolean;
|
|
2808
2808
|
isConfirming: boolean;
|
|
2809
2809
|
isSuccess: boolean;
|
|
2810
|
-
error: wagmi0.ConnectorAccountNotFoundErrorType | wagmi0.ConnectorChainMismatchErrorType | _wagmi_core0.ConnectorNotConnectedErrorType | wagmi0.ConnectorUnavailableReconnectingErrorType |
|
|
2810
|
+
error: wagmi0.ConnectorAccountNotFoundErrorType | wagmi0.ConnectorChainMismatchErrorType | _wagmi_core0.ConnectorNotConnectedErrorType | wagmi0.ConnectorUnavailableReconnectingErrorType | viem0.BaseErrorType | node_modules__wagmi_core_dist_types_errors_base0.ErrorType | node_modules__wagmi_core_dist_types_errors_base0.BaseErrorType | viem0.AbiFunctionNotFoundErrorType | viem0.AbiEncodingLengthMismatchErrorType | viem0.InvalidAddressErrorType | viem0.AbiEncodingArrayLengthMismatchErrorType | viem0.IntegerOutOfRangeErrorType | viem0.SizeExceedsPaddingSizeErrorType | viem0.InvalidArrayErrorType | viem0.AbiEncodingBytesSizeMismatchErrorType | viem0.SizeOverflowErrorType | viem0.SliceOffsetOutOfBoundsErrorType | viem0.InvalidAbiEncodingTypeErrorType | viem0.InvalidDefinitionTypeErrorType | node_modules_viem__types_errors_abi0.AbiItemAmbiguityErrorType | node_modules_viem__types_errors_account0.AccountNotFoundErrorType | viem0.GetContractErrorReturnType<viem0.SendTransactionErrorType> | null;
|
|
2811
2811
|
isLoading: boolean;
|
|
2812
2812
|
isApprovalPending: boolean;
|
|
2813
2813
|
approvalError: _wagmi_core0.WriteContractErrorType | null;
|
|
@@ -2838,7 +2838,7 @@ declare const useExtendOption: (marketAddr?: Address) => {
|
|
|
2838
2838
|
isPending: boolean;
|
|
2839
2839
|
isConfirming: boolean;
|
|
2840
2840
|
isSuccess: boolean;
|
|
2841
|
-
error: wagmi0.ConnectorAccountNotFoundErrorType | wagmi0.ConnectorChainMismatchErrorType | _wagmi_core0.ConnectorNotConnectedErrorType | wagmi0.ConnectorUnavailableReconnectingErrorType |
|
|
2841
|
+
error: wagmi0.ConnectorAccountNotFoundErrorType | wagmi0.ConnectorChainMismatchErrorType | _wagmi_core0.ConnectorNotConnectedErrorType | wagmi0.ConnectorUnavailableReconnectingErrorType | viem0.BaseErrorType | node_modules__wagmi_core_dist_types_errors_base0.ErrorType | node_modules__wagmi_core_dist_types_errors_base0.BaseErrorType | viem0.AbiFunctionNotFoundErrorType | viem0.AbiEncodingLengthMismatchErrorType | viem0.InvalidAddressErrorType | viem0.AbiEncodingArrayLengthMismatchErrorType | viem0.IntegerOutOfRangeErrorType | viem0.SizeExceedsPaddingSizeErrorType | viem0.InvalidArrayErrorType | viem0.AbiEncodingBytesSizeMismatchErrorType | viem0.SizeOverflowErrorType | viem0.SliceOffsetOutOfBoundsErrorType | viem0.InvalidAbiEncodingTypeErrorType | viem0.InvalidDefinitionTypeErrorType | node_modules_viem__types_errors_abi0.AbiItemAmbiguityErrorType | node_modules_viem__types_errors_account0.AccountNotFoundErrorType | viem0.GetContractErrorReturnType<viem0.SendTransactionErrorType> | null;
|
|
2842
2842
|
isLoading: boolean;
|
|
2843
2843
|
isApprovalPending: boolean;
|
|
2844
2844
|
approvalError: _wagmi_core0.WriteContractErrorType | null;
|
|
@@ -2847,7 +2847,7 @@ declare const useExtendOption: (marketAddr?: Address) => {
|
|
|
2847
2847
|
//#endregion
|
|
2848
2848
|
//#region src/hooks/market/useUserOperators.d.ts
|
|
2849
2849
|
declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
2850
|
-
data:
|
|
2850
|
+
data: {
|
|
2851
2851
|
spendingApproval: bigint;
|
|
2852
2852
|
operatorAddr: string;
|
|
2853
2853
|
__typename: "UserMarketOperator";
|
|
@@ -2860,7 +2860,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2860
2860
|
__typename: "MarketOperator";
|
|
2861
2861
|
address: string;
|
|
2862
2862
|
} | null;
|
|
2863
|
-
}[]
|
|
2863
|
+
}[];
|
|
2864
2864
|
error: Error;
|
|
2865
2865
|
isError: true;
|
|
2866
2866
|
isPending: false;
|
|
@@ -2913,7 +2913,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2913
2913
|
} | null;
|
|
2914
2914
|
}[] | undefined>;
|
|
2915
2915
|
} | {
|
|
2916
|
-
data:
|
|
2916
|
+
data: {
|
|
2917
2917
|
spendingApproval: bigint;
|
|
2918
2918
|
operatorAddr: string;
|
|
2919
2919
|
__typename: "UserMarketOperator";
|
|
@@ -2926,7 +2926,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2926
2926
|
__typename: "MarketOperator";
|
|
2927
2927
|
address: string;
|
|
2928
2928
|
} | null;
|
|
2929
|
-
}[]
|
|
2929
|
+
}[];
|
|
2930
2930
|
error: null;
|
|
2931
2931
|
isError: false;
|
|
2932
2932
|
isPending: false;
|
|
@@ -2979,7 +2979,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2979
2979
|
} | null;
|
|
2980
2980
|
}[] | undefined>;
|
|
2981
2981
|
} | {
|
|
2982
|
-
data:
|
|
2982
|
+
data: {
|
|
2983
2983
|
spendingApproval: bigint;
|
|
2984
2984
|
operatorAddr: string;
|
|
2985
2985
|
__typename: "UserMarketOperator";
|
|
@@ -2992,7 +2992,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2992
2992
|
__typename: "MarketOperator";
|
|
2993
2993
|
address: string;
|
|
2994
2994
|
} | null;
|
|
2995
|
-
}[]
|
|
2995
|
+
}[];
|
|
2996
2996
|
error: Error;
|
|
2997
2997
|
isError: true;
|
|
2998
2998
|
isPending: false;
|
|
@@ -3045,7 +3045,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3045
3045
|
} | null;
|
|
3046
3046
|
}[] | undefined>;
|
|
3047
3047
|
} | {
|
|
3048
|
-
data:
|
|
3048
|
+
data: {
|
|
3049
3049
|
spendingApproval: bigint;
|
|
3050
3050
|
operatorAddr: string;
|
|
3051
3051
|
__typename: "UserMarketOperator";
|
|
@@ -3058,7 +3058,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3058
3058
|
__typename: "MarketOperator";
|
|
3059
3059
|
address: string;
|
|
3060
3060
|
} | null;
|
|
3061
|
-
}[]
|
|
3061
|
+
}[];
|
|
3062
3062
|
error: null;
|
|
3063
3063
|
isError: false;
|
|
3064
3064
|
isPending: true;
|
|
@@ -3111,7 +3111,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3111
3111
|
} | null;
|
|
3112
3112
|
}[] | undefined>;
|
|
3113
3113
|
} | {
|
|
3114
|
-
data:
|
|
3114
|
+
data: {
|
|
3115
3115
|
spendingApproval: bigint;
|
|
3116
3116
|
operatorAddr: string;
|
|
3117
3117
|
__typename: "UserMarketOperator";
|
|
@@ -3124,7 +3124,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3124
3124
|
__typename: "MarketOperator";
|
|
3125
3125
|
address: string;
|
|
3126
3126
|
} | null;
|
|
3127
|
-
}[]
|
|
3127
|
+
}[];
|
|
3128
3128
|
error: null;
|
|
3129
3129
|
isError: false;
|
|
3130
3130
|
isPending: true;
|
|
@@ -3177,7 +3177,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3177
3177
|
} | null;
|
|
3178
3178
|
}[] | undefined>;
|
|
3179
3179
|
} | {
|
|
3180
|
-
data:
|
|
3180
|
+
data: {
|
|
3181
3181
|
spendingApproval: bigint;
|
|
3182
3182
|
operatorAddr: string;
|
|
3183
3183
|
__typename: "UserMarketOperator";
|
|
@@ -3190,7 +3190,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3190
3190
|
__typename: "MarketOperator";
|
|
3191
3191
|
address: string;
|
|
3192
3192
|
} | null;
|
|
3193
|
-
}[]
|
|
3193
|
+
}[];
|
|
3194
3194
|
isError: false;
|
|
3195
3195
|
error: null;
|
|
3196
3196
|
isPending: false;
|
|
@@ -3244,6 +3244,17 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3244
3244
|
}[] | undefined>;
|
|
3245
3245
|
};
|
|
3246
3246
|
//#endregion
|
|
3247
|
+
//#region src/hooks/market/useSetOperatorPerms.d.ts
|
|
3248
|
+
declare const useSetOperatorPerms: (marketAddr?: Address) => {
|
|
3249
|
+
setOperatorPerms: (operator: Address, canExtend: boolean, canExercise: boolean, canTransfer: boolean, canMint: boolean, spendingApproval: bigint) => Promise<`0x${string}`>;
|
|
3250
|
+
hash: `0x${string}` | undefined;
|
|
3251
|
+
isPending: boolean;
|
|
3252
|
+
isConfirming: boolean;
|
|
3253
|
+
isSuccess: boolean;
|
|
3254
|
+
error: _wagmi_core0.WriteContractErrorType | null;
|
|
3255
|
+
isLoading: boolean;
|
|
3256
|
+
};
|
|
3257
|
+
//#endregion
|
|
3247
3258
|
//#region src/hooks/pool/useCurrentPrice.d.ts
|
|
3248
3259
|
declare const useCurrentPrice: (poolAddr?: Address) => {
|
|
3249
3260
|
currentPrice: Amount | undefined;
|
|
@@ -3308,7 +3319,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
3308
3319
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
3309
3320
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
3310
3321
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
3311
|
-
error:
|
|
3322
|
+
error: viem0.ReadContractErrorType;
|
|
3312
3323
|
isError: true;
|
|
3313
3324
|
isPending: false;
|
|
3314
3325
|
isLoading: false;
|
|
@@ -3320,7 +3331,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3320
3331
|
dataUpdatedAt: number;
|
|
3321
3332
|
errorUpdatedAt: number;
|
|
3322
3333
|
failureCount: number;
|
|
3323
|
-
failureReason:
|
|
3334
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
3324
3335
|
errorUpdateCount: number;
|
|
3325
3336
|
isFetched: boolean;
|
|
3326
3337
|
isFetchedAfterMount: boolean;
|
|
@@ -3340,7 +3351,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3340
3351
|
totalAmount1: bigint;
|
|
3341
3352
|
borrowedAmount0: bigint;
|
|
3342
3353
|
borrowedAmount1: bigint;
|
|
3343
|
-
}[],
|
|
3354
|
+
}[], viem0.ReadContractErrorType>>;
|
|
3344
3355
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3345
3356
|
promise: Promise<readonly {
|
|
3346
3357
|
tickLower: number;
|
|
@@ -3378,7 +3389,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3378
3389
|
dataUpdatedAt: number;
|
|
3379
3390
|
errorUpdatedAt: number;
|
|
3380
3391
|
failureCount: number;
|
|
3381
|
-
failureReason:
|
|
3392
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
3382
3393
|
errorUpdateCount: number;
|
|
3383
3394
|
isFetched: boolean;
|
|
3384
3395
|
isFetchedAfterMount: boolean;
|
|
@@ -3398,7 +3409,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3398
3409
|
totalAmount1: bigint;
|
|
3399
3410
|
borrowedAmount0: bigint;
|
|
3400
3411
|
borrowedAmount1: bigint;
|
|
3401
|
-
}[],
|
|
3412
|
+
}[], viem0.ReadContractErrorType>>;
|
|
3402
3413
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3403
3414
|
promise: Promise<readonly {
|
|
3404
3415
|
tickLower: number;
|
|
@@ -3424,7 +3435,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3424
3435
|
borrowedAmount1: bigint;
|
|
3425
3436
|
}[];
|
|
3426
3437
|
} | {
|
|
3427
|
-
error:
|
|
3438
|
+
error: viem0.ReadContractErrorType;
|
|
3428
3439
|
isError: true;
|
|
3429
3440
|
isPending: false;
|
|
3430
3441
|
isLoading: false;
|
|
@@ -3436,7 +3447,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3436
3447
|
dataUpdatedAt: number;
|
|
3437
3448
|
errorUpdatedAt: number;
|
|
3438
3449
|
failureCount: number;
|
|
3439
|
-
failureReason:
|
|
3450
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
3440
3451
|
errorUpdateCount: number;
|
|
3441
3452
|
isFetched: boolean;
|
|
3442
3453
|
isFetchedAfterMount: boolean;
|
|
@@ -3456,7 +3467,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3456
3467
|
totalAmount1: bigint;
|
|
3457
3468
|
borrowedAmount0: bigint;
|
|
3458
3469
|
borrowedAmount1: bigint;
|
|
3459
|
-
}[],
|
|
3470
|
+
}[], viem0.ReadContractErrorType>>;
|
|
3460
3471
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3461
3472
|
promise: Promise<readonly {
|
|
3462
3473
|
tickLower: number;
|
|
@@ -3494,7 +3505,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3494
3505
|
dataUpdatedAt: number;
|
|
3495
3506
|
errorUpdatedAt: number;
|
|
3496
3507
|
failureCount: number;
|
|
3497
|
-
failureReason:
|
|
3508
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
3498
3509
|
errorUpdateCount: number;
|
|
3499
3510
|
isFetched: boolean;
|
|
3500
3511
|
isFetchedAfterMount: boolean;
|
|
@@ -3514,7 +3525,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3514
3525
|
totalAmount1: bigint;
|
|
3515
3526
|
borrowedAmount0: bigint;
|
|
3516
3527
|
borrowedAmount1: bigint;
|
|
3517
|
-
}[],
|
|
3528
|
+
}[], viem0.ReadContractErrorType>>;
|
|
3518
3529
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3519
3530
|
promise: Promise<readonly {
|
|
3520
3531
|
tickLower: number;
|
|
@@ -3551,7 +3562,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3551
3562
|
dataUpdatedAt: number;
|
|
3552
3563
|
errorUpdatedAt: number;
|
|
3553
3564
|
failureCount: number;
|
|
3554
|
-
failureReason:
|
|
3565
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
3555
3566
|
errorUpdateCount: number;
|
|
3556
3567
|
isFetched: boolean;
|
|
3557
3568
|
isFetchedAfterMount: boolean;
|
|
@@ -3572,7 +3583,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3572
3583
|
totalAmount1: bigint;
|
|
3573
3584
|
borrowedAmount0: bigint;
|
|
3574
3585
|
borrowedAmount1: bigint;
|
|
3575
|
-
}[],
|
|
3586
|
+
}[], viem0.ReadContractErrorType>>;
|
|
3576
3587
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3577
3588
|
promise: Promise<readonly {
|
|
3578
3589
|
tickLower: number;
|
|
@@ -3610,7 +3621,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3610
3621
|
dataUpdatedAt: number;
|
|
3611
3622
|
errorUpdatedAt: number;
|
|
3612
3623
|
failureCount: number;
|
|
3613
|
-
failureReason:
|
|
3624
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
3614
3625
|
errorUpdateCount: number;
|
|
3615
3626
|
isFetched: boolean;
|
|
3616
3627
|
isFetchedAfterMount: boolean;
|
|
@@ -3630,7 +3641,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3630
3641
|
totalAmount1: bigint;
|
|
3631
3642
|
borrowedAmount0: bigint;
|
|
3632
3643
|
borrowedAmount1: bigint;
|
|
3633
|
-
}[],
|
|
3644
|
+
}[], viem0.ReadContractErrorType>>;
|
|
3634
3645
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3635
3646
|
promise: Promise<readonly {
|
|
3636
3647
|
tickLower: number;
|
|
@@ -3703,14 +3714,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
3703
3714
|
borrowedAmount0: Amount;
|
|
3704
3715
|
borrowedAmount1: Amount;
|
|
3705
3716
|
blocksCount: bigint;
|
|
3706
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint],
|
|
3717
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem0.ReadContractErrorType>>;
|
|
3707
3718
|
};
|
|
3708
3719
|
//#endregion
|
|
3709
3720
|
//#region src/hooks/useLens.d.ts
|
|
3710
3721
|
declare const useLens: () => {
|
|
3711
3722
|
timelockLens: {
|
|
3712
3723
|
read: {
|
|
3713
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
3724
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
3714
3725
|
readonly type: "function";
|
|
3715
3726
|
readonly name: "batchGetRefTick";
|
|
3716
3727
|
readonly inputs: readonly [{
|
|
@@ -4384,7 +4395,7 @@ declare const useLens: () => {
|
|
|
4384
4395
|
}];
|
|
4385
4396
|
readonly stateMutability: "view";
|
|
4386
4397
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
4387
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
4398
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
4388
4399
|
readonly type: "function";
|
|
4389
4400
|
readonly name: "batchGetRefTick";
|
|
4390
4401
|
readonly inputs: readonly [{
|
|
@@ -5068,7 +5079,7 @@ declare const useLens: () => {
|
|
|
5068
5079
|
borrowedAmount0: bigint;
|
|
5069
5080
|
borrowedAmount1: bigint;
|
|
5070
5081
|
}[]>;
|
|
5071
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
5082
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
5072
5083
|
readonly type: "function";
|
|
5073
5084
|
readonly name: "batchGetRefTick";
|
|
5074
5085
|
readonly inputs: readonly [{
|
|
@@ -5759,7 +5770,7 @@ declare const useLens: () => {
|
|
|
5759
5770
|
expiresAt: bigint;
|
|
5760
5771
|
liquidities: readonly bigint[];
|
|
5761
5772
|
}[], bigint, boolean]>;
|
|
5762
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
5773
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
5763
5774
|
readonly type: "function";
|
|
5764
5775
|
readonly name: "batchGetRefTick";
|
|
5765
5776
|
readonly inputs: readonly [{
|
|
@@ -6433,7 +6444,7 @@ declare const useLens: () => {
|
|
|
6433
6444
|
}];
|
|
6434
6445
|
readonly stateMutability: "view";
|
|
6435
6446
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
6436
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
6447
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
6437
6448
|
readonly type: "function";
|
|
6438
6449
|
readonly name: "batchGetRefTick";
|
|
6439
6450
|
readonly inputs: readonly [{
|
|
@@ -7120,7 +7131,7 @@ declare const useLens: () => {
|
|
|
7120
7131
|
payoutAssetName: string;
|
|
7121
7132
|
optionsCount: bigint;
|
|
7122
7133
|
}>;
|
|
7123
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
7134
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
7124
7135
|
readonly type: "function";
|
|
7125
7136
|
readonly name: "batchGetRefTick";
|
|
7126
7137
|
readonly inputs: readonly [{
|
|
@@ -7794,7 +7805,7 @@ declare const useLens: () => {
|
|
|
7794
7805
|
}];
|
|
7795
7806
|
readonly stateMutability: "view";
|
|
7796
7807
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
7797
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
7808
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
7798
7809
|
readonly type: "function";
|
|
7799
7810
|
readonly name: "batchGetRefTick";
|
|
7800
7811
|
readonly inputs: readonly [{
|
|
@@ -8468,7 +8479,7 @@ declare const useLens: () => {
|
|
|
8468
8479
|
}];
|
|
8469
8480
|
readonly stateMutability: "view";
|
|
8470
8481
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
8471
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
8482
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
8472
8483
|
readonly type: "function";
|
|
8473
8484
|
readonly name: "batchGetRefTick";
|
|
8474
8485
|
readonly inputs: readonly [{
|
|
@@ -9159,7 +9170,7 @@ declare const useLens: () => {
|
|
|
9159
9170
|
expiresAt: bigint;
|
|
9160
9171
|
liquidities: readonly bigint[];
|
|
9161
9172
|
}>;
|
|
9162
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
9173
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
9163
9174
|
readonly type: "function";
|
|
9164
9175
|
readonly name: "batchGetRefTick";
|
|
9165
9176
|
readonly inputs: readonly [{
|
|
@@ -9850,7 +9861,7 @@ declare const useLens: () => {
|
|
|
9850
9861
|
expiresAt: bigint;
|
|
9851
9862
|
liquidities: readonly bigint[];
|
|
9852
9863
|
}[]>;
|
|
9853
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
9864
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
9854
9865
|
readonly type: "function";
|
|
9855
9866
|
readonly name: "batchGetRefTick";
|
|
9856
9867
|
readonly inputs: readonly [{
|
|
@@ -10535,7 +10546,7 @@ declare const useLens: () => {
|
|
|
10535
10546
|
tickSpacing: number;
|
|
10536
10547
|
fee: number;
|
|
10537
10548
|
}>;
|
|
10538
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
10549
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
10539
10550
|
readonly type: "function";
|
|
10540
10551
|
readonly name: "batchGetRefTick";
|
|
10541
10552
|
readonly inputs: readonly [{
|
|
@@ -11209,7 +11220,7 @@ declare const useLens: () => {
|
|
|
11209
11220
|
}];
|
|
11210
11221
|
readonly stateMutability: "view";
|
|
11211
11222
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
11212
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
11223
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
11213
11224
|
readonly type: "function";
|
|
11214
11225
|
readonly name: "batchGetRefTick";
|
|
11215
11226
|
readonly inputs: readonly [{
|
|
@@ -11900,7 +11911,7 @@ declare const useLens: () => {
|
|
|
11900
11911
|
expiresAt: bigint;
|
|
11901
11912
|
liquidities: readonly bigint[];
|
|
11902
11913
|
}[], bigint, boolean]>;
|
|
11903
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
11914
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
11904
11915
|
readonly type: "function";
|
|
11905
11916
|
readonly name: "batchGetRefTick";
|
|
11906
11917
|
readonly inputs: readonly [{
|
|
@@ -13253,7 +13264,7 @@ declare const useLens: () => {
|
|
|
13253
13264
|
} | undefined;
|
|
13254
13265
|
uniswapLens: {
|
|
13255
13266
|
read: {
|
|
13256
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
13267
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
13257
13268
|
readonly type: "function";
|
|
13258
13269
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13259
13270
|
readonly inputs: readonly [{
|
|
@@ -13874,7 +13885,7 @@ declare const useLens: () => {
|
|
|
13874
13885
|
}];
|
|
13875
13886
|
readonly stateMutability: "pure";
|
|
13876
13887
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13877
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
13888
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
13878
13889
|
readonly type: "function";
|
|
13879
13890
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13880
13891
|
readonly inputs: readonly [{
|
|
@@ -14495,7 +14506,7 @@ declare const useLens: () => {
|
|
|
14495
14506
|
}];
|
|
14496
14507
|
readonly stateMutability: "pure";
|
|
14497
14508
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14498
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
14509
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
14499
14510
|
readonly type: "function";
|
|
14500
14511
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14501
14512
|
readonly inputs: readonly [{
|
|
@@ -15116,7 +15127,7 @@ declare const useLens: () => {
|
|
|
15116
15127
|
}];
|
|
15117
15128
|
readonly stateMutability: "pure";
|
|
15118
15129
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
15119
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
15130
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
15120
15131
|
readonly type: "function";
|
|
15121
15132
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15122
15133
|
readonly inputs: readonly [{
|
|
@@ -15737,7 +15748,7 @@ declare const useLens: () => {
|
|
|
15737
15748
|
}];
|
|
15738
15749
|
readonly stateMutability: "pure";
|
|
15739
15750
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
15740
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
15751
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
15741
15752
|
readonly type: "function";
|
|
15742
15753
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15743
15754
|
readonly inputs: readonly [{
|
|
@@ -16358,7 +16369,7 @@ declare const useLens: () => {
|
|
|
16358
16369
|
}];
|
|
16359
16370
|
readonly stateMutability: "pure";
|
|
16360
16371
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
16361
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
16372
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
16362
16373
|
readonly type: "function";
|
|
16363
16374
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16364
16375
|
readonly inputs: readonly [{
|
|
@@ -16979,7 +16990,7 @@ declare const useLens: () => {
|
|
|
16979
16990
|
}];
|
|
16980
16991
|
readonly stateMutability: "pure";
|
|
16981
16992
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
16982
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
16993
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
16983
16994
|
readonly type: "function";
|
|
16984
16995
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16985
16996
|
readonly inputs: readonly [{
|
|
@@ -17600,7 +17611,7 @@ declare const useLens: () => {
|
|
|
17600
17611
|
}];
|
|
17601
17612
|
readonly stateMutability: "pure";
|
|
17602
17613
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
17603
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
17614
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
17604
17615
|
readonly type: "function";
|
|
17605
17616
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17606
17617
|
readonly inputs: readonly [{
|
|
@@ -18221,7 +18232,7 @@ declare const useLens: () => {
|
|
|
18221
18232
|
}];
|
|
18222
18233
|
readonly stateMutability: "pure";
|
|
18223
18234
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18224
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
18235
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
18225
18236
|
readonly type: "function";
|
|
18226
18237
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18227
18238
|
readonly inputs: readonly [{
|
|
@@ -18842,7 +18853,7 @@ declare const useLens: () => {
|
|
|
18842
18853
|
}];
|
|
18843
18854
|
readonly stateMutability: "pure";
|
|
18844
18855
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18845
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
18856
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
18846
18857
|
readonly type: "function";
|
|
18847
18858
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18848
18859
|
readonly inputs: readonly [{
|
|
@@ -19463,7 +19474,7 @@ declare const useLens: () => {
|
|
|
19463
19474
|
}];
|
|
19464
19475
|
readonly stateMutability: "pure";
|
|
19465
19476
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
19466
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
19477
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
19467
19478
|
readonly type: "function";
|
|
19468
19479
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19469
19480
|
readonly inputs: readonly [{
|
|
@@ -20084,7 +20095,7 @@ declare const useLens: () => {
|
|
|
20084
20095
|
}];
|
|
20085
20096
|
readonly stateMutability: "pure";
|
|
20086
20097
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20087
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
20098
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
20088
20099
|
readonly type: "function";
|
|
20089
20100
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20090
20101
|
readonly inputs: readonly [{
|
|
@@ -20705,7 +20716,7 @@ declare const useLens: () => {
|
|
|
20705
20716
|
}];
|
|
20706
20717
|
readonly stateMutability: "pure";
|
|
20707
20718
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20708
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
20719
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
20709
20720
|
readonly type: "function";
|
|
20710
20721
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20711
20722
|
readonly inputs: readonly [{
|
|
@@ -21326,7 +21337,7 @@ declare const useLens: () => {
|
|
|
21326
21337
|
}];
|
|
21327
21338
|
readonly stateMutability: "pure";
|
|
21328
21339
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
21329
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
21340
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
21330
21341
|
readonly type: "function";
|
|
21331
21342
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21332
21343
|
readonly inputs: readonly [{
|
|
@@ -21947,7 +21958,7 @@ declare const useLens: () => {
|
|
|
21947
21958
|
}];
|
|
21948
21959
|
readonly stateMutability: "pure";
|
|
21949
21960
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21950
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
21961
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
21951
21962
|
readonly type: "function";
|
|
21952
21963
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21953
21964
|
readonly inputs: readonly [{
|
|
@@ -22568,7 +22579,7 @@ declare const useLens: () => {
|
|
|
22568
22579
|
}];
|
|
22569
22580
|
readonly stateMutability: "pure";
|
|
22570
22581
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
22571
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
22582
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
22572
22583
|
readonly type: "function";
|
|
22573
22584
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
22574
22585
|
readonly inputs: readonly [{
|
|
@@ -23189,7 +23200,7 @@ declare const useLens: () => {
|
|
|
23189
23200
|
}];
|
|
23190
23201
|
readonly stateMutability: "pure";
|
|
23191
23202
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
23192
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
23203
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
23193
23204
|
readonly type: "function";
|
|
23194
23205
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23195
23206
|
readonly inputs: readonly [{
|
|
@@ -23810,7 +23821,7 @@ declare const useLens: () => {
|
|
|
23810
23821
|
}];
|
|
23811
23822
|
readonly stateMutability: "pure";
|
|
23812
23823
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
23813
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
23824
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
23814
23825
|
readonly type: "function";
|
|
23815
23826
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23816
23827
|
readonly inputs: readonly [{
|
|
@@ -24431,7 +24442,7 @@ declare const useLens: () => {
|
|
|
24431
24442
|
}];
|
|
24432
24443
|
readonly stateMutability: "pure";
|
|
24433
24444
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
24434
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
24445
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
24435
24446
|
readonly type: "function";
|
|
24436
24447
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
24437
24448
|
readonly inputs: readonly [{
|
|
@@ -25052,7 +25063,7 @@ declare const useLens: () => {
|
|
|
25052
25063
|
}];
|
|
25053
25064
|
readonly stateMutability: "pure";
|
|
25054
25065
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
25055
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
25066
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
25056
25067
|
readonly type: "function";
|
|
25057
25068
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25058
25069
|
readonly inputs: readonly [{
|
|
@@ -25673,7 +25684,7 @@ declare const useLens: () => {
|
|
|
25673
25684
|
}];
|
|
25674
25685
|
readonly stateMutability: "pure";
|
|
25675
25686
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25676
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
25687
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
25677
25688
|
readonly type: "function";
|
|
25678
25689
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25679
25690
|
readonly inputs: readonly [{
|
|
@@ -26294,7 +26305,7 @@ declare const useLens: () => {
|
|
|
26294
26305
|
}];
|
|
26295
26306
|
readonly stateMutability: "pure";
|
|
26296
26307
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26297
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
26308
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
26298
26309
|
readonly type: "function";
|
|
26299
26310
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26300
26311
|
readonly inputs: readonly [{
|
|
@@ -26915,7 +26926,7 @@ declare const useLens: () => {
|
|
|
26915
26926
|
}];
|
|
26916
26927
|
readonly stateMutability: "pure";
|
|
26917
26928
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26918
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
26929
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
26919
26930
|
readonly type: "function";
|
|
26920
26931
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26921
26932
|
readonly inputs: readonly [{
|
|
@@ -27536,7 +27547,7 @@ declare const useLens: () => {
|
|
|
27536
27547
|
}];
|
|
27537
27548
|
readonly stateMutability: "pure";
|
|
27538
27549
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27539
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
27550
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
27540
27551
|
readonly type: "function";
|
|
27541
27552
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
27542
27553
|
readonly inputs: readonly [{
|
|
@@ -28157,7 +28168,7 @@ declare const useLens: () => {
|
|
|
28157
28168
|
}];
|
|
28158
28169
|
readonly stateMutability: "pure";
|
|
28159
28170
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
28160
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
28171
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
28161
28172
|
readonly type: "function";
|
|
28162
28173
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
28163
28174
|
readonly inputs: readonly [{
|
|
@@ -28778,7 +28789,7 @@ declare const useLens: () => {
|
|
|
28778
28789
|
}];
|
|
28779
28790
|
readonly stateMutability: "pure";
|
|
28780
28791
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
28781
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
28792
|
+
getPriceAtTick: (args: readonly [number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
28782
28793
|
readonly type: "function";
|
|
28783
28794
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
28784
28795
|
readonly inputs: readonly [{
|
|
@@ -30025,5 +30036,5 @@ declare const useLens: () => {
|
|
|
30025
30036
|
} | undefined;
|
|
30026
30037
|
};
|
|
30027
30038
|
//#endregion
|
|
30028
|
-
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, useUserOperators, useVaultData, useVaultTVL };
|
|
30039
|
+
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, useSetOperatorPerms, useTimelockConfig, useUserOperators, useVaultData, useVaultTVL };
|
|
30029
30040
|
//# sourceMappingURL=client.d.cts.map
|