timelock-sdk 0.0.26 → 0.0.28
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 +40 -32
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +97 -97
- package/dist/client.d.ts +92 -92
- package/dist/client.js +40 -32
- package/dist/client.js.map +1 -1
- package/dist/{index-CRhFaRiq.d.ts → index-DW-OoI-q.d.ts} +92 -92
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
package/dist/client.d.cts
CHANGED
|
@@ -5,9 +5,9 @@ import "graphql-request";
|
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
6
6
|
import * as viem366 from "viem";
|
|
7
7
|
import { Address } from "viem";
|
|
8
|
-
import * as
|
|
8
|
+
import * as _wagmi_core2 from "@wagmi/core";
|
|
9
9
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
10
|
-
import * as
|
|
10
|
+
import * as _tanstack_query_core23 from "@tanstack/query-core";
|
|
11
11
|
|
|
12
12
|
//#region src/generated/graphql.d.ts
|
|
13
13
|
type Exact<T extends {
|
|
@@ -174,7 +174,7 @@ declare const useExerciseOption: (marketAddr?: Address) => {
|
|
|
174
174
|
isPending: boolean;
|
|
175
175
|
isConfirming: boolean;
|
|
176
176
|
isSuccess: boolean;
|
|
177
|
-
error:
|
|
177
|
+
error: _wagmi_core2.WriteContractErrorType | null;
|
|
178
178
|
isLoading: boolean;
|
|
179
179
|
};
|
|
180
180
|
//#endregion
|
|
@@ -212,7 +212,7 @@ declare const useMintOption: (marketAddr?: Address) => {
|
|
|
212
212
|
isPending: boolean;
|
|
213
213
|
isConfirming: boolean;
|
|
214
214
|
isSuccess: boolean;
|
|
215
|
-
error:
|
|
215
|
+
error: _wagmi_core2.WriteContractErrorType | null;
|
|
216
216
|
isLoading: boolean;
|
|
217
217
|
};
|
|
218
218
|
//#endregion
|
|
@@ -258,7 +258,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
258
258
|
isRefetching: boolean;
|
|
259
259
|
isStale: boolean;
|
|
260
260
|
isEnabled: boolean;
|
|
261
|
-
refetch: (options?:
|
|
261
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
262
262
|
id: bigint;
|
|
263
263
|
marketAddr: Address;
|
|
264
264
|
optionType: "CALL" | "PUT";
|
|
@@ -285,8 +285,8 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
285
285
|
__typename: "MintOptionEvent";
|
|
286
286
|
transactionHash: string;
|
|
287
287
|
} | null;
|
|
288
|
-
}[]
|
|
289
|
-
fetchStatus:
|
|
288
|
+
}[], Error>>;
|
|
289
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
290
290
|
promise: Promise<{
|
|
291
291
|
id: bigint;
|
|
292
292
|
marketAddr: Address;
|
|
@@ -314,7 +314,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
314
314
|
__typename: "MintOptionEvent";
|
|
315
315
|
transactionHash: string;
|
|
316
316
|
} | null;
|
|
317
|
-
}[]
|
|
317
|
+
}[]>;
|
|
318
318
|
data: {
|
|
319
319
|
id: bigint;
|
|
320
320
|
marketAddr: Address;
|
|
@@ -366,7 +366,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
366
366
|
isRefetching: boolean;
|
|
367
367
|
isStale: boolean;
|
|
368
368
|
isEnabled: boolean;
|
|
369
|
-
refetch: (options?:
|
|
369
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
370
370
|
id: bigint;
|
|
371
371
|
marketAddr: Address;
|
|
372
372
|
optionType: "CALL" | "PUT";
|
|
@@ -393,8 +393,8 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
393
393
|
__typename: "MintOptionEvent";
|
|
394
394
|
transactionHash: string;
|
|
395
395
|
} | null;
|
|
396
|
-
}[]
|
|
397
|
-
fetchStatus:
|
|
396
|
+
}[], Error>>;
|
|
397
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
398
398
|
promise: Promise<{
|
|
399
399
|
id: bigint;
|
|
400
400
|
marketAddr: Address;
|
|
@@ -422,7 +422,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
422
422
|
__typename: "MintOptionEvent";
|
|
423
423
|
transactionHash: string;
|
|
424
424
|
} | null;
|
|
425
|
-
}[]
|
|
425
|
+
}[]>;
|
|
426
426
|
data: {
|
|
427
427
|
id: bigint;
|
|
428
428
|
marketAddr: Address;
|
|
@@ -474,7 +474,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
474
474
|
isRefetching: boolean;
|
|
475
475
|
isStale: boolean;
|
|
476
476
|
isEnabled: boolean;
|
|
477
|
-
refetch: (options?:
|
|
477
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
478
478
|
id: bigint;
|
|
479
479
|
marketAddr: Address;
|
|
480
480
|
optionType: "CALL" | "PUT";
|
|
@@ -501,8 +501,8 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
501
501
|
__typename: "MintOptionEvent";
|
|
502
502
|
transactionHash: string;
|
|
503
503
|
} | null;
|
|
504
|
-
}[]
|
|
505
|
-
fetchStatus:
|
|
504
|
+
}[], Error>>;
|
|
505
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
506
506
|
promise: Promise<{
|
|
507
507
|
id: bigint;
|
|
508
508
|
marketAddr: Address;
|
|
@@ -530,7 +530,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
530
530
|
__typename: "MintOptionEvent";
|
|
531
531
|
transactionHash: string;
|
|
532
532
|
} | null;
|
|
533
|
-
}[]
|
|
533
|
+
}[]>;
|
|
534
534
|
data: {
|
|
535
535
|
id: bigint;
|
|
536
536
|
marketAddr: Address;
|
|
@@ -582,7 +582,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
582
582
|
isRefetching: boolean;
|
|
583
583
|
isStale: boolean;
|
|
584
584
|
isEnabled: boolean;
|
|
585
|
-
refetch: (options?:
|
|
585
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
586
586
|
id: bigint;
|
|
587
587
|
marketAddr: Address;
|
|
588
588
|
optionType: "CALL" | "PUT";
|
|
@@ -609,8 +609,8 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
609
609
|
__typename: "MintOptionEvent";
|
|
610
610
|
transactionHash: string;
|
|
611
611
|
} | null;
|
|
612
|
-
}[]
|
|
613
|
-
fetchStatus:
|
|
612
|
+
}[], Error>>;
|
|
613
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
614
614
|
promise: Promise<{
|
|
615
615
|
id: bigint;
|
|
616
616
|
marketAddr: Address;
|
|
@@ -638,7 +638,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
638
638
|
__typename: "MintOptionEvent";
|
|
639
639
|
transactionHash: string;
|
|
640
640
|
} | null;
|
|
641
|
-
}[]
|
|
641
|
+
}[]>;
|
|
642
642
|
data: {
|
|
643
643
|
id: bigint;
|
|
644
644
|
marketAddr: Address;
|
|
@@ -690,7 +690,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
690
690
|
isRefetching: boolean;
|
|
691
691
|
isStale: boolean;
|
|
692
692
|
isEnabled: boolean;
|
|
693
|
-
refetch: (options?:
|
|
693
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
694
694
|
id: bigint;
|
|
695
695
|
marketAddr: Address;
|
|
696
696
|
optionType: "CALL" | "PUT";
|
|
@@ -717,8 +717,8 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
717
717
|
__typename: "MintOptionEvent";
|
|
718
718
|
transactionHash: string;
|
|
719
719
|
} | null;
|
|
720
|
-
}[]
|
|
721
|
-
fetchStatus:
|
|
720
|
+
}[], Error>>;
|
|
721
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
722
722
|
promise: Promise<{
|
|
723
723
|
id: bigint;
|
|
724
724
|
marketAddr: Address;
|
|
@@ -746,7 +746,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
746
746
|
__typename: "MintOptionEvent";
|
|
747
747
|
transactionHash: string;
|
|
748
748
|
} | null;
|
|
749
|
-
}[]
|
|
749
|
+
}[]>;
|
|
750
750
|
data: {
|
|
751
751
|
id: bigint;
|
|
752
752
|
marketAddr: Address;
|
|
@@ -798,7 +798,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
798
798
|
isRefetching: boolean;
|
|
799
799
|
isStale: boolean;
|
|
800
800
|
isEnabled: boolean;
|
|
801
|
-
refetch: (options?:
|
|
801
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
802
802
|
id: bigint;
|
|
803
803
|
marketAddr: Address;
|
|
804
804
|
optionType: "CALL" | "PUT";
|
|
@@ -825,8 +825,8 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
825
825
|
__typename: "MintOptionEvent";
|
|
826
826
|
transactionHash: string;
|
|
827
827
|
} | null;
|
|
828
|
-
}[]
|
|
829
|
-
fetchStatus:
|
|
828
|
+
}[], Error>>;
|
|
829
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
830
830
|
promise: Promise<{
|
|
831
831
|
id: bigint;
|
|
832
832
|
marketAddr: Address;
|
|
@@ -854,7 +854,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
854
854
|
__typename: "MintOptionEvent";
|
|
855
855
|
transactionHash: string;
|
|
856
856
|
} | null;
|
|
857
|
-
}[]
|
|
857
|
+
}[]>;
|
|
858
858
|
data: {
|
|
859
859
|
id: bigint;
|
|
860
860
|
marketAddr: Address;
|
|
@@ -907,7 +907,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
907
907
|
isRefetching: boolean;
|
|
908
908
|
isStale: boolean;
|
|
909
909
|
isEnabled: boolean;
|
|
910
|
-
refetch: (options?:
|
|
910
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
911
911
|
id: bigint;
|
|
912
912
|
marketAddr: Address;
|
|
913
913
|
optionType: "CALL" | "PUT";
|
|
@@ -934,8 +934,8 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
934
934
|
__typename: "MintOptionEvent";
|
|
935
935
|
transactionHash: string;
|
|
936
936
|
} | null;
|
|
937
|
-
}[]
|
|
938
|
-
fetchStatus:
|
|
937
|
+
}[], Error>>;
|
|
938
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
939
939
|
promise: Promise<{
|
|
940
940
|
id: bigint;
|
|
941
941
|
marketAddr: Address;
|
|
@@ -963,7 +963,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
963
963
|
__typename: "MintOptionEvent";
|
|
964
964
|
transactionHash: string;
|
|
965
965
|
} | null;
|
|
966
|
-
}[]
|
|
966
|
+
}[]>;
|
|
967
967
|
data: {
|
|
968
968
|
id: bigint;
|
|
969
969
|
marketAddr: Address;
|
|
@@ -1015,7 +1015,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1015
1015
|
isRefetching: boolean;
|
|
1016
1016
|
isStale: boolean;
|
|
1017
1017
|
isEnabled: boolean;
|
|
1018
|
-
refetch: (options?:
|
|
1018
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
1019
1019
|
id: bigint;
|
|
1020
1020
|
marketAddr: Address;
|
|
1021
1021
|
optionType: "CALL" | "PUT";
|
|
@@ -1042,8 +1042,8 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1042
1042
|
__typename: "MintOptionEvent";
|
|
1043
1043
|
transactionHash: string;
|
|
1044
1044
|
} | null;
|
|
1045
|
-
}[]
|
|
1046
|
-
fetchStatus:
|
|
1045
|
+
}[], Error>>;
|
|
1046
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
1047
1047
|
promise: Promise<{
|
|
1048
1048
|
id: bigint;
|
|
1049
1049
|
marketAddr: Address;
|
|
@@ -1071,7 +1071,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1071
1071
|
__typename: "MintOptionEvent";
|
|
1072
1072
|
transactionHash: string;
|
|
1073
1073
|
} | null;
|
|
1074
|
-
}[]
|
|
1074
|
+
}[]>;
|
|
1075
1075
|
data: {
|
|
1076
1076
|
id: bigint;
|
|
1077
1077
|
marketAddr: Address;
|
|
@@ -1123,7 +1123,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1123
1123
|
isRefetching: boolean;
|
|
1124
1124
|
isStale: boolean;
|
|
1125
1125
|
isEnabled: boolean;
|
|
1126
|
-
refetch: (options?:
|
|
1126
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
1127
1127
|
id: bigint;
|
|
1128
1128
|
marketAddr: Address;
|
|
1129
1129
|
optionType: "CALL" | "PUT";
|
|
@@ -1150,8 +1150,8 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1150
1150
|
__typename: "MintOptionEvent";
|
|
1151
1151
|
transactionHash: string;
|
|
1152
1152
|
} | null;
|
|
1153
|
-
}[]
|
|
1154
|
-
fetchStatus:
|
|
1153
|
+
}[], Error>>;
|
|
1154
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
1155
1155
|
promise: Promise<{
|
|
1156
1156
|
id: bigint;
|
|
1157
1157
|
marketAddr: Address;
|
|
@@ -1179,7 +1179,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1179
1179
|
__typename: "MintOptionEvent";
|
|
1180
1180
|
transactionHash: string;
|
|
1181
1181
|
} | null;
|
|
1182
|
-
}[]
|
|
1182
|
+
}[]>;
|
|
1183
1183
|
data: {
|
|
1184
1184
|
id: bigint;
|
|
1185
1185
|
marketAddr: Address;
|
|
@@ -1231,7 +1231,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1231
1231
|
isRefetching: boolean;
|
|
1232
1232
|
isStale: boolean;
|
|
1233
1233
|
isEnabled: boolean;
|
|
1234
|
-
refetch: (options?:
|
|
1234
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
1235
1235
|
id: bigint;
|
|
1236
1236
|
marketAddr: Address;
|
|
1237
1237
|
optionType: "CALL" | "PUT";
|
|
@@ -1258,8 +1258,8 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1258
1258
|
__typename: "MintOptionEvent";
|
|
1259
1259
|
transactionHash: string;
|
|
1260
1260
|
} | null;
|
|
1261
|
-
}[]
|
|
1262
|
-
fetchStatus:
|
|
1261
|
+
}[], Error>>;
|
|
1262
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
1263
1263
|
promise: Promise<{
|
|
1264
1264
|
id: bigint;
|
|
1265
1265
|
marketAddr: Address;
|
|
@@ -1287,7 +1287,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1287
1287
|
__typename: "MintOptionEvent";
|
|
1288
1288
|
transactionHash: string;
|
|
1289
1289
|
} | null;
|
|
1290
|
-
}[]
|
|
1290
|
+
}[]>;
|
|
1291
1291
|
data: {
|
|
1292
1292
|
id: bigint;
|
|
1293
1293
|
marketAddr: Address;
|
|
@@ -1339,7 +1339,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1339
1339
|
isRefetching: boolean;
|
|
1340
1340
|
isStale: boolean;
|
|
1341
1341
|
isEnabled: boolean;
|
|
1342
|
-
refetch: (options?:
|
|
1342
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
1343
1343
|
id: bigint;
|
|
1344
1344
|
marketAddr: Address;
|
|
1345
1345
|
optionType: "CALL" | "PUT";
|
|
@@ -1366,8 +1366,8 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1366
1366
|
__typename: "MintOptionEvent";
|
|
1367
1367
|
transactionHash: string;
|
|
1368
1368
|
} | null;
|
|
1369
|
-
}[]
|
|
1370
|
-
fetchStatus:
|
|
1369
|
+
}[], Error>>;
|
|
1370
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
1371
1371
|
promise: Promise<{
|
|
1372
1372
|
id: bigint;
|
|
1373
1373
|
marketAddr: Address;
|
|
@@ -1395,7 +1395,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1395
1395
|
__typename: "MintOptionEvent";
|
|
1396
1396
|
transactionHash: string;
|
|
1397
1397
|
} | null;
|
|
1398
|
-
}[]
|
|
1398
|
+
}[]>;
|
|
1399
1399
|
data: {
|
|
1400
1400
|
id: bigint;
|
|
1401
1401
|
marketAddr: Address;
|
|
@@ -1447,7 +1447,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1447
1447
|
isRefetching: boolean;
|
|
1448
1448
|
isStale: boolean;
|
|
1449
1449
|
isEnabled: boolean;
|
|
1450
|
-
refetch: (options?:
|
|
1450
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
1451
1451
|
id: bigint;
|
|
1452
1452
|
marketAddr: Address;
|
|
1453
1453
|
optionType: "CALL" | "PUT";
|
|
@@ -1474,8 +1474,8 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1474
1474
|
__typename: "MintOptionEvent";
|
|
1475
1475
|
transactionHash: string;
|
|
1476
1476
|
} | null;
|
|
1477
|
-
}[]
|
|
1478
|
-
fetchStatus:
|
|
1477
|
+
}[], Error>>;
|
|
1478
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
1479
1479
|
promise: Promise<{
|
|
1480
1480
|
id: bigint;
|
|
1481
1481
|
marketAddr: Address;
|
|
@@ -1503,7 +1503,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1503
1503
|
__typename: "MintOptionEvent";
|
|
1504
1504
|
transactionHash: string;
|
|
1505
1505
|
} | null;
|
|
1506
|
-
}[]
|
|
1506
|
+
}[]>;
|
|
1507
1507
|
data: {
|
|
1508
1508
|
id: bigint;
|
|
1509
1509
|
marketAddr: Address;
|
|
@@ -1556,7 +1556,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1556
1556
|
isRefetching: boolean;
|
|
1557
1557
|
isStale: boolean;
|
|
1558
1558
|
isEnabled: boolean;
|
|
1559
|
-
refetch: (options?:
|
|
1559
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
1560
1560
|
id: bigint;
|
|
1561
1561
|
marketAddr: Address;
|
|
1562
1562
|
optionType: "CALL" | "PUT";
|
|
@@ -1583,8 +1583,8 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1583
1583
|
__typename: "MintOptionEvent";
|
|
1584
1584
|
transactionHash: string;
|
|
1585
1585
|
} | null;
|
|
1586
|
-
}[]
|
|
1587
|
-
fetchStatus:
|
|
1586
|
+
}[], Error>>;
|
|
1587
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
1588
1588
|
promise: Promise<{
|
|
1589
1589
|
id: bigint;
|
|
1590
1590
|
marketAddr: Address;
|
|
@@ -1612,7 +1612,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1612
1612
|
__typename: "MintOptionEvent";
|
|
1613
1613
|
transactionHash: string;
|
|
1614
1614
|
} | null;
|
|
1615
|
-
}[]
|
|
1615
|
+
}[]>;
|
|
1616
1616
|
data: {
|
|
1617
1617
|
id: bigint;
|
|
1618
1618
|
marketAddr: Address;
|
|
@@ -1664,7 +1664,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1664
1664
|
isRefetching: boolean;
|
|
1665
1665
|
isStale: boolean;
|
|
1666
1666
|
isEnabled: boolean;
|
|
1667
|
-
refetch: (options?:
|
|
1667
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
1668
1668
|
id: bigint;
|
|
1669
1669
|
marketAddr: Address;
|
|
1670
1670
|
optionType: "CALL" | "PUT";
|
|
@@ -1691,8 +1691,8 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1691
1691
|
__typename: "MintOptionEvent";
|
|
1692
1692
|
transactionHash: string;
|
|
1693
1693
|
} | null;
|
|
1694
|
-
}[]
|
|
1695
|
-
fetchStatus:
|
|
1694
|
+
}[], Error>>;
|
|
1695
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
1696
1696
|
promise: Promise<{
|
|
1697
1697
|
id: bigint;
|
|
1698
1698
|
marketAddr: Address;
|
|
@@ -1720,7 +1720,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1720
1720
|
__typename: "MintOptionEvent";
|
|
1721
1721
|
transactionHash: string;
|
|
1722
1722
|
} | null;
|
|
1723
|
-
}[]
|
|
1723
|
+
}[]>;
|
|
1724
1724
|
data: {
|
|
1725
1725
|
id: bigint;
|
|
1726
1726
|
marketAddr: Address;
|
|
@@ -1772,7 +1772,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1772
1772
|
isRefetching: boolean;
|
|
1773
1773
|
isStale: boolean;
|
|
1774
1774
|
isEnabled: boolean;
|
|
1775
|
-
refetch: (options?:
|
|
1775
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
1776
1776
|
id: bigint;
|
|
1777
1777
|
marketAddr: Address;
|
|
1778
1778
|
optionType: "CALL" | "PUT";
|
|
@@ -1799,8 +1799,8 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1799
1799
|
__typename: "MintOptionEvent";
|
|
1800
1800
|
transactionHash: string;
|
|
1801
1801
|
} | null;
|
|
1802
|
-
}[]
|
|
1803
|
-
fetchStatus:
|
|
1802
|
+
}[], Error>>;
|
|
1803
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
1804
1804
|
promise: Promise<{
|
|
1805
1805
|
id: bigint;
|
|
1806
1806
|
marketAddr: Address;
|
|
@@ -1828,7 +1828,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1828
1828
|
__typename: "MintOptionEvent";
|
|
1829
1829
|
transactionHash: string;
|
|
1830
1830
|
} | null;
|
|
1831
|
-
}[]
|
|
1831
|
+
}[]>;
|
|
1832
1832
|
data: {
|
|
1833
1833
|
id: bigint;
|
|
1834
1834
|
marketAddr: Address;
|
|
@@ -1880,7 +1880,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1880
1880
|
isRefetching: boolean;
|
|
1881
1881
|
isStale: boolean;
|
|
1882
1882
|
isEnabled: boolean;
|
|
1883
|
-
refetch: (options?:
|
|
1883
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
1884
1884
|
id: bigint;
|
|
1885
1885
|
marketAddr: Address;
|
|
1886
1886
|
optionType: "CALL" | "PUT";
|
|
@@ -1907,8 +1907,8 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1907
1907
|
__typename: "MintOptionEvent";
|
|
1908
1908
|
transactionHash: string;
|
|
1909
1909
|
} | null;
|
|
1910
|
-
}[]
|
|
1911
|
-
fetchStatus:
|
|
1910
|
+
}[], Error>>;
|
|
1911
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
1912
1912
|
promise: Promise<{
|
|
1913
1913
|
id: bigint;
|
|
1914
1914
|
marketAddr: Address;
|
|
@@ -1936,7 +1936,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1936
1936
|
__typename: "MintOptionEvent";
|
|
1937
1937
|
transactionHash: string;
|
|
1938
1938
|
} | null;
|
|
1939
|
-
}[]
|
|
1939
|
+
}[]>;
|
|
1940
1940
|
data: {
|
|
1941
1941
|
id: bigint;
|
|
1942
1942
|
marketAddr: Address;
|
|
@@ -1988,7 +1988,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1988
1988
|
isRefetching: boolean;
|
|
1989
1989
|
isStale: boolean;
|
|
1990
1990
|
isEnabled: boolean;
|
|
1991
|
-
refetch: (options?:
|
|
1991
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
1992
1992
|
id: bigint;
|
|
1993
1993
|
marketAddr: Address;
|
|
1994
1994
|
optionType: "CALL" | "PUT";
|
|
@@ -2015,8 +2015,8 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2015
2015
|
__typename: "MintOptionEvent";
|
|
2016
2016
|
transactionHash: string;
|
|
2017
2017
|
} | null;
|
|
2018
|
-
}[]
|
|
2019
|
-
fetchStatus:
|
|
2018
|
+
}[], Error>>;
|
|
2019
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
2020
2020
|
promise: Promise<{
|
|
2021
2021
|
id: bigint;
|
|
2022
2022
|
marketAddr: Address;
|
|
@@ -2044,7 +2044,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2044
2044
|
__typename: "MintOptionEvent";
|
|
2045
2045
|
transactionHash: string;
|
|
2046
2046
|
} | null;
|
|
2047
|
-
}[]
|
|
2047
|
+
}[]>;
|
|
2048
2048
|
data: {
|
|
2049
2049
|
id: bigint;
|
|
2050
2050
|
marketAddr: Address;
|
|
@@ -2096,7 +2096,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2096
2096
|
isRefetching: boolean;
|
|
2097
2097
|
isStale: boolean;
|
|
2098
2098
|
isEnabled: boolean;
|
|
2099
|
-
refetch: (options?:
|
|
2099
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
2100
2100
|
id: bigint;
|
|
2101
2101
|
marketAddr: Address;
|
|
2102
2102
|
optionType: "CALL" | "PUT";
|
|
@@ -2123,8 +2123,8 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2123
2123
|
__typename: "MintOptionEvent";
|
|
2124
2124
|
transactionHash: string;
|
|
2125
2125
|
} | null;
|
|
2126
|
-
}[]
|
|
2127
|
-
fetchStatus:
|
|
2126
|
+
}[], Error>>;
|
|
2127
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
2128
2128
|
promise: Promise<{
|
|
2129
2129
|
id: bigint;
|
|
2130
2130
|
marketAddr: Address;
|
|
@@ -2152,7 +2152,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2152
2152
|
__typename: "MintOptionEvent";
|
|
2153
2153
|
transactionHash: string;
|
|
2154
2154
|
} | null;
|
|
2155
|
-
}[]
|
|
2155
|
+
}[]>;
|
|
2156
2156
|
data: {
|
|
2157
2157
|
id: bigint;
|
|
2158
2158
|
marketAddr: Address;
|
|
@@ -2230,7 +2230,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
2230
2230
|
isPending: boolean;
|
|
2231
2231
|
isConfirming: boolean;
|
|
2232
2232
|
isSuccess: boolean;
|
|
2233
|
-
error:
|
|
2233
|
+
error: _wagmi_core2.WriteContractErrorType | null;
|
|
2234
2234
|
isLoading: boolean;
|
|
2235
2235
|
};
|
|
2236
2236
|
//#endregion
|
|
@@ -2259,7 +2259,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2259
2259
|
isRefetching: boolean;
|
|
2260
2260
|
isStale: boolean;
|
|
2261
2261
|
isEnabled: boolean;
|
|
2262
|
-
refetch: (options?:
|
|
2262
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
|
|
2263
2263
|
tickLower: number;
|
|
2264
2264
|
tickUpper: number;
|
|
2265
2265
|
prevTickLower: number;
|
|
@@ -2270,7 +2270,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2270
2270
|
borrowedAmount0: bigint;
|
|
2271
2271
|
borrowedAmount1: bigint;
|
|
2272
2272
|
}[], viem366.ReadContractErrorType>>;
|
|
2273
|
-
fetchStatus:
|
|
2273
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
2274
2274
|
promise: Promise<readonly {
|
|
2275
2275
|
tickLower: number;
|
|
2276
2276
|
tickUpper: number;
|
|
@@ -2282,7 +2282,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2282
2282
|
borrowedAmount0: bigint;
|
|
2283
2283
|
borrowedAmount1: bigint;
|
|
2284
2284
|
}[]>;
|
|
2285
|
-
queryKey:
|
|
2285
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
2286
2286
|
data: readonly {
|
|
2287
2287
|
tickLower: number;
|
|
2288
2288
|
tickUpper: number;
|
|
@@ -2317,7 +2317,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2317
2317
|
isRefetching: boolean;
|
|
2318
2318
|
isStale: boolean;
|
|
2319
2319
|
isEnabled: boolean;
|
|
2320
|
-
refetch: (options?:
|
|
2320
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
|
|
2321
2321
|
tickLower: number;
|
|
2322
2322
|
tickUpper: number;
|
|
2323
2323
|
prevTickLower: number;
|
|
@@ -2328,7 +2328,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2328
2328
|
borrowedAmount0: bigint;
|
|
2329
2329
|
borrowedAmount1: bigint;
|
|
2330
2330
|
}[], viem366.ReadContractErrorType>>;
|
|
2331
|
-
fetchStatus:
|
|
2331
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
2332
2332
|
promise: Promise<readonly {
|
|
2333
2333
|
tickLower: number;
|
|
2334
2334
|
tickUpper: number;
|
|
@@ -2340,7 +2340,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2340
2340
|
borrowedAmount0: bigint;
|
|
2341
2341
|
borrowedAmount1: bigint;
|
|
2342
2342
|
}[]>;
|
|
2343
|
-
queryKey:
|
|
2343
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
2344
2344
|
data: readonly {
|
|
2345
2345
|
tickLower: number;
|
|
2346
2346
|
tickUpper: number;
|
|
@@ -2375,7 +2375,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2375
2375
|
isRefetching: boolean;
|
|
2376
2376
|
isStale: boolean;
|
|
2377
2377
|
isEnabled: boolean;
|
|
2378
|
-
refetch: (options?:
|
|
2378
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
|
|
2379
2379
|
tickLower: number;
|
|
2380
2380
|
tickUpper: number;
|
|
2381
2381
|
prevTickLower: number;
|
|
@@ -2386,7 +2386,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2386
2386
|
borrowedAmount0: bigint;
|
|
2387
2387
|
borrowedAmount1: bigint;
|
|
2388
2388
|
}[], viem366.ReadContractErrorType>>;
|
|
2389
|
-
fetchStatus:
|
|
2389
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
2390
2390
|
promise: Promise<readonly {
|
|
2391
2391
|
tickLower: number;
|
|
2392
2392
|
tickUpper: number;
|
|
@@ -2398,7 +2398,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2398
2398
|
borrowedAmount0: bigint;
|
|
2399
2399
|
borrowedAmount1: bigint;
|
|
2400
2400
|
}[]>;
|
|
2401
|
-
queryKey:
|
|
2401
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
2402
2402
|
data: readonly {
|
|
2403
2403
|
tickLower: number;
|
|
2404
2404
|
tickUpper: number;
|
|
@@ -2433,7 +2433,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2433
2433
|
isRefetching: boolean;
|
|
2434
2434
|
isStale: boolean;
|
|
2435
2435
|
isEnabled: boolean;
|
|
2436
|
-
refetch: (options?:
|
|
2436
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
|
|
2437
2437
|
tickLower: number;
|
|
2438
2438
|
tickUpper: number;
|
|
2439
2439
|
prevTickLower: number;
|
|
@@ -2444,7 +2444,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2444
2444
|
borrowedAmount0: bigint;
|
|
2445
2445
|
borrowedAmount1: bigint;
|
|
2446
2446
|
}[], viem366.ReadContractErrorType>>;
|
|
2447
|
-
fetchStatus:
|
|
2447
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
2448
2448
|
promise: Promise<readonly {
|
|
2449
2449
|
tickLower: number;
|
|
2450
2450
|
tickUpper: number;
|
|
@@ -2456,7 +2456,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2456
2456
|
borrowedAmount0: bigint;
|
|
2457
2457
|
borrowedAmount1: bigint;
|
|
2458
2458
|
}[]>;
|
|
2459
|
-
queryKey:
|
|
2459
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
2460
2460
|
data: readonly {
|
|
2461
2461
|
tickLower: number;
|
|
2462
2462
|
tickUpper: number;
|
|
@@ -2491,7 +2491,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2491
2491
|
isRefetching: boolean;
|
|
2492
2492
|
isStale: boolean;
|
|
2493
2493
|
isEnabled: boolean;
|
|
2494
|
-
refetch: (options?:
|
|
2494
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
|
|
2495
2495
|
tickLower: number;
|
|
2496
2496
|
tickUpper: number;
|
|
2497
2497
|
prevTickLower: number;
|
|
@@ -2502,7 +2502,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2502
2502
|
borrowedAmount0: bigint;
|
|
2503
2503
|
borrowedAmount1: bigint;
|
|
2504
2504
|
}[], viem366.ReadContractErrorType>>;
|
|
2505
|
-
fetchStatus:
|
|
2505
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
2506
2506
|
promise: Promise<readonly {
|
|
2507
2507
|
tickLower: number;
|
|
2508
2508
|
tickUpper: number;
|
|
@@ -2514,7 +2514,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2514
2514
|
borrowedAmount0: bigint;
|
|
2515
2515
|
borrowedAmount1: bigint;
|
|
2516
2516
|
}[]>;
|
|
2517
|
-
queryKey:
|
|
2517
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
2518
2518
|
data: readonly {
|
|
2519
2519
|
tickLower: number;
|
|
2520
2520
|
tickUpper: number;
|
|
@@ -2549,7 +2549,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2549
2549
|
isRefetching: boolean;
|
|
2550
2550
|
isStale: boolean;
|
|
2551
2551
|
isEnabled: boolean;
|
|
2552
|
-
refetch: (options?:
|
|
2552
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
|
|
2553
2553
|
tickLower: number;
|
|
2554
2554
|
tickUpper: number;
|
|
2555
2555
|
prevTickLower: number;
|
|
@@ -2560,7 +2560,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2560
2560
|
borrowedAmount0: bigint;
|
|
2561
2561
|
borrowedAmount1: bigint;
|
|
2562
2562
|
}[], viem366.ReadContractErrorType>>;
|
|
2563
|
-
fetchStatus:
|
|
2563
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
2564
2564
|
promise: Promise<readonly {
|
|
2565
2565
|
tickLower: number;
|
|
2566
2566
|
tickUpper: number;
|
|
@@ -2572,7 +2572,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2572
2572
|
borrowedAmount0: bigint;
|
|
2573
2573
|
borrowedAmount1: bigint;
|
|
2574
2574
|
}[]>;
|
|
2575
|
-
queryKey:
|
|
2575
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
2576
2576
|
data: readonly {
|
|
2577
2577
|
tickLower: number;
|
|
2578
2578
|
tickUpper: number;
|
|
@@ -2605,7 +2605,7 @@ declare const useMintLiquidity: (vaultAddr?: Address) => {
|
|
|
2605
2605
|
isPending: boolean;
|
|
2606
2606
|
isConfirming: boolean;
|
|
2607
2607
|
isSuccess: boolean;
|
|
2608
|
-
error:
|
|
2608
|
+
error: _wagmi_core2.WriteContractErrorType | null;
|
|
2609
2609
|
isLoading: boolean;
|
|
2610
2610
|
};
|
|
2611
2611
|
//#endregion
|
|
@@ -2632,7 +2632,7 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
2632
2632
|
borrowedAmount0: Amount;
|
|
2633
2633
|
borrowedAmount1: Amount;
|
|
2634
2634
|
blocksCount: bigint;
|
|
2635
|
-
refetch: (options?:
|
|
2635
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem366.ReadContractErrorType>>;
|
|
2636
2636
|
};
|
|
2637
2637
|
//#endregion
|
|
2638
2638
|
//#region src/hooks/useLens.d.ts
|