timelock-sdk 0.0.64 → 0.0.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.cjs +48 -4
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +76 -65
- package/dist/client.d.ts +137 -126
- package/dist/client.js +48 -5
- package/dist/client.js.map +1 -1
- package/dist/{index-CDYUCwzA.d.cts → index-C7ZrOL-D.d.cts} +92 -92
- package/dist/{index-BIkdgG3y.d.ts → index-ZCeoylWY.d.ts} +92 -92
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./uniswapMathLens-Ddy91uWa.js";
|
|
2
|
-
import { D as TimelockMarketData, O as UniswapMathLens, d as Amount } from "./index-
|
|
3
|
-
import * as
|
|
2
|
+
import { D as TimelockMarketData, O as UniswapMathLens, d as Amount } from "./index-ZCeoylWY.js";
|
|
3
|
+
import * as viem0 from "viem";
|
|
4
4
|
import { Address } from "viem";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
6
6
|
import * as wagmi0 from "wagmi";
|
|
@@ -9,7 +9,7 @@ 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
|
|
12
|
+
import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
13
13
|
import * as node_modules__wagmi_core_dist_types_errors_base0 from "node_modules/@wagmi/core/dist/types/errors/base";
|
|
14
14
|
import * as node_modules_viem__types_errors_abi0 from "node_modules/viem/_types/errors/abi";
|
|
15
15
|
import * as node_modules_viem__types_errors_account0 from "node_modules/viem/_types/errors/account";
|
|
@@ -242,7 +242,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
242
242
|
isRefetching: boolean;
|
|
243
243
|
isStale: boolean;
|
|
244
244
|
isEnabled: boolean;
|
|
245
|
-
refetch: (options?:
|
|
245
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
246
246
|
optionId: bigint;
|
|
247
247
|
marketAddr: Address;
|
|
248
248
|
ownerAddr: Address;
|
|
@@ -281,7 +281,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
281
281
|
transactionHash: string;
|
|
282
282
|
} | null;
|
|
283
283
|
}[], Error>>;
|
|
284
|
-
fetchStatus:
|
|
284
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
285
285
|
promise: Promise<{
|
|
286
286
|
optionId: bigint;
|
|
287
287
|
marketAddr: Address;
|
|
@@ -383,7 +383,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
383
383
|
isRefetching: boolean;
|
|
384
384
|
isStale: boolean;
|
|
385
385
|
isEnabled: boolean;
|
|
386
|
-
refetch: (options?:
|
|
386
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
387
387
|
optionId: bigint;
|
|
388
388
|
marketAddr: Address;
|
|
389
389
|
ownerAddr: Address;
|
|
@@ -422,7 +422,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
422
422
|
transactionHash: string;
|
|
423
423
|
} | null;
|
|
424
424
|
}[], Error>>;
|
|
425
|
-
fetchStatus:
|
|
425
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
426
426
|
promise: Promise<{
|
|
427
427
|
optionId: bigint;
|
|
428
428
|
marketAddr: Address;
|
|
@@ -524,7 +524,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
524
524
|
isRefetching: boolean;
|
|
525
525
|
isStale: boolean;
|
|
526
526
|
isEnabled: boolean;
|
|
527
|
-
refetch: (options?:
|
|
527
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
528
528
|
optionId: bigint;
|
|
529
529
|
marketAddr: Address;
|
|
530
530
|
ownerAddr: Address;
|
|
@@ -563,7 +563,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
563
563
|
transactionHash: string;
|
|
564
564
|
} | null;
|
|
565
565
|
}[], Error>>;
|
|
566
|
-
fetchStatus:
|
|
566
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
567
567
|
promise: Promise<{
|
|
568
568
|
optionId: bigint;
|
|
569
569
|
marketAddr: Address;
|
|
@@ -665,7 +665,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
665
665
|
isRefetching: boolean;
|
|
666
666
|
isStale: boolean;
|
|
667
667
|
isEnabled: boolean;
|
|
668
|
-
refetch: (options?:
|
|
668
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
669
669
|
optionId: bigint;
|
|
670
670
|
marketAddr: Address;
|
|
671
671
|
ownerAddr: Address;
|
|
@@ -704,7 +704,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
704
704
|
transactionHash: string;
|
|
705
705
|
} | null;
|
|
706
706
|
}[], Error>>;
|
|
707
|
-
fetchStatus:
|
|
707
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
708
708
|
promise: Promise<{
|
|
709
709
|
optionId: bigint;
|
|
710
710
|
marketAddr: Address;
|
|
@@ -806,7 +806,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
806
806
|
isRefetching: boolean;
|
|
807
807
|
isStale: boolean;
|
|
808
808
|
isEnabled: boolean;
|
|
809
|
-
refetch: (options?:
|
|
809
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
810
810
|
optionId: bigint;
|
|
811
811
|
marketAddr: Address;
|
|
812
812
|
ownerAddr: Address;
|
|
@@ -845,7 +845,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
845
845
|
transactionHash: string;
|
|
846
846
|
} | null;
|
|
847
847
|
}[], Error>>;
|
|
848
|
-
fetchStatus:
|
|
848
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
849
849
|
promise: Promise<{
|
|
850
850
|
optionId: bigint;
|
|
851
851
|
marketAddr: Address;
|
|
@@ -947,7 +947,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
947
947
|
isRefetching: boolean;
|
|
948
948
|
isStale: boolean;
|
|
949
949
|
isEnabled: boolean;
|
|
950
|
-
refetch: (options?:
|
|
950
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
951
951
|
optionId: bigint;
|
|
952
952
|
marketAddr: Address;
|
|
953
953
|
ownerAddr: Address;
|
|
@@ -986,7 +986,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
986
986
|
transactionHash: string;
|
|
987
987
|
} | null;
|
|
988
988
|
}[], Error>>;
|
|
989
|
-
fetchStatus:
|
|
989
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
990
990
|
promise: Promise<{
|
|
991
991
|
optionId: bigint;
|
|
992
992
|
marketAddr: Address;
|
|
@@ -1089,7 +1089,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1089
1089
|
isRefetching: boolean;
|
|
1090
1090
|
isStale: boolean;
|
|
1091
1091
|
isEnabled: boolean;
|
|
1092
|
-
refetch: (options?:
|
|
1092
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1093
1093
|
optionId: bigint;
|
|
1094
1094
|
marketAddr: Address;
|
|
1095
1095
|
ownerAddr: Address;
|
|
@@ -1128,7 +1128,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1128
1128
|
transactionHash: string;
|
|
1129
1129
|
} | null;
|
|
1130
1130
|
}[], Error>>;
|
|
1131
|
-
fetchStatus:
|
|
1131
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1132
1132
|
promise: Promise<{
|
|
1133
1133
|
optionId: bigint;
|
|
1134
1134
|
marketAddr: Address;
|
|
@@ -1230,7 +1230,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1230
1230
|
isRefetching: boolean;
|
|
1231
1231
|
isStale: boolean;
|
|
1232
1232
|
isEnabled: boolean;
|
|
1233
|
-
refetch: (options?:
|
|
1233
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1234
1234
|
optionId: bigint;
|
|
1235
1235
|
marketAddr: Address;
|
|
1236
1236
|
ownerAddr: Address;
|
|
@@ -1269,7 +1269,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1269
1269
|
transactionHash: string;
|
|
1270
1270
|
} | null;
|
|
1271
1271
|
}[], Error>>;
|
|
1272
|
-
fetchStatus:
|
|
1272
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1273
1273
|
promise: Promise<{
|
|
1274
1274
|
optionId: bigint;
|
|
1275
1275
|
marketAddr: Address;
|
|
@@ -1371,7 +1371,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1371
1371
|
isRefetching: boolean;
|
|
1372
1372
|
isStale: boolean;
|
|
1373
1373
|
isEnabled: boolean;
|
|
1374
|
-
refetch: (options?:
|
|
1374
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1375
1375
|
optionId: bigint;
|
|
1376
1376
|
marketAddr: Address;
|
|
1377
1377
|
ownerAddr: Address;
|
|
@@ -1410,7 +1410,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1410
1410
|
transactionHash: string;
|
|
1411
1411
|
} | null;
|
|
1412
1412
|
}[], Error>>;
|
|
1413
|
-
fetchStatus:
|
|
1413
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1414
1414
|
promise: Promise<{
|
|
1415
1415
|
optionId: bigint;
|
|
1416
1416
|
marketAddr: Address;
|
|
@@ -1512,7 +1512,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1512
1512
|
isRefetching: boolean;
|
|
1513
1513
|
isStale: boolean;
|
|
1514
1514
|
isEnabled: boolean;
|
|
1515
|
-
refetch: (options?:
|
|
1515
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1516
1516
|
optionId: bigint;
|
|
1517
1517
|
marketAddr: Address;
|
|
1518
1518
|
ownerAddr: Address;
|
|
@@ -1551,7 +1551,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1551
1551
|
transactionHash: string;
|
|
1552
1552
|
} | null;
|
|
1553
1553
|
}[], Error>>;
|
|
1554
|
-
fetchStatus:
|
|
1554
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1555
1555
|
promise: Promise<{
|
|
1556
1556
|
optionId: bigint;
|
|
1557
1557
|
marketAddr: Address;
|
|
@@ -1653,7 +1653,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1653
1653
|
isRefetching: boolean;
|
|
1654
1654
|
isStale: boolean;
|
|
1655
1655
|
isEnabled: boolean;
|
|
1656
|
-
refetch: (options?:
|
|
1656
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1657
1657
|
optionId: bigint;
|
|
1658
1658
|
marketAddr: Address;
|
|
1659
1659
|
ownerAddr: Address;
|
|
@@ -1692,7 +1692,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1692
1692
|
transactionHash: string;
|
|
1693
1693
|
} | null;
|
|
1694
1694
|
}[], Error>>;
|
|
1695
|
-
fetchStatus:
|
|
1695
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1696
1696
|
promise: Promise<{
|
|
1697
1697
|
optionId: bigint;
|
|
1698
1698
|
marketAddr: Address;
|
|
@@ -1794,7 +1794,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1794
1794
|
isRefetching: boolean;
|
|
1795
1795
|
isStale: boolean;
|
|
1796
1796
|
isEnabled: boolean;
|
|
1797
|
-
refetch: (options?:
|
|
1797
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1798
1798
|
optionId: bigint;
|
|
1799
1799
|
marketAddr: Address;
|
|
1800
1800
|
ownerAddr: Address;
|
|
@@ -1833,7 +1833,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1833
1833
|
transactionHash: string;
|
|
1834
1834
|
} | null;
|
|
1835
1835
|
}[], Error>>;
|
|
1836
|
-
fetchStatus:
|
|
1836
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1837
1837
|
promise: Promise<{
|
|
1838
1838
|
optionId: bigint;
|
|
1839
1839
|
marketAddr: Address;
|
|
@@ -1936,7 +1936,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1936
1936
|
isRefetching: boolean;
|
|
1937
1937
|
isStale: boolean;
|
|
1938
1938
|
isEnabled: boolean;
|
|
1939
|
-
refetch: (options?:
|
|
1939
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1940
1940
|
optionId: bigint;
|
|
1941
1941
|
marketAddr: Address;
|
|
1942
1942
|
ownerAddr: Address;
|
|
@@ -1975,7 +1975,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1975
1975
|
transactionHash: string;
|
|
1976
1976
|
} | null;
|
|
1977
1977
|
}[], Error>>;
|
|
1978
|
-
fetchStatus:
|
|
1978
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1979
1979
|
promise: Promise<{
|
|
1980
1980
|
optionId: bigint;
|
|
1981
1981
|
marketAddr: Address;
|
|
@@ -2077,7 +2077,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2077
2077
|
isRefetching: boolean;
|
|
2078
2078
|
isStale: boolean;
|
|
2079
2079
|
isEnabled: boolean;
|
|
2080
|
-
refetch: (options?:
|
|
2080
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
2081
2081
|
optionId: bigint;
|
|
2082
2082
|
marketAddr: Address;
|
|
2083
2083
|
ownerAddr: Address;
|
|
@@ -2116,7 +2116,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2116
2116
|
transactionHash: string;
|
|
2117
2117
|
} | null;
|
|
2118
2118
|
}[], Error>>;
|
|
2119
|
-
fetchStatus:
|
|
2119
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2120
2120
|
promise: Promise<{
|
|
2121
2121
|
optionId: bigint;
|
|
2122
2122
|
marketAddr: Address;
|
|
@@ -2218,7 +2218,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2218
2218
|
isRefetching: boolean;
|
|
2219
2219
|
isStale: boolean;
|
|
2220
2220
|
isEnabled: boolean;
|
|
2221
|
-
refetch: (options?:
|
|
2221
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
2222
2222
|
optionId: bigint;
|
|
2223
2223
|
marketAddr: Address;
|
|
2224
2224
|
ownerAddr: Address;
|
|
@@ -2257,7 +2257,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2257
2257
|
transactionHash: string;
|
|
2258
2258
|
} | null;
|
|
2259
2259
|
}[], Error>>;
|
|
2260
|
-
fetchStatus:
|
|
2260
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2261
2261
|
promise: Promise<{
|
|
2262
2262
|
optionId: bigint;
|
|
2263
2263
|
marketAddr: Address;
|
|
@@ -2359,7 +2359,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2359
2359
|
isRefetching: boolean;
|
|
2360
2360
|
isStale: boolean;
|
|
2361
2361
|
isEnabled: boolean;
|
|
2362
|
-
refetch: (options?:
|
|
2362
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
2363
2363
|
optionId: bigint;
|
|
2364
2364
|
marketAddr: Address;
|
|
2365
2365
|
ownerAddr: Address;
|
|
@@ -2398,7 +2398,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2398
2398
|
transactionHash: string;
|
|
2399
2399
|
} | null;
|
|
2400
2400
|
}[], Error>>;
|
|
2401
|
-
fetchStatus:
|
|
2401
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2402
2402
|
promise: Promise<{
|
|
2403
2403
|
optionId: bigint;
|
|
2404
2404
|
marketAddr: Address;
|
|
@@ -2500,7 +2500,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2500
2500
|
isRefetching: boolean;
|
|
2501
2501
|
isStale: boolean;
|
|
2502
2502
|
isEnabled: boolean;
|
|
2503
|
-
refetch: (options?:
|
|
2503
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
2504
2504
|
optionId: bigint;
|
|
2505
2505
|
marketAddr: Address;
|
|
2506
2506
|
ownerAddr: Address;
|
|
@@ -2539,7 +2539,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2539
2539
|
transactionHash: string;
|
|
2540
2540
|
} | null;
|
|
2541
2541
|
}[], Error>>;
|
|
2542
|
-
fetchStatus:
|
|
2542
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2543
2543
|
promise: Promise<{
|
|
2544
2544
|
optionId: bigint;
|
|
2545
2545
|
marketAddr: Address;
|
|
@@ -2641,7 +2641,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2641
2641
|
isRefetching: boolean;
|
|
2642
2642
|
isStale: boolean;
|
|
2643
2643
|
isEnabled: boolean;
|
|
2644
|
-
refetch: (options?:
|
|
2644
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
2645
2645
|
optionId: bigint;
|
|
2646
2646
|
marketAddr: Address;
|
|
2647
2647
|
ownerAddr: Address;
|
|
@@ -2680,7 +2680,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2680
2680
|
transactionHash: string;
|
|
2681
2681
|
} | null;
|
|
2682
2682
|
}[], Error>>;
|
|
2683
|
-
fetchStatus:
|
|
2683
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2684
2684
|
promise: Promise<{
|
|
2685
2685
|
optionId: bigint;
|
|
2686
2686
|
marketAddr: Address;
|
|
@@ -2807,7 +2807,7 @@ declare const useMintOption: (marketAddr?: Address) => {
|
|
|
2807
2807
|
isPending: boolean;
|
|
2808
2808
|
isConfirming: boolean;
|
|
2809
2809
|
isSuccess: boolean;
|
|
2810
|
-
error: wagmi0.ConnectorAccountNotFoundErrorType | wagmi0.ConnectorChainMismatchErrorType | _wagmi_core0.ConnectorNotConnectedErrorType | wagmi0.ConnectorUnavailableReconnectingErrorType |
|
|
2810
|
+
error: wagmi0.ConnectorAccountNotFoundErrorType | wagmi0.ConnectorChainMismatchErrorType | _wagmi_core0.ConnectorNotConnectedErrorType | wagmi0.ConnectorUnavailableReconnectingErrorType | viem0.BaseErrorType | node_modules__wagmi_core_dist_types_errors_base0.ErrorType | node_modules__wagmi_core_dist_types_errors_base0.BaseErrorType | viem0.AbiFunctionNotFoundErrorType | viem0.AbiEncodingLengthMismatchErrorType | viem0.InvalidAddressErrorType | viem0.AbiEncodingArrayLengthMismatchErrorType | viem0.IntegerOutOfRangeErrorType | viem0.SizeExceedsPaddingSizeErrorType | viem0.InvalidArrayErrorType | viem0.AbiEncodingBytesSizeMismatchErrorType | viem0.SizeOverflowErrorType | viem0.SliceOffsetOutOfBoundsErrorType | viem0.InvalidAbiEncodingTypeErrorType | viem0.InvalidDefinitionTypeErrorType | node_modules_viem__types_errors_abi0.AbiItemAmbiguityErrorType | node_modules_viem__types_errors_account0.AccountNotFoundErrorType | viem0.GetContractErrorReturnType<viem0.SendTransactionErrorType> | null;
|
|
2811
2811
|
isLoading: boolean;
|
|
2812
2812
|
isApprovalPending: boolean;
|
|
2813
2813
|
approvalError: _wagmi_core0.WriteContractErrorType | null;
|
|
@@ -2838,7 +2838,7 @@ declare const useExtendOption: (marketAddr?: Address) => {
|
|
|
2838
2838
|
isPending: boolean;
|
|
2839
2839
|
isConfirming: boolean;
|
|
2840
2840
|
isSuccess: boolean;
|
|
2841
|
-
error: wagmi0.ConnectorAccountNotFoundErrorType | wagmi0.ConnectorChainMismatchErrorType | _wagmi_core0.ConnectorNotConnectedErrorType | wagmi0.ConnectorUnavailableReconnectingErrorType |
|
|
2841
|
+
error: wagmi0.ConnectorAccountNotFoundErrorType | wagmi0.ConnectorChainMismatchErrorType | _wagmi_core0.ConnectorNotConnectedErrorType | wagmi0.ConnectorUnavailableReconnectingErrorType | viem0.BaseErrorType | node_modules__wagmi_core_dist_types_errors_base0.ErrorType | node_modules__wagmi_core_dist_types_errors_base0.BaseErrorType | viem0.AbiFunctionNotFoundErrorType | viem0.AbiEncodingLengthMismatchErrorType | viem0.InvalidAddressErrorType | viem0.AbiEncodingArrayLengthMismatchErrorType | viem0.IntegerOutOfRangeErrorType | viem0.SizeExceedsPaddingSizeErrorType | viem0.InvalidArrayErrorType | viem0.AbiEncodingBytesSizeMismatchErrorType | viem0.SizeOverflowErrorType | viem0.SliceOffsetOutOfBoundsErrorType | viem0.InvalidAbiEncodingTypeErrorType | viem0.InvalidDefinitionTypeErrorType | node_modules_viem__types_errors_abi0.AbiItemAmbiguityErrorType | node_modules_viem__types_errors_account0.AccountNotFoundErrorType | viem0.GetContractErrorReturnType<viem0.SendTransactionErrorType> | null;
|
|
2842
2842
|
isLoading: boolean;
|
|
2843
2843
|
isApprovalPending: boolean;
|
|
2844
2844
|
approvalError: _wagmi_core0.WriteContractErrorType | null;
|
|
@@ -2883,7 +2883,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2883
2883
|
isRefetching: boolean;
|
|
2884
2884
|
isStale: boolean;
|
|
2885
2885
|
isEnabled: boolean;
|
|
2886
|
-
refetch: (options?:
|
|
2886
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
2887
2887
|
spendingApproval: bigint;
|
|
2888
2888
|
operatorAddr: string;
|
|
2889
2889
|
__typename: "UserMarketOperator";
|
|
@@ -2897,7 +2897,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2897
2897
|
address: string;
|
|
2898
2898
|
} | null;
|
|
2899
2899
|
}[] | undefined, Error>>;
|
|
2900
|
-
fetchStatus:
|
|
2900
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2901
2901
|
promise: Promise<{
|
|
2902
2902
|
spendingApproval: bigint;
|
|
2903
2903
|
operatorAddr: string;
|
|
@@ -2949,7 +2949,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2949
2949
|
isRefetching: boolean;
|
|
2950
2950
|
isStale: boolean;
|
|
2951
2951
|
isEnabled: boolean;
|
|
2952
|
-
refetch: (options?:
|
|
2952
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
2953
2953
|
spendingApproval: bigint;
|
|
2954
2954
|
operatorAddr: string;
|
|
2955
2955
|
__typename: "UserMarketOperator";
|
|
@@ -2963,7 +2963,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2963
2963
|
address: string;
|
|
2964
2964
|
} | null;
|
|
2965
2965
|
}[] | undefined, Error>>;
|
|
2966
|
-
fetchStatus:
|
|
2966
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2967
2967
|
promise: Promise<{
|
|
2968
2968
|
spendingApproval: bigint;
|
|
2969
2969
|
operatorAddr: string;
|
|
@@ -3015,7 +3015,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3015
3015
|
isRefetching: boolean;
|
|
3016
3016
|
isStale: boolean;
|
|
3017
3017
|
isEnabled: boolean;
|
|
3018
|
-
refetch: (options?:
|
|
3018
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
3019
3019
|
spendingApproval: bigint;
|
|
3020
3020
|
operatorAddr: string;
|
|
3021
3021
|
__typename: "UserMarketOperator";
|
|
@@ -3029,7 +3029,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3029
3029
|
address: string;
|
|
3030
3030
|
} | null;
|
|
3031
3031
|
}[] | undefined, Error>>;
|
|
3032
|
-
fetchStatus:
|
|
3032
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3033
3033
|
promise: Promise<{
|
|
3034
3034
|
spendingApproval: bigint;
|
|
3035
3035
|
operatorAddr: string;
|
|
@@ -3081,7 +3081,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3081
3081
|
isRefetching: boolean;
|
|
3082
3082
|
isStale: boolean;
|
|
3083
3083
|
isEnabled: boolean;
|
|
3084
|
-
refetch: (options?:
|
|
3084
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
3085
3085
|
spendingApproval: bigint;
|
|
3086
3086
|
operatorAddr: string;
|
|
3087
3087
|
__typename: "UserMarketOperator";
|
|
@@ -3095,7 +3095,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3095
3095
|
address: string;
|
|
3096
3096
|
} | null;
|
|
3097
3097
|
}[] | undefined, Error>>;
|
|
3098
|
-
fetchStatus:
|
|
3098
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3099
3099
|
promise: Promise<{
|
|
3100
3100
|
spendingApproval: bigint;
|
|
3101
3101
|
operatorAddr: string;
|
|
@@ -3147,7 +3147,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3147
3147
|
isRefetching: boolean;
|
|
3148
3148
|
isStale: boolean;
|
|
3149
3149
|
isEnabled: boolean;
|
|
3150
|
-
refetch: (options?:
|
|
3150
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
3151
3151
|
spendingApproval: bigint;
|
|
3152
3152
|
operatorAddr: string;
|
|
3153
3153
|
__typename: "UserMarketOperator";
|
|
@@ -3161,7 +3161,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3161
3161
|
address: string;
|
|
3162
3162
|
} | null;
|
|
3163
3163
|
}[] | undefined, Error>>;
|
|
3164
|
-
fetchStatus:
|
|
3164
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3165
3165
|
promise: Promise<{
|
|
3166
3166
|
spendingApproval: bigint;
|
|
3167
3167
|
operatorAddr: string;
|
|
@@ -3213,7 +3213,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3213
3213
|
isRefetching: boolean;
|
|
3214
3214
|
isStale: boolean;
|
|
3215
3215
|
isEnabled: boolean;
|
|
3216
|
-
refetch: (options?:
|
|
3216
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
3217
3217
|
spendingApproval: bigint;
|
|
3218
3218
|
operatorAddr: string;
|
|
3219
3219
|
__typename: "UserMarketOperator";
|
|
@@ -3227,7 +3227,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3227
3227
|
address: string;
|
|
3228
3228
|
} | null;
|
|
3229
3229
|
}[] | undefined, Error>>;
|
|
3230
|
-
fetchStatus:
|
|
3230
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3231
3231
|
promise: Promise<{
|
|
3232
3232
|
spendingApproval: bigint;
|
|
3233
3233
|
operatorAddr: string;
|
|
@@ -3244,6 +3244,17 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3244
3244
|
}[] | undefined>;
|
|
3245
3245
|
};
|
|
3246
3246
|
//#endregion
|
|
3247
|
+
//#region src/hooks/market/useSetOperatorPerms.d.ts
|
|
3248
|
+
declare const useSetOperatorPerms: (marketAddr?: Address) => {
|
|
3249
|
+
setOperatorPerms: (operator: Address, canExtend: boolean, canExercise: boolean, canTransfer: boolean, canMint: boolean, spendingApproval: bigint) => Promise<`0x${string}`>;
|
|
3250
|
+
hash: `0x${string}` | undefined;
|
|
3251
|
+
isPending: boolean;
|
|
3252
|
+
isConfirming: boolean;
|
|
3253
|
+
isSuccess: boolean;
|
|
3254
|
+
error: _wagmi_core0.WriteContractErrorType | null;
|
|
3255
|
+
isLoading: boolean;
|
|
3256
|
+
};
|
|
3257
|
+
//#endregion
|
|
3247
3258
|
//#region src/hooks/pool/useCurrentPrice.d.ts
|
|
3248
3259
|
declare const useCurrentPrice: (poolAddr?: Address) => {
|
|
3249
3260
|
currentPrice: Amount | undefined;
|
|
@@ -3308,7 +3319,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
3308
3319
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
3309
3320
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
3310
3321
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
3311
|
-
error:
|
|
3322
|
+
error: viem0.ReadContractErrorType;
|
|
3312
3323
|
isError: true;
|
|
3313
3324
|
isPending: false;
|
|
3314
3325
|
isLoading: false;
|
|
@@ -3320,7 +3331,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3320
3331
|
dataUpdatedAt: number;
|
|
3321
3332
|
errorUpdatedAt: number;
|
|
3322
3333
|
failureCount: number;
|
|
3323
|
-
failureReason:
|
|
3334
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
3324
3335
|
errorUpdateCount: number;
|
|
3325
3336
|
isFetched: boolean;
|
|
3326
3337
|
isFetchedAfterMount: boolean;
|
|
@@ -3330,7 +3341,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3330
3341
|
isRefetching: boolean;
|
|
3331
3342
|
isStale: boolean;
|
|
3332
3343
|
isEnabled: boolean;
|
|
3333
|
-
refetch: (options?:
|
|
3344
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
3334
3345
|
tickLower: number;
|
|
3335
3346
|
tickUpper: number;
|
|
3336
3347
|
prevTickLower: number;
|
|
@@ -3340,8 +3351,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3340
3351
|
totalAmount1: bigint;
|
|
3341
3352
|
borrowedAmount0: bigint;
|
|
3342
3353
|
borrowedAmount1: bigint;
|
|
3343
|
-
}[],
|
|
3344
|
-
fetchStatus:
|
|
3354
|
+
}[], viem0.ReadContractErrorType>>;
|
|
3355
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3345
3356
|
promise: Promise<readonly {
|
|
3346
3357
|
tickLower: number;
|
|
3347
3358
|
tickUpper: number;
|
|
@@ -3353,7 +3364,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3353
3364
|
borrowedAmount0: bigint;
|
|
3354
3365
|
borrowedAmount1: bigint;
|
|
3355
3366
|
}[]>;
|
|
3356
|
-
queryKey:
|
|
3367
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
3357
3368
|
data: readonly {
|
|
3358
3369
|
tickLower: number;
|
|
3359
3370
|
tickUpper: number;
|
|
@@ -3378,7 +3389,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3378
3389
|
dataUpdatedAt: number;
|
|
3379
3390
|
errorUpdatedAt: number;
|
|
3380
3391
|
failureCount: number;
|
|
3381
|
-
failureReason:
|
|
3392
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
3382
3393
|
errorUpdateCount: number;
|
|
3383
3394
|
isFetched: boolean;
|
|
3384
3395
|
isFetchedAfterMount: boolean;
|
|
@@ -3388,7 +3399,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3388
3399
|
isRefetching: boolean;
|
|
3389
3400
|
isStale: boolean;
|
|
3390
3401
|
isEnabled: boolean;
|
|
3391
|
-
refetch: (options?:
|
|
3402
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
3392
3403
|
tickLower: number;
|
|
3393
3404
|
tickUpper: number;
|
|
3394
3405
|
prevTickLower: number;
|
|
@@ -3398,8 +3409,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3398
3409
|
totalAmount1: bigint;
|
|
3399
3410
|
borrowedAmount0: bigint;
|
|
3400
3411
|
borrowedAmount1: bigint;
|
|
3401
|
-
}[],
|
|
3402
|
-
fetchStatus:
|
|
3412
|
+
}[], viem0.ReadContractErrorType>>;
|
|
3413
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3403
3414
|
promise: Promise<readonly {
|
|
3404
3415
|
tickLower: number;
|
|
3405
3416
|
tickUpper: number;
|
|
@@ -3411,7 +3422,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3411
3422
|
borrowedAmount0: bigint;
|
|
3412
3423
|
borrowedAmount1: bigint;
|
|
3413
3424
|
}[]>;
|
|
3414
|
-
queryKey:
|
|
3425
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
3415
3426
|
data: readonly {
|
|
3416
3427
|
tickLower: number;
|
|
3417
3428
|
tickUpper: number;
|
|
@@ -3424,7 +3435,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3424
3435
|
borrowedAmount1: bigint;
|
|
3425
3436
|
}[];
|
|
3426
3437
|
} | {
|
|
3427
|
-
error:
|
|
3438
|
+
error: viem0.ReadContractErrorType;
|
|
3428
3439
|
isError: true;
|
|
3429
3440
|
isPending: false;
|
|
3430
3441
|
isLoading: false;
|
|
@@ -3436,7 +3447,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3436
3447
|
dataUpdatedAt: number;
|
|
3437
3448
|
errorUpdatedAt: number;
|
|
3438
3449
|
failureCount: number;
|
|
3439
|
-
failureReason:
|
|
3450
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
3440
3451
|
errorUpdateCount: number;
|
|
3441
3452
|
isFetched: boolean;
|
|
3442
3453
|
isFetchedAfterMount: boolean;
|
|
@@ -3446,7 +3457,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3446
3457
|
isRefetching: boolean;
|
|
3447
3458
|
isStale: boolean;
|
|
3448
3459
|
isEnabled: boolean;
|
|
3449
|
-
refetch: (options?:
|
|
3460
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
3450
3461
|
tickLower: number;
|
|
3451
3462
|
tickUpper: number;
|
|
3452
3463
|
prevTickLower: number;
|
|
@@ -3456,8 +3467,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3456
3467
|
totalAmount1: bigint;
|
|
3457
3468
|
borrowedAmount0: bigint;
|
|
3458
3469
|
borrowedAmount1: bigint;
|
|
3459
|
-
}[],
|
|
3460
|
-
fetchStatus:
|
|
3470
|
+
}[], viem0.ReadContractErrorType>>;
|
|
3471
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3461
3472
|
promise: Promise<readonly {
|
|
3462
3473
|
tickLower: number;
|
|
3463
3474
|
tickUpper: number;
|
|
@@ -3469,7 +3480,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3469
3480
|
borrowedAmount0: bigint;
|
|
3470
3481
|
borrowedAmount1: bigint;
|
|
3471
3482
|
}[]>;
|
|
3472
|
-
queryKey:
|
|
3483
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
3473
3484
|
data: readonly {
|
|
3474
3485
|
tickLower: number;
|
|
3475
3486
|
tickUpper: number;
|
|
@@ -3494,7 +3505,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3494
3505
|
dataUpdatedAt: number;
|
|
3495
3506
|
errorUpdatedAt: number;
|
|
3496
3507
|
failureCount: number;
|
|
3497
|
-
failureReason:
|
|
3508
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
3498
3509
|
errorUpdateCount: number;
|
|
3499
3510
|
isFetched: boolean;
|
|
3500
3511
|
isFetchedAfterMount: boolean;
|
|
@@ -3504,7 +3515,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3504
3515
|
isRefetching: boolean;
|
|
3505
3516
|
isStale: boolean;
|
|
3506
3517
|
isEnabled: boolean;
|
|
3507
|
-
refetch: (options?:
|
|
3518
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
3508
3519
|
tickLower: number;
|
|
3509
3520
|
tickUpper: number;
|
|
3510
3521
|
prevTickLower: number;
|
|
@@ -3514,8 +3525,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3514
3525
|
totalAmount1: bigint;
|
|
3515
3526
|
borrowedAmount0: bigint;
|
|
3516
3527
|
borrowedAmount1: bigint;
|
|
3517
|
-
}[],
|
|
3518
|
-
fetchStatus:
|
|
3528
|
+
}[], viem0.ReadContractErrorType>>;
|
|
3529
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3519
3530
|
promise: Promise<readonly {
|
|
3520
3531
|
tickLower: number;
|
|
3521
3532
|
tickUpper: number;
|
|
@@ -3527,7 +3538,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3527
3538
|
borrowedAmount0: bigint;
|
|
3528
3539
|
borrowedAmount1: bigint;
|
|
3529
3540
|
}[]>;
|
|
3530
|
-
queryKey:
|
|
3541
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
3531
3542
|
data: readonly {
|
|
3532
3543
|
tickLower: number;
|
|
3533
3544
|
tickUpper: number;
|
|
@@ -3551,7 +3562,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3551
3562
|
dataUpdatedAt: number;
|
|
3552
3563
|
errorUpdatedAt: number;
|
|
3553
3564
|
failureCount: number;
|
|
3554
|
-
failureReason:
|
|
3565
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
3555
3566
|
errorUpdateCount: number;
|
|
3556
3567
|
isFetched: boolean;
|
|
3557
3568
|
isFetchedAfterMount: boolean;
|
|
@@ -3562,7 +3573,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3562
3573
|
isRefetching: boolean;
|
|
3563
3574
|
isStale: boolean;
|
|
3564
3575
|
isEnabled: boolean;
|
|
3565
|
-
refetch: (options?:
|
|
3576
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
3566
3577
|
tickLower: number;
|
|
3567
3578
|
tickUpper: number;
|
|
3568
3579
|
prevTickLower: number;
|
|
@@ -3572,8 +3583,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3572
3583
|
totalAmount1: bigint;
|
|
3573
3584
|
borrowedAmount0: bigint;
|
|
3574
3585
|
borrowedAmount1: bigint;
|
|
3575
|
-
}[],
|
|
3576
|
-
fetchStatus:
|
|
3586
|
+
}[], viem0.ReadContractErrorType>>;
|
|
3587
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3577
3588
|
promise: Promise<readonly {
|
|
3578
3589
|
tickLower: number;
|
|
3579
3590
|
tickUpper: number;
|
|
@@ -3585,7 +3596,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3585
3596
|
borrowedAmount0: bigint;
|
|
3586
3597
|
borrowedAmount1: bigint;
|
|
3587
3598
|
}[]>;
|
|
3588
|
-
queryKey:
|
|
3599
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
3589
3600
|
data: readonly {
|
|
3590
3601
|
tickLower: number;
|
|
3591
3602
|
tickUpper: number;
|
|
@@ -3610,7 +3621,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3610
3621
|
dataUpdatedAt: number;
|
|
3611
3622
|
errorUpdatedAt: number;
|
|
3612
3623
|
failureCount: number;
|
|
3613
|
-
failureReason:
|
|
3624
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
3614
3625
|
errorUpdateCount: number;
|
|
3615
3626
|
isFetched: boolean;
|
|
3616
3627
|
isFetchedAfterMount: boolean;
|
|
@@ -3620,7 +3631,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3620
3631
|
isRefetching: boolean;
|
|
3621
3632
|
isStale: boolean;
|
|
3622
3633
|
isEnabled: boolean;
|
|
3623
|
-
refetch: (options?:
|
|
3634
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
3624
3635
|
tickLower: number;
|
|
3625
3636
|
tickUpper: number;
|
|
3626
3637
|
prevTickLower: number;
|
|
@@ -3630,8 +3641,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3630
3641
|
totalAmount1: bigint;
|
|
3631
3642
|
borrowedAmount0: bigint;
|
|
3632
3643
|
borrowedAmount1: bigint;
|
|
3633
|
-
}[],
|
|
3634
|
-
fetchStatus:
|
|
3644
|
+
}[], viem0.ReadContractErrorType>>;
|
|
3645
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3635
3646
|
promise: Promise<readonly {
|
|
3636
3647
|
tickLower: number;
|
|
3637
3648
|
tickUpper: number;
|
|
@@ -3643,7 +3654,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3643
3654
|
borrowedAmount0: bigint;
|
|
3644
3655
|
borrowedAmount1: bigint;
|
|
3645
3656
|
}[]>;
|
|
3646
|
-
queryKey:
|
|
3657
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
3647
3658
|
data: readonly {
|
|
3648
3659
|
tickLower: number;
|
|
3649
3660
|
tickUpper: number;
|
|
@@ -3703,14 +3714,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
3703
3714
|
borrowedAmount0: Amount;
|
|
3704
3715
|
borrowedAmount1: Amount;
|
|
3705
3716
|
blocksCount: bigint;
|
|
3706
|
-
refetch: (options?:
|
|
3717
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem0.ReadContractErrorType>>;
|
|
3707
3718
|
};
|
|
3708
3719
|
//#endregion
|
|
3709
3720
|
//#region src/hooks/useLens.d.ts
|
|
3710
3721
|
declare const useLens: () => {
|
|
3711
3722
|
timelockLens: {
|
|
3712
3723
|
read: {
|
|
3713
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
3724
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
3714
3725
|
readonly type: "function";
|
|
3715
3726
|
readonly name: "batchGetRefTick";
|
|
3716
3727
|
readonly inputs: readonly [{
|
|
@@ -4384,7 +4395,7 @@ declare const useLens: () => {
|
|
|
4384
4395
|
}];
|
|
4385
4396
|
readonly stateMutability: "view";
|
|
4386
4397
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
4387
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
4398
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
4388
4399
|
readonly type: "function";
|
|
4389
4400
|
readonly name: "batchGetRefTick";
|
|
4390
4401
|
readonly inputs: readonly [{
|
|
@@ -5068,7 +5079,7 @@ declare const useLens: () => {
|
|
|
5068
5079
|
borrowedAmount0: bigint;
|
|
5069
5080
|
borrowedAmount1: bigint;
|
|
5070
5081
|
}[]>;
|
|
5071
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
5082
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
5072
5083
|
readonly type: "function";
|
|
5073
5084
|
readonly name: "batchGetRefTick";
|
|
5074
5085
|
readonly inputs: readonly [{
|
|
@@ -5759,7 +5770,7 @@ declare const useLens: () => {
|
|
|
5759
5770
|
expiresAt: bigint;
|
|
5760
5771
|
liquidities: readonly bigint[];
|
|
5761
5772
|
}[], bigint, boolean]>;
|
|
5762
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
5773
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
5763
5774
|
readonly type: "function";
|
|
5764
5775
|
readonly name: "batchGetRefTick";
|
|
5765
5776
|
readonly inputs: readonly [{
|
|
@@ -6433,7 +6444,7 @@ declare const useLens: () => {
|
|
|
6433
6444
|
}];
|
|
6434
6445
|
readonly stateMutability: "view";
|
|
6435
6446
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
6436
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
6447
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
6437
6448
|
readonly type: "function";
|
|
6438
6449
|
readonly name: "batchGetRefTick";
|
|
6439
6450
|
readonly inputs: readonly [{
|
|
@@ -7120,7 +7131,7 @@ declare const useLens: () => {
|
|
|
7120
7131
|
payoutAssetName: string;
|
|
7121
7132
|
optionsCount: bigint;
|
|
7122
7133
|
}>;
|
|
7123
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
7134
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
7124
7135
|
readonly type: "function";
|
|
7125
7136
|
readonly name: "batchGetRefTick";
|
|
7126
7137
|
readonly inputs: readonly [{
|
|
@@ -7794,7 +7805,7 @@ declare const useLens: () => {
|
|
|
7794
7805
|
}];
|
|
7795
7806
|
readonly stateMutability: "view";
|
|
7796
7807
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
7797
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
7808
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
7798
7809
|
readonly type: "function";
|
|
7799
7810
|
readonly name: "batchGetRefTick";
|
|
7800
7811
|
readonly inputs: readonly [{
|
|
@@ -8468,7 +8479,7 @@ declare const useLens: () => {
|
|
|
8468
8479
|
}];
|
|
8469
8480
|
readonly stateMutability: "view";
|
|
8470
8481
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
8471
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
8482
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
8472
8483
|
readonly type: "function";
|
|
8473
8484
|
readonly name: "batchGetRefTick";
|
|
8474
8485
|
readonly inputs: readonly [{
|
|
@@ -9159,7 +9170,7 @@ declare const useLens: () => {
|
|
|
9159
9170
|
expiresAt: bigint;
|
|
9160
9171
|
liquidities: readonly bigint[];
|
|
9161
9172
|
}>;
|
|
9162
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
9173
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
9163
9174
|
readonly type: "function";
|
|
9164
9175
|
readonly name: "batchGetRefTick";
|
|
9165
9176
|
readonly inputs: readonly [{
|
|
@@ -9850,7 +9861,7 @@ declare const useLens: () => {
|
|
|
9850
9861
|
expiresAt: bigint;
|
|
9851
9862
|
liquidities: readonly bigint[];
|
|
9852
9863
|
}[]>;
|
|
9853
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
9864
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
9854
9865
|
readonly type: "function";
|
|
9855
9866
|
readonly name: "batchGetRefTick";
|
|
9856
9867
|
readonly inputs: readonly [{
|
|
@@ -10535,7 +10546,7 @@ declare const useLens: () => {
|
|
|
10535
10546
|
tickSpacing: number;
|
|
10536
10547
|
fee: number;
|
|
10537
10548
|
}>;
|
|
10538
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
10549
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
10539
10550
|
readonly type: "function";
|
|
10540
10551
|
readonly name: "batchGetRefTick";
|
|
10541
10552
|
readonly inputs: readonly [{
|
|
@@ -11209,7 +11220,7 @@ declare const useLens: () => {
|
|
|
11209
11220
|
}];
|
|
11210
11221
|
readonly stateMutability: "view";
|
|
11211
11222
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
11212
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
11223
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
11213
11224
|
readonly type: "function";
|
|
11214
11225
|
readonly name: "batchGetRefTick";
|
|
11215
11226
|
readonly inputs: readonly [{
|
|
@@ -11900,7 +11911,7 @@ declare const useLens: () => {
|
|
|
11900
11911
|
expiresAt: bigint;
|
|
11901
11912
|
liquidities: readonly bigint[];
|
|
11902
11913
|
}[], bigint, boolean]>;
|
|
11903
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
11914
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
11904
11915
|
readonly type: "function";
|
|
11905
11916
|
readonly name: "batchGetRefTick";
|
|
11906
11917
|
readonly inputs: readonly [{
|
|
@@ -13253,7 +13264,7 @@ declare const useLens: () => {
|
|
|
13253
13264
|
} | undefined;
|
|
13254
13265
|
uniswapLens: {
|
|
13255
13266
|
read: {
|
|
13256
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
13267
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
13257
13268
|
readonly type: "function";
|
|
13258
13269
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13259
13270
|
readonly inputs: readonly [{
|
|
@@ -13874,7 +13885,7 @@ declare const useLens: () => {
|
|
|
13874
13885
|
}];
|
|
13875
13886
|
readonly stateMutability: "pure";
|
|
13876
13887
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13877
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
13888
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
13878
13889
|
readonly type: "function";
|
|
13879
13890
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13880
13891
|
readonly inputs: readonly [{
|
|
@@ -14495,7 +14506,7 @@ declare const useLens: () => {
|
|
|
14495
14506
|
}];
|
|
14496
14507
|
readonly stateMutability: "pure";
|
|
14497
14508
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14498
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
14509
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
14499
14510
|
readonly type: "function";
|
|
14500
14511
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14501
14512
|
readonly inputs: readonly [{
|
|
@@ -15116,7 +15127,7 @@ declare const useLens: () => {
|
|
|
15116
15127
|
}];
|
|
15117
15128
|
readonly stateMutability: "pure";
|
|
15118
15129
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
15119
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
15130
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
15120
15131
|
readonly type: "function";
|
|
15121
15132
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15122
15133
|
readonly inputs: readonly [{
|
|
@@ -15737,7 +15748,7 @@ declare const useLens: () => {
|
|
|
15737
15748
|
}];
|
|
15738
15749
|
readonly stateMutability: "pure";
|
|
15739
15750
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
15740
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
15751
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
15741
15752
|
readonly type: "function";
|
|
15742
15753
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15743
15754
|
readonly inputs: readonly [{
|
|
@@ -16358,7 +16369,7 @@ declare const useLens: () => {
|
|
|
16358
16369
|
}];
|
|
16359
16370
|
readonly stateMutability: "pure";
|
|
16360
16371
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
16361
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
16372
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
16362
16373
|
readonly type: "function";
|
|
16363
16374
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16364
16375
|
readonly inputs: readonly [{
|
|
@@ -16979,7 +16990,7 @@ declare const useLens: () => {
|
|
|
16979
16990
|
}];
|
|
16980
16991
|
readonly stateMutability: "pure";
|
|
16981
16992
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
16982
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
16993
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
16983
16994
|
readonly type: "function";
|
|
16984
16995
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16985
16996
|
readonly inputs: readonly [{
|
|
@@ -17600,7 +17611,7 @@ declare const useLens: () => {
|
|
|
17600
17611
|
}];
|
|
17601
17612
|
readonly stateMutability: "pure";
|
|
17602
17613
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
17603
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
17614
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
17604
17615
|
readonly type: "function";
|
|
17605
17616
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17606
17617
|
readonly inputs: readonly [{
|
|
@@ -18221,7 +18232,7 @@ declare const useLens: () => {
|
|
|
18221
18232
|
}];
|
|
18222
18233
|
readonly stateMutability: "pure";
|
|
18223
18234
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18224
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
18235
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
18225
18236
|
readonly type: "function";
|
|
18226
18237
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18227
18238
|
readonly inputs: readonly [{
|
|
@@ -18842,7 +18853,7 @@ declare const useLens: () => {
|
|
|
18842
18853
|
}];
|
|
18843
18854
|
readonly stateMutability: "pure";
|
|
18844
18855
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18845
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
18856
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
18846
18857
|
readonly type: "function";
|
|
18847
18858
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18848
18859
|
readonly inputs: readonly [{
|
|
@@ -19463,7 +19474,7 @@ declare const useLens: () => {
|
|
|
19463
19474
|
}];
|
|
19464
19475
|
readonly stateMutability: "pure";
|
|
19465
19476
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
19466
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
19477
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
19467
19478
|
readonly type: "function";
|
|
19468
19479
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19469
19480
|
readonly inputs: readonly [{
|
|
@@ -20084,7 +20095,7 @@ declare const useLens: () => {
|
|
|
20084
20095
|
}];
|
|
20085
20096
|
readonly stateMutability: "pure";
|
|
20086
20097
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20087
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
20098
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
20088
20099
|
readonly type: "function";
|
|
20089
20100
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20090
20101
|
readonly inputs: readonly [{
|
|
@@ -20705,7 +20716,7 @@ declare const useLens: () => {
|
|
|
20705
20716
|
}];
|
|
20706
20717
|
readonly stateMutability: "pure";
|
|
20707
20718
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20708
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
20719
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
20709
20720
|
readonly type: "function";
|
|
20710
20721
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20711
20722
|
readonly inputs: readonly [{
|
|
@@ -21326,7 +21337,7 @@ declare const useLens: () => {
|
|
|
21326
21337
|
}];
|
|
21327
21338
|
readonly stateMutability: "pure";
|
|
21328
21339
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
21329
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
21340
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
21330
21341
|
readonly type: "function";
|
|
21331
21342
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21332
21343
|
readonly inputs: readonly [{
|
|
@@ -21947,7 +21958,7 @@ declare const useLens: () => {
|
|
|
21947
21958
|
}];
|
|
21948
21959
|
readonly stateMutability: "pure";
|
|
21949
21960
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21950
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
21961
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
21951
21962
|
readonly type: "function";
|
|
21952
21963
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21953
21964
|
readonly inputs: readonly [{
|
|
@@ -22568,7 +22579,7 @@ declare const useLens: () => {
|
|
|
22568
22579
|
}];
|
|
22569
22580
|
readonly stateMutability: "pure";
|
|
22570
22581
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
22571
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
22582
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
22572
22583
|
readonly type: "function";
|
|
22573
22584
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
22574
22585
|
readonly inputs: readonly [{
|
|
@@ -23189,7 +23200,7 @@ declare const useLens: () => {
|
|
|
23189
23200
|
}];
|
|
23190
23201
|
readonly stateMutability: "pure";
|
|
23191
23202
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
23192
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
23203
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
23193
23204
|
readonly type: "function";
|
|
23194
23205
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23195
23206
|
readonly inputs: readonly [{
|
|
@@ -23810,7 +23821,7 @@ declare const useLens: () => {
|
|
|
23810
23821
|
}];
|
|
23811
23822
|
readonly stateMutability: "pure";
|
|
23812
23823
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
23813
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
23824
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
23814
23825
|
readonly type: "function";
|
|
23815
23826
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23816
23827
|
readonly inputs: readonly [{
|
|
@@ -24431,7 +24442,7 @@ declare const useLens: () => {
|
|
|
24431
24442
|
}];
|
|
24432
24443
|
readonly stateMutability: "pure";
|
|
24433
24444
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
24434
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
24445
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
24435
24446
|
readonly type: "function";
|
|
24436
24447
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
24437
24448
|
readonly inputs: readonly [{
|
|
@@ -25052,7 +25063,7 @@ declare const useLens: () => {
|
|
|
25052
25063
|
}];
|
|
25053
25064
|
readonly stateMutability: "pure";
|
|
25054
25065
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
25055
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
25066
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
25056
25067
|
readonly type: "function";
|
|
25057
25068
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25058
25069
|
readonly inputs: readonly [{
|
|
@@ -25673,7 +25684,7 @@ declare const useLens: () => {
|
|
|
25673
25684
|
}];
|
|
25674
25685
|
readonly stateMutability: "pure";
|
|
25675
25686
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25676
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
25687
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
25677
25688
|
readonly type: "function";
|
|
25678
25689
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25679
25690
|
readonly inputs: readonly [{
|
|
@@ -26294,7 +26305,7 @@ declare const useLens: () => {
|
|
|
26294
26305
|
}];
|
|
26295
26306
|
readonly stateMutability: "pure";
|
|
26296
26307
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26297
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
26308
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
26298
26309
|
readonly type: "function";
|
|
26299
26310
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26300
26311
|
readonly inputs: readonly [{
|
|
@@ -26915,7 +26926,7 @@ declare const useLens: () => {
|
|
|
26915
26926
|
}];
|
|
26916
26927
|
readonly stateMutability: "pure";
|
|
26917
26928
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26918
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
26929
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
26919
26930
|
readonly type: "function";
|
|
26920
26931
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26921
26932
|
readonly inputs: readonly [{
|
|
@@ -27536,7 +27547,7 @@ declare const useLens: () => {
|
|
|
27536
27547
|
}];
|
|
27537
27548
|
readonly stateMutability: "pure";
|
|
27538
27549
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27539
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
27550
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
27540
27551
|
readonly type: "function";
|
|
27541
27552
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
27542
27553
|
readonly inputs: readonly [{
|
|
@@ -28157,7 +28168,7 @@ declare const useLens: () => {
|
|
|
28157
28168
|
}];
|
|
28158
28169
|
readonly stateMutability: "pure";
|
|
28159
28170
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
28160
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
28171
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
28161
28172
|
readonly type: "function";
|
|
28162
28173
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
28163
28174
|
readonly inputs: readonly [{
|
|
@@ -28778,7 +28789,7 @@ declare const useLens: () => {
|
|
|
28778
28789
|
}];
|
|
28779
28790
|
readonly stateMutability: "pure";
|
|
28780
28791
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
28781
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
28792
|
+
getPriceAtTick: (args: readonly [number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
28782
28793
|
readonly type: "function";
|
|
28783
28794
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
28784
28795
|
readonly inputs: readonly [{
|
|
@@ -30025,5 +30036,5 @@ declare const useLens: () => {
|
|
|
30025
30036
|
} | undefined;
|
|
30026
30037
|
};
|
|
30027
30038
|
//#endregion
|
|
30028
|
-
export { LiquidityBlockData, OptionData, TimelockMarketProvider, UniswapPoolData, batchGetAmountsFromLiquidity, useActiveUserOptions, useBurnLiquidity, useClosedUserOptions, useCurrentMarket, useCurrentPrice, useCurrentTick, useExerciseOption, useExtendOption, useLens, useLiquidityBlocks, useMarketData, useMaxPositionSize, useMintLiquidity, useMintOption, useOptionPnl, useOptionPremium, usePoolData, usePriceAtTick, usePriceHistory, useTimelockConfig, useUserOperators, useVaultData, useVaultTVL };
|
|
30039
|
+
export { LiquidityBlockData, OptionData, TimelockMarketProvider, UniswapPoolData, batchGetAmountsFromLiquidity, useActiveUserOptions, useBurnLiquidity, useClosedUserOptions, useCurrentMarket, useCurrentPrice, useCurrentTick, useExerciseOption, useExtendOption, useLens, useLiquidityBlocks, useMarketData, useMaxPositionSize, useMintLiquidity, useMintOption, useOptionPnl, useOptionPremium, usePoolData, usePriceAtTick, usePriceHistory, useSetOperatorPerms, useTimelockConfig, useUserOperators, useVaultData, useVaultTVL };
|
|
30029
30040
|
//# sourceMappingURL=client.d.ts.map
|