timelock-sdk 0.0.76 → 0.0.77

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.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 _tanstack_query_core17 from "@tanstack/query-core";
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
@@ -82,14 +82,6 @@ type UserOptionFieldsFragment = {
82
82
  __typename: 'TimelockMarket';
83
83
  address: string;
84
84
  } | null;
85
- exerciseEvents: Array<{
86
- __typename: 'ExerciseOptionEvent';
87
- transactionHash: string;
88
- }>;
89
- mintEvent?: {
90
- __typename: 'MintOptionEvent';
91
- transactionHash: string;
92
- } | null;
93
85
  };
94
86
  type GetActiveUserOptionsQueryVariables = Exact<{
95
87
  userAddr: Scalars['String']['input'];
@@ -174,6 +166,48 @@ type GetUserMarketOperatorsQuery = {
174
166
  } | null;
175
167
  }>;
176
168
  };
169
+ type GetOptionEventsQueryVariables = Exact<{
170
+ marketAddr: Scalars['String']['input'];
171
+ optionId: Scalars['numeric']['input'];
172
+ }>;
173
+ type GetOptionEventsQuery = {
174
+ __typename: 'query_root';
175
+ MintOptionEvent: Array<{
176
+ __typename: 'MintOptionEvent';
177
+ id: string;
178
+ optionType: number;
179
+ strikeTick: number;
180
+ currentTick: number;
181
+ expiresAt: any;
182
+ premium: any;
183
+ protocolFee: any;
184
+ liquidities: Array<string>;
185
+ timestamp: any;
186
+ blockNumber: any;
187
+ transactionHash: string;
188
+ }>;
189
+ ExerciseOptionEvent: Array<{
190
+ __typename: 'ExerciseOptionEvent';
191
+ id: string;
192
+ liquidities: Array<string>;
193
+ currentTick: number;
194
+ payout: any;
195
+ timestamp: any;
196
+ blockNumber: any;
197
+ transactionHash: string;
198
+ }>;
199
+ ExtendOptionEvent: Array<{
200
+ __typename: 'ExtendOptionEvent';
201
+ id: string;
202
+ premium: any;
203
+ protocolFee: any;
204
+ currentTick: number;
205
+ addedDuration: any;
206
+ timestamp: any;
207
+ blockNumber: any;
208
+ transactionHash: string;
209
+ }>;
210
+ };
177
211
  type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
178
212
  declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
179
213
  GetActiveUserOptions(variables: GetActiveUserOptionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetActiveUserOptionsQuery>;
@@ -182,6 +216,7 @@ declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper)
182
216
  GetClosedUserOptionsByMarket(variables: GetClosedUserOptionsByMarketQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetClosedUserOptionsByMarketQuery>;
183
217
  GetMarketData(variables: GetMarketDataQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetMarketDataQuery>;
184
218
  GetUserMarketOperators(variables: GetUserMarketOperatorsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetUserMarketOperatorsQuery>;
219
+ GetOptionEvents(variables: GetOptionEventsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetOptionEventsQuery>;
185
220
  };
186
221
  //#endregion
187
222
  //#region src/providers/TimelockMarketProvider.d.ts
@@ -229,7 +264,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
229
264
  isRefetching: boolean;
230
265
  isStale: boolean;
231
266
  isEnabled: boolean;
232
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
267
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
233
268
  optionId: bigint;
234
269
  marketAddr: Address;
235
270
  ownerAddr: Address;
@@ -259,16 +294,8 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
259
294
  __typename: "TimelockMarket";
260
295
  address: string;
261
296
  } | null;
262
- exerciseEvents: Array<{
263
- __typename: "ExerciseOptionEvent";
264
- transactionHash: string;
265
- }>;
266
- mintEvent?: {
267
- __typename: "MintOptionEvent";
268
- transactionHash: string;
269
- } | null;
270
297
  }[], Error>>;
271
- fetchStatus: _tanstack_query_core17.FetchStatus;
298
+ fetchStatus: _tanstack_query_core0.FetchStatus;
272
299
  promise: Promise<{
273
300
  optionId: bigint;
274
301
  marketAddr: Address;
@@ -299,14 +326,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
299
326
  __typename: "TimelockMarket";
300
327
  address: string;
301
328
  } | null;
302
- exerciseEvents: Array<{
303
- __typename: "ExerciseOptionEvent";
304
- transactionHash: string;
305
- }>;
306
- mintEvent?: {
307
- __typename: "MintOptionEvent";
308
- transactionHash: string;
309
- } | null;
310
329
  }[]>;
311
330
  data: {
312
331
  optionId: bigint;
@@ -338,14 +357,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
338
357
  __typename: "TimelockMarket";
339
358
  address: string;
340
359
  } | null;
341
- exerciseEvents: Array<{
342
- __typename: "ExerciseOptionEvent";
343
- transactionHash: string;
344
- }>;
345
- mintEvent?: {
346
- __typename: "MintOptionEvent";
347
- transactionHash: string;
348
- } | null;
349
360
  }[];
350
361
  } | {
351
362
  error: null;
@@ -370,7 +381,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
370
381
  isRefetching: boolean;
371
382
  isStale: boolean;
372
383
  isEnabled: boolean;
373
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
384
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
374
385
  optionId: bigint;
375
386
  marketAddr: Address;
376
387
  ownerAddr: Address;
@@ -400,16 +411,8 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
400
411
  __typename: "TimelockMarket";
401
412
  address: string;
402
413
  } | null;
403
- exerciseEvents: Array<{
404
- __typename: "ExerciseOptionEvent";
405
- transactionHash: string;
406
- }>;
407
- mintEvent?: {
408
- __typename: "MintOptionEvent";
409
- transactionHash: string;
410
- } | null;
411
414
  }[], Error>>;
412
- fetchStatus: _tanstack_query_core17.FetchStatus;
415
+ fetchStatus: _tanstack_query_core0.FetchStatus;
413
416
  promise: Promise<{
414
417
  optionId: bigint;
415
418
  marketAddr: Address;
@@ -440,14 +443,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
440
443
  __typename: "TimelockMarket";
441
444
  address: string;
442
445
  } | null;
443
- exerciseEvents: Array<{
444
- __typename: "ExerciseOptionEvent";
445
- transactionHash: string;
446
- }>;
447
- mintEvent?: {
448
- __typename: "MintOptionEvent";
449
- transactionHash: string;
450
- } | null;
451
446
  }[]>;
452
447
  data: {
453
448
  optionId: bigint;
@@ -479,14 +474,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
479
474
  __typename: "TimelockMarket";
480
475
  address: string;
481
476
  } | null;
482
- exerciseEvents: Array<{
483
- __typename: "ExerciseOptionEvent";
484
- transactionHash: string;
485
- }>;
486
- mintEvent?: {
487
- __typename: "MintOptionEvent";
488
- transactionHash: string;
489
- } | null;
490
477
  }[];
491
478
  } | {
492
479
  error: Error;
@@ -511,7 +498,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
511
498
  isRefetching: boolean;
512
499
  isStale: boolean;
513
500
  isEnabled: boolean;
514
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
501
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
515
502
  optionId: bigint;
516
503
  marketAddr: Address;
517
504
  ownerAddr: Address;
@@ -541,16 +528,8 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
541
528
  __typename: "TimelockMarket";
542
529
  address: string;
543
530
  } | null;
544
- exerciseEvents: Array<{
545
- __typename: "ExerciseOptionEvent";
546
- transactionHash: string;
547
- }>;
548
- mintEvent?: {
549
- __typename: "MintOptionEvent";
550
- transactionHash: string;
551
- } | null;
552
531
  }[], Error>>;
553
- fetchStatus: _tanstack_query_core17.FetchStatus;
532
+ fetchStatus: _tanstack_query_core0.FetchStatus;
554
533
  promise: Promise<{
555
534
  optionId: bigint;
556
535
  marketAddr: Address;
@@ -581,14 +560,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
581
560
  __typename: "TimelockMarket";
582
561
  address: string;
583
562
  } | null;
584
- exerciseEvents: Array<{
585
- __typename: "ExerciseOptionEvent";
586
- transactionHash: string;
587
- }>;
588
- mintEvent?: {
589
- __typename: "MintOptionEvent";
590
- transactionHash: string;
591
- } | null;
592
563
  }[]>;
593
564
  data: {
594
565
  optionId: bigint;
@@ -620,14 +591,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
620
591
  __typename: "TimelockMarket";
621
592
  address: string;
622
593
  } | null;
623
- exerciseEvents: Array<{
624
- __typename: "ExerciseOptionEvent";
625
- transactionHash: string;
626
- }>;
627
- mintEvent?: {
628
- __typename: "MintOptionEvent";
629
- transactionHash: string;
630
- } | null;
631
594
  }[];
632
595
  } | {
633
596
  error: null;
@@ -652,7 +615,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
652
615
  isRefetching: boolean;
653
616
  isStale: boolean;
654
617
  isEnabled: boolean;
655
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
618
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
656
619
  optionId: bigint;
657
620
  marketAddr: Address;
658
621
  ownerAddr: Address;
@@ -682,16 +645,8 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
682
645
  __typename: "TimelockMarket";
683
646
  address: string;
684
647
  } | null;
685
- exerciseEvents: Array<{
686
- __typename: "ExerciseOptionEvent";
687
- transactionHash: string;
688
- }>;
689
- mintEvent?: {
690
- __typename: "MintOptionEvent";
691
- transactionHash: string;
692
- } | null;
693
648
  }[], Error>>;
694
- fetchStatus: _tanstack_query_core17.FetchStatus;
649
+ fetchStatus: _tanstack_query_core0.FetchStatus;
695
650
  promise: Promise<{
696
651
  optionId: bigint;
697
652
  marketAddr: Address;
@@ -722,14 +677,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
722
677
  __typename: "TimelockMarket";
723
678
  address: string;
724
679
  } | null;
725
- exerciseEvents: Array<{
726
- __typename: "ExerciseOptionEvent";
727
- transactionHash: string;
728
- }>;
729
- mintEvent?: {
730
- __typename: "MintOptionEvent";
731
- transactionHash: string;
732
- } | null;
733
680
  }[]>;
734
681
  data: {
735
682
  optionId: bigint;
@@ -761,14 +708,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
761
708
  __typename: "TimelockMarket";
762
709
  address: string;
763
710
  } | null;
764
- exerciseEvents: Array<{
765
- __typename: "ExerciseOptionEvent";
766
- transactionHash: string;
767
- }>;
768
- mintEvent?: {
769
- __typename: "MintOptionEvent";
770
- transactionHash: string;
771
- } | null;
772
711
  }[];
773
712
  } | {
774
713
  error: null;
@@ -793,7 +732,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
793
732
  isRefetching: boolean;
794
733
  isStale: boolean;
795
734
  isEnabled: boolean;
796
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
735
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
797
736
  optionId: bigint;
798
737
  marketAddr: Address;
799
738
  ownerAddr: Address;
@@ -823,16 +762,8 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
823
762
  __typename: "TimelockMarket";
824
763
  address: string;
825
764
  } | null;
826
- exerciseEvents: Array<{
827
- __typename: "ExerciseOptionEvent";
828
- transactionHash: string;
829
- }>;
830
- mintEvent?: {
831
- __typename: "MintOptionEvent";
832
- transactionHash: string;
833
- } | null;
834
765
  }[], Error>>;
835
- fetchStatus: _tanstack_query_core17.FetchStatus;
766
+ fetchStatus: _tanstack_query_core0.FetchStatus;
836
767
  promise: Promise<{
837
768
  optionId: bigint;
838
769
  marketAddr: Address;
@@ -863,14 +794,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
863
794
  __typename: "TimelockMarket";
864
795
  address: string;
865
796
  } | null;
866
- exerciseEvents: Array<{
867
- __typename: "ExerciseOptionEvent";
868
- transactionHash: string;
869
- }>;
870
- mintEvent?: {
871
- __typename: "MintOptionEvent";
872
- transactionHash: string;
873
- } | null;
874
797
  }[]>;
875
798
  data: {
876
799
  optionId: bigint;
@@ -902,14 +825,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
902
825
  __typename: "TimelockMarket";
903
826
  address: string;
904
827
  } | null;
905
- exerciseEvents: Array<{
906
- __typename: "ExerciseOptionEvent";
907
- transactionHash: string;
908
- }>;
909
- mintEvent?: {
910
- __typename: "MintOptionEvent";
911
- transactionHash: string;
912
- } | null;
913
828
  }[];
914
829
  } | {
915
830
  isError: false;
@@ -934,7 +849,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
934
849
  isRefetching: boolean;
935
850
  isStale: boolean;
936
851
  isEnabled: boolean;
937
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
852
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
938
853
  optionId: bigint;
939
854
  marketAddr: Address;
940
855
  ownerAddr: Address;
@@ -964,16 +879,8 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
964
879
  __typename: "TimelockMarket";
965
880
  address: string;
966
881
  } | null;
967
- exerciseEvents: Array<{
968
- __typename: "ExerciseOptionEvent";
969
- transactionHash: string;
970
- }>;
971
- mintEvent?: {
972
- __typename: "MintOptionEvent";
973
- transactionHash: string;
974
- } | null;
975
882
  }[], Error>>;
976
- fetchStatus: _tanstack_query_core17.FetchStatus;
883
+ fetchStatus: _tanstack_query_core0.FetchStatus;
977
884
  promise: Promise<{
978
885
  optionId: bigint;
979
886
  marketAddr: Address;
@@ -1004,14 +911,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
1004
911
  __typename: "TimelockMarket";
1005
912
  address: string;
1006
913
  } | null;
1007
- exerciseEvents: Array<{
1008
- __typename: "ExerciseOptionEvent";
1009
- transactionHash: string;
1010
- }>;
1011
- mintEvent?: {
1012
- __typename: "MintOptionEvent";
1013
- transactionHash: string;
1014
- } | null;
1015
914
  }[]>;
1016
915
  data: {
1017
916
  optionId: bigint;
@@ -1043,14 +942,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
1043
942
  __typename: "TimelockMarket";
1044
943
  address: string;
1045
944
  } | null;
1046
- exerciseEvents: Array<{
1047
- __typename: "ExerciseOptionEvent";
1048
- transactionHash: string;
1049
- }>;
1050
- mintEvent?: {
1051
- __typename: "MintOptionEvent";
1052
- transactionHash: string;
1053
- } | null;
1054
945
  }[];
1055
946
  };
1056
947
  declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address | "*") => {
@@ -1076,7 +967,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1076
967
  isRefetching: boolean;
1077
968
  isStale: boolean;
1078
969
  isEnabled: boolean;
1079
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
970
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1080
971
  optionId: bigint;
1081
972
  marketAddr: Address;
1082
973
  ownerAddr: Address;
@@ -1106,16 +997,8 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1106
997
  __typename: "TimelockMarket";
1107
998
  address: string;
1108
999
  } | null;
1109
- exerciseEvents: Array<{
1110
- __typename: "ExerciseOptionEvent";
1111
- transactionHash: string;
1112
- }>;
1113
- mintEvent?: {
1114
- __typename: "MintOptionEvent";
1115
- transactionHash: string;
1116
- } | null;
1117
1000
  }[], Error>>;
1118
- fetchStatus: _tanstack_query_core17.FetchStatus;
1001
+ fetchStatus: _tanstack_query_core0.FetchStatus;
1119
1002
  promise: Promise<{
1120
1003
  optionId: bigint;
1121
1004
  marketAddr: Address;
@@ -1146,14 +1029,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1146
1029
  __typename: "TimelockMarket";
1147
1030
  address: string;
1148
1031
  } | null;
1149
- exerciseEvents: Array<{
1150
- __typename: "ExerciseOptionEvent";
1151
- transactionHash: string;
1152
- }>;
1153
- mintEvent?: {
1154
- __typename: "MintOptionEvent";
1155
- transactionHash: string;
1156
- } | null;
1157
1032
  }[]>;
1158
1033
  data: {
1159
1034
  optionId: bigint;
@@ -1185,14 +1060,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1185
1060
  __typename: "TimelockMarket";
1186
1061
  address: string;
1187
1062
  } | null;
1188
- exerciseEvents: Array<{
1189
- __typename: "ExerciseOptionEvent";
1190
- transactionHash: string;
1191
- }>;
1192
- mintEvent?: {
1193
- __typename: "MintOptionEvent";
1194
- transactionHash: string;
1195
- } | null;
1196
1063
  }[];
1197
1064
  } | {
1198
1065
  error: null;
@@ -1217,7 +1084,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1217
1084
  isRefetching: boolean;
1218
1085
  isStale: boolean;
1219
1086
  isEnabled: boolean;
1220
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
1087
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1221
1088
  optionId: bigint;
1222
1089
  marketAddr: Address;
1223
1090
  ownerAddr: Address;
@@ -1247,16 +1114,8 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1247
1114
  __typename: "TimelockMarket";
1248
1115
  address: string;
1249
1116
  } | null;
1250
- exerciseEvents: Array<{
1251
- __typename: "ExerciseOptionEvent";
1252
- transactionHash: string;
1253
- }>;
1254
- mintEvent?: {
1255
- __typename: "MintOptionEvent";
1256
- transactionHash: string;
1257
- } | null;
1258
1117
  }[], Error>>;
1259
- fetchStatus: _tanstack_query_core17.FetchStatus;
1118
+ fetchStatus: _tanstack_query_core0.FetchStatus;
1260
1119
  promise: Promise<{
1261
1120
  optionId: bigint;
1262
1121
  marketAddr: Address;
@@ -1287,14 +1146,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1287
1146
  __typename: "TimelockMarket";
1288
1147
  address: string;
1289
1148
  } | null;
1290
- exerciseEvents: Array<{
1291
- __typename: "ExerciseOptionEvent";
1292
- transactionHash: string;
1293
- }>;
1294
- mintEvent?: {
1295
- __typename: "MintOptionEvent";
1296
- transactionHash: string;
1297
- } | null;
1298
1149
  }[]>;
1299
1150
  data: {
1300
1151
  optionId: bigint;
@@ -1326,14 +1177,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1326
1177
  __typename: "TimelockMarket";
1327
1178
  address: string;
1328
1179
  } | null;
1329
- exerciseEvents: Array<{
1330
- __typename: "ExerciseOptionEvent";
1331
- transactionHash: string;
1332
- }>;
1333
- mintEvent?: {
1334
- __typename: "MintOptionEvent";
1335
- transactionHash: string;
1336
- } | null;
1337
1180
  }[];
1338
1181
  } | {
1339
1182
  error: Error;
@@ -1358,7 +1201,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1358
1201
  isRefetching: boolean;
1359
1202
  isStale: boolean;
1360
1203
  isEnabled: boolean;
1361
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
1204
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1362
1205
  optionId: bigint;
1363
1206
  marketAddr: Address;
1364
1207
  ownerAddr: Address;
@@ -1388,16 +1231,8 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1388
1231
  __typename: "TimelockMarket";
1389
1232
  address: string;
1390
1233
  } | null;
1391
- exerciseEvents: Array<{
1392
- __typename: "ExerciseOptionEvent";
1393
- transactionHash: string;
1394
- }>;
1395
- mintEvent?: {
1396
- __typename: "MintOptionEvent";
1397
- transactionHash: string;
1398
- } | null;
1399
1234
  }[], Error>>;
1400
- fetchStatus: _tanstack_query_core17.FetchStatus;
1235
+ fetchStatus: _tanstack_query_core0.FetchStatus;
1401
1236
  promise: Promise<{
1402
1237
  optionId: bigint;
1403
1238
  marketAddr: Address;
@@ -1428,14 +1263,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1428
1263
  __typename: "TimelockMarket";
1429
1264
  address: string;
1430
1265
  } | null;
1431
- exerciseEvents: Array<{
1432
- __typename: "ExerciseOptionEvent";
1433
- transactionHash: string;
1434
- }>;
1435
- mintEvent?: {
1436
- __typename: "MintOptionEvent";
1437
- transactionHash: string;
1438
- } | null;
1439
1266
  }[]>;
1440
1267
  data: {
1441
1268
  optionId: bigint;
@@ -1467,14 +1294,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1467
1294
  __typename: "TimelockMarket";
1468
1295
  address: string;
1469
1296
  } | null;
1470
- exerciseEvents: Array<{
1471
- __typename: "ExerciseOptionEvent";
1472
- transactionHash: string;
1473
- }>;
1474
- mintEvent?: {
1475
- __typename: "MintOptionEvent";
1476
- transactionHash: string;
1477
- } | null;
1478
1297
  }[];
1479
1298
  } | {
1480
1299
  error: null;
@@ -1499,7 +1318,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1499
1318
  isRefetching: boolean;
1500
1319
  isStale: boolean;
1501
1320
  isEnabled: boolean;
1502
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
1321
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1503
1322
  optionId: bigint;
1504
1323
  marketAddr: Address;
1505
1324
  ownerAddr: Address;
@@ -1529,16 +1348,8 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1529
1348
  __typename: "TimelockMarket";
1530
1349
  address: string;
1531
1350
  } | null;
1532
- exerciseEvents: Array<{
1533
- __typename: "ExerciseOptionEvent";
1534
- transactionHash: string;
1535
- }>;
1536
- mintEvent?: {
1537
- __typename: "MintOptionEvent";
1538
- transactionHash: string;
1539
- } | null;
1540
1351
  }[], Error>>;
1541
- fetchStatus: _tanstack_query_core17.FetchStatus;
1352
+ fetchStatus: _tanstack_query_core0.FetchStatus;
1542
1353
  promise: Promise<{
1543
1354
  optionId: bigint;
1544
1355
  marketAddr: Address;
@@ -1569,14 +1380,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1569
1380
  __typename: "TimelockMarket";
1570
1381
  address: string;
1571
1382
  } | null;
1572
- exerciseEvents: Array<{
1573
- __typename: "ExerciseOptionEvent";
1574
- transactionHash: string;
1575
- }>;
1576
- mintEvent?: {
1577
- __typename: "MintOptionEvent";
1578
- transactionHash: string;
1579
- } | null;
1580
1383
  }[]>;
1581
1384
  data: {
1582
1385
  optionId: bigint;
@@ -1608,14 +1411,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1608
1411
  __typename: "TimelockMarket";
1609
1412
  address: string;
1610
1413
  } | null;
1611
- exerciseEvents: Array<{
1612
- __typename: "ExerciseOptionEvent";
1613
- transactionHash: string;
1614
- }>;
1615
- mintEvent?: {
1616
- __typename: "MintOptionEvent";
1617
- transactionHash: string;
1618
- } | null;
1619
1414
  }[];
1620
1415
  } | {
1621
1416
  error: null;
@@ -1640,7 +1435,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1640
1435
  isRefetching: boolean;
1641
1436
  isStale: boolean;
1642
1437
  isEnabled: boolean;
1643
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
1438
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1644
1439
  optionId: bigint;
1645
1440
  marketAddr: Address;
1646
1441
  ownerAddr: Address;
@@ -1670,16 +1465,8 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1670
1465
  __typename: "TimelockMarket";
1671
1466
  address: string;
1672
1467
  } | null;
1673
- exerciseEvents: Array<{
1674
- __typename: "ExerciseOptionEvent";
1675
- transactionHash: string;
1676
- }>;
1677
- mintEvent?: {
1678
- __typename: "MintOptionEvent";
1679
- transactionHash: string;
1680
- } | null;
1681
1468
  }[], Error>>;
1682
- fetchStatus: _tanstack_query_core17.FetchStatus;
1469
+ fetchStatus: _tanstack_query_core0.FetchStatus;
1683
1470
  promise: Promise<{
1684
1471
  optionId: bigint;
1685
1472
  marketAddr: Address;
@@ -1710,14 +1497,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1710
1497
  __typename: "TimelockMarket";
1711
1498
  address: string;
1712
1499
  } | null;
1713
- exerciseEvents: Array<{
1714
- __typename: "ExerciseOptionEvent";
1715
- transactionHash: string;
1716
- }>;
1717
- mintEvent?: {
1718
- __typename: "MintOptionEvent";
1719
- transactionHash: string;
1720
- } | null;
1721
1500
  }[]>;
1722
1501
  data: {
1723
1502
  optionId: bigint;
@@ -1749,14 +1528,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1749
1528
  __typename: "TimelockMarket";
1750
1529
  address: string;
1751
1530
  } | null;
1752
- exerciseEvents: Array<{
1753
- __typename: "ExerciseOptionEvent";
1754
- transactionHash: string;
1755
- }>;
1756
- mintEvent?: {
1757
- __typename: "MintOptionEvent";
1758
- transactionHash: string;
1759
- } | null;
1760
1531
  }[];
1761
1532
  } | {
1762
1533
  isError: false;
@@ -1781,7 +1552,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1781
1552
  isRefetching: boolean;
1782
1553
  isStale: boolean;
1783
1554
  isEnabled: boolean;
1784
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
1555
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1785
1556
  optionId: bigint;
1786
1557
  marketAddr: Address;
1787
1558
  ownerAddr: Address;
@@ -1811,16 +1582,8 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1811
1582
  __typename: "TimelockMarket";
1812
1583
  address: string;
1813
1584
  } | null;
1814
- exerciseEvents: Array<{
1815
- __typename: "ExerciseOptionEvent";
1816
- transactionHash: string;
1817
- }>;
1818
- mintEvent?: {
1819
- __typename: "MintOptionEvent";
1820
- transactionHash: string;
1821
- } | null;
1822
1585
  }[], Error>>;
1823
- fetchStatus: _tanstack_query_core17.FetchStatus;
1586
+ fetchStatus: _tanstack_query_core0.FetchStatus;
1824
1587
  promise: Promise<{
1825
1588
  optionId: bigint;
1826
1589
  marketAddr: Address;
@@ -1851,14 +1614,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1851
1614
  __typename: "TimelockMarket";
1852
1615
  address: string;
1853
1616
  } | null;
1854
- exerciseEvents: Array<{
1855
- __typename: "ExerciseOptionEvent";
1856
- transactionHash: string;
1857
- }>;
1858
- mintEvent?: {
1859
- __typename: "MintOptionEvent";
1860
- transactionHash: string;
1861
- } | null;
1862
1617
  }[]>;
1863
1618
  data: {
1864
1619
  optionId: bigint;
@@ -1890,14 +1645,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1890
1645
  __typename: "TimelockMarket";
1891
1646
  address: string;
1892
1647
  } | null;
1893
- exerciseEvents: Array<{
1894
- __typename: "ExerciseOptionEvent";
1895
- transactionHash: string;
1896
- }>;
1897
- mintEvent?: {
1898
- __typename: "MintOptionEvent";
1899
- transactionHash: string;
1900
- } | null;
1901
1648
  }[];
1902
1649
  };
1903
1650
  declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address | "*") => {
@@ -1923,7 +1670,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
1923
1670
  isRefetching: boolean;
1924
1671
  isStale: boolean;
1925
1672
  isEnabled: boolean;
1926
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
1673
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1927
1674
  optionId: bigint;
1928
1675
  marketAddr: Address;
1929
1676
  ownerAddr: Address;
@@ -1953,16 +1700,8 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
1953
1700
  __typename: "TimelockMarket";
1954
1701
  address: string;
1955
1702
  } | null;
1956
- exerciseEvents: Array<{
1957
- __typename: "ExerciseOptionEvent";
1958
- transactionHash: string;
1959
- }>;
1960
- mintEvent?: {
1961
- __typename: "MintOptionEvent";
1962
- transactionHash: string;
1963
- } | null;
1964
1703
  }[], Error>>;
1965
- fetchStatus: _tanstack_query_core17.FetchStatus;
1704
+ fetchStatus: _tanstack_query_core0.FetchStatus;
1966
1705
  promise: Promise<{
1967
1706
  optionId: bigint;
1968
1707
  marketAddr: Address;
@@ -1993,14 +1732,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
1993
1732
  __typename: "TimelockMarket";
1994
1733
  address: string;
1995
1734
  } | null;
1996
- exerciseEvents: Array<{
1997
- __typename: "ExerciseOptionEvent";
1998
- transactionHash: string;
1999
- }>;
2000
- mintEvent?: {
2001
- __typename: "MintOptionEvent";
2002
- transactionHash: string;
2003
- } | null;
2004
1735
  }[]>;
2005
1736
  data: {
2006
1737
  optionId: bigint;
@@ -2032,14 +1763,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2032
1763
  __typename: "TimelockMarket";
2033
1764
  address: string;
2034
1765
  } | null;
2035
- exerciseEvents: Array<{
2036
- __typename: "ExerciseOptionEvent";
2037
- transactionHash: string;
2038
- }>;
2039
- mintEvent?: {
2040
- __typename: "MintOptionEvent";
2041
- transactionHash: string;
2042
- } | null;
2043
1766
  }[];
2044
1767
  } | {
2045
1768
  error: null;
@@ -2064,7 +1787,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2064
1787
  isRefetching: boolean;
2065
1788
  isStale: boolean;
2066
1789
  isEnabled: boolean;
2067
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
1790
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
2068
1791
  optionId: bigint;
2069
1792
  marketAddr: Address;
2070
1793
  ownerAddr: Address;
@@ -2094,16 +1817,8 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2094
1817
  __typename: "TimelockMarket";
2095
1818
  address: string;
2096
1819
  } | null;
2097
- exerciseEvents: Array<{
2098
- __typename: "ExerciseOptionEvent";
2099
- transactionHash: string;
2100
- }>;
2101
- mintEvent?: {
2102
- __typename: "MintOptionEvent";
2103
- transactionHash: string;
2104
- } | null;
2105
1820
  }[], Error>>;
2106
- fetchStatus: _tanstack_query_core17.FetchStatus;
1821
+ fetchStatus: _tanstack_query_core0.FetchStatus;
2107
1822
  promise: Promise<{
2108
1823
  optionId: bigint;
2109
1824
  marketAddr: Address;
@@ -2134,14 +1849,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2134
1849
  __typename: "TimelockMarket";
2135
1850
  address: string;
2136
1851
  } | null;
2137
- exerciseEvents: Array<{
2138
- __typename: "ExerciseOptionEvent";
2139
- transactionHash: string;
2140
- }>;
2141
- mintEvent?: {
2142
- __typename: "MintOptionEvent";
2143
- transactionHash: string;
2144
- } | null;
2145
1852
  }[]>;
2146
1853
  data: {
2147
1854
  optionId: bigint;
@@ -2173,14 +1880,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2173
1880
  __typename: "TimelockMarket";
2174
1881
  address: string;
2175
1882
  } | null;
2176
- exerciseEvents: Array<{
2177
- __typename: "ExerciseOptionEvent";
2178
- transactionHash: string;
2179
- }>;
2180
- mintEvent?: {
2181
- __typename: "MintOptionEvent";
2182
- transactionHash: string;
2183
- } | null;
2184
1883
  }[];
2185
1884
  } | {
2186
1885
  error: Error;
@@ -2205,7 +1904,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2205
1904
  isRefetching: boolean;
2206
1905
  isStale: boolean;
2207
1906
  isEnabled: boolean;
2208
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
1907
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
2209
1908
  optionId: bigint;
2210
1909
  marketAddr: Address;
2211
1910
  ownerAddr: Address;
@@ -2235,16 +1934,8 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2235
1934
  __typename: "TimelockMarket";
2236
1935
  address: string;
2237
1936
  } | null;
2238
- exerciseEvents: Array<{
2239
- __typename: "ExerciseOptionEvent";
2240
- transactionHash: string;
2241
- }>;
2242
- mintEvent?: {
2243
- __typename: "MintOptionEvent";
2244
- transactionHash: string;
2245
- } | null;
2246
1937
  }[], Error>>;
2247
- fetchStatus: _tanstack_query_core17.FetchStatus;
1938
+ fetchStatus: _tanstack_query_core0.FetchStatus;
2248
1939
  promise: Promise<{
2249
1940
  optionId: bigint;
2250
1941
  marketAddr: Address;
@@ -2275,14 +1966,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2275
1966
  __typename: "TimelockMarket";
2276
1967
  address: string;
2277
1968
  } | null;
2278
- exerciseEvents: Array<{
2279
- __typename: "ExerciseOptionEvent";
2280
- transactionHash: string;
2281
- }>;
2282
- mintEvent?: {
2283
- __typename: "MintOptionEvent";
2284
- transactionHash: string;
2285
- } | null;
2286
1969
  }[]>;
2287
1970
  data: {
2288
1971
  optionId: bigint;
@@ -2314,14 +1997,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2314
1997
  __typename: "TimelockMarket";
2315
1998
  address: string;
2316
1999
  } | null;
2317
- exerciseEvents: Array<{
2318
- __typename: "ExerciseOptionEvent";
2319
- transactionHash: string;
2320
- }>;
2321
- mintEvent?: {
2322
- __typename: "MintOptionEvent";
2323
- transactionHash: string;
2324
- } | null;
2325
2000
  }[];
2326
2001
  } | {
2327
2002
  error: null;
@@ -2346,7 +2021,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2346
2021
  isRefetching: boolean;
2347
2022
  isStale: boolean;
2348
2023
  isEnabled: boolean;
2349
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
2024
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
2350
2025
  optionId: bigint;
2351
2026
  marketAddr: Address;
2352
2027
  ownerAddr: Address;
@@ -2376,16 +2051,8 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2376
2051
  __typename: "TimelockMarket";
2377
2052
  address: string;
2378
2053
  } | null;
2379
- exerciseEvents: Array<{
2380
- __typename: "ExerciseOptionEvent";
2381
- transactionHash: string;
2382
- }>;
2383
- mintEvent?: {
2384
- __typename: "MintOptionEvent";
2385
- transactionHash: string;
2386
- } | null;
2387
2054
  }[], Error>>;
2388
- fetchStatus: _tanstack_query_core17.FetchStatus;
2055
+ fetchStatus: _tanstack_query_core0.FetchStatus;
2389
2056
  promise: Promise<{
2390
2057
  optionId: bigint;
2391
2058
  marketAddr: Address;
@@ -2416,14 +2083,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2416
2083
  __typename: "TimelockMarket";
2417
2084
  address: string;
2418
2085
  } | null;
2419
- exerciseEvents: Array<{
2420
- __typename: "ExerciseOptionEvent";
2421
- transactionHash: string;
2422
- }>;
2423
- mintEvent?: {
2424
- __typename: "MintOptionEvent";
2425
- transactionHash: string;
2426
- } | null;
2427
2086
  }[]>;
2428
2087
  data: {
2429
2088
  optionId: bigint;
@@ -2455,14 +2114,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2455
2114
  __typename: "TimelockMarket";
2456
2115
  address: string;
2457
2116
  } | null;
2458
- exerciseEvents: Array<{
2459
- __typename: "ExerciseOptionEvent";
2460
- transactionHash: string;
2461
- }>;
2462
- mintEvent?: {
2463
- __typename: "MintOptionEvent";
2464
- transactionHash: string;
2465
- } | null;
2466
2117
  }[];
2467
2118
  } | {
2468
2119
  error: null;
@@ -2487,7 +2138,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2487
2138
  isRefetching: boolean;
2488
2139
  isStale: boolean;
2489
2140
  isEnabled: boolean;
2490
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
2141
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
2491
2142
  optionId: bigint;
2492
2143
  marketAddr: Address;
2493
2144
  ownerAddr: Address;
@@ -2517,16 +2168,8 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2517
2168
  __typename: "TimelockMarket";
2518
2169
  address: string;
2519
2170
  } | null;
2520
- exerciseEvents: Array<{
2521
- __typename: "ExerciseOptionEvent";
2522
- transactionHash: string;
2523
- }>;
2524
- mintEvent?: {
2525
- __typename: "MintOptionEvent";
2526
- transactionHash: string;
2527
- } | null;
2528
2171
  }[], Error>>;
2529
- fetchStatus: _tanstack_query_core17.FetchStatus;
2172
+ fetchStatus: _tanstack_query_core0.FetchStatus;
2530
2173
  promise: Promise<{
2531
2174
  optionId: bigint;
2532
2175
  marketAddr: Address;
@@ -2557,14 +2200,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2557
2200
  __typename: "TimelockMarket";
2558
2201
  address: string;
2559
2202
  } | null;
2560
- exerciseEvents: Array<{
2561
- __typename: "ExerciseOptionEvent";
2562
- transactionHash: string;
2563
- }>;
2564
- mintEvent?: {
2565
- __typename: "MintOptionEvent";
2566
- transactionHash: string;
2567
- } | null;
2568
2203
  }[]>;
2569
2204
  data: {
2570
2205
  optionId: bigint;
@@ -2596,14 +2231,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2596
2231
  __typename: "TimelockMarket";
2597
2232
  address: string;
2598
2233
  } | null;
2599
- exerciseEvents: Array<{
2600
- __typename: "ExerciseOptionEvent";
2601
- transactionHash: string;
2602
- }>;
2603
- mintEvent?: {
2604
- __typename: "MintOptionEvent";
2605
- transactionHash: string;
2606
- } | null;
2607
2234
  }[];
2608
2235
  } | {
2609
2236
  isError: false;
@@ -2628,7 +2255,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2628
2255
  isRefetching: boolean;
2629
2256
  isStale: boolean;
2630
2257
  isEnabled: boolean;
2631
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
2258
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
2632
2259
  optionId: bigint;
2633
2260
  marketAddr: Address;
2634
2261
  ownerAddr: Address;
@@ -2658,16 +2285,8 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2658
2285
  __typename: "TimelockMarket";
2659
2286
  address: string;
2660
2287
  } | null;
2661
- exerciseEvents: Array<{
2662
- __typename: "ExerciseOptionEvent";
2663
- transactionHash: string;
2664
- }>;
2665
- mintEvent?: {
2666
- __typename: "MintOptionEvent";
2667
- transactionHash: string;
2668
- } | null;
2669
2288
  }[], Error>>;
2670
- fetchStatus: _tanstack_query_core17.FetchStatus;
2289
+ fetchStatus: _tanstack_query_core0.FetchStatus;
2671
2290
  promise: Promise<{
2672
2291
  optionId: bigint;
2673
2292
  marketAddr: Address;
@@ -2698,14 +2317,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2698
2317
  __typename: "TimelockMarket";
2699
2318
  address: string;
2700
2319
  } | null;
2701
- exerciseEvents: Array<{
2702
- __typename: "ExerciseOptionEvent";
2703
- transactionHash: string;
2704
- }>;
2705
- mintEvent?: {
2706
- __typename: "MintOptionEvent";
2707
- transactionHash: string;
2708
- } | null;
2709
2320
  }[]>;
2710
2321
  data: {
2711
2322
  optionId: bigint;
@@ -2737,14 +2348,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2737
2348
  __typename: "TimelockMarket";
2738
2349
  address: string;
2739
2350
  } | null;
2740
- exerciseEvents: Array<{
2741
- __typename: "ExerciseOptionEvent";
2742
- transactionHash: string;
2743
- }>;
2744
- mintEvent?: {
2745
- __typename: "MintOptionEvent";
2746
- transactionHash: string;
2747
- } | null;
2748
2351
  }[];
2749
2352
  };
2750
2353
  //#endregion
@@ -2851,7 +2454,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
2851
2454
  isRefetching: boolean;
2852
2455
  isStale: boolean;
2853
2456
  isEnabled: boolean;
2854
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
2457
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
2855
2458
  spendingApproval: bigint;
2856
2459
  operatorAddr: string;
2857
2460
  __typename: "UserMarketOperator";
@@ -2865,7 +2468,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
2865
2468
  address: string;
2866
2469
  } | null;
2867
2470
  }[] | undefined, Error>>;
2868
- fetchStatus: _tanstack_query_core17.FetchStatus;
2471
+ fetchStatus: _tanstack_query_core0.FetchStatus;
2869
2472
  promise: Promise<{
2870
2473
  spendingApproval: bigint;
2871
2474
  operatorAddr: string;
@@ -2917,7 +2520,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
2917
2520
  isRefetching: boolean;
2918
2521
  isStale: boolean;
2919
2522
  isEnabled: boolean;
2920
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
2523
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
2921
2524
  spendingApproval: bigint;
2922
2525
  operatorAddr: string;
2923
2526
  __typename: "UserMarketOperator";
@@ -2931,7 +2534,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
2931
2534
  address: string;
2932
2535
  } | null;
2933
2536
  }[] | undefined, Error>>;
2934
- fetchStatus: _tanstack_query_core17.FetchStatus;
2537
+ fetchStatus: _tanstack_query_core0.FetchStatus;
2935
2538
  promise: Promise<{
2936
2539
  spendingApproval: bigint;
2937
2540
  operatorAddr: string;
@@ -2983,7 +2586,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
2983
2586
  isRefetching: boolean;
2984
2587
  isStale: boolean;
2985
2588
  isEnabled: boolean;
2986
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
2589
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
2987
2590
  spendingApproval: bigint;
2988
2591
  operatorAddr: string;
2989
2592
  __typename: "UserMarketOperator";
@@ -2997,7 +2600,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
2997
2600
  address: string;
2998
2601
  } | null;
2999
2602
  }[] | undefined, Error>>;
3000
- fetchStatus: _tanstack_query_core17.FetchStatus;
2603
+ fetchStatus: _tanstack_query_core0.FetchStatus;
3001
2604
  promise: Promise<{
3002
2605
  spendingApproval: bigint;
3003
2606
  operatorAddr: string;
@@ -3049,7 +2652,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
3049
2652
  isRefetching: boolean;
3050
2653
  isStale: boolean;
3051
2654
  isEnabled: boolean;
3052
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
2655
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
3053
2656
  spendingApproval: bigint;
3054
2657
  operatorAddr: string;
3055
2658
  __typename: "UserMarketOperator";
@@ -3063,7 +2666,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
3063
2666
  address: string;
3064
2667
  } | null;
3065
2668
  }[] | undefined, Error>>;
3066
- fetchStatus: _tanstack_query_core17.FetchStatus;
2669
+ fetchStatus: _tanstack_query_core0.FetchStatus;
3067
2670
  promise: Promise<{
3068
2671
  spendingApproval: bigint;
3069
2672
  operatorAddr: string;
@@ -3115,7 +2718,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
3115
2718
  isRefetching: boolean;
3116
2719
  isStale: boolean;
3117
2720
  isEnabled: boolean;
3118
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
2721
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
3119
2722
  spendingApproval: bigint;
3120
2723
  operatorAddr: string;
3121
2724
  __typename: "UserMarketOperator";
@@ -3129,7 +2732,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
3129
2732
  address: string;
3130
2733
  } | null;
3131
2734
  }[] | undefined, Error>>;
3132
- fetchStatus: _tanstack_query_core17.FetchStatus;
2735
+ fetchStatus: _tanstack_query_core0.FetchStatus;
3133
2736
  promise: Promise<{
3134
2737
  spendingApproval: bigint;
3135
2738
  operatorAddr: string;
@@ -3181,7 +2784,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
3181
2784
  isRefetching: boolean;
3182
2785
  isStale: boolean;
3183
2786
  isEnabled: boolean;
3184
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
2787
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
3185
2788
  spendingApproval: bigint;
3186
2789
  operatorAddr: string;
3187
2790
  __typename: "UserMarketOperator";
@@ -3195,7 +2798,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
3195
2798
  address: string;
3196
2799
  } | null;
3197
2800
  }[] | undefined, Error>>;
3198
- fetchStatus: _tanstack_query_core17.FetchStatus;
2801
+ fetchStatus: _tanstack_query_core0.FetchStatus;
3199
2802
  promise: Promise<{
3200
2803
  spendingApproval: bigint;
3201
2804
  operatorAddr: string;
@@ -3308,7 +2911,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3308
2911
  isRefetching: boolean;
3309
2912
  isStale: boolean;
3310
2913
  isEnabled: boolean;
3311
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
2914
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
3312
2915
  tickLower: number;
3313
2916
  tickUpper: number;
3314
2917
  prevTickLower: number;
@@ -3319,7 +2922,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3319
2922
  borrowedAmount0: bigint;
3320
2923
  borrowedAmount1: bigint;
3321
2924
  }[], viem249.ReadContractErrorType>>;
3322
- fetchStatus: _tanstack_query_core17.FetchStatus;
2925
+ fetchStatus: _tanstack_query_core0.FetchStatus;
3323
2926
  promise: Promise<readonly {
3324
2927
  tickLower: number;
3325
2928
  tickUpper: number;
@@ -3331,7 +2934,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3331
2934
  borrowedAmount0: bigint;
3332
2935
  borrowedAmount1: bigint;
3333
2936
  }[]>;
3334
- queryKey: _tanstack_query_core17.QueryKey;
2937
+ queryKey: _tanstack_query_core0.QueryKey;
3335
2938
  data: readonly {
3336
2939
  tickLower: number;
3337
2940
  tickUpper: number;
@@ -3366,7 +2969,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3366
2969
  isRefetching: boolean;
3367
2970
  isStale: boolean;
3368
2971
  isEnabled: boolean;
3369
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
2972
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
3370
2973
  tickLower: number;
3371
2974
  tickUpper: number;
3372
2975
  prevTickLower: number;
@@ -3377,7 +2980,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3377
2980
  borrowedAmount0: bigint;
3378
2981
  borrowedAmount1: bigint;
3379
2982
  }[], viem249.ReadContractErrorType>>;
3380
- fetchStatus: _tanstack_query_core17.FetchStatus;
2983
+ fetchStatus: _tanstack_query_core0.FetchStatus;
3381
2984
  promise: Promise<readonly {
3382
2985
  tickLower: number;
3383
2986
  tickUpper: number;
@@ -3389,7 +2992,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3389
2992
  borrowedAmount0: bigint;
3390
2993
  borrowedAmount1: bigint;
3391
2994
  }[]>;
3392
- queryKey: _tanstack_query_core17.QueryKey;
2995
+ queryKey: _tanstack_query_core0.QueryKey;
3393
2996
  data: readonly {
3394
2997
  tickLower: number;
3395
2998
  tickUpper: number;
@@ -3424,7 +3027,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3424
3027
  isRefetching: boolean;
3425
3028
  isStale: boolean;
3426
3029
  isEnabled: boolean;
3427
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
3030
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
3428
3031
  tickLower: number;
3429
3032
  tickUpper: number;
3430
3033
  prevTickLower: number;
@@ -3435,7 +3038,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3435
3038
  borrowedAmount0: bigint;
3436
3039
  borrowedAmount1: bigint;
3437
3040
  }[], viem249.ReadContractErrorType>>;
3438
- fetchStatus: _tanstack_query_core17.FetchStatus;
3041
+ fetchStatus: _tanstack_query_core0.FetchStatus;
3439
3042
  promise: Promise<readonly {
3440
3043
  tickLower: number;
3441
3044
  tickUpper: number;
@@ -3447,7 +3050,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3447
3050
  borrowedAmount0: bigint;
3448
3051
  borrowedAmount1: bigint;
3449
3052
  }[]>;
3450
- queryKey: _tanstack_query_core17.QueryKey;
3053
+ queryKey: _tanstack_query_core0.QueryKey;
3451
3054
  data: readonly {
3452
3055
  tickLower: number;
3453
3056
  tickUpper: number;
@@ -3482,7 +3085,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3482
3085
  isRefetching: boolean;
3483
3086
  isStale: boolean;
3484
3087
  isEnabled: boolean;
3485
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
3088
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
3486
3089
  tickLower: number;
3487
3090
  tickUpper: number;
3488
3091
  prevTickLower: number;
@@ -3493,7 +3096,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3493
3096
  borrowedAmount0: bigint;
3494
3097
  borrowedAmount1: bigint;
3495
3098
  }[], viem249.ReadContractErrorType>>;
3496
- fetchStatus: _tanstack_query_core17.FetchStatus;
3099
+ fetchStatus: _tanstack_query_core0.FetchStatus;
3497
3100
  promise: Promise<readonly {
3498
3101
  tickLower: number;
3499
3102
  tickUpper: number;
@@ -3505,7 +3108,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3505
3108
  borrowedAmount0: bigint;
3506
3109
  borrowedAmount1: bigint;
3507
3110
  }[]>;
3508
- queryKey: _tanstack_query_core17.QueryKey;
3111
+ queryKey: _tanstack_query_core0.QueryKey;
3509
3112
  data: readonly {
3510
3113
  tickLower: number;
3511
3114
  tickUpper: number;
@@ -3540,7 +3143,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3540
3143
  isRefetching: boolean;
3541
3144
  isStale: boolean;
3542
3145
  isEnabled: boolean;
3543
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
3146
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
3544
3147
  tickLower: number;
3545
3148
  tickUpper: number;
3546
3149
  prevTickLower: number;
@@ -3551,7 +3154,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3551
3154
  borrowedAmount0: bigint;
3552
3155
  borrowedAmount1: bigint;
3553
3156
  }[], viem249.ReadContractErrorType>>;
3554
- fetchStatus: _tanstack_query_core17.FetchStatus;
3157
+ fetchStatus: _tanstack_query_core0.FetchStatus;
3555
3158
  promise: Promise<readonly {
3556
3159
  tickLower: number;
3557
3160
  tickUpper: number;
@@ -3563,7 +3166,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3563
3166
  borrowedAmount0: bigint;
3564
3167
  borrowedAmount1: bigint;
3565
3168
  }[]>;
3566
- queryKey: _tanstack_query_core17.QueryKey;
3169
+ queryKey: _tanstack_query_core0.QueryKey;
3567
3170
  data: readonly {
3568
3171
  tickLower: number;
3569
3172
  tickUpper: number;
@@ -3598,7 +3201,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3598
3201
  isRefetching: boolean;
3599
3202
  isStale: boolean;
3600
3203
  isEnabled: boolean;
3601
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
3204
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
3602
3205
  tickLower: number;
3603
3206
  tickUpper: number;
3604
3207
  prevTickLower: number;
@@ -3609,7 +3212,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3609
3212
  borrowedAmount0: bigint;
3610
3213
  borrowedAmount1: bigint;
3611
3214
  }[], viem249.ReadContractErrorType>>;
3612
- fetchStatus: _tanstack_query_core17.FetchStatus;
3215
+ fetchStatus: _tanstack_query_core0.FetchStatus;
3613
3216
  promise: Promise<readonly {
3614
3217
  tickLower: number;
3615
3218
  tickUpper: number;
@@ -3621,7 +3224,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3621
3224
  borrowedAmount0: bigint;
3622
3225
  borrowedAmount1: bigint;
3623
3226
  }[]>;
3624
- queryKey: _tanstack_query_core17.QueryKey;
3227
+ queryKey: _tanstack_query_core0.QueryKey;
3625
3228
  data: readonly {
3626
3229
  tickLower: number;
3627
3230
  tickUpper: number;
@@ -3681,7 +3284,7 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
3681
3284
  borrowedAmount0: Amount;
3682
3285
  borrowedAmount1: Amount;
3683
3286
  blocksCount: bigint;
3684
- refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem249.ReadContractErrorType>>;
3287
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem249.ReadContractErrorType>>;
3685
3288
  };
3686
3289
  //#endregion
3687
3290
  //#region src/hooks/useLens.d.ts