timelock-sdk 0.0.44 → 0.0.46
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 +23 -13
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +59 -67
- package/dist/client.d.ts +59 -67
- package/dist/client.js +25 -15
- package/dist/client.js.map +1 -1
- package/dist/{index-B20z73_3.d.ts → index-CRhFaRiq.d.ts} +92 -92
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
package/dist/client.d.cts
CHANGED
|
@@ -6,7 +6,7 @@ import React, { ReactNode } from "react";
|
|
|
6
6
|
import "graphql";
|
|
7
7
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
8
8
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
9
|
-
import * as
|
|
9
|
+
import * as _tanstack_query_core23 from "@tanstack/query-core";
|
|
10
10
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
11
11
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
12
12
|
|
|
@@ -202,7 +202,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
202
202
|
isRefetching: boolean;
|
|
203
203
|
isStale: boolean;
|
|
204
204
|
isEnabled: boolean;
|
|
205
|
-
refetch: (options?:
|
|
205
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
206
206
|
optionId: bigint;
|
|
207
207
|
marketAddr: Address;
|
|
208
208
|
optionType: "CALL" | "PUT";
|
|
@@ -232,7 +232,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
232
232
|
transactionHash: string;
|
|
233
233
|
} | null;
|
|
234
234
|
}[], Error>>;
|
|
235
|
-
fetchStatus:
|
|
235
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
236
236
|
promise: Promise<{
|
|
237
237
|
optionId: bigint;
|
|
238
238
|
marketAddr: Address;
|
|
@@ -316,7 +316,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
316
316
|
isRefetching: boolean;
|
|
317
317
|
isStale: boolean;
|
|
318
318
|
isEnabled: boolean;
|
|
319
|
-
refetch: (options?:
|
|
319
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
320
320
|
optionId: bigint;
|
|
321
321
|
marketAddr: Address;
|
|
322
322
|
optionType: "CALL" | "PUT";
|
|
@@ -346,7 +346,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
346
346
|
transactionHash: string;
|
|
347
347
|
} | null;
|
|
348
348
|
}[], Error>>;
|
|
349
|
-
fetchStatus:
|
|
349
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
350
350
|
promise: Promise<{
|
|
351
351
|
optionId: bigint;
|
|
352
352
|
marketAddr: Address;
|
|
@@ -430,7 +430,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
430
430
|
isRefetching: boolean;
|
|
431
431
|
isStale: boolean;
|
|
432
432
|
isEnabled: boolean;
|
|
433
|
-
refetch: (options?:
|
|
433
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
434
434
|
optionId: bigint;
|
|
435
435
|
marketAddr: Address;
|
|
436
436
|
optionType: "CALL" | "PUT";
|
|
@@ -460,7 +460,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
460
460
|
transactionHash: string;
|
|
461
461
|
} | null;
|
|
462
462
|
}[], Error>>;
|
|
463
|
-
fetchStatus:
|
|
463
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
464
464
|
promise: Promise<{
|
|
465
465
|
optionId: bigint;
|
|
466
466
|
marketAddr: Address;
|
|
@@ -544,7 +544,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
544
544
|
isRefetching: boolean;
|
|
545
545
|
isStale: boolean;
|
|
546
546
|
isEnabled: boolean;
|
|
547
|
-
refetch: (options?:
|
|
547
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
548
548
|
optionId: bigint;
|
|
549
549
|
marketAddr: Address;
|
|
550
550
|
optionType: "CALL" | "PUT";
|
|
@@ -574,7 +574,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
574
574
|
transactionHash: string;
|
|
575
575
|
} | null;
|
|
576
576
|
}[], Error>>;
|
|
577
|
-
fetchStatus:
|
|
577
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
578
578
|
promise: Promise<{
|
|
579
579
|
optionId: bigint;
|
|
580
580
|
marketAddr: Address;
|
|
@@ -658,7 +658,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
658
658
|
isRefetching: boolean;
|
|
659
659
|
isStale: boolean;
|
|
660
660
|
isEnabled: boolean;
|
|
661
|
-
refetch: (options?:
|
|
661
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
662
662
|
optionId: bigint;
|
|
663
663
|
marketAddr: Address;
|
|
664
664
|
optionType: "CALL" | "PUT";
|
|
@@ -688,7 +688,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
688
688
|
transactionHash: string;
|
|
689
689
|
} | null;
|
|
690
690
|
}[], Error>>;
|
|
691
|
-
fetchStatus:
|
|
691
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
692
692
|
promise: Promise<{
|
|
693
693
|
optionId: bigint;
|
|
694
694
|
marketAddr: Address;
|
|
@@ -772,7 +772,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
772
772
|
isRefetching: boolean;
|
|
773
773
|
isStale: boolean;
|
|
774
774
|
isEnabled: boolean;
|
|
775
|
-
refetch: (options?:
|
|
775
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
776
776
|
optionId: bigint;
|
|
777
777
|
marketAddr: Address;
|
|
778
778
|
optionType: "CALL" | "PUT";
|
|
@@ -802,7 +802,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
802
802
|
transactionHash: string;
|
|
803
803
|
} | null;
|
|
804
804
|
}[], Error>>;
|
|
805
|
-
fetchStatus:
|
|
805
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
806
806
|
promise: Promise<{
|
|
807
807
|
optionId: bigint;
|
|
808
808
|
marketAddr: Address;
|
|
@@ -887,7 +887,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
887
887
|
isRefetching: boolean;
|
|
888
888
|
isStale: boolean;
|
|
889
889
|
isEnabled: boolean;
|
|
890
|
-
refetch: (options?:
|
|
890
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
891
891
|
optionId: bigint;
|
|
892
892
|
marketAddr: Address;
|
|
893
893
|
optionType: "CALL" | "PUT";
|
|
@@ -917,7 +917,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
917
917
|
transactionHash: string;
|
|
918
918
|
} | null;
|
|
919
919
|
}[], Error>>;
|
|
920
|
-
fetchStatus:
|
|
920
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
921
921
|
promise: Promise<{
|
|
922
922
|
optionId: bigint;
|
|
923
923
|
marketAddr: Address;
|
|
@@ -1001,7 +1001,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1001
1001
|
isRefetching: boolean;
|
|
1002
1002
|
isStale: boolean;
|
|
1003
1003
|
isEnabled: boolean;
|
|
1004
|
-
refetch: (options?:
|
|
1004
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
1005
1005
|
optionId: bigint;
|
|
1006
1006
|
marketAddr: Address;
|
|
1007
1007
|
optionType: "CALL" | "PUT";
|
|
@@ -1031,7 +1031,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1031
1031
|
transactionHash: string;
|
|
1032
1032
|
} | null;
|
|
1033
1033
|
}[], Error>>;
|
|
1034
|
-
fetchStatus:
|
|
1034
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
1035
1035
|
promise: Promise<{
|
|
1036
1036
|
optionId: bigint;
|
|
1037
1037
|
marketAddr: Address;
|
|
@@ -1115,7 +1115,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1115
1115
|
isRefetching: boolean;
|
|
1116
1116
|
isStale: boolean;
|
|
1117
1117
|
isEnabled: boolean;
|
|
1118
|
-
refetch: (options?:
|
|
1118
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
1119
1119
|
optionId: bigint;
|
|
1120
1120
|
marketAddr: Address;
|
|
1121
1121
|
optionType: "CALL" | "PUT";
|
|
@@ -1145,7 +1145,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1145
1145
|
transactionHash: string;
|
|
1146
1146
|
} | null;
|
|
1147
1147
|
}[], Error>>;
|
|
1148
|
-
fetchStatus:
|
|
1148
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
1149
1149
|
promise: Promise<{
|
|
1150
1150
|
optionId: bigint;
|
|
1151
1151
|
marketAddr: Address;
|
|
@@ -1229,7 +1229,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1229
1229
|
isRefetching: boolean;
|
|
1230
1230
|
isStale: boolean;
|
|
1231
1231
|
isEnabled: boolean;
|
|
1232
|
-
refetch: (options?:
|
|
1232
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
1233
1233
|
optionId: bigint;
|
|
1234
1234
|
marketAddr: Address;
|
|
1235
1235
|
optionType: "CALL" | "PUT";
|
|
@@ -1259,7 +1259,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1259
1259
|
transactionHash: string;
|
|
1260
1260
|
} | null;
|
|
1261
1261
|
}[], Error>>;
|
|
1262
|
-
fetchStatus:
|
|
1262
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
1263
1263
|
promise: Promise<{
|
|
1264
1264
|
optionId: bigint;
|
|
1265
1265
|
marketAddr: Address;
|
|
@@ -1343,7 +1343,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1343
1343
|
isRefetching: boolean;
|
|
1344
1344
|
isStale: boolean;
|
|
1345
1345
|
isEnabled: boolean;
|
|
1346
|
-
refetch: (options?:
|
|
1346
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
1347
1347
|
optionId: bigint;
|
|
1348
1348
|
marketAddr: Address;
|
|
1349
1349
|
optionType: "CALL" | "PUT";
|
|
@@ -1373,7 +1373,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1373
1373
|
transactionHash: string;
|
|
1374
1374
|
} | null;
|
|
1375
1375
|
}[], Error>>;
|
|
1376
|
-
fetchStatus:
|
|
1376
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
1377
1377
|
promise: Promise<{
|
|
1378
1378
|
optionId: bigint;
|
|
1379
1379
|
marketAddr: Address;
|
|
@@ -1457,7 +1457,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1457
1457
|
isRefetching: boolean;
|
|
1458
1458
|
isStale: boolean;
|
|
1459
1459
|
isEnabled: boolean;
|
|
1460
|
-
refetch: (options?:
|
|
1460
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
1461
1461
|
optionId: bigint;
|
|
1462
1462
|
marketAddr: Address;
|
|
1463
1463
|
optionType: "CALL" | "PUT";
|
|
@@ -1487,7 +1487,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1487
1487
|
transactionHash: string;
|
|
1488
1488
|
} | null;
|
|
1489
1489
|
}[], Error>>;
|
|
1490
|
-
fetchStatus:
|
|
1490
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
1491
1491
|
promise: Promise<{
|
|
1492
1492
|
optionId: bigint;
|
|
1493
1493
|
marketAddr: Address;
|
|
@@ -1572,7 +1572,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1572
1572
|
isRefetching: boolean;
|
|
1573
1573
|
isStale: boolean;
|
|
1574
1574
|
isEnabled: boolean;
|
|
1575
|
-
refetch: (options?:
|
|
1575
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
1576
1576
|
optionId: bigint;
|
|
1577
1577
|
marketAddr: Address;
|
|
1578
1578
|
optionType: "CALL" | "PUT";
|
|
@@ -1602,7 +1602,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1602
1602
|
transactionHash: string;
|
|
1603
1603
|
} | null;
|
|
1604
1604
|
}[], Error>>;
|
|
1605
|
-
fetchStatus:
|
|
1605
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
1606
1606
|
promise: Promise<{
|
|
1607
1607
|
optionId: bigint;
|
|
1608
1608
|
marketAddr: Address;
|
|
@@ -1686,7 +1686,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1686
1686
|
isRefetching: boolean;
|
|
1687
1687
|
isStale: boolean;
|
|
1688
1688
|
isEnabled: boolean;
|
|
1689
|
-
refetch: (options?:
|
|
1689
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
1690
1690
|
optionId: bigint;
|
|
1691
1691
|
marketAddr: Address;
|
|
1692
1692
|
optionType: "CALL" | "PUT";
|
|
@@ -1716,7 +1716,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1716
1716
|
transactionHash: string;
|
|
1717
1717
|
} | null;
|
|
1718
1718
|
}[], Error>>;
|
|
1719
|
-
fetchStatus:
|
|
1719
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
1720
1720
|
promise: Promise<{
|
|
1721
1721
|
optionId: bigint;
|
|
1722
1722
|
marketAddr: Address;
|
|
@@ -1800,7 +1800,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1800
1800
|
isRefetching: boolean;
|
|
1801
1801
|
isStale: boolean;
|
|
1802
1802
|
isEnabled: boolean;
|
|
1803
|
-
refetch: (options?:
|
|
1803
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
1804
1804
|
optionId: bigint;
|
|
1805
1805
|
marketAddr: Address;
|
|
1806
1806
|
optionType: "CALL" | "PUT";
|
|
@@ -1830,7 +1830,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1830
1830
|
transactionHash: string;
|
|
1831
1831
|
} | null;
|
|
1832
1832
|
}[], Error>>;
|
|
1833
|
-
fetchStatus:
|
|
1833
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
1834
1834
|
promise: Promise<{
|
|
1835
1835
|
optionId: bigint;
|
|
1836
1836
|
marketAddr: Address;
|
|
@@ -1914,7 +1914,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1914
1914
|
isRefetching: boolean;
|
|
1915
1915
|
isStale: boolean;
|
|
1916
1916
|
isEnabled: boolean;
|
|
1917
|
-
refetch: (options?:
|
|
1917
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
1918
1918
|
optionId: bigint;
|
|
1919
1919
|
marketAddr: Address;
|
|
1920
1920
|
optionType: "CALL" | "PUT";
|
|
@@ -1944,7 +1944,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1944
1944
|
transactionHash: string;
|
|
1945
1945
|
} | null;
|
|
1946
1946
|
}[], Error>>;
|
|
1947
|
-
fetchStatus:
|
|
1947
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
1948
1948
|
promise: Promise<{
|
|
1949
1949
|
optionId: bigint;
|
|
1950
1950
|
marketAddr: Address;
|
|
@@ -2028,7 +2028,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2028
2028
|
isRefetching: boolean;
|
|
2029
2029
|
isStale: boolean;
|
|
2030
2030
|
isEnabled: boolean;
|
|
2031
|
-
refetch: (options?:
|
|
2031
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
2032
2032
|
optionId: bigint;
|
|
2033
2033
|
marketAddr: Address;
|
|
2034
2034
|
optionType: "CALL" | "PUT";
|
|
@@ -2058,7 +2058,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2058
2058
|
transactionHash: string;
|
|
2059
2059
|
} | null;
|
|
2060
2060
|
}[], Error>>;
|
|
2061
|
-
fetchStatus:
|
|
2061
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
2062
2062
|
promise: Promise<{
|
|
2063
2063
|
optionId: bigint;
|
|
2064
2064
|
marketAddr: Address;
|
|
@@ -2142,7 +2142,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2142
2142
|
isRefetching: boolean;
|
|
2143
2143
|
isStale: boolean;
|
|
2144
2144
|
isEnabled: boolean;
|
|
2145
|
-
refetch: (options?:
|
|
2145
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
2146
2146
|
optionId: bigint;
|
|
2147
2147
|
marketAddr: Address;
|
|
2148
2148
|
optionType: "CALL" | "PUT";
|
|
@@ -2172,7 +2172,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2172
2172
|
transactionHash: string;
|
|
2173
2173
|
} | null;
|
|
2174
2174
|
}[], Error>>;
|
|
2175
|
-
fetchStatus:
|
|
2175
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
2176
2176
|
promise: Promise<{
|
|
2177
2177
|
optionId: bigint;
|
|
2178
2178
|
marketAddr: Address;
|
|
@@ -2285,17 +2285,9 @@ declare const useMintOption: (marketAddr?: Address) => {
|
|
|
2285
2285
|
};
|
|
2286
2286
|
//#endregion
|
|
2287
2287
|
//#region src/hooks/market/useOptionPnl.d.ts
|
|
2288
|
-
declare const useOptionPnl: (
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
positionSizeCurrent: bigint;
|
|
2292
|
-
strikePrice: bigint;
|
|
2293
|
-
}) => {
|
|
2294
|
-
unrealizedPayout?: undefined;
|
|
2295
|
-
displayPnl?: undefined;
|
|
2296
|
-
} | {
|
|
2297
|
-
unrealizedPayout: Amount;
|
|
2298
|
-
displayPnl: Amount;
|
|
2288
|
+
declare const useOptionPnl: (option: OptionData) => {
|
|
2289
|
+
unrealizedPayout: {};
|
|
2290
|
+
displayPnl: {};
|
|
2299
2291
|
};
|
|
2300
2292
|
//#endregion
|
|
2301
2293
|
//#region src/hooks/market/useOptionPremium.d.ts
|
|
@@ -2387,7 +2379,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2387
2379
|
isRefetching: boolean;
|
|
2388
2380
|
isStale: boolean;
|
|
2389
2381
|
isEnabled: boolean;
|
|
2390
|
-
refetch: (options?:
|
|
2382
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
|
|
2391
2383
|
tickLower: number;
|
|
2392
2384
|
tickUpper: number;
|
|
2393
2385
|
prevTickLower: number;
|
|
@@ -2398,7 +2390,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2398
2390
|
borrowedAmount0: bigint;
|
|
2399
2391
|
borrowedAmount1: bigint;
|
|
2400
2392
|
}[], viem116.ReadContractErrorType>>;
|
|
2401
|
-
fetchStatus:
|
|
2393
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
2402
2394
|
promise: Promise<readonly {
|
|
2403
2395
|
tickLower: number;
|
|
2404
2396
|
tickUpper: number;
|
|
@@ -2410,7 +2402,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2410
2402
|
borrowedAmount0: bigint;
|
|
2411
2403
|
borrowedAmount1: bigint;
|
|
2412
2404
|
}[]>;
|
|
2413
|
-
queryKey:
|
|
2405
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
2414
2406
|
data: readonly {
|
|
2415
2407
|
tickLower: number;
|
|
2416
2408
|
tickUpper: number;
|
|
@@ -2445,7 +2437,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2445
2437
|
isRefetching: boolean;
|
|
2446
2438
|
isStale: boolean;
|
|
2447
2439
|
isEnabled: boolean;
|
|
2448
|
-
refetch: (options?:
|
|
2440
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
|
|
2449
2441
|
tickLower: number;
|
|
2450
2442
|
tickUpper: number;
|
|
2451
2443
|
prevTickLower: number;
|
|
@@ -2456,7 +2448,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2456
2448
|
borrowedAmount0: bigint;
|
|
2457
2449
|
borrowedAmount1: bigint;
|
|
2458
2450
|
}[], viem116.ReadContractErrorType>>;
|
|
2459
|
-
fetchStatus:
|
|
2451
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
2460
2452
|
promise: Promise<readonly {
|
|
2461
2453
|
tickLower: number;
|
|
2462
2454
|
tickUpper: number;
|
|
@@ -2468,7 +2460,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2468
2460
|
borrowedAmount0: bigint;
|
|
2469
2461
|
borrowedAmount1: bigint;
|
|
2470
2462
|
}[]>;
|
|
2471
|
-
queryKey:
|
|
2463
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
2472
2464
|
data: readonly {
|
|
2473
2465
|
tickLower: number;
|
|
2474
2466
|
tickUpper: number;
|
|
@@ -2503,7 +2495,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2503
2495
|
isRefetching: boolean;
|
|
2504
2496
|
isStale: boolean;
|
|
2505
2497
|
isEnabled: boolean;
|
|
2506
|
-
refetch: (options?:
|
|
2498
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
|
|
2507
2499
|
tickLower: number;
|
|
2508
2500
|
tickUpper: number;
|
|
2509
2501
|
prevTickLower: number;
|
|
@@ -2514,7 +2506,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2514
2506
|
borrowedAmount0: bigint;
|
|
2515
2507
|
borrowedAmount1: bigint;
|
|
2516
2508
|
}[], viem116.ReadContractErrorType>>;
|
|
2517
|
-
fetchStatus:
|
|
2509
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
2518
2510
|
promise: Promise<readonly {
|
|
2519
2511
|
tickLower: number;
|
|
2520
2512
|
tickUpper: number;
|
|
@@ -2526,7 +2518,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2526
2518
|
borrowedAmount0: bigint;
|
|
2527
2519
|
borrowedAmount1: bigint;
|
|
2528
2520
|
}[]>;
|
|
2529
|
-
queryKey:
|
|
2521
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
2530
2522
|
data: readonly {
|
|
2531
2523
|
tickLower: number;
|
|
2532
2524
|
tickUpper: number;
|
|
@@ -2561,7 +2553,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2561
2553
|
isRefetching: boolean;
|
|
2562
2554
|
isStale: boolean;
|
|
2563
2555
|
isEnabled: boolean;
|
|
2564
|
-
refetch: (options?:
|
|
2556
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
|
|
2565
2557
|
tickLower: number;
|
|
2566
2558
|
tickUpper: number;
|
|
2567
2559
|
prevTickLower: number;
|
|
@@ -2572,7 +2564,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2572
2564
|
borrowedAmount0: bigint;
|
|
2573
2565
|
borrowedAmount1: bigint;
|
|
2574
2566
|
}[], viem116.ReadContractErrorType>>;
|
|
2575
|
-
fetchStatus:
|
|
2567
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
2576
2568
|
promise: Promise<readonly {
|
|
2577
2569
|
tickLower: number;
|
|
2578
2570
|
tickUpper: number;
|
|
@@ -2584,7 +2576,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2584
2576
|
borrowedAmount0: bigint;
|
|
2585
2577
|
borrowedAmount1: bigint;
|
|
2586
2578
|
}[]>;
|
|
2587
|
-
queryKey:
|
|
2579
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
2588
2580
|
data: readonly {
|
|
2589
2581
|
tickLower: number;
|
|
2590
2582
|
tickUpper: number;
|
|
@@ -2619,7 +2611,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2619
2611
|
isRefetching: boolean;
|
|
2620
2612
|
isStale: boolean;
|
|
2621
2613
|
isEnabled: boolean;
|
|
2622
|
-
refetch: (options?:
|
|
2614
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
|
|
2623
2615
|
tickLower: number;
|
|
2624
2616
|
tickUpper: number;
|
|
2625
2617
|
prevTickLower: number;
|
|
@@ -2630,7 +2622,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2630
2622
|
borrowedAmount0: bigint;
|
|
2631
2623
|
borrowedAmount1: bigint;
|
|
2632
2624
|
}[], viem116.ReadContractErrorType>>;
|
|
2633
|
-
fetchStatus:
|
|
2625
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
2634
2626
|
promise: Promise<readonly {
|
|
2635
2627
|
tickLower: number;
|
|
2636
2628
|
tickUpper: number;
|
|
@@ -2642,7 +2634,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2642
2634
|
borrowedAmount0: bigint;
|
|
2643
2635
|
borrowedAmount1: bigint;
|
|
2644
2636
|
}[]>;
|
|
2645
|
-
queryKey:
|
|
2637
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
2646
2638
|
data: readonly {
|
|
2647
2639
|
tickLower: number;
|
|
2648
2640
|
tickUpper: number;
|
|
@@ -2677,7 +2669,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2677
2669
|
isRefetching: boolean;
|
|
2678
2670
|
isStale: boolean;
|
|
2679
2671
|
isEnabled: boolean;
|
|
2680
|
-
refetch: (options?:
|
|
2672
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
|
|
2681
2673
|
tickLower: number;
|
|
2682
2674
|
tickUpper: number;
|
|
2683
2675
|
prevTickLower: number;
|
|
@@ -2688,7 +2680,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2688
2680
|
borrowedAmount0: bigint;
|
|
2689
2681
|
borrowedAmount1: bigint;
|
|
2690
2682
|
}[], viem116.ReadContractErrorType>>;
|
|
2691
|
-
fetchStatus:
|
|
2683
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
2692
2684
|
promise: Promise<readonly {
|
|
2693
2685
|
tickLower: number;
|
|
2694
2686
|
tickUpper: number;
|
|
@@ -2700,7 +2692,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2700
2692
|
borrowedAmount0: bigint;
|
|
2701
2693
|
borrowedAmount1: bigint;
|
|
2702
2694
|
}[]>;
|
|
2703
|
-
queryKey:
|
|
2695
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
2704
2696
|
data: readonly {
|
|
2705
2697
|
tickLower: number;
|
|
2706
2698
|
tickUpper: number;
|
|
@@ -2760,7 +2752,7 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
2760
2752
|
borrowedAmount0: Amount;
|
|
2761
2753
|
borrowedAmount1: Amount;
|
|
2762
2754
|
blocksCount: bigint;
|
|
2763
|
-
refetch: (options?:
|
|
2755
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem116.ReadContractErrorType>>;
|
|
2764
2756
|
};
|
|
2765
2757
|
//#endregion
|
|
2766
2758
|
//#region src/hooks/useLens.d.ts
|