timelock-sdk 0.0.69 → 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 +146 -170
- package/dist/client.d.ts +79 -103
- package/dist/client.js +27 -69
- package/dist/client.js.map +1 -1
- package/dist/{index-CuYoBZfR.d.cts → index-C-uDgfkL.d.cts} +93 -93
- package/dist/{index-BRr6yTo0.d.ts → index-CdkTrz02.d.ts} +2 -2
- package/dist/numberUtils--YU8VSJO.js.map +1 -1
- package/dist/numberUtils-fHghA8Tv.cjs.map +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +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-
|
|
3
|
-
import * as
|
|
2
|
+
import { A as UniswapMathLens, k as TimelockMarketData, p as Amount } from "./index-C-uDgfkL.cjs";
|
|
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 | viem249.BaseErrorType | node_modules__wagmi_core_dist_types_errors_base0.ErrorType | node_modules__wagmi_core_dist_types_errors_base0.BaseErrorType | viem249.AbiFunctionNotFoundErrorType | viem249.AbiEncodingLengthMismatchErrorType | viem249.InvalidAddressErrorType | viem249.AbiEncodingArrayLengthMismatchErrorType | viem249.IntegerOutOfRangeErrorType | viem249.SizeExceedsPaddingSizeErrorType | viem249.InvalidArrayErrorType | viem249.AbiEncodingBytesSizeMismatchErrorType | viem249.SizeOverflowErrorType | viem249.SliceOffsetOutOfBoundsErrorType | viem249.InvalidAbiEncodingTypeErrorType | viem249.InvalidDefinitionTypeErrorType | node_modules_viem__types_errors_abi0.AbiItemAmbiguityErrorType | node_modules_viem__types_errors_account0.AccountNotFoundErrorType | viem249.GetContractErrorReturnType<viem249.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 | viem249.BaseErrorType | node_modules__wagmi_core_dist_types_errors_base0.ErrorType | node_modules__wagmi_core_dist_types_errors_base0.BaseErrorType | viem249.AbiFunctionNotFoundErrorType | viem249.AbiEncodingLengthMismatchErrorType | viem249.InvalidAddressErrorType | viem249.AbiEncodingArrayLengthMismatchErrorType | viem249.IntegerOutOfRangeErrorType | viem249.SizeExceedsPaddingSizeErrorType | viem249.InvalidArrayErrorType | viem249.AbiEncodingBytesSizeMismatchErrorType | viem249.SizeOverflowErrorType | viem249.SliceOffsetOutOfBoundsErrorType | viem249.InvalidAbiEncodingTypeErrorType | viem249.InvalidDefinitionTypeErrorType | node_modules_viem__types_errors_abi0.AbiItemAmbiguityErrorType | node_modules_viem__types_errors_account0.AccountNotFoundErrorType | viem249.GetContractErrorReturnType<viem249.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) => {
|
|
@@ -3319,7 +3295,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
3319
3295
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
3320
3296
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
3321
3297
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
3322
|
-
error:
|
|
3298
|
+
error: viem116.ReadContractErrorType;
|
|
3323
3299
|
isError: true;
|
|
3324
3300
|
isPending: false;
|
|
3325
3301
|
isLoading: false;
|
|
@@ -3331,7 +3307,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3331
3307
|
dataUpdatedAt: number;
|
|
3332
3308
|
errorUpdatedAt: number;
|
|
3333
3309
|
failureCount: number;
|
|
3334
|
-
failureReason:
|
|
3310
|
+
failureReason: viem116.ReadContractErrorType | null;
|
|
3335
3311
|
errorUpdateCount: number;
|
|
3336
3312
|
isFetched: boolean;
|
|
3337
3313
|
isFetchedAfterMount: boolean;
|
|
@@ -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;
|
|
@@ -3351,8 +3327,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3351
3327
|
totalAmount1: bigint;
|
|
3352
3328
|
borrowedAmount0: bigint;
|
|
3353
3329
|
borrowedAmount1: bigint;
|
|
3354
|
-
}[],
|
|
3355
|
-
fetchStatus:
|
|
3330
|
+
}[], viem116.ReadContractErrorType>>;
|
|
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;
|
|
@@ -3389,7 +3365,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3389
3365
|
dataUpdatedAt: number;
|
|
3390
3366
|
errorUpdatedAt: number;
|
|
3391
3367
|
failureCount: number;
|
|
3392
|
-
failureReason:
|
|
3368
|
+
failureReason: viem116.ReadContractErrorType | null;
|
|
3393
3369
|
errorUpdateCount: number;
|
|
3394
3370
|
isFetched: boolean;
|
|
3395
3371
|
isFetchedAfterMount: boolean;
|
|
@@ -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;
|
|
@@ -3409,8 +3385,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3409
3385
|
totalAmount1: bigint;
|
|
3410
3386
|
borrowedAmount0: bigint;
|
|
3411
3387
|
borrowedAmount1: bigint;
|
|
3412
|
-
}[],
|
|
3413
|
-
fetchStatus:
|
|
3388
|
+
}[], viem116.ReadContractErrorType>>;
|
|
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;
|
|
@@ -3435,7 +3411,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3435
3411
|
borrowedAmount1: bigint;
|
|
3436
3412
|
}[];
|
|
3437
3413
|
} | {
|
|
3438
|
-
error:
|
|
3414
|
+
error: viem116.ReadContractErrorType;
|
|
3439
3415
|
isError: true;
|
|
3440
3416
|
isPending: false;
|
|
3441
3417
|
isLoading: false;
|
|
@@ -3447,7 +3423,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3447
3423
|
dataUpdatedAt: number;
|
|
3448
3424
|
errorUpdatedAt: number;
|
|
3449
3425
|
failureCount: number;
|
|
3450
|
-
failureReason:
|
|
3426
|
+
failureReason: viem116.ReadContractErrorType | null;
|
|
3451
3427
|
errorUpdateCount: number;
|
|
3452
3428
|
isFetched: boolean;
|
|
3453
3429
|
isFetchedAfterMount: boolean;
|
|
@@ -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;
|
|
@@ -3467,8 +3443,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3467
3443
|
totalAmount1: bigint;
|
|
3468
3444
|
borrowedAmount0: bigint;
|
|
3469
3445
|
borrowedAmount1: bigint;
|
|
3470
|
-
}[],
|
|
3471
|
-
fetchStatus:
|
|
3446
|
+
}[], viem116.ReadContractErrorType>>;
|
|
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;
|
|
@@ -3505,7 +3481,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3505
3481
|
dataUpdatedAt: number;
|
|
3506
3482
|
errorUpdatedAt: number;
|
|
3507
3483
|
failureCount: number;
|
|
3508
|
-
failureReason:
|
|
3484
|
+
failureReason: viem116.ReadContractErrorType | null;
|
|
3509
3485
|
errorUpdateCount: number;
|
|
3510
3486
|
isFetched: boolean;
|
|
3511
3487
|
isFetchedAfterMount: boolean;
|
|
@@ -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;
|
|
@@ -3525,8 +3501,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3525
3501
|
totalAmount1: bigint;
|
|
3526
3502
|
borrowedAmount0: bigint;
|
|
3527
3503
|
borrowedAmount1: bigint;
|
|
3528
|
-
}[],
|
|
3529
|
-
fetchStatus:
|
|
3504
|
+
}[], viem116.ReadContractErrorType>>;
|
|
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;
|
|
@@ -3562,7 +3538,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3562
3538
|
dataUpdatedAt: number;
|
|
3563
3539
|
errorUpdatedAt: number;
|
|
3564
3540
|
failureCount: number;
|
|
3565
|
-
failureReason:
|
|
3541
|
+
failureReason: viem116.ReadContractErrorType | null;
|
|
3566
3542
|
errorUpdateCount: number;
|
|
3567
3543
|
isFetched: boolean;
|
|
3568
3544
|
isFetchedAfterMount: boolean;
|
|
@@ -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;
|
|
@@ -3583,8 +3559,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3583
3559
|
totalAmount1: bigint;
|
|
3584
3560
|
borrowedAmount0: bigint;
|
|
3585
3561
|
borrowedAmount1: bigint;
|
|
3586
|
-
}[],
|
|
3587
|
-
fetchStatus:
|
|
3562
|
+
}[], viem116.ReadContractErrorType>>;
|
|
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;
|
|
@@ -3621,7 +3597,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3621
3597
|
dataUpdatedAt: number;
|
|
3622
3598
|
errorUpdatedAt: number;
|
|
3623
3599
|
failureCount: number;
|
|
3624
|
-
failureReason:
|
|
3600
|
+
failureReason: viem116.ReadContractErrorType | null;
|
|
3625
3601
|
errorUpdateCount: number;
|
|
3626
3602
|
isFetched: boolean;
|
|
3627
3603
|
isFetchedAfterMount: boolean;
|
|
@@ -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;
|
|
@@ -3641,8 +3617,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3641
3617
|
totalAmount1: bigint;
|
|
3642
3618
|
borrowedAmount0: bigint;
|
|
3643
3619
|
borrowedAmount1: bigint;
|
|
3644
|
-
}[],
|
|
3645
|
-
fetchStatus:
|
|
3620
|
+
}[], viem116.ReadContractErrorType>>;
|
|
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,14 +3690,14 @@ 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
|
|
3721
3697
|
declare const useLens: () => {
|
|
3722
3698
|
timelockLens: {
|
|
3723
3699
|
read: {
|
|
3724
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
3700
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
3725
3701
|
readonly type: "function";
|
|
3726
3702
|
readonly name: "batchGetRefTick";
|
|
3727
3703
|
readonly inputs: readonly [{
|
|
@@ -4395,7 +4371,7 @@ declare const useLens: () => {
|
|
|
4395
4371
|
}];
|
|
4396
4372
|
readonly stateMutability: "view";
|
|
4397
4373
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
4398
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
4374
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
4399
4375
|
readonly type: "function";
|
|
4400
4376
|
readonly name: "batchGetRefTick";
|
|
4401
4377
|
readonly inputs: readonly [{
|
|
@@ -5079,7 +5055,7 @@ declare const useLens: () => {
|
|
|
5079
5055
|
borrowedAmount0: bigint;
|
|
5080
5056
|
borrowedAmount1: bigint;
|
|
5081
5057
|
}[]>;
|
|
5082
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
5058
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
5083
5059
|
readonly type: "function";
|
|
5084
5060
|
readonly name: "batchGetRefTick";
|
|
5085
5061
|
readonly inputs: readonly [{
|
|
@@ -5770,7 +5746,7 @@ declare const useLens: () => {
|
|
|
5770
5746
|
expiresAt: number;
|
|
5771
5747
|
liquidities: readonly bigint[];
|
|
5772
5748
|
}[], bigint, boolean]>;
|
|
5773
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
5749
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
5774
5750
|
readonly type: "function";
|
|
5775
5751
|
readonly name: "batchGetRefTick";
|
|
5776
5752
|
readonly inputs: readonly [{
|
|
@@ -6444,7 +6420,7 @@ declare const useLens: () => {
|
|
|
6444
6420
|
}];
|
|
6445
6421
|
readonly stateMutability: "view";
|
|
6446
6422
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
6447
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
6423
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
6448
6424
|
readonly type: "function";
|
|
6449
6425
|
readonly name: "batchGetRefTick";
|
|
6450
6426
|
readonly inputs: readonly [{
|
|
@@ -7131,7 +7107,7 @@ declare const useLens: () => {
|
|
|
7131
7107
|
payoutAssetName: string;
|
|
7132
7108
|
optionsCount: bigint;
|
|
7133
7109
|
}>;
|
|
7134
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
7110
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
7135
7111
|
readonly type: "function";
|
|
7136
7112
|
readonly name: "batchGetRefTick";
|
|
7137
7113
|
readonly inputs: readonly [{
|
|
@@ -7805,7 +7781,7 @@ declare const useLens: () => {
|
|
|
7805
7781
|
}];
|
|
7806
7782
|
readonly stateMutability: "view";
|
|
7807
7783
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
7808
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
7784
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
7809
7785
|
readonly type: "function";
|
|
7810
7786
|
readonly name: "batchGetRefTick";
|
|
7811
7787
|
readonly inputs: readonly [{
|
|
@@ -8479,7 +8455,7 @@ declare const useLens: () => {
|
|
|
8479
8455
|
}];
|
|
8480
8456
|
readonly stateMutability: "view";
|
|
8481
8457
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
8482
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
8458
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
8483
8459
|
readonly type: "function";
|
|
8484
8460
|
readonly name: "batchGetRefTick";
|
|
8485
8461
|
readonly inputs: readonly [{
|
|
@@ -9170,7 +9146,7 @@ declare const useLens: () => {
|
|
|
9170
9146
|
expiresAt: number;
|
|
9171
9147
|
liquidities: readonly bigint[];
|
|
9172
9148
|
}>;
|
|
9173
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
9149
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
9174
9150
|
readonly type: "function";
|
|
9175
9151
|
readonly name: "batchGetRefTick";
|
|
9176
9152
|
readonly inputs: readonly [{
|
|
@@ -9861,7 +9837,7 @@ declare const useLens: () => {
|
|
|
9861
9837
|
expiresAt: number;
|
|
9862
9838
|
liquidities: readonly bigint[];
|
|
9863
9839
|
}[]>;
|
|
9864
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
9840
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
9865
9841
|
readonly type: "function";
|
|
9866
9842
|
readonly name: "batchGetRefTick";
|
|
9867
9843
|
readonly inputs: readonly [{
|
|
@@ -10546,7 +10522,7 @@ declare const useLens: () => {
|
|
|
10546
10522
|
tickSpacing: number;
|
|
10547
10523
|
fee: number;
|
|
10548
10524
|
}>;
|
|
10549
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
10525
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
10550
10526
|
readonly type: "function";
|
|
10551
10527
|
readonly name: "batchGetRefTick";
|
|
10552
10528
|
readonly inputs: readonly [{
|
|
@@ -11220,7 +11196,7 @@ declare const useLens: () => {
|
|
|
11220
11196
|
}];
|
|
11221
11197
|
readonly stateMutability: "view";
|
|
11222
11198
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
11223
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
11199
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
11224
11200
|
readonly type: "function";
|
|
11225
11201
|
readonly name: "batchGetRefTick";
|
|
11226
11202
|
readonly inputs: readonly [{
|
|
@@ -11911,7 +11887,7 @@ declare const useLens: () => {
|
|
|
11911
11887
|
expiresAt: number;
|
|
11912
11888
|
liquidities: readonly bigint[];
|
|
11913
11889
|
}[], bigint, boolean]>;
|
|
11914
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
11890
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
11915
11891
|
readonly type: "function";
|
|
11916
11892
|
readonly name: "batchGetRefTick";
|
|
11917
11893
|
readonly inputs: readonly [{
|
|
@@ -13264,7 +13240,7 @@ declare const useLens: () => {
|
|
|
13264
13240
|
} | undefined;
|
|
13265
13241
|
uniswapLens: {
|
|
13266
13242
|
read: {
|
|
13267
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
13243
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
13268
13244
|
readonly type: "function";
|
|
13269
13245
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13270
13246
|
readonly inputs: readonly [{
|
|
@@ -13885,7 +13861,7 @@ declare const useLens: () => {
|
|
|
13885
13861
|
}];
|
|
13886
13862
|
readonly stateMutability: "pure";
|
|
13887
13863
|
}], "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?:
|
|
13864
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
13889
13865
|
readonly type: "function";
|
|
13890
13866
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13891
13867
|
readonly inputs: readonly [{
|
|
@@ -14506,7 +14482,7 @@ declare const useLens: () => {
|
|
|
14506
14482
|
}];
|
|
14507
14483
|
readonly stateMutability: "pure";
|
|
14508
14484
|
}], "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?:
|
|
14485
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
14510
14486
|
readonly type: "function";
|
|
14511
14487
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14512
14488
|
readonly inputs: readonly [{
|
|
@@ -15127,7 +15103,7 @@ declare const useLens: () => {
|
|
|
15127
15103
|
}];
|
|
15128
15104
|
readonly stateMutability: "pure";
|
|
15129
15105
|
}], "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?:
|
|
15106
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
15131
15107
|
readonly type: "function";
|
|
15132
15108
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15133
15109
|
readonly inputs: readonly [{
|
|
@@ -15748,7 +15724,7 @@ declare const useLens: () => {
|
|
|
15748
15724
|
}];
|
|
15749
15725
|
readonly stateMutability: "pure";
|
|
15750
15726
|
}], "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?:
|
|
15727
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
15752
15728
|
readonly type: "function";
|
|
15753
15729
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15754
15730
|
readonly inputs: readonly [{
|
|
@@ -16369,7 +16345,7 @@ declare const useLens: () => {
|
|
|
16369
16345
|
}];
|
|
16370
16346
|
readonly stateMutability: "pure";
|
|
16371
16347
|
}], "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?:
|
|
16348
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
16373
16349
|
readonly type: "function";
|
|
16374
16350
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16375
16351
|
readonly inputs: readonly [{
|
|
@@ -16990,7 +16966,7 @@ declare const useLens: () => {
|
|
|
16990
16966
|
}];
|
|
16991
16967
|
readonly stateMutability: "pure";
|
|
16992
16968
|
}], "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?:
|
|
16969
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
16994
16970
|
readonly type: "function";
|
|
16995
16971
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16996
16972
|
readonly inputs: readonly [{
|
|
@@ -17611,7 +17587,7 @@ declare const useLens: () => {
|
|
|
17611
17587
|
}];
|
|
17612
17588
|
readonly stateMutability: "pure";
|
|
17613
17589
|
}], "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?:
|
|
17590
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
17615
17591
|
readonly type: "function";
|
|
17616
17592
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17617
17593
|
readonly inputs: readonly [{
|
|
@@ -18232,7 +18208,7 @@ declare const useLens: () => {
|
|
|
18232
18208
|
}];
|
|
18233
18209
|
readonly stateMutability: "pure";
|
|
18234
18210
|
}], "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?:
|
|
18211
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
18236
18212
|
readonly type: "function";
|
|
18237
18213
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18238
18214
|
readonly inputs: readonly [{
|
|
@@ -18853,7 +18829,7 @@ declare const useLens: () => {
|
|
|
18853
18829
|
}];
|
|
18854
18830
|
readonly stateMutability: "pure";
|
|
18855
18831
|
}], "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?:
|
|
18832
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
18857
18833
|
readonly type: "function";
|
|
18858
18834
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18859
18835
|
readonly inputs: readonly [{
|
|
@@ -19474,7 +19450,7 @@ declare const useLens: () => {
|
|
|
19474
19450
|
}];
|
|
19475
19451
|
readonly stateMutability: "pure";
|
|
19476
19452
|
}], "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?:
|
|
19453
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
19478
19454
|
readonly type: "function";
|
|
19479
19455
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19480
19456
|
readonly inputs: readonly [{
|
|
@@ -20095,7 +20071,7 @@ declare const useLens: () => {
|
|
|
20095
20071
|
}];
|
|
20096
20072
|
readonly stateMutability: "pure";
|
|
20097
20073
|
}], "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?:
|
|
20074
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
20099
20075
|
readonly type: "function";
|
|
20100
20076
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20101
20077
|
readonly inputs: readonly [{
|
|
@@ -20716,7 +20692,7 @@ declare const useLens: () => {
|
|
|
20716
20692
|
}];
|
|
20717
20693
|
readonly stateMutability: "pure";
|
|
20718
20694
|
}], "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?:
|
|
20695
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
20720
20696
|
readonly type: "function";
|
|
20721
20697
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20722
20698
|
readonly inputs: readonly [{
|
|
@@ -21337,7 +21313,7 @@ declare const useLens: () => {
|
|
|
21337
21313
|
}];
|
|
21338
21314
|
readonly stateMutability: "pure";
|
|
21339
21315
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
21340
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
21316
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
21341
21317
|
readonly type: "function";
|
|
21342
21318
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21343
21319
|
readonly inputs: readonly [{
|
|
@@ -21958,7 +21934,7 @@ declare const useLens: () => {
|
|
|
21958
21934
|
}];
|
|
21959
21935
|
readonly stateMutability: "pure";
|
|
21960
21936
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21961
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
21937
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
21962
21938
|
readonly type: "function";
|
|
21963
21939
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21964
21940
|
readonly inputs: readonly [{
|
|
@@ -22579,7 +22555,7 @@ declare const useLens: () => {
|
|
|
22579
22555
|
}];
|
|
22580
22556
|
readonly stateMutability: "pure";
|
|
22581
22557
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
22582
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
22558
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
22583
22559
|
readonly type: "function";
|
|
22584
22560
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
22585
22561
|
readonly inputs: readonly [{
|
|
@@ -23200,7 +23176,7 @@ declare const useLens: () => {
|
|
|
23200
23176
|
}];
|
|
23201
23177
|
readonly stateMutability: "pure";
|
|
23202
23178
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
23203
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
23179
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
23204
23180
|
readonly type: "function";
|
|
23205
23181
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23206
23182
|
readonly inputs: readonly [{
|
|
@@ -23821,7 +23797,7 @@ declare const useLens: () => {
|
|
|
23821
23797
|
}];
|
|
23822
23798
|
readonly stateMutability: "pure";
|
|
23823
23799
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
23824
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
23800
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
23825
23801
|
readonly type: "function";
|
|
23826
23802
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23827
23803
|
readonly inputs: readonly [{
|
|
@@ -24442,7 +24418,7 @@ declare const useLens: () => {
|
|
|
24442
24418
|
}];
|
|
24443
24419
|
readonly stateMutability: "pure";
|
|
24444
24420
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
24445
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
24421
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
24446
24422
|
readonly type: "function";
|
|
24447
24423
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
24448
24424
|
readonly inputs: readonly [{
|
|
@@ -25063,7 +25039,7 @@ declare const useLens: () => {
|
|
|
25063
25039
|
}];
|
|
25064
25040
|
readonly stateMutability: "pure";
|
|
25065
25041
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
25066
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
25042
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
25067
25043
|
readonly type: "function";
|
|
25068
25044
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25069
25045
|
readonly inputs: readonly [{
|
|
@@ -25684,7 +25660,7 @@ declare const useLens: () => {
|
|
|
25684
25660
|
}];
|
|
25685
25661
|
readonly stateMutability: "pure";
|
|
25686
25662
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25687
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
25663
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
25688
25664
|
readonly type: "function";
|
|
25689
25665
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25690
25666
|
readonly inputs: readonly [{
|
|
@@ -26305,7 +26281,7 @@ declare const useLens: () => {
|
|
|
26305
26281
|
}];
|
|
26306
26282
|
readonly stateMutability: "pure";
|
|
26307
26283
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26308
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
26284
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
26309
26285
|
readonly type: "function";
|
|
26310
26286
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26311
26287
|
readonly inputs: readonly [{
|
|
@@ -26926,7 +26902,7 @@ declare const useLens: () => {
|
|
|
26926
26902
|
}];
|
|
26927
26903
|
readonly stateMutability: "pure";
|
|
26928
26904
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26929
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
26905
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
26930
26906
|
readonly type: "function";
|
|
26931
26907
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26932
26908
|
readonly inputs: readonly [{
|
|
@@ -27547,7 +27523,7 @@ declare const useLens: () => {
|
|
|
27547
27523
|
}];
|
|
27548
27524
|
readonly stateMutability: "pure";
|
|
27549
27525
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27550
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
27526
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
27551
27527
|
readonly type: "function";
|
|
27552
27528
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
27553
27529
|
readonly inputs: readonly [{
|
|
@@ -28168,7 +28144,7 @@ declare const useLens: () => {
|
|
|
28168
28144
|
}];
|
|
28169
28145
|
readonly stateMutability: "pure";
|
|
28170
28146
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
28171
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
28147
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
28172
28148
|
readonly type: "function";
|
|
28173
28149
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
28174
28150
|
readonly inputs: readonly [{
|
|
@@ -28789,7 +28765,7 @@ declare const useLens: () => {
|
|
|
28789
28765
|
}];
|
|
28790
28766
|
readonly stateMutability: "pure";
|
|
28791
28767
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
28792
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
28768
|
+
getPriceAtTick: (args: readonly [number], options?: viem116.Prettify<viem116.UnionOmit<viem116.ReadContractParameters<readonly [{
|
|
28793
28769
|
readonly type: "function";
|
|
28794
28770
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
28795
28771
|
readonly inputs: readonly [{
|