timelock-sdk 0.0.71 → 0.0.72
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 +4 -4
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +68 -68
- package/dist/client.d.ts +55 -55
- package/dist/client.js +4 -4
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
package/dist/client.d.cts
CHANGED
|
@@ -7,7 +7,7 @@ import "graphql";
|
|
|
7
7
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
8
8
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
9
9
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
10
|
-
import * as
|
|
10
|
+
import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
11
11
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
12
12
|
|
|
13
13
|
//#region src/generated/graphql.d.ts
|
|
@@ -238,7 +238,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
238
238
|
isRefetching: boolean;
|
|
239
239
|
isStale: boolean;
|
|
240
240
|
isEnabled: boolean;
|
|
241
|
-
refetch: (options?:
|
|
241
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
242
242
|
optionId: bigint;
|
|
243
243
|
marketAddr: Address;
|
|
244
244
|
ownerAddr: Address;
|
|
@@ -277,7 +277,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
277
277
|
transactionHash: string;
|
|
278
278
|
} | null;
|
|
279
279
|
}[], Error>>;
|
|
280
|
-
fetchStatus:
|
|
280
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
281
281
|
promise: Promise<{
|
|
282
282
|
optionId: bigint;
|
|
283
283
|
marketAddr: Address;
|
|
@@ -379,7 +379,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
379
379
|
isRefetching: boolean;
|
|
380
380
|
isStale: boolean;
|
|
381
381
|
isEnabled: boolean;
|
|
382
|
-
refetch: (options?:
|
|
382
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
383
383
|
optionId: bigint;
|
|
384
384
|
marketAddr: Address;
|
|
385
385
|
ownerAddr: Address;
|
|
@@ -418,7 +418,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
418
418
|
transactionHash: string;
|
|
419
419
|
} | null;
|
|
420
420
|
}[], Error>>;
|
|
421
|
-
fetchStatus:
|
|
421
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
422
422
|
promise: Promise<{
|
|
423
423
|
optionId: bigint;
|
|
424
424
|
marketAddr: Address;
|
|
@@ -520,7 +520,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
520
520
|
isRefetching: boolean;
|
|
521
521
|
isStale: boolean;
|
|
522
522
|
isEnabled: boolean;
|
|
523
|
-
refetch: (options?:
|
|
523
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
524
524
|
optionId: bigint;
|
|
525
525
|
marketAddr: Address;
|
|
526
526
|
ownerAddr: Address;
|
|
@@ -559,7 +559,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
559
559
|
transactionHash: string;
|
|
560
560
|
} | null;
|
|
561
561
|
}[], Error>>;
|
|
562
|
-
fetchStatus:
|
|
562
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
563
563
|
promise: Promise<{
|
|
564
564
|
optionId: bigint;
|
|
565
565
|
marketAddr: Address;
|
|
@@ -661,7 +661,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
661
661
|
isRefetching: boolean;
|
|
662
662
|
isStale: boolean;
|
|
663
663
|
isEnabled: boolean;
|
|
664
|
-
refetch: (options?:
|
|
664
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
665
665
|
optionId: bigint;
|
|
666
666
|
marketAddr: Address;
|
|
667
667
|
ownerAddr: Address;
|
|
@@ -700,7 +700,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
700
700
|
transactionHash: string;
|
|
701
701
|
} | null;
|
|
702
702
|
}[], Error>>;
|
|
703
|
-
fetchStatus:
|
|
703
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
704
704
|
promise: Promise<{
|
|
705
705
|
optionId: bigint;
|
|
706
706
|
marketAddr: Address;
|
|
@@ -802,7 +802,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
802
802
|
isRefetching: boolean;
|
|
803
803
|
isStale: boolean;
|
|
804
804
|
isEnabled: boolean;
|
|
805
|
-
refetch: (options?:
|
|
805
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
806
806
|
optionId: bigint;
|
|
807
807
|
marketAddr: Address;
|
|
808
808
|
ownerAddr: Address;
|
|
@@ -841,7 +841,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
841
841
|
transactionHash: string;
|
|
842
842
|
} | null;
|
|
843
843
|
}[], Error>>;
|
|
844
|
-
fetchStatus:
|
|
844
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
845
845
|
promise: Promise<{
|
|
846
846
|
optionId: bigint;
|
|
847
847
|
marketAddr: Address;
|
|
@@ -943,7 +943,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
943
943
|
isRefetching: boolean;
|
|
944
944
|
isStale: boolean;
|
|
945
945
|
isEnabled: boolean;
|
|
946
|
-
refetch: (options?:
|
|
946
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
947
947
|
optionId: bigint;
|
|
948
948
|
marketAddr: Address;
|
|
949
949
|
ownerAddr: Address;
|
|
@@ -982,7 +982,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
982
982
|
transactionHash: string;
|
|
983
983
|
} | null;
|
|
984
984
|
}[], Error>>;
|
|
985
|
-
fetchStatus:
|
|
985
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
986
986
|
promise: Promise<{
|
|
987
987
|
optionId: bigint;
|
|
988
988
|
marketAddr: Address;
|
|
@@ -1085,7 +1085,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1085
1085
|
isRefetching: boolean;
|
|
1086
1086
|
isStale: boolean;
|
|
1087
1087
|
isEnabled: boolean;
|
|
1088
|
-
refetch: (options?:
|
|
1088
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1089
1089
|
optionId: bigint;
|
|
1090
1090
|
marketAddr: Address;
|
|
1091
1091
|
ownerAddr: Address;
|
|
@@ -1124,7 +1124,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1124
1124
|
transactionHash: string;
|
|
1125
1125
|
} | null;
|
|
1126
1126
|
}[], Error>>;
|
|
1127
|
-
fetchStatus:
|
|
1127
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1128
1128
|
promise: Promise<{
|
|
1129
1129
|
optionId: bigint;
|
|
1130
1130
|
marketAddr: Address;
|
|
@@ -1226,7 +1226,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1226
1226
|
isRefetching: boolean;
|
|
1227
1227
|
isStale: boolean;
|
|
1228
1228
|
isEnabled: boolean;
|
|
1229
|
-
refetch: (options?:
|
|
1229
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1230
1230
|
optionId: bigint;
|
|
1231
1231
|
marketAddr: Address;
|
|
1232
1232
|
ownerAddr: Address;
|
|
@@ -1265,7 +1265,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1265
1265
|
transactionHash: string;
|
|
1266
1266
|
} | null;
|
|
1267
1267
|
}[], Error>>;
|
|
1268
|
-
fetchStatus:
|
|
1268
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1269
1269
|
promise: Promise<{
|
|
1270
1270
|
optionId: bigint;
|
|
1271
1271
|
marketAddr: Address;
|
|
@@ -1367,7 +1367,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1367
1367
|
isRefetching: boolean;
|
|
1368
1368
|
isStale: boolean;
|
|
1369
1369
|
isEnabled: boolean;
|
|
1370
|
-
refetch: (options?:
|
|
1370
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1371
1371
|
optionId: bigint;
|
|
1372
1372
|
marketAddr: Address;
|
|
1373
1373
|
ownerAddr: Address;
|
|
@@ -1406,7 +1406,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1406
1406
|
transactionHash: string;
|
|
1407
1407
|
} | null;
|
|
1408
1408
|
}[], Error>>;
|
|
1409
|
-
fetchStatus:
|
|
1409
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1410
1410
|
promise: Promise<{
|
|
1411
1411
|
optionId: bigint;
|
|
1412
1412
|
marketAddr: Address;
|
|
@@ -1508,7 +1508,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1508
1508
|
isRefetching: boolean;
|
|
1509
1509
|
isStale: boolean;
|
|
1510
1510
|
isEnabled: boolean;
|
|
1511
|
-
refetch: (options?:
|
|
1511
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1512
1512
|
optionId: bigint;
|
|
1513
1513
|
marketAddr: Address;
|
|
1514
1514
|
ownerAddr: Address;
|
|
@@ -1547,7 +1547,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1547
1547
|
transactionHash: string;
|
|
1548
1548
|
} | null;
|
|
1549
1549
|
}[], Error>>;
|
|
1550
|
-
fetchStatus:
|
|
1550
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1551
1551
|
promise: Promise<{
|
|
1552
1552
|
optionId: bigint;
|
|
1553
1553
|
marketAddr: Address;
|
|
@@ -1649,7 +1649,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1649
1649
|
isRefetching: boolean;
|
|
1650
1650
|
isStale: boolean;
|
|
1651
1651
|
isEnabled: boolean;
|
|
1652
|
-
refetch: (options?:
|
|
1652
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1653
1653
|
optionId: bigint;
|
|
1654
1654
|
marketAddr: Address;
|
|
1655
1655
|
ownerAddr: Address;
|
|
@@ -1688,7 +1688,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1688
1688
|
transactionHash: string;
|
|
1689
1689
|
} | null;
|
|
1690
1690
|
}[], Error>>;
|
|
1691
|
-
fetchStatus:
|
|
1691
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1692
1692
|
promise: Promise<{
|
|
1693
1693
|
optionId: bigint;
|
|
1694
1694
|
marketAddr: Address;
|
|
@@ -1790,7 +1790,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1790
1790
|
isRefetching: boolean;
|
|
1791
1791
|
isStale: boolean;
|
|
1792
1792
|
isEnabled: boolean;
|
|
1793
|
-
refetch: (options?:
|
|
1793
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1794
1794
|
optionId: bigint;
|
|
1795
1795
|
marketAddr: Address;
|
|
1796
1796
|
ownerAddr: Address;
|
|
@@ -1829,7 +1829,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1829
1829
|
transactionHash: string;
|
|
1830
1830
|
} | null;
|
|
1831
1831
|
}[], Error>>;
|
|
1832
|
-
fetchStatus:
|
|
1832
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1833
1833
|
promise: Promise<{
|
|
1834
1834
|
optionId: bigint;
|
|
1835
1835
|
marketAddr: Address;
|
|
@@ -1932,7 +1932,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1932
1932
|
isRefetching: boolean;
|
|
1933
1933
|
isStale: boolean;
|
|
1934
1934
|
isEnabled: boolean;
|
|
1935
|
-
refetch: (options?:
|
|
1935
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1936
1936
|
optionId: bigint;
|
|
1937
1937
|
marketAddr: Address;
|
|
1938
1938
|
ownerAddr: Address;
|
|
@@ -1971,7 +1971,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1971
1971
|
transactionHash: string;
|
|
1972
1972
|
} | null;
|
|
1973
1973
|
}[], Error>>;
|
|
1974
|
-
fetchStatus:
|
|
1974
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1975
1975
|
promise: Promise<{
|
|
1976
1976
|
optionId: bigint;
|
|
1977
1977
|
marketAddr: Address;
|
|
@@ -2073,7 +2073,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2073
2073
|
isRefetching: boolean;
|
|
2074
2074
|
isStale: boolean;
|
|
2075
2075
|
isEnabled: boolean;
|
|
2076
|
-
refetch: (options?:
|
|
2076
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
2077
2077
|
optionId: bigint;
|
|
2078
2078
|
marketAddr: Address;
|
|
2079
2079
|
ownerAddr: Address;
|
|
@@ -2112,7 +2112,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2112
2112
|
transactionHash: string;
|
|
2113
2113
|
} | null;
|
|
2114
2114
|
}[], Error>>;
|
|
2115
|
-
fetchStatus:
|
|
2115
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2116
2116
|
promise: Promise<{
|
|
2117
2117
|
optionId: bigint;
|
|
2118
2118
|
marketAddr: Address;
|
|
@@ -2214,7 +2214,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2214
2214
|
isRefetching: boolean;
|
|
2215
2215
|
isStale: boolean;
|
|
2216
2216
|
isEnabled: boolean;
|
|
2217
|
-
refetch: (options?:
|
|
2217
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
2218
2218
|
optionId: bigint;
|
|
2219
2219
|
marketAddr: Address;
|
|
2220
2220
|
ownerAddr: Address;
|
|
@@ -2253,7 +2253,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2253
2253
|
transactionHash: string;
|
|
2254
2254
|
} | null;
|
|
2255
2255
|
}[], Error>>;
|
|
2256
|
-
fetchStatus:
|
|
2256
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2257
2257
|
promise: Promise<{
|
|
2258
2258
|
optionId: bigint;
|
|
2259
2259
|
marketAddr: Address;
|
|
@@ -2355,7 +2355,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2355
2355
|
isRefetching: boolean;
|
|
2356
2356
|
isStale: boolean;
|
|
2357
2357
|
isEnabled: boolean;
|
|
2358
|
-
refetch: (options?:
|
|
2358
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
2359
2359
|
optionId: bigint;
|
|
2360
2360
|
marketAddr: Address;
|
|
2361
2361
|
ownerAddr: Address;
|
|
@@ -2394,7 +2394,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2394
2394
|
transactionHash: string;
|
|
2395
2395
|
} | null;
|
|
2396
2396
|
}[], Error>>;
|
|
2397
|
-
fetchStatus:
|
|
2397
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2398
2398
|
promise: Promise<{
|
|
2399
2399
|
optionId: bigint;
|
|
2400
2400
|
marketAddr: Address;
|
|
@@ -2496,7 +2496,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2496
2496
|
isRefetching: boolean;
|
|
2497
2497
|
isStale: boolean;
|
|
2498
2498
|
isEnabled: boolean;
|
|
2499
|
-
refetch: (options?:
|
|
2499
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
2500
2500
|
optionId: bigint;
|
|
2501
2501
|
marketAddr: Address;
|
|
2502
2502
|
ownerAddr: Address;
|
|
@@ -2535,7 +2535,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2535
2535
|
transactionHash: string;
|
|
2536
2536
|
} | null;
|
|
2537
2537
|
}[], Error>>;
|
|
2538
|
-
fetchStatus:
|
|
2538
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2539
2539
|
promise: Promise<{
|
|
2540
2540
|
optionId: bigint;
|
|
2541
2541
|
marketAddr: Address;
|
|
@@ -2637,7 +2637,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2637
2637
|
isRefetching: boolean;
|
|
2638
2638
|
isStale: boolean;
|
|
2639
2639
|
isEnabled: boolean;
|
|
2640
|
-
refetch: (options?:
|
|
2640
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
2641
2641
|
optionId: bigint;
|
|
2642
2642
|
marketAddr: Address;
|
|
2643
2643
|
ownerAddr: Address;
|
|
@@ -2676,7 +2676,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2676
2676
|
transactionHash: string;
|
|
2677
2677
|
} | null;
|
|
2678
2678
|
}[], Error>>;
|
|
2679
|
-
fetchStatus:
|
|
2679
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2680
2680
|
promise: Promise<{
|
|
2681
2681
|
optionId: bigint;
|
|
2682
2682
|
marketAddr: Address;
|
|
@@ -2860,7 +2860,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2860
2860
|
isRefetching: boolean;
|
|
2861
2861
|
isStale: boolean;
|
|
2862
2862
|
isEnabled: boolean;
|
|
2863
|
-
refetch: (options?:
|
|
2863
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
2864
2864
|
spendingApproval: bigint;
|
|
2865
2865
|
operatorAddr: string;
|
|
2866
2866
|
__typename: "UserMarketOperator";
|
|
@@ -2874,7 +2874,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2874
2874
|
address: string;
|
|
2875
2875
|
} | null;
|
|
2876
2876
|
}[] | undefined, Error>>;
|
|
2877
|
-
fetchStatus:
|
|
2877
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2878
2878
|
promise: Promise<{
|
|
2879
2879
|
spendingApproval: bigint;
|
|
2880
2880
|
operatorAddr: string;
|
|
@@ -2926,7 +2926,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2926
2926
|
isRefetching: boolean;
|
|
2927
2927
|
isStale: boolean;
|
|
2928
2928
|
isEnabled: boolean;
|
|
2929
|
-
refetch: (options?:
|
|
2929
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
2930
2930
|
spendingApproval: bigint;
|
|
2931
2931
|
operatorAddr: string;
|
|
2932
2932
|
__typename: "UserMarketOperator";
|
|
@@ -2940,7 +2940,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2940
2940
|
address: string;
|
|
2941
2941
|
} | null;
|
|
2942
2942
|
}[] | undefined, Error>>;
|
|
2943
|
-
fetchStatus:
|
|
2943
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2944
2944
|
promise: Promise<{
|
|
2945
2945
|
spendingApproval: bigint;
|
|
2946
2946
|
operatorAddr: string;
|
|
@@ -2992,7 +2992,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2992
2992
|
isRefetching: boolean;
|
|
2993
2993
|
isStale: boolean;
|
|
2994
2994
|
isEnabled: boolean;
|
|
2995
|
-
refetch: (options?:
|
|
2995
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
2996
2996
|
spendingApproval: bigint;
|
|
2997
2997
|
operatorAddr: string;
|
|
2998
2998
|
__typename: "UserMarketOperator";
|
|
@@ -3006,7 +3006,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3006
3006
|
address: string;
|
|
3007
3007
|
} | null;
|
|
3008
3008
|
}[] | undefined, Error>>;
|
|
3009
|
-
fetchStatus:
|
|
3009
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3010
3010
|
promise: Promise<{
|
|
3011
3011
|
spendingApproval: bigint;
|
|
3012
3012
|
operatorAddr: string;
|
|
@@ -3058,7 +3058,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3058
3058
|
isRefetching: boolean;
|
|
3059
3059
|
isStale: boolean;
|
|
3060
3060
|
isEnabled: boolean;
|
|
3061
|
-
refetch: (options?:
|
|
3061
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
3062
3062
|
spendingApproval: bigint;
|
|
3063
3063
|
operatorAddr: string;
|
|
3064
3064
|
__typename: "UserMarketOperator";
|
|
@@ -3072,7 +3072,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3072
3072
|
address: string;
|
|
3073
3073
|
} | null;
|
|
3074
3074
|
}[] | undefined, Error>>;
|
|
3075
|
-
fetchStatus:
|
|
3075
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3076
3076
|
promise: Promise<{
|
|
3077
3077
|
spendingApproval: bigint;
|
|
3078
3078
|
operatorAddr: string;
|
|
@@ -3124,7 +3124,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3124
3124
|
isRefetching: boolean;
|
|
3125
3125
|
isStale: boolean;
|
|
3126
3126
|
isEnabled: boolean;
|
|
3127
|
-
refetch: (options?:
|
|
3127
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
3128
3128
|
spendingApproval: bigint;
|
|
3129
3129
|
operatorAddr: string;
|
|
3130
3130
|
__typename: "UserMarketOperator";
|
|
@@ -3138,7 +3138,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3138
3138
|
address: string;
|
|
3139
3139
|
} | null;
|
|
3140
3140
|
}[] | undefined, Error>>;
|
|
3141
|
-
fetchStatus:
|
|
3141
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3142
3142
|
promise: Promise<{
|
|
3143
3143
|
spendingApproval: bigint;
|
|
3144
3144
|
operatorAddr: string;
|
|
@@ -3190,7 +3190,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3190
3190
|
isRefetching: boolean;
|
|
3191
3191
|
isStale: boolean;
|
|
3192
3192
|
isEnabled: boolean;
|
|
3193
|
-
refetch: (options?:
|
|
3193
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
3194
3194
|
spendingApproval: bigint;
|
|
3195
3195
|
operatorAddr: string;
|
|
3196
3196
|
__typename: "UserMarketOperator";
|
|
@@ -3204,7 +3204,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3204
3204
|
address: string;
|
|
3205
3205
|
} | null;
|
|
3206
3206
|
}[] | undefined, Error>>;
|
|
3207
|
-
fetchStatus:
|
|
3207
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3208
3208
|
promise: Promise<{
|
|
3209
3209
|
spendingApproval: bigint;
|
|
3210
3210
|
operatorAddr: string;
|
|
@@ -3317,7 +3317,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3317
3317
|
isRefetching: boolean;
|
|
3318
3318
|
isStale: boolean;
|
|
3319
3319
|
isEnabled: boolean;
|
|
3320
|
-
refetch: (options?:
|
|
3320
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
3321
3321
|
tickLower: number;
|
|
3322
3322
|
tickUpper: number;
|
|
3323
3323
|
prevTickLower: number;
|
|
@@ -3328,7 +3328,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3328
3328
|
borrowedAmount0: bigint;
|
|
3329
3329
|
borrowedAmount1: bigint;
|
|
3330
3330
|
}[], viem116.ReadContractErrorType>>;
|
|
3331
|
-
fetchStatus:
|
|
3331
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3332
3332
|
promise: Promise<readonly {
|
|
3333
3333
|
tickLower: number;
|
|
3334
3334
|
tickUpper: number;
|
|
@@ -3340,7 +3340,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3340
3340
|
borrowedAmount0: bigint;
|
|
3341
3341
|
borrowedAmount1: bigint;
|
|
3342
3342
|
}[]>;
|
|
3343
|
-
queryKey:
|
|
3343
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
3344
3344
|
data: readonly {
|
|
3345
3345
|
tickLower: number;
|
|
3346
3346
|
tickUpper: number;
|
|
@@ -3375,7 +3375,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3375
3375
|
isRefetching: boolean;
|
|
3376
3376
|
isStale: boolean;
|
|
3377
3377
|
isEnabled: boolean;
|
|
3378
|
-
refetch: (options?:
|
|
3378
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
3379
3379
|
tickLower: number;
|
|
3380
3380
|
tickUpper: number;
|
|
3381
3381
|
prevTickLower: number;
|
|
@@ -3386,7 +3386,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3386
3386
|
borrowedAmount0: bigint;
|
|
3387
3387
|
borrowedAmount1: bigint;
|
|
3388
3388
|
}[], viem116.ReadContractErrorType>>;
|
|
3389
|
-
fetchStatus:
|
|
3389
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3390
3390
|
promise: Promise<readonly {
|
|
3391
3391
|
tickLower: number;
|
|
3392
3392
|
tickUpper: number;
|
|
@@ -3398,7 +3398,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3398
3398
|
borrowedAmount0: bigint;
|
|
3399
3399
|
borrowedAmount1: bigint;
|
|
3400
3400
|
}[]>;
|
|
3401
|
-
queryKey:
|
|
3401
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
3402
3402
|
data: readonly {
|
|
3403
3403
|
tickLower: number;
|
|
3404
3404
|
tickUpper: number;
|
|
@@ -3433,7 +3433,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3433
3433
|
isRefetching: boolean;
|
|
3434
3434
|
isStale: boolean;
|
|
3435
3435
|
isEnabled: boolean;
|
|
3436
|
-
refetch: (options?:
|
|
3436
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
3437
3437
|
tickLower: number;
|
|
3438
3438
|
tickUpper: number;
|
|
3439
3439
|
prevTickLower: number;
|
|
@@ -3444,7 +3444,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3444
3444
|
borrowedAmount0: bigint;
|
|
3445
3445
|
borrowedAmount1: bigint;
|
|
3446
3446
|
}[], viem116.ReadContractErrorType>>;
|
|
3447
|
-
fetchStatus:
|
|
3447
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3448
3448
|
promise: Promise<readonly {
|
|
3449
3449
|
tickLower: number;
|
|
3450
3450
|
tickUpper: number;
|
|
@@ -3456,7 +3456,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3456
3456
|
borrowedAmount0: bigint;
|
|
3457
3457
|
borrowedAmount1: bigint;
|
|
3458
3458
|
}[]>;
|
|
3459
|
-
queryKey:
|
|
3459
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
3460
3460
|
data: readonly {
|
|
3461
3461
|
tickLower: number;
|
|
3462
3462
|
tickUpper: number;
|
|
@@ -3491,7 +3491,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3491
3491
|
isRefetching: boolean;
|
|
3492
3492
|
isStale: boolean;
|
|
3493
3493
|
isEnabled: boolean;
|
|
3494
|
-
refetch: (options?:
|
|
3494
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
3495
3495
|
tickLower: number;
|
|
3496
3496
|
tickUpper: number;
|
|
3497
3497
|
prevTickLower: number;
|
|
@@ -3502,7 +3502,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3502
3502
|
borrowedAmount0: bigint;
|
|
3503
3503
|
borrowedAmount1: bigint;
|
|
3504
3504
|
}[], viem116.ReadContractErrorType>>;
|
|
3505
|
-
fetchStatus:
|
|
3505
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3506
3506
|
promise: Promise<readonly {
|
|
3507
3507
|
tickLower: number;
|
|
3508
3508
|
tickUpper: number;
|
|
@@ -3514,7 +3514,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3514
3514
|
borrowedAmount0: bigint;
|
|
3515
3515
|
borrowedAmount1: bigint;
|
|
3516
3516
|
}[]>;
|
|
3517
|
-
queryKey:
|
|
3517
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
3518
3518
|
data: readonly {
|
|
3519
3519
|
tickLower: number;
|
|
3520
3520
|
tickUpper: number;
|
|
@@ -3549,7 +3549,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3549
3549
|
isRefetching: boolean;
|
|
3550
3550
|
isStale: boolean;
|
|
3551
3551
|
isEnabled: boolean;
|
|
3552
|
-
refetch: (options?:
|
|
3552
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
3553
3553
|
tickLower: number;
|
|
3554
3554
|
tickUpper: number;
|
|
3555
3555
|
prevTickLower: number;
|
|
@@ -3560,7 +3560,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3560
3560
|
borrowedAmount0: bigint;
|
|
3561
3561
|
borrowedAmount1: bigint;
|
|
3562
3562
|
}[], viem116.ReadContractErrorType>>;
|
|
3563
|
-
fetchStatus:
|
|
3563
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3564
3564
|
promise: Promise<readonly {
|
|
3565
3565
|
tickLower: number;
|
|
3566
3566
|
tickUpper: number;
|
|
@@ -3572,7 +3572,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3572
3572
|
borrowedAmount0: bigint;
|
|
3573
3573
|
borrowedAmount1: bigint;
|
|
3574
3574
|
}[]>;
|
|
3575
|
-
queryKey:
|
|
3575
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
3576
3576
|
data: readonly {
|
|
3577
3577
|
tickLower: number;
|
|
3578
3578
|
tickUpper: number;
|
|
@@ -3607,7 +3607,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3607
3607
|
isRefetching: boolean;
|
|
3608
3608
|
isStale: boolean;
|
|
3609
3609
|
isEnabled: boolean;
|
|
3610
|
-
refetch: (options?:
|
|
3610
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
3611
3611
|
tickLower: number;
|
|
3612
3612
|
tickUpper: number;
|
|
3613
3613
|
prevTickLower: number;
|
|
@@ -3618,7 +3618,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3618
3618
|
borrowedAmount0: bigint;
|
|
3619
3619
|
borrowedAmount1: bigint;
|
|
3620
3620
|
}[], viem116.ReadContractErrorType>>;
|
|
3621
|
-
fetchStatus:
|
|
3621
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3622
3622
|
promise: Promise<readonly {
|
|
3623
3623
|
tickLower: number;
|
|
3624
3624
|
tickUpper: number;
|
|
@@ -3630,7 +3630,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3630
3630
|
borrowedAmount0: bigint;
|
|
3631
3631
|
borrowedAmount1: bigint;
|
|
3632
3632
|
}[]>;
|
|
3633
|
-
queryKey:
|
|
3633
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
3634
3634
|
data: readonly {
|
|
3635
3635
|
tickLower: number;
|
|
3636
3636
|
tickUpper: number;
|
|
@@ -3690,7 +3690,7 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
3690
3690
|
borrowedAmount0: Amount;
|
|
3691
3691
|
borrowedAmount1: Amount;
|
|
3692
3692
|
blocksCount: bigint;
|
|
3693
|
-
refetch: (options?:
|
|
3693
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem116.ReadContractErrorType>>;
|
|
3694
3694
|
};
|
|
3695
3695
|
//#endregion
|
|
3696
3696
|
//#region src/hooks/useLens.d.ts
|