timelock-sdk 0.0.64 → 0.0.66
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/abis.cjs +1 -1
- package/dist/abis.d.cts +1 -1
- package/dist/abis.d.ts +1 -1
- package/dist/abis.js +1 -1
- package/dist/client.cjs +52 -8
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +84 -72
- package/dist/client.d.ts +201 -189
- package/dist/client.js +52 -9
- package/dist/client.js.map +1 -1
- package/dist/{index-BIkdgG3y.d.ts → index-DmUTOkWh.d.cts} +62 -62
- package/dist/{index-CDYUCwzA.d.cts → index-WjU9H0Tc.d.ts} +153 -153
- package/dist/{numberUtils-Dd7vdmeQ.js → numberUtils-BVUp0GfC.js} +3 -3
- package/dist/{numberUtils-Dd7vdmeQ.js.map → numberUtils-BVUp0GfC.js.map} +1 -1
- package/dist/{numberUtils-CmVB4kX7.cjs → numberUtils-BxQ4RnW9.cjs} +3 -3
- package/dist/{numberUtils-CmVB4kX7.cjs.map → numberUtils-BxQ4RnW9.cjs.map} +1 -1
- package/dist/{optionsMarket-D192aXEZ.cjs → optionsMarket-BpL6x4be.cjs} +5 -5
- package/dist/optionsMarket-BpL6x4be.cjs.map +1 -0
- package/dist/{optionsMarket-DD4CWMqv.js → optionsMarket-GbBWALCn.js} +5 -5
- package/dist/optionsMarket-GbBWALCn.js.map +1 -0
- package/dist/package.cjs +2 -2
- package/dist/package.d.cts +2 -2
- package/dist/package.d.ts +2 -2
- package/dist/package.js +2 -2
- package/dist/{uniswapMathLens-Ddy91uWa.d.ts → uniswapMathLens-BF5k8KFu.d.cts} +5 -5
- package/dist/{uniswapMathLens-D3iSMTdz.d.cts → uniswapMathLens-i1P7D19j.d.ts} +5 -5
- package/package.json +1 -1
- package/dist/optionsMarket-D192aXEZ.cjs.map +0 -1
- package/dist/optionsMarket-DD4CWMqv.js.map +0 -1
package/dist/client.d.ts
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import "./uniswapMathLens-
|
|
2
|
-
import { D as TimelockMarketData, O as UniswapMathLens, d as Amount } from "./index-
|
|
3
|
-
import * as
|
|
1
|
+
import "./uniswapMathLens-i1P7D19j.js";
|
|
2
|
+
import { D as TimelockMarketData, O as UniswapMathLens, d as Amount } from "./index-WjU9H0Tc.js";
|
|
3
|
+
import * as viem14 from "viem";
|
|
4
4
|
import { Address } from "viem";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
6
|
-
import * as
|
|
6
|
+
import * as wagmi2 from "wagmi";
|
|
7
7
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
8
8
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
9
9
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
10
10
|
import "graphql";
|
|
11
11
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
12
|
-
import * as
|
|
13
|
-
import * as
|
|
12
|
+
import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
13
|
+
import * as viem_utils0 from "viem/utils";
|
|
14
14
|
import * as node_modules_viem__types_errors_abi0 from "node_modules/viem/_types/errors/abi";
|
|
15
|
+
import * as node_modules__wagmi_core_dist_types_errors_base0 from "node_modules/@wagmi/core/dist/types/errors/base";
|
|
15
16
|
import * as node_modules_viem__types_errors_account0 from "node_modules/viem/_types/errors/account";
|
|
16
17
|
|
|
17
18
|
//#region src/generated/graphql.d.ts
|
|
@@ -242,7 +243,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
242
243
|
isRefetching: boolean;
|
|
243
244
|
isStale: boolean;
|
|
244
245
|
isEnabled: boolean;
|
|
245
|
-
refetch: (options?:
|
|
246
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
246
247
|
optionId: bigint;
|
|
247
248
|
marketAddr: Address;
|
|
248
249
|
ownerAddr: Address;
|
|
@@ -281,7 +282,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
281
282
|
transactionHash: string;
|
|
282
283
|
} | null;
|
|
283
284
|
}[], Error>>;
|
|
284
|
-
fetchStatus:
|
|
285
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
285
286
|
promise: Promise<{
|
|
286
287
|
optionId: bigint;
|
|
287
288
|
marketAddr: Address;
|
|
@@ -383,7 +384,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
383
384
|
isRefetching: boolean;
|
|
384
385
|
isStale: boolean;
|
|
385
386
|
isEnabled: boolean;
|
|
386
|
-
refetch: (options?:
|
|
387
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
387
388
|
optionId: bigint;
|
|
388
389
|
marketAddr: Address;
|
|
389
390
|
ownerAddr: Address;
|
|
@@ -422,7 +423,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
422
423
|
transactionHash: string;
|
|
423
424
|
} | null;
|
|
424
425
|
}[], Error>>;
|
|
425
|
-
fetchStatus:
|
|
426
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
426
427
|
promise: Promise<{
|
|
427
428
|
optionId: bigint;
|
|
428
429
|
marketAddr: Address;
|
|
@@ -524,7 +525,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
524
525
|
isRefetching: boolean;
|
|
525
526
|
isStale: boolean;
|
|
526
527
|
isEnabled: boolean;
|
|
527
|
-
refetch: (options?:
|
|
528
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
528
529
|
optionId: bigint;
|
|
529
530
|
marketAddr: Address;
|
|
530
531
|
ownerAddr: Address;
|
|
@@ -563,7 +564,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
563
564
|
transactionHash: string;
|
|
564
565
|
} | null;
|
|
565
566
|
}[], Error>>;
|
|
566
|
-
fetchStatus:
|
|
567
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
567
568
|
promise: Promise<{
|
|
568
569
|
optionId: bigint;
|
|
569
570
|
marketAddr: Address;
|
|
@@ -665,7 +666,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
665
666
|
isRefetching: boolean;
|
|
666
667
|
isStale: boolean;
|
|
667
668
|
isEnabled: boolean;
|
|
668
|
-
refetch: (options?:
|
|
669
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
669
670
|
optionId: bigint;
|
|
670
671
|
marketAddr: Address;
|
|
671
672
|
ownerAddr: Address;
|
|
@@ -704,7 +705,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
704
705
|
transactionHash: string;
|
|
705
706
|
} | null;
|
|
706
707
|
}[], Error>>;
|
|
707
|
-
fetchStatus:
|
|
708
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
708
709
|
promise: Promise<{
|
|
709
710
|
optionId: bigint;
|
|
710
711
|
marketAddr: Address;
|
|
@@ -806,7 +807,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
806
807
|
isRefetching: boolean;
|
|
807
808
|
isStale: boolean;
|
|
808
809
|
isEnabled: boolean;
|
|
809
|
-
refetch: (options?:
|
|
810
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
810
811
|
optionId: bigint;
|
|
811
812
|
marketAddr: Address;
|
|
812
813
|
ownerAddr: Address;
|
|
@@ -845,7 +846,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
845
846
|
transactionHash: string;
|
|
846
847
|
} | null;
|
|
847
848
|
}[], Error>>;
|
|
848
|
-
fetchStatus:
|
|
849
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
849
850
|
promise: Promise<{
|
|
850
851
|
optionId: bigint;
|
|
851
852
|
marketAddr: Address;
|
|
@@ -947,7 +948,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
947
948
|
isRefetching: boolean;
|
|
948
949
|
isStale: boolean;
|
|
949
950
|
isEnabled: boolean;
|
|
950
|
-
refetch: (options?:
|
|
951
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
951
952
|
optionId: bigint;
|
|
952
953
|
marketAddr: Address;
|
|
953
954
|
ownerAddr: Address;
|
|
@@ -986,7 +987,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
986
987
|
transactionHash: string;
|
|
987
988
|
} | null;
|
|
988
989
|
}[], Error>>;
|
|
989
|
-
fetchStatus:
|
|
990
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
990
991
|
promise: Promise<{
|
|
991
992
|
optionId: bigint;
|
|
992
993
|
marketAddr: Address;
|
|
@@ -1089,7 +1090,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1089
1090
|
isRefetching: boolean;
|
|
1090
1091
|
isStale: boolean;
|
|
1091
1092
|
isEnabled: boolean;
|
|
1092
|
-
refetch: (options?:
|
|
1093
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1093
1094
|
optionId: bigint;
|
|
1094
1095
|
marketAddr: Address;
|
|
1095
1096
|
ownerAddr: Address;
|
|
@@ -1128,7 +1129,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1128
1129
|
transactionHash: string;
|
|
1129
1130
|
} | null;
|
|
1130
1131
|
}[], Error>>;
|
|
1131
|
-
fetchStatus:
|
|
1132
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1132
1133
|
promise: Promise<{
|
|
1133
1134
|
optionId: bigint;
|
|
1134
1135
|
marketAddr: Address;
|
|
@@ -1230,7 +1231,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1230
1231
|
isRefetching: boolean;
|
|
1231
1232
|
isStale: boolean;
|
|
1232
1233
|
isEnabled: boolean;
|
|
1233
|
-
refetch: (options?:
|
|
1234
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1234
1235
|
optionId: bigint;
|
|
1235
1236
|
marketAddr: Address;
|
|
1236
1237
|
ownerAddr: Address;
|
|
@@ -1269,7 +1270,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1269
1270
|
transactionHash: string;
|
|
1270
1271
|
} | null;
|
|
1271
1272
|
}[], Error>>;
|
|
1272
|
-
fetchStatus:
|
|
1273
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1273
1274
|
promise: Promise<{
|
|
1274
1275
|
optionId: bigint;
|
|
1275
1276
|
marketAddr: Address;
|
|
@@ -1371,7 +1372,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1371
1372
|
isRefetching: boolean;
|
|
1372
1373
|
isStale: boolean;
|
|
1373
1374
|
isEnabled: boolean;
|
|
1374
|
-
refetch: (options?:
|
|
1375
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1375
1376
|
optionId: bigint;
|
|
1376
1377
|
marketAddr: Address;
|
|
1377
1378
|
ownerAddr: Address;
|
|
@@ -1410,7 +1411,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1410
1411
|
transactionHash: string;
|
|
1411
1412
|
} | null;
|
|
1412
1413
|
}[], Error>>;
|
|
1413
|
-
fetchStatus:
|
|
1414
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1414
1415
|
promise: Promise<{
|
|
1415
1416
|
optionId: bigint;
|
|
1416
1417
|
marketAddr: Address;
|
|
@@ -1512,7 +1513,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1512
1513
|
isRefetching: boolean;
|
|
1513
1514
|
isStale: boolean;
|
|
1514
1515
|
isEnabled: boolean;
|
|
1515
|
-
refetch: (options?:
|
|
1516
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1516
1517
|
optionId: bigint;
|
|
1517
1518
|
marketAddr: Address;
|
|
1518
1519
|
ownerAddr: Address;
|
|
@@ -1551,7 +1552,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1551
1552
|
transactionHash: string;
|
|
1552
1553
|
} | null;
|
|
1553
1554
|
}[], Error>>;
|
|
1554
|
-
fetchStatus:
|
|
1555
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1555
1556
|
promise: Promise<{
|
|
1556
1557
|
optionId: bigint;
|
|
1557
1558
|
marketAddr: Address;
|
|
@@ -1653,7 +1654,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1653
1654
|
isRefetching: boolean;
|
|
1654
1655
|
isStale: boolean;
|
|
1655
1656
|
isEnabled: boolean;
|
|
1656
|
-
refetch: (options?:
|
|
1657
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1657
1658
|
optionId: bigint;
|
|
1658
1659
|
marketAddr: Address;
|
|
1659
1660
|
ownerAddr: Address;
|
|
@@ -1692,7 +1693,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1692
1693
|
transactionHash: string;
|
|
1693
1694
|
} | null;
|
|
1694
1695
|
}[], Error>>;
|
|
1695
|
-
fetchStatus:
|
|
1696
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1696
1697
|
promise: Promise<{
|
|
1697
1698
|
optionId: bigint;
|
|
1698
1699
|
marketAddr: Address;
|
|
@@ -1794,7 +1795,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1794
1795
|
isRefetching: boolean;
|
|
1795
1796
|
isStale: boolean;
|
|
1796
1797
|
isEnabled: boolean;
|
|
1797
|
-
refetch: (options?:
|
|
1798
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1798
1799
|
optionId: bigint;
|
|
1799
1800
|
marketAddr: Address;
|
|
1800
1801
|
ownerAddr: Address;
|
|
@@ -1833,7 +1834,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1833
1834
|
transactionHash: string;
|
|
1834
1835
|
} | null;
|
|
1835
1836
|
}[], Error>>;
|
|
1836
|
-
fetchStatus:
|
|
1837
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1837
1838
|
promise: Promise<{
|
|
1838
1839
|
optionId: bigint;
|
|
1839
1840
|
marketAddr: Address;
|
|
@@ -1936,7 +1937,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1936
1937
|
isRefetching: boolean;
|
|
1937
1938
|
isStale: boolean;
|
|
1938
1939
|
isEnabled: boolean;
|
|
1939
|
-
refetch: (options?:
|
|
1940
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1940
1941
|
optionId: bigint;
|
|
1941
1942
|
marketAddr: Address;
|
|
1942
1943
|
ownerAddr: Address;
|
|
@@ -1975,7 +1976,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1975
1976
|
transactionHash: string;
|
|
1976
1977
|
} | null;
|
|
1977
1978
|
}[], Error>>;
|
|
1978
|
-
fetchStatus:
|
|
1979
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1979
1980
|
promise: Promise<{
|
|
1980
1981
|
optionId: bigint;
|
|
1981
1982
|
marketAddr: Address;
|
|
@@ -2077,7 +2078,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2077
2078
|
isRefetching: boolean;
|
|
2078
2079
|
isStale: boolean;
|
|
2079
2080
|
isEnabled: boolean;
|
|
2080
|
-
refetch: (options?:
|
|
2081
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
2081
2082
|
optionId: bigint;
|
|
2082
2083
|
marketAddr: Address;
|
|
2083
2084
|
ownerAddr: Address;
|
|
@@ -2116,7 +2117,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2116
2117
|
transactionHash: string;
|
|
2117
2118
|
} | null;
|
|
2118
2119
|
}[], Error>>;
|
|
2119
|
-
fetchStatus:
|
|
2120
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2120
2121
|
promise: Promise<{
|
|
2121
2122
|
optionId: bigint;
|
|
2122
2123
|
marketAddr: Address;
|
|
@@ -2218,7 +2219,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2218
2219
|
isRefetching: boolean;
|
|
2219
2220
|
isStale: boolean;
|
|
2220
2221
|
isEnabled: boolean;
|
|
2221
|
-
refetch: (options?:
|
|
2222
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
2222
2223
|
optionId: bigint;
|
|
2223
2224
|
marketAddr: Address;
|
|
2224
2225
|
ownerAddr: Address;
|
|
@@ -2257,7 +2258,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2257
2258
|
transactionHash: string;
|
|
2258
2259
|
} | null;
|
|
2259
2260
|
}[], Error>>;
|
|
2260
|
-
fetchStatus:
|
|
2261
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2261
2262
|
promise: Promise<{
|
|
2262
2263
|
optionId: bigint;
|
|
2263
2264
|
marketAddr: Address;
|
|
@@ -2359,7 +2360,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2359
2360
|
isRefetching: boolean;
|
|
2360
2361
|
isStale: boolean;
|
|
2361
2362
|
isEnabled: boolean;
|
|
2362
|
-
refetch: (options?:
|
|
2363
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
2363
2364
|
optionId: bigint;
|
|
2364
2365
|
marketAddr: Address;
|
|
2365
2366
|
ownerAddr: Address;
|
|
@@ -2398,7 +2399,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2398
2399
|
transactionHash: string;
|
|
2399
2400
|
} | null;
|
|
2400
2401
|
}[], Error>>;
|
|
2401
|
-
fetchStatus:
|
|
2402
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2402
2403
|
promise: Promise<{
|
|
2403
2404
|
optionId: bigint;
|
|
2404
2405
|
marketAddr: Address;
|
|
@@ -2500,7 +2501,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2500
2501
|
isRefetching: boolean;
|
|
2501
2502
|
isStale: boolean;
|
|
2502
2503
|
isEnabled: boolean;
|
|
2503
|
-
refetch: (options?:
|
|
2504
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
2504
2505
|
optionId: bigint;
|
|
2505
2506
|
marketAddr: Address;
|
|
2506
2507
|
ownerAddr: Address;
|
|
@@ -2539,7 +2540,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2539
2540
|
transactionHash: string;
|
|
2540
2541
|
} | null;
|
|
2541
2542
|
}[], Error>>;
|
|
2542
|
-
fetchStatus:
|
|
2543
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2543
2544
|
promise: Promise<{
|
|
2544
2545
|
optionId: bigint;
|
|
2545
2546
|
marketAddr: Address;
|
|
@@ -2641,7 +2642,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2641
2642
|
isRefetching: boolean;
|
|
2642
2643
|
isStale: boolean;
|
|
2643
2644
|
isEnabled: boolean;
|
|
2644
|
-
refetch: (options?:
|
|
2645
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
2645
2646
|
optionId: bigint;
|
|
2646
2647
|
marketAddr: Address;
|
|
2647
2648
|
ownerAddr: Address;
|
|
@@ -2680,7 +2681,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2680
2681
|
transactionHash: string;
|
|
2681
2682
|
} | null;
|
|
2682
2683
|
}[], Error>>;
|
|
2683
|
-
fetchStatus:
|
|
2684
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2684
2685
|
promise: Promise<{
|
|
2685
2686
|
optionId: bigint;
|
|
2686
2687
|
marketAddr: Address;
|
|
@@ -2807,7 +2808,7 @@ declare const useMintOption: (marketAddr?: Address) => {
|
|
|
2807
2808
|
isPending: boolean;
|
|
2808
2809
|
isConfirming: boolean;
|
|
2809
2810
|
isSuccess: boolean;
|
|
2810
|
-
error:
|
|
2811
|
+
error: viem_utils0.ParseAccountErrorType | viem14.InvalidAddressErrorType | viem14.IntegerOutOfRangeErrorType | viem14.SizeExceedsPaddingSizeErrorType | viem14.AbiFunctionNotFoundErrorType | viem14.AbiEncodingLengthMismatchErrorType | viem14.AbiEncodingArrayLengthMismatchErrorType | viem14.InvalidArrayErrorType | viem14.AbiEncodingBytesSizeMismatchErrorType | viem14.SizeOverflowErrorType | viem14.SliceOffsetOutOfBoundsErrorType | viem14.InvalidAbiEncodingTypeErrorType | viem14.InvalidDefinitionTypeErrorType | node_modules_viem__types_errors_abi0.AbiItemAmbiguityErrorType | wagmi2.ConnectorAccountNotFoundErrorType | wagmi2.ConnectorChainMismatchErrorType | _wagmi_core0.ConnectorNotConnectedErrorType | wagmi2.ConnectorUnavailableReconnectingErrorType | viem14.BaseErrorType | node_modules__wagmi_core_dist_types_errors_base0.BaseErrorType | node_modules_viem__types_errors_account0.AccountNotFoundErrorType | viem14.GetContractErrorReturnType<viem14.SendTransactionErrorType> | null;
|
|
2811
2812
|
isLoading: boolean;
|
|
2812
2813
|
isApprovalPending: boolean;
|
|
2813
2814
|
approvalError: _wagmi_core0.WriteContractErrorType | null;
|
|
@@ -2838,7 +2839,7 @@ declare const useExtendOption: (marketAddr?: Address) => {
|
|
|
2838
2839
|
isPending: boolean;
|
|
2839
2840
|
isConfirming: boolean;
|
|
2840
2841
|
isSuccess: boolean;
|
|
2841
|
-
error:
|
|
2842
|
+
error: viem_utils0.ParseAccountErrorType | viem14.InvalidAddressErrorType | viem14.IntegerOutOfRangeErrorType | viem14.SizeExceedsPaddingSizeErrorType | viem14.AbiFunctionNotFoundErrorType | viem14.AbiEncodingLengthMismatchErrorType | viem14.AbiEncodingArrayLengthMismatchErrorType | viem14.InvalidArrayErrorType | viem14.AbiEncodingBytesSizeMismatchErrorType | viem14.SizeOverflowErrorType | viem14.SliceOffsetOutOfBoundsErrorType | viem14.InvalidAbiEncodingTypeErrorType | viem14.InvalidDefinitionTypeErrorType | node_modules_viem__types_errors_abi0.AbiItemAmbiguityErrorType | wagmi2.ConnectorAccountNotFoundErrorType | wagmi2.ConnectorChainMismatchErrorType | _wagmi_core0.ConnectorNotConnectedErrorType | wagmi2.ConnectorUnavailableReconnectingErrorType | viem14.BaseErrorType | node_modules__wagmi_core_dist_types_errors_base0.BaseErrorType | node_modules_viem__types_errors_account0.AccountNotFoundErrorType | viem14.GetContractErrorReturnType<viem14.SendTransactionErrorType> | null;
|
|
2842
2843
|
isLoading: boolean;
|
|
2843
2844
|
isApprovalPending: boolean;
|
|
2844
2845
|
approvalError: _wagmi_core0.WriteContractErrorType | null;
|
|
@@ -2883,7 +2884,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2883
2884
|
isRefetching: boolean;
|
|
2884
2885
|
isStale: boolean;
|
|
2885
2886
|
isEnabled: boolean;
|
|
2886
|
-
refetch: (options?:
|
|
2887
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
2887
2888
|
spendingApproval: bigint;
|
|
2888
2889
|
operatorAddr: string;
|
|
2889
2890
|
__typename: "UserMarketOperator";
|
|
@@ -2897,7 +2898,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2897
2898
|
address: string;
|
|
2898
2899
|
} | null;
|
|
2899
2900
|
}[] | undefined, Error>>;
|
|
2900
|
-
fetchStatus:
|
|
2901
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2901
2902
|
promise: Promise<{
|
|
2902
2903
|
spendingApproval: bigint;
|
|
2903
2904
|
operatorAddr: string;
|
|
@@ -2949,7 +2950,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2949
2950
|
isRefetching: boolean;
|
|
2950
2951
|
isStale: boolean;
|
|
2951
2952
|
isEnabled: boolean;
|
|
2952
|
-
refetch: (options?:
|
|
2953
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
2953
2954
|
spendingApproval: bigint;
|
|
2954
2955
|
operatorAddr: string;
|
|
2955
2956
|
__typename: "UserMarketOperator";
|
|
@@ -2963,7 +2964,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2963
2964
|
address: string;
|
|
2964
2965
|
} | null;
|
|
2965
2966
|
}[] | undefined, Error>>;
|
|
2966
|
-
fetchStatus:
|
|
2967
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2967
2968
|
promise: Promise<{
|
|
2968
2969
|
spendingApproval: bigint;
|
|
2969
2970
|
operatorAddr: string;
|
|
@@ -3015,7 +3016,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3015
3016
|
isRefetching: boolean;
|
|
3016
3017
|
isStale: boolean;
|
|
3017
3018
|
isEnabled: boolean;
|
|
3018
|
-
refetch: (options?:
|
|
3019
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
3019
3020
|
spendingApproval: bigint;
|
|
3020
3021
|
operatorAddr: string;
|
|
3021
3022
|
__typename: "UserMarketOperator";
|
|
@@ -3029,7 +3030,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3029
3030
|
address: string;
|
|
3030
3031
|
} | null;
|
|
3031
3032
|
}[] | undefined, Error>>;
|
|
3032
|
-
fetchStatus:
|
|
3033
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3033
3034
|
promise: Promise<{
|
|
3034
3035
|
spendingApproval: bigint;
|
|
3035
3036
|
operatorAddr: string;
|
|
@@ -3081,7 +3082,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3081
3082
|
isRefetching: boolean;
|
|
3082
3083
|
isStale: boolean;
|
|
3083
3084
|
isEnabled: boolean;
|
|
3084
|
-
refetch: (options?:
|
|
3085
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
3085
3086
|
spendingApproval: bigint;
|
|
3086
3087
|
operatorAddr: string;
|
|
3087
3088
|
__typename: "UserMarketOperator";
|
|
@@ -3095,7 +3096,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3095
3096
|
address: string;
|
|
3096
3097
|
} | null;
|
|
3097
3098
|
}[] | undefined, Error>>;
|
|
3098
|
-
fetchStatus:
|
|
3099
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3099
3100
|
promise: Promise<{
|
|
3100
3101
|
spendingApproval: bigint;
|
|
3101
3102
|
operatorAddr: string;
|
|
@@ -3147,7 +3148,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3147
3148
|
isRefetching: boolean;
|
|
3148
3149
|
isStale: boolean;
|
|
3149
3150
|
isEnabled: boolean;
|
|
3150
|
-
refetch: (options?:
|
|
3151
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
3151
3152
|
spendingApproval: bigint;
|
|
3152
3153
|
operatorAddr: string;
|
|
3153
3154
|
__typename: "UserMarketOperator";
|
|
@@ -3161,7 +3162,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3161
3162
|
address: string;
|
|
3162
3163
|
} | null;
|
|
3163
3164
|
}[] | undefined, Error>>;
|
|
3164
|
-
fetchStatus:
|
|
3165
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3165
3166
|
promise: Promise<{
|
|
3166
3167
|
spendingApproval: bigint;
|
|
3167
3168
|
operatorAddr: string;
|
|
@@ -3213,7 +3214,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3213
3214
|
isRefetching: boolean;
|
|
3214
3215
|
isStale: boolean;
|
|
3215
3216
|
isEnabled: boolean;
|
|
3216
|
-
refetch: (options?:
|
|
3217
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
3217
3218
|
spendingApproval: bigint;
|
|
3218
3219
|
operatorAddr: string;
|
|
3219
3220
|
__typename: "UserMarketOperator";
|
|
@@ -3227,7 +3228,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3227
3228
|
address: string;
|
|
3228
3229
|
} | null;
|
|
3229
3230
|
}[] | undefined, Error>>;
|
|
3230
|
-
fetchStatus:
|
|
3231
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3231
3232
|
promise: Promise<{
|
|
3232
3233
|
spendingApproval: bigint;
|
|
3233
3234
|
operatorAddr: string;
|
|
@@ -3244,6 +3245,17 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3244
3245
|
}[] | undefined>;
|
|
3245
3246
|
};
|
|
3246
3247
|
//#endregion
|
|
3248
|
+
//#region src/hooks/market/useSetOperatorPerms.d.ts
|
|
3249
|
+
declare const useSetOperatorPerms: (marketAddr?: Address) => {
|
|
3250
|
+
setOperatorPerms: (operator: Address, canExtend: boolean, canExercise: boolean, canTransfer: boolean, canMint: boolean, spendingApproval: bigint) => Promise<`0x${string}`>;
|
|
3251
|
+
hash: `0x${string}` | undefined;
|
|
3252
|
+
isPending: boolean;
|
|
3253
|
+
isConfirming: boolean;
|
|
3254
|
+
isSuccess: boolean;
|
|
3255
|
+
error: _wagmi_core0.WriteContractErrorType | null;
|
|
3256
|
+
isLoading: boolean;
|
|
3257
|
+
};
|
|
3258
|
+
//#endregion
|
|
3247
3259
|
//#region src/hooks/pool/useCurrentPrice.d.ts
|
|
3248
3260
|
declare const useCurrentPrice: (poolAddr?: Address) => {
|
|
3249
3261
|
currentPrice: Amount | undefined;
|
|
@@ -3308,7 +3320,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
3308
3320
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
3309
3321
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
3310
3322
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
3311
|
-
error:
|
|
3323
|
+
error: viem14.ReadContractErrorType;
|
|
3312
3324
|
isError: true;
|
|
3313
3325
|
isPending: false;
|
|
3314
3326
|
isLoading: false;
|
|
@@ -3320,7 +3332,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3320
3332
|
dataUpdatedAt: number;
|
|
3321
3333
|
errorUpdatedAt: number;
|
|
3322
3334
|
failureCount: number;
|
|
3323
|
-
failureReason:
|
|
3335
|
+
failureReason: viem14.ReadContractErrorType | null;
|
|
3324
3336
|
errorUpdateCount: number;
|
|
3325
3337
|
isFetched: boolean;
|
|
3326
3338
|
isFetchedAfterMount: boolean;
|
|
@@ -3330,7 +3342,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3330
3342
|
isRefetching: boolean;
|
|
3331
3343
|
isStale: boolean;
|
|
3332
3344
|
isEnabled: boolean;
|
|
3333
|
-
refetch: (options?:
|
|
3345
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
3334
3346
|
tickLower: number;
|
|
3335
3347
|
tickUpper: number;
|
|
3336
3348
|
prevTickLower: number;
|
|
@@ -3340,8 +3352,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3340
3352
|
totalAmount1: bigint;
|
|
3341
3353
|
borrowedAmount0: bigint;
|
|
3342
3354
|
borrowedAmount1: bigint;
|
|
3343
|
-
}[],
|
|
3344
|
-
fetchStatus:
|
|
3355
|
+
}[], viem14.ReadContractErrorType>>;
|
|
3356
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3345
3357
|
promise: Promise<readonly {
|
|
3346
3358
|
tickLower: number;
|
|
3347
3359
|
tickUpper: number;
|
|
@@ -3353,7 +3365,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3353
3365
|
borrowedAmount0: bigint;
|
|
3354
3366
|
borrowedAmount1: bigint;
|
|
3355
3367
|
}[]>;
|
|
3356
|
-
queryKey:
|
|
3368
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
3357
3369
|
data: readonly {
|
|
3358
3370
|
tickLower: number;
|
|
3359
3371
|
tickUpper: number;
|
|
@@ -3378,7 +3390,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3378
3390
|
dataUpdatedAt: number;
|
|
3379
3391
|
errorUpdatedAt: number;
|
|
3380
3392
|
failureCount: number;
|
|
3381
|
-
failureReason:
|
|
3393
|
+
failureReason: viem14.ReadContractErrorType | null;
|
|
3382
3394
|
errorUpdateCount: number;
|
|
3383
3395
|
isFetched: boolean;
|
|
3384
3396
|
isFetchedAfterMount: boolean;
|
|
@@ -3388,7 +3400,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3388
3400
|
isRefetching: boolean;
|
|
3389
3401
|
isStale: boolean;
|
|
3390
3402
|
isEnabled: boolean;
|
|
3391
|
-
refetch: (options?:
|
|
3403
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
3392
3404
|
tickLower: number;
|
|
3393
3405
|
tickUpper: number;
|
|
3394
3406
|
prevTickLower: number;
|
|
@@ -3398,8 +3410,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3398
3410
|
totalAmount1: bigint;
|
|
3399
3411
|
borrowedAmount0: bigint;
|
|
3400
3412
|
borrowedAmount1: bigint;
|
|
3401
|
-
}[],
|
|
3402
|
-
fetchStatus:
|
|
3413
|
+
}[], viem14.ReadContractErrorType>>;
|
|
3414
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3403
3415
|
promise: Promise<readonly {
|
|
3404
3416
|
tickLower: number;
|
|
3405
3417
|
tickUpper: number;
|
|
@@ -3411,7 +3423,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3411
3423
|
borrowedAmount0: bigint;
|
|
3412
3424
|
borrowedAmount1: bigint;
|
|
3413
3425
|
}[]>;
|
|
3414
|
-
queryKey:
|
|
3426
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
3415
3427
|
data: readonly {
|
|
3416
3428
|
tickLower: number;
|
|
3417
3429
|
tickUpper: number;
|
|
@@ -3424,7 +3436,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3424
3436
|
borrowedAmount1: bigint;
|
|
3425
3437
|
}[];
|
|
3426
3438
|
} | {
|
|
3427
|
-
error:
|
|
3439
|
+
error: viem14.ReadContractErrorType;
|
|
3428
3440
|
isError: true;
|
|
3429
3441
|
isPending: false;
|
|
3430
3442
|
isLoading: false;
|
|
@@ -3436,7 +3448,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3436
3448
|
dataUpdatedAt: number;
|
|
3437
3449
|
errorUpdatedAt: number;
|
|
3438
3450
|
failureCount: number;
|
|
3439
|
-
failureReason:
|
|
3451
|
+
failureReason: viem14.ReadContractErrorType | null;
|
|
3440
3452
|
errorUpdateCount: number;
|
|
3441
3453
|
isFetched: boolean;
|
|
3442
3454
|
isFetchedAfterMount: boolean;
|
|
@@ -3446,7 +3458,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3446
3458
|
isRefetching: boolean;
|
|
3447
3459
|
isStale: boolean;
|
|
3448
3460
|
isEnabled: boolean;
|
|
3449
|
-
refetch: (options?:
|
|
3461
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
3450
3462
|
tickLower: number;
|
|
3451
3463
|
tickUpper: number;
|
|
3452
3464
|
prevTickLower: number;
|
|
@@ -3456,8 +3468,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3456
3468
|
totalAmount1: bigint;
|
|
3457
3469
|
borrowedAmount0: bigint;
|
|
3458
3470
|
borrowedAmount1: bigint;
|
|
3459
|
-
}[],
|
|
3460
|
-
fetchStatus:
|
|
3471
|
+
}[], viem14.ReadContractErrorType>>;
|
|
3472
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3461
3473
|
promise: Promise<readonly {
|
|
3462
3474
|
tickLower: number;
|
|
3463
3475
|
tickUpper: number;
|
|
@@ -3469,7 +3481,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3469
3481
|
borrowedAmount0: bigint;
|
|
3470
3482
|
borrowedAmount1: bigint;
|
|
3471
3483
|
}[]>;
|
|
3472
|
-
queryKey:
|
|
3484
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
3473
3485
|
data: readonly {
|
|
3474
3486
|
tickLower: number;
|
|
3475
3487
|
tickUpper: number;
|
|
@@ -3494,7 +3506,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3494
3506
|
dataUpdatedAt: number;
|
|
3495
3507
|
errorUpdatedAt: number;
|
|
3496
3508
|
failureCount: number;
|
|
3497
|
-
failureReason:
|
|
3509
|
+
failureReason: viem14.ReadContractErrorType | null;
|
|
3498
3510
|
errorUpdateCount: number;
|
|
3499
3511
|
isFetched: boolean;
|
|
3500
3512
|
isFetchedAfterMount: boolean;
|
|
@@ -3504,7 +3516,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3504
3516
|
isRefetching: boolean;
|
|
3505
3517
|
isStale: boolean;
|
|
3506
3518
|
isEnabled: boolean;
|
|
3507
|
-
refetch: (options?:
|
|
3519
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
3508
3520
|
tickLower: number;
|
|
3509
3521
|
tickUpper: number;
|
|
3510
3522
|
prevTickLower: number;
|
|
@@ -3514,8 +3526,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3514
3526
|
totalAmount1: bigint;
|
|
3515
3527
|
borrowedAmount0: bigint;
|
|
3516
3528
|
borrowedAmount1: bigint;
|
|
3517
|
-
}[],
|
|
3518
|
-
fetchStatus:
|
|
3529
|
+
}[], viem14.ReadContractErrorType>>;
|
|
3530
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3519
3531
|
promise: Promise<readonly {
|
|
3520
3532
|
tickLower: number;
|
|
3521
3533
|
tickUpper: number;
|
|
@@ -3527,7 +3539,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3527
3539
|
borrowedAmount0: bigint;
|
|
3528
3540
|
borrowedAmount1: bigint;
|
|
3529
3541
|
}[]>;
|
|
3530
|
-
queryKey:
|
|
3542
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
3531
3543
|
data: readonly {
|
|
3532
3544
|
tickLower: number;
|
|
3533
3545
|
tickUpper: number;
|
|
@@ -3551,7 +3563,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3551
3563
|
dataUpdatedAt: number;
|
|
3552
3564
|
errorUpdatedAt: number;
|
|
3553
3565
|
failureCount: number;
|
|
3554
|
-
failureReason:
|
|
3566
|
+
failureReason: viem14.ReadContractErrorType | null;
|
|
3555
3567
|
errorUpdateCount: number;
|
|
3556
3568
|
isFetched: boolean;
|
|
3557
3569
|
isFetchedAfterMount: boolean;
|
|
@@ -3562,7 +3574,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3562
3574
|
isRefetching: boolean;
|
|
3563
3575
|
isStale: boolean;
|
|
3564
3576
|
isEnabled: boolean;
|
|
3565
|
-
refetch: (options?:
|
|
3577
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
3566
3578
|
tickLower: number;
|
|
3567
3579
|
tickUpper: number;
|
|
3568
3580
|
prevTickLower: number;
|
|
@@ -3572,8 +3584,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3572
3584
|
totalAmount1: bigint;
|
|
3573
3585
|
borrowedAmount0: bigint;
|
|
3574
3586
|
borrowedAmount1: bigint;
|
|
3575
|
-
}[],
|
|
3576
|
-
fetchStatus:
|
|
3587
|
+
}[], viem14.ReadContractErrorType>>;
|
|
3588
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3577
3589
|
promise: Promise<readonly {
|
|
3578
3590
|
tickLower: number;
|
|
3579
3591
|
tickUpper: number;
|
|
@@ -3585,7 +3597,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3585
3597
|
borrowedAmount0: bigint;
|
|
3586
3598
|
borrowedAmount1: bigint;
|
|
3587
3599
|
}[]>;
|
|
3588
|
-
queryKey:
|
|
3600
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
3589
3601
|
data: readonly {
|
|
3590
3602
|
tickLower: number;
|
|
3591
3603
|
tickUpper: number;
|
|
@@ -3610,7 +3622,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3610
3622
|
dataUpdatedAt: number;
|
|
3611
3623
|
errorUpdatedAt: number;
|
|
3612
3624
|
failureCount: number;
|
|
3613
|
-
failureReason:
|
|
3625
|
+
failureReason: viem14.ReadContractErrorType | null;
|
|
3614
3626
|
errorUpdateCount: number;
|
|
3615
3627
|
isFetched: boolean;
|
|
3616
3628
|
isFetchedAfterMount: boolean;
|
|
@@ -3620,7 +3632,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3620
3632
|
isRefetching: boolean;
|
|
3621
3633
|
isStale: boolean;
|
|
3622
3634
|
isEnabled: boolean;
|
|
3623
|
-
refetch: (options?:
|
|
3635
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
3624
3636
|
tickLower: number;
|
|
3625
3637
|
tickUpper: number;
|
|
3626
3638
|
prevTickLower: number;
|
|
@@ -3630,8 +3642,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3630
3642
|
totalAmount1: bigint;
|
|
3631
3643
|
borrowedAmount0: bigint;
|
|
3632
3644
|
borrowedAmount1: bigint;
|
|
3633
|
-
}[],
|
|
3634
|
-
fetchStatus:
|
|
3645
|
+
}[], viem14.ReadContractErrorType>>;
|
|
3646
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3635
3647
|
promise: Promise<readonly {
|
|
3636
3648
|
tickLower: number;
|
|
3637
3649
|
tickUpper: number;
|
|
@@ -3643,7 +3655,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3643
3655
|
borrowedAmount0: bigint;
|
|
3644
3656
|
borrowedAmount1: bigint;
|
|
3645
3657
|
}[]>;
|
|
3646
|
-
queryKey:
|
|
3658
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
3647
3659
|
data: readonly {
|
|
3648
3660
|
tickLower: number;
|
|
3649
3661
|
tickUpper: number;
|
|
@@ -3703,14 +3715,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
3703
3715
|
borrowedAmount0: Amount;
|
|
3704
3716
|
borrowedAmount1: Amount;
|
|
3705
3717
|
blocksCount: bigint;
|
|
3706
|
-
refetch: (options?:
|
|
3718
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem14.ReadContractErrorType>>;
|
|
3707
3719
|
};
|
|
3708
3720
|
//#endregion
|
|
3709
3721
|
//#region src/hooks/useLens.d.ts
|
|
3710
3722
|
declare const useLens: () => {
|
|
3711
3723
|
timelockLens: {
|
|
3712
3724
|
read: {
|
|
3713
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
3725
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
3714
3726
|
readonly type: "function";
|
|
3715
3727
|
readonly name: "batchGetRefTick";
|
|
3716
3728
|
readonly inputs: readonly [{
|
|
@@ -3812,7 +3824,7 @@ declare const useLens: () => {
|
|
|
3812
3824
|
readonly type: "uint8";
|
|
3813
3825
|
readonly internalType: "uint8";
|
|
3814
3826
|
}, {
|
|
3815
|
-
readonly name: "
|
|
3827
|
+
readonly name: "startTick";
|
|
3816
3828
|
readonly type: "int24";
|
|
3817
3829
|
readonly internalType: "int24";
|
|
3818
3830
|
}, {
|
|
@@ -4036,7 +4048,7 @@ declare const useLens: () => {
|
|
|
4036
4048
|
readonly type: "uint8";
|
|
4037
4049
|
readonly internalType: "uint8";
|
|
4038
4050
|
}, {
|
|
4039
|
-
readonly name: "
|
|
4051
|
+
readonly name: "startTick";
|
|
4040
4052
|
readonly type: "int24";
|
|
4041
4053
|
readonly internalType: "int24";
|
|
4042
4054
|
}, {
|
|
@@ -4119,7 +4131,7 @@ declare const useLens: () => {
|
|
|
4119
4131
|
readonly type: "uint8";
|
|
4120
4132
|
readonly internalType: "uint8";
|
|
4121
4133
|
}, {
|
|
4122
|
-
readonly name: "
|
|
4134
|
+
readonly name: "startTick";
|
|
4123
4135
|
readonly type: "int24";
|
|
4124
4136
|
readonly internalType: "int24";
|
|
4125
4137
|
}, {
|
|
@@ -4283,7 +4295,7 @@ declare const useLens: () => {
|
|
|
4283
4295
|
readonly type: "uint8";
|
|
4284
4296
|
readonly internalType: "uint8";
|
|
4285
4297
|
}, {
|
|
4286
|
-
readonly name: "
|
|
4298
|
+
readonly name: "startTick";
|
|
4287
4299
|
readonly type: "int24";
|
|
4288
4300
|
readonly internalType: "int24";
|
|
4289
4301
|
}, {
|
|
@@ -4384,7 +4396,7 @@ declare const useLens: () => {
|
|
|
4384
4396
|
}];
|
|
4385
4397
|
readonly stateMutability: "view";
|
|
4386
4398
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
4387
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
4399
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
4388
4400
|
readonly type: "function";
|
|
4389
4401
|
readonly name: "batchGetRefTick";
|
|
4390
4402
|
readonly inputs: readonly [{
|
|
@@ -4486,7 +4498,7 @@ declare const useLens: () => {
|
|
|
4486
4498
|
readonly type: "uint8";
|
|
4487
4499
|
readonly internalType: "uint8";
|
|
4488
4500
|
}, {
|
|
4489
|
-
readonly name: "
|
|
4501
|
+
readonly name: "startTick";
|
|
4490
4502
|
readonly type: "int24";
|
|
4491
4503
|
readonly internalType: "int24";
|
|
4492
4504
|
}, {
|
|
@@ -4710,7 +4722,7 @@ declare const useLens: () => {
|
|
|
4710
4722
|
readonly type: "uint8";
|
|
4711
4723
|
readonly internalType: "uint8";
|
|
4712
4724
|
}, {
|
|
4713
|
-
readonly name: "
|
|
4725
|
+
readonly name: "startTick";
|
|
4714
4726
|
readonly type: "int24";
|
|
4715
4727
|
readonly internalType: "int24";
|
|
4716
4728
|
}, {
|
|
@@ -4793,7 +4805,7 @@ declare const useLens: () => {
|
|
|
4793
4805
|
readonly type: "uint8";
|
|
4794
4806
|
readonly internalType: "uint8";
|
|
4795
4807
|
}, {
|
|
4796
|
-
readonly name: "
|
|
4808
|
+
readonly name: "startTick";
|
|
4797
4809
|
readonly type: "int24";
|
|
4798
4810
|
readonly internalType: "int24";
|
|
4799
4811
|
}, {
|
|
@@ -4957,7 +4969,7 @@ declare const useLens: () => {
|
|
|
4957
4969
|
readonly type: "uint8";
|
|
4958
4970
|
readonly internalType: "uint8";
|
|
4959
4971
|
}, {
|
|
4960
|
-
readonly name: "
|
|
4972
|
+
readonly name: "startTick";
|
|
4961
4973
|
readonly type: "int24";
|
|
4962
4974
|
readonly internalType: "int24";
|
|
4963
4975
|
}, {
|
|
@@ -5068,7 +5080,7 @@ declare const useLens: () => {
|
|
|
5068
5080
|
borrowedAmount0: bigint;
|
|
5069
5081
|
borrowedAmount1: bigint;
|
|
5070
5082
|
}[]>;
|
|
5071
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
5083
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
5072
5084
|
readonly type: "function";
|
|
5073
5085
|
readonly name: "batchGetRefTick";
|
|
5074
5086
|
readonly inputs: readonly [{
|
|
@@ -5170,7 +5182,7 @@ declare const useLens: () => {
|
|
|
5170
5182
|
readonly type: "uint8";
|
|
5171
5183
|
readonly internalType: "uint8";
|
|
5172
5184
|
}, {
|
|
5173
|
-
readonly name: "
|
|
5185
|
+
readonly name: "startTick";
|
|
5174
5186
|
readonly type: "int24";
|
|
5175
5187
|
readonly internalType: "int24";
|
|
5176
5188
|
}, {
|
|
@@ -5394,7 +5406,7 @@ declare const useLens: () => {
|
|
|
5394
5406
|
readonly type: "uint8";
|
|
5395
5407
|
readonly internalType: "uint8";
|
|
5396
5408
|
}, {
|
|
5397
|
-
readonly name: "
|
|
5409
|
+
readonly name: "startTick";
|
|
5398
5410
|
readonly type: "int24";
|
|
5399
5411
|
readonly internalType: "int24";
|
|
5400
5412
|
}, {
|
|
@@ -5477,7 +5489,7 @@ declare const useLens: () => {
|
|
|
5477
5489
|
readonly type: "uint8";
|
|
5478
5490
|
readonly internalType: "uint8";
|
|
5479
5491
|
}, {
|
|
5480
|
-
readonly name: "
|
|
5492
|
+
readonly name: "startTick";
|
|
5481
5493
|
readonly type: "int24";
|
|
5482
5494
|
readonly internalType: "int24";
|
|
5483
5495
|
}, {
|
|
@@ -5641,7 +5653,7 @@ declare const useLens: () => {
|
|
|
5641
5653
|
readonly type: "uint8";
|
|
5642
5654
|
readonly internalType: "uint8";
|
|
5643
5655
|
}, {
|
|
5644
|
-
readonly name: "
|
|
5656
|
+
readonly name: "startTick";
|
|
5645
5657
|
readonly type: "int24";
|
|
5646
5658
|
readonly internalType: "int24";
|
|
5647
5659
|
}, {
|
|
@@ -5745,7 +5757,7 @@ declare const useLens: () => {
|
|
|
5745
5757
|
optionId: bigint;
|
|
5746
5758
|
owner: `0x${string}`;
|
|
5747
5759
|
optionType: number;
|
|
5748
|
-
|
|
5760
|
+
startTick: number;
|
|
5749
5761
|
strikeTick: number;
|
|
5750
5762
|
entryTick: number;
|
|
5751
5763
|
strikePrice: bigint;
|
|
@@ -5759,7 +5771,7 @@ declare const useLens: () => {
|
|
|
5759
5771
|
expiresAt: bigint;
|
|
5760
5772
|
liquidities: readonly bigint[];
|
|
5761
5773
|
}[], bigint, boolean]>;
|
|
5762
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
5774
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
5763
5775
|
readonly type: "function";
|
|
5764
5776
|
readonly name: "batchGetRefTick";
|
|
5765
5777
|
readonly inputs: readonly [{
|
|
@@ -5861,7 +5873,7 @@ declare const useLens: () => {
|
|
|
5861
5873
|
readonly type: "uint8";
|
|
5862
5874
|
readonly internalType: "uint8";
|
|
5863
5875
|
}, {
|
|
5864
|
-
readonly name: "
|
|
5876
|
+
readonly name: "startTick";
|
|
5865
5877
|
readonly type: "int24";
|
|
5866
5878
|
readonly internalType: "int24";
|
|
5867
5879
|
}, {
|
|
@@ -6085,7 +6097,7 @@ declare const useLens: () => {
|
|
|
6085
6097
|
readonly type: "uint8";
|
|
6086
6098
|
readonly internalType: "uint8";
|
|
6087
6099
|
}, {
|
|
6088
|
-
readonly name: "
|
|
6100
|
+
readonly name: "startTick";
|
|
6089
6101
|
readonly type: "int24";
|
|
6090
6102
|
readonly internalType: "int24";
|
|
6091
6103
|
}, {
|
|
@@ -6168,7 +6180,7 @@ declare const useLens: () => {
|
|
|
6168
6180
|
readonly type: "uint8";
|
|
6169
6181
|
readonly internalType: "uint8";
|
|
6170
6182
|
}, {
|
|
6171
|
-
readonly name: "
|
|
6183
|
+
readonly name: "startTick";
|
|
6172
6184
|
readonly type: "int24";
|
|
6173
6185
|
readonly internalType: "int24";
|
|
6174
6186
|
}, {
|
|
@@ -6332,7 +6344,7 @@ declare const useLens: () => {
|
|
|
6332
6344
|
readonly type: "uint8";
|
|
6333
6345
|
readonly internalType: "uint8";
|
|
6334
6346
|
}, {
|
|
6335
|
-
readonly name: "
|
|
6347
|
+
readonly name: "startTick";
|
|
6336
6348
|
readonly type: "int24";
|
|
6337
6349
|
readonly internalType: "int24";
|
|
6338
6350
|
}, {
|
|
@@ -6433,7 +6445,7 @@ declare const useLens: () => {
|
|
|
6433
6445
|
}];
|
|
6434
6446
|
readonly stateMutability: "view";
|
|
6435
6447
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
6436
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
6448
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
6437
6449
|
readonly type: "function";
|
|
6438
6450
|
readonly name: "batchGetRefTick";
|
|
6439
6451
|
readonly inputs: readonly [{
|
|
@@ -6535,7 +6547,7 @@ declare const useLens: () => {
|
|
|
6535
6547
|
readonly type: "uint8";
|
|
6536
6548
|
readonly internalType: "uint8";
|
|
6537
6549
|
}, {
|
|
6538
|
-
readonly name: "
|
|
6550
|
+
readonly name: "startTick";
|
|
6539
6551
|
readonly type: "int24";
|
|
6540
6552
|
readonly internalType: "int24";
|
|
6541
6553
|
}, {
|
|
@@ -6759,7 +6771,7 @@ declare const useLens: () => {
|
|
|
6759
6771
|
readonly type: "uint8";
|
|
6760
6772
|
readonly internalType: "uint8";
|
|
6761
6773
|
}, {
|
|
6762
|
-
readonly name: "
|
|
6774
|
+
readonly name: "startTick";
|
|
6763
6775
|
readonly type: "int24";
|
|
6764
6776
|
readonly internalType: "int24";
|
|
6765
6777
|
}, {
|
|
@@ -6842,7 +6854,7 @@ declare const useLens: () => {
|
|
|
6842
6854
|
readonly type: "uint8";
|
|
6843
6855
|
readonly internalType: "uint8";
|
|
6844
6856
|
}, {
|
|
6845
|
-
readonly name: "
|
|
6857
|
+
readonly name: "startTick";
|
|
6846
6858
|
readonly type: "int24";
|
|
6847
6859
|
readonly internalType: "int24";
|
|
6848
6860
|
}, {
|
|
@@ -7006,7 +7018,7 @@ declare const useLens: () => {
|
|
|
7006
7018
|
readonly type: "uint8";
|
|
7007
7019
|
readonly internalType: "uint8";
|
|
7008
7020
|
}, {
|
|
7009
|
-
readonly name: "
|
|
7021
|
+
readonly name: "startTick";
|
|
7010
7022
|
readonly type: "int24";
|
|
7011
7023
|
readonly internalType: "int24";
|
|
7012
7024
|
}, {
|
|
@@ -7120,7 +7132,7 @@ declare const useLens: () => {
|
|
|
7120
7132
|
payoutAssetName: string;
|
|
7121
7133
|
optionsCount: bigint;
|
|
7122
7134
|
}>;
|
|
7123
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
7135
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
7124
7136
|
readonly type: "function";
|
|
7125
7137
|
readonly name: "batchGetRefTick";
|
|
7126
7138
|
readonly inputs: readonly [{
|
|
@@ -7222,7 +7234,7 @@ declare const useLens: () => {
|
|
|
7222
7234
|
readonly type: "uint8";
|
|
7223
7235
|
readonly internalType: "uint8";
|
|
7224
7236
|
}, {
|
|
7225
|
-
readonly name: "
|
|
7237
|
+
readonly name: "startTick";
|
|
7226
7238
|
readonly type: "int24";
|
|
7227
7239
|
readonly internalType: "int24";
|
|
7228
7240
|
}, {
|
|
@@ -7446,7 +7458,7 @@ declare const useLens: () => {
|
|
|
7446
7458
|
readonly type: "uint8";
|
|
7447
7459
|
readonly internalType: "uint8";
|
|
7448
7460
|
}, {
|
|
7449
|
-
readonly name: "
|
|
7461
|
+
readonly name: "startTick";
|
|
7450
7462
|
readonly type: "int24";
|
|
7451
7463
|
readonly internalType: "int24";
|
|
7452
7464
|
}, {
|
|
@@ -7529,7 +7541,7 @@ declare const useLens: () => {
|
|
|
7529
7541
|
readonly type: "uint8";
|
|
7530
7542
|
readonly internalType: "uint8";
|
|
7531
7543
|
}, {
|
|
7532
|
-
readonly name: "
|
|
7544
|
+
readonly name: "startTick";
|
|
7533
7545
|
readonly type: "int24";
|
|
7534
7546
|
readonly internalType: "int24";
|
|
7535
7547
|
}, {
|
|
@@ -7693,7 +7705,7 @@ declare const useLens: () => {
|
|
|
7693
7705
|
readonly type: "uint8";
|
|
7694
7706
|
readonly internalType: "uint8";
|
|
7695
7707
|
}, {
|
|
7696
|
-
readonly name: "
|
|
7708
|
+
readonly name: "startTick";
|
|
7697
7709
|
readonly type: "int24";
|
|
7698
7710
|
readonly internalType: "int24";
|
|
7699
7711
|
}, {
|
|
@@ -7794,7 +7806,7 @@ declare const useLens: () => {
|
|
|
7794
7806
|
}];
|
|
7795
7807
|
readonly stateMutability: "view";
|
|
7796
7808
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
7797
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
7809
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
7798
7810
|
readonly type: "function";
|
|
7799
7811
|
readonly name: "batchGetRefTick";
|
|
7800
7812
|
readonly inputs: readonly [{
|
|
@@ -7896,7 +7908,7 @@ declare const useLens: () => {
|
|
|
7896
7908
|
readonly type: "uint8";
|
|
7897
7909
|
readonly internalType: "uint8";
|
|
7898
7910
|
}, {
|
|
7899
|
-
readonly name: "
|
|
7911
|
+
readonly name: "startTick";
|
|
7900
7912
|
readonly type: "int24";
|
|
7901
7913
|
readonly internalType: "int24";
|
|
7902
7914
|
}, {
|
|
@@ -8120,7 +8132,7 @@ declare const useLens: () => {
|
|
|
8120
8132
|
readonly type: "uint8";
|
|
8121
8133
|
readonly internalType: "uint8";
|
|
8122
8134
|
}, {
|
|
8123
|
-
readonly name: "
|
|
8135
|
+
readonly name: "startTick";
|
|
8124
8136
|
readonly type: "int24";
|
|
8125
8137
|
readonly internalType: "int24";
|
|
8126
8138
|
}, {
|
|
@@ -8203,7 +8215,7 @@ declare const useLens: () => {
|
|
|
8203
8215
|
readonly type: "uint8";
|
|
8204
8216
|
readonly internalType: "uint8";
|
|
8205
8217
|
}, {
|
|
8206
|
-
readonly name: "
|
|
8218
|
+
readonly name: "startTick";
|
|
8207
8219
|
readonly type: "int24";
|
|
8208
8220
|
readonly internalType: "int24";
|
|
8209
8221
|
}, {
|
|
@@ -8367,7 +8379,7 @@ declare const useLens: () => {
|
|
|
8367
8379
|
readonly type: "uint8";
|
|
8368
8380
|
readonly internalType: "uint8";
|
|
8369
8381
|
}, {
|
|
8370
|
-
readonly name: "
|
|
8382
|
+
readonly name: "startTick";
|
|
8371
8383
|
readonly type: "int24";
|
|
8372
8384
|
readonly internalType: "int24";
|
|
8373
8385
|
}, {
|
|
@@ -8468,7 +8480,7 @@ declare const useLens: () => {
|
|
|
8468
8480
|
}];
|
|
8469
8481
|
readonly stateMutability: "view";
|
|
8470
8482
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
8471
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
8483
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
8472
8484
|
readonly type: "function";
|
|
8473
8485
|
readonly name: "batchGetRefTick";
|
|
8474
8486
|
readonly inputs: readonly [{
|
|
@@ -8570,7 +8582,7 @@ declare const useLens: () => {
|
|
|
8570
8582
|
readonly type: "uint8";
|
|
8571
8583
|
readonly internalType: "uint8";
|
|
8572
8584
|
}, {
|
|
8573
|
-
readonly name: "
|
|
8585
|
+
readonly name: "startTick";
|
|
8574
8586
|
readonly type: "int24";
|
|
8575
8587
|
readonly internalType: "int24";
|
|
8576
8588
|
}, {
|
|
@@ -8794,7 +8806,7 @@ declare const useLens: () => {
|
|
|
8794
8806
|
readonly type: "uint8";
|
|
8795
8807
|
readonly internalType: "uint8";
|
|
8796
8808
|
}, {
|
|
8797
|
-
readonly name: "
|
|
8809
|
+
readonly name: "startTick";
|
|
8798
8810
|
readonly type: "int24";
|
|
8799
8811
|
readonly internalType: "int24";
|
|
8800
8812
|
}, {
|
|
@@ -8877,7 +8889,7 @@ declare const useLens: () => {
|
|
|
8877
8889
|
readonly type: "uint8";
|
|
8878
8890
|
readonly internalType: "uint8";
|
|
8879
8891
|
}, {
|
|
8880
|
-
readonly name: "
|
|
8892
|
+
readonly name: "startTick";
|
|
8881
8893
|
readonly type: "int24";
|
|
8882
8894
|
readonly internalType: "int24";
|
|
8883
8895
|
}, {
|
|
@@ -9041,7 +9053,7 @@ declare const useLens: () => {
|
|
|
9041
9053
|
readonly type: "uint8";
|
|
9042
9054
|
readonly internalType: "uint8";
|
|
9043
9055
|
}, {
|
|
9044
|
-
readonly name: "
|
|
9056
|
+
readonly name: "startTick";
|
|
9045
9057
|
readonly type: "int24";
|
|
9046
9058
|
readonly internalType: "int24";
|
|
9047
9059
|
}, {
|
|
@@ -9145,7 +9157,7 @@ declare const useLens: () => {
|
|
|
9145
9157
|
optionId: bigint;
|
|
9146
9158
|
owner: `0x${string}`;
|
|
9147
9159
|
optionType: number;
|
|
9148
|
-
|
|
9160
|
+
startTick: number;
|
|
9149
9161
|
strikeTick: number;
|
|
9150
9162
|
entryTick: number;
|
|
9151
9163
|
strikePrice: bigint;
|
|
@@ -9159,7 +9171,7 @@ declare const useLens: () => {
|
|
|
9159
9171
|
expiresAt: bigint;
|
|
9160
9172
|
liquidities: readonly bigint[];
|
|
9161
9173
|
}>;
|
|
9162
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
9174
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
9163
9175
|
readonly type: "function";
|
|
9164
9176
|
readonly name: "batchGetRefTick";
|
|
9165
9177
|
readonly inputs: readonly [{
|
|
@@ -9261,7 +9273,7 @@ declare const useLens: () => {
|
|
|
9261
9273
|
readonly type: "uint8";
|
|
9262
9274
|
readonly internalType: "uint8";
|
|
9263
9275
|
}, {
|
|
9264
|
-
readonly name: "
|
|
9276
|
+
readonly name: "startTick";
|
|
9265
9277
|
readonly type: "int24";
|
|
9266
9278
|
readonly internalType: "int24";
|
|
9267
9279
|
}, {
|
|
@@ -9485,7 +9497,7 @@ declare const useLens: () => {
|
|
|
9485
9497
|
readonly type: "uint8";
|
|
9486
9498
|
readonly internalType: "uint8";
|
|
9487
9499
|
}, {
|
|
9488
|
-
readonly name: "
|
|
9500
|
+
readonly name: "startTick";
|
|
9489
9501
|
readonly type: "int24";
|
|
9490
9502
|
readonly internalType: "int24";
|
|
9491
9503
|
}, {
|
|
@@ -9568,7 +9580,7 @@ declare const useLens: () => {
|
|
|
9568
9580
|
readonly type: "uint8";
|
|
9569
9581
|
readonly internalType: "uint8";
|
|
9570
9582
|
}, {
|
|
9571
|
-
readonly name: "
|
|
9583
|
+
readonly name: "startTick";
|
|
9572
9584
|
readonly type: "int24";
|
|
9573
9585
|
readonly internalType: "int24";
|
|
9574
9586
|
}, {
|
|
@@ -9732,7 +9744,7 @@ declare const useLens: () => {
|
|
|
9732
9744
|
readonly type: "uint8";
|
|
9733
9745
|
readonly internalType: "uint8";
|
|
9734
9746
|
}, {
|
|
9735
|
-
readonly name: "
|
|
9747
|
+
readonly name: "startTick";
|
|
9736
9748
|
readonly type: "int24";
|
|
9737
9749
|
readonly internalType: "int24";
|
|
9738
9750
|
}, {
|
|
@@ -9836,7 +9848,7 @@ declare const useLens: () => {
|
|
|
9836
9848
|
optionId: bigint;
|
|
9837
9849
|
owner: `0x${string}`;
|
|
9838
9850
|
optionType: number;
|
|
9839
|
-
|
|
9851
|
+
startTick: number;
|
|
9840
9852
|
strikeTick: number;
|
|
9841
9853
|
entryTick: number;
|
|
9842
9854
|
strikePrice: bigint;
|
|
@@ -9850,7 +9862,7 @@ declare const useLens: () => {
|
|
|
9850
9862
|
expiresAt: bigint;
|
|
9851
9863
|
liquidities: readonly bigint[];
|
|
9852
9864
|
}[]>;
|
|
9853
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
9865
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
9854
9866
|
readonly type: "function";
|
|
9855
9867
|
readonly name: "batchGetRefTick";
|
|
9856
9868
|
readonly inputs: readonly [{
|
|
@@ -9952,7 +9964,7 @@ declare const useLens: () => {
|
|
|
9952
9964
|
readonly type: "uint8";
|
|
9953
9965
|
readonly internalType: "uint8";
|
|
9954
9966
|
}, {
|
|
9955
|
-
readonly name: "
|
|
9967
|
+
readonly name: "startTick";
|
|
9956
9968
|
readonly type: "int24";
|
|
9957
9969
|
readonly internalType: "int24";
|
|
9958
9970
|
}, {
|
|
@@ -10176,7 +10188,7 @@ declare const useLens: () => {
|
|
|
10176
10188
|
readonly type: "uint8";
|
|
10177
10189
|
readonly internalType: "uint8";
|
|
10178
10190
|
}, {
|
|
10179
|
-
readonly name: "
|
|
10191
|
+
readonly name: "startTick";
|
|
10180
10192
|
readonly type: "int24";
|
|
10181
10193
|
readonly internalType: "int24";
|
|
10182
10194
|
}, {
|
|
@@ -10259,7 +10271,7 @@ declare const useLens: () => {
|
|
|
10259
10271
|
readonly type: "uint8";
|
|
10260
10272
|
readonly internalType: "uint8";
|
|
10261
10273
|
}, {
|
|
10262
|
-
readonly name: "
|
|
10274
|
+
readonly name: "startTick";
|
|
10263
10275
|
readonly type: "int24";
|
|
10264
10276
|
readonly internalType: "int24";
|
|
10265
10277
|
}, {
|
|
@@ -10423,7 +10435,7 @@ declare const useLens: () => {
|
|
|
10423
10435
|
readonly type: "uint8";
|
|
10424
10436
|
readonly internalType: "uint8";
|
|
10425
10437
|
}, {
|
|
10426
|
-
readonly name: "
|
|
10438
|
+
readonly name: "startTick";
|
|
10427
10439
|
readonly type: "int24";
|
|
10428
10440
|
readonly internalType: "int24";
|
|
10429
10441
|
}, {
|
|
@@ -10535,7 +10547,7 @@ declare const useLens: () => {
|
|
|
10535
10547
|
tickSpacing: number;
|
|
10536
10548
|
fee: number;
|
|
10537
10549
|
}>;
|
|
10538
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
10550
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
10539
10551
|
readonly type: "function";
|
|
10540
10552
|
readonly name: "batchGetRefTick";
|
|
10541
10553
|
readonly inputs: readonly [{
|
|
@@ -10637,7 +10649,7 @@ declare const useLens: () => {
|
|
|
10637
10649
|
readonly type: "uint8";
|
|
10638
10650
|
readonly internalType: "uint8";
|
|
10639
10651
|
}, {
|
|
10640
|
-
readonly name: "
|
|
10652
|
+
readonly name: "startTick";
|
|
10641
10653
|
readonly type: "int24";
|
|
10642
10654
|
readonly internalType: "int24";
|
|
10643
10655
|
}, {
|
|
@@ -10861,7 +10873,7 @@ declare const useLens: () => {
|
|
|
10861
10873
|
readonly type: "uint8";
|
|
10862
10874
|
readonly internalType: "uint8";
|
|
10863
10875
|
}, {
|
|
10864
|
-
readonly name: "
|
|
10876
|
+
readonly name: "startTick";
|
|
10865
10877
|
readonly type: "int24";
|
|
10866
10878
|
readonly internalType: "int24";
|
|
10867
10879
|
}, {
|
|
@@ -10944,7 +10956,7 @@ declare const useLens: () => {
|
|
|
10944
10956
|
readonly type: "uint8";
|
|
10945
10957
|
readonly internalType: "uint8";
|
|
10946
10958
|
}, {
|
|
10947
|
-
readonly name: "
|
|
10959
|
+
readonly name: "startTick";
|
|
10948
10960
|
readonly type: "int24";
|
|
10949
10961
|
readonly internalType: "int24";
|
|
10950
10962
|
}, {
|
|
@@ -11108,7 +11120,7 @@ declare const useLens: () => {
|
|
|
11108
11120
|
readonly type: "uint8";
|
|
11109
11121
|
readonly internalType: "uint8";
|
|
11110
11122
|
}, {
|
|
11111
|
-
readonly name: "
|
|
11123
|
+
readonly name: "startTick";
|
|
11112
11124
|
readonly type: "int24";
|
|
11113
11125
|
readonly internalType: "int24";
|
|
11114
11126
|
}, {
|
|
@@ -11209,7 +11221,7 @@ declare const useLens: () => {
|
|
|
11209
11221
|
}];
|
|
11210
11222
|
readonly stateMutability: "view";
|
|
11211
11223
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
11212
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
11224
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
11213
11225
|
readonly type: "function";
|
|
11214
11226
|
readonly name: "batchGetRefTick";
|
|
11215
11227
|
readonly inputs: readonly [{
|
|
@@ -11311,7 +11323,7 @@ declare const useLens: () => {
|
|
|
11311
11323
|
readonly type: "uint8";
|
|
11312
11324
|
readonly internalType: "uint8";
|
|
11313
11325
|
}, {
|
|
11314
|
-
readonly name: "
|
|
11326
|
+
readonly name: "startTick";
|
|
11315
11327
|
readonly type: "int24";
|
|
11316
11328
|
readonly internalType: "int24";
|
|
11317
11329
|
}, {
|
|
@@ -11535,7 +11547,7 @@ declare const useLens: () => {
|
|
|
11535
11547
|
readonly type: "uint8";
|
|
11536
11548
|
readonly internalType: "uint8";
|
|
11537
11549
|
}, {
|
|
11538
|
-
readonly name: "
|
|
11550
|
+
readonly name: "startTick";
|
|
11539
11551
|
readonly type: "int24";
|
|
11540
11552
|
readonly internalType: "int24";
|
|
11541
11553
|
}, {
|
|
@@ -11618,7 +11630,7 @@ declare const useLens: () => {
|
|
|
11618
11630
|
readonly type: "uint8";
|
|
11619
11631
|
readonly internalType: "uint8";
|
|
11620
11632
|
}, {
|
|
11621
|
-
readonly name: "
|
|
11633
|
+
readonly name: "startTick";
|
|
11622
11634
|
readonly type: "int24";
|
|
11623
11635
|
readonly internalType: "int24";
|
|
11624
11636
|
}, {
|
|
@@ -11782,7 +11794,7 @@ declare const useLens: () => {
|
|
|
11782
11794
|
readonly type: "uint8";
|
|
11783
11795
|
readonly internalType: "uint8";
|
|
11784
11796
|
}, {
|
|
11785
|
-
readonly name: "
|
|
11797
|
+
readonly name: "startTick";
|
|
11786
11798
|
readonly type: "int24";
|
|
11787
11799
|
readonly internalType: "int24";
|
|
11788
11800
|
}, {
|
|
@@ -11886,7 +11898,7 @@ declare const useLens: () => {
|
|
|
11886
11898
|
optionId: bigint;
|
|
11887
11899
|
owner: `0x${string}`;
|
|
11888
11900
|
optionType: number;
|
|
11889
|
-
|
|
11901
|
+
startTick: number;
|
|
11890
11902
|
strikeTick: number;
|
|
11891
11903
|
entryTick: number;
|
|
11892
11904
|
strikePrice: bigint;
|
|
@@ -11900,7 +11912,7 @@ declare const useLens: () => {
|
|
|
11900
11912
|
expiresAt: bigint;
|
|
11901
11913
|
liquidities: readonly bigint[];
|
|
11902
11914
|
}[], bigint, boolean]>;
|
|
11903
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
11915
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
11904
11916
|
readonly type: "function";
|
|
11905
11917
|
readonly name: "batchGetRefTick";
|
|
11906
11918
|
readonly inputs: readonly [{
|
|
@@ -12002,7 +12014,7 @@ declare const useLens: () => {
|
|
|
12002
12014
|
readonly type: "uint8";
|
|
12003
12015
|
readonly internalType: "uint8";
|
|
12004
12016
|
}, {
|
|
12005
|
-
readonly name: "
|
|
12017
|
+
readonly name: "startTick";
|
|
12006
12018
|
readonly type: "int24";
|
|
12007
12019
|
readonly internalType: "int24";
|
|
12008
12020
|
}, {
|
|
@@ -12226,7 +12238,7 @@ declare const useLens: () => {
|
|
|
12226
12238
|
readonly type: "uint8";
|
|
12227
12239
|
readonly internalType: "uint8";
|
|
12228
12240
|
}, {
|
|
12229
|
-
readonly name: "
|
|
12241
|
+
readonly name: "startTick";
|
|
12230
12242
|
readonly type: "int24";
|
|
12231
12243
|
readonly internalType: "int24";
|
|
12232
12244
|
}, {
|
|
@@ -12309,7 +12321,7 @@ declare const useLens: () => {
|
|
|
12309
12321
|
readonly type: "uint8";
|
|
12310
12322
|
readonly internalType: "uint8";
|
|
12311
12323
|
}, {
|
|
12312
|
-
readonly name: "
|
|
12324
|
+
readonly name: "startTick";
|
|
12313
12325
|
readonly type: "int24";
|
|
12314
12326
|
readonly internalType: "int24";
|
|
12315
12327
|
}, {
|
|
@@ -12473,7 +12485,7 @@ declare const useLens: () => {
|
|
|
12473
12485
|
readonly type: "uint8";
|
|
12474
12486
|
readonly internalType: "uint8";
|
|
12475
12487
|
}, {
|
|
12476
|
-
readonly name: "
|
|
12488
|
+
readonly name: "startTick";
|
|
12477
12489
|
readonly type: "int24";
|
|
12478
12490
|
readonly internalType: "int24";
|
|
12479
12491
|
}, {
|
|
@@ -12678,7 +12690,7 @@ declare const useLens: () => {
|
|
|
12678
12690
|
readonly type: "uint8";
|
|
12679
12691
|
readonly internalType: "uint8";
|
|
12680
12692
|
}, {
|
|
12681
|
-
readonly name: "
|
|
12693
|
+
readonly name: "startTick";
|
|
12682
12694
|
readonly type: "int24";
|
|
12683
12695
|
readonly internalType: "int24";
|
|
12684
12696
|
}, {
|
|
@@ -12902,7 +12914,7 @@ declare const useLens: () => {
|
|
|
12902
12914
|
readonly type: "uint8";
|
|
12903
12915
|
readonly internalType: "uint8";
|
|
12904
12916
|
}, {
|
|
12905
|
-
readonly name: "
|
|
12917
|
+
readonly name: "startTick";
|
|
12906
12918
|
readonly type: "int24";
|
|
12907
12919
|
readonly internalType: "int24";
|
|
12908
12920
|
}, {
|
|
@@ -12985,7 +12997,7 @@ declare const useLens: () => {
|
|
|
12985
12997
|
readonly type: "uint8";
|
|
12986
12998
|
readonly internalType: "uint8";
|
|
12987
12999
|
}, {
|
|
12988
|
-
readonly name: "
|
|
13000
|
+
readonly name: "startTick";
|
|
12989
13001
|
readonly type: "int24";
|
|
12990
13002
|
readonly internalType: "int24";
|
|
12991
13003
|
}, {
|
|
@@ -13149,7 +13161,7 @@ declare const useLens: () => {
|
|
|
13149
13161
|
readonly type: "uint8";
|
|
13150
13162
|
readonly internalType: "uint8";
|
|
13151
13163
|
}, {
|
|
13152
|
-
readonly name: "
|
|
13164
|
+
readonly name: "startTick";
|
|
13153
13165
|
readonly type: "int24";
|
|
13154
13166
|
readonly internalType: "int24";
|
|
13155
13167
|
}, {
|
|
@@ -13253,7 +13265,7 @@ declare const useLens: () => {
|
|
|
13253
13265
|
} | undefined;
|
|
13254
13266
|
uniswapLens: {
|
|
13255
13267
|
read: {
|
|
13256
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
13268
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
13257
13269
|
readonly type: "function";
|
|
13258
13270
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13259
13271
|
readonly inputs: readonly [{
|
|
@@ -13874,7 +13886,7 @@ declare const useLens: () => {
|
|
|
13874
13886
|
}];
|
|
13875
13887
|
readonly stateMutability: "pure";
|
|
13876
13888
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13877
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
13889
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
13878
13890
|
readonly type: "function";
|
|
13879
13891
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13880
13892
|
readonly inputs: readonly [{
|
|
@@ -14495,7 +14507,7 @@ declare const useLens: () => {
|
|
|
14495
14507
|
}];
|
|
14496
14508
|
readonly stateMutability: "pure";
|
|
14497
14509
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14498
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
14510
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
14499
14511
|
readonly type: "function";
|
|
14500
14512
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14501
14513
|
readonly inputs: readonly [{
|
|
@@ -15116,7 +15128,7 @@ declare const useLens: () => {
|
|
|
15116
15128
|
}];
|
|
15117
15129
|
readonly stateMutability: "pure";
|
|
15118
15130
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
15119
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
15131
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
15120
15132
|
readonly type: "function";
|
|
15121
15133
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15122
15134
|
readonly inputs: readonly [{
|
|
@@ -15737,7 +15749,7 @@ declare const useLens: () => {
|
|
|
15737
15749
|
}];
|
|
15738
15750
|
readonly stateMutability: "pure";
|
|
15739
15751
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
15740
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
15752
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
15741
15753
|
readonly type: "function";
|
|
15742
15754
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15743
15755
|
readonly inputs: readonly [{
|
|
@@ -16358,7 +16370,7 @@ declare const useLens: () => {
|
|
|
16358
16370
|
}];
|
|
16359
16371
|
readonly stateMutability: "pure";
|
|
16360
16372
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
16361
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
16373
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
16362
16374
|
readonly type: "function";
|
|
16363
16375
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16364
16376
|
readonly inputs: readonly [{
|
|
@@ -16979,7 +16991,7 @@ declare const useLens: () => {
|
|
|
16979
16991
|
}];
|
|
16980
16992
|
readonly stateMutability: "pure";
|
|
16981
16993
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
16982
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
16994
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
16983
16995
|
readonly type: "function";
|
|
16984
16996
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16985
16997
|
readonly inputs: readonly [{
|
|
@@ -17600,7 +17612,7 @@ declare const useLens: () => {
|
|
|
17600
17612
|
}];
|
|
17601
17613
|
readonly stateMutability: "pure";
|
|
17602
17614
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
17603
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
17615
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
17604
17616
|
readonly type: "function";
|
|
17605
17617
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17606
17618
|
readonly inputs: readonly [{
|
|
@@ -18221,7 +18233,7 @@ declare const useLens: () => {
|
|
|
18221
18233
|
}];
|
|
18222
18234
|
readonly stateMutability: "pure";
|
|
18223
18235
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18224
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
18236
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
18225
18237
|
readonly type: "function";
|
|
18226
18238
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18227
18239
|
readonly inputs: readonly [{
|
|
@@ -18842,7 +18854,7 @@ declare const useLens: () => {
|
|
|
18842
18854
|
}];
|
|
18843
18855
|
readonly stateMutability: "pure";
|
|
18844
18856
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18845
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
18857
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
18846
18858
|
readonly type: "function";
|
|
18847
18859
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18848
18860
|
readonly inputs: readonly [{
|
|
@@ -19463,7 +19475,7 @@ declare const useLens: () => {
|
|
|
19463
19475
|
}];
|
|
19464
19476
|
readonly stateMutability: "pure";
|
|
19465
19477
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
19466
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
19478
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
19467
19479
|
readonly type: "function";
|
|
19468
19480
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19469
19481
|
readonly inputs: readonly [{
|
|
@@ -20084,7 +20096,7 @@ declare const useLens: () => {
|
|
|
20084
20096
|
}];
|
|
20085
20097
|
readonly stateMutability: "pure";
|
|
20086
20098
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20087
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
20099
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
20088
20100
|
readonly type: "function";
|
|
20089
20101
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20090
20102
|
readonly inputs: readonly [{
|
|
@@ -20705,7 +20717,7 @@ declare const useLens: () => {
|
|
|
20705
20717
|
}];
|
|
20706
20718
|
readonly stateMutability: "pure";
|
|
20707
20719
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20708
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
20720
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
20709
20721
|
readonly type: "function";
|
|
20710
20722
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20711
20723
|
readonly inputs: readonly [{
|
|
@@ -21326,7 +21338,7 @@ declare const useLens: () => {
|
|
|
21326
21338
|
}];
|
|
21327
21339
|
readonly stateMutability: "pure";
|
|
21328
21340
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
21329
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
21341
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
21330
21342
|
readonly type: "function";
|
|
21331
21343
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21332
21344
|
readonly inputs: readonly [{
|
|
@@ -21947,7 +21959,7 @@ declare const useLens: () => {
|
|
|
21947
21959
|
}];
|
|
21948
21960
|
readonly stateMutability: "pure";
|
|
21949
21961
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21950
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
21962
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
21951
21963
|
readonly type: "function";
|
|
21952
21964
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21953
21965
|
readonly inputs: readonly [{
|
|
@@ -22568,7 +22580,7 @@ declare const useLens: () => {
|
|
|
22568
22580
|
}];
|
|
22569
22581
|
readonly stateMutability: "pure";
|
|
22570
22582
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
22571
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
22583
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
22572
22584
|
readonly type: "function";
|
|
22573
22585
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
22574
22586
|
readonly inputs: readonly [{
|
|
@@ -23189,7 +23201,7 @@ declare const useLens: () => {
|
|
|
23189
23201
|
}];
|
|
23190
23202
|
readonly stateMutability: "pure";
|
|
23191
23203
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
23192
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
23204
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
23193
23205
|
readonly type: "function";
|
|
23194
23206
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23195
23207
|
readonly inputs: readonly [{
|
|
@@ -23810,7 +23822,7 @@ declare const useLens: () => {
|
|
|
23810
23822
|
}];
|
|
23811
23823
|
readonly stateMutability: "pure";
|
|
23812
23824
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
23813
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
23825
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
23814
23826
|
readonly type: "function";
|
|
23815
23827
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23816
23828
|
readonly inputs: readonly [{
|
|
@@ -24431,7 +24443,7 @@ declare const useLens: () => {
|
|
|
24431
24443
|
}];
|
|
24432
24444
|
readonly stateMutability: "pure";
|
|
24433
24445
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
24434
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
24446
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
24435
24447
|
readonly type: "function";
|
|
24436
24448
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
24437
24449
|
readonly inputs: readonly [{
|
|
@@ -25052,7 +25064,7 @@ declare const useLens: () => {
|
|
|
25052
25064
|
}];
|
|
25053
25065
|
readonly stateMutability: "pure";
|
|
25054
25066
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
25055
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
25067
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
25056
25068
|
readonly type: "function";
|
|
25057
25069
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25058
25070
|
readonly inputs: readonly [{
|
|
@@ -25673,7 +25685,7 @@ declare const useLens: () => {
|
|
|
25673
25685
|
}];
|
|
25674
25686
|
readonly stateMutability: "pure";
|
|
25675
25687
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25676
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
25688
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
25677
25689
|
readonly type: "function";
|
|
25678
25690
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25679
25691
|
readonly inputs: readonly [{
|
|
@@ -26294,7 +26306,7 @@ declare const useLens: () => {
|
|
|
26294
26306
|
}];
|
|
26295
26307
|
readonly stateMutability: "pure";
|
|
26296
26308
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26297
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
26309
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
26298
26310
|
readonly type: "function";
|
|
26299
26311
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26300
26312
|
readonly inputs: readonly [{
|
|
@@ -26915,7 +26927,7 @@ declare const useLens: () => {
|
|
|
26915
26927
|
}];
|
|
26916
26928
|
readonly stateMutability: "pure";
|
|
26917
26929
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26918
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
26930
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
26919
26931
|
readonly type: "function";
|
|
26920
26932
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26921
26933
|
readonly inputs: readonly [{
|
|
@@ -27536,7 +27548,7 @@ declare const useLens: () => {
|
|
|
27536
27548
|
}];
|
|
27537
27549
|
readonly stateMutability: "pure";
|
|
27538
27550
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27539
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
27551
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
27540
27552
|
readonly type: "function";
|
|
27541
27553
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
27542
27554
|
readonly inputs: readonly [{
|
|
@@ -28157,7 +28169,7 @@ declare const useLens: () => {
|
|
|
28157
28169
|
}];
|
|
28158
28170
|
readonly stateMutability: "pure";
|
|
28159
28171
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
28160
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
28172
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
28161
28173
|
readonly type: "function";
|
|
28162
28174
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
28163
28175
|
readonly inputs: readonly [{
|
|
@@ -28778,7 +28790,7 @@ declare const useLens: () => {
|
|
|
28778
28790
|
}];
|
|
28779
28791
|
readonly stateMutability: "pure";
|
|
28780
28792
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
28781
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
28793
|
+
getPriceAtTick: (args: readonly [number], options?: viem14.Prettify<viem14.UnionOmit<viem14.ReadContractParameters<readonly [{
|
|
28782
28794
|
readonly type: "function";
|
|
28783
28795
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
28784
28796
|
readonly inputs: readonly [{
|
|
@@ -30025,5 +30037,5 @@ declare const useLens: () => {
|
|
|
30025
30037
|
} | undefined;
|
|
30026
30038
|
};
|
|
30027
30039
|
//#endregion
|
|
30028
|
-
export { LiquidityBlockData, OptionData, TimelockMarketProvider, UniswapPoolData, batchGetAmountsFromLiquidity, useActiveUserOptions, useBurnLiquidity, useClosedUserOptions, useCurrentMarket, useCurrentPrice, useCurrentTick, useExerciseOption, useExtendOption, useLens, useLiquidityBlocks, useMarketData, useMaxPositionSize, useMintLiquidity, useMintOption, useOptionPnl, useOptionPremium, usePoolData, usePriceAtTick, usePriceHistory, useTimelockConfig, useUserOperators, useVaultData, useVaultTVL };
|
|
30040
|
+
export { LiquidityBlockData, OptionData, TimelockMarketProvider, UniswapPoolData, batchGetAmountsFromLiquidity, useActiveUserOptions, useBurnLiquidity, useClosedUserOptions, useCurrentMarket, useCurrentPrice, useCurrentTick, useExerciseOption, useExtendOption, useLens, useLiquidityBlocks, useMarketData, useMaxPositionSize, useMintLiquidity, useMintOption, useOptionPnl, useOptionPremium, usePoolData, usePriceAtTick, usePriceHistory, useSetOperatorPerms, useTimelockConfig, useUserOperators, useVaultData, useVaultTVL };
|
|
30029
30041
|
//# sourceMappingURL=client.d.ts.map
|