timelock-sdk 0.0.28 → 0.0.30
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 +39 -43
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +133 -128
- package/dist/client.d.ts +72 -67
- package/dist/client.js +40 -44
- package/dist/client.js.map +1 -1
- package/dist/{index-DW-OoI-q.d.ts → index-CRhFaRiq.d.ts} +92 -92
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
package/dist/client.d.cts
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import "./uniswapMathLens-B1MIL2yT.cjs";
|
|
2
2
|
import { Amount, TimelockMarketData, UniswapMathLens } from "./index-CA5kB-yT.cjs";
|
|
3
|
-
import "
|
|
4
|
-
import "graphql-request";
|
|
5
|
-
import React, { ReactNode } from "react";
|
|
6
|
-
import * as viem366 from "viem";
|
|
3
|
+
import * as viem249 from "viem";
|
|
7
4
|
import { Address } from "viem";
|
|
8
|
-
import
|
|
5
|
+
import React, { ReactNode } from "react";
|
|
6
|
+
import "graphql";
|
|
7
|
+
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
8
|
+
import * as _wagmi_core0 from "@wagmi/core";
|
|
9
9
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
10
|
-
import * as
|
|
10
|
+
import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
11
11
|
|
|
12
12
|
//#region src/generated/graphql.d.ts
|
|
13
13
|
type Exact<T extends {
|
|
14
14
|
[key: string]: unknown;
|
|
15
15
|
}> = { [K in keyof T]: T[K] };
|
|
16
|
+
type GraphQLClientRequestHeaders = RequestOptions['requestHeaders'];
|
|
16
17
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
17
18
|
type Scalars = {
|
|
18
19
|
ID: {
|
|
@@ -144,8 +145,21 @@ type GetMarketDataQuery = {
|
|
|
144
145
|
payoutAssetName: string;
|
|
145
146
|
}>;
|
|
146
147
|
};
|
|
148
|
+
type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
|
|
149
|
+
declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
150
|
+
GetActiveUserOptions(variables: GetActiveUserOptionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetActiveUserOptionsQuery>;
|
|
151
|
+
GetClosedUserOptions(variables: GetClosedUserOptionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetClosedUserOptionsQuery>;
|
|
152
|
+
GetMarketData(variables: GetMarketDataQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetMarketDataQuery>;
|
|
153
|
+
};
|
|
147
154
|
//#endregion
|
|
148
155
|
//#region src/providers/TimelockMarketProvider.d.ts
|
|
156
|
+
type TimelockMarketContextValue = {
|
|
157
|
+
marketData: Partial<TimelockMarketData>;
|
|
158
|
+
lensAddr?: Address;
|
|
159
|
+
uniswapMathLensAddr?: Address;
|
|
160
|
+
envioGraphqlUrl?: string;
|
|
161
|
+
graphqlClient?: ReturnType<typeof getSdk>;
|
|
162
|
+
};
|
|
149
163
|
declare const TimelockMarketProvider: ({
|
|
150
164
|
children,
|
|
151
165
|
marketData,
|
|
@@ -156,16 +170,7 @@ declare const TimelockMarketProvider: ({
|
|
|
156
170
|
envioGraphqlUrl?: string;
|
|
157
171
|
}) => React.JSX.Element;
|
|
158
172
|
declare const useCurrentMarket: () => Partial<TimelockMarketData>;
|
|
159
|
-
declare const useTimelockConfig: () =>
|
|
160
|
-
lensAddr: `0x${string}` | undefined;
|
|
161
|
-
uniswapMathLensAddr: `0x${string}` | undefined;
|
|
162
|
-
envioGraphqlUrl: string | undefined;
|
|
163
|
-
graphqlClient: {
|
|
164
|
-
GetActiveUserOptions(variables: GetActiveUserOptionsQueryVariables, requestHeaders?: any, signal?: RequestInit["signal"]): Promise<GetActiveUserOptionsQuery>;
|
|
165
|
-
GetClosedUserOptions(variables: GetClosedUserOptionsQueryVariables, requestHeaders?: any, signal?: RequestInit["signal"]): Promise<GetClosedUserOptionsQuery>;
|
|
166
|
-
GetMarketData(variables: GetMarketDataQueryVariables, requestHeaders?: any, signal?: RequestInit["signal"]): Promise<GetMarketDataQuery>;
|
|
167
|
-
} | undefined;
|
|
168
|
-
};
|
|
173
|
+
declare const useTimelockConfig: () => TimelockMarketContextValue;
|
|
169
174
|
//#endregion
|
|
170
175
|
//#region src/hooks/market/useExerciseOption.d.ts
|
|
171
176
|
declare const useExerciseOption: (marketAddr?: Address) => {
|
|
@@ -174,7 +179,7 @@ declare const useExerciseOption: (marketAddr?: Address) => {
|
|
|
174
179
|
isPending: boolean;
|
|
175
180
|
isConfirming: boolean;
|
|
176
181
|
isSuccess: boolean;
|
|
177
|
-
error:
|
|
182
|
+
error: _wagmi_core0.WriteContractErrorType | null;
|
|
178
183
|
isLoading: boolean;
|
|
179
184
|
};
|
|
180
185
|
//#endregion
|
|
@@ -212,7 +217,7 @@ declare const useMintOption: (marketAddr?: Address) => {
|
|
|
212
217
|
isPending: boolean;
|
|
213
218
|
isConfirming: boolean;
|
|
214
219
|
isSuccess: boolean;
|
|
215
|
-
error:
|
|
220
|
+
error: _wagmi_core0.WriteContractErrorType | null;
|
|
216
221
|
isLoading: boolean;
|
|
217
222
|
};
|
|
218
223
|
//#endregion
|
|
@@ -258,7 +263,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
258
263
|
isRefetching: boolean;
|
|
259
264
|
isStale: boolean;
|
|
260
265
|
isEnabled: boolean;
|
|
261
|
-
refetch: (options?:
|
|
266
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
262
267
|
id: bigint;
|
|
263
268
|
marketAddr: Address;
|
|
264
269
|
optionType: "CALL" | "PUT";
|
|
@@ -286,7 +291,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
286
291
|
transactionHash: string;
|
|
287
292
|
} | null;
|
|
288
293
|
}[], Error>>;
|
|
289
|
-
fetchStatus:
|
|
294
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
290
295
|
promise: Promise<{
|
|
291
296
|
id: bigint;
|
|
292
297
|
marketAddr: Address;
|
|
@@ -366,7 +371,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
366
371
|
isRefetching: boolean;
|
|
367
372
|
isStale: boolean;
|
|
368
373
|
isEnabled: boolean;
|
|
369
|
-
refetch: (options?:
|
|
374
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
370
375
|
id: bigint;
|
|
371
376
|
marketAddr: Address;
|
|
372
377
|
optionType: "CALL" | "PUT";
|
|
@@ -394,7 +399,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
394
399
|
transactionHash: string;
|
|
395
400
|
} | null;
|
|
396
401
|
}[], Error>>;
|
|
397
|
-
fetchStatus:
|
|
402
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
398
403
|
promise: Promise<{
|
|
399
404
|
id: bigint;
|
|
400
405
|
marketAddr: Address;
|
|
@@ -474,7 +479,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
474
479
|
isRefetching: boolean;
|
|
475
480
|
isStale: boolean;
|
|
476
481
|
isEnabled: boolean;
|
|
477
|
-
refetch: (options?:
|
|
482
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
478
483
|
id: bigint;
|
|
479
484
|
marketAddr: Address;
|
|
480
485
|
optionType: "CALL" | "PUT";
|
|
@@ -502,7 +507,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
502
507
|
transactionHash: string;
|
|
503
508
|
} | null;
|
|
504
509
|
}[], Error>>;
|
|
505
|
-
fetchStatus:
|
|
510
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
506
511
|
promise: Promise<{
|
|
507
512
|
id: bigint;
|
|
508
513
|
marketAddr: Address;
|
|
@@ -582,7 +587,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
582
587
|
isRefetching: boolean;
|
|
583
588
|
isStale: boolean;
|
|
584
589
|
isEnabled: boolean;
|
|
585
|
-
refetch: (options?:
|
|
590
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
586
591
|
id: bigint;
|
|
587
592
|
marketAddr: Address;
|
|
588
593
|
optionType: "CALL" | "PUT";
|
|
@@ -610,7 +615,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
610
615
|
transactionHash: string;
|
|
611
616
|
} | null;
|
|
612
617
|
}[], Error>>;
|
|
613
|
-
fetchStatus:
|
|
618
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
614
619
|
promise: Promise<{
|
|
615
620
|
id: bigint;
|
|
616
621
|
marketAddr: Address;
|
|
@@ -690,7 +695,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
690
695
|
isRefetching: boolean;
|
|
691
696
|
isStale: boolean;
|
|
692
697
|
isEnabled: boolean;
|
|
693
|
-
refetch: (options?:
|
|
698
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
694
699
|
id: bigint;
|
|
695
700
|
marketAddr: Address;
|
|
696
701
|
optionType: "CALL" | "PUT";
|
|
@@ -718,7 +723,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
718
723
|
transactionHash: string;
|
|
719
724
|
} | null;
|
|
720
725
|
}[], Error>>;
|
|
721
|
-
fetchStatus:
|
|
726
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
722
727
|
promise: Promise<{
|
|
723
728
|
id: bigint;
|
|
724
729
|
marketAddr: Address;
|
|
@@ -798,7 +803,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
798
803
|
isRefetching: boolean;
|
|
799
804
|
isStale: boolean;
|
|
800
805
|
isEnabled: boolean;
|
|
801
|
-
refetch: (options?:
|
|
806
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
802
807
|
id: bigint;
|
|
803
808
|
marketAddr: Address;
|
|
804
809
|
optionType: "CALL" | "PUT";
|
|
@@ -826,7 +831,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
826
831
|
transactionHash: string;
|
|
827
832
|
} | null;
|
|
828
833
|
}[], Error>>;
|
|
829
|
-
fetchStatus:
|
|
834
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
830
835
|
promise: Promise<{
|
|
831
836
|
id: bigint;
|
|
832
837
|
marketAddr: Address;
|
|
@@ -907,7 +912,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
907
912
|
isRefetching: boolean;
|
|
908
913
|
isStale: boolean;
|
|
909
914
|
isEnabled: boolean;
|
|
910
|
-
refetch: (options?:
|
|
915
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
911
916
|
id: bigint;
|
|
912
917
|
marketAddr: Address;
|
|
913
918
|
optionType: "CALL" | "PUT";
|
|
@@ -935,7 +940,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
935
940
|
transactionHash: string;
|
|
936
941
|
} | null;
|
|
937
942
|
}[], Error>>;
|
|
938
|
-
fetchStatus:
|
|
943
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
939
944
|
promise: Promise<{
|
|
940
945
|
id: bigint;
|
|
941
946
|
marketAddr: Address;
|
|
@@ -1015,7 +1020,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1015
1020
|
isRefetching: boolean;
|
|
1016
1021
|
isStale: boolean;
|
|
1017
1022
|
isEnabled: boolean;
|
|
1018
|
-
refetch: (options?:
|
|
1023
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1019
1024
|
id: bigint;
|
|
1020
1025
|
marketAddr: Address;
|
|
1021
1026
|
optionType: "CALL" | "PUT";
|
|
@@ -1043,7 +1048,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1043
1048
|
transactionHash: string;
|
|
1044
1049
|
} | null;
|
|
1045
1050
|
}[], Error>>;
|
|
1046
|
-
fetchStatus:
|
|
1051
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1047
1052
|
promise: Promise<{
|
|
1048
1053
|
id: bigint;
|
|
1049
1054
|
marketAddr: Address;
|
|
@@ -1123,7 +1128,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1123
1128
|
isRefetching: boolean;
|
|
1124
1129
|
isStale: boolean;
|
|
1125
1130
|
isEnabled: boolean;
|
|
1126
|
-
refetch: (options?:
|
|
1131
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1127
1132
|
id: bigint;
|
|
1128
1133
|
marketAddr: Address;
|
|
1129
1134
|
optionType: "CALL" | "PUT";
|
|
@@ -1151,7 +1156,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1151
1156
|
transactionHash: string;
|
|
1152
1157
|
} | null;
|
|
1153
1158
|
}[], Error>>;
|
|
1154
|
-
fetchStatus:
|
|
1159
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1155
1160
|
promise: Promise<{
|
|
1156
1161
|
id: bigint;
|
|
1157
1162
|
marketAddr: Address;
|
|
@@ -1231,7 +1236,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1231
1236
|
isRefetching: boolean;
|
|
1232
1237
|
isStale: boolean;
|
|
1233
1238
|
isEnabled: boolean;
|
|
1234
|
-
refetch: (options?:
|
|
1239
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1235
1240
|
id: bigint;
|
|
1236
1241
|
marketAddr: Address;
|
|
1237
1242
|
optionType: "CALL" | "PUT";
|
|
@@ -1259,7 +1264,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1259
1264
|
transactionHash: string;
|
|
1260
1265
|
} | null;
|
|
1261
1266
|
}[], Error>>;
|
|
1262
|
-
fetchStatus:
|
|
1267
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1263
1268
|
promise: Promise<{
|
|
1264
1269
|
id: bigint;
|
|
1265
1270
|
marketAddr: Address;
|
|
@@ -1339,7 +1344,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1339
1344
|
isRefetching: boolean;
|
|
1340
1345
|
isStale: boolean;
|
|
1341
1346
|
isEnabled: boolean;
|
|
1342
|
-
refetch: (options?:
|
|
1347
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1343
1348
|
id: bigint;
|
|
1344
1349
|
marketAddr: Address;
|
|
1345
1350
|
optionType: "CALL" | "PUT";
|
|
@@ -1367,7 +1372,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1367
1372
|
transactionHash: string;
|
|
1368
1373
|
} | null;
|
|
1369
1374
|
}[], Error>>;
|
|
1370
|
-
fetchStatus:
|
|
1375
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1371
1376
|
promise: Promise<{
|
|
1372
1377
|
id: bigint;
|
|
1373
1378
|
marketAddr: Address;
|
|
@@ -1447,7 +1452,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1447
1452
|
isRefetching: boolean;
|
|
1448
1453
|
isStale: boolean;
|
|
1449
1454
|
isEnabled: boolean;
|
|
1450
|
-
refetch: (options?:
|
|
1455
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1451
1456
|
id: bigint;
|
|
1452
1457
|
marketAddr: Address;
|
|
1453
1458
|
optionType: "CALL" | "PUT";
|
|
@@ -1475,7 +1480,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1475
1480
|
transactionHash: string;
|
|
1476
1481
|
} | null;
|
|
1477
1482
|
}[], Error>>;
|
|
1478
|
-
fetchStatus:
|
|
1483
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1479
1484
|
promise: Promise<{
|
|
1480
1485
|
id: bigint;
|
|
1481
1486
|
marketAddr: Address;
|
|
@@ -1556,7 +1561,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1556
1561
|
isRefetching: boolean;
|
|
1557
1562
|
isStale: boolean;
|
|
1558
1563
|
isEnabled: boolean;
|
|
1559
|
-
refetch: (options?:
|
|
1564
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1560
1565
|
id: bigint;
|
|
1561
1566
|
marketAddr: Address;
|
|
1562
1567
|
optionType: "CALL" | "PUT";
|
|
@@ -1584,7 +1589,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1584
1589
|
transactionHash: string;
|
|
1585
1590
|
} | null;
|
|
1586
1591
|
}[], Error>>;
|
|
1587
|
-
fetchStatus:
|
|
1592
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1588
1593
|
promise: Promise<{
|
|
1589
1594
|
id: bigint;
|
|
1590
1595
|
marketAddr: Address;
|
|
@@ -1664,7 +1669,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1664
1669
|
isRefetching: boolean;
|
|
1665
1670
|
isStale: boolean;
|
|
1666
1671
|
isEnabled: boolean;
|
|
1667
|
-
refetch: (options?:
|
|
1672
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1668
1673
|
id: bigint;
|
|
1669
1674
|
marketAddr: Address;
|
|
1670
1675
|
optionType: "CALL" | "PUT";
|
|
@@ -1692,7 +1697,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1692
1697
|
transactionHash: string;
|
|
1693
1698
|
} | null;
|
|
1694
1699
|
}[], Error>>;
|
|
1695
|
-
fetchStatus:
|
|
1700
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1696
1701
|
promise: Promise<{
|
|
1697
1702
|
id: bigint;
|
|
1698
1703
|
marketAddr: Address;
|
|
@@ -1772,7 +1777,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1772
1777
|
isRefetching: boolean;
|
|
1773
1778
|
isStale: boolean;
|
|
1774
1779
|
isEnabled: boolean;
|
|
1775
|
-
refetch: (options?:
|
|
1780
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1776
1781
|
id: bigint;
|
|
1777
1782
|
marketAddr: Address;
|
|
1778
1783
|
optionType: "CALL" | "PUT";
|
|
@@ -1800,7 +1805,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1800
1805
|
transactionHash: string;
|
|
1801
1806
|
} | null;
|
|
1802
1807
|
}[], Error>>;
|
|
1803
|
-
fetchStatus:
|
|
1808
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1804
1809
|
promise: Promise<{
|
|
1805
1810
|
id: bigint;
|
|
1806
1811
|
marketAddr: Address;
|
|
@@ -1880,7 +1885,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1880
1885
|
isRefetching: boolean;
|
|
1881
1886
|
isStale: boolean;
|
|
1882
1887
|
isEnabled: boolean;
|
|
1883
|
-
refetch: (options?:
|
|
1888
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1884
1889
|
id: bigint;
|
|
1885
1890
|
marketAddr: Address;
|
|
1886
1891
|
optionType: "CALL" | "PUT";
|
|
@@ -1908,7 +1913,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1908
1913
|
transactionHash: string;
|
|
1909
1914
|
} | null;
|
|
1910
1915
|
}[], Error>>;
|
|
1911
|
-
fetchStatus:
|
|
1916
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1912
1917
|
promise: Promise<{
|
|
1913
1918
|
id: bigint;
|
|
1914
1919
|
marketAddr: Address;
|
|
@@ -1988,7 +1993,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1988
1993
|
isRefetching: boolean;
|
|
1989
1994
|
isStale: boolean;
|
|
1990
1995
|
isEnabled: boolean;
|
|
1991
|
-
refetch: (options?:
|
|
1996
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1992
1997
|
id: bigint;
|
|
1993
1998
|
marketAddr: Address;
|
|
1994
1999
|
optionType: "CALL" | "PUT";
|
|
@@ -2016,7 +2021,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2016
2021
|
transactionHash: string;
|
|
2017
2022
|
} | null;
|
|
2018
2023
|
}[], Error>>;
|
|
2019
|
-
fetchStatus:
|
|
2024
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2020
2025
|
promise: Promise<{
|
|
2021
2026
|
id: bigint;
|
|
2022
2027
|
marketAddr: Address;
|
|
@@ -2096,7 +2101,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2096
2101
|
isRefetching: boolean;
|
|
2097
2102
|
isStale: boolean;
|
|
2098
2103
|
isEnabled: boolean;
|
|
2099
|
-
refetch: (options?:
|
|
2104
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
2100
2105
|
id: bigint;
|
|
2101
2106
|
marketAddr: Address;
|
|
2102
2107
|
optionType: "CALL" | "PUT";
|
|
@@ -2124,7 +2129,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2124
2129
|
transactionHash: string;
|
|
2125
2130
|
} | null;
|
|
2126
2131
|
}[], Error>>;
|
|
2127
|
-
fetchStatus:
|
|
2132
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2128
2133
|
promise: Promise<{
|
|
2129
2134
|
id: bigint;
|
|
2130
2135
|
marketAddr: Address;
|
|
@@ -2230,14 +2235,14 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
2230
2235
|
isPending: boolean;
|
|
2231
2236
|
isConfirming: boolean;
|
|
2232
2237
|
isSuccess: boolean;
|
|
2233
|
-
error:
|
|
2238
|
+
error: _wagmi_core0.WriteContractErrorType | null;
|
|
2234
2239
|
isLoading: boolean;
|
|
2235
2240
|
};
|
|
2236
2241
|
//#endregion
|
|
2237
2242
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
2238
2243
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
2239
2244
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
2240
|
-
error:
|
|
2245
|
+
error: viem249.ReadContractErrorType;
|
|
2241
2246
|
isError: true;
|
|
2242
2247
|
isPending: false;
|
|
2243
2248
|
isLoading: false;
|
|
@@ -2249,7 +2254,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2249
2254
|
dataUpdatedAt: number;
|
|
2250
2255
|
errorUpdatedAt: number;
|
|
2251
2256
|
failureCount: number;
|
|
2252
|
-
failureReason:
|
|
2257
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2253
2258
|
errorUpdateCount: number;
|
|
2254
2259
|
isFetched: boolean;
|
|
2255
2260
|
isFetchedAfterMount: boolean;
|
|
@@ -2259,7 +2264,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2259
2264
|
isRefetching: boolean;
|
|
2260
2265
|
isStale: boolean;
|
|
2261
2266
|
isEnabled: boolean;
|
|
2262
|
-
refetch: (options?:
|
|
2267
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
2263
2268
|
tickLower: number;
|
|
2264
2269
|
tickUpper: number;
|
|
2265
2270
|
prevTickLower: number;
|
|
@@ -2269,8 +2274,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2269
2274
|
totalAmount1: bigint;
|
|
2270
2275
|
borrowedAmount0: bigint;
|
|
2271
2276
|
borrowedAmount1: bigint;
|
|
2272
|
-
}[],
|
|
2273
|
-
fetchStatus:
|
|
2277
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2278
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2274
2279
|
promise: Promise<readonly {
|
|
2275
2280
|
tickLower: number;
|
|
2276
2281
|
tickUpper: number;
|
|
@@ -2282,7 +2287,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2282
2287
|
borrowedAmount0: bigint;
|
|
2283
2288
|
borrowedAmount1: bigint;
|
|
2284
2289
|
}[]>;
|
|
2285
|
-
queryKey:
|
|
2290
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
2286
2291
|
data: readonly {
|
|
2287
2292
|
tickLower: number;
|
|
2288
2293
|
tickUpper: number;
|
|
@@ -2307,7 +2312,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2307
2312
|
dataUpdatedAt: number;
|
|
2308
2313
|
errorUpdatedAt: number;
|
|
2309
2314
|
failureCount: number;
|
|
2310
|
-
failureReason:
|
|
2315
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2311
2316
|
errorUpdateCount: number;
|
|
2312
2317
|
isFetched: boolean;
|
|
2313
2318
|
isFetchedAfterMount: boolean;
|
|
@@ -2317,7 +2322,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2317
2322
|
isRefetching: boolean;
|
|
2318
2323
|
isStale: boolean;
|
|
2319
2324
|
isEnabled: boolean;
|
|
2320
|
-
refetch: (options?:
|
|
2325
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
2321
2326
|
tickLower: number;
|
|
2322
2327
|
tickUpper: number;
|
|
2323
2328
|
prevTickLower: number;
|
|
@@ -2327,8 +2332,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2327
2332
|
totalAmount1: bigint;
|
|
2328
2333
|
borrowedAmount0: bigint;
|
|
2329
2334
|
borrowedAmount1: bigint;
|
|
2330
|
-
}[],
|
|
2331
|
-
fetchStatus:
|
|
2335
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2336
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2332
2337
|
promise: Promise<readonly {
|
|
2333
2338
|
tickLower: number;
|
|
2334
2339
|
tickUpper: number;
|
|
@@ -2340,7 +2345,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2340
2345
|
borrowedAmount0: bigint;
|
|
2341
2346
|
borrowedAmount1: bigint;
|
|
2342
2347
|
}[]>;
|
|
2343
|
-
queryKey:
|
|
2348
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
2344
2349
|
data: readonly {
|
|
2345
2350
|
tickLower: number;
|
|
2346
2351
|
tickUpper: number;
|
|
@@ -2353,7 +2358,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2353
2358
|
borrowedAmount1: bigint;
|
|
2354
2359
|
}[];
|
|
2355
2360
|
} | {
|
|
2356
|
-
error:
|
|
2361
|
+
error: viem249.ReadContractErrorType;
|
|
2357
2362
|
isError: true;
|
|
2358
2363
|
isPending: false;
|
|
2359
2364
|
isLoading: false;
|
|
@@ -2365,7 +2370,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2365
2370
|
dataUpdatedAt: number;
|
|
2366
2371
|
errorUpdatedAt: number;
|
|
2367
2372
|
failureCount: number;
|
|
2368
|
-
failureReason:
|
|
2373
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2369
2374
|
errorUpdateCount: number;
|
|
2370
2375
|
isFetched: boolean;
|
|
2371
2376
|
isFetchedAfterMount: boolean;
|
|
@@ -2375,7 +2380,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2375
2380
|
isRefetching: boolean;
|
|
2376
2381
|
isStale: boolean;
|
|
2377
2382
|
isEnabled: boolean;
|
|
2378
|
-
refetch: (options?:
|
|
2383
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
2379
2384
|
tickLower: number;
|
|
2380
2385
|
tickUpper: number;
|
|
2381
2386
|
prevTickLower: number;
|
|
@@ -2385,8 +2390,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2385
2390
|
totalAmount1: bigint;
|
|
2386
2391
|
borrowedAmount0: bigint;
|
|
2387
2392
|
borrowedAmount1: bigint;
|
|
2388
|
-
}[],
|
|
2389
|
-
fetchStatus:
|
|
2393
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2394
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2390
2395
|
promise: Promise<readonly {
|
|
2391
2396
|
tickLower: number;
|
|
2392
2397
|
tickUpper: number;
|
|
@@ -2398,7 +2403,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2398
2403
|
borrowedAmount0: bigint;
|
|
2399
2404
|
borrowedAmount1: bigint;
|
|
2400
2405
|
}[]>;
|
|
2401
|
-
queryKey:
|
|
2406
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
2402
2407
|
data: readonly {
|
|
2403
2408
|
tickLower: number;
|
|
2404
2409
|
tickUpper: number;
|
|
@@ -2423,7 +2428,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2423
2428
|
dataUpdatedAt: number;
|
|
2424
2429
|
errorUpdatedAt: number;
|
|
2425
2430
|
failureCount: number;
|
|
2426
|
-
failureReason:
|
|
2431
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2427
2432
|
errorUpdateCount: number;
|
|
2428
2433
|
isFetched: boolean;
|
|
2429
2434
|
isFetchedAfterMount: boolean;
|
|
@@ -2433,7 +2438,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2433
2438
|
isRefetching: boolean;
|
|
2434
2439
|
isStale: boolean;
|
|
2435
2440
|
isEnabled: boolean;
|
|
2436
|
-
refetch: (options?:
|
|
2441
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
2437
2442
|
tickLower: number;
|
|
2438
2443
|
tickUpper: number;
|
|
2439
2444
|
prevTickLower: number;
|
|
@@ -2443,8 +2448,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2443
2448
|
totalAmount1: bigint;
|
|
2444
2449
|
borrowedAmount0: bigint;
|
|
2445
2450
|
borrowedAmount1: bigint;
|
|
2446
|
-
}[],
|
|
2447
|
-
fetchStatus:
|
|
2451
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2452
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2448
2453
|
promise: Promise<readonly {
|
|
2449
2454
|
tickLower: number;
|
|
2450
2455
|
tickUpper: number;
|
|
@@ -2456,7 +2461,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2456
2461
|
borrowedAmount0: bigint;
|
|
2457
2462
|
borrowedAmount1: bigint;
|
|
2458
2463
|
}[]>;
|
|
2459
|
-
queryKey:
|
|
2464
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
2460
2465
|
data: readonly {
|
|
2461
2466
|
tickLower: number;
|
|
2462
2467
|
tickUpper: number;
|
|
@@ -2480,7 +2485,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2480
2485
|
dataUpdatedAt: number;
|
|
2481
2486
|
errorUpdatedAt: number;
|
|
2482
2487
|
failureCount: number;
|
|
2483
|
-
failureReason:
|
|
2488
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2484
2489
|
errorUpdateCount: number;
|
|
2485
2490
|
isFetched: boolean;
|
|
2486
2491
|
isFetchedAfterMount: boolean;
|
|
@@ -2491,7 +2496,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2491
2496
|
isRefetching: boolean;
|
|
2492
2497
|
isStale: boolean;
|
|
2493
2498
|
isEnabled: boolean;
|
|
2494
|
-
refetch: (options?:
|
|
2499
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
2495
2500
|
tickLower: number;
|
|
2496
2501
|
tickUpper: number;
|
|
2497
2502
|
prevTickLower: number;
|
|
@@ -2501,8 +2506,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2501
2506
|
totalAmount1: bigint;
|
|
2502
2507
|
borrowedAmount0: bigint;
|
|
2503
2508
|
borrowedAmount1: bigint;
|
|
2504
|
-
}[],
|
|
2505
|
-
fetchStatus:
|
|
2509
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2510
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2506
2511
|
promise: Promise<readonly {
|
|
2507
2512
|
tickLower: number;
|
|
2508
2513
|
tickUpper: number;
|
|
@@ -2514,7 +2519,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2514
2519
|
borrowedAmount0: bigint;
|
|
2515
2520
|
borrowedAmount1: bigint;
|
|
2516
2521
|
}[]>;
|
|
2517
|
-
queryKey:
|
|
2522
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
2518
2523
|
data: readonly {
|
|
2519
2524
|
tickLower: number;
|
|
2520
2525
|
tickUpper: number;
|
|
@@ -2539,7 +2544,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2539
2544
|
dataUpdatedAt: number;
|
|
2540
2545
|
errorUpdatedAt: number;
|
|
2541
2546
|
failureCount: number;
|
|
2542
|
-
failureReason:
|
|
2547
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2543
2548
|
errorUpdateCount: number;
|
|
2544
2549
|
isFetched: boolean;
|
|
2545
2550
|
isFetchedAfterMount: boolean;
|
|
@@ -2549,7 +2554,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2549
2554
|
isRefetching: boolean;
|
|
2550
2555
|
isStale: boolean;
|
|
2551
2556
|
isEnabled: boolean;
|
|
2552
|
-
refetch: (options?:
|
|
2557
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
2553
2558
|
tickLower: number;
|
|
2554
2559
|
tickUpper: number;
|
|
2555
2560
|
prevTickLower: number;
|
|
@@ -2559,8 +2564,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2559
2564
|
totalAmount1: bigint;
|
|
2560
2565
|
borrowedAmount0: bigint;
|
|
2561
2566
|
borrowedAmount1: bigint;
|
|
2562
|
-
}[],
|
|
2563
|
-
fetchStatus:
|
|
2567
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2568
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2564
2569
|
promise: Promise<readonly {
|
|
2565
2570
|
tickLower: number;
|
|
2566
2571
|
tickUpper: number;
|
|
@@ -2572,7 +2577,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2572
2577
|
borrowedAmount0: bigint;
|
|
2573
2578
|
borrowedAmount1: bigint;
|
|
2574
2579
|
}[]>;
|
|
2575
|
-
queryKey:
|
|
2580
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
2576
2581
|
data: readonly {
|
|
2577
2582
|
tickLower: number;
|
|
2578
2583
|
tickUpper: number;
|
|
@@ -2605,7 +2610,7 @@ declare const useMintLiquidity: (vaultAddr?: Address) => {
|
|
|
2605
2610
|
isPending: boolean;
|
|
2606
2611
|
isConfirming: boolean;
|
|
2607
2612
|
isSuccess: boolean;
|
|
2608
|
-
error:
|
|
2613
|
+
error: _wagmi_core0.WriteContractErrorType | null;
|
|
2609
2614
|
isLoading: boolean;
|
|
2610
2615
|
};
|
|
2611
2616
|
//#endregion
|
|
@@ -2632,14 +2637,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
2632
2637
|
borrowedAmount0: Amount;
|
|
2633
2638
|
borrowedAmount1: Amount;
|
|
2634
2639
|
blocksCount: bigint;
|
|
2635
|
-
refetch: (options?:
|
|
2640
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem249.ReadContractErrorType>>;
|
|
2636
2641
|
};
|
|
2637
2642
|
//#endregion
|
|
2638
2643
|
//#region src/hooks/useLens.d.ts
|
|
2639
2644
|
declare const useLens: () => {
|
|
2640
2645
|
timelockLens: {
|
|
2641
2646
|
read: {
|
|
2642
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
2647
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
2643
2648
|
readonly type: "function";
|
|
2644
2649
|
readonly name: "batchGetRefTick";
|
|
2645
2650
|
readonly inputs: readonly [{
|
|
@@ -3345,7 +3350,7 @@ declare const useLens: () => {
|
|
|
3345
3350
|
}];
|
|
3346
3351
|
readonly stateMutability: "view";
|
|
3347
3352
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
3348
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
3353
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
3349
3354
|
readonly type: "function";
|
|
3350
3355
|
readonly name: "batchGetRefTick";
|
|
3351
3356
|
readonly inputs: readonly [{
|
|
@@ -4061,7 +4066,7 @@ declare const useLens: () => {
|
|
|
4061
4066
|
borrowedAmount0: bigint;
|
|
4062
4067
|
borrowedAmount1: bigint;
|
|
4063
4068
|
}[]>;
|
|
4064
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
4069
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
4065
4070
|
readonly type: "function";
|
|
4066
4071
|
readonly name: "batchGetRefTick";
|
|
4067
4072
|
readonly inputs: readonly [{
|
|
@@ -4786,7 +4791,7 @@ declare const useLens: () => {
|
|
|
4786
4791
|
createdAt: bigint;
|
|
4787
4792
|
liquidities: readonly bigint[];
|
|
4788
4793
|
}[], bigint, boolean]>;
|
|
4789
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
4794
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
4790
4795
|
readonly type: "function";
|
|
4791
4796
|
readonly name: "batchGetRefTick";
|
|
4792
4797
|
readonly inputs: readonly [{
|
|
@@ -5492,7 +5497,7 @@ declare const useLens: () => {
|
|
|
5492
5497
|
}];
|
|
5493
5498
|
readonly stateMutability: "view";
|
|
5494
5499
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
5495
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
5500
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
5496
5501
|
readonly type: "function";
|
|
5497
5502
|
readonly name: "batchGetRefTick";
|
|
5498
5503
|
readonly inputs: readonly [{
|
|
@@ -6211,7 +6216,7 @@ declare const useLens: () => {
|
|
|
6211
6216
|
payoutAssetName: string;
|
|
6212
6217
|
optionsCount: bigint;
|
|
6213
6218
|
}>;
|
|
6214
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
6219
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
6215
6220
|
readonly type: "function";
|
|
6216
6221
|
readonly name: "batchGetRefTick";
|
|
6217
6222
|
readonly inputs: readonly [{
|
|
@@ -6917,7 +6922,7 @@ declare const useLens: () => {
|
|
|
6917
6922
|
}];
|
|
6918
6923
|
readonly stateMutability: "view";
|
|
6919
6924
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
6920
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
6925
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
6921
6926
|
readonly type: "function";
|
|
6922
6927
|
readonly name: "batchGetRefTick";
|
|
6923
6928
|
readonly inputs: readonly [{
|
|
@@ -7623,7 +7628,7 @@ declare const useLens: () => {
|
|
|
7623
7628
|
}];
|
|
7624
7629
|
readonly stateMutability: "view";
|
|
7625
7630
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
7626
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
7631
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
7627
7632
|
readonly type: "function";
|
|
7628
7633
|
readonly name: "batchGetRefTick";
|
|
7629
7634
|
readonly inputs: readonly [{
|
|
@@ -8348,7 +8353,7 @@ declare const useLens: () => {
|
|
|
8348
8353
|
createdAt: bigint;
|
|
8349
8354
|
liquidities: readonly bigint[];
|
|
8350
8355
|
}>;
|
|
8351
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
8356
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
8352
8357
|
readonly type: "function";
|
|
8353
8358
|
readonly name: "batchGetRefTick";
|
|
8354
8359
|
readonly inputs: readonly [{
|
|
@@ -9073,7 +9078,7 @@ declare const useLens: () => {
|
|
|
9073
9078
|
createdAt: bigint;
|
|
9074
9079
|
liquidities: readonly bigint[];
|
|
9075
9080
|
}[]>;
|
|
9076
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
9081
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
9077
9082
|
readonly type: "function";
|
|
9078
9083
|
readonly name: "batchGetRefTick";
|
|
9079
9084
|
readonly inputs: readonly [{
|
|
@@ -9790,7 +9795,7 @@ declare const useLens: () => {
|
|
|
9790
9795
|
tickSpacing: number;
|
|
9791
9796
|
fee: number;
|
|
9792
9797
|
}>;
|
|
9793
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
9798
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
9794
9799
|
readonly type: "function";
|
|
9795
9800
|
readonly name: "batchGetRefTick";
|
|
9796
9801
|
readonly inputs: readonly [{
|
|
@@ -10496,7 +10501,7 @@ declare const useLens: () => {
|
|
|
10496
10501
|
}];
|
|
10497
10502
|
readonly stateMutability: "view";
|
|
10498
10503
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
10499
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
10504
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
10500
10505
|
readonly type: "function";
|
|
10501
10506
|
readonly name: "batchGetRefTick";
|
|
10502
10507
|
readonly inputs: readonly [{
|
|
@@ -11221,7 +11226,7 @@ declare const useLens: () => {
|
|
|
11221
11226
|
createdAt: bigint;
|
|
11222
11227
|
liquidities: readonly bigint[];
|
|
11223
11228
|
}[], bigint, boolean]>;
|
|
11224
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
11229
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
11225
11230
|
readonly type: "function";
|
|
11226
11231
|
readonly name: "batchGetRefTick";
|
|
11227
11232
|
readonly inputs: readonly [{
|
|
@@ -12638,7 +12643,7 @@ declare const useLens: () => {
|
|
|
12638
12643
|
} | undefined;
|
|
12639
12644
|
uniswapLens: {
|
|
12640
12645
|
read: {
|
|
12641
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
12646
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
12642
12647
|
readonly type: "function";
|
|
12643
12648
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12644
12649
|
readonly inputs: readonly [{
|
|
@@ -13259,7 +13264,7 @@ declare const useLens: () => {
|
|
|
13259
13264
|
}];
|
|
13260
13265
|
readonly stateMutability: "pure";
|
|
13261
13266
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13262
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
13267
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
13263
13268
|
readonly type: "function";
|
|
13264
13269
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13265
13270
|
readonly inputs: readonly [{
|
|
@@ -13880,7 +13885,7 @@ declare const useLens: () => {
|
|
|
13880
13885
|
}];
|
|
13881
13886
|
readonly stateMutability: "pure";
|
|
13882
13887
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13883
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
13888
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
13884
13889
|
readonly type: "function";
|
|
13885
13890
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13886
13891
|
readonly inputs: readonly [{
|
|
@@ -14501,7 +14506,7 @@ declare const useLens: () => {
|
|
|
14501
14506
|
}];
|
|
14502
14507
|
readonly stateMutability: "pure";
|
|
14503
14508
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14504
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
14509
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
14505
14510
|
readonly type: "function";
|
|
14506
14511
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14507
14512
|
readonly inputs: readonly [{
|
|
@@ -15122,7 +15127,7 @@ declare const useLens: () => {
|
|
|
15122
15127
|
}];
|
|
15123
15128
|
readonly stateMutability: "pure";
|
|
15124
15129
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
15125
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
15130
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
15126
15131
|
readonly type: "function";
|
|
15127
15132
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15128
15133
|
readonly inputs: readonly [{
|
|
@@ -15743,7 +15748,7 @@ declare const useLens: () => {
|
|
|
15743
15748
|
}];
|
|
15744
15749
|
readonly stateMutability: "pure";
|
|
15745
15750
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
15746
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
15751
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
15747
15752
|
readonly type: "function";
|
|
15748
15753
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15749
15754
|
readonly inputs: readonly [{
|
|
@@ -16364,7 +16369,7 @@ declare const useLens: () => {
|
|
|
16364
16369
|
}];
|
|
16365
16370
|
readonly stateMutability: "pure";
|
|
16366
16371
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
16367
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
16372
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
16368
16373
|
readonly type: "function";
|
|
16369
16374
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16370
16375
|
readonly inputs: readonly [{
|
|
@@ -16985,7 +16990,7 @@ declare const useLens: () => {
|
|
|
16985
16990
|
}];
|
|
16986
16991
|
readonly stateMutability: "pure";
|
|
16987
16992
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
16988
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
16993
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
16989
16994
|
readonly type: "function";
|
|
16990
16995
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16991
16996
|
readonly inputs: readonly [{
|
|
@@ -17606,7 +17611,7 @@ declare const useLens: () => {
|
|
|
17606
17611
|
}];
|
|
17607
17612
|
readonly stateMutability: "pure";
|
|
17608
17613
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
17609
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
17614
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
17610
17615
|
readonly type: "function";
|
|
17611
17616
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17612
17617
|
readonly inputs: readonly [{
|
|
@@ -18227,7 +18232,7 @@ declare const useLens: () => {
|
|
|
18227
18232
|
}];
|
|
18228
18233
|
readonly stateMutability: "pure";
|
|
18229
18234
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18230
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
18235
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
18231
18236
|
readonly type: "function";
|
|
18232
18237
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18233
18238
|
readonly inputs: readonly [{
|
|
@@ -18848,7 +18853,7 @@ declare const useLens: () => {
|
|
|
18848
18853
|
}];
|
|
18849
18854
|
readonly stateMutability: "pure";
|
|
18850
18855
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18851
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
18856
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
18852
18857
|
readonly type: "function";
|
|
18853
18858
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18854
18859
|
readonly inputs: readonly [{
|
|
@@ -19469,7 +19474,7 @@ declare const useLens: () => {
|
|
|
19469
19474
|
}];
|
|
19470
19475
|
readonly stateMutability: "pure";
|
|
19471
19476
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
19472
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
19477
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
19473
19478
|
readonly type: "function";
|
|
19474
19479
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19475
19480
|
readonly inputs: readonly [{
|
|
@@ -20090,7 +20095,7 @@ declare const useLens: () => {
|
|
|
20090
20095
|
}];
|
|
20091
20096
|
readonly stateMutability: "pure";
|
|
20092
20097
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20093
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
20098
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
20094
20099
|
readonly type: "function";
|
|
20095
20100
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20096
20101
|
readonly inputs: readonly [{
|
|
@@ -20711,7 +20716,7 @@ declare const useLens: () => {
|
|
|
20711
20716
|
}];
|
|
20712
20717
|
readonly stateMutability: "pure";
|
|
20713
20718
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20714
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
20719
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
20715
20720
|
readonly type: "function";
|
|
20716
20721
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20717
20722
|
readonly inputs: readonly [{
|
|
@@ -21332,7 +21337,7 @@ declare const useLens: () => {
|
|
|
21332
21337
|
}];
|
|
21333
21338
|
readonly stateMutability: "pure";
|
|
21334
21339
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21335
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
21340
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
21336
21341
|
readonly type: "function";
|
|
21337
21342
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21338
21343
|
readonly inputs: readonly [{
|
|
@@ -21953,7 +21958,7 @@ declare const useLens: () => {
|
|
|
21953
21958
|
}];
|
|
21954
21959
|
readonly stateMutability: "pure";
|
|
21955
21960
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21956
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
21961
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
21957
21962
|
readonly type: "function";
|
|
21958
21963
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21959
21964
|
readonly inputs: readonly [{
|
|
@@ -22574,7 +22579,7 @@ declare const useLens: () => {
|
|
|
22574
22579
|
}];
|
|
22575
22580
|
readonly stateMutability: "pure";
|
|
22576
22581
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
22577
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
22582
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
22578
22583
|
readonly type: "function";
|
|
22579
22584
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
22580
22585
|
readonly inputs: readonly [{
|
|
@@ -23195,7 +23200,7 @@ declare const useLens: () => {
|
|
|
23195
23200
|
}];
|
|
23196
23201
|
readonly stateMutability: "pure";
|
|
23197
23202
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
23198
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
23203
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
23199
23204
|
readonly type: "function";
|
|
23200
23205
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23201
23206
|
readonly inputs: readonly [{
|
|
@@ -23816,7 +23821,7 @@ declare const useLens: () => {
|
|
|
23816
23821
|
}];
|
|
23817
23822
|
readonly stateMutability: "pure";
|
|
23818
23823
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
23819
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
23824
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
23820
23825
|
readonly type: "function";
|
|
23821
23826
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23822
23827
|
readonly inputs: readonly [{
|
|
@@ -24437,7 +24442,7 @@ declare const useLens: () => {
|
|
|
24437
24442
|
}];
|
|
24438
24443
|
readonly stateMutability: "pure";
|
|
24439
24444
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
24440
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
24445
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
24441
24446
|
readonly type: "function";
|
|
24442
24447
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
24443
24448
|
readonly inputs: readonly [{
|
|
@@ -25058,7 +25063,7 @@ declare const useLens: () => {
|
|
|
25058
25063
|
}];
|
|
25059
25064
|
readonly stateMutability: "pure";
|
|
25060
25065
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25061
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
25066
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
25062
25067
|
readonly type: "function";
|
|
25063
25068
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25064
25069
|
readonly inputs: readonly [{
|
|
@@ -25679,7 +25684,7 @@ declare const useLens: () => {
|
|
|
25679
25684
|
}];
|
|
25680
25685
|
readonly stateMutability: "pure";
|
|
25681
25686
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25682
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
25687
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
25683
25688
|
readonly type: "function";
|
|
25684
25689
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25685
25690
|
readonly inputs: readonly [{
|
|
@@ -26300,7 +26305,7 @@ declare const useLens: () => {
|
|
|
26300
26305
|
}];
|
|
26301
26306
|
readonly stateMutability: "pure";
|
|
26302
26307
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26303
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
26308
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
26304
26309
|
readonly type: "function";
|
|
26305
26310
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26306
26311
|
readonly inputs: readonly [{
|
|
@@ -26921,7 +26926,7 @@ declare const useLens: () => {
|
|
|
26921
26926
|
}];
|
|
26922
26927
|
readonly stateMutability: "pure";
|
|
26923
26928
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26924
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
26929
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
26925
26930
|
readonly type: "function";
|
|
26926
26931
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26927
26932
|
readonly inputs: readonly [{
|
|
@@ -27542,7 +27547,7 @@ declare const useLens: () => {
|
|
|
27542
27547
|
}];
|
|
27543
27548
|
readonly stateMutability: "pure";
|
|
27544
27549
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27545
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
27550
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
27546
27551
|
readonly type: "function";
|
|
27547
27552
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
27548
27553
|
readonly inputs: readonly [{
|
|
@@ -28163,7 +28168,7 @@ declare const useLens: () => {
|
|
|
28163
28168
|
}];
|
|
28164
28169
|
readonly stateMutability: "pure";
|
|
28165
28170
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
28166
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
28171
|
+
getPriceAtTick: (args: readonly [number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
28167
28172
|
readonly type: "function";
|
|
28168
28173
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
28169
28174
|
readonly inputs: readonly [{
|