timelock-sdk 0.0.68 → 0.0.70
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 +1 -1
- package/dist/client.d.cts +58 -58
- package/dist/client.d.ts +132 -132
- package/dist/client.js +1 -1
- package/dist/{index-lyv29QjP.d.cts → index-BK67HnC2.d.cts} +94 -93
- package/dist/{index-B3zG2vl9.d.ts → index-CdkTrz02.d.ts} +3 -2
- package/dist/{numberUtils-BdDZHOYj.js → numberUtils--YU8VSJO.js} +17 -2
- package/dist/numberUtils--YU8VSJO.js.map +1 -0
- package/dist/{numberUtils-ByjL6x6B.cjs → numberUtils-fHghA8Tv.cjs} +22 -1
- package/dist/numberUtils-fHghA8Tv.cjs.map +1 -0
- package/dist/package.cjs +2 -1
- package/dist/package.d.cts +2 -2
- package/dist/package.d.ts +2 -2
- package/dist/package.js +2 -2
- package/package.json +1 -1
- package/dist/numberUtils-BdDZHOYj.js.map +0 -1
- package/dist/numberUtils-ByjL6x6B.cjs.map +0 -1
package/dist/client.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./uniswapMathLens-C54iWXpi.js";
|
|
2
|
-
import {
|
|
3
|
-
import * as
|
|
2
|
+
import { A as UniswapMathLens, k as TimelockMarketData, p as Amount } from "./index-CdkTrz02.js";
|
|
3
|
+
import * as viem396 from "viem";
|
|
4
4
|
import { Address } from "viem";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
6
6
|
import * as wagmi2 from "wagmi";
|
|
@@ -8,8 +8,8 @@ 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
|
-
import * as
|
|
12
|
-
import * as
|
|
11
|
+
import * as _wagmi_core3 from "@wagmi/core";
|
|
12
|
+
import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
13
13
|
import * as node_modules__wagmi_core_dist_types_errors_base1 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;
|
|
@@ -2768,7 +2768,7 @@ declare const useExerciseOption: (marketAddr?: Address) => {
|
|
|
2768
2768
|
isPending: boolean;
|
|
2769
2769
|
isConfirming: boolean;
|
|
2770
2770
|
isSuccess: boolean;
|
|
2771
|
-
error:
|
|
2771
|
+
error: _wagmi_core3.WriteContractErrorType | null;
|
|
2772
2772
|
isLoading: boolean;
|
|
2773
2773
|
};
|
|
2774
2774
|
//#endregion
|
|
@@ -2807,10 +2807,10 @@ declare const useMintOption: (marketAddr?: Address) => {
|
|
|
2807
2807
|
isPending: boolean;
|
|
2808
2808
|
isConfirming: boolean;
|
|
2809
2809
|
isSuccess: boolean;
|
|
2810
|
-
error: wagmi2.ConnectorAccountNotFoundErrorType | wagmi2.ConnectorChainMismatchErrorType |
|
|
2810
|
+
error: wagmi2.ConnectorAccountNotFoundErrorType | wagmi2.ConnectorChainMismatchErrorType | _wagmi_core3.ConnectorNotConnectedErrorType | wagmi2.ConnectorUnavailableReconnectingErrorType | viem396.BaseErrorType | node_modules__wagmi_core_dist_types_errors_base1.ErrorType | node_modules__wagmi_core_dist_types_errors_base1.BaseErrorType | viem396.AbiFunctionNotFoundErrorType | viem396.AbiEncodingLengthMismatchErrorType | viem396.InvalidAddressErrorType | viem396.AbiEncodingArrayLengthMismatchErrorType | viem396.IntegerOutOfRangeErrorType | viem396.SizeExceedsPaddingSizeErrorType | viem396.InvalidArrayErrorType | viem396.AbiEncodingBytesSizeMismatchErrorType | viem396.SizeOverflowErrorType | viem396.SliceOffsetOutOfBoundsErrorType | viem396.InvalidAbiEncodingTypeErrorType | viem396.InvalidDefinitionTypeErrorType | node_modules_viem__types_errors_abi0.AbiItemAmbiguityErrorType | node_modules_viem__types_errors_account0.AccountNotFoundErrorType | viem396.GetContractErrorReturnType<viem396.SendTransactionErrorType> | null;
|
|
2811
2811
|
isLoading: boolean;
|
|
2812
2812
|
isApprovalPending: boolean;
|
|
2813
|
-
approvalError:
|
|
2813
|
+
approvalError: _wagmi_core3.WriteContractErrorType | null;
|
|
2814
2814
|
resetApproval: () => void;
|
|
2815
2815
|
};
|
|
2816
2816
|
//#endregion
|
|
@@ -2838,10 +2838,10 @@ declare const useExtendOption: (marketAddr?: Address) => {
|
|
|
2838
2838
|
isPending: boolean;
|
|
2839
2839
|
isConfirming: boolean;
|
|
2840
2840
|
isSuccess: boolean;
|
|
2841
|
-
error: wagmi2.ConnectorAccountNotFoundErrorType | wagmi2.ConnectorChainMismatchErrorType |
|
|
2841
|
+
error: wagmi2.ConnectorAccountNotFoundErrorType | wagmi2.ConnectorChainMismatchErrorType | _wagmi_core3.ConnectorNotConnectedErrorType | wagmi2.ConnectorUnavailableReconnectingErrorType | viem396.BaseErrorType | node_modules__wagmi_core_dist_types_errors_base1.ErrorType | node_modules__wagmi_core_dist_types_errors_base1.BaseErrorType | viem396.AbiFunctionNotFoundErrorType | viem396.AbiEncodingLengthMismatchErrorType | viem396.InvalidAddressErrorType | viem396.AbiEncodingArrayLengthMismatchErrorType | viem396.IntegerOutOfRangeErrorType | viem396.SizeExceedsPaddingSizeErrorType | viem396.InvalidArrayErrorType | viem396.AbiEncodingBytesSizeMismatchErrorType | viem396.SizeOverflowErrorType | viem396.SliceOffsetOutOfBoundsErrorType | viem396.InvalidAbiEncodingTypeErrorType | viem396.InvalidDefinitionTypeErrorType | node_modules_viem__types_errors_abi0.AbiItemAmbiguityErrorType | node_modules_viem__types_errors_account0.AccountNotFoundErrorType | viem396.GetContractErrorReturnType<viem396.SendTransactionErrorType> | null;
|
|
2842
2842
|
isLoading: boolean;
|
|
2843
2843
|
isApprovalPending: boolean;
|
|
2844
|
-
approvalError:
|
|
2844
|
+
approvalError: _wagmi_core3.WriteContractErrorType | null;
|
|
2845
2845
|
resetApproval: () => void;
|
|
2846
2846
|
};
|
|
2847
2847
|
//#endregion
|
|
@@ -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;
|
|
@@ -3251,7 +3251,7 @@ declare const useSetOperatorPerms: (marketAddr?: Address) => {
|
|
|
3251
3251
|
isPending: boolean;
|
|
3252
3252
|
isConfirming: boolean;
|
|
3253
3253
|
isSuccess: boolean;
|
|
3254
|
-
error:
|
|
3254
|
+
error: _wagmi_core3.WriteContractErrorType | null;
|
|
3255
3255
|
isLoading: boolean;
|
|
3256
3256
|
};
|
|
3257
3257
|
//#endregion
|
|
@@ -3312,14 +3312,14 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
3312
3312
|
isPending: boolean;
|
|
3313
3313
|
isConfirming: boolean;
|
|
3314
3314
|
isSuccess: boolean;
|
|
3315
|
-
error:
|
|
3315
|
+
error: _wagmi_core3.WriteContractErrorType | null;
|
|
3316
3316
|
isLoading: boolean;
|
|
3317
3317
|
};
|
|
3318
3318
|
//#endregion
|
|
3319
3319
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
3320
3320
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
3321
3321
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
3322
|
-
error:
|
|
3322
|
+
error: viem396.ReadContractErrorType;
|
|
3323
3323
|
isError: true;
|
|
3324
3324
|
isPending: false;
|
|
3325
3325
|
isLoading: false;
|
|
@@ -3331,7 +3331,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3331
3331
|
dataUpdatedAt: number;
|
|
3332
3332
|
errorUpdatedAt: number;
|
|
3333
3333
|
failureCount: number;
|
|
3334
|
-
failureReason:
|
|
3334
|
+
failureReason: viem396.ReadContractErrorType | null;
|
|
3335
3335
|
errorUpdateCount: number;
|
|
3336
3336
|
isFetched: boolean;
|
|
3337
3337
|
isFetchedAfterMount: boolean;
|
|
@@ -3341,7 +3341,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3341
3341
|
isRefetching: boolean;
|
|
3342
3342
|
isStale: boolean;
|
|
3343
3343
|
isEnabled: boolean;
|
|
3344
|
-
refetch: (options?:
|
|
3344
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
3345
3345
|
tickLower: number;
|
|
3346
3346
|
tickUpper: number;
|
|
3347
3347
|
prevTickLower: number;
|
|
@@ -3351,8 +3351,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3351
3351
|
totalAmount1: bigint;
|
|
3352
3352
|
borrowedAmount0: bigint;
|
|
3353
3353
|
borrowedAmount1: bigint;
|
|
3354
|
-
}[],
|
|
3355
|
-
fetchStatus:
|
|
3354
|
+
}[], viem396.ReadContractErrorType>>;
|
|
3355
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3356
3356
|
promise: Promise<readonly {
|
|
3357
3357
|
tickLower: number;
|
|
3358
3358
|
tickUpper: number;
|
|
@@ -3364,7 +3364,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3364
3364
|
borrowedAmount0: bigint;
|
|
3365
3365
|
borrowedAmount1: bigint;
|
|
3366
3366
|
}[]>;
|
|
3367
|
-
queryKey:
|
|
3367
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
3368
3368
|
data: readonly {
|
|
3369
3369
|
tickLower: number;
|
|
3370
3370
|
tickUpper: number;
|
|
@@ -3389,7 +3389,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3389
3389
|
dataUpdatedAt: number;
|
|
3390
3390
|
errorUpdatedAt: number;
|
|
3391
3391
|
failureCount: number;
|
|
3392
|
-
failureReason:
|
|
3392
|
+
failureReason: viem396.ReadContractErrorType | null;
|
|
3393
3393
|
errorUpdateCount: number;
|
|
3394
3394
|
isFetched: boolean;
|
|
3395
3395
|
isFetchedAfterMount: boolean;
|
|
@@ -3399,7 +3399,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3399
3399
|
isRefetching: boolean;
|
|
3400
3400
|
isStale: boolean;
|
|
3401
3401
|
isEnabled: boolean;
|
|
3402
|
-
refetch: (options?:
|
|
3402
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
3403
3403
|
tickLower: number;
|
|
3404
3404
|
tickUpper: number;
|
|
3405
3405
|
prevTickLower: number;
|
|
@@ -3409,8 +3409,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3409
3409
|
totalAmount1: bigint;
|
|
3410
3410
|
borrowedAmount0: bigint;
|
|
3411
3411
|
borrowedAmount1: bigint;
|
|
3412
|
-
}[],
|
|
3413
|
-
fetchStatus:
|
|
3412
|
+
}[], viem396.ReadContractErrorType>>;
|
|
3413
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3414
3414
|
promise: Promise<readonly {
|
|
3415
3415
|
tickLower: number;
|
|
3416
3416
|
tickUpper: number;
|
|
@@ -3422,7 +3422,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3422
3422
|
borrowedAmount0: bigint;
|
|
3423
3423
|
borrowedAmount1: bigint;
|
|
3424
3424
|
}[]>;
|
|
3425
|
-
queryKey:
|
|
3425
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
3426
3426
|
data: readonly {
|
|
3427
3427
|
tickLower: number;
|
|
3428
3428
|
tickUpper: number;
|
|
@@ -3435,7 +3435,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3435
3435
|
borrowedAmount1: bigint;
|
|
3436
3436
|
}[];
|
|
3437
3437
|
} | {
|
|
3438
|
-
error:
|
|
3438
|
+
error: viem396.ReadContractErrorType;
|
|
3439
3439
|
isError: true;
|
|
3440
3440
|
isPending: false;
|
|
3441
3441
|
isLoading: false;
|
|
@@ -3447,7 +3447,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3447
3447
|
dataUpdatedAt: number;
|
|
3448
3448
|
errorUpdatedAt: number;
|
|
3449
3449
|
failureCount: number;
|
|
3450
|
-
failureReason:
|
|
3450
|
+
failureReason: viem396.ReadContractErrorType | null;
|
|
3451
3451
|
errorUpdateCount: number;
|
|
3452
3452
|
isFetched: boolean;
|
|
3453
3453
|
isFetchedAfterMount: boolean;
|
|
@@ -3457,7 +3457,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3457
3457
|
isRefetching: boolean;
|
|
3458
3458
|
isStale: boolean;
|
|
3459
3459
|
isEnabled: boolean;
|
|
3460
|
-
refetch: (options?:
|
|
3460
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
3461
3461
|
tickLower: number;
|
|
3462
3462
|
tickUpper: number;
|
|
3463
3463
|
prevTickLower: number;
|
|
@@ -3467,8 +3467,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3467
3467
|
totalAmount1: bigint;
|
|
3468
3468
|
borrowedAmount0: bigint;
|
|
3469
3469
|
borrowedAmount1: bigint;
|
|
3470
|
-
}[],
|
|
3471
|
-
fetchStatus:
|
|
3470
|
+
}[], viem396.ReadContractErrorType>>;
|
|
3471
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3472
3472
|
promise: Promise<readonly {
|
|
3473
3473
|
tickLower: number;
|
|
3474
3474
|
tickUpper: number;
|
|
@@ -3480,7 +3480,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3480
3480
|
borrowedAmount0: bigint;
|
|
3481
3481
|
borrowedAmount1: bigint;
|
|
3482
3482
|
}[]>;
|
|
3483
|
-
queryKey:
|
|
3483
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
3484
3484
|
data: readonly {
|
|
3485
3485
|
tickLower: number;
|
|
3486
3486
|
tickUpper: number;
|
|
@@ -3505,7 +3505,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3505
3505
|
dataUpdatedAt: number;
|
|
3506
3506
|
errorUpdatedAt: number;
|
|
3507
3507
|
failureCount: number;
|
|
3508
|
-
failureReason:
|
|
3508
|
+
failureReason: viem396.ReadContractErrorType | null;
|
|
3509
3509
|
errorUpdateCount: number;
|
|
3510
3510
|
isFetched: boolean;
|
|
3511
3511
|
isFetchedAfterMount: boolean;
|
|
@@ -3515,7 +3515,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3515
3515
|
isRefetching: boolean;
|
|
3516
3516
|
isStale: boolean;
|
|
3517
3517
|
isEnabled: boolean;
|
|
3518
|
-
refetch: (options?:
|
|
3518
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
3519
3519
|
tickLower: number;
|
|
3520
3520
|
tickUpper: number;
|
|
3521
3521
|
prevTickLower: number;
|
|
@@ -3525,8 +3525,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3525
3525
|
totalAmount1: bigint;
|
|
3526
3526
|
borrowedAmount0: bigint;
|
|
3527
3527
|
borrowedAmount1: bigint;
|
|
3528
|
-
}[],
|
|
3529
|
-
fetchStatus:
|
|
3528
|
+
}[], viem396.ReadContractErrorType>>;
|
|
3529
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3530
3530
|
promise: Promise<readonly {
|
|
3531
3531
|
tickLower: number;
|
|
3532
3532
|
tickUpper: number;
|
|
@@ -3538,7 +3538,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3538
3538
|
borrowedAmount0: bigint;
|
|
3539
3539
|
borrowedAmount1: bigint;
|
|
3540
3540
|
}[]>;
|
|
3541
|
-
queryKey:
|
|
3541
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
3542
3542
|
data: readonly {
|
|
3543
3543
|
tickLower: number;
|
|
3544
3544
|
tickUpper: number;
|
|
@@ -3562,7 +3562,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3562
3562
|
dataUpdatedAt: number;
|
|
3563
3563
|
errorUpdatedAt: number;
|
|
3564
3564
|
failureCount: number;
|
|
3565
|
-
failureReason:
|
|
3565
|
+
failureReason: viem396.ReadContractErrorType | null;
|
|
3566
3566
|
errorUpdateCount: number;
|
|
3567
3567
|
isFetched: boolean;
|
|
3568
3568
|
isFetchedAfterMount: boolean;
|
|
@@ -3573,7 +3573,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3573
3573
|
isRefetching: boolean;
|
|
3574
3574
|
isStale: boolean;
|
|
3575
3575
|
isEnabled: boolean;
|
|
3576
|
-
refetch: (options?:
|
|
3576
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
3577
3577
|
tickLower: number;
|
|
3578
3578
|
tickUpper: number;
|
|
3579
3579
|
prevTickLower: number;
|
|
@@ -3583,8 +3583,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3583
3583
|
totalAmount1: bigint;
|
|
3584
3584
|
borrowedAmount0: bigint;
|
|
3585
3585
|
borrowedAmount1: bigint;
|
|
3586
|
-
}[],
|
|
3587
|
-
fetchStatus:
|
|
3586
|
+
}[], viem396.ReadContractErrorType>>;
|
|
3587
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3588
3588
|
promise: Promise<readonly {
|
|
3589
3589
|
tickLower: number;
|
|
3590
3590
|
tickUpper: number;
|
|
@@ -3596,7 +3596,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3596
3596
|
borrowedAmount0: bigint;
|
|
3597
3597
|
borrowedAmount1: bigint;
|
|
3598
3598
|
}[]>;
|
|
3599
|
-
queryKey:
|
|
3599
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
3600
3600
|
data: readonly {
|
|
3601
3601
|
tickLower: number;
|
|
3602
3602
|
tickUpper: number;
|
|
@@ -3621,7 +3621,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3621
3621
|
dataUpdatedAt: number;
|
|
3622
3622
|
errorUpdatedAt: number;
|
|
3623
3623
|
failureCount: number;
|
|
3624
|
-
failureReason:
|
|
3624
|
+
failureReason: viem396.ReadContractErrorType | null;
|
|
3625
3625
|
errorUpdateCount: number;
|
|
3626
3626
|
isFetched: boolean;
|
|
3627
3627
|
isFetchedAfterMount: boolean;
|
|
@@ -3631,7 +3631,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3631
3631
|
isRefetching: boolean;
|
|
3632
3632
|
isStale: boolean;
|
|
3633
3633
|
isEnabled: boolean;
|
|
3634
|
-
refetch: (options?:
|
|
3634
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
3635
3635
|
tickLower: number;
|
|
3636
3636
|
tickUpper: number;
|
|
3637
3637
|
prevTickLower: number;
|
|
@@ -3641,8 +3641,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3641
3641
|
totalAmount1: bigint;
|
|
3642
3642
|
borrowedAmount0: bigint;
|
|
3643
3643
|
borrowedAmount1: bigint;
|
|
3644
|
-
}[],
|
|
3645
|
-
fetchStatus:
|
|
3644
|
+
}[], viem396.ReadContractErrorType>>;
|
|
3645
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3646
3646
|
promise: Promise<readonly {
|
|
3647
3647
|
tickLower: number;
|
|
3648
3648
|
tickUpper: number;
|
|
@@ -3654,7 +3654,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3654
3654
|
borrowedAmount0: bigint;
|
|
3655
3655
|
borrowedAmount1: bigint;
|
|
3656
3656
|
}[]>;
|
|
3657
|
-
queryKey:
|
|
3657
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
3658
3658
|
data: readonly {
|
|
3659
3659
|
tickLower: number;
|
|
3660
3660
|
tickUpper: number;
|
|
@@ -3687,7 +3687,7 @@ declare const useMintLiquidity: (vaultAddr?: Address) => {
|
|
|
3687
3687
|
isPending: boolean;
|
|
3688
3688
|
isConfirming: boolean;
|
|
3689
3689
|
isSuccess: boolean;
|
|
3690
|
-
error:
|
|
3690
|
+
error: _wagmi_core3.WriteContractErrorType | null;
|
|
3691
3691
|
isLoading: boolean;
|
|
3692
3692
|
};
|
|
3693
3693
|
//#endregion
|
|
@@ -3714,14 +3714,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
3714
3714
|
borrowedAmount0: Amount;
|
|
3715
3715
|
borrowedAmount1: Amount;
|
|
3716
3716
|
blocksCount: bigint;
|
|
3717
|
-
refetch: (options?:
|
|
3717
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem396.ReadContractErrorType>>;
|
|
3718
3718
|
};
|
|
3719
3719
|
//#endregion
|
|
3720
3720
|
//#region src/hooks/useLens.d.ts
|
|
3721
3721
|
declare const useLens: () => {
|
|
3722
3722
|
timelockLens: {
|
|
3723
3723
|
read: {
|
|
3724
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
3724
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
3725
3725
|
readonly type: "function";
|
|
3726
3726
|
readonly name: "batchGetRefTick";
|
|
3727
3727
|
readonly inputs: readonly [{
|
|
@@ -4395,7 +4395,7 @@ declare const useLens: () => {
|
|
|
4395
4395
|
}];
|
|
4396
4396
|
readonly stateMutability: "view";
|
|
4397
4397
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
4398
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
4398
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
4399
4399
|
readonly type: "function";
|
|
4400
4400
|
readonly name: "batchGetRefTick";
|
|
4401
4401
|
readonly inputs: readonly [{
|
|
@@ -5079,7 +5079,7 @@ declare const useLens: () => {
|
|
|
5079
5079
|
borrowedAmount0: bigint;
|
|
5080
5080
|
borrowedAmount1: bigint;
|
|
5081
5081
|
}[]>;
|
|
5082
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
5082
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
5083
5083
|
readonly type: "function";
|
|
5084
5084
|
readonly name: "batchGetRefTick";
|
|
5085
5085
|
readonly inputs: readonly [{
|
|
@@ -5770,7 +5770,7 @@ declare const useLens: () => {
|
|
|
5770
5770
|
expiresAt: number;
|
|
5771
5771
|
liquidities: readonly bigint[];
|
|
5772
5772
|
}[], bigint, boolean]>;
|
|
5773
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
5773
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
5774
5774
|
readonly type: "function";
|
|
5775
5775
|
readonly name: "batchGetRefTick";
|
|
5776
5776
|
readonly inputs: readonly [{
|
|
@@ -6444,7 +6444,7 @@ declare const useLens: () => {
|
|
|
6444
6444
|
}];
|
|
6445
6445
|
readonly stateMutability: "view";
|
|
6446
6446
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
6447
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
6447
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
6448
6448
|
readonly type: "function";
|
|
6449
6449
|
readonly name: "batchGetRefTick";
|
|
6450
6450
|
readonly inputs: readonly [{
|
|
@@ -7131,7 +7131,7 @@ declare const useLens: () => {
|
|
|
7131
7131
|
payoutAssetName: string;
|
|
7132
7132
|
optionsCount: bigint;
|
|
7133
7133
|
}>;
|
|
7134
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
7134
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
7135
7135
|
readonly type: "function";
|
|
7136
7136
|
readonly name: "batchGetRefTick";
|
|
7137
7137
|
readonly inputs: readonly [{
|
|
@@ -7805,7 +7805,7 @@ declare const useLens: () => {
|
|
|
7805
7805
|
}];
|
|
7806
7806
|
readonly stateMutability: "view";
|
|
7807
7807
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
7808
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
7808
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
7809
7809
|
readonly type: "function";
|
|
7810
7810
|
readonly name: "batchGetRefTick";
|
|
7811
7811
|
readonly inputs: readonly [{
|
|
@@ -8479,7 +8479,7 @@ declare const useLens: () => {
|
|
|
8479
8479
|
}];
|
|
8480
8480
|
readonly stateMutability: "view";
|
|
8481
8481
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
8482
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
8482
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
8483
8483
|
readonly type: "function";
|
|
8484
8484
|
readonly name: "batchGetRefTick";
|
|
8485
8485
|
readonly inputs: readonly [{
|
|
@@ -9170,7 +9170,7 @@ declare const useLens: () => {
|
|
|
9170
9170
|
expiresAt: number;
|
|
9171
9171
|
liquidities: readonly bigint[];
|
|
9172
9172
|
}>;
|
|
9173
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
9173
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
9174
9174
|
readonly type: "function";
|
|
9175
9175
|
readonly name: "batchGetRefTick";
|
|
9176
9176
|
readonly inputs: readonly [{
|
|
@@ -9861,7 +9861,7 @@ declare const useLens: () => {
|
|
|
9861
9861
|
expiresAt: number;
|
|
9862
9862
|
liquidities: readonly bigint[];
|
|
9863
9863
|
}[]>;
|
|
9864
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
9864
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
9865
9865
|
readonly type: "function";
|
|
9866
9866
|
readonly name: "batchGetRefTick";
|
|
9867
9867
|
readonly inputs: readonly [{
|
|
@@ -10546,7 +10546,7 @@ declare const useLens: () => {
|
|
|
10546
10546
|
tickSpacing: number;
|
|
10547
10547
|
fee: number;
|
|
10548
10548
|
}>;
|
|
10549
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
10549
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
10550
10550
|
readonly type: "function";
|
|
10551
10551
|
readonly name: "batchGetRefTick";
|
|
10552
10552
|
readonly inputs: readonly [{
|
|
@@ -11220,7 +11220,7 @@ declare const useLens: () => {
|
|
|
11220
11220
|
}];
|
|
11221
11221
|
readonly stateMutability: "view";
|
|
11222
11222
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
11223
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
11223
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
11224
11224
|
readonly type: "function";
|
|
11225
11225
|
readonly name: "batchGetRefTick";
|
|
11226
11226
|
readonly inputs: readonly [{
|
|
@@ -11911,7 +11911,7 @@ declare const useLens: () => {
|
|
|
11911
11911
|
expiresAt: number;
|
|
11912
11912
|
liquidities: readonly bigint[];
|
|
11913
11913
|
}[], bigint, boolean]>;
|
|
11914
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
11914
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
11915
11915
|
readonly type: "function";
|
|
11916
11916
|
readonly name: "batchGetRefTick";
|
|
11917
11917
|
readonly inputs: readonly [{
|
|
@@ -13264,7 +13264,7 @@ declare const useLens: () => {
|
|
|
13264
13264
|
} | undefined;
|
|
13265
13265
|
uniswapLens: {
|
|
13266
13266
|
read: {
|
|
13267
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
13267
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
13268
13268
|
readonly type: "function";
|
|
13269
13269
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13270
13270
|
readonly inputs: readonly [{
|
|
@@ -13885,7 +13885,7 @@ declare const useLens: () => {
|
|
|
13885
13885
|
}];
|
|
13886
13886
|
readonly stateMutability: "pure";
|
|
13887
13887
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13888
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
13888
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
13889
13889
|
readonly type: "function";
|
|
13890
13890
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13891
13891
|
readonly inputs: readonly [{
|
|
@@ -14506,7 +14506,7 @@ declare const useLens: () => {
|
|
|
14506
14506
|
}];
|
|
14507
14507
|
readonly stateMutability: "pure";
|
|
14508
14508
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14509
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
14509
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
14510
14510
|
readonly type: "function";
|
|
14511
14511
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14512
14512
|
readonly inputs: readonly [{
|
|
@@ -15127,7 +15127,7 @@ declare const useLens: () => {
|
|
|
15127
15127
|
}];
|
|
15128
15128
|
readonly stateMutability: "pure";
|
|
15129
15129
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
15130
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
15130
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
15131
15131
|
readonly type: "function";
|
|
15132
15132
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15133
15133
|
readonly inputs: readonly [{
|
|
@@ -15748,7 +15748,7 @@ declare const useLens: () => {
|
|
|
15748
15748
|
}];
|
|
15749
15749
|
readonly stateMutability: "pure";
|
|
15750
15750
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
15751
|
-
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?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
15752
15752
|
readonly type: "function";
|
|
15753
15753
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15754
15754
|
readonly inputs: readonly [{
|
|
@@ -16369,7 +16369,7 @@ declare const useLens: () => {
|
|
|
16369
16369
|
}];
|
|
16370
16370
|
readonly stateMutability: "pure";
|
|
16371
16371
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
16372
|
-
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?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
16373
16373
|
readonly type: "function";
|
|
16374
16374
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16375
16375
|
readonly inputs: readonly [{
|
|
@@ -16990,7 +16990,7 @@ declare const useLens: () => {
|
|
|
16990
16990
|
}];
|
|
16991
16991
|
readonly stateMutability: "pure";
|
|
16992
16992
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
16993
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
16993
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
16994
16994
|
readonly type: "function";
|
|
16995
16995
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16996
16996
|
readonly inputs: readonly [{
|
|
@@ -17611,7 +17611,7 @@ declare const useLens: () => {
|
|
|
17611
17611
|
}];
|
|
17612
17612
|
readonly stateMutability: "pure";
|
|
17613
17613
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
17614
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
17614
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
17615
17615
|
readonly type: "function";
|
|
17616
17616
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17617
17617
|
readonly inputs: readonly [{
|
|
@@ -18232,7 +18232,7 @@ declare const useLens: () => {
|
|
|
18232
18232
|
}];
|
|
18233
18233
|
readonly stateMutability: "pure";
|
|
18234
18234
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18235
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
18235
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
18236
18236
|
readonly type: "function";
|
|
18237
18237
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18238
18238
|
readonly inputs: readonly [{
|
|
@@ -18853,7 +18853,7 @@ declare const useLens: () => {
|
|
|
18853
18853
|
}];
|
|
18854
18854
|
readonly stateMutability: "pure";
|
|
18855
18855
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18856
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
18856
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
18857
18857
|
readonly type: "function";
|
|
18858
18858
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18859
18859
|
readonly inputs: readonly [{
|
|
@@ -19474,7 +19474,7 @@ declare const useLens: () => {
|
|
|
19474
19474
|
}];
|
|
19475
19475
|
readonly stateMutability: "pure";
|
|
19476
19476
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
19477
|
-
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?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
19478
19478
|
readonly type: "function";
|
|
19479
19479
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19480
19480
|
readonly inputs: readonly [{
|
|
@@ -20095,7 +20095,7 @@ declare const useLens: () => {
|
|
|
20095
20095
|
}];
|
|
20096
20096
|
readonly stateMutability: "pure";
|
|
20097
20097
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20098
|
-
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?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
20099
20099
|
readonly type: "function";
|
|
20100
20100
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20101
20101
|
readonly inputs: readonly [{
|
|
@@ -20716,7 +20716,7 @@ declare const useLens: () => {
|
|
|
20716
20716
|
}];
|
|
20717
20717
|
readonly stateMutability: "pure";
|
|
20718
20718
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20719
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
20719
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
20720
20720
|
readonly type: "function";
|
|
20721
20721
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20722
20722
|
readonly inputs: readonly [{
|
|
@@ -21337,7 +21337,7 @@ declare const useLens: () => {
|
|
|
21337
21337
|
}];
|
|
21338
21338
|
readonly stateMutability: "pure";
|
|
21339
21339
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
21340
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
21340
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
21341
21341
|
readonly type: "function";
|
|
21342
21342
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21343
21343
|
readonly inputs: readonly [{
|
|
@@ -21958,7 +21958,7 @@ declare const useLens: () => {
|
|
|
21958
21958
|
}];
|
|
21959
21959
|
readonly stateMutability: "pure";
|
|
21960
21960
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21961
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
21961
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
21962
21962
|
readonly type: "function";
|
|
21963
21963
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21964
21964
|
readonly inputs: readonly [{
|
|
@@ -22579,7 +22579,7 @@ declare const useLens: () => {
|
|
|
22579
22579
|
}];
|
|
22580
22580
|
readonly stateMutability: "pure";
|
|
22581
22581
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
22582
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
22582
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
22583
22583
|
readonly type: "function";
|
|
22584
22584
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
22585
22585
|
readonly inputs: readonly [{
|
|
@@ -23200,7 +23200,7 @@ declare const useLens: () => {
|
|
|
23200
23200
|
}];
|
|
23201
23201
|
readonly stateMutability: "pure";
|
|
23202
23202
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
23203
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
23203
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
23204
23204
|
readonly type: "function";
|
|
23205
23205
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23206
23206
|
readonly inputs: readonly [{
|
|
@@ -23821,7 +23821,7 @@ declare const useLens: () => {
|
|
|
23821
23821
|
}];
|
|
23822
23822
|
readonly stateMutability: "pure";
|
|
23823
23823
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
23824
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
23824
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
23825
23825
|
readonly type: "function";
|
|
23826
23826
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23827
23827
|
readonly inputs: readonly [{
|
|
@@ -24442,7 +24442,7 @@ declare const useLens: () => {
|
|
|
24442
24442
|
}];
|
|
24443
24443
|
readonly stateMutability: "pure";
|
|
24444
24444
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
24445
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
24445
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
24446
24446
|
readonly type: "function";
|
|
24447
24447
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
24448
24448
|
readonly inputs: readonly [{
|
|
@@ -25063,7 +25063,7 @@ declare const useLens: () => {
|
|
|
25063
25063
|
}];
|
|
25064
25064
|
readonly stateMutability: "pure";
|
|
25065
25065
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
25066
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
25066
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
25067
25067
|
readonly type: "function";
|
|
25068
25068
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25069
25069
|
readonly inputs: readonly [{
|
|
@@ -25684,7 +25684,7 @@ declare const useLens: () => {
|
|
|
25684
25684
|
}];
|
|
25685
25685
|
readonly stateMutability: "pure";
|
|
25686
25686
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25687
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
25687
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
25688
25688
|
readonly type: "function";
|
|
25689
25689
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25690
25690
|
readonly inputs: readonly [{
|
|
@@ -26305,7 +26305,7 @@ declare const useLens: () => {
|
|
|
26305
26305
|
}];
|
|
26306
26306
|
readonly stateMutability: "pure";
|
|
26307
26307
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26308
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
26308
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
26309
26309
|
readonly type: "function";
|
|
26310
26310
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26311
26311
|
readonly inputs: readonly [{
|
|
@@ -26926,7 +26926,7 @@ declare const useLens: () => {
|
|
|
26926
26926
|
}];
|
|
26927
26927
|
readonly stateMutability: "pure";
|
|
26928
26928
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26929
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
26929
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
26930
26930
|
readonly type: "function";
|
|
26931
26931
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26932
26932
|
readonly inputs: readonly [{
|
|
@@ -27547,7 +27547,7 @@ declare const useLens: () => {
|
|
|
27547
27547
|
}];
|
|
27548
27548
|
readonly stateMutability: "pure";
|
|
27549
27549
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27550
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
27550
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
27551
27551
|
readonly type: "function";
|
|
27552
27552
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
27553
27553
|
readonly inputs: readonly [{
|
|
@@ -28168,7 +28168,7 @@ declare const useLens: () => {
|
|
|
28168
28168
|
}];
|
|
28169
28169
|
readonly stateMutability: "pure";
|
|
28170
28170
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
28171
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
28171
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
28172
28172
|
readonly type: "function";
|
|
28173
28173
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
28174
28174
|
readonly inputs: readonly [{
|
|
@@ -28789,7 +28789,7 @@ declare const useLens: () => {
|
|
|
28789
28789
|
}];
|
|
28790
28790
|
readonly stateMutability: "pure";
|
|
28791
28791
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
28792
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
28792
|
+
getPriceAtTick: (args: readonly [number], options?: viem396.Prettify<viem396.UnionOmit<viem396.ReadContractParameters<readonly [{
|
|
28793
28793
|
readonly type: "function";
|
|
28794
28794
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
28795
28795
|
readonly inputs: readonly [{
|