timelock-sdk 0.0.74 → 0.0.76
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 +109 -72
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +189 -198
- package/dist/client.d.ts +122 -131
- package/dist/client.js +109 -72
- package/dist/client.js.map +1 -1
- package/dist/{index-C-uDgfkL.d.cts → index-CFBcBY1K.d.cts} +92 -92
- package/dist/{index-BdBPLPWm.d.ts → index-CdkTrz02.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.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./uniswapMathLens-C54iWXpi.js";
|
|
2
|
-
import { A as UniswapMathLens, k as TimelockMarketData, p as Amount } from "./index-
|
|
3
|
-
import * as
|
|
2
|
+
import { A as UniswapMathLens, k as TimelockMarketData, p as Amount } from "./index-CdkTrz02.js";
|
|
3
|
+
import * as viem249 from "viem";
|
|
4
4
|
import { Address } from "viem";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
6
6
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
@@ -54,91 +54,80 @@ type Scalars = {
|
|
|
54
54
|
output: any;
|
|
55
55
|
};
|
|
56
56
|
};
|
|
57
|
+
type UserOptionFieldsFragment = {
|
|
58
|
+
__typename: 'UserOption';
|
|
59
|
+
id: string;
|
|
60
|
+
optionId: any;
|
|
61
|
+
optionType: any;
|
|
62
|
+
strikeTick: number;
|
|
63
|
+
entryTick: number;
|
|
64
|
+
startTick: number;
|
|
65
|
+
strikePrice: any;
|
|
66
|
+
entryPrice: any;
|
|
67
|
+
expiresAt: any;
|
|
68
|
+
createdAt: any;
|
|
69
|
+
premium: any;
|
|
70
|
+
protocolFee: any;
|
|
71
|
+
realizedPayout: any;
|
|
72
|
+
liquiditiesAtOpen: Array<string>;
|
|
73
|
+
liquiditiesCurrent: Array<string>;
|
|
74
|
+
positionSizeAtOpen: any;
|
|
75
|
+
positionSizeCurrent: any;
|
|
76
|
+
fullyExercised: boolean;
|
|
77
|
+
owner?: {
|
|
78
|
+
__typename: 'TimelockMarketUser';
|
|
79
|
+
address: string;
|
|
80
|
+
} | null;
|
|
81
|
+
market?: {
|
|
82
|
+
__typename: 'TimelockMarket';
|
|
83
|
+
address: string;
|
|
84
|
+
} | null;
|
|
85
|
+
exerciseEvents: Array<{
|
|
86
|
+
__typename: 'ExerciseOptionEvent';
|
|
87
|
+
transactionHash: string;
|
|
88
|
+
}>;
|
|
89
|
+
mintEvent?: {
|
|
90
|
+
__typename: 'MintOptionEvent';
|
|
91
|
+
transactionHash: string;
|
|
92
|
+
} | null;
|
|
93
|
+
};
|
|
57
94
|
type GetActiveUserOptionsQueryVariables = Exact<{
|
|
58
|
-
|
|
95
|
+
userAddr: Scalars['String']['input'];
|
|
59
96
|
}>;
|
|
60
97
|
type GetActiveUserOptionsQuery = {
|
|
61
98
|
__typename: 'query_root';
|
|
62
99
|
UserOption: Array<{
|
|
63
100
|
__typename: 'UserOption';
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
protocolFee: any;
|
|
76
|
-
realizedPayout: any;
|
|
77
|
-
liquiditiesAtOpen: Array<string>;
|
|
78
|
-
liquiditiesCurrent: Array<string>;
|
|
79
|
-
positionSizeAtOpen: any;
|
|
80
|
-
positionSizeCurrent: any;
|
|
81
|
-
fullyExercised: boolean;
|
|
82
|
-
owner?: {
|
|
83
|
-
__typename: 'TimelockMarketUser';
|
|
84
|
-
address: string;
|
|
85
|
-
} | null;
|
|
86
|
-
market?: {
|
|
87
|
-
__typename: 'TimelockMarket';
|
|
88
|
-
address: string;
|
|
89
|
-
} | null;
|
|
90
|
-
exerciseEvents: Array<{
|
|
91
|
-
__typename: 'ExerciseOptionEvent';
|
|
92
|
-
transactionHash: string;
|
|
93
|
-
}>;
|
|
94
|
-
mintEvent?: {
|
|
95
|
-
__typename: 'MintOptionEvent';
|
|
96
|
-
transactionHash: string;
|
|
97
|
-
} | null;
|
|
98
|
-
}>;
|
|
101
|
+
} & UserOptionFieldsFragment>;
|
|
102
|
+
};
|
|
103
|
+
type GetActiveUserOptionsByMarketQueryVariables = Exact<{
|
|
104
|
+
userAddr: Scalars['String']['input'];
|
|
105
|
+
marketAddr: Scalars['String']['input'];
|
|
106
|
+
}>;
|
|
107
|
+
type GetActiveUserOptionsByMarketQuery = {
|
|
108
|
+
__typename: 'query_root';
|
|
109
|
+
UserOption: Array<{
|
|
110
|
+
__typename: 'UserOption';
|
|
111
|
+
} & UserOptionFieldsFragment>;
|
|
99
112
|
};
|
|
100
113
|
type GetClosedUserOptionsQueryVariables = Exact<{
|
|
101
|
-
|
|
114
|
+
userAddr: Scalars['String']['input'];
|
|
102
115
|
}>;
|
|
103
116
|
type GetClosedUserOptionsQuery = {
|
|
104
117
|
__typename: 'query_root';
|
|
105
118
|
UserOption: Array<{
|
|
106
119
|
__typename: 'UserOption';
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
protocolFee: any;
|
|
119
|
-
realizedPayout: any;
|
|
120
|
-
liquiditiesAtOpen: Array<string>;
|
|
121
|
-
liquiditiesCurrent: Array<string>;
|
|
122
|
-
positionSizeAtOpen: any;
|
|
123
|
-
positionSizeCurrent: any;
|
|
124
|
-
fullyExercised: boolean;
|
|
125
|
-
owner?: {
|
|
126
|
-
__typename: 'TimelockMarketUser';
|
|
127
|
-
address: string;
|
|
128
|
-
} | null;
|
|
129
|
-
market?: {
|
|
130
|
-
__typename: 'TimelockMarket';
|
|
131
|
-
address: string;
|
|
132
|
-
} | null;
|
|
133
|
-
exerciseEvents: Array<{
|
|
134
|
-
__typename: 'ExerciseOptionEvent';
|
|
135
|
-
transactionHash: string;
|
|
136
|
-
}>;
|
|
137
|
-
mintEvent?: {
|
|
138
|
-
__typename: 'MintOptionEvent';
|
|
139
|
-
transactionHash: string;
|
|
140
|
-
} | null;
|
|
141
|
-
}>;
|
|
120
|
+
} & UserOptionFieldsFragment>;
|
|
121
|
+
};
|
|
122
|
+
type GetClosedUserOptionsByMarketQueryVariables = Exact<{
|
|
123
|
+
userAddr: Scalars['String']['input'];
|
|
124
|
+
marketAddr: Scalars['String']['input'];
|
|
125
|
+
}>;
|
|
126
|
+
type GetClosedUserOptionsByMarketQuery = {
|
|
127
|
+
__typename: 'query_root';
|
|
128
|
+
UserOption: Array<{
|
|
129
|
+
__typename: 'UserOption';
|
|
130
|
+
} & UserOptionFieldsFragment>;
|
|
142
131
|
};
|
|
143
132
|
type GetMarketDataQueryVariables = Exact<{
|
|
144
133
|
marketAddr: Scalars['String']['input'];
|
|
@@ -188,7 +177,9 @@ type GetUserMarketOperatorsQuery = {
|
|
|
188
177
|
type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
|
|
189
178
|
declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
190
179
|
GetActiveUserOptions(variables: GetActiveUserOptionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetActiveUserOptionsQuery>;
|
|
180
|
+
GetActiveUserOptionsByMarket(variables: GetActiveUserOptionsByMarketQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetActiveUserOptionsByMarketQuery>;
|
|
191
181
|
GetClosedUserOptions(variables: GetClosedUserOptionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetClosedUserOptionsQuery>;
|
|
182
|
+
GetClosedUserOptionsByMarket(variables: GetClosedUserOptionsByMarketQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetClosedUserOptionsByMarketQuery>;
|
|
192
183
|
GetMarketData(variables: GetMarketDataQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetMarketDataQuery>;
|
|
193
184
|
GetUserMarketOperators(variables: GetUserMarketOperatorsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetUserMarketOperatorsQuery>;
|
|
194
185
|
};
|
|
@@ -215,7 +206,7 @@ declare const useTimelockConfig: () => TimelockMarketContextValue;
|
|
|
215
206
|
//#endregion
|
|
216
207
|
//#region src/hooks/market/useUserOptions.d.ts
|
|
217
208
|
type OptionData = ReturnType<typeof useUserOptions>['data'][0];
|
|
218
|
-
declare const useUserOptions: (
|
|
209
|
+
declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", active?: boolean) => {
|
|
219
210
|
error: Error;
|
|
220
211
|
isError: true;
|
|
221
212
|
isPending: false;
|
|
@@ -1062,7 +1053,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
1062
1053
|
} | null;
|
|
1063
1054
|
}[];
|
|
1064
1055
|
};
|
|
1065
|
-
declare const useActiveUserOptions: (
|
|
1056
|
+
declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address | "*") => {
|
|
1066
1057
|
error: Error;
|
|
1067
1058
|
isError: true;
|
|
1068
1059
|
isPending: false;
|
|
@@ -1909,7 +1900,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1909
1900
|
} | null;
|
|
1910
1901
|
}[];
|
|
1911
1902
|
};
|
|
1912
|
-
declare const useClosedUserOptions: (
|
|
1903
|
+
declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address | "*") => {
|
|
1913
1904
|
error: Error;
|
|
1914
1905
|
isError: true;
|
|
1915
1906
|
isPending: false;
|
|
@@ -3295,7 +3286,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
3295
3286
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
3296
3287
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
3297
3288
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
3298
|
-
error:
|
|
3289
|
+
error: viem249.ReadContractErrorType;
|
|
3299
3290
|
isError: true;
|
|
3300
3291
|
isPending: false;
|
|
3301
3292
|
isLoading: false;
|
|
@@ -3307,7 +3298,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3307
3298
|
dataUpdatedAt: number;
|
|
3308
3299
|
errorUpdatedAt: number;
|
|
3309
3300
|
failureCount: number;
|
|
3310
|
-
failureReason:
|
|
3301
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
3311
3302
|
errorUpdateCount: number;
|
|
3312
3303
|
isFetched: boolean;
|
|
3313
3304
|
isFetchedAfterMount: boolean;
|
|
@@ -3327,7 +3318,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3327
3318
|
totalAmount1: bigint;
|
|
3328
3319
|
borrowedAmount0: bigint;
|
|
3329
3320
|
borrowedAmount1: bigint;
|
|
3330
|
-
}[],
|
|
3321
|
+
}[], viem249.ReadContractErrorType>>;
|
|
3331
3322
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3332
3323
|
promise: Promise<readonly {
|
|
3333
3324
|
tickLower: number;
|
|
@@ -3365,7 +3356,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3365
3356
|
dataUpdatedAt: number;
|
|
3366
3357
|
errorUpdatedAt: number;
|
|
3367
3358
|
failureCount: number;
|
|
3368
|
-
failureReason:
|
|
3359
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
3369
3360
|
errorUpdateCount: number;
|
|
3370
3361
|
isFetched: boolean;
|
|
3371
3362
|
isFetchedAfterMount: boolean;
|
|
@@ -3385,7 +3376,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3385
3376
|
totalAmount1: bigint;
|
|
3386
3377
|
borrowedAmount0: bigint;
|
|
3387
3378
|
borrowedAmount1: bigint;
|
|
3388
|
-
}[],
|
|
3379
|
+
}[], viem249.ReadContractErrorType>>;
|
|
3389
3380
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3390
3381
|
promise: Promise<readonly {
|
|
3391
3382
|
tickLower: number;
|
|
@@ -3411,7 +3402,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3411
3402
|
borrowedAmount1: bigint;
|
|
3412
3403
|
}[];
|
|
3413
3404
|
} | {
|
|
3414
|
-
error:
|
|
3405
|
+
error: viem249.ReadContractErrorType;
|
|
3415
3406
|
isError: true;
|
|
3416
3407
|
isPending: false;
|
|
3417
3408
|
isLoading: false;
|
|
@@ -3423,7 +3414,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3423
3414
|
dataUpdatedAt: number;
|
|
3424
3415
|
errorUpdatedAt: number;
|
|
3425
3416
|
failureCount: number;
|
|
3426
|
-
failureReason:
|
|
3417
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
3427
3418
|
errorUpdateCount: number;
|
|
3428
3419
|
isFetched: boolean;
|
|
3429
3420
|
isFetchedAfterMount: boolean;
|
|
@@ -3443,7 +3434,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3443
3434
|
totalAmount1: bigint;
|
|
3444
3435
|
borrowedAmount0: bigint;
|
|
3445
3436
|
borrowedAmount1: bigint;
|
|
3446
|
-
}[],
|
|
3437
|
+
}[], viem249.ReadContractErrorType>>;
|
|
3447
3438
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3448
3439
|
promise: Promise<readonly {
|
|
3449
3440
|
tickLower: number;
|
|
@@ -3481,7 +3472,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3481
3472
|
dataUpdatedAt: number;
|
|
3482
3473
|
errorUpdatedAt: number;
|
|
3483
3474
|
failureCount: number;
|
|
3484
|
-
failureReason:
|
|
3475
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
3485
3476
|
errorUpdateCount: number;
|
|
3486
3477
|
isFetched: boolean;
|
|
3487
3478
|
isFetchedAfterMount: boolean;
|
|
@@ -3501,7 +3492,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3501
3492
|
totalAmount1: bigint;
|
|
3502
3493
|
borrowedAmount0: bigint;
|
|
3503
3494
|
borrowedAmount1: bigint;
|
|
3504
|
-
}[],
|
|
3495
|
+
}[], viem249.ReadContractErrorType>>;
|
|
3505
3496
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3506
3497
|
promise: Promise<readonly {
|
|
3507
3498
|
tickLower: number;
|
|
@@ -3538,7 +3529,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3538
3529
|
dataUpdatedAt: number;
|
|
3539
3530
|
errorUpdatedAt: number;
|
|
3540
3531
|
failureCount: number;
|
|
3541
|
-
failureReason:
|
|
3532
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
3542
3533
|
errorUpdateCount: number;
|
|
3543
3534
|
isFetched: boolean;
|
|
3544
3535
|
isFetchedAfterMount: boolean;
|
|
@@ -3559,7 +3550,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3559
3550
|
totalAmount1: bigint;
|
|
3560
3551
|
borrowedAmount0: bigint;
|
|
3561
3552
|
borrowedAmount1: bigint;
|
|
3562
|
-
}[],
|
|
3553
|
+
}[], viem249.ReadContractErrorType>>;
|
|
3563
3554
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3564
3555
|
promise: Promise<readonly {
|
|
3565
3556
|
tickLower: number;
|
|
@@ -3597,7 +3588,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3597
3588
|
dataUpdatedAt: number;
|
|
3598
3589
|
errorUpdatedAt: number;
|
|
3599
3590
|
failureCount: number;
|
|
3600
|
-
failureReason:
|
|
3591
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
3601
3592
|
errorUpdateCount: number;
|
|
3602
3593
|
isFetched: boolean;
|
|
3603
3594
|
isFetchedAfterMount: boolean;
|
|
@@ -3617,7 +3608,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3617
3608
|
totalAmount1: bigint;
|
|
3618
3609
|
borrowedAmount0: bigint;
|
|
3619
3610
|
borrowedAmount1: bigint;
|
|
3620
|
-
}[],
|
|
3611
|
+
}[], viem249.ReadContractErrorType>>;
|
|
3621
3612
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3622
3613
|
promise: Promise<readonly {
|
|
3623
3614
|
tickLower: number;
|
|
@@ -3690,14 +3681,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
3690
3681
|
borrowedAmount0: Amount;
|
|
3691
3682
|
borrowedAmount1: Amount;
|
|
3692
3683
|
blocksCount: bigint;
|
|
3693
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint],
|
|
3684
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem249.ReadContractErrorType>>;
|
|
3694
3685
|
};
|
|
3695
3686
|
//#endregion
|
|
3696
3687
|
//#region src/hooks/useLens.d.ts
|
|
3697
3688
|
declare const useLens: () => {
|
|
3698
3689
|
timelockLens: {
|
|
3699
3690
|
read: {
|
|
3700
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
3691
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
3701
3692
|
readonly type: "function";
|
|
3702
3693
|
readonly name: "batchGetRefTick";
|
|
3703
3694
|
readonly inputs: readonly [{
|
|
@@ -4371,7 +4362,7 @@ declare const useLens: () => {
|
|
|
4371
4362
|
}];
|
|
4372
4363
|
readonly stateMutability: "view";
|
|
4373
4364
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
4374
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
4365
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
4375
4366
|
readonly type: "function";
|
|
4376
4367
|
readonly name: "batchGetRefTick";
|
|
4377
4368
|
readonly inputs: readonly [{
|
|
@@ -5055,7 +5046,7 @@ declare const useLens: () => {
|
|
|
5055
5046
|
borrowedAmount0: bigint;
|
|
5056
5047
|
borrowedAmount1: bigint;
|
|
5057
5048
|
}[]>;
|
|
5058
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
5049
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
5059
5050
|
readonly type: "function";
|
|
5060
5051
|
readonly name: "batchGetRefTick";
|
|
5061
5052
|
readonly inputs: readonly [{
|
|
@@ -5746,7 +5737,7 @@ declare const useLens: () => {
|
|
|
5746
5737
|
expiresAt: number;
|
|
5747
5738
|
liquidities: readonly bigint[];
|
|
5748
5739
|
}[], bigint, boolean]>;
|
|
5749
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
5740
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
5750
5741
|
readonly type: "function";
|
|
5751
5742
|
readonly name: "batchGetRefTick";
|
|
5752
5743
|
readonly inputs: readonly [{
|
|
@@ -6420,7 +6411,7 @@ declare const useLens: () => {
|
|
|
6420
6411
|
}];
|
|
6421
6412
|
readonly stateMutability: "view";
|
|
6422
6413
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
6423
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
6414
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
6424
6415
|
readonly type: "function";
|
|
6425
6416
|
readonly name: "batchGetRefTick";
|
|
6426
6417
|
readonly inputs: readonly [{
|
|
@@ -7107,7 +7098,7 @@ declare const useLens: () => {
|
|
|
7107
7098
|
payoutAssetName: string;
|
|
7108
7099
|
optionsCount: bigint;
|
|
7109
7100
|
}>;
|
|
7110
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
7101
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
7111
7102
|
readonly type: "function";
|
|
7112
7103
|
readonly name: "batchGetRefTick";
|
|
7113
7104
|
readonly inputs: readonly [{
|
|
@@ -7781,7 +7772,7 @@ declare const useLens: () => {
|
|
|
7781
7772
|
}];
|
|
7782
7773
|
readonly stateMutability: "view";
|
|
7783
7774
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
7784
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
7775
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
7785
7776
|
readonly type: "function";
|
|
7786
7777
|
readonly name: "batchGetRefTick";
|
|
7787
7778
|
readonly inputs: readonly [{
|
|
@@ -8455,7 +8446,7 @@ declare const useLens: () => {
|
|
|
8455
8446
|
}];
|
|
8456
8447
|
readonly stateMutability: "view";
|
|
8457
8448
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
8458
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
8449
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
8459
8450
|
readonly type: "function";
|
|
8460
8451
|
readonly name: "batchGetRefTick";
|
|
8461
8452
|
readonly inputs: readonly [{
|
|
@@ -9146,7 +9137,7 @@ declare const useLens: () => {
|
|
|
9146
9137
|
expiresAt: number;
|
|
9147
9138
|
liquidities: readonly bigint[];
|
|
9148
9139
|
}>;
|
|
9149
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
9140
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
9150
9141
|
readonly type: "function";
|
|
9151
9142
|
readonly name: "batchGetRefTick";
|
|
9152
9143
|
readonly inputs: readonly [{
|
|
@@ -9837,7 +9828,7 @@ declare const useLens: () => {
|
|
|
9837
9828
|
expiresAt: number;
|
|
9838
9829
|
liquidities: readonly bigint[];
|
|
9839
9830
|
}[]>;
|
|
9840
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
9831
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
9841
9832
|
readonly type: "function";
|
|
9842
9833
|
readonly name: "batchGetRefTick";
|
|
9843
9834
|
readonly inputs: readonly [{
|
|
@@ -10522,7 +10513,7 @@ declare const useLens: () => {
|
|
|
10522
10513
|
tickSpacing: number;
|
|
10523
10514
|
fee: number;
|
|
10524
10515
|
}>;
|
|
10525
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
10516
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
10526
10517
|
readonly type: "function";
|
|
10527
10518
|
readonly name: "batchGetRefTick";
|
|
10528
10519
|
readonly inputs: readonly [{
|
|
@@ -11196,7 +11187,7 @@ declare const useLens: () => {
|
|
|
11196
11187
|
}];
|
|
11197
11188
|
readonly stateMutability: "view";
|
|
11198
11189
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
11199
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
11190
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
11200
11191
|
readonly type: "function";
|
|
11201
11192
|
readonly name: "batchGetRefTick";
|
|
11202
11193
|
readonly inputs: readonly [{
|
|
@@ -11887,7 +11878,7 @@ declare const useLens: () => {
|
|
|
11887
11878
|
expiresAt: number;
|
|
11888
11879
|
liquidities: readonly bigint[];
|
|
11889
11880
|
}[], bigint, boolean]>;
|
|
11890
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
11881
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
11891
11882
|
readonly type: "function";
|
|
11892
11883
|
readonly name: "batchGetRefTick";
|
|
11893
11884
|
readonly inputs: readonly [{
|
|
@@ -13240,7 +13231,7 @@ declare const useLens: () => {
|
|
|
13240
13231
|
} | undefined;
|
|
13241
13232
|
uniswapLens: {
|
|
13242
13233
|
read: {
|
|
13243
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
13234
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
13244
13235
|
readonly type: "function";
|
|
13245
13236
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13246
13237
|
readonly inputs: readonly [{
|
|
@@ -13861,7 +13852,7 @@ declare const useLens: () => {
|
|
|
13861
13852
|
}];
|
|
13862
13853
|
readonly stateMutability: "pure";
|
|
13863
13854
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13864
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
13855
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
13865
13856
|
readonly type: "function";
|
|
13866
13857
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13867
13858
|
readonly inputs: readonly [{
|
|
@@ -14482,7 +14473,7 @@ declare const useLens: () => {
|
|
|
14482
14473
|
}];
|
|
14483
14474
|
readonly stateMutability: "pure";
|
|
14484
14475
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14485
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
14476
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
14486
14477
|
readonly type: "function";
|
|
14487
14478
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14488
14479
|
readonly inputs: readonly [{
|
|
@@ -15103,7 +15094,7 @@ declare const useLens: () => {
|
|
|
15103
15094
|
}];
|
|
15104
15095
|
readonly stateMutability: "pure";
|
|
15105
15096
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
15106
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
15097
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
15107
15098
|
readonly type: "function";
|
|
15108
15099
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15109
15100
|
readonly inputs: readonly [{
|
|
@@ -15724,7 +15715,7 @@ declare const useLens: () => {
|
|
|
15724
15715
|
}];
|
|
15725
15716
|
readonly stateMutability: "pure";
|
|
15726
15717
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
15727
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
15718
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
15728
15719
|
readonly type: "function";
|
|
15729
15720
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15730
15721
|
readonly inputs: readonly [{
|
|
@@ -16345,7 +16336,7 @@ declare const useLens: () => {
|
|
|
16345
16336
|
}];
|
|
16346
16337
|
readonly stateMutability: "pure";
|
|
16347
16338
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
16348
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
16339
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
16349
16340
|
readonly type: "function";
|
|
16350
16341
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16351
16342
|
readonly inputs: readonly [{
|
|
@@ -16966,7 +16957,7 @@ declare const useLens: () => {
|
|
|
16966
16957
|
}];
|
|
16967
16958
|
readonly stateMutability: "pure";
|
|
16968
16959
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
16969
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
16960
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
16970
16961
|
readonly type: "function";
|
|
16971
16962
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16972
16963
|
readonly inputs: readonly [{
|
|
@@ -17587,7 +17578,7 @@ declare const useLens: () => {
|
|
|
17587
17578
|
}];
|
|
17588
17579
|
readonly stateMutability: "pure";
|
|
17589
17580
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
17590
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
17581
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
17591
17582
|
readonly type: "function";
|
|
17592
17583
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17593
17584
|
readonly inputs: readonly [{
|
|
@@ -18208,7 +18199,7 @@ declare const useLens: () => {
|
|
|
18208
18199
|
}];
|
|
18209
18200
|
readonly stateMutability: "pure";
|
|
18210
18201
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18211
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
18202
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
18212
18203
|
readonly type: "function";
|
|
18213
18204
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18214
18205
|
readonly inputs: readonly [{
|
|
@@ -18829,7 +18820,7 @@ declare const useLens: () => {
|
|
|
18829
18820
|
}];
|
|
18830
18821
|
readonly stateMutability: "pure";
|
|
18831
18822
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18832
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
18823
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
18833
18824
|
readonly type: "function";
|
|
18834
18825
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18835
18826
|
readonly inputs: readonly [{
|
|
@@ -19450,7 +19441,7 @@ declare const useLens: () => {
|
|
|
19450
19441
|
}];
|
|
19451
19442
|
readonly stateMutability: "pure";
|
|
19452
19443
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
19453
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
19444
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
19454
19445
|
readonly type: "function";
|
|
19455
19446
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19456
19447
|
readonly inputs: readonly [{
|
|
@@ -20071,7 +20062,7 @@ declare const useLens: () => {
|
|
|
20071
20062
|
}];
|
|
20072
20063
|
readonly stateMutability: "pure";
|
|
20073
20064
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20074
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
20065
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
20075
20066
|
readonly type: "function";
|
|
20076
20067
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20077
20068
|
readonly inputs: readonly [{
|
|
@@ -20692,7 +20683,7 @@ declare const useLens: () => {
|
|
|
20692
20683
|
}];
|
|
20693
20684
|
readonly stateMutability: "pure";
|
|
20694
20685
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20695
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
20686
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
20696
20687
|
readonly type: "function";
|
|
20697
20688
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20698
20689
|
readonly inputs: readonly [{
|
|
@@ -21313,7 +21304,7 @@ declare const useLens: () => {
|
|
|
21313
21304
|
}];
|
|
21314
21305
|
readonly stateMutability: "pure";
|
|
21315
21306
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
21316
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
21307
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
21317
21308
|
readonly type: "function";
|
|
21318
21309
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21319
21310
|
readonly inputs: readonly [{
|
|
@@ -21934,7 +21925,7 @@ declare const useLens: () => {
|
|
|
21934
21925
|
}];
|
|
21935
21926
|
readonly stateMutability: "pure";
|
|
21936
21927
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21937
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
21928
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
21938
21929
|
readonly type: "function";
|
|
21939
21930
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21940
21931
|
readonly inputs: readonly [{
|
|
@@ -22555,7 +22546,7 @@ declare const useLens: () => {
|
|
|
22555
22546
|
}];
|
|
22556
22547
|
readonly stateMutability: "pure";
|
|
22557
22548
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
22558
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
22549
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
22559
22550
|
readonly type: "function";
|
|
22560
22551
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
22561
22552
|
readonly inputs: readonly [{
|
|
@@ -23176,7 +23167,7 @@ declare const useLens: () => {
|
|
|
23176
23167
|
}];
|
|
23177
23168
|
readonly stateMutability: "pure";
|
|
23178
23169
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
23179
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
23170
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
23180
23171
|
readonly type: "function";
|
|
23181
23172
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23182
23173
|
readonly inputs: readonly [{
|
|
@@ -23797,7 +23788,7 @@ declare const useLens: () => {
|
|
|
23797
23788
|
}];
|
|
23798
23789
|
readonly stateMutability: "pure";
|
|
23799
23790
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
23800
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
23791
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
23801
23792
|
readonly type: "function";
|
|
23802
23793
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23803
23794
|
readonly inputs: readonly [{
|
|
@@ -24418,7 +24409,7 @@ declare const useLens: () => {
|
|
|
24418
24409
|
}];
|
|
24419
24410
|
readonly stateMutability: "pure";
|
|
24420
24411
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
24421
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
24412
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
24422
24413
|
readonly type: "function";
|
|
24423
24414
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
24424
24415
|
readonly inputs: readonly [{
|
|
@@ -25039,7 +25030,7 @@ declare const useLens: () => {
|
|
|
25039
25030
|
}];
|
|
25040
25031
|
readonly stateMutability: "pure";
|
|
25041
25032
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
25042
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
25033
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
25043
25034
|
readonly type: "function";
|
|
25044
25035
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25045
25036
|
readonly inputs: readonly [{
|
|
@@ -25660,7 +25651,7 @@ declare const useLens: () => {
|
|
|
25660
25651
|
}];
|
|
25661
25652
|
readonly stateMutability: "pure";
|
|
25662
25653
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25663
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
25654
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
25664
25655
|
readonly type: "function";
|
|
25665
25656
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25666
25657
|
readonly inputs: readonly [{
|
|
@@ -26281,7 +26272,7 @@ declare const useLens: () => {
|
|
|
26281
26272
|
}];
|
|
26282
26273
|
readonly stateMutability: "pure";
|
|
26283
26274
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26284
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
26275
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
26285
26276
|
readonly type: "function";
|
|
26286
26277
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26287
26278
|
readonly inputs: readonly [{
|
|
@@ -26902,7 +26893,7 @@ declare const useLens: () => {
|
|
|
26902
26893
|
}];
|
|
26903
26894
|
readonly stateMutability: "pure";
|
|
26904
26895
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26905
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
26896
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
26906
26897
|
readonly type: "function";
|
|
26907
26898
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26908
26899
|
readonly inputs: readonly [{
|
|
@@ -27523,7 +27514,7 @@ declare const useLens: () => {
|
|
|
27523
27514
|
}];
|
|
27524
27515
|
readonly stateMutability: "pure";
|
|
27525
27516
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27526
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
27517
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
27527
27518
|
readonly type: "function";
|
|
27528
27519
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
27529
27520
|
readonly inputs: readonly [{
|
|
@@ -28144,7 +28135,7 @@ declare const useLens: () => {
|
|
|
28144
28135
|
}];
|
|
28145
28136
|
readonly stateMutability: "pure";
|
|
28146
28137
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
28147
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
28138
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
28148
28139
|
readonly type: "function";
|
|
28149
28140
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
28150
28141
|
readonly inputs: readonly [{
|
|
@@ -28765,7 +28756,7 @@ declare const useLens: () => {
|
|
|
28765
28756
|
}];
|
|
28766
28757
|
readonly stateMutability: "pure";
|
|
28767
28758
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
28768
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
28759
|
+
getPriceAtTick: (args: readonly [number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
28769
28760
|
readonly type: "function";
|
|
28770
28761
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
28771
28762
|
readonly inputs: readonly [{
|