timelock-sdk 0.0.34 → 0.0.36

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,9 +1,10 @@
1
1
  import "./uniswapMathLens-MrB_VfJB.js";
2
- import { Amount, TimelockMarketData, UniswapMathLens } from "./index-CRhFaRiq.js";
3
- import * as viem249 from "viem";
2
+ import { Amount, TimelockMarketData, UniswapMathLens } from "./index-B20z73_3.js";
3
+ import * as viem0 from "viem";
4
4
  import { Address } from "viem";
5
5
  import React, { ReactNode } from "react";
6
6
  import { GraphQLClient, RequestOptions } from "graphql-request";
7
+ import * as _tanstack_react_query0 from "@tanstack/react-query";
7
8
  import { NonUndefinedGuard } from "@tanstack/react-query";
8
9
  import "graphql";
9
10
  import * as _wagmi_core0 from "@wagmi/core";
@@ -61,10 +62,12 @@ type GetActiveUserOptionsQuery = {
61
62
  UserOption: Array<{
62
63
  __typename: 'UserOption';
63
64
  id: string;
65
+ optionId: any;
64
66
  ownerAddr: string;
65
67
  optionType: any;
66
68
  strikeTick: number;
67
69
  entryTick: number;
70
+ startTick: number;
68
71
  strikePrice: any;
69
72
  entryPrice: any;
70
73
  expiresAt: number;
@@ -95,10 +98,12 @@ type GetClosedUserOptionsQuery = {
95
98
  UserOption: Array<{
96
99
  __typename: 'UserOption';
97
100
  id: string;
101
+ optionId: any;
98
102
  ownerAddr: string;
99
103
  optionType: any;
100
104
  strikeTick: number;
101
105
  entryTick: number;
106
+ startTick: number;
102
107
  strikePrice: any;
103
108
  entryPrice: any;
104
109
  expiresAt: number;
@@ -172,72 +177,6 @@ declare const TimelockMarketProvider: ({
172
177
  declare const useCurrentMarket: () => Partial<TimelockMarketData>;
173
178
  declare const useTimelockConfig: () => TimelockMarketContextValue;
174
179
  //#endregion
175
- //#region src/hooks/market/useExerciseOption.d.ts
176
- declare const useExerciseOption: (marketAddr?: Address) => {
177
- exerciseOption: (optionId: bigint, liquidities: readonly bigint[]) => Promise<`0x${string}`>;
178
- hash: `0x${string}` | undefined;
179
- isPending: boolean;
180
- isConfirming: boolean;
181
- isSuccess: boolean;
182
- error: _wagmi_core0.WriteContractErrorType | null;
183
- isLoading: boolean;
184
- };
185
- //#endregion
186
- //#region src/hooks/market/useMarketData.d.ts
187
- declare const useMarketData: (marketAddr?: Address) => Partial<NonUndefinedGuard<{
188
- pool: Address;
189
- vault: Address;
190
- optionAsset: Address;
191
- payoutAsset: Address;
192
- optionsCount: bigint;
193
- tradersCount: bigint;
194
- __typename: "TimelockMarket";
195
- id: string;
196
- tickSpacing: number;
197
- optionAssetIsToken0: boolean;
198
- optionAssetDecimals: number;
199
- payoutAssetDecimals: number;
200
- optionAssetSymbol: string;
201
- payoutAssetSymbol: string;
202
- optionAssetName: string;
203
- payoutAssetName: string;
204
- } | undefined>>;
205
- //#endregion
206
- //#region src/hooks/market/useMaxPositionSize.d.ts
207
- declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?: number, maxBorrowableRange?: number) => {
208
- maxCallSize: Amount | undefined;
209
- maxPutSize: Amount | undefined;
210
- refetch: () => void;
211
- };
212
- //#endregion
213
- //#region src/hooks/market/useMintOption.d.ts
214
- declare const useMintOption: (marketAddr?: Address) => {
215
- mintOption: (optionType: "CALL" | "PUT", amount: bigint, duration: number, strikeTick?: number) => Promise<`0x${string}`>;
216
- hash: `0x${string}` | undefined;
217
- isPending: boolean;
218
- isConfirming: boolean;
219
- isSuccess: boolean;
220
- error: _wagmi_core0.WriteContractErrorType | null;
221
- isLoading: boolean;
222
- };
223
- //#endregion
224
- //#region src/hooks/market/useOptionPnl.d.ts
225
- declare const useOptionPnl: (optionData: {
226
- marketAddr: Address;
227
- optionType: "CALL" | "PUT";
228
- positionSizeCurrent: bigint;
229
- entryPrice: bigint;
230
- }) => {
231
- unrealizedPayout?: undefined;
232
- displayPnl?: undefined;
233
- } | {
234
- unrealizedPayout: Amount;
235
- displayPnl: Amount;
236
- };
237
- //#endregion
238
- //#region src/hooks/market/useOptionPremium.d.ts
239
- declare const useOptionPremium: (marketAddr: Address | undefined, optionType: "CALL" | "PUT", optionAmount: bigint, duration: number, strikeTick?: number) => Amount | undefined;
240
- //#endregion
241
180
  //#region src/hooks/market/useUserOptions.d.ts
242
181
  type OptionData = ReturnType<typeof useUserOptions>['data'][0];
243
182
  declare const useUserOptions: (user?: string, active?: boolean) => {
@@ -264,7 +203,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
264
203
  isStale: boolean;
265
204
  isEnabled: boolean;
266
205
  refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
267
- id: bigint;
206
+ optionId: bigint;
268
207
  marketAddr: Address;
269
208
  optionType: "CALL" | "PUT";
270
209
  createdAt: Date;
@@ -278,9 +217,11 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
278
217
  strikePrice: bigint;
279
218
  entryPrice: bigint;
280
219
  __typename: "UserOption";
220
+ id: string;
281
221
  ownerAddr: string;
282
222
  strikeTick: number;
283
223
  entryTick: number;
224
+ startTick: number;
284
225
  fullyExercised: boolean;
285
226
  exerciseEvents: Array<{
286
227
  __typename: "ExerciseOptionEvent";
@@ -293,7 +234,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
293
234
  }[], Error>>;
294
235
  fetchStatus: _tanstack_query_core0.FetchStatus;
295
236
  promise: Promise<{
296
- id: bigint;
237
+ optionId: bigint;
297
238
  marketAddr: Address;
298
239
  optionType: "CALL" | "PUT";
299
240
  createdAt: Date;
@@ -307,9 +248,11 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
307
248
  strikePrice: bigint;
308
249
  entryPrice: bigint;
309
250
  __typename: "UserOption";
251
+ id: string;
310
252
  ownerAddr: string;
311
253
  strikeTick: number;
312
254
  entryTick: number;
255
+ startTick: number;
313
256
  fullyExercised: boolean;
314
257
  exerciseEvents: Array<{
315
258
  __typename: "ExerciseOptionEvent";
@@ -321,7 +264,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
321
264
  } | null;
322
265
  }[]>;
323
266
  data: {
324
- id: bigint;
267
+ optionId: bigint;
325
268
  marketAddr: Address;
326
269
  optionType: "CALL" | "PUT";
327
270
  createdAt: Date;
@@ -335,9 +278,11 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
335
278
  strikePrice: bigint;
336
279
  entryPrice: bigint;
337
280
  __typename: "UserOption";
281
+ id: string;
338
282
  ownerAddr: string;
339
283
  strikeTick: number;
340
284
  entryTick: number;
285
+ startTick: number;
341
286
  fullyExercised: boolean;
342
287
  exerciseEvents: Array<{
343
288
  __typename: "ExerciseOptionEvent";
@@ -372,7 +317,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
372
317
  isStale: boolean;
373
318
  isEnabled: boolean;
374
319
  refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
375
- id: bigint;
320
+ optionId: bigint;
376
321
  marketAddr: Address;
377
322
  optionType: "CALL" | "PUT";
378
323
  createdAt: Date;
@@ -386,9 +331,11 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
386
331
  strikePrice: bigint;
387
332
  entryPrice: bigint;
388
333
  __typename: "UserOption";
334
+ id: string;
389
335
  ownerAddr: string;
390
336
  strikeTick: number;
391
337
  entryTick: number;
338
+ startTick: number;
392
339
  fullyExercised: boolean;
393
340
  exerciseEvents: Array<{
394
341
  __typename: "ExerciseOptionEvent";
@@ -401,7 +348,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
401
348
  }[], Error>>;
402
349
  fetchStatus: _tanstack_query_core0.FetchStatus;
403
350
  promise: Promise<{
404
- id: bigint;
351
+ optionId: bigint;
405
352
  marketAddr: Address;
406
353
  optionType: "CALL" | "PUT";
407
354
  createdAt: Date;
@@ -415,9 +362,11 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
415
362
  strikePrice: bigint;
416
363
  entryPrice: bigint;
417
364
  __typename: "UserOption";
365
+ id: string;
418
366
  ownerAddr: string;
419
367
  strikeTick: number;
420
368
  entryTick: number;
369
+ startTick: number;
421
370
  fullyExercised: boolean;
422
371
  exerciseEvents: Array<{
423
372
  __typename: "ExerciseOptionEvent";
@@ -429,7 +378,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
429
378
  } | null;
430
379
  }[]>;
431
380
  data: {
432
- id: bigint;
381
+ optionId: bigint;
433
382
  marketAddr: Address;
434
383
  optionType: "CALL" | "PUT";
435
384
  createdAt: Date;
@@ -443,9 +392,11 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
443
392
  strikePrice: bigint;
444
393
  entryPrice: bigint;
445
394
  __typename: "UserOption";
395
+ id: string;
446
396
  ownerAddr: string;
447
397
  strikeTick: number;
448
398
  entryTick: number;
399
+ startTick: number;
449
400
  fullyExercised: boolean;
450
401
  exerciseEvents: Array<{
451
402
  __typename: "ExerciseOptionEvent";
@@ -480,7 +431,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
480
431
  isStale: boolean;
481
432
  isEnabled: boolean;
482
433
  refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
483
- id: bigint;
434
+ optionId: bigint;
484
435
  marketAddr: Address;
485
436
  optionType: "CALL" | "PUT";
486
437
  createdAt: Date;
@@ -494,9 +445,11 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
494
445
  strikePrice: bigint;
495
446
  entryPrice: bigint;
496
447
  __typename: "UserOption";
448
+ id: string;
497
449
  ownerAddr: string;
498
450
  strikeTick: number;
499
451
  entryTick: number;
452
+ startTick: number;
500
453
  fullyExercised: boolean;
501
454
  exerciseEvents: Array<{
502
455
  __typename: "ExerciseOptionEvent";
@@ -509,7 +462,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
509
462
  }[], Error>>;
510
463
  fetchStatus: _tanstack_query_core0.FetchStatus;
511
464
  promise: Promise<{
512
- id: bigint;
465
+ optionId: bigint;
513
466
  marketAddr: Address;
514
467
  optionType: "CALL" | "PUT";
515
468
  createdAt: Date;
@@ -523,9 +476,11 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
523
476
  strikePrice: bigint;
524
477
  entryPrice: bigint;
525
478
  __typename: "UserOption";
479
+ id: string;
526
480
  ownerAddr: string;
527
481
  strikeTick: number;
528
482
  entryTick: number;
483
+ startTick: number;
529
484
  fullyExercised: boolean;
530
485
  exerciseEvents: Array<{
531
486
  __typename: "ExerciseOptionEvent";
@@ -537,7 +492,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
537
492
  } | null;
538
493
  }[]>;
539
494
  data: {
540
- id: bigint;
495
+ optionId: bigint;
541
496
  marketAddr: Address;
542
497
  optionType: "CALL" | "PUT";
543
498
  createdAt: Date;
@@ -551,9 +506,11 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
551
506
  strikePrice: bigint;
552
507
  entryPrice: bigint;
553
508
  __typename: "UserOption";
509
+ id: string;
554
510
  ownerAddr: string;
555
511
  strikeTick: number;
556
512
  entryTick: number;
513
+ startTick: number;
557
514
  fullyExercised: boolean;
558
515
  exerciseEvents: Array<{
559
516
  __typename: "ExerciseOptionEvent";
@@ -588,7 +545,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
588
545
  isStale: boolean;
589
546
  isEnabled: boolean;
590
547
  refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
591
- id: bigint;
548
+ optionId: bigint;
592
549
  marketAddr: Address;
593
550
  optionType: "CALL" | "PUT";
594
551
  createdAt: Date;
@@ -602,9 +559,11 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
602
559
  strikePrice: bigint;
603
560
  entryPrice: bigint;
604
561
  __typename: "UserOption";
562
+ id: string;
605
563
  ownerAddr: string;
606
564
  strikeTick: number;
607
565
  entryTick: number;
566
+ startTick: number;
608
567
  fullyExercised: boolean;
609
568
  exerciseEvents: Array<{
610
569
  __typename: "ExerciseOptionEvent";
@@ -617,7 +576,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
617
576
  }[], Error>>;
618
577
  fetchStatus: _tanstack_query_core0.FetchStatus;
619
578
  promise: Promise<{
620
- id: bigint;
579
+ optionId: bigint;
621
580
  marketAddr: Address;
622
581
  optionType: "CALL" | "PUT";
623
582
  createdAt: Date;
@@ -631,9 +590,11 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
631
590
  strikePrice: bigint;
632
591
  entryPrice: bigint;
633
592
  __typename: "UserOption";
593
+ id: string;
634
594
  ownerAddr: string;
635
595
  strikeTick: number;
636
596
  entryTick: number;
597
+ startTick: number;
637
598
  fullyExercised: boolean;
638
599
  exerciseEvents: Array<{
639
600
  __typename: "ExerciseOptionEvent";
@@ -645,7 +606,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
645
606
  } | null;
646
607
  }[]>;
647
608
  data: {
648
- id: bigint;
609
+ optionId: bigint;
649
610
  marketAddr: Address;
650
611
  optionType: "CALL" | "PUT";
651
612
  createdAt: Date;
@@ -659,9 +620,11 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
659
620
  strikePrice: bigint;
660
621
  entryPrice: bigint;
661
622
  __typename: "UserOption";
623
+ id: string;
662
624
  ownerAddr: string;
663
625
  strikeTick: number;
664
626
  entryTick: number;
627
+ startTick: number;
665
628
  fullyExercised: boolean;
666
629
  exerciseEvents: Array<{
667
630
  __typename: "ExerciseOptionEvent";
@@ -696,7 +659,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
696
659
  isStale: boolean;
697
660
  isEnabled: boolean;
698
661
  refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
699
- id: bigint;
662
+ optionId: bigint;
700
663
  marketAddr: Address;
701
664
  optionType: "CALL" | "PUT";
702
665
  createdAt: Date;
@@ -710,9 +673,11 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
710
673
  strikePrice: bigint;
711
674
  entryPrice: bigint;
712
675
  __typename: "UserOption";
676
+ id: string;
713
677
  ownerAddr: string;
714
678
  strikeTick: number;
715
679
  entryTick: number;
680
+ startTick: number;
716
681
  fullyExercised: boolean;
717
682
  exerciseEvents: Array<{
718
683
  __typename: "ExerciseOptionEvent";
@@ -725,7 +690,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
725
690
  }[], Error>>;
726
691
  fetchStatus: _tanstack_query_core0.FetchStatus;
727
692
  promise: Promise<{
728
- id: bigint;
693
+ optionId: bigint;
729
694
  marketAddr: Address;
730
695
  optionType: "CALL" | "PUT";
731
696
  createdAt: Date;
@@ -739,9 +704,11 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
739
704
  strikePrice: bigint;
740
705
  entryPrice: bigint;
741
706
  __typename: "UserOption";
707
+ id: string;
742
708
  ownerAddr: string;
743
709
  strikeTick: number;
744
710
  entryTick: number;
711
+ startTick: number;
745
712
  fullyExercised: boolean;
746
713
  exerciseEvents: Array<{
747
714
  __typename: "ExerciseOptionEvent";
@@ -753,7 +720,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
753
720
  } | null;
754
721
  }[]>;
755
722
  data: {
756
- id: bigint;
723
+ optionId: bigint;
757
724
  marketAddr: Address;
758
725
  optionType: "CALL" | "PUT";
759
726
  createdAt: Date;
@@ -767,9 +734,11 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
767
734
  strikePrice: bigint;
768
735
  entryPrice: bigint;
769
736
  __typename: "UserOption";
737
+ id: string;
770
738
  ownerAddr: string;
771
739
  strikeTick: number;
772
740
  entryTick: number;
741
+ startTick: number;
773
742
  fullyExercised: boolean;
774
743
  exerciseEvents: Array<{
775
744
  __typename: "ExerciseOptionEvent";
@@ -804,7 +773,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
804
773
  isStale: boolean;
805
774
  isEnabled: boolean;
806
775
  refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
807
- id: bigint;
776
+ optionId: bigint;
808
777
  marketAddr: Address;
809
778
  optionType: "CALL" | "PUT";
810
779
  createdAt: Date;
@@ -818,9 +787,11 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
818
787
  strikePrice: bigint;
819
788
  entryPrice: bigint;
820
789
  __typename: "UserOption";
790
+ id: string;
821
791
  ownerAddr: string;
822
792
  strikeTick: number;
823
793
  entryTick: number;
794
+ startTick: number;
824
795
  fullyExercised: boolean;
825
796
  exerciseEvents: Array<{
826
797
  __typename: "ExerciseOptionEvent";
@@ -833,7 +804,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
833
804
  }[], Error>>;
834
805
  fetchStatus: _tanstack_query_core0.FetchStatus;
835
806
  promise: Promise<{
836
- id: bigint;
807
+ optionId: bigint;
837
808
  marketAddr: Address;
838
809
  optionType: "CALL" | "PUT";
839
810
  createdAt: Date;
@@ -847,9 +818,11 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
847
818
  strikePrice: bigint;
848
819
  entryPrice: bigint;
849
820
  __typename: "UserOption";
821
+ id: string;
850
822
  ownerAddr: string;
851
823
  strikeTick: number;
852
824
  entryTick: number;
825
+ startTick: number;
853
826
  fullyExercised: boolean;
854
827
  exerciseEvents: Array<{
855
828
  __typename: "ExerciseOptionEvent";
@@ -861,7 +834,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
861
834
  } | null;
862
835
  }[]>;
863
836
  data: {
864
- id: bigint;
837
+ optionId: bigint;
865
838
  marketAddr: Address;
866
839
  optionType: "CALL" | "PUT";
867
840
  createdAt: Date;
@@ -875,9 +848,11 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
875
848
  strikePrice: bigint;
876
849
  entryPrice: bigint;
877
850
  __typename: "UserOption";
851
+ id: string;
878
852
  ownerAddr: string;
879
853
  strikeTick: number;
880
854
  entryTick: number;
855
+ startTick: number;
881
856
  fullyExercised: boolean;
882
857
  exerciseEvents: Array<{
883
858
  __typename: "ExerciseOptionEvent";
@@ -913,7 +888,7 @@ declare const useActiveUserOptions: (user?: string) => {
913
888
  isStale: boolean;
914
889
  isEnabled: boolean;
915
890
  refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
916
- id: bigint;
891
+ optionId: bigint;
917
892
  marketAddr: Address;
918
893
  optionType: "CALL" | "PUT";
919
894
  createdAt: Date;
@@ -927,9 +902,11 @@ declare const useActiveUserOptions: (user?: string) => {
927
902
  strikePrice: bigint;
928
903
  entryPrice: bigint;
929
904
  __typename: "UserOption";
905
+ id: string;
930
906
  ownerAddr: string;
931
907
  strikeTick: number;
932
908
  entryTick: number;
909
+ startTick: number;
933
910
  fullyExercised: boolean;
934
911
  exerciseEvents: Array<{
935
912
  __typename: "ExerciseOptionEvent";
@@ -942,7 +919,7 @@ declare const useActiveUserOptions: (user?: string) => {
942
919
  }[], Error>>;
943
920
  fetchStatus: _tanstack_query_core0.FetchStatus;
944
921
  promise: Promise<{
945
- id: bigint;
922
+ optionId: bigint;
946
923
  marketAddr: Address;
947
924
  optionType: "CALL" | "PUT";
948
925
  createdAt: Date;
@@ -956,9 +933,11 @@ declare const useActiveUserOptions: (user?: string) => {
956
933
  strikePrice: bigint;
957
934
  entryPrice: bigint;
958
935
  __typename: "UserOption";
936
+ id: string;
959
937
  ownerAddr: string;
960
938
  strikeTick: number;
961
939
  entryTick: number;
940
+ startTick: number;
962
941
  fullyExercised: boolean;
963
942
  exerciseEvents: Array<{
964
943
  __typename: "ExerciseOptionEvent";
@@ -970,7 +949,7 @@ declare const useActiveUserOptions: (user?: string) => {
970
949
  } | null;
971
950
  }[]>;
972
951
  data: {
973
- id: bigint;
952
+ optionId: bigint;
974
953
  marketAddr: Address;
975
954
  optionType: "CALL" | "PUT";
976
955
  createdAt: Date;
@@ -984,9 +963,11 @@ declare const useActiveUserOptions: (user?: string) => {
984
963
  strikePrice: bigint;
985
964
  entryPrice: bigint;
986
965
  __typename: "UserOption";
966
+ id: string;
987
967
  ownerAddr: string;
988
968
  strikeTick: number;
989
969
  entryTick: number;
970
+ startTick: number;
990
971
  fullyExercised: boolean;
991
972
  exerciseEvents: Array<{
992
973
  __typename: "ExerciseOptionEvent";
@@ -1021,7 +1002,7 @@ declare const useActiveUserOptions: (user?: string) => {
1021
1002
  isStale: boolean;
1022
1003
  isEnabled: boolean;
1023
1004
  refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1024
- id: bigint;
1005
+ optionId: bigint;
1025
1006
  marketAddr: Address;
1026
1007
  optionType: "CALL" | "PUT";
1027
1008
  createdAt: Date;
@@ -1035,9 +1016,11 @@ declare const useActiveUserOptions: (user?: string) => {
1035
1016
  strikePrice: bigint;
1036
1017
  entryPrice: bigint;
1037
1018
  __typename: "UserOption";
1019
+ id: string;
1038
1020
  ownerAddr: string;
1039
1021
  strikeTick: number;
1040
1022
  entryTick: number;
1023
+ startTick: number;
1041
1024
  fullyExercised: boolean;
1042
1025
  exerciseEvents: Array<{
1043
1026
  __typename: "ExerciseOptionEvent";
@@ -1050,7 +1033,7 @@ declare const useActiveUserOptions: (user?: string) => {
1050
1033
  }[], Error>>;
1051
1034
  fetchStatus: _tanstack_query_core0.FetchStatus;
1052
1035
  promise: Promise<{
1053
- id: bigint;
1036
+ optionId: bigint;
1054
1037
  marketAddr: Address;
1055
1038
  optionType: "CALL" | "PUT";
1056
1039
  createdAt: Date;
@@ -1064,9 +1047,11 @@ declare const useActiveUserOptions: (user?: string) => {
1064
1047
  strikePrice: bigint;
1065
1048
  entryPrice: bigint;
1066
1049
  __typename: "UserOption";
1050
+ id: string;
1067
1051
  ownerAddr: string;
1068
1052
  strikeTick: number;
1069
1053
  entryTick: number;
1054
+ startTick: number;
1070
1055
  fullyExercised: boolean;
1071
1056
  exerciseEvents: Array<{
1072
1057
  __typename: "ExerciseOptionEvent";
@@ -1078,7 +1063,7 @@ declare const useActiveUserOptions: (user?: string) => {
1078
1063
  } | null;
1079
1064
  }[]>;
1080
1065
  data: {
1081
- id: bigint;
1066
+ optionId: bigint;
1082
1067
  marketAddr: Address;
1083
1068
  optionType: "CALL" | "PUT";
1084
1069
  createdAt: Date;
@@ -1092,9 +1077,11 @@ declare const useActiveUserOptions: (user?: string) => {
1092
1077
  strikePrice: bigint;
1093
1078
  entryPrice: bigint;
1094
1079
  __typename: "UserOption";
1080
+ id: string;
1095
1081
  ownerAddr: string;
1096
1082
  strikeTick: number;
1097
1083
  entryTick: number;
1084
+ startTick: number;
1098
1085
  fullyExercised: boolean;
1099
1086
  exerciseEvents: Array<{
1100
1087
  __typename: "ExerciseOptionEvent";
@@ -1129,7 +1116,7 @@ declare const useActiveUserOptions: (user?: string) => {
1129
1116
  isStale: boolean;
1130
1117
  isEnabled: boolean;
1131
1118
  refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1132
- id: bigint;
1119
+ optionId: bigint;
1133
1120
  marketAddr: Address;
1134
1121
  optionType: "CALL" | "PUT";
1135
1122
  createdAt: Date;
@@ -1143,9 +1130,11 @@ declare const useActiveUserOptions: (user?: string) => {
1143
1130
  strikePrice: bigint;
1144
1131
  entryPrice: bigint;
1145
1132
  __typename: "UserOption";
1133
+ id: string;
1146
1134
  ownerAddr: string;
1147
1135
  strikeTick: number;
1148
1136
  entryTick: number;
1137
+ startTick: number;
1149
1138
  fullyExercised: boolean;
1150
1139
  exerciseEvents: Array<{
1151
1140
  __typename: "ExerciseOptionEvent";
@@ -1158,7 +1147,7 @@ declare const useActiveUserOptions: (user?: string) => {
1158
1147
  }[], Error>>;
1159
1148
  fetchStatus: _tanstack_query_core0.FetchStatus;
1160
1149
  promise: Promise<{
1161
- id: bigint;
1150
+ optionId: bigint;
1162
1151
  marketAddr: Address;
1163
1152
  optionType: "CALL" | "PUT";
1164
1153
  createdAt: Date;
@@ -1172,9 +1161,11 @@ declare const useActiveUserOptions: (user?: string) => {
1172
1161
  strikePrice: bigint;
1173
1162
  entryPrice: bigint;
1174
1163
  __typename: "UserOption";
1164
+ id: string;
1175
1165
  ownerAddr: string;
1176
1166
  strikeTick: number;
1177
1167
  entryTick: number;
1168
+ startTick: number;
1178
1169
  fullyExercised: boolean;
1179
1170
  exerciseEvents: Array<{
1180
1171
  __typename: "ExerciseOptionEvent";
@@ -1186,7 +1177,7 @@ declare const useActiveUserOptions: (user?: string) => {
1186
1177
  } | null;
1187
1178
  }[]>;
1188
1179
  data: {
1189
- id: bigint;
1180
+ optionId: bigint;
1190
1181
  marketAddr: Address;
1191
1182
  optionType: "CALL" | "PUT";
1192
1183
  createdAt: Date;
@@ -1200,9 +1191,11 @@ declare const useActiveUserOptions: (user?: string) => {
1200
1191
  strikePrice: bigint;
1201
1192
  entryPrice: bigint;
1202
1193
  __typename: "UserOption";
1194
+ id: string;
1203
1195
  ownerAddr: string;
1204
1196
  strikeTick: number;
1205
1197
  entryTick: number;
1198
+ startTick: number;
1206
1199
  fullyExercised: boolean;
1207
1200
  exerciseEvents: Array<{
1208
1201
  __typename: "ExerciseOptionEvent";
@@ -1237,7 +1230,7 @@ declare const useActiveUserOptions: (user?: string) => {
1237
1230
  isStale: boolean;
1238
1231
  isEnabled: boolean;
1239
1232
  refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1240
- id: bigint;
1233
+ optionId: bigint;
1241
1234
  marketAddr: Address;
1242
1235
  optionType: "CALL" | "PUT";
1243
1236
  createdAt: Date;
@@ -1251,9 +1244,11 @@ declare const useActiveUserOptions: (user?: string) => {
1251
1244
  strikePrice: bigint;
1252
1245
  entryPrice: bigint;
1253
1246
  __typename: "UserOption";
1247
+ id: string;
1254
1248
  ownerAddr: string;
1255
1249
  strikeTick: number;
1256
1250
  entryTick: number;
1251
+ startTick: number;
1257
1252
  fullyExercised: boolean;
1258
1253
  exerciseEvents: Array<{
1259
1254
  __typename: "ExerciseOptionEvent";
@@ -1266,7 +1261,7 @@ declare const useActiveUserOptions: (user?: string) => {
1266
1261
  }[], Error>>;
1267
1262
  fetchStatus: _tanstack_query_core0.FetchStatus;
1268
1263
  promise: Promise<{
1269
- id: bigint;
1264
+ optionId: bigint;
1270
1265
  marketAddr: Address;
1271
1266
  optionType: "CALL" | "PUT";
1272
1267
  createdAt: Date;
@@ -1280,9 +1275,11 @@ declare const useActiveUserOptions: (user?: string) => {
1280
1275
  strikePrice: bigint;
1281
1276
  entryPrice: bigint;
1282
1277
  __typename: "UserOption";
1278
+ id: string;
1283
1279
  ownerAddr: string;
1284
1280
  strikeTick: number;
1285
1281
  entryTick: number;
1282
+ startTick: number;
1286
1283
  fullyExercised: boolean;
1287
1284
  exerciseEvents: Array<{
1288
1285
  __typename: "ExerciseOptionEvent";
@@ -1294,7 +1291,7 @@ declare const useActiveUserOptions: (user?: string) => {
1294
1291
  } | null;
1295
1292
  }[]>;
1296
1293
  data: {
1297
- id: bigint;
1294
+ optionId: bigint;
1298
1295
  marketAddr: Address;
1299
1296
  optionType: "CALL" | "PUT";
1300
1297
  createdAt: Date;
@@ -1308,9 +1305,11 @@ declare const useActiveUserOptions: (user?: string) => {
1308
1305
  strikePrice: bigint;
1309
1306
  entryPrice: bigint;
1310
1307
  __typename: "UserOption";
1308
+ id: string;
1311
1309
  ownerAddr: string;
1312
1310
  strikeTick: number;
1313
1311
  entryTick: number;
1312
+ startTick: number;
1314
1313
  fullyExercised: boolean;
1315
1314
  exerciseEvents: Array<{
1316
1315
  __typename: "ExerciseOptionEvent";
@@ -1345,7 +1344,7 @@ declare const useActiveUserOptions: (user?: string) => {
1345
1344
  isStale: boolean;
1346
1345
  isEnabled: boolean;
1347
1346
  refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1348
- id: bigint;
1347
+ optionId: bigint;
1349
1348
  marketAddr: Address;
1350
1349
  optionType: "CALL" | "PUT";
1351
1350
  createdAt: Date;
@@ -1359,9 +1358,11 @@ declare const useActiveUserOptions: (user?: string) => {
1359
1358
  strikePrice: bigint;
1360
1359
  entryPrice: bigint;
1361
1360
  __typename: "UserOption";
1361
+ id: string;
1362
1362
  ownerAddr: string;
1363
1363
  strikeTick: number;
1364
1364
  entryTick: number;
1365
+ startTick: number;
1365
1366
  fullyExercised: boolean;
1366
1367
  exerciseEvents: Array<{
1367
1368
  __typename: "ExerciseOptionEvent";
@@ -1374,7 +1375,7 @@ declare const useActiveUserOptions: (user?: string) => {
1374
1375
  }[], Error>>;
1375
1376
  fetchStatus: _tanstack_query_core0.FetchStatus;
1376
1377
  promise: Promise<{
1377
- id: bigint;
1378
+ optionId: bigint;
1378
1379
  marketAddr: Address;
1379
1380
  optionType: "CALL" | "PUT";
1380
1381
  createdAt: Date;
@@ -1388,9 +1389,11 @@ declare const useActiveUserOptions: (user?: string) => {
1388
1389
  strikePrice: bigint;
1389
1390
  entryPrice: bigint;
1390
1391
  __typename: "UserOption";
1392
+ id: string;
1391
1393
  ownerAddr: string;
1392
1394
  strikeTick: number;
1393
1395
  entryTick: number;
1396
+ startTick: number;
1394
1397
  fullyExercised: boolean;
1395
1398
  exerciseEvents: Array<{
1396
1399
  __typename: "ExerciseOptionEvent";
@@ -1402,7 +1405,7 @@ declare const useActiveUserOptions: (user?: string) => {
1402
1405
  } | null;
1403
1406
  }[]>;
1404
1407
  data: {
1405
- id: bigint;
1408
+ optionId: bigint;
1406
1409
  marketAddr: Address;
1407
1410
  optionType: "CALL" | "PUT";
1408
1411
  createdAt: Date;
@@ -1416,9 +1419,11 @@ declare const useActiveUserOptions: (user?: string) => {
1416
1419
  strikePrice: bigint;
1417
1420
  entryPrice: bigint;
1418
1421
  __typename: "UserOption";
1422
+ id: string;
1419
1423
  ownerAddr: string;
1420
1424
  strikeTick: number;
1421
1425
  entryTick: number;
1426
+ startTick: number;
1422
1427
  fullyExercised: boolean;
1423
1428
  exerciseEvents: Array<{
1424
1429
  __typename: "ExerciseOptionEvent";
@@ -1453,7 +1458,7 @@ declare const useActiveUserOptions: (user?: string) => {
1453
1458
  isStale: boolean;
1454
1459
  isEnabled: boolean;
1455
1460
  refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1456
- id: bigint;
1461
+ optionId: bigint;
1457
1462
  marketAddr: Address;
1458
1463
  optionType: "CALL" | "PUT";
1459
1464
  createdAt: Date;
@@ -1467,9 +1472,11 @@ declare const useActiveUserOptions: (user?: string) => {
1467
1472
  strikePrice: bigint;
1468
1473
  entryPrice: bigint;
1469
1474
  __typename: "UserOption";
1475
+ id: string;
1470
1476
  ownerAddr: string;
1471
1477
  strikeTick: number;
1472
1478
  entryTick: number;
1479
+ startTick: number;
1473
1480
  fullyExercised: boolean;
1474
1481
  exerciseEvents: Array<{
1475
1482
  __typename: "ExerciseOptionEvent";
@@ -1482,7 +1489,7 @@ declare const useActiveUserOptions: (user?: string) => {
1482
1489
  }[], Error>>;
1483
1490
  fetchStatus: _tanstack_query_core0.FetchStatus;
1484
1491
  promise: Promise<{
1485
- id: bigint;
1492
+ optionId: bigint;
1486
1493
  marketAddr: Address;
1487
1494
  optionType: "CALL" | "PUT";
1488
1495
  createdAt: Date;
@@ -1496,9 +1503,11 @@ declare const useActiveUserOptions: (user?: string) => {
1496
1503
  strikePrice: bigint;
1497
1504
  entryPrice: bigint;
1498
1505
  __typename: "UserOption";
1506
+ id: string;
1499
1507
  ownerAddr: string;
1500
1508
  strikeTick: number;
1501
1509
  entryTick: number;
1510
+ startTick: number;
1502
1511
  fullyExercised: boolean;
1503
1512
  exerciseEvents: Array<{
1504
1513
  __typename: "ExerciseOptionEvent";
@@ -1510,7 +1519,7 @@ declare const useActiveUserOptions: (user?: string) => {
1510
1519
  } | null;
1511
1520
  }[]>;
1512
1521
  data: {
1513
- id: bigint;
1522
+ optionId: bigint;
1514
1523
  marketAddr: Address;
1515
1524
  optionType: "CALL" | "PUT";
1516
1525
  createdAt: Date;
@@ -1524,9 +1533,11 @@ declare const useActiveUserOptions: (user?: string) => {
1524
1533
  strikePrice: bigint;
1525
1534
  entryPrice: bigint;
1526
1535
  __typename: "UserOption";
1536
+ id: string;
1527
1537
  ownerAddr: string;
1528
1538
  strikeTick: number;
1529
1539
  entryTick: number;
1540
+ startTick: number;
1530
1541
  fullyExercised: boolean;
1531
1542
  exerciseEvents: Array<{
1532
1543
  __typename: "ExerciseOptionEvent";
@@ -1562,7 +1573,7 @@ declare const useClosedUserOptions: (user?: string) => {
1562
1573
  isStale: boolean;
1563
1574
  isEnabled: boolean;
1564
1575
  refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1565
- id: bigint;
1576
+ optionId: bigint;
1566
1577
  marketAddr: Address;
1567
1578
  optionType: "CALL" | "PUT";
1568
1579
  createdAt: Date;
@@ -1576,9 +1587,11 @@ declare const useClosedUserOptions: (user?: string) => {
1576
1587
  strikePrice: bigint;
1577
1588
  entryPrice: bigint;
1578
1589
  __typename: "UserOption";
1590
+ id: string;
1579
1591
  ownerAddr: string;
1580
1592
  strikeTick: number;
1581
1593
  entryTick: number;
1594
+ startTick: number;
1582
1595
  fullyExercised: boolean;
1583
1596
  exerciseEvents: Array<{
1584
1597
  __typename: "ExerciseOptionEvent";
@@ -1591,7 +1604,7 @@ declare const useClosedUserOptions: (user?: string) => {
1591
1604
  }[], Error>>;
1592
1605
  fetchStatus: _tanstack_query_core0.FetchStatus;
1593
1606
  promise: Promise<{
1594
- id: bigint;
1607
+ optionId: bigint;
1595
1608
  marketAddr: Address;
1596
1609
  optionType: "CALL" | "PUT";
1597
1610
  createdAt: Date;
@@ -1605,9 +1618,11 @@ declare const useClosedUserOptions: (user?: string) => {
1605
1618
  strikePrice: bigint;
1606
1619
  entryPrice: bigint;
1607
1620
  __typename: "UserOption";
1621
+ id: string;
1608
1622
  ownerAddr: string;
1609
1623
  strikeTick: number;
1610
1624
  entryTick: number;
1625
+ startTick: number;
1611
1626
  fullyExercised: boolean;
1612
1627
  exerciseEvents: Array<{
1613
1628
  __typename: "ExerciseOptionEvent";
@@ -1619,7 +1634,7 @@ declare const useClosedUserOptions: (user?: string) => {
1619
1634
  } | null;
1620
1635
  }[]>;
1621
1636
  data: {
1622
- id: bigint;
1637
+ optionId: bigint;
1623
1638
  marketAddr: Address;
1624
1639
  optionType: "CALL" | "PUT";
1625
1640
  createdAt: Date;
@@ -1633,9 +1648,11 @@ declare const useClosedUserOptions: (user?: string) => {
1633
1648
  strikePrice: bigint;
1634
1649
  entryPrice: bigint;
1635
1650
  __typename: "UserOption";
1651
+ id: string;
1636
1652
  ownerAddr: string;
1637
1653
  strikeTick: number;
1638
1654
  entryTick: number;
1655
+ startTick: number;
1639
1656
  fullyExercised: boolean;
1640
1657
  exerciseEvents: Array<{
1641
1658
  __typename: "ExerciseOptionEvent";
@@ -1670,7 +1687,7 @@ declare const useClosedUserOptions: (user?: string) => {
1670
1687
  isStale: boolean;
1671
1688
  isEnabled: boolean;
1672
1689
  refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1673
- id: bigint;
1690
+ optionId: bigint;
1674
1691
  marketAddr: Address;
1675
1692
  optionType: "CALL" | "PUT";
1676
1693
  createdAt: Date;
@@ -1684,9 +1701,11 @@ declare const useClosedUserOptions: (user?: string) => {
1684
1701
  strikePrice: bigint;
1685
1702
  entryPrice: bigint;
1686
1703
  __typename: "UserOption";
1704
+ id: string;
1687
1705
  ownerAddr: string;
1688
1706
  strikeTick: number;
1689
1707
  entryTick: number;
1708
+ startTick: number;
1690
1709
  fullyExercised: boolean;
1691
1710
  exerciseEvents: Array<{
1692
1711
  __typename: "ExerciseOptionEvent";
@@ -1699,7 +1718,7 @@ declare const useClosedUserOptions: (user?: string) => {
1699
1718
  }[], Error>>;
1700
1719
  fetchStatus: _tanstack_query_core0.FetchStatus;
1701
1720
  promise: Promise<{
1702
- id: bigint;
1721
+ optionId: bigint;
1703
1722
  marketAddr: Address;
1704
1723
  optionType: "CALL" | "PUT";
1705
1724
  createdAt: Date;
@@ -1713,9 +1732,11 @@ declare const useClosedUserOptions: (user?: string) => {
1713
1732
  strikePrice: bigint;
1714
1733
  entryPrice: bigint;
1715
1734
  __typename: "UserOption";
1735
+ id: string;
1716
1736
  ownerAddr: string;
1717
1737
  strikeTick: number;
1718
1738
  entryTick: number;
1739
+ startTick: number;
1719
1740
  fullyExercised: boolean;
1720
1741
  exerciseEvents: Array<{
1721
1742
  __typename: "ExerciseOptionEvent";
@@ -1727,7 +1748,7 @@ declare const useClosedUserOptions: (user?: string) => {
1727
1748
  } | null;
1728
1749
  }[]>;
1729
1750
  data: {
1730
- id: bigint;
1751
+ optionId: bigint;
1731
1752
  marketAddr: Address;
1732
1753
  optionType: "CALL" | "PUT";
1733
1754
  createdAt: Date;
@@ -1741,9 +1762,11 @@ declare const useClosedUserOptions: (user?: string) => {
1741
1762
  strikePrice: bigint;
1742
1763
  entryPrice: bigint;
1743
1764
  __typename: "UserOption";
1765
+ id: string;
1744
1766
  ownerAddr: string;
1745
1767
  strikeTick: number;
1746
1768
  entryTick: number;
1769
+ startTick: number;
1747
1770
  fullyExercised: boolean;
1748
1771
  exerciseEvents: Array<{
1749
1772
  __typename: "ExerciseOptionEvent";
@@ -1778,7 +1801,7 @@ declare const useClosedUserOptions: (user?: string) => {
1778
1801
  isStale: boolean;
1779
1802
  isEnabled: boolean;
1780
1803
  refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1781
- id: bigint;
1804
+ optionId: bigint;
1782
1805
  marketAddr: Address;
1783
1806
  optionType: "CALL" | "PUT";
1784
1807
  createdAt: Date;
@@ -1792,9 +1815,11 @@ declare const useClosedUserOptions: (user?: string) => {
1792
1815
  strikePrice: bigint;
1793
1816
  entryPrice: bigint;
1794
1817
  __typename: "UserOption";
1818
+ id: string;
1795
1819
  ownerAddr: string;
1796
1820
  strikeTick: number;
1797
1821
  entryTick: number;
1822
+ startTick: number;
1798
1823
  fullyExercised: boolean;
1799
1824
  exerciseEvents: Array<{
1800
1825
  __typename: "ExerciseOptionEvent";
@@ -1807,7 +1832,7 @@ declare const useClosedUserOptions: (user?: string) => {
1807
1832
  }[], Error>>;
1808
1833
  fetchStatus: _tanstack_query_core0.FetchStatus;
1809
1834
  promise: Promise<{
1810
- id: bigint;
1835
+ optionId: bigint;
1811
1836
  marketAddr: Address;
1812
1837
  optionType: "CALL" | "PUT";
1813
1838
  createdAt: Date;
@@ -1821,9 +1846,11 @@ declare const useClosedUserOptions: (user?: string) => {
1821
1846
  strikePrice: bigint;
1822
1847
  entryPrice: bigint;
1823
1848
  __typename: "UserOption";
1849
+ id: string;
1824
1850
  ownerAddr: string;
1825
1851
  strikeTick: number;
1826
1852
  entryTick: number;
1853
+ startTick: number;
1827
1854
  fullyExercised: boolean;
1828
1855
  exerciseEvents: Array<{
1829
1856
  __typename: "ExerciseOptionEvent";
@@ -1835,7 +1862,7 @@ declare const useClosedUserOptions: (user?: string) => {
1835
1862
  } | null;
1836
1863
  }[]>;
1837
1864
  data: {
1838
- id: bigint;
1865
+ optionId: bigint;
1839
1866
  marketAddr: Address;
1840
1867
  optionType: "CALL" | "PUT";
1841
1868
  createdAt: Date;
@@ -1849,9 +1876,11 @@ declare const useClosedUserOptions: (user?: string) => {
1849
1876
  strikePrice: bigint;
1850
1877
  entryPrice: bigint;
1851
1878
  __typename: "UserOption";
1879
+ id: string;
1852
1880
  ownerAddr: string;
1853
1881
  strikeTick: number;
1854
1882
  entryTick: number;
1883
+ startTick: number;
1855
1884
  fullyExercised: boolean;
1856
1885
  exerciseEvents: Array<{
1857
1886
  __typename: "ExerciseOptionEvent";
@@ -1886,7 +1915,7 @@ declare const useClosedUserOptions: (user?: string) => {
1886
1915
  isStale: boolean;
1887
1916
  isEnabled: boolean;
1888
1917
  refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1889
- id: bigint;
1918
+ optionId: bigint;
1890
1919
  marketAddr: Address;
1891
1920
  optionType: "CALL" | "PUT";
1892
1921
  createdAt: Date;
@@ -1900,9 +1929,11 @@ declare const useClosedUserOptions: (user?: string) => {
1900
1929
  strikePrice: bigint;
1901
1930
  entryPrice: bigint;
1902
1931
  __typename: "UserOption";
1932
+ id: string;
1903
1933
  ownerAddr: string;
1904
1934
  strikeTick: number;
1905
1935
  entryTick: number;
1936
+ startTick: number;
1906
1937
  fullyExercised: boolean;
1907
1938
  exerciseEvents: Array<{
1908
1939
  __typename: "ExerciseOptionEvent";
@@ -1915,7 +1946,7 @@ declare const useClosedUserOptions: (user?: string) => {
1915
1946
  }[], Error>>;
1916
1947
  fetchStatus: _tanstack_query_core0.FetchStatus;
1917
1948
  promise: Promise<{
1918
- id: bigint;
1949
+ optionId: bigint;
1919
1950
  marketAddr: Address;
1920
1951
  optionType: "CALL" | "PUT";
1921
1952
  createdAt: Date;
@@ -1929,9 +1960,11 @@ declare const useClosedUserOptions: (user?: string) => {
1929
1960
  strikePrice: bigint;
1930
1961
  entryPrice: bigint;
1931
1962
  __typename: "UserOption";
1963
+ id: string;
1932
1964
  ownerAddr: string;
1933
1965
  strikeTick: number;
1934
1966
  entryTick: number;
1967
+ startTick: number;
1935
1968
  fullyExercised: boolean;
1936
1969
  exerciseEvents: Array<{
1937
1970
  __typename: "ExerciseOptionEvent";
@@ -1943,7 +1976,7 @@ declare const useClosedUserOptions: (user?: string) => {
1943
1976
  } | null;
1944
1977
  }[]>;
1945
1978
  data: {
1946
- id: bigint;
1979
+ optionId: bigint;
1947
1980
  marketAddr: Address;
1948
1981
  optionType: "CALL" | "PUT";
1949
1982
  createdAt: Date;
@@ -1957,9 +1990,11 @@ declare const useClosedUserOptions: (user?: string) => {
1957
1990
  strikePrice: bigint;
1958
1991
  entryPrice: bigint;
1959
1992
  __typename: "UserOption";
1993
+ id: string;
1960
1994
  ownerAddr: string;
1961
1995
  strikeTick: number;
1962
1996
  entryTick: number;
1997
+ startTick: number;
1963
1998
  fullyExercised: boolean;
1964
1999
  exerciseEvents: Array<{
1965
2000
  __typename: "ExerciseOptionEvent";
@@ -1994,7 +2029,7 @@ declare const useClosedUserOptions: (user?: string) => {
1994
2029
  isStale: boolean;
1995
2030
  isEnabled: boolean;
1996
2031
  refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1997
- id: bigint;
2032
+ optionId: bigint;
1998
2033
  marketAddr: Address;
1999
2034
  optionType: "CALL" | "PUT";
2000
2035
  createdAt: Date;
@@ -2008,9 +2043,11 @@ declare const useClosedUserOptions: (user?: string) => {
2008
2043
  strikePrice: bigint;
2009
2044
  entryPrice: bigint;
2010
2045
  __typename: "UserOption";
2046
+ id: string;
2011
2047
  ownerAddr: string;
2012
2048
  strikeTick: number;
2013
2049
  entryTick: number;
2050
+ startTick: number;
2014
2051
  fullyExercised: boolean;
2015
2052
  exerciseEvents: Array<{
2016
2053
  __typename: "ExerciseOptionEvent";
@@ -2023,7 +2060,7 @@ declare const useClosedUserOptions: (user?: string) => {
2023
2060
  }[], Error>>;
2024
2061
  fetchStatus: _tanstack_query_core0.FetchStatus;
2025
2062
  promise: Promise<{
2026
- id: bigint;
2063
+ optionId: bigint;
2027
2064
  marketAddr: Address;
2028
2065
  optionType: "CALL" | "PUT";
2029
2066
  createdAt: Date;
@@ -2037,9 +2074,11 @@ declare const useClosedUserOptions: (user?: string) => {
2037
2074
  strikePrice: bigint;
2038
2075
  entryPrice: bigint;
2039
2076
  __typename: "UserOption";
2077
+ id: string;
2040
2078
  ownerAddr: string;
2041
2079
  strikeTick: number;
2042
2080
  entryTick: number;
2081
+ startTick: number;
2043
2082
  fullyExercised: boolean;
2044
2083
  exerciseEvents: Array<{
2045
2084
  __typename: "ExerciseOptionEvent";
@@ -2051,7 +2090,7 @@ declare const useClosedUserOptions: (user?: string) => {
2051
2090
  } | null;
2052
2091
  }[]>;
2053
2092
  data: {
2054
- id: bigint;
2093
+ optionId: bigint;
2055
2094
  marketAddr: Address;
2056
2095
  optionType: "CALL" | "PUT";
2057
2096
  createdAt: Date;
@@ -2065,9 +2104,11 @@ declare const useClosedUserOptions: (user?: string) => {
2065
2104
  strikePrice: bigint;
2066
2105
  entryPrice: bigint;
2067
2106
  __typename: "UserOption";
2107
+ id: string;
2068
2108
  ownerAddr: string;
2069
2109
  strikeTick: number;
2070
2110
  entryTick: number;
2111
+ startTick: number;
2071
2112
  fullyExercised: boolean;
2072
2113
  exerciseEvents: Array<{
2073
2114
  __typename: "ExerciseOptionEvent";
@@ -2102,7 +2143,7 @@ declare const useClosedUserOptions: (user?: string) => {
2102
2143
  isStale: boolean;
2103
2144
  isEnabled: boolean;
2104
2145
  refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
2105
- id: bigint;
2146
+ optionId: bigint;
2106
2147
  marketAddr: Address;
2107
2148
  optionType: "CALL" | "PUT";
2108
2149
  createdAt: Date;
@@ -2116,9 +2157,11 @@ declare const useClosedUserOptions: (user?: string) => {
2116
2157
  strikePrice: bigint;
2117
2158
  entryPrice: bigint;
2118
2159
  __typename: "UserOption";
2160
+ id: string;
2119
2161
  ownerAddr: string;
2120
2162
  strikeTick: number;
2121
2163
  entryTick: number;
2164
+ startTick: number;
2122
2165
  fullyExercised: boolean;
2123
2166
  exerciseEvents: Array<{
2124
2167
  __typename: "ExerciseOptionEvent";
@@ -2131,7 +2174,7 @@ declare const useClosedUserOptions: (user?: string) => {
2131
2174
  }[], Error>>;
2132
2175
  fetchStatus: _tanstack_query_core0.FetchStatus;
2133
2176
  promise: Promise<{
2134
- id: bigint;
2177
+ optionId: bigint;
2135
2178
  marketAddr: Address;
2136
2179
  optionType: "CALL" | "PUT";
2137
2180
  createdAt: Date;
@@ -2145,9 +2188,11 @@ declare const useClosedUserOptions: (user?: string) => {
2145
2188
  strikePrice: bigint;
2146
2189
  entryPrice: bigint;
2147
2190
  __typename: "UserOption";
2191
+ id: string;
2148
2192
  ownerAddr: string;
2149
2193
  strikeTick: number;
2150
2194
  entryTick: number;
2195
+ startTick: number;
2151
2196
  fullyExercised: boolean;
2152
2197
  exerciseEvents: Array<{
2153
2198
  __typename: "ExerciseOptionEvent";
@@ -2159,7 +2204,7 @@ declare const useClosedUserOptions: (user?: string) => {
2159
2204
  } | null;
2160
2205
  }[]>;
2161
2206
  data: {
2162
- id: bigint;
2207
+ optionId: bigint;
2163
2208
  marketAddr: Address;
2164
2209
  optionType: "CALL" | "PUT";
2165
2210
  createdAt: Date;
@@ -2173,9 +2218,11 @@ declare const useClosedUserOptions: (user?: string) => {
2173
2218
  strikePrice: bigint;
2174
2219
  entryPrice: bigint;
2175
2220
  __typename: "UserOption";
2221
+ id: string;
2176
2222
  ownerAddr: string;
2177
2223
  strikeTick: number;
2178
2224
  entryTick: number;
2225
+ startTick: number;
2179
2226
  fullyExercised: boolean;
2180
2227
  exerciseEvents: Array<{
2181
2228
  __typename: "ExerciseOptionEvent";
@@ -2188,6 +2235,72 @@ declare const useClosedUserOptions: (user?: string) => {
2188
2235
  }[];
2189
2236
  };
2190
2237
  //#endregion
2238
+ //#region src/hooks/market/useExerciseOption.d.ts
2239
+ declare const useExerciseOption: (marketAddr?: Address) => {
2240
+ exerciseOption: (option: OptionData, liquidities: readonly bigint[]) => Promise<`0x${string}`>;
2241
+ hash: `0x${string}` | undefined;
2242
+ isPending: boolean;
2243
+ isConfirming: boolean;
2244
+ isSuccess: boolean;
2245
+ error: _wagmi_core0.WriteContractErrorType | null;
2246
+ isLoading: boolean;
2247
+ };
2248
+ //#endregion
2249
+ //#region src/hooks/market/useMarketData.d.ts
2250
+ declare const useMarketData: (marketAddr?: Address) => Partial<NonUndefinedGuard<{
2251
+ pool: Address;
2252
+ vault: Address;
2253
+ optionAsset: Address;
2254
+ payoutAsset: Address;
2255
+ optionsCount: bigint;
2256
+ tradersCount: bigint;
2257
+ __typename: "TimelockMarket";
2258
+ id: string;
2259
+ tickSpacing: number;
2260
+ optionAssetIsToken0: boolean;
2261
+ optionAssetDecimals: number;
2262
+ payoutAssetDecimals: number;
2263
+ optionAssetSymbol: string;
2264
+ payoutAssetSymbol: string;
2265
+ optionAssetName: string;
2266
+ payoutAssetName: string;
2267
+ } | undefined>>;
2268
+ //#endregion
2269
+ //#region src/hooks/market/useMaxPositionSize.d.ts
2270
+ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?: number, maxBorrowableRange?: number) => {
2271
+ maxCallSize: Amount | undefined;
2272
+ maxPutSize: Amount | undefined;
2273
+ refetch: () => void;
2274
+ };
2275
+ //#endregion
2276
+ //#region src/hooks/market/useMintOption.d.ts
2277
+ declare const useMintOption: (marketAddr?: Address) => {
2278
+ mintOption: (optionType: "CALL" | "PUT", amount: bigint, duration: number, strikeTick?: number) => Promise<`0x${string}`>;
2279
+ hash: `0x${string}` | undefined;
2280
+ isPending: boolean;
2281
+ isConfirming: boolean;
2282
+ isSuccess: boolean;
2283
+ error: _wagmi_core0.WriteContractErrorType | null;
2284
+ isLoading: boolean;
2285
+ };
2286
+ //#endregion
2287
+ //#region src/hooks/market/useOptionPnl.d.ts
2288
+ declare const useOptionPnl: (optionData: {
2289
+ marketAddr: Address;
2290
+ optionType: "CALL" | "PUT";
2291
+ positionSizeCurrent: bigint;
2292
+ entryPrice: bigint;
2293
+ }) => {
2294
+ unrealizedPayout?: undefined;
2295
+ displayPnl?: undefined;
2296
+ } | {
2297
+ unrealizedPayout: Amount;
2298
+ displayPnl: Amount;
2299
+ };
2300
+ //#endregion
2301
+ //#region src/hooks/market/useOptionPremium.d.ts
2302
+ declare const useOptionPremium: (marketAddr: Address | undefined, optionType: "CALL" | "PUT", optionAmount: bigint, duration: number, strikeTick?: number) => Amount | undefined;
2303
+ //#endregion
2191
2304
  //#region src/hooks/pool/useCurrentPrice.d.ts
2192
2305
  declare const useCurrentPrice: (poolAddr?: Address) => {
2193
2306
  currentPrice: Amount | undefined;
@@ -2222,6 +2335,29 @@ declare const usePoolData: (poolAddr?: Address) => Partial<NonUndefined<{
2222
2335
  //#region src/hooks/pool/usePriceAtTick.d.ts
2223
2336
  declare const usePriceAtTick: (tick?: number, poolAddr?: Address) => Amount | undefined;
2224
2337
  //#endregion
2338
+ //#region src/lib/price.d.ts
2339
+ interface PriceDataPoint {
2340
+ timestamp: number;
2341
+ price: number;
2342
+ }
2343
+ type PriceResolution = '1m' | '5m' | '15m' | '1h' | '4h' | '1d';
2344
+ //#endregion
2345
+ //#region src/hooks/pool/usePriceHistory.d.ts
2346
+ interface UsePriceHistoryParams {
2347
+ poolAddress?: Address;
2348
+ resolution: PriceResolution;
2349
+ startTimestamp: number;
2350
+ endTimestamp: number;
2351
+ enabled?: boolean;
2352
+ }
2353
+ declare const usePriceHistory: ({
2354
+ poolAddress,
2355
+ resolution,
2356
+ startTimestamp,
2357
+ endTimestamp,
2358
+ enabled
2359
+ }: UsePriceHistoryParams) => _tanstack_react_query0.UseQueryResult<PriceDataPoint[], Error>;
2360
+ //#endregion
2225
2361
  //#region src/hooks/vault/useBurnLiquidity.d.ts
2226
2362
  interface BurnPosition {
2227
2363
  tickLower: number;
@@ -2242,7 +2378,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
2242
2378
  //#region src/hooks/vault/useLiquidityBlocks.d.ts
2243
2379
  type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
2244
2380
  declare const useLiquidityBlocks: (vaultAddr?: Address) => {
2245
- error: viem249.ReadContractErrorType;
2381
+ error: viem0.ReadContractErrorType;
2246
2382
  isError: true;
2247
2383
  isPending: false;
2248
2384
  isLoading: false;
@@ -2254,7 +2390,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
2254
2390
  dataUpdatedAt: number;
2255
2391
  errorUpdatedAt: number;
2256
2392
  failureCount: number;
2257
- failureReason: viem249.ReadContractErrorType | null;
2393
+ failureReason: viem0.ReadContractErrorType | null;
2258
2394
  errorUpdateCount: number;
2259
2395
  isFetched: boolean;
2260
2396
  isFetchedAfterMount: boolean;
@@ -2274,7 +2410,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
2274
2410
  totalAmount1: bigint;
2275
2411
  borrowedAmount0: bigint;
2276
2412
  borrowedAmount1: bigint;
2277
- }[], viem249.ReadContractErrorType>>;
2413
+ }[], viem0.ReadContractErrorType>>;
2278
2414
  fetchStatus: _tanstack_query_core0.FetchStatus;
2279
2415
  promise: Promise<readonly {
2280
2416
  tickLower: number;
@@ -2312,7 +2448,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
2312
2448
  dataUpdatedAt: number;
2313
2449
  errorUpdatedAt: number;
2314
2450
  failureCount: number;
2315
- failureReason: viem249.ReadContractErrorType | null;
2451
+ failureReason: viem0.ReadContractErrorType | null;
2316
2452
  errorUpdateCount: number;
2317
2453
  isFetched: boolean;
2318
2454
  isFetchedAfterMount: boolean;
@@ -2332,7 +2468,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
2332
2468
  totalAmount1: bigint;
2333
2469
  borrowedAmount0: bigint;
2334
2470
  borrowedAmount1: bigint;
2335
- }[], viem249.ReadContractErrorType>>;
2471
+ }[], viem0.ReadContractErrorType>>;
2336
2472
  fetchStatus: _tanstack_query_core0.FetchStatus;
2337
2473
  promise: Promise<readonly {
2338
2474
  tickLower: number;
@@ -2358,7 +2494,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
2358
2494
  borrowedAmount1: bigint;
2359
2495
  }[];
2360
2496
  } | {
2361
- error: viem249.ReadContractErrorType;
2497
+ error: viem0.ReadContractErrorType;
2362
2498
  isError: true;
2363
2499
  isPending: false;
2364
2500
  isLoading: false;
@@ -2370,7 +2506,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
2370
2506
  dataUpdatedAt: number;
2371
2507
  errorUpdatedAt: number;
2372
2508
  failureCount: number;
2373
- failureReason: viem249.ReadContractErrorType | null;
2509
+ failureReason: viem0.ReadContractErrorType | null;
2374
2510
  errorUpdateCount: number;
2375
2511
  isFetched: boolean;
2376
2512
  isFetchedAfterMount: boolean;
@@ -2390,7 +2526,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
2390
2526
  totalAmount1: bigint;
2391
2527
  borrowedAmount0: bigint;
2392
2528
  borrowedAmount1: bigint;
2393
- }[], viem249.ReadContractErrorType>>;
2529
+ }[], viem0.ReadContractErrorType>>;
2394
2530
  fetchStatus: _tanstack_query_core0.FetchStatus;
2395
2531
  promise: Promise<readonly {
2396
2532
  tickLower: number;
@@ -2428,7 +2564,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
2428
2564
  dataUpdatedAt: number;
2429
2565
  errorUpdatedAt: number;
2430
2566
  failureCount: number;
2431
- failureReason: viem249.ReadContractErrorType | null;
2567
+ failureReason: viem0.ReadContractErrorType | null;
2432
2568
  errorUpdateCount: number;
2433
2569
  isFetched: boolean;
2434
2570
  isFetchedAfterMount: boolean;
@@ -2448,7 +2584,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
2448
2584
  totalAmount1: bigint;
2449
2585
  borrowedAmount0: bigint;
2450
2586
  borrowedAmount1: bigint;
2451
- }[], viem249.ReadContractErrorType>>;
2587
+ }[], viem0.ReadContractErrorType>>;
2452
2588
  fetchStatus: _tanstack_query_core0.FetchStatus;
2453
2589
  promise: Promise<readonly {
2454
2590
  tickLower: number;
@@ -2485,7 +2621,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
2485
2621
  dataUpdatedAt: number;
2486
2622
  errorUpdatedAt: number;
2487
2623
  failureCount: number;
2488
- failureReason: viem249.ReadContractErrorType | null;
2624
+ failureReason: viem0.ReadContractErrorType | null;
2489
2625
  errorUpdateCount: number;
2490
2626
  isFetched: boolean;
2491
2627
  isFetchedAfterMount: boolean;
@@ -2506,7 +2642,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
2506
2642
  totalAmount1: bigint;
2507
2643
  borrowedAmount0: bigint;
2508
2644
  borrowedAmount1: bigint;
2509
- }[], viem249.ReadContractErrorType>>;
2645
+ }[], viem0.ReadContractErrorType>>;
2510
2646
  fetchStatus: _tanstack_query_core0.FetchStatus;
2511
2647
  promise: Promise<readonly {
2512
2648
  tickLower: number;
@@ -2544,7 +2680,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
2544
2680
  dataUpdatedAt: number;
2545
2681
  errorUpdatedAt: number;
2546
2682
  failureCount: number;
2547
- failureReason: viem249.ReadContractErrorType | null;
2683
+ failureReason: viem0.ReadContractErrorType | null;
2548
2684
  errorUpdateCount: number;
2549
2685
  isFetched: boolean;
2550
2686
  isFetchedAfterMount: boolean;
@@ -2564,7 +2700,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
2564
2700
  totalAmount1: bigint;
2565
2701
  borrowedAmount0: bigint;
2566
2702
  borrowedAmount1: bigint;
2567
- }[], viem249.ReadContractErrorType>>;
2703
+ }[], viem0.ReadContractErrorType>>;
2568
2704
  fetchStatus: _tanstack_query_core0.FetchStatus;
2569
2705
  promise: Promise<readonly {
2570
2706
  tickLower: number;
@@ -2637,14 +2773,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
2637
2773
  borrowedAmount0: Amount;
2638
2774
  borrowedAmount1: Amount;
2639
2775
  blocksCount: bigint;
2640
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem249.ReadContractErrorType>>;
2776
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem0.ReadContractErrorType>>;
2641
2777
  };
2642
2778
  //#endregion
2643
2779
  //#region src/hooks/useLens.d.ts
2644
2780
  declare const useLens: () => {
2645
2781
  timelockLens: {
2646
2782
  read: {
2647
- batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
2783
+ batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
2648
2784
  readonly type: "function";
2649
2785
  readonly name: "batchGetRefTick";
2650
2786
  readonly inputs: readonly [{
@@ -3350,7 +3486,7 @@ declare const useLens: () => {
3350
3486
  }];
3351
3487
  readonly stateMutability: "view";
3352
3488
  }], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
3353
- getAllBlocks: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
3489
+ getAllBlocks: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
3354
3490
  readonly type: "function";
3355
3491
  readonly name: "batchGetRefTick";
3356
3492
  readonly inputs: readonly [{
@@ -4066,7 +4202,7 @@ declare const useLens: () => {
4066
4202
  borrowedAmount0: bigint;
4067
4203
  borrowedAmount1: bigint;
4068
4204
  }[]>;
4069
- getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
4205
+ getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
4070
4206
  readonly type: "function";
4071
4207
  readonly name: "batchGetRefTick";
4072
4208
  readonly inputs: readonly [{
@@ -4791,7 +4927,7 @@ declare const useLens: () => {
4791
4927
  createdAt: bigint;
4792
4928
  liquidities: readonly bigint[];
4793
4929
  }[], bigint, boolean]>;
4794
- getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
4930
+ getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
4795
4931
  readonly type: "function";
4796
4932
  readonly name: "batchGetRefTick";
4797
4933
  readonly inputs: readonly [{
@@ -5497,7 +5633,7 @@ declare const useLens: () => {
5497
5633
  }];
5498
5634
  readonly stateMutability: "view";
5499
5635
  }], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
5500
- getMarketData: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
5636
+ getMarketData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
5501
5637
  readonly type: "function";
5502
5638
  readonly name: "batchGetRefTick";
5503
5639
  readonly inputs: readonly [{
@@ -6216,7 +6352,7 @@ declare const useLens: () => {
6216
6352
  payoutAssetName: string;
6217
6353
  optionsCount: bigint;
6218
6354
  }>;
6219
- getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
6355
+ getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
6220
6356
  readonly type: "function";
6221
6357
  readonly name: "batchGetRefTick";
6222
6358
  readonly inputs: readonly [{
@@ -6922,7 +7058,7 @@ declare const useLens: () => {
6922
7058
  }];
6923
7059
  readonly stateMutability: "view";
6924
7060
  }], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
6925
- getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
7061
+ getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
6926
7062
  readonly type: "function";
6927
7063
  readonly name: "batchGetRefTick";
6928
7064
  readonly inputs: readonly [{
@@ -7628,7 +7764,7 @@ declare const useLens: () => {
7628
7764
  }];
7629
7765
  readonly stateMutability: "view";
7630
7766
  }], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
7631
- getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
7767
+ getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
7632
7768
  readonly type: "function";
7633
7769
  readonly name: "batchGetRefTick";
7634
7770
  readonly inputs: readonly [{
@@ -8353,7 +8489,7 @@ declare const useLens: () => {
8353
8489
  createdAt: bigint;
8354
8490
  liquidities: readonly bigint[];
8355
8491
  }>;
8356
- getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
8492
+ getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
8357
8493
  readonly type: "function";
8358
8494
  readonly name: "batchGetRefTick";
8359
8495
  readonly inputs: readonly [{
@@ -9078,7 +9214,7 @@ declare const useLens: () => {
9078
9214
  createdAt: bigint;
9079
9215
  liquidities: readonly bigint[];
9080
9216
  }[]>;
9081
- getPoolData: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
9217
+ getPoolData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
9082
9218
  readonly type: "function";
9083
9219
  readonly name: "batchGetRefTick";
9084
9220
  readonly inputs: readonly [{
@@ -9795,7 +9931,7 @@ declare const useLens: () => {
9795
9931
  tickSpacing: number;
9796
9932
  fee: number;
9797
9933
  }>;
9798
- getRefTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
9934
+ getRefTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
9799
9935
  readonly type: "function";
9800
9936
  readonly name: "batchGetRefTick";
9801
9937
  readonly inputs: readonly [{
@@ -10501,7 +10637,7 @@ declare const useLens: () => {
10501
10637
  }];
10502
10638
  readonly stateMutability: "view";
10503
10639
  }], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
10504
- getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
10640
+ getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
10505
10641
  readonly type: "function";
10506
10642
  readonly name: "batchGetRefTick";
10507
10643
  readonly inputs: readonly [{
@@ -11226,7 +11362,7 @@ declare const useLens: () => {
11226
11362
  createdAt: bigint;
11227
11363
  liquidities: readonly bigint[];
11228
11364
  }[], bigint, boolean]>;
11229
- getVaultTVL: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
11365
+ getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
11230
11366
  readonly type: "function";
11231
11367
  readonly name: "batchGetRefTick";
11232
11368
  readonly inputs: readonly [{
@@ -12643,7 +12779,7 @@ declare const useLens: () => {
12643
12779
  } | undefined;
12644
12780
  uniswapLens: {
12645
12781
  read: {
12646
- batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
12782
+ batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
12647
12783
  readonly type: "function";
12648
12784
  readonly name: "batchGetAmount0ForLiquidity";
12649
12785
  readonly inputs: readonly [{
@@ -13264,7 +13400,7 @@ declare const useLens: () => {
13264
13400
  }];
13265
13401
  readonly stateMutability: "pure";
13266
13402
  }], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
13267
- batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
13403
+ batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
13268
13404
  readonly type: "function";
13269
13405
  readonly name: "batchGetAmount0ForLiquidity";
13270
13406
  readonly inputs: readonly [{
@@ -13885,7 +14021,7 @@ declare const useLens: () => {
13885
14021
  }];
13886
14022
  readonly stateMutability: "pure";
13887
14023
  }], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
13888
- batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
14024
+ batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
13889
14025
  readonly type: "function";
13890
14026
  readonly name: "batchGetAmount0ForLiquidity";
13891
14027
  readonly inputs: readonly [{
@@ -14506,7 +14642,7 @@ declare const useLens: () => {
14506
14642
  }];
14507
14643
  readonly stateMutability: "pure";
14508
14644
  }], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
14509
- batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
14645
+ batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
14510
14646
  readonly type: "function";
14511
14647
  readonly name: "batchGetAmount0ForLiquidity";
14512
14648
  readonly inputs: readonly [{
@@ -15127,7 +15263,7 @@ declare const useLens: () => {
15127
15263
  }];
15128
15264
  readonly stateMutability: "pure";
15129
15265
  }], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
15130
- batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
15266
+ batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
15131
15267
  readonly type: "function";
15132
15268
  readonly name: "batchGetAmount0ForLiquidity";
15133
15269
  readonly inputs: readonly [{
@@ -15748,7 +15884,7 @@ declare const useLens: () => {
15748
15884
  }];
15749
15885
  readonly stateMutability: "pure";
15750
15886
  }], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
15751
- batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
15887
+ batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
15752
15888
  readonly type: "function";
15753
15889
  readonly name: "batchGetAmount0ForLiquidity";
15754
15890
  readonly inputs: readonly [{
@@ -16369,7 +16505,7 @@ declare const useLens: () => {
16369
16505
  }];
16370
16506
  readonly stateMutability: "pure";
16371
16507
  }], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
16372
- batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
16508
+ batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
16373
16509
  readonly type: "function";
16374
16510
  readonly name: "batchGetAmount0ForLiquidity";
16375
16511
  readonly inputs: readonly [{
@@ -16990,7 +17126,7 @@ declare const useLens: () => {
16990
17126
  }];
16991
17127
  readonly stateMutability: "pure";
16992
17128
  }], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
16993
- batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
17129
+ batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
16994
17130
  readonly type: "function";
16995
17131
  readonly name: "batchGetAmount0ForLiquidity";
16996
17132
  readonly inputs: readonly [{
@@ -17611,7 +17747,7 @@ declare const useLens: () => {
17611
17747
  }];
17612
17748
  readonly stateMutability: "pure";
17613
17749
  }], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
17614
- batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
17750
+ batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
17615
17751
  readonly type: "function";
17616
17752
  readonly name: "batchGetAmount0ForLiquidity";
17617
17753
  readonly inputs: readonly [{
@@ -18232,7 +18368,7 @@ declare const useLens: () => {
18232
18368
  }];
18233
18369
  readonly stateMutability: "pure";
18234
18370
  }], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
18235
- batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
18371
+ batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
18236
18372
  readonly type: "function";
18237
18373
  readonly name: "batchGetAmount0ForLiquidity";
18238
18374
  readonly inputs: readonly [{
@@ -18853,7 +18989,7 @@ declare const useLens: () => {
18853
18989
  }];
18854
18990
  readonly stateMutability: "pure";
18855
18991
  }], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
18856
- batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
18992
+ batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
18857
18993
  readonly type: "function";
18858
18994
  readonly name: "batchGetAmount0ForLiquidity";
18859
18995
  readonly inputs: readonly [{
@@ -19474,7 +19610,7 @@ declare const useLens: () => {
19474
19610
  }];
19475
19611
  readonly stateMutability: "pure";
19476
19612
  }], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
19477
- batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
19613
+ batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
19478
19614
  readonly type: "function";
19479
19615
  readonly name: "batchGetAmount0ForLiquidity";
19480
19616
  readonly inputs: readonly [{
@@ -20095,7 +20231,7 @@ declare const useLens: () => {
20095
20231
  }];
20096
20232
  readonly stateMutability: "pure";
20097
20233
  }], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
20098
- batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
20234
+ batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
20099
20235
  readonly type: "function";
20100
20236
  readonly name: "batchGetAmount0ForLiquidity";
20101
20237
  readonly inputs: readonly [{
@@ -20716,7 +20852,7 @@ declare const useLens: () => {
20716
20852
  }];
20717
20853
  readonly stateMutability: "pure";
20718
20854
  }], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
20719
- getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
20855
+ getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
20720
20856
  readonly type: "function";
20721
20857
  readonly name: "batchGetAmount0ForLiquidity";
20722
20858
  readonly inputs: readonly [{
@@ -21337,7 +21473,7 @@ declare const useLens: () => {
21337
21473
  }];
21338
21474
  readonly stateMutability: "pure";
21339
21475
  }], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
21340
- getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
21476
+ getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
21341
21477
  readonly type: "function";
21342
21478
  readonly name: "batchGetAmount0ForLiquidity";
21343
21479
  readonly inputs: readonly [{
@@ -21958,7 +22094,7 @@ declare const useLens: () => {
21958
22094
  }];
21959
22095
  readonly stateMutability: "pure";
21960
22096
  }], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
21961
- getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
22097
+ getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
21962
22098
  readonly type: "function";
21963
22099
  readonly name: "batchGetAmount0ForLiquidity";
21964
22100
  readonly inputs: readonly [{
@@ -22579,7 +22715,7 @@ declare const useLens: () => {
22579
22715
  }];
22580
22716
  readonly stateMutability: "pure";
22581
22717
  }], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
22582
- getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
22718
+ getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
22583
22719
  readonly type: "function";
22584
22720
  readonly name: "batchGetAmount0ForLiquidity";
22585
22721
  readonly inputs: readonly [{
@@ -23200,7 +23336,7 @@ declare const useLens: () => {
23200
23336
  }];
23201
23337
  readonly stateMutability: "pure";
23202
23338
  }], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
23203
- getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
23339
+ getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
23204
23340
  readonly type: "function";
23205
23341
  readonly name: "batchGetAmount0ForLiquidity";
23206
23342
  readonly inputs: readonly [{
@@ -23821,7 +23957,7 @@ declare const useLens: () => {
23821
23957
  }];
23822
23958
  readonly stateMutability: "pure";
23823
23959
  }], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
23824
- getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
23960
+ getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
23825
23961
  readonly type: "function";
23826
23962
  readonly name: "batchGetAmount0ForLiquidity";
23827
23963
  readonly inputs: readonly [{
@@ -24442,7 +24578,7 @@ declare const useLens: () => {
24442
24578
  }];
24443
24579
  readonly stateMutability: "pure";
24444
24580
  }], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
24445
- getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
24581
+ getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
24446
24582
  readonly type: "function";
24447
24583
  readonly name: "batchGetAmount0ForLiquidity";
24448
24584
  readonly inputs: readonly [{
@@ -25063,7 +25199,7 @@ declare const useLens: () => {
25063
25199
  }];
25064
25200
  readonly stateMutability: "pure";
25065
25201
  }], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
25066
- getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
25202
+ getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
25067
25203
  readonly type: "function";
25068
25204
  readonly name: "batchGetAmount0ForLiquidity";
25069
25205
  readonly inputs: readonly [{
@@ -25684,7 +25820,7 @@ declare const useLens: () => {
25684
25820
  }];
25685
25821
  readonly stateMutability: "pure";
25686
25822
  }], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
25687
- getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
25823
+ getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
25688
25824
  readonly type: "function";
25689
25825
  readonly name: "batchGetAmount0ForLiquidity";
25690
25826
  readonly inputs: readonly [{
@@ -26305,7 +26441,7 @@ declare const useLens: () => {
26305
26441
  }];
26306
26442
  readonly stateMutability: "pure";
26307
26443
  }], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
26308
- getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
26444
+ getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
26309
26445
  readonly type: "function";
26310
26446
  readonly name: "batchGetAmount0ForLiquidity";
26311
26447
  readonly inputs: readonly [{
@@ -26926,7 +27062,7 @@ declare const useLens: () => {
26926
27062
  }];
26927
27063
  readonly stateMutability: "pure";
26928
27064
  }], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
26929
- getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
27065
+ getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
26930
27066
  readonly type: "function";
26931
27067
  readonly name: "batchGetAmount0ForLiquidity";
26932
27068
  readonly inputs: readonly [{
@@ -27547,7 +27683,7 @@ declare const useLens: () => {
27547
27683
  }];
27548
27684
  readonly stateMutability: "pure";
27549
27685
  }], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
27550
- getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
27686
+ getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
27551
27687
  readonly type: "function";
27552
27688
  readonly name: "batchGetAmount0ForLiquidity";
27553
27689
  readonly inputs: readonly [{
@@ -28168,7 +28304,7 @@ declare const useLens: () => {
28168
28304
  }];
28169
28305
  readonly stateMutability: "pure";
28170
28306
  }], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
28171
- getPriceAtTick: (args: readonly [number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
28307
+ getPriceAtTick: (args: readonly [number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
28172
28308
  readonly type: "function";
28173
28309
  readonly name: "batchGetAmount0ForLiquidity";
28174
28310
  readonly inputs: readonly [{
@@ -29415,5 +29551,5 @@ declare const useLens: () => {
29415
29551
  } | undefined;
29416
29552
  };
29417
29553
  //#endregion
29418
- export { LiquidityBlockData, OptionData, TimelockMarketProvider, UniswapPoolData, batchGetAmountsFromLiquidity, useActiveUserOptions, useBurnLiquidity, useClosedUserOptions, useCurrentMarket, useCurrentPrice, useCurrentTick, useExerciseOption, useLens, useLiquidityBlocks, useMarketData, useMaxPositionSize, useMintLiquidity, useMintOption, useOptionPnl, useOptionPremium, usePoolData, usePriceAtTick, useTimelockConfig, useVaultData, useVaultTVL };
29554
+ export { LiquidityBlockData, OptionData, TimelockMarketProvider, UniswapPoolData, type UsePriceHistoryParams, batchGetAmountsFromLiquidity, useActiveUserOptions, useBurnLiquidity, useClosedUserOptions, useCurrentMarket, useCurrentPrice, useCurrentTick, useExerciseOption, useLens, useLiquidityBlocks, useMarketData, useMaxPositionSize, useMintLiquidity, useMintOption, useOptionPnl, useOptionPremium, usePoolData, usePriceAtTick, usePriceHistory, useTimelockConfig, useVaultData, useVaultTVL };
29419
29555
  //# sourceMappingURL=client.d.ts.map