timelock-sdk 0.0.70 → 0.0.71
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 +26 -68
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +92 -116
- package/dist/client.d.ts +80 -104
- package/dist/client.js +27 -69
- package/dist/client.js.map +1 -1
- package/dist/{index-BK67HnC2.d.cts → index-C-uDgfkL.d.cts} +92 -92
- package/dist/package.d.cts +1 -1
- package/package.json +1 -1
package/dist/client.d.cts
CHANGED
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
import "./uniswapMathLens-CK8C7WOt.cjs";
|
|
2
|
-
import { A as UniswapMathLens, k as TimelockMarketData, p as Amount } from "./index-
|
|
2
|
+
import { A as UniswapMathLens, k as TimelockMarketData, p as Amount } from "./index-C-uDgfkL.cjs";
|
|
3
3
|
import * as viem116 from "viem";
|
|
4
4
|
import { Address } from "viem";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
6
6
|
import "graphql";
|
|
7
7
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
8
|
-
import * as _wagmi_core0 from "@wagmi/core";
|
|
9
|
-
import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
10
8
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
11
9
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
12
|
-
import * as
|
|
13
|
-
import * as
|
|
14
|
-
import * as node_modules_viem__types_errors_abi0 from "node_modules/viem/_types/errors/abi";
|
|
15
|
-
import * as node_modules_viem__types_errors_account0 from "node_modules/viem/_types/errors/account";
|
|
10
|
+
import * as _tanstack_query_core17 from "@tanstack/query-core";
|
|
11
|
+
import * as _wagmi_core0 from "@wagmi/core";
|
|
16
12
|
|
|
17
13
|
//#region src/generated/graphql.d.ts
|
|
18
14
|
type Exact<T$1 extends {
|
|
@@ -242,7 +238,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
242
238
|
isRefetching: boolean;
|
|
243
239
|
isStale: boolean;
|
|
244
240
|
isEnabled: boolean;
|
|
245
|
-
refetch: (options?:
|
|
241
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
246
242
|
optionId: bigint;
|
|
247
243
|
marketAddr: Address;
|
|
248
244
|
ownerAddr: Address;
|
|
@@ -281,7 +277,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
281
277
|
transactionHash: string;
|
|
282
278
|
} | null;
|
|
283
279
|
}[], Error>>;
|
|
284
|
-
fetchStatus:
|
|
280
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
285
281
|
promise: Promise<{
|
|
286
282
|
optionId: bigint;
|
|
287
283
|
marketAddr: Address;
|
|
@@ -383,7 +379,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
383
379
|
isRefetching: boolean;
|
|
384
380
|
isStale: boolean;
|
|
385
381
|
isEnabled: boolean;
|
|
386
|
-
refetch: (options?:
|
|
382
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
387
383
|
optionId: bigint;
|
|
388
384
|
marketAddr: Address;
|
|
389
385
|
ownerAddr: Address;
|
|
@@ -422,7 +418,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
422
418
|
transactionHash: string;
|
|
423
419
|
} | null;
|
|
424
420
|
}[], Error>>;
|
|
425
|
-
fetchStatus:
|
|
421
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
426
422
|
promise: Promise<{
|
|
427
423
|
optionId: bigint;
|
|
428
424
|
marketAddr: Address;
|
|
@@ -524,7 +520,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
524
520
|
isRefetching: boolean;
|
|
525
521
|
isStale: boolean;
|
|
526
522
|
isEnabled: boolean;
|
|
527
|
-
refetch: (options?:
|
|
523
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
528
524
|
optionId: bigint;
|
|
529
525
|
marketAddr: Address;
|
|
530
526
|
ownerAddr: Address;
|
|
@@ -563,7 +559,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
563
559
|
transactionHash: string;
|
|
564
560
|
} | null;
|
|
565
561
|
}[], Error>>;
|
|
566
|
-
fetchStatus:
|
|
562
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
567
563
|
promise: Promise<{
|
|
568
564
|
optionId: bigint;
|
|
569
565
|
marketAddr: Address;
|
|
@@ -665,7 +661,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
665
661
|
isRefetching: boolean;
|
|
666
662
|
isStale: boolean;
|
|
667
663
|
isEnabled: boolean;
|
|
668
|
-
refetch: (options?:
|
|
664
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
669
665
|
optionId: bigint;
|
|
670
666
|
marketAddr: Address;
|
|
671
667
|
ownerAddr: Address;
|
|
@@ -704,7 +700,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
704
700
|
transactionHash: string;
|
|
705
701
|
} | null;
|
|
706
702
|
}[], Error>>;
|
|
707
|
-
fetchStatus:
|
|
703
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
708
704
|
promise: Promise<{
|
|
709
705
|
optionId: bigint;
|
|
710
706
|
marketAddr: Address;
|
|
@@ -806,7 +802,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
806
802
|
isRefetching: boolean;
|
|
807
803
|
isStale: boolean;
|
|
808
804
|
isEnabled: boolean;
|
|
809
|
-
refetch: (options?:
|
|
805
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
810
806
|
optionId: bigint;
|
|
811
807
|
marketAddr: Address;
|
|
812
808
|
ownerAddr: Address;
|
|
@@ -845,7 +841,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
845
841
|
transactionHash: string;
|
|
846
842
|
} | null;
|
|
847
843
|
}[], Error>>;
|
|
848
|
-
fetchStatus:
|
|
844
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
849
845
|
promise: Promise<{
|
|
850
846
|
optionId: bigint;
|
|
851
847
|
marketAddr: Address;
|
|
@@ -947,7 +943,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
947
943
|
isRefetching: boolean;
|
|
948
944
|
isStale: boolean;
|
|
949
945
|
isEnabled: boolean;
|
|
950
|
-
refetch: (options?:
|
|
946
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
951
947
|
optionId: bigint;
|
|
952
948
|
marketAddr: Address;
|
|
953
949
|
ownerAddr: Address;
|
|
@@ -986,7 +982,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
986
982
|
transactionHash: string;
|
|
987
983
|
} | null;
|
|
988
984
|
}[], Error>>;
|
|
989
|
-
fetchStatus:
|
|
985
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
990
986
|
promise: Promise<{
|
|
991
987
|
optionId: bigint;
|
|
992
988
|
marketAddr: Address;
|
|
@@ -1089,7 +1085,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1089
1085
|
isRefetching: boolean;
|
|
1090
1086
|
isStale: boolean;
|
|
1091
1087
|
isEnabled: boolean;
|
|
1092
|
-
refetch: (options?:
|
|
1088
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
1093
1089
|
optionId: bigint;
|
|
1094
1090
|
marketAddr: Address;
|
|
1095
1091
|
ownerAddr: Address;
|
|
@@ -1128,7 +1124,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1128
1124
|
transactionHash: string;
|
|
1129
1125
|
} | null;
|
|
1130
1126
|
}[], Error>>;
|
|
1131
|
-
fetchStatus:
|
|
1127
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
1132
1128
|
promise: Promise<{
|
|
1133
1129
|
optionId: bigint;
|
|
1134
1130
|
marketAddr: Address;
|
|
@@ -1230,7 +1226,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1230
1226
|
isRefetching: boolean;
|
|
1231
1227
|
isStale: boolean;
|
|
1232
1228
|
isEnabled: boolean;
|
|
1233
|
-
refetch: (options?:
|
|
1229
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
1234
1230
|
optionId: bigint;
|
|
1235
1231
|
marketAddr: Address;
|
|
1236
1232
|
ownerAddr: Address;
|
|
@@ -1269,7 +1265,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1269
1265
|
transactionHash: string;
|
|
1270
1266
|
} | null;
|
|
1271
1267
|
}[], Error>>;
|
|
1272
|
-
fetchStatus:
|
|
1268
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
1273
1269
|
promise: Promise<{
|
|
1274
1270
|
optionId: bigint;
|
|
1275
1271
|
marketAddr: Address;
|
|
@@ -1371,7 +1367,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1371
1367
|
isRefetching: boolean;
|
|
1372
1368
|
isStale: boolean;
|
|
1373
1369
|
isEnabled: boolean;
|
|
1374
|
-
refetch: (options?:
|
|
1370
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
1375
1371
|
optionId: bigint;
|
|
1376
1372
|
marketAddr: Address;
|
|
1377
1373
|
ownerAddr: Address;
|
|
@@ -1410,7 +1406,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1410
1406
|
transactionHash: string;
|
|
1411
1407
|
} | null;
|
|
1412
1408
|
}[], Error>>;
|
|
1413
|
-
fetchStatus:
|
|
1409
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
1414
1410
|
promise: Promise<{
|
|
1415
1411
|
optionId: bigint;
|
|
1416
1412
|
marketAddr: Address;
|
|
@@ -1512,7 +1508,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1512
1508
|
isRefetching: boolean;
|
|
1513
1509
|
isStale: boolean;
|
|
1514
1510
|
isEnabled: boolean;
|
|
1515
|
-
refetch: (options?:
|
|
1511
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
1516
1512
|
optionId: bigint;
|
|
1517
1513
|
marketAddr: Address;
|
|
1518
1514
|
ownerAddr: Address;
|
|
@@ -1551,7 +1547,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1551
1547
|
transactionHash: string;
|
|
1552
1548
|
} | null;
|
|
1553
1549
|
}[], Error>>;
|
|
1554
|
-
fetchStatus:
|
|
1550
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
1555
1551
|
promise: Promise<{
|
|
1556
1552
|
optionId: bigint;
|
|
1557
1553
|
marketAddr: Address;
|
|
@@ -1653,7 +1649,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1653
1649
|
isRefetching: boolean;
|
|
1654
1650
|
isStale: boolean;
|
|
1655
1651
|
isEnabled: boolean;
|
|
1656
|
-
refetch: (options?:
|
|
1652
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
1657
1653
|
optionId: bigint;
|
|
1658
1654
|
marketAddr: Address;
|
|
1659
1655
|
ownerAddr: Address;
|
|
@@ -1692,7 +1688,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1692
1688
|
transactionHash: string;
|
|
1693
1689
|
} | null;
|
|
1694
1690
|
}[], Error>>;
|
|
1695
|
-
fetchStatus:
|
|
1691
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
1696
1692
|
promise: Promise<{
|
|
1697
1693
|
optionId: bigint;
|
|
1698
1694
|
marketAddr: Address;
|
|
@@ -1794,7 +1790,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1794
1790
|
isRefetching: boolean;
|
|
1795
1791
|
isStale: boolean;
|
|
1796
1792
|
isEnabled: boolean;
|
|
1797
|
-
refetch: (options?:
|
|
1793
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
1798
1794
|
optionId: bigint;
|
|
1799
1795
|
marketAddr: Address;
|
|
1800
1796
|
ownerAddr: Address;
|
|
@@ -1833,7 +1829,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1833
1829
|
transactionHash: string;
|
|
1834
1830
|
} | null;
|
|
1835
1831
|
}[], Error>>;
|
|
1836
|
-
fetchStatus:
|
|
1832
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
1837
1833
|
promise: Promise<{
|
|
1838
1834
|
optionId: bigint;
|
|
1839
1835
|
marketAddr: Address;
|
|
@@ -1936,7 +1932,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1936
1932
|
isRefetching: boolean;
|
|
1937
1933
|
isStale: boolean;
|
|
1938
1934
|
isEnabled: boolean;
|
|
1939
|
-
refetch: (options?:
|
|
1935
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
1940
1936
|
optionId: bigint;
|
|
1941
1937
|
marketAddr: Address;
|
|
1942
1938
|
ownerAddr: Address;
|
|
@@ -1975,7 +1971,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1975
1971
|
transactionHash: string;
|
|
1976
1972
|
} | null;
|
|
1977
1973
|
}[], Error>>;
|
|
1978
|
-
fetchStatus:
|
|
1974
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
1979
1975
|
promise: Promise<{
|
|
1980
1976
|
optionId: bigint;
|
|
1981
1977
|
marketAddr: Address;
|
|
@@ -2077,7 +2073,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2077
2073
|
isRefetching: boolean;
|
|
2078
2074
|
isStale: boolean;
|
|
2079
2075
|
isEnabled: boolean;
|
|
2080
|
-
refetch: (options?:
|
|
2076
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
2081
2077
|
optionId: bigint;
|
|
2082
2078
|
marketAddr: Address;
|
|
2083
2079
|
ownerAddr: Address;
|
|
@@ -2116,7 +2112,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2116
2112
|
transactionHash: string;
|
|
2117
2113
|
} | null;
|
|
2118
2114
|
}[], Error>>;
|
|
2119
|
-
fetchStatus:
|
|
2115
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
2120
2116
|
promise: Promise<{
|
|
2121
2117
|
optionId: bigint;
|
|
2122
2118
|
marketAddr: Address;
|
|
@@ -2218,7 +2214,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2218
2214
|
isRefetching: boolean;
|
|
2219
2215
|
isStale: boolean;
|
|
2220
2216
|
isEnabled: boolean;
|
|
2221
|
-
refetch: (options?:
|
|
2217
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
2222
2218
|
optionId: bigint;
|
|
2223
2219
|
marketAddr: Address;
|
|
2224
2220
|
ownerAddr: Address;
|
|
@@ -2257,7 +2253,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2257
2253
|
transactionHash: string;
|
|
2258
2254
|
} | null;
|
|
2259
2255
|
}[], Error>>;
|
|
2260
|
-
fetchStatus:
|
|
2256
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
2261
2257
|
promise: Promise<{
|
|
2262
2258
|
optionId: bigint;
|
|
2263
2259
|
marketAddr: Address;
|
|
@@ -2359,7 +2355,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2359
2355
|
isRefetching: boolean;
|
|
2360
2356
|
isStale: boolean;
|
|
2361
2357
|
isEnabled: boolean;
|
|
2362
|
-
refetch: (options?:
|
|
2358
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
2363
2359
|
optionId: bigint;
|
|
2364
2360
|
marketAddr: Address;
|
|
2365
2361
|
ownerAddr: Address;
|
|
@@ -2398,7 +2394,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2398
2394
|
transactionHash: string;
|
|
2399
2395
|
} | null;
|
|
2400
2396
|
}[], Error>>;
|
|
2401
|
-
fetchStatus:
|
|
2397
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
2402
2398
|
promise: Promise<{
|
|
2403
2399
|
optionId: bigint;
|
|
2404
2400
|
marketAddr: Address;
|
|
@@ -2500,7 +2496,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2500
2496
|
isRefetching: boolean;
|
|
2501
2497
|
isStale: boolean;
|
|
2502
2498
|
isEnabled: boolean;
|
|
2503
|
-
refetch: (options?:
|
|
2499
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
2504
2500
|
optionId: bigint;
|
|
2505
2501
|
marketAddr: Address;
|
|
2506
2502
|
ownerAddr: Address;
|
|
@@ -2539,7 +2535,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2539
2535
|
transactionHash: string;
|
|
2540
2536
|
} | null;
|
|
2541
2537
|
}[], Error>>;
|
|
2542
|
-
fetchStatus:
|
|
2538
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
2543
2539
|
promise: Promise<{
|
|
2544
2540
|
optionId: bigint;
|
|
2545
2541
|
marketAddr: Address;
|
|
@@ -2641,7 +2637,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2641
2637
|
isRefetching: boolean;
|
|
2642
2638
|
isStale: boolean;
|
|
2643
2639
|
isEnabled: boolean;
|
|
2644
|
-
refetch: (options?:
|
|
2640
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
2645
2641
|
optionId: bigint;
|
|
2646
2642
|
marketAddr: Address;
|
|
2647
2643
|
ownerAddr: Address;
|
|
@@ -2680,7 +2676,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2680
2676
|
transactionHash: string;
|
|
2681
2677
|
} | null;
|
|
2682
2678
|
}[], Error>>;
|
|
2683
|
-
fetchStatus:
|
|
2679
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
2684
2680
|
promise: Promise<{
|
|
2685
2681
|
optionId: bigint;
|
|
2686
2682
|
marketAddr: Address;
|
|
@@ -2762,15 +2758,10 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2762
2758
|
};
|
|
2763
2759
|
//#endregion
|
|
2764
2760
|
//#region src/hooks/market/useExerciseOption.d.ts
|
|
2765
|
-
declare const useExerciseOption: (marketAddr?: Address) => {
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
isConfirming: boolean;
|
|
2770
|
-
isSuccess: boolean;
|
|
2771
|
-
error: _wagmi_core0.WriteContractErrorType | null;
|
|
2772
|
-
isLoading: boolean;
|
|
2773
|
-
};
|
|
2761
|
+
declare const useExerciseOption: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
2762
|
+
option: OptionData;
|
|
2763
|
+
liquidities: readonly bigint[];
|
|
2764
|
+
}, unknown>;
|
|
2774
2765
|
//#endregion
|
|
2775
2766
|
//#region src/hooks/market/useMarketData.d.ts
|
|
2776
2767
|
declare const useMarketData: (marketAddr?: Address) => Partial<NonUndefinedGuard<{
|
|
@@ -2801,18 +2792,12 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
2801
2792
|
};
|
|
2802
2793
|
//#endregion
|
|
2803
2794
|
//#region src/hooks/market/useMintOption.d.ts
|
|
2804
|
-
declare const useMintOption: (marketAddr?: Address) => {
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
error: wagmi0.ConnectorAccountNotFoundErrorType | wagmi0.ConnectorChainMismatchErrorType | _wagmi_core0.ConnectorNotConnectedErrorType | wagmi0.ConnectorUnavailableReconnectingErrorType | viem116.BaseErrorType | node_modules__wagmi_core_dist_types_errors_base0.ErrorType | node_modules__wagmi_core_dist_types_errors_base0.BaseErrorType | viem116.AbiFunctionNotFoundErrorType | viem116.AbiEncodingLengthMismatchErrorType | viem116.InvalidAddressErrorType | viem116.AbiEncodingArrayLengthMismatchErrorType | viem116.IntegerOutOfRangeErrorType | viem116.SizeExceedsPaddingSizeErrorType | viem116.InvalidArrayErrorType | viem116.AbiEncodingBytesSizeMismatchErrorType | viem116.SizeOverflowErrorType | viem116.SliceOffsetOutOfBoundsErrorType | viem116.InvalidAbiEncodingTypeErrorType | viem116.InvalidDefinitionTypeErrorType | node_modules_viem__types_errors_abi0.AbiItemAmbiguityErrorType | node_modules_viem__types_errors_account0.AccountNotFoundErrorType | viem116.GetContractErrorReturnType<viem116.SendTransactionErrorType> | null;
|
|
2811
|
-
isLoading: boolean;
|
|
2812
|
-
isApprovalPending: boolean;
|
|
2813
|
-
approvalError: _wagmi_core0.WriteContractErrorType | null;
|
|
2814
|
-
resetApproval: () => void;
|
|
2815
|
-
};
|
|
2795
|
+
declare const useMintOption: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
2796
|
+
optionType: "CALL" | "PUT";
|
|
2797
|
+
amount: bigint;
|
|
2798
|
+
duration: number;
|
|
2799
|
+
strikeTick?: number;
|
|
2800
|
+
}, unknown>;
|
|
2816
2801
|
//#endregion
|
|
2817
2802
|
//#region src/hooks/market/useOptionPnl.d.ts
|
|
2818
2803
|
declare const useOptionPnl: (option: OptionData) => {
|
|
@@ -2832,18 +2817,10 @@ declare const useOptionPremium: (marketAddr: Address | undefined, optionType: "C
|
|
|
2832
2817
|
};
|
|
2833
2818
|
//#endregion
|
|
2834
2819
|
//#region src/hooks/market/useExtendOption.d.ts
|
|
2835
|
-
declare const useExtendOption: (marketAddr?: Address) => {
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
isConfirming: boolean;
|
|
2840
|
-
isSuccess: boolean;
|
|
2841
|
-
error: wagmi0.ConnectorAccountNotFoundErrorType | wagmi0.ConnectorChainMismatchErrorType | _wagmi_core0.ConnectorNotConnectedErrorType | wagmi0.ConnectorUnavailableReconnectingErrorType | viem116.BaseErrorType | node_modules__wagmi_core_dist_types_errors_base0.ErrorType | node_modules__wagmi_core_dist_types_errors_base0.BaseErrorType | viem116.AbiFunctionNotFoundErrorType | viem116.AbiEncodingLengthMismatchErrorType | viem116.InvalidAddressErrorType | viem116.AbiEncodingArrayLengthMismatchErrorType | viem116.IntegerOutOfRangeErrorType | viem116.SizeExceedsPaddingSizeErrorType | viem116.InvalidArrayErrorType | viem116.AbiEncodingBytesSizeMismatchErrorType | viem116.SizeOverflowErrorType | viem116.SliceOffsetOutOfBoundsErrorType | viem116.InvalidAbiEncodingTypeErrorType | viem116.InvalidDefinitionTypeErrorType | node_modules_viem__types_errors_abi0.AbiItemAmbiguityErrorType | node_modules_viem__types_errors_account0.AccountNotFoundErrorType | viem116.GetContractErrorReturnType<viem116.SendTransactionErrorType> | null;
|
|
2842
|
-
isLoading: boolean;
|
|
2843
|
-
isApprovalPending: boolean;
|
|
2844
|
-
approvalError: _wagmi_core0.WriteContractErrorType | null;
|
|
2845
|
-
resetApproval: () => void;
|
|
2846
|
-
};
|
|
2820
|
+
declare const useExtendOption: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
2821
|
+
option: OptionData;
|
|
2822
|
+
duration: number;
|
|
2823
|
+
}, unknown>;
|
|
2847
2824
|
//#endregion
|
|
2848
2825
|
//#region src/hooks/market/useUserOperators.d.ts
|
|
2849
2826
|
declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
@@ -2883,7 +2860,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2883
2860
|
isRefetching: boolean;
|
|
2884
2861
|
isStale: boolean;
|
|
2885
2862
|
isEnabled: boolean;
|
|
2886
|
-
refetch: (options?:
|
|
2863
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
2887
2864
|
spendingApproval: bigint;
|
|
2888
2865
|
operatorAddr: string;
|
|
2889
2866
|
__typename: "UserMarketOperator";
|
|
@@ -2897,7 +2874,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2897
2874
|
address: string;
|
|
2898
2875
|
} | null;
|
|
2899
2876
|
}[] | undefined, Error>>;
|
|
2900
|
-
fetchStatus:
|
|
2877
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
2901
2878
|
promise: Promise<{
|
|
2902
2879
|
spendingApproval: bigint;
|
|
2903
2880
|
operatorAddr: string;
|
|
@@ -2949,7 +2926,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2949
2926
|
isRefetching: boolean;
|
|
2950
2927
|
isStale: boolean;
|
|
2951
2928
|
isEnabled: boolean;
|
|
2952
|
-
refetch: (options?:
|
|
2929
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
2953
2930
|
spendingApproval: bigint;
|
|
2954
2931
|
operatorAddr: string;
|
|
2955
2932
|
__typename: "UserMarketOperator";
|
|
@@ -2963,7 +2940,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2963
2940
|
address: string;
|
|
2964
2941
|
} | null;
|
|
2965
2942
|
}[] | undefined, Error>>;
|
|
2966
|
-
fetchStatus:
|
|
2943
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
2967
2944
|
promise: Promise<{
|
|
2968
2945
|
spendingApproval: bigint;
|
|
2969
2946
|
operatorAddr: string;
|
|
@@ -3015,7 +2992,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3015
2992
|
isRefetching: boolean;
|
|
3016
2993
|
isStale: boolean;
|
|
3017
2994
|
isEnabled: boolean;
|
|
3018
|
-
refetch: (options?:
|
|
2995
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
3019
2996
|
spendingApproval: bigint;
|
|
3020
2997
|
operatorAddr: string;
|
|
3021
2998
|
__typename: "UserMarketOperator";
|
|
@@ -3029,7 +3006,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3029
3006
|
address: string;
|
|
3030
3007
|
} | null;
|
|
3031
3008
|
}[] | undefined, Error>>;
|
|
3032
|
-
fetchStatus:
|
|
3009
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
3033
3010
|
promise: Promise<{
|
|
3034
3011
|
spendingApproval: bigint;
|
|
3035
3012
|
operatorAddr: string;
|
|
@@ -3081,7 +3058,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3081
3058
|
isRefetching: boolean;
|
|
3082
3059
|
isStale: boolean;
|
|
3083
3060
|
isEnabled: boolean;
|
|
3084
|
-
refetch: (options?:
|
|
3061
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
3085
3062
|
spendingApproval: bigint;
|
|
3086
3063
|
operatorAddr: string;
|
|
3087
3064
|
__typename: "UserMarketOperator";
|
|
@@ -3095,7 +3072,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3095
3072
|
address: string;
|
|
3096
3073
|
} | null;
|
|
3097
3074
|
}[] | undefined, Error>>;
|
|
3098
|
-
fetchStatus:
|
|
3075
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
3099
3076
|
promise: Promise<{
|
|
3100
3077
|
spendingApproval: bigint;
|
|
3101
3078
|
operatorAddr: string;
|
|
@@ -3147,7 +3124,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3147
3124
|
isRefetching: boolean;
|
|
3148
3125
|
isStale: boolean;
|
|
3149
3126
|
isEnabled: boolean;
|
|
3150
|
-
refetch: (options?:
|
|
3127
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
3151
3128
|
spendingApproval: bigint;
|
|
3152
3129
|
operatorAddr: string;
|
|
3153
3130
|
__typename: "UserMarketOperator";
|
|
@@ -3161,7 +3138,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3161
3138
|
address: string;
|
|
3162
3139
|
} | null;
|
|
3163
3140
|
}[] | undefined, Error>>;
|
|
3164
|
-
fetchStatus:
|
|
3141
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
3165
3142
|
promise: Promise<{
|
|
3166
3143
|
spendingApproval: bigint;
|
|
3167
3144
|
operatorAddr: string;
|
|
@@ -3213,7 +3190,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3213
3190
|
isRefetching: boolean;
|
|
3214
3191
|
isStale: boolean;
|
|
3215
3192
|
isEnabled: boolean;
|
|
3216
|
-
refetch: (options?:
|
|
3193
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
3217
3194
|
spendingApproval: bigint;
|
|
3218
3195
|
operatorAddr: string;
|
|
3219
3196
|
__typename: "UserMarketOperator";
|
|
@@ -3227,7 +3204,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3227
3204
|
address: string;
|
|
3228
3205
|
} | null;
|
|
3229
3206
|
}[] | undefined, Error>>;
|
|
3230
|
-
fetchStatus:
|
|
3207
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
3231
3208
|
promise: Promise<{
|
|
3232
3209
|
spendingApproval: bigint;
|
|
3233
3210
|
operatorAddr: string;
|
|
@@ -3245,15 +3222,14 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3245
3222
|
};
|
|
3246
3223
|
//#endregion
|
|
3247
3224
|
//#region src/hooks/market/useSetOperatorPerms.d.ts
|
|
3248
|
-
declare const useSetOperatorPerms: (marketAddr?: Address) => {
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
};
|
|
3225
|
+
declare const useSetOperatorPerms: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
3226
|
+
operator: Address;
|
|
3227
|
+
canExtend: boolean;
|
|
3228
|
+
canExercise: boolean;
|
|
3229
|
+
canTransfer: boolean;
|
|
3230
|
+
canMint: boolean;
|
|
3231
|
+
spendingApproval: bigint;
|
|
3232
|
+
}, unknown>;
|
|
3257
3233
|
//#endregion
|
|
3258
3234
|
//#region src/hooks/pool/useCurrentPrice.d.ts
|
|
3259
3235
|
declare const useCurrentPrice: (poolAddr?: Address) => {
|
|
@@ -3341,7 +3317,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3341
3317
|
isRefetching: boolean;
|
|
3342
3318
|
isStale: boolean;
|
|
3343
3319
|
isEnabled: boolean;
|
|
3344
|
-
refetch: (options?:
|
|
3320
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
3345
3321
|
tickLower: number;
|
|
3346
3322
|
tickUpper: number;
|
|
3347
3323
|
prevTickLower: number;
|
|
@@ -3352,7 +3328,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3352
3328
|
borrowedAmount0: bigint;
|
|
3353
3329
|
borrowedAmount1: bigint;
|
|
3354
3330
|
}[], viem116.ReadContractErrorType>>;
|
|
3355
|
-
fetchStatus:
|
|
3331
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
3356
3332
|
promise: Promise<readonly {
|
|
3357
3333
|
tickLower: number;
|
|
3358
3334
|
tickUpper: number;
|
|
@@ -3364,7 +3340,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3364
3340
|
borrowedAmount0: bigint;
|
|
3365
3341
|
borrowedAmount1: bigint;
|
|
3366
3342
|
}[]>;
|
|
3367
|
-
queryKey:
|
|
3343
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
3368
3344
|
data: readonly {
|
|
3369
3345
|
tickLower: number;
|
|
3370
3346
|
tickUpper: number;
|
|
@@ -3399,7 +3375,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3399
3375
|
isRefetching: boolean;
|
|
3400
3376
|
isStale: boolean;
|
|
3401
3377
|
isEnabled: boolean;
|
|
3402
|
-
refetch: (options?:
|
|
3378
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
3403
3379
|
tickLower: number;
|
|
3404
3380
|
tickUpper: number;
|
|
3405
3381
|
prevTickLower: number;
|
|
@@ -3410,7 +3386,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3410
3386
|
borrowedAmount0: bigint;
|
|
3411
3387
|
borrowedAmount1: bigint;
|
|
3412
3388
|
}[], viem116.ReadContractErrorType>>;
|
|
3413
|
-
fetchStatus:
|
|
3389
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
3414
3390
|
promise: Promise<readonly {
|
|
3415
3391
|
tickLower: number;
|
|
3416
3392
|
tickUpper: number;
|
|
@@ -3422,7 +3398,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3422
3398
|
borrowedAmount0: bigint;
|
|
3423
3399
|
borrowedAmount1: bigint;
|
|
3424
3400
|
}[]>;
|
|
3425
|
-
queryKey:
|
|
3401
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
3426
3402
|
data: readonly {
|
|
3427
3403
|
tickLower: number;
|
|
3428
3404
|
tickUpper: number;
|
|
@@ -3457,7 +3433,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3457
3433
|
isRefetching: boolean;
|
|
3458
3434
|
isStale: boolean;
|
|
3459
3435
|
isEnabled: boolean;
|
|
3460
|
-
refetch: (options?:
|
|
3436
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
3461
3437
|
tickLower: number;
|
|
3462
3438
|
tickUpper: number;
|
|
3463
3439
|
prevTickLower: number;
|
|
@@ -3468,7 +3444,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3468
3444
|
borrowedAmount0: bigint;
|
|
3469
3445
|
borrowedAmount1: bigint;
|
|
3470
3446
|
}[], viem116.ReadContractErrorType>>;
|
|
3471
|
-
fetchStatus:
|
|
3447
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
3472
3448
|
promise: Promise<readonly {
|
|
3473
3449
|
tickLower: number;
|
|
3474
3450
|
tickUpper: number;
|
|
@@ -3480,7 +3456,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3480
3456
|
borrowedAmount0: bigint;
|
|
3481
3457
|
borrowedAmount1: bigint;
|
|
3482
3458
|
}[]>;
|
|
3483
|
-
queryKey:
|
|
3459
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
3484
3460
|
data: readonly {
|
|
3485
3461
|
tickLower: number;
|
|
3486
3462
|
tickUpper: number;
|
|
@@ -3515,7 +3491,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3515
3491
|
isRefetching: boolean;
|
|
3516
3492
|
isStale: boolean;
|
|
3517
3493
|
isEnabled: boolean;
|
|
3518
|
-
refetch: (options?:
|
|
3494
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
3519
3495
|
tickLower: number;
|
|
3520
3496
|
tickUpper: number;
|
|
3521
3497
|
prevTickLower: number;
|
|
@@ -3526,7 +3502,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3526
3502
|
borrowedAmount0: bigint;
|
|
3527
3503
|
borrowedAmount1: bigint;
|
|
3528
3504
|
}[], viem116.ReadContractErrorType>>;
|
|
3529
|
-
fetchStatus:
|
|
3505
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
3530
3506
|
promise: Promise<readonly {
|
|
3531
3507
|
tickLower: number;
|
|
3532
3508
|
tickUpper: number;
|
|
@@ -3538,7 +3514,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3538
3514
|
borrowedAmount0: bigint;
|
|
3539
3515
|
borrowedAmount1: bigint;
|
|
3540
3516
|
}[]>;
|
|
3541
|
-
queryKey:
|
|
3517
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
3542
3518
|
data: readonly {
|
|
3543
3519
|
tickLower: number;
|
|
3544
3520
|
tickUpper: number;
|
|
@@ -3573,7 +3549,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3573
3549
|
isRefetching: boolean;
|
|
3574
3550
|
isStale: boolean;
|
|
3575
3551
|
isEnabled: boolean;
|
|
3576
|
-
refetch: (options?:
|
|
3552
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
3577
3553
|
tickLower: number;
|
|
3578
3554
|
tickUpper: number;
|
|
3579
3555
|
prevTickLower: number;
|
|
@@ -3584,7 +3560,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3584
3560
|
borrowedAmount0: bigint;
|
|
3585
3561
|
borrowedAmount1: bigint;
|
|
3586
3562
|
}[], viem116.ReadContractErrorType>>;
|
|
3587
|
-
fetchStatus:
|
|
3563
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
3588
3564
|
promise: Promise<readonly {
|
|
3589
3565
|
tickLower: number;
|
|
3590
3566
|
tickUpper: number;
|
|
@@ -3596,7 +3572,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3596
3572
|
borrowedAmount0: bigint;
|
|
3597
3573
|
borrowedAmount1: bigint;
|
|
3598
3574
|
}[]>;
|
|
3599
|
-
queryKey:
|
|
3575
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
3600
3576
|
data: readonly {
|
|
3601
3577
|
tickLower: number;
|
|
3602
3578
|
tickUpper: number;
|
|
@@ -3631,7 +3607,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3631
3607
|
isRefetching: boolean;
|
|
3632
3608
|
isStale: boolean;
|
|
3633
3609
|
isEnabled: boolean;
|
|
3634
|
-
refetch: (options?:
|
|
3610
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
3635
3611
|
tickLower: number;
|
|
3636
3612
|
tickUpper: number;
|
|
3637
3613
|
prevTickLower: number;
|
|
@@ -3642,7 +3618,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3642
3618
|
borrowedAmount0: bigint;
|
|
3643
3619
|
borrowedAmount1: bigint;
|
|
3644
3620
|
}[], viem116.ReadContractErrorType>>;
|
|
3645
|
-
fetchStatus:
|
|
3621
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
3646
3622
|
promise: Promise<readonly {
|
|
3647
3623
|
tickLower: number;
|
|
3648
3624
|
tickUpper: number;
|
|
@@ -3654,7 +3630,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3654
3630
|
borrowedAmount0: bigint;
|
|
3655
3631
|
borrowedAmount1: bigint;
|
|
3656
3632
|
}[]>;
|
|
3657
|
-
queryKey:
|
|
3633
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
3658
3634
|
data: readonly {
|
|
3659
3635
|
tickLower: number;
|
|
3660
3636
|
tickUpper: number;
|
|
@@ -3714,7 +3690,7 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
3714
3690
|
borrowedAmount0: Amount;
|
|
3715
3691
|
borrowedAmount1: Amount;
|
|
3716
3692
|
blocksCount: bigint;
|
|
3717
|
-
refetch: (options?:
|
|
3693
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem116.ReadContractErrorType>>;
|
|
3718
3694
|
};
|
|
3719
3695
|
//#endregion
|
|
3720
3696
|
//#region src/hooks/useLens.d.ts
|