timelock-sdk 0.0.76 → 0.0.78

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.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  import "./uniswapMathLens-C54iWXpi.js";
2
2
  import { A as UniswapMathLens, k as TimelockMarketData, p as Amount } from "./index-CdkTrz02.js";
3
- import * as viem249 from "viem";
3
+ import * as viem367 from "viem";
4
4
  import { Address } from "viem";
5
5
  import React, { ReactNode } from "react";
6
6
  import { GraphQLClient, RequestOptions } from "graphql-request";
7
7
  import * as _tanstack_react_query0 from "@tanstack/react-query";
8
8
  import { NonUndefinedGuard } from "@tanstack/react-query";
9
9
  import "graphql";
10
- import * as _tanstack_query_core0 from "@tanstack/query-core";
10
+ import * as _tanstack_query_core17 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_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
267
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.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_core0.FetchStatus;
298
+ fetchStatus: _tanstack_query_core17.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_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
384
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.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_core0.FetchStatus;
415
+ fetchStatus: _tanstack_query_core17.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_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
501
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.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_core0.FetchStatus;
532
+ fetchStatus: _tanstack_query_core17.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_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
618
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.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_core0.FetchStatus;
649
+ fetchStatus: _tanstack_query_core17.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_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
735
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.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_core0.FetchStatus;
766
+ fetchStatus: _tanstack_query_core17.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_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
852
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.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_core0.FetchStatus;
883
+ fetchStatus: _tanstack_query_core17.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_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
970
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.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_core0.FetchStatus;
1001
+ fetchStatus: _tanstack_query_core17.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_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1087
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.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_core0.FetchStatus;
1118
+ fetchStatus: _tanstack_query_core17.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_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1204
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.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_core0.FetchStatus;
1235
+ fetchStatus: _tanstack_query_core17.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_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1321
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.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_core0.FetchStatus;
1352
+ fetchStatus: _tanstack_query_core17.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_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1438
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.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_core0.FetchStatus;
1469
+ fetchStatus: _tanstack_query_core17.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_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1555
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.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_core0.FetchStatus;
1586
+ fetchStatus: _tanstack_query_core17.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_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1673
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.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_core0.FetchStatus;
1704
+ fetchStatus: _tanstack_query_core17.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_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1790
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.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_core0.FetchStatus;
1821
+ fetchStatus: _tanstack_query_core17.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_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1907
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.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_core0.FetchStatus;
1938
+ fetchStatus: _tanstack_query_core17.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_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
2024
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.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_core0.FetchStatus;
2055
+ fetchStatus: _tanstack_query_core17.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_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
2141
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.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_core0.FetchStatus;
2172
+ fetchStatus: _tanstack_query_core17.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_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
2258
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.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_core0.FetchStatus;
2289
+ fetchStatus: _tanstack_query_core17.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_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
2457
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.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_core0.FetchStatus;
2471
+ fetchStatus: _tanstack_query_core17.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_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
2523
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.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_core0.FetchStatus;
2537
+ fetchStatus: _tanstack_query_core17.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_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
2589
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.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_core0.FetchStatus;
2603
+ fetchStatus: _tanstack_query_core17.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_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
2655
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.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_core0.FetchStatus;
2669
+ fetchStatus: _tanstack_query_core17.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_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
2721
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.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_core0.FetchStatus;
2735
+ fetchStatus: _tanstack_query_core17.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_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
2787
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.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_core0.FetchStatus;
2801
+ fetchStatus: _tanstack_query_core17.FetchStatus;
3199
2802
  promise: Promise<{
3200
2803
  spendingApproval: bigint;
3201
2804
  operatorAddr: string;
@@ -3222,6 +2825,856 @@ declare const useSetOperatorPerms: (marketAddr?: Address) => _tanstack_react_que
3222
2825
  spendingApproval: bigint;
3223
2826
  }, unknown>;
3224
2827
  //#endregion
2828
+ //#region src/hooks/market/useOptionTimeline.d.ts
2829
+ type OptionTimelineData = ReturnType<typeof useOptionTimeline>['data'];
2830
+ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
2831
+ error: Error;
2832
+ isError: true;
2833
+ isPending: false;
2834
+ isLoading: false;
2835
+ isLoadingError: false;
2836
+ isRefetchError: true;
2837
+ isSuccess: false;
2838
+ isPlaceholderData: false;
2839
+ status: "error";
2840
+ dataUpdatedAt: number;
2841
+ errorUpdatedAt: number;
2842
+ failureCount: number;
2843
+ failureReason: Error | null;
2844
+ errorUpdateCount: number;
2845
+ isFetched: boolean;
2846
+ isFetchedAfterMount: boolean;
2847
+ isFetching: boolean;
2848
+ isInitialLoading: boolean;
2849
+ isPaused: boolean;
2850
+ isRefetching: boolean;
2851
+ isStale: boolean;
2852
+ isEnabled: boolean;
2853
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
2854
+ type: "mint";
2855
+ data: {
2856
+ id: string;
2857
+ optionType: 0 | 1;
2858
+ strikeTick: number;
2859
+ currentTick: number;
2860
+ expiresAt: Date;
2861
+ premium: bigint;
2862
+ protocolFee: bigint;
2863
+ liquidities: bigint[];
2864
+ timestamp: Date;
2865
+ blockNumber: bigint;
2866
+ transactionHash: string;
2867
+ };
2868
+ } | {
2869
+ type: "exercise";
2870
+ data: {
2871
+ id: string;
2872
+ liquidities: bigint[];
2873
+ currentTick: number;
2874
+ payout: bigint;
2875
+ timestamp: Date;
2876
+ blockNumber: bigint;
2877
+ transactionHash: string;
2878
+ };
2879
+ } | {
2880
+ type: "extend";
2881
+ data: {
2882
+ id: string;
2883
+ premium: bigint;
2884
+ protocolFee: bigint;
2885
+ currentTick: number;
2886
+ addedDuration: bigint;
2887
+ timestamp: Date;
2888
+ blockNumber: bigint;
2889
+ transactionHash: string;
2890
+ };
2891
+ })[], Error>>;
2892
+ fetchStatus: _tanstack_query_core17.FetchStatus;
2893
+ promise: Promise<({
2894
+ type: "mint";
2895
+ data: {
2896
+ id: string;
2897
+ optionType: 0 | 1;
2898
+ strikeTick: number;
2899
+ currentTick: number;
2900
+ expiresAt: Date;
2901
+ premium: bigint;
2902
+ protocolFee: bigint;
2903
+ liquidities: bigint[];
2904
+ timestamp: Date;
2905
+ blockNumber: bigint;
2906
+ transactionHash: string;
2907
+ };
2908
+ } | {
2909
+ type: "exercise";
2910
+ data: {
2911
+ id: string;
2912
+ liquidities: bigint[];
2913
+ currentTick: number;
2914
+ payout: bigint;
2915
+ timestamp: Date;
2916
+ blockNumber: bigint;
2917
+ transactionHash: string;
2918
+ };
2919
+ } | {
2920
+ type: "extend";
2921
+ data: {
2922
+ id: string;
2923
+ premium: bigint;
2924
+ protocolFee: bigint;
2925
+ currentTick: number;
2926
+ addedDuration: bigint;
2927
+ timestamp: Date;
2928
+ blockNumber: bigint;
2929
+ transactionHash: string;
2930
+ };
2931
+ })[]>;
2932
+ data: ({
2933
+ type: "mint";
2934
+ data: {
2935
+ id: string;
2936
+ optionType: 0 | 1;
2937
+ strikeTick: number;
2938
+ currentTick: number;
2939
+ expiresAt: Date;
2940
+ premium: bigint;
2941
+ protocolFee: bigint;
2942
+ liquidities: bigint[];
2943
+ timestamp: Date;
2944
+ blockNumber: bigint;
2945
+ transactionHash: string;
2946
+ };
2947
+ } | {
2948
+ type: "exercise";
2949
+ data: {
2950
+ id: string;
2951
+ liquidities: bigint[];
2952
+ currentTick: number;
2953
+ payout: bigint;
2954
+ timestamp: Date;
2955
+ blockNumber: bigint;
2956
+ transactionHash: string;
2957
+ };
2958
+ } | {
2959
+ type: "extend";
2960
+ data: {
2961
+ id: string;
2962
+ premium: bigint;
2963
+ protocolFee: bigint;
2964
+ currentTick: number;
2965
+ addedDuration: bigint;
2966
+ timestamp: Date;
2967
+ blockNumber: bigint;
2968
+ transactionHash: string;
2969
+ };
2970
+ })[];
2971
+ } | {
2972
+ error: null;
2973
+ isError: false;
2974
+ isPending: false;
2975
+ isLoading: false;
2976
+ isLoadingError: false;
2977
+ isRefetchError: false;
2978
+ isSuccess: true;
2979
+ isPlaceholderData: false;
2980
+ status: "success";
2981
+ dataUpdatedAt: number;
2982
+ errorUpdatedAt: number;
2983
+ failureCount: number;
2984
+ failureReason: Error | null;
2985
+ errorUpdateCount: number;
2986
+ isFetched: boolean;
2987
+ isFetchedAfterMount: boolean;
2988
+ isFetching: boolean;
2989
+ isInitialLoading: boolean;
2990
+ isPaused: boolean;
2991
+ isRefetching: boolean;
2992
+ isStale: boolean;
2993
+ isEnabled: boolean;
2994
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
2995
+ type: "mint";
2996
+ data: {
2997
+ id: string;
2998
+ optionType: 0 | 1;
2999
+ strikeTick: number;
3000
+ currentTick: number;
3001
+ expiresAt: Date;
3002
+ premium: bigint;
3003
+ protocolFee: bigint;
3004
+ liquidities: bigint[];
3005
+ timestamp: Date;
3006
+ blockNumber: bigint;
3007
+ transactionHash: string;
3008
+ };
3009
+ } | {
3010
+ type: "exercise";
3011
+ data: {
3012
+ id: string;
3013
+ liquidities: bigint[];
3014
+ currentTick: number;
3015
+ payout: bigint;
3016
+ timestamp: Date;
3017
+ blockNumber: bigint;
3018
+ transactionHash: string;
3019
+ };
3020
+ } | {
3021
+ type: "extend";
3022
+ data: {
3023
+ id: string;
3024
+ premium: bigint;
3025
+ protocolFee: bigint;
3026
+ currentTick: number;
3027
+ addedDuration: bigint;
3028
+ timestamp: Date;
3029
+ blockNumber: bigint;
3030
+ transactionHash: string;
3031
+ };
3032
+ })[], Error>>;
3033
+ fetchStatus: _tanstack_query_core17.FetchStatus;
3034
+ promise: Promise<({
3035
+ type: "mint";
3036
+ data: {
3037
+ id: string;
3038
+ optionType: 0 | 1;
3039
+ strikeTick: number;
3040
+ currentTick: number;
3041
+ expiresAt: Date;
3042
+ premium: bigint;
3043
+ protocolFee: bigint;
3044
+ liquidities: bigint[];
3045
+ timestamp: Date;
3046
+ blockNumber: bigint;
3047
+ transactionHash: string;
3048
+ };
3049
+ } | {
3050
+ type: "exercise";
3051
+ data: {
3052
+ id: string;
3053
+ liquidities: bigint[];
3054
+ currentTick: number;
3055
+ payout: bigint;
3056
+ timestamp: Date;
3057
+ blockNumber: bigint;
3058
+ transactionHash: string;
3059
+ };
3060
+ } | {
3061
+ type: "extend";
3062
+ data: {
3063
+ id: string;
3064
+ premium: bigint;
3065
+ protocolFee: bigint;
3066
+ currentTick: number;
3067
+ addedDuration: bigint;
3068
+ timestamp: Date;
3069
+ blockNumber: bigint;
3070
+ transactionHash: string;
3071
+ };
3072
+ })[]>;
3073
+ data: ({
3074
+ type: "mint";
3075
+ data: {
3076
+ id: string;
3077
+ optionType: 0 | 1;
3078
+ strikeTick: number;
3079
+ currentTick: number;
3080
+ expiresAt: Date;
3081
+ premium: bigint;
3082
+ protocolFee: bigint;
3083
+ liquidities: bigint[];
3084
+ timestamp: Date;
3085
+ blockNumber: bigint;
3086
+ transactionHash: string;
3087
+ };
3088
+ } | {
3089
+ type: "exercise";
3090
+ data: {
3091
+ id: string;
3092
+ liquidities: bigint[];
3093
+ currentTick: number;
3094
+ payout: bigint;
3095
+ timestamp: Date;
3096
+ blockNumber: bigint;
3097
+ transactionHash: string;
3098
+ };
3099
+ } | {
3100
+ type: "extend";
3101
+ data: {
3102
+ id: string;
3103
+ premium: bigint;
3104
+ protocolFee: bigint;
3105
+ currentTick: number;
3106
+ addedDuration: bigint;
3107
+ timestamp: Date;
3108
+ blockNumber: bigint;
3109
+ transactionHash: string;
3110
+ };
3111
+ })[];
3112
+ } | {
3113
+ error: Error;
3114
+ isError: true;
3115
+ isPending: false;
3116
+ isLoading: false;
3117
+ isLoadingError: true;
3118
+ isRefetchError: false;
3119
+ isSuccess: false;
3120
+ isPlaceholderData: false;
3121
+ status: "error";
3122
+ dataUpdatedAt: number;
3123
+ errorUpdatedAt: number;
3124
+ failureCount: number;
3125
+ failureReason: Error | null;
3126
+ errorUpdateCount: number;
3127
+ isFetched: boolean;
3128
+ isFetchedAfterMount: boolean;
3129
+ isFetching: boolean;
3130
+ isInitialLoading: boolean;
3131
+ isPaused: boolean;
3132
+ isRefetching: boolean;
3133
+ isStale: boolean;
3134
+ isEnabled: boolean;
3135
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
3136
+ type: "mint";
3137
+ data: {
3138
+ id: string;
3139
+ optionType: 0 | 1;
3140
+ strikeTick: number;
3141
+ currentTick: number;
3142
+ expiresAt: Date;
3143
+ premium: bigint;
3144
+ protocolFee: bigint;
3145
+ liquidities: bigint[];
3146
+ timestamp: Date;
3147
+ blockNumber: bigint;
3148
+ transactionHash: string;
3149
+ };
3150
+ } | {
3151
+ type: "exercise";
3152
+ data: {
3153
+ id: string;
3154
+ liquidities: bigint[];
3155
+ currentTick: number;
3156
+ payout: bigint;
3157
+ timestamp: Date;
3158
+ blockNumber: bigint;
3159
+ transactionHash: string;
3160
+ };
3161
+ } | {
3162
+ type: "extend";
3163
+ data: {
3164
+ id: string;
3165
+ premium: bigint;
3166
+ protocolFee: bigint;
3167
+ currentTick: number;
3168
+ addedDuration: bigint;
3169
+ timestamp: Date;
3170
+ blockNumber: bigint;
3171
+ transactionHash: string;
3172
+ };
3173
+ })[], Error>>;
3174
+ fetchStatus: _tanstack_query_core17.FetchStatus;
3175
+ promise: Promise<({
3176
+ type: "mint";
3177
+ data: {
3178
+ id: string;
3179
+ optionType: 0 | 1;
3180
+ strikeTick: number;
3181
+ currentTick: number;
3182
+ expiresAt: Date;
3183
+ premium: bigint;
3184
+ protocolFee: bigint;
3185
+ liquidities: bigint[];
3186
+ timestamp: Date;
3187
+ blockNumber: bigint;
3188
+ transactionHash: string;
3189
+ };
3190
+ } | {
3191
+ type: "exercise";
3192
+ data: {
3193
+ id: string;
3194
+ liquidities: bigint[];
3195
+ currentTick: number;
3196
+ payout: bigint;
3197
+ timestamp: Date;
3198
+ blockNumber: bigint;
3199
+ transactionHash: string;
3200
+ };
3201
+ } | {
3202
+ type: "extend";
3203
+ data: {
3204
+ id: string;
3205
+ premium: bigint;
3206
+ protocolFee: bigint;
3207
+ currentTick: number;
3208
+ addedDuration: bigint;
3209
+ timestamp: Date;
3210
+ blockNumber: bigint;
3211
+ transactionHash: string;
3212
+ };
3213
+ })[]>;
3214
+ data: ({
3215
+ type: "mint";
3216
+ data: {
3217
+ id: string;
3218
+ optionType: 0 | 1;
3219
+ strikeTick: number;
3220
+ currentTick: number;
3221
+ expiresAt: Date;
3222
+ premium: bigint;
3223
+ protocolFee: bigint;
3224
+ liquidities: bigint[];
3225
+ timestamp: Date;
3226
+ blockNumber: bigint;
3227
+ transactionHash: string;
3228
+ };
3229
+ } | {
3230
+ type: "exercise";
3231
+ data: {
3232
+ id: string;
3233
+ liquidities: bigint[];
3234
+ currentTick: number;
3235
+ payout: bigint;
3236
+ timestamp: Date;
3237
+ blockNumber: bigint;
3238
+ transactionHash: string;
3239
+ };
3240
+ } | {
3241
+ type: "extend";
3242
+ data: {
3243
+ id: string;
3244
+ premium: bigint;
3245
+ protocolFee: bigint;
3246
+ currentTick: number;
3247
+ addedDuration: bigint;
3248
+ timestamp: Date;
3249
+ blockNumber: bigint;
3250
+ transactionHash: string;
3251
+ };
3252
+ })[];
3253
+ } | {
3254
+ error: null;
3255
+ isError: false;
3256
+ isPending: true;
3257
+ isLoading: true;
3258
+ isLoadingError: false;
3259
+ isRefetchError: false;
3260
+ isSuccess: false;
3261
+ isPlaceholderData: false;
3262
+ status: "pending";
3263
+ dataUpdatedAt: number;
3264
+ errorUpdatedAt: number;
3265
+ failureCount: number;
3266
+ failureReason: Error | null;
3267
+ errorUpdateCount: number;
3268
+ isFetched: boolean;
3269
+ isFetchedAfterMount: boolean;
3270
+ isFetching: boolean;
3271
+ isInitialLoading: boolean;
3272
+ isPaused: boolean;
3273
+ isRefetching: boolean;
3274
+ isStale: boolean;
3275
+ isEnabled: boolean;
3276
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
3277
+ type: "mint";
3278
+ data: {
3279
+ id: string;
3280
+ optionType: 0 | 1;
3281
+ strikeTick: number;
3282
+ currentTick: number;
3283
+ expiresAt: Date;
3284
+ premium: bigint;
3285
+ protocolFee: bigint;
3286
+ liquidities: bigint[];
3287
+ timestamp: Date;
3288
+ blockNumber: bigint;
3289
+ transactionHash: string;
3290
+ };
3291
+ } | {
3292
+ type: "exercise";
3293
+ data: {
3294
+ id: string;
3295
+ liquidities: bigint[];
3296
+ currentTick: number;
3297
+ payout: bigint;
3298
+ timestamp: Date;
3299
+ blockNumber: bigint;
3300
+ transactionHash: string;
3301
+ };
3302
+ } | {
3303
+ type: "extend";
3304
+ data: {
3305
+ id: string;
3306
+ premium: bigint;
3307
+ protocolFee: bigint;
3308
+ currentTick: number;
3309
+ addedDuration: bigint;
3310
+ timestamp: Date;
3311
+ blockNumber: bigint;
3312
+ transactionHash: string;
3313
+ };
3314
+ })[], Error>>;
3315
+ fetchStatus: _tanstack_query_core17.FetchStatus;
3316
+ promise: Promise<({
3317
+ type: "mint";
3318
+ data: {
3319
+ id: string;
3320
+ optionType: 0 | 1;
3321
+ strikeTick: number;
3322
+ currentTick: number;
3323
+ expiresAt: Date;
3324
+ premium: bigint;
3325
+ protocolFee: bigint;
3326
+ liquidities: bigint[];
3327
+ timestamp: Date;
3328
+ blockNumber: bigint;
3329
+ transactionHash: string;
3330
+ };
3331
+ } | {
3332
+ type: "exercise";
3333
+ data: {
3334
+ id: string;
3335
+ liquidities: bigint[];
3336
+ currentTick: number;
3337
+ payout: bigint;
3338
+ timestamp: Date;
3339
+ blockNumber: bigint;
3340
+ transactionHash: string;
3341
+ };
3342
+ } | {
3343
+ type: "extend";
3344
+ data: {
3345
+ id: string;
3346
+ premium: bigint;
3347
+ protocolFee: bigint;
3348
+ currentTick: number;
3349
+ addedDuration: bigint;
3350
+ timestamp: Date;
3351
+ blockNumber: bigint;
3352
+ transactionHash: string;
3353
+ };
3354
+ })[]>;
3355
+ data: ({
3356
+ type: "mint";
3357
+ data: {
3358
+ id: string;
3359
+ optionType: 0 | 1;
3360
+ strikeTick: number;
3361
+ currentTick: number;
3362
+ expiresAt: Date;
3363
+ premium: bigint;
3364
+ protocolFee: bigint;
3365
+ liquidities: bigint[];
3366
+ timestamp: Date;
3367
+ blockNumber: bigint;
3368
+ transactionHash: string;
3369
+ };
3370
+ } | {
3371
+ type: "exercise";
3372
+ data: {
3373
+ id: string;
3374
+ liquidities: bigint[];
3375
+ currentTick: number;
3376
+ payout: bigint;
3377
+ timestamp: Date;
3378
+ blockNumber: bigint;
3379
+ transactionHash: string;
3380
+ };
3381
+ } | {
3382
+ type: "extend";
3383
+ data: {
3384
+ id: string;
3385
+ premium: bigint;
3386
+ protocolFee: bigint;
3387
+ currentTick: number;
3388
+ addedDuration: bigint;
3389
+ timestamp: Date;
3390
+ blockNumber: bigint;
3391
+ transactionHash: string;
3392
+ };
3393
+ })[];
3394
+ } | {
3395
+ error: null;
3396
+ isError: false;
3397
+ isPending: true;
3398
+ isLoadingError: false;
3399
+ isRefetchError: false;
3400
+ isSuccess: false;
3401
+ isPlaceholderData: false;
3402
+ status: "pending";
3403
+ dataUpdatedAt: number;
3404
+ errorUpdatedAt: number;
3405
+ failureCount: number;
3406
+ failureReason: Error | null;
3407
+ errorUpdateCount: number;
3408
+ isFetched: boolean;
3409
+ isFetchedAfterMount: boolean;
3410
+ isFetching: boolean;
3411
+ isLoading: boolean;
3412
+ isInitialLoading: boolean;
3413
+ isPaused: boolean;
3414
+ isRefetching: boolean;
3415
+ isStale: boolean;
3416
+ isEnabled: boolean;
3417
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
3418
+ type: "mint";
3419
+ data: {
3420
+ id: string;
3421
+ optionType: 0 | 1;
3422
+ strikeTick: number;
3423
+ currentTick: number;
3424
+ expiresAt: Date;
3425
+ premium: bigint;
3426
+ protocolFee: bigint;
3427
+ liquidities: bigint[];
3428
+ timestamp: Date;
3429
+ blockNumber: bigint;
3430
+ transactionHash: string;
3431
+ };
3432
+ } | {
3433
+ type: "exercise";
3434
+ data: {
3435
+ id: string;
3436
+ liquidities: bigint[];
3437
+ currentTick: number;
3438
+ payout: bigint;
3439
+ timestamp: Date;
3440
+ blockNumber: bigint;
3441
+ transactionHash: string;
3442
+ };
3443
+ } | {
3444
+ type: "extend";
3445
+ data: {
3446
+ id: string;
3447
+ premium: bigint;
3448
+ protocolFee: bigint;
3449
+ currentTick: number;
3450
+ addedDuration: bigint;
3451
+ timestamp: Date;
3452
+ blockNumber: bigint;
3453
+ transactionHash: string;
3454
+ };
3455
+ })[], Error>>;
3456
+ fetchStatus: _tanstack_query_core17.FetchStatus;
3457
+ promise: Promise<({
3458
+ type: "mint";
3459
+ data: {
3460
+ id: string;
3461
+ optionType: 0 | 1;
3462
+ strikeTick: number;
3463
+ currentTick: number;
3464
+ expiresAt: Date;
3465
+ premium: bigint;
3466
+ protocolFee: bigint;
3467
+ liquidities: bigint[];
3468
+ timestamp: Date;
3469
+ blockNumber: bigint;
3470
+ transactionHash: string;
3471
+ };
3472
+ } | {
3473
+ type: "exercise";
3474
+ data: {
3475
+ id: string;
3476
+ liquidities: bigint[];
3477
+ currentTick: number;
3478
+ payout: bigint;
3479
+ timestamp: Date;
3480
+ blockNumber: bigint;
3481
+ transactionHash: string;
3482
+ };
3483
+ } | {
3484
+ type: "extend";
3485
+ data: {
3486
+ id: string;
3487
+ premium: bigint;
3488
+ protocolFee: bigint;
3489
+ currentTick: number;
3490
+ addedDuration: bigint;
3491
+ timestamp: Date;
3492
+ blockNumber: bigint;
3493
+ transactionHash: string;
3494
+ };
3495
+ })[]>;
3496
+ data: ({
3497
+ type: "mint";
3498
+ data: {
3499
+ id: string;
3500
+ optionType: 0 | 1;
3501
+ strikeTick: number;
3502
+ currentTick: number;
3503
+ expiresAt: Date;
3504
+ premium: bigint;
3505
+ protocolFee: bigint;
3506
+ liquidities: bigint[];
3507
+ timestamp: Date;
3508
+ blockNumber: bigint;
3509
+ transactionHash: string;
3510
+ };
3511
+ } | {
3512
+ type: "exercise";
3513
+ data: {
3514
+ id: string;
3515
+ liquidities: bigint[];
3516
+ currentTick: number;
3517
+ payout: bigint;
3518
+ timestamp: Date;
3519
+ blockNumber: bigint;
3520
+ transactionHash: string;
3521
+ };
3522
+ } | {
3523
+ type: "extend";
3524
+ data: {
3525
+ id: string;
3526
+ premium: bigint;
3527
+ protocolFee: bigint;
3528
+ currentTick: number;
3529
+ addedDuration: bigint;
3530
+ timestamp: Date;
3531
+ blockNumber: bigint;
3532
+ transactionHash: string;
3533
+ };
3534
+ })[];
3535
+ } | {
3536
+ isError: false;
3537
+ error: null;
3538
+ isPending: false;
3539
+ isLoading: false;
3540
+ isLoadingError: false;
3541
+ isRefetchError: false;
3542
+ isSuccess: true;
3543
+ isPlaceholderData: true;
3544
+ status: "success";
3545
+ dataUpdatedAt: number;
3546
+ errorUpdatedAt: number;
3547
+ failureCount: number;
3548
+ failureReason: Error | null;
3549
+ errorUpdateCount: number;
3550
+ isFetched: boolean;
3551
+ isFetchedAfterMount: boolean;
3552
+ isFetching: boolean;
3553
+ isInitialLoading: boolean;
3554
+ isPaused: boolean;
3555
+ isRefetching: boolean;
3556
+ isStale: boolean;
3557
+ isEnabled: boolean;
3558
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
3559
+ type: "mint";
3560
+ data: {
3561
+ id: string;
3562
+ optionType: 0 | 1;
3563
+ strikeTick: number;
3564
+ currentTick: number;
3565
+ expiresAt: Date;
3566
+ premium: bigint;
3567
+ protocolFee: bigint;
3568
+ liquidities: bigint[];
3569
+ timestamp: Date;
3570
+ blockNumber: bigint;
3571
+ transactionHash: string;
3572
+ };
3573
+ } | {
3574
+ type: "exercise";
3575
+ data: {
3576
+ id: string;
3577
+ liquidities: bigint[];
3578
+ currentTick: number;
3579
+ payout: bigint;
3580
+ timestamp: Date;
3581
+ blockNumber: bigint;
3582
+ transactionHash: string;
3583
+ };
3584
+ } | {
3585
+ type: "extend";
3586
+ data: {
3587
+ id: string;
3588
+ premium: bigint;
3589
+ protocolFee: bigint;
3590
+ currentTick: number;
3591
+ addedDuration: bigint;
3592
+ timestamp: Date;
3593
+ blockNumber: bigint;
3594
+ transactionHash: string;
3595
+ };
3596
+ })[], Error>>;
3597
+ fetchStatus: _tanstack_query_core17.FetchStatus;
3598
+ promise: Promise<({
3599
+ type: "mint";
3600
+ data: {
3601
+ id: string;
3602
+ optionType: 0 | 1;
3603
+ strikeTick: number;
3604
+ currentTick: number;
3605
+ expiresAt: Date;
3606
+ premium: bigint;
3607
+ protocolFee: bigint;
3608
+ liquidities: bigint[];
3609
+ timestamp: Date;
3610
+ blockNumber: bigint;
3611
+ transactionHash: string;
3612
+ };
3613
+ } | {
3614
+ type: "exercise";
3615
+ data: {
3616
+ id: string;
3617
+ liquidities: bigint[];
3618
+ currentTick: number;
3619
+ payout: bigint;
3620
+ timestamp: Date;
3621
+ blockNumber: bigint;
3622
+ transactionHash: string;
3623
+ };
3624
+ } | {
3625
+ type: "extend";
3626
+ data: {
3627
+ id: string;
3628
+ premium: bigint;
3629
+ protocolFee: bigint;
3630
+ currentTick: number;
3631
+ addedDuration: bigint;
3632
+ timestamp: Date;
3633
+ blockNumber: bigint;
3634
+ transactionHash: string;
3635
+ };
3636
+ })[]>;
3637
+ data: ({
3638
+ type: "mint";
3639
+ data: {
3640
+ id: string;
3641
+ optionType: 0 | 1;
3642
+ strikeTick: number;
3643
+ currentTick: number;
3644
+ expiresAt: Date;
3645
+ premium: bigint;
3646
+ protocolFee: bigint;
3647
+ liquidities: bigint[];
3648
+ timestamp: Date;
3649
+ blockNumber: bigint;
3650
+ transactionHash: string;
3651
+ };
3652
+ } | {
3653
+ type: "exercise";
3654
+ data: {
3655
+ id: string;
3656
+ liquidities: bigint[];
3657
+ currentTick: number;
3658
+ payout: bigint;
3659
+ timestamp: Date;
3660
+ blockNumber: bigint;
3661
+ transactionHash: string;
3662
+ };
3663
+ } | {
3664
+ type: "extend";
3665
+ data: {
3666
+ id: string;
3667
+ premium: bigint;
3668
+ protocolFee: bigint;
3669
+ currentTick: number;
3670
+ addedDuration: bigint;
3671
+ timestamp: Date;
3672
+ blockNumber: bigint;
3673
+ transactionHash: string;
3674
+ };
3675
+ })[];
3676
+ };
3677
+ //#endregion
3225
3678
  //#region src/hooks/pool/useCurrentPrice.d.ts
3226
3679
  declare const useCurrentPrice: (poolAddr?: Address) => {
3227
3680
  currentPrice: Amount | undefined;
@@ -3286,7 +3739,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
3286
3739
  //#region src/hooks/vault/useLiquidityBlocks.d.ts
3287
3740
  type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
3288
3741
  declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3289
- error: viem249.ReadContractErrorType;
3742
+ error: viem367.ReadContractErrorType;
3290
3743
  isError: true;
3291
3744
  isPending: false;
3292
3745
  isLoading: false;
@@ -3298,7 +3751,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3298
3751
  dataUpdatedAt: number;
3299
3752
  errorUpdatedAt: number;
3300
3753
  failureCount: number;
3301
- failureReason: viem249.ReadContractErrorType | null;
3754
+ failureReason: viem367.ReadContractErrorType | null;
3302
3755
  errorUpdateCount: number;
3303
3756
  isFetched: boolean;
3304
3757
  isFetchedAfterMount: boolean;
@@ -3308,7 +3761,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3308
3761
  isRefetching: boolean;
3309
3762
  isStale: boolean;
3310
3763
  isEnabled: boolean;
3311
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
3764
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
3312
3765
  tickLower: number;
3313
3766
  tickUpper: number;
3314
3767
  prevTickLower: number;
@@ -3318,8 +3771,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3318
3771
  totalAmount1: bigint;
3319
3772
  borrowedAmount0: bigint;
3320
3773
  borrowedAmount1: bigint;
3321
- }[], viem249.ReadContractErrorType>>;
3322
- fetchStatus: _tanstack_query_core0.FetchStatus;
3774
+ }[], viem367.ReadContractErrorType>>;
3775
+ fetchStatus: _tanstack_query_core17.FetchStatus;
3323
3776
  promise: Promise<readonly {
3324
3777
  tickLower: number;
3325
3778
  tickUpper: number;
@@ -3331,7 +3784,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3331
3784
  borrowedAmount0: bigint;
3332
3785
  borrowedAmount1: bigint;
3333
3786
  }[]>;
3334
- queryKey: _tanstack_query_core0.QueryKey;
3787
+ queryKey: _tanstack_query_core17.QueryKey;
3335
3788
  data: readonly {
3336
3789
  tickLower: number;
3337
3790
  tickUpper: number;
@@ -3356,7 +3809,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3356
3809
  dataUpdatedAt: number;
3357
3810
  errorUpdatedAt: number;
3358
3811
  failureCount: number;
3359
- failureReason: viem249.ReadContractErrorType | null;
3812
+ failureReason: viem367.ReadContractErrorType | null;
3360
3813
  errorUpdateCount: number;
3361
3814
  isFetched: boolean;
3362
3815
  isFetchedAfterMount: boolean;
@@ -3366,7 +3819,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3366
3819
  isRefetching: boolean;
3367
3820
  isStale: boolean;
3368
3821
  isEnabled: boolean;
3369
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
3822
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
3370
3823
  tickLower: number;
3371
3824
  tickUpper: number;
3372
3825
  prevTickLower: number;
@@ -3376,8 +3829,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3376
3829
  totalAmount1: bigint;
3377
3830
  borrowedAmount0: bigint;
3378
3831
  borrowedAmount1: bigint;
3379
- }[], viem249.ReadContractErrorType>>;
3380
- fetchStatus: _tanstack_query_core0.FetchStatus;
3832
+ }[], viem367.ReadContractErrorType>>;
3833
+ fetchStatus: _tanstack_query_core17.FetchStatus;
3381
3834
  promise: Promise<readonly {
3382
3835
  tickLower: number;
3383
3836
  tickUpper: number;
@@ -3389,7 +3842,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3389
3842
  borrowedAmount0: bigint;
3390
3843
  borrowedAmount1: bigint;
3391
3844
  }[]>;
3392
- queryKey: _tanstack_query_core0.QueryKey;
3845
+ queryKey: _tanstack_query_core17.QueryKey;
3393
3846
  data: readonly {
3394
3847
  tickLower: number;
3395
3848
  tickUpper: number;
@@ -3402,7 +3855,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3402
3855
  borrowedAmount1: bigint;
3403
3856
  }[];
3404
3857
  } | {
3405
- error: viem249.ReadContractErrorType;
3858
+ error: viem367.ReadContractErrorType;
3406
3859
  isError: true;
3407
3860
  isPending: false;
3408
3861
  isLoading: false;
@@ -3414,7 +3867,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3414
3867
  dataUpdatedAt: number;
3415
3868
  errorUpdatedAt: number;
3416
3869
  failureCount: number;
3417
- failureReason: viem249.ReadContractErrorType | null;
3870
+ failureReason: viem367.ReadContractErrorType | null;
3418
3871
  errorUpdateCount: number;
3419
3872
  isFetched: boolean;
3420
3873
  isFetchedAfterMount: boolean;
@@ -3424,7 +3877,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3424
3877
  isRefetching: boolean;
3425
3878
  isStale: boolean;
3426
3879
  isEnabled: boolean;
3427
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
3880
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
3428
3881
  tickLower: number;
3429
3882
  tickUpper: number;
3430
3883
  prevTickLower: number;
@@ -3434,8 +3887,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3434
3887
  totalAmount1: bigint;
3435
3888
  borrowedAmount0: bigint;
3436
3889
  borrowedAmount1: bigint;
3437
- }[], viem249.ReadContractErrorType>>;
3438
- fetchStatus: _tanstack_query_core0.FetchStatus;
3890
+ }[], viem367.ReadContractErrorType>>;
3891
+ fetchStatus: _tanstack_query_core17.FetchStatus;
3439
3892
  promise: Promise<readonly {
3440
3893
  tickLower: number;
3441
3894
  tickUpper: number;
@@ -3447,7 +3900,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3447
3900
  borrowedAmount0: bigint;
3448
3901
  borrowedAmount1: bigint;
3449
3902
  }[]>;
3450
- queryKey: _tanstack_query_core0.QueryKey;
3903
+ queryKey: _tanstack_query_core17.QueryKey;
3451
3904
  data: readonly {
3452
3905
  tickLower: number;
3453
3906
  tickUpper: number;
@@ -3472,7 +3925,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3472
3925
  dataUpdatedAt: number;
3473
3926
  errorUpdatedAt: number;
3474
3927
  failureCount: number;
3475
- failureReason: viem249.ReadContractErrorType | null;
3928
+ failureReason: viem367.ReadContractErrorType | null;
3476
3929
  errorUpdateCount: number;
3477
3930
  isFetched: boolean;
3478
3931
  isFetchedAfterMount: boolean;
@@ -3482,7 +3935,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3482
3935
  isRefetching: boolean;
3483
3936
  isStale: boolean;
3484
3937
  isEnabled: boolean;
3485
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
3938
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
3486
3939
  tickLower: number;
3487
3940
  tickUpper: number;
3488
3941
  prevTickLower: number;
@@ -3492,8 +3945,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3492
3945
  totalAmount1: bigint;
3493
3946
  borrowedAmount0: bigint;
3494
3947
  borrowedAmount1: bigint;
3495
- }[], viem249.ReadContractErrorType>>;
3496
- fetchStatus: _tanstack_query_core0.FetchStatus;
3948
+ }[], viem367.ReadContractErrorType>>;
3949
+ fetchStatus: _tanstack_query_core17.FetchStatus;
3497
3950
  promise: Promise<readonly {
3498
3951
  tickLower: number;
3499
3952
  tickUpper: number;
@@ -3505,7 +3958,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3505
3958
  borrowedAmount0: bigint;
3506
3959
  borrowedAmount1: bigint;
3507
3960
  }[]>;
3508
- queryKey: _tanstack_query_core0.QueryKey;
3961
+ queryKey: _tanstack_query_core17.QueryKey;
3509
3962
  data: readonly {
3510
3963
  tickLower: number;
3511
3964
  tickUpper: number;
@@ -3529,7 +3982,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3529
3982
  dataUpdatedAt: number;
3530
3983
  errorUpdatedAt: number;
3531
3984
  failureCount: number;
3532
- failureReason: viem249.ReadContractErrorType | null;
3985
+ failureReason: viem367.ReadContractErrorType | null;
3533
3986
  errorUpdateCount: number;
3534
3987
  isFetched: boolean;
3535
3988
  isFetchedAfterMount: boolean;
@@ -3540,7 +3993,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3540
3993
  isRefetching: boolean;
3541
3994
  isStale: boolean;
3542
3995
  isEnabled: boolean;
3543
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
3996
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
3544
3997
  tickLower: number;
3545
3998
  tickUpper: number;
3546
3999
  prevTickLower: number;
@@ -3550,8 +4003,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3550
4003
  totalAmount1: bigint;
3551
4004
  borrowedAmount0: bigint;
3552
4005
  borrowedAmount1: bigint;
3553
- }[], viem249.ReadContractErrorType>>;
3554
- fetchStatus: _tanstack_query_core0.FetchStatus;
4006
+ }[], viem367.ReadContractErrorType>>;
4007
+ fetchStatus: _tanstack_query_core17.FetchStatus;
3555
4008
  promise: Promise<readonly {
3556
4009
  tickLower: number;
3557
4010
  tickUpper: number;
@@ -3563,7 +4016,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3563
4016
  borrowedAmount0: bigint;
3564
4017
  borrowedAmount1: bigint;
3565
4018
  }[]>;
3566
- queryKey: _tanstack_query_core0.QueryKey;
4019
+ queryKey: _tanstack_query_core17.QueryKey;
3567
4020
  data: readonly {
3568
4021
  tickLower: number;
3569
4022
  tickUpper: number;
@@ -3588,7 +4041,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3588
4041
  dataUpdatedAt: number;
3589
4042
  errorUpdatedAt: number;
3590
4043
  failureCount: number;
3591
- failureReason: viem249.ReadContractErrorType | null;
4044
+ failureReason: viem367.ReadContractErrorType | null;
3592
4045
  errorUpdateCount: number;
3593
4046
  isFetched: boolean;
3594
4047
  isFetchedAfterMount: boolean;
@@ -3598,7 +4051,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3598
4051
  isRefetching: boolean;
3599
4052
  isStale: boolean;
3600
4053
  isEnabled: boolean;
3601
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
4054
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
3602
4055
  tickLower: number;
3603
4056
  tickUpper: number;
3604
4057
  prevTickLower: number;
@@ -3608,8 +4061,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3608
4061
  totalAmount1: bigint;
3609
4062
  borrowedAmount0: bigint;
3610
4063
  borrowedAmount1: bigint;
3611
- }[], viem249.ReadContractErrorType>>;
3612
- fetchStatus: _tanstack_query_core0.FetchStatus;
4064
+ }[], viem367.ReadContractErrorType>>;
4065
+ fetchStatus: _tanstack_query_core17.FetchStatus;
3613
4066
  promise: Promise<readonly {
3614
4067
  tickLower: number;
3615
4068
  tickUpper: number;
@@ -3621,7 +4074,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3621
4074
  borrowedAmount0: bigint;
3622
4075
  borrowedAmount1: bigint;
3623
4076
  }[]>;
3624
- queryKey: _tanstack_query_core0.QueryKey;
4077
+ queryKey: _tanstack_query_core17.QueryKey;
3625
4078
  data: readonly {
3626
4079
  tickLower: number;
3627
4080
  tickUpper: number;
@@ -3681,14 +4134,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
3681
4134
  borrowedAmount0: Amount;
3682
4135
  borrowedAmount1: Amount;
3683
4136
  blocksCount: bigint;
3684
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem249.ReadContractErrorType>>;
4137
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem367.ReadContractErrorType>>;
3685
4138
  };
3686
4139
  //#endregion
3687
4140
  //#region src/hooks/useLens.d.ts
3688
4141
  declare const useLens: () => {
3689
4142
  timelockLens: {
3690
4143
  read: {
3691
- batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
4144
+ batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
3692
4145
  readonly type: "function";
3693
4146
  readonly name: "batchGetRefTick";
3694
4147
  readonly inputs: readonly [{
@@ -4362,7 +4815,7 @@ declare const useLens: () => {
4362
4815
  }];
4363
4816
  readonly stateMutability: "view";
4364
4817
  }], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
4365
- getAllBlocks: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
4818
+ getAllBlocks: (args: readonly [`0x${string}`], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
4366
4819
  readonly type: "function";
4367
4820
  readonly name: "batchGetRefTick";
4368
4821
  readonly inputs: readonly [{
@@ -5046,7 +5499,7 @@ declare const useLens: () => {
5046
5499
  borrowedAmount0: bigint;
5047
5500
  borrowedAmount1: bigint;
5048
5501
  }[]>;
5049
- getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
5502
+ getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
5050
5503
  readonly type: "function";
5051
5504
  readonly name: "batchGetRefTick";
5052
5505
  readonly inputs: readonly [{
@@ -5737,7 +6190,7 @@ declare const useLens: () => {
5737
6190
  expiresAt: number;
5738
6191
  liquidities: readonly bigint[];
5739
6192
  }[], bigint, boolean]>;
5740
- getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
6193
+ getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
5741
6194
  readonly type: "function";
5742
6195
  readonly name: "batchGetRefTick";
5743
6196
  readonly inputs: readonly [{
@@ -6411,7 +6864,7 @@ declare const useLens: () => {
6411
6864
  }];
6412
6865
  readonly stateMutability: "view";
6413
6866
  }], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
6414
- getMarketData: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
6867
+ getMarketData: (args: readonly [`0x${string}`], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
6415
6868
  readonly type: "function";
6416
6869
  readonly name: "batchGetRefTick";
6417
6870
  readonly inputs: readonly [{
@@ -7098,7 +7551,7 @@ declare const useLens: () => {
7098
7551
  payoutAssetName: string;
7099
7552
  optionsCount: bigint;
7100
7553
  }>;
7101
- getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
7554
+ getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
7102
7555
  readonly type: "function";
7103
7556
  readonly name: "batchGetRefTick";
7104
7557
  readonly inputs: readonly [{
@@ -7772,7 +8225,7 @@ declare const useLens: () => {
7772
8225
  }];
7773
8226
  readonly stateMutability: "view";
7774
8227
  }], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
7775
- getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
8228
+ getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
7776
8229
  readonly type: "function";
7777
8230
  readonly name: "batchGetRefTick";
7778
8231
  readonly inputs: readonly [{
@@ -8446,7 +8899,7 @@ declare const useLens: () => {
8446
8899
  }];
8447
8900
  readonly stateMutability: "view";
8448
8901
  }], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
8449
- getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
8902
+ getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
8450
8903
  readonly type: "function";
8451
8904
  readonly name: "batchGetRefTick";
8452
8905
  readonly inputs: readonly [{
@@ -9137,7 +9590,7 @@ declare const useLens: () => {
9137
9590
  expiresAt: number;
9138
9591
  liquidities: readonly bigint[];
9139
9592
  }>;
9140
- getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
9593
+ getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
9141
9594
  readonly type: "function";
9142
9595
  readonly name: "batchGetRefTick";
9143
9596
  readonly inputs: readonly [{
@@ -9828,7 +10281,7 @@ declare const useLens: () => {
9828
10281
  expiresAt: number;
9829
10282
  liquidities: readonly bigint[];
9830
10283
  }[]>;
9831
- getPoolData: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
10284
+ getPoolData: (args: readonly [`0x${string}`], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
9832
10285
  readonly type: "function";
9833
10286
  readonly name: "batchGetRefTick";
9834
10287
  readonly inputs: readonly [{
@@ -10513,7 +10966,7 @@ declare const useLens: () => {
10513
10966
  tickSpacing: number;
10514
10967
  fee: number;
10515
10968
  }>;
10516
- getRefTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
10969
+ getRefTick: (args: readonly [`0x${string}`, number], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
10517
10970
  readonly type: "function";
10518
10971
  readonly name: "batchGetRefTick";
10519
10972
  readonly inputs: readonly [{
@@ -11187,7 +11640,7 @@ declare const useLens: () => {
11187
11640
  }];
11188
11641
  readonly stateMutability: "view";
11189
11642
  }], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
11190
- getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
11643
+ getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
11191
11644
  readonly type: "function";
11192
11645
  readonly name: "batchGetRefTick";
11193
11646
  readonly inputs: readonly [{
@@ -11878,7 +12331,7 @@ declare const useLens: () => {
11878
12331
  expiresAt: number;
11879
12332
  liquidities: readonly bigint[];
11880
12333
  }[], bigint, boolean]>;
11881
- getVaultTVL: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
12334
+ getVaultTVL: (args: readonly [`0x${string}`], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
11882
12335
  readonly type: "function";
11883
12336
  readonly name: "batchGetRefTick";
11884
12337
  readonly inputs: readonly [{
@@ -13231,7 +13684,7 @@ declare const useLens: () => {
13231
13684
  } | undefined;
13232
13685
  uniswapLens: {
13233
13686
  read: {
13234
- batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
13687
+ batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
13235
13688
  readonly type: "function";
13236
13689
  readonly name: "batchGetAmount0ForLiquidity";
13237
13690
  readonly inputs: readonly [{
@@ -13852,7 +14305,7 @@ declare const useLens: () => {
13852
14305
  }];
13853
14306
  readonly stateMutability: "pure";
13854
14307
  }], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
13855
- batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
14308
+ batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
13856
14309
  readonly type: "function";
13857
14310
  readonly name: "batchGetAmount0ForLiquidity";
13858
14311
  readonly inputs: readonly [{
@@ -14473,7 +14926,7 @@ declare const useLens: () => {
14473
14926
  }];
14474
14927
  readonly stateMutability: "pure";
14475
14928
  }], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
14476
- batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
14929
+ batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
14477
14930
  readonly type: "function";
14478
14931
  readonly name: "batchGetAmount0ForLiquidity";
14479
14932
  readonly inputs: readonly [{
@@ -15094,7 +15547,7 @@ declare const useLens: () => {
15094
15547
  }];
15095
15548
  readonly stateMutability: "pure";
15096
15549
  }], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
15097
- batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
15550
+ batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
15098
15551
  readonly type: "function";
15099
15552
  readonly name: "batchGetAmount0ForLiquidity";
15100
15553
  readonly inputs: readonly [{
@@ -15715,7 +16168,7 @@ declare const useLens: () => {
15715
16168
  }];
15716
16169
  readonly stateMutability: "pure";
15717
16170
  }], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
15718
- batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
16171
+ batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
15719
16172
  readonly type: "function";
15720
16173
  readonly name: "batchGetAmount0ForLiquidity";
15721
16174
  readonly inputs: readonly [{
@@ -16336,7 +16789,7 @@ declare const useLens: () => {
16336
16789
  }];
16337
16790
  readonly stateMutability: "pure";
16338
16791
  }], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
16339
- batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
16792
+ batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
16340
16793
  readonly type: "function";
16341
16794
  readonly name: "batchGetAmount0ForLiquidity";
16342
16795
  readonly inputs: readonly [{
@@ -16957,7 +17410,7 @@ declare const useLens: () => {
16957
17410
  }];
16958
17411
  readonly stateMutability: "pure";
16959
17412
  }], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
16960
- batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
17413
+ batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
16961
17414
  readonly type: "function";
16962
17415
  readonly name: "batchGetAmount0ForLiquidity";
16963
17416
  readonly inputs: readonly [{
@@ -17578,7 +18031,7 @@ declare const useLens: () => {
17578
18031
  }];
17579
18032
  readonly stateMutability: "pure";
17580
18033
  }], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
17581
- batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
18034
+ batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
17582
18035
  readonly type: "function";
17583
18036
  readonly name: "batchGetAmount0ForLiquidity";
17584
18037
  readonly inputs: readonly [{
@@ -18199,7 +18652,7 @@ declare const useLens: () => {
18199
18652
  }];
18200
18653
  readonly stateMutability: "pure";
18201
18654
  }], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
18202
- batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
18655
+ batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
18203
18656
  readonly type: "function";
18204
18657
  readonly name: "batchGetAmount0ForLiquidity";
18205
18658
  readonly inputs: readonly [{
@@ -18820,7 +19273,7 @@ declare const useLens: () => {
18820
19273
  }];
18821
19274
  readonly stateMutability: "pure";
18822
19275
  }], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
18823
- batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
19276
+ batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
18824
19277
  readonly type: "function";
18825
19278
  readonly name: "batchGetAmount0ForLiquidity";
18826
19279
  readonly inputs: readonly [{
@@ -19441,7 +19894,7 @@ declare const useLens: () => {
19441
19894
  }];
19442
19895
  readonly stateMutability: "pure";
19443
19896
  }], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
19444
- batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
19897
+ batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
19445
19898
  readonly type: "function";
19446
19899
  readonly name: "batchGetAmount0ForLiquidity";
19447
19900
  readonly inputs: readonly [{
@@ -20062,7 +20515,7 @@ declare const useLens: () => {
20062
20515
  }];
20063
20516
  readonly stateMutability: "pure";
20064
20517
  }], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
20065
- batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
20518
+ batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
20066
20519
  readonly type: "function";
20067
20520
  readonly name: "batchGetAmount0ForLiquidity";
20068
20521
  readonly inputs: readonly [{
@@ -20683,7 +21136,7 @@ declare const useLens: () => {
20683
21136
  }];
20684
21137
  readonly stateMutability: "pure";
20685
21138
  }], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
20686
- batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
21139
+ batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
20687
21140
  readonly type: "function";
20688
21141
  readonly name: "batchGetAmount0ForLiquidity";
20689
21142
  readonly inputs: readonly [{
@@ -21304,7 +21757,7 @@ declare const useLens: () => {
21304
21757
  }];
21305
21758
  readonly stateMutability: "pure";
21306
21759
  }], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
21307
- getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
21760
+ getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
21308
21761
  readonly type: "function";
21309
21762
  readonly name: "batchGetAmount0ForLiquidity";
21310
21763
  readonly inputs: readonly [{
@@ -21925,7 +22378,7 @@ declare const useLens: () => {
21925
22378
  }];
21926
22379
  readonly stateMutability: "pure";
21927
22380
  }], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
21928
- getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
22381
+ getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
21929
22382
  readonly type: "function";
21930
22383
  readonly name: "batchGetAmount0ForLiquidity";
21931
22384
  readonly inputs: readonly [{
@@ -22546,7 +22999,7 @@ declare const useLens: () => {
22546
22999
  }];
22547
23000
  readonly stateMutability: "pure";
22548
23001
  }], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
22549
- getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
23002
+ getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
22550
23003
  readonly type: "function";
22551
23004
  readonly name: "batchGetAmount0ForLiquidity";
22552
23005
  readonly inputs: readonly [{
@@ -23167,7 +23620,7 @@ declare const useLens: () => {
23167
23620
  }];
23168
23621
  readonly stateMutability: "pure";
23169
23622
  }], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
23170
- getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
23623
+ getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
23171
23624
  readonly type: "function";
23172
23625
  readonly name: "batchGetAmount0ForLiquidity";
23173
23626
  readonly inputs: readonly [{
@@ -23788,7 +24241,7 @@ declare const useLens: () => {
23788
24241
  }];
23789
24242
  readonly stateMutability: "pure";
23790
24243
  }], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
23791
- getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
24244
+ getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
23792
24245
  readonly type: "function";
23793
24246
  readonly name: "batchGetAmount0ForLiquidity";
23794
24247
  readonly inputs: readonly [{
@@ -24409,7 +24862,7 @@ declare const useLens: () => {
24409
24862
  }];
24410
24863
  readonly stateMutability: "pure";
24411
24864
  }], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
24412
- getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
24865
+ getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
24413
24866
  readonly type: "function";
24414
24867
  readonly name: "batchGetAmount0ForLiquidity";
24415
24868
  readonly inputs: readonly [{
@@ -25030,7 +25483,7 @@ declare const useLens: () => {
25030
25483
  }];
25031
25484
  readonly stateMutability: "pure";
25032
25485
  }], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
25033
- getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
25486
+ getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
25034
25487
  readonly type: "function";
25035
25488
  readonly name: "batchGetAmount0ForLiquidity";
25036
25489
  readonly inputs: readonly [{
@@ -25651,7 +26104,7 @@ declare const useLens: () => {
25651
26104
  }];
25652
26105
  readonly stateMutability: "pure";
25653
26106
  }], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
25654
- getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
26107
+ getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
25655
26108
  readonly type: "function";
25656
26109
  readonly name: "batchGetAmount0ForLiquidity";
25657
26110
  readonly inputs: readonly [{
@@ -26272,7 +26725,7 @@ declare const useLens: () => {
26272
26725
  }];
26273
26726
  readonly stateMutability: "pure";
26274
26727
  }], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
26275
- getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
26728
+ getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
26276
26729
  readonly type: "function";
26277
26730
  readonly name: "batchGetAmount0ForLiquidity";
26278
26731
  readonly inputs: readonly [{
@@ -26893,7 +27346,7 @@ declare const useLens: () => {
26893
27346
  }];
26894
27347
  readonly stateMutability: "pure";
26895
27348
  }], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
26896
- getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
27349
+ getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
26897
27350
  readonly type: "function";
26898
27351
  readonly name: "batchGetAmount0ForLiquidity";
26899
27352
  readonly inputs: readonly [{
@@ -27514,7 +27967,7 @@ declare const useLens: () => {
27514
27967
  }];
27515
27968
  readonly stateMutability: "pure";
27516
27969
  }], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
27517
- getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
27970
+ getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
27518
27971
  readonly type: "function";
27519
27972
  readonly name: "batchGetAmount0ForLiquidity";
27520
27973
  readonly inputs: readonly [{
@@ -28135,7 +28588,7 @@ declare const useLens: () => {
28135
28588
  }];
28136
28589
  readonly stateMutability: "pure";
28137
28590
  }], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
28138
- getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
28591
+ getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
28139
28592
  readonly type: "function";
28140
28593
  readonly name: "batchGetAmount0ForLiquidity";
28141
28594
  readonly inputs: readonly [{
@@ -28756,7 +29209,7 @@ declare const useLens: () => {
28756
29209
  }];
28757
29210
  readonly stateMutability: "pure";
28758
29211
  }], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
28759
- getPriceAtTick: (args: readonly [number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
29212
+ getPriceAtTick: (args: readonly [number], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
28760
29213
  readonly type: "function";
28761
29214
  readonly name: "batchGetAmount0ForLiquidity";
28762
29215
  readonly inputs: readonly [{
@@ -30012,5 +30465,5 @@ declare const useApproval: () => {
30012
30465
  reset: () => void;
30013
30466
  };
30014
30467
  //#endregion
30015
- export { LiquidityBlockData, OptionData, TimelockMarketProvider, UniswapPoolData, batchGetAmountsFromLiquidity, useActiveUserOptions, useApproval, useBurnLiquidity, useClosedUserOptions, useCurrentMarket, useCurrentPrice, useCurrentTick, useExerciseOption, useExtendOption, useLens, useLiquidityBlocks, useMarketData, useMaxPositionSize, useMintLiquidity, useMintOption, useOptionPnl, useOptionPremium, usePoolData, usePriceAtTick, usePriceHistory, useSetOperatorPerms, useTimelockConfig, useUserOperators, useVaultData, useVaultTVL };
30468
+ export { LiquidityBlockData, OptionData, OptionTimelineData, TimelockMarketProvider, UniswapPoolData, batchGetAmountsFromLiquidity, useActiveUserOptions, useApproval, useBurnLiquidity, useClosedUserOptions, useCurrentMarket, useCurrentPrice, useCurrentTick, useExerciseOption, useExtendOption, useLens, useLiquidityBlocks, useMarketData, useMaxPositionSize, useMintLiquidity, useMintOption, useOptionPnl, useOptionPremium, useOptionTimeline, usePoolData, usePriceAtTick, usePriceHistory, useSetOperatorPerms, useTimelockConfig, useUserOperators, useVaultData, useVaultTVL };
30016
30469
  //# sourceMappingURL=client.d.ts.map