timelock-sdk 0.0.35 → 0.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.cjs +13 -9
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +168 -125
- package/dist/client.d.ts +168 -125
- package/dist/client.js +13 -9
- package/dist/client.js.map +1 -1
- package/dist/{index-B7b3c8cu.d.cts → index-BwLIRtzJ.d.ts} +93 -93
- package/dist/{index-CRhFaRiq.d.ts → index-CA5kB-yT.d.cts} +2 -2
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
package/dist/client.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./uniswapMathLens-B1MIL2yT.cjs";
|
|
2
|
-
import { Amount, TimelockMarketData, UniswapMathLens } from "./index-
|
|
3
|
-
import * as
|
|
2
|
+
import { Amount, TimelockMarketData, UniswapMathLens } from "./index-CA5kB-yT.cjs";
|
|
3
|
+
import * as viem366 from "viem";
|
|
4
4
|
import { Address } from "viem";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
6
6
|
import "graphql";
|
|
@@ -62,6 +62,7 @@ type GetActiveUserOptionsQuery = {
|
|
|
62
62
|
UserOption: Array<{
|
|
63
63
|
__typename: 'UserOption';
|
|
64
64
|
id: string;
|
|
65
|
+
optionId: any;
|
|
65
66
|
ownerAddr: string;
|
|
66
67
|
optionType: any;
|
|
67
68
|
strikeTick: number;
|
|
@@ -97,6 +98,7 @@ type GetClosedUserOptionsQuery = {
|
|
|
97
98
|
UserOption: Array<{
|
|
98
99
|
__typename: 'UserOption';
|
|
99
100
|
id: string;
|
|
101
|
+
optionId: any;
|
|
100
102
|
ownerAddr: string;
|
|
101
103
|
optionType: any;
|
|
102
104
|
strikeTick: number;
|
|
@@ -201,7 +203,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
201
203
|
isStale: boolean;
|
|
202
204
|
isEnabled: boolean;
|
|
203
205
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
204
|
-
|
|
206
|
+
optionId: bigint;
|
|
205
207
|
marketAddr: Address;
|
|
206
208
|
optionType: "CALL" | "PUT";
|
|
207
209
|
createdAt: Date;
|
|
@@ -215,6 +217,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
215
217
|
strikePrice: bigint;
|
|
216
218
|
entryPrice: bigint;
|
|
217
219
|
__typename: "UserOption";
|
|
220
|
+
id: string;
|
|
218
221
|
ownerAddr: string;
|
|
219
222
|
strikeTick: number;
|
|
220
223
|
entryTick: number;
|
|
@@ -231,7 +234,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
231
234
|
}[], Error>>;
|
|
232
235
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
233
236
|
promise: Promise<{
|
|
234
|
-
|
|
237
|
+
optionId: bigint;
|
|
235
238
|
marketAddr: Address;
|
|
236
239
|
optionType: "CALL" | "PUT";
|
|
237
240
|
createdAt: Date;
|
|
@@ -245,6 +248,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
245
248
|
strikePrice: bigint;
|
|
246
249
|
entryPrice: bigint;
|
|
247
250
|
__typename: "UserOption";
|
|
251
|
+
id: string;
|
|
248
252
|
ownerAddr: string;
|
|
249
253
|
strikeTick: number;
|
|
250
254
|
entryTick: number;
|
|
@@ -260,7 +264,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
260
264
|
} | null;
|
|
261
265
|
}[]>;
|
|
262
266
|
data: {
|
|
263
|
-
|
|
267
|
+
optionId: bigint;
|
|
264
268
|
marketAddr: Address;
|
|
265
269
|
optionType: "CALL" | "PUT";
|
|
266
270
|
createdAt: Date;
|
|
@@ -274,6 +278,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
274
278
|
strikePrice: bigint;
|
|
275
279
|
entryPrice: bigint;
|
|
276
280
|
__typename: "UserOption";
|
|
281
|
+
id: string;
|
|
277
282
|
ownerAddr: string;
|
|
278
283
|
strikeTick: number;
|
|
279
284
|
entryTick: number;
|
|
@@ -312,7 +317,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
312
317
|
isStale: boolean;
|
|
313
318
|
isEnabled: boolean;
|
|
314
319
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
315
|
-
|
|
320
|
+
optionId: bigint;
|
|
316
321
|
marketAddr: Address;
|
|
317
322
|
optionType: "CALL" | "PUT";
|
|
318
323
|
createdAt: Date;
|
|
@@ -326,6 +331,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
326
331
|
strikePrice: bigint;
|
|
327
332
|
entryPrice: bigint;
|
|
328
333
|
__typename: "UserOption";
|
|
334
|
+
id: string;
|
|
329
335
|
ownerAddr: string;
|
|
330
336
|
strikeTick: number;
|
|
331
337
|
entryTick: number;
|
|
@@ -342,7 +348,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
342
348
|
}[], Error>>;
|
|
343
349
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
344
350
|
promise: Promise<{
|
|
345
|
-
|
|
351
|
+
optionId: bigint;
|
|
346
352
|
marketAddr: Address;
|
|
347
353
|
optionType: "CALL" | "PUT";
|
|
348
354
|
createdAt: Date;
|
|
@@ -356,6 +362,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
356
362
|
strikePrice: bigint;
|
|
357
363
|
entryPrice: bigint;
|
|
358
364
|
__typename: "UserOption";
|
|
365
|
+
id: string;
|
|
359
366
|
ownerAddr: string;
|
|
360
367
|
strikeTick: number;
|
|
361
368
|
entryTick: number;
|
|
@@ -371,7 +378,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
371
378
|
} | null;
|
|
372
379
|
}[]>;
|
|
373
380
|
data: {
|
|
374
|
-
|
|
381
|
+
optionId: bigint;
|
|
375
382
|
marketAddr: Address;
|
|
376
383
|
optionType: "CALL" | "PUT";
|
|
377
384
|
createdAt: Date;
|
|
@@ -385,6 +392,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
385
392
|
strikePrice: bigint;
|
|
386
393
|
entryPrice: bigint;
|
|
387
394
|
__typename: "UserOption";
|
|
395
|
+
id: string;
|
|
388
396
|
ownerAddr: string;
|
|
389
397
|
strikeTick: number;
|
|
390
398
|
entryTick: number;
|
|
@@ -423,7 +431,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
423
431
|
isStale: boolean;
|
|
424
432
|
isEnabled: boolean;
|
|
425
433
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
426
|
-
|
|
434
|
+
optionId: bigint;
|
|
427
435
|
marketAddr: Address;
|
|
428
436
|
optionType: "CALL" | "PUT";
|
|
429
437
|
createdAt: Date;
|
|
@@ -437,6 +445,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
437
445
|
strikePrice: bigint;
|
|
438
446
|
entryPrice: bigint;
|
|
439
447
|
__typename: "UserOption";
|
|
448
|
+
id: string;
|
|
440
449
|
ownerAddr: string;
|
|
441
450
|
strikeTick: number;
|
|
442
451
|
entryTick: number;
|
|
@@ -453,7 +462,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
453
462
|
}[], Error>>;
|
|
454
463
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
455
464
|
promise: Promise<{
|
|
456
|
-
|
|
465
|
+
optionId: bigint;
|
|
457
466
|
marketAddr: Address;
|
|
458
467
|
optionType: "CALL" | "PUT";
|
|
459
468
|
createdAt: Date;
|
|
@@ -467,6 +476,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
467
476
|
strikePrice: bigint;
|
|
468
477
|
entryPrice: bigint;
|
|
469
478
|
__typename: "UserOption";
|
|
479
|
+
id: string;
|
|
470
480
|
ownerAddr: string;
|
|
471
481
|
strikeTick: number;
|
|
472
482
|
entryTick: number;
|
|
@@ -482,7 +492,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
482
492
|
} | null;
|
|
483
493
|
}[]>;
|
|
484
494
|
data: {
|
|
485
|
-
|
|
495
|
+
optionId: bigint;
|
|
486
496
|
marketAddr: Address;
|
|
487
497
|
optionType: "CALL" | "PUT";
|
|
488
498
|
createdAt: Date;
|
|
@@ -496,6 +506,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
496
506
|
strikePrice: bigint;
|
|
497
507
|
entryPrice: bigint;
|
|
498
508
|
__typename: "UserOption";
|
|
509
|
+
id: string;
|
|
499
510
|
ownerAddr: string;
|
|
500
511
|
strikeTick: number;
|
|
501
512
|
entryTick: number;
|
|
@@ -534,7 +545,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
534
545
|
isStale: boolean;
|
|
535
546
|
isEnabled: boolean;
|
|
536
547
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
537
|
-
|
|
548
|
+
optionId: bigint;
|
|
538
549
|
marketAddr: Address;
|
|
539
550
|
optionType: "CALL" | "PUT";
|
|
540
551
|
createdAt: Date;
|
|
@@ -548,6 +559,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
548
559
|
strikePrice: bigint;
|
|
549
560
|
entryPrice: bigint;
|
|
550
561
|
__typename: "UserOption";
|
|
562
|
+
id: string;
|
|
551
563
|
ownerAddr: string;
|
|
552
564
|
strikeTick: number;
|
|
553
565
|
entryTick: number;
|
|
@@ -564,7 +576,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
564
576
|
}[], Error>>;
|
|
565
577
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
566
578
|
promise: Promise<{
|
|
567
|
-
|
|
579
|
+
optionId: bigint;
|
|
568
580
|
marketAddr: Address;
|
|
569
581
|
optionType: "CALL" | "PUT";
|
|
570
582
|
createdAt: Date;
|
|
@@ -578,6 +590,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
578
590
|
strikePrice: bigint;
|
|
579
591
|
entryPrice: bigint;
|
|
580
592
|
__typename: "UserOption";
|
|
593
|
+
id: string;
|
|
581
594
|
ownerAddr: string;
|
|
582
595
|
strikeTick: number;
|
|
583
596
|
entryTick: number;
|
|
@@ -593,7 +606,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
593
606
|
} | null;
|
|
594
607
|
}[]>;
|
|
595
608
|
data: {
|
|
596
|
-
|
|
609
|
+
optionId: bigint;
|
|
597
610
|
marketAddr: Address;
|
|
598
611
|
optionType: "CALL" | "PUT";
|
|
599
612
|
createdAt: Date;
|
|
@@ -607,6 +620,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
607
620
|
strikePrice: bigint;
|
|
608
621
|
entryPrice: bigint;
|
|
609
622
|
__typename: "UserOption";
|
|
623
|
+
id: string;
|
|
610
624
|
ownerAddr: string;
|
|
611
625
|
strikeTick: number;
|
|
612
626
|
entryTick: number;
|
|
@@ -645,7 +659,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
645
659
|
isStale: boolean;
|
|
646
660
|
isEnabled: boolean;
|
|
647
661
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
648
|
-
|
|
662
|
+
optionId: bigint;
|
|
649
663
|
marketAddr: Address;
|
|
650
664
|
optionType: "CALL" | "PUT";
|
|
651
665
|
createdAt: Date;
|
|
@@ -659,6 +673,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
659
673
|
strikePrice: bigint;
|
|
660
674
|
entryPrice: bigint;
|
|
661
675
|
__typename: "UserOption";
|
|
676
|
+
id: string;
|
|
662
677
|
ownerAddr: string;
|
|
663
678
|
strikeTick: number;
|
|
664
679
|
entryTick: number;
|
|
@@ -675,7 +690,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
675
690
|
}[], Error>>;
|
|
676
691
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
677
692
|
promise: Promise<{
|
|
678
|
-
|
|
693
|
+
optionId: bigint;
|
|
679
694
|
marketAddr: Address;
|
|
680
695
|
optionType: "CALL" | "PUT";
|
|
681
696
|
createdAt: Date;
|
|
@@ -689,6 +704,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
689
704
|
strikePrice: bigint;
|
|
690
705
|
entryPrice: bigint;
|
|
691
706
|
__typename: "UserOption";
|
|
707
|
+
id: string;
|
|
692
708
|
ownerAddr: string;
|
|
693
709
|
strikeTick: number;
|
|
694
710
|
entryTick: number;
|
|
@@ -704,7 +720,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
704
720
|
} | null;
|
|
705
721
|
}[]>;
|
|
706
722
|
data: {
|
|
707
|
-
|
|
723
|
+
optionId: bigint;
|
|
708
724
|
marketAddr: Address;
|
|
709
725
|
optionType: "CALL" | "PUT";
|
|
710
726
|
createdAt: Date;
|
|
@@ -718,6 +734,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
718
734
|
strikePrice: bigint;
|
|
719
735
|
entryPrice: bigint;
|
|
720
736
|
__typename: "UserOption";
|
|
737
|
+
id: string;
|
|
721
738
|
ownerAddr: string;
|
|
722
739
|
strikeTick: number;
|
|
723
740
|
entryTick: number;
|
|
@@ -756,7 +773,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
756
773
|
isStale: boolean;
|
|
757
774
|
isEnabled: boolean;
|
|
758
775
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
759
|
-
|
|
776
|
+
optionId: bigint;
|
|
760
777
|
marketAddr: Address;
|
|
761
778
|
optionType: "CALL" | "PUT";
|
|
762
779
|
createdAt: Date;
|
|
@@ -770,6 +787,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
770
787
|
strikePrice: bigint;
|
|
771
788
|
entryPrice: bigint;
|
|
772
789
|
__typename: "UserOption";
|
|
790
|
+
id: string;
|
|
773
791
|
ownerAddr: string;
|
|
774
792
|
strikeTick: number;
|
|
775
793
|
entryTick: number;
|
|
@@ -786,7 +804,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
786
804
|
}[], Error>>;
|
|
787
805
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
788
806
|
promise: Promise<{
|
|
789
|
-
|
|
807
|
+
optionId: bigint;
|
|
790
808
|
marketAddr: Address;
|
|
791
809
|
optionType: "CALL" | "PUT";
|
|
792
810
|
createdAt: Date;
|
|
@@ -800,6 +818,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
800
818
|
strikePrice: bigint;
|
|
801
819
|
entryPrice: bigint;
|
|
802
820
|
__typename: "UserOption";
|
|
821
|
+
id: string;
|
|
803
822
|
ownerAddr: string;
|
|
804
823
|
strikeTick: number;
|
|
805
824
|
entryTick: number;
|
|
@@ -815,7 +834,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
815
834
|
} | null;
|
|
816
835
|
}[]>;
|
|
817
836
|
data: {
|
|
818
|
-
|
|
837
|
+
optionId: bigint;
|
|
819
838
|
marketAddr: Address;
|
|
820
839
|
optionType: "CALL" | "PUT";
|
|
821
840
|
createdAt: Date;
|
|
@@ -829,6 +848,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
829
848
|
strikePrice: bigint;
|
|
830
849
|
entryPrice: bigint;
|
|
831
850
|
__typename: "UserOption";
|
|
851
|
+
id: string;
|
|
832
852
|
ownerAddr: string;
|
|
833
853
|
strikeTick: number;
|
|
834
854
|
entryTick: number;
|
|
@@ -868,7 +888,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
868
888
|
isStale: boolean;
|
|
869
889
|
isEnabled: boolean;
|
|
870
890
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
871
|
-
|
|
891
|
+
optionId: bigint;
|
|
872
892
|
marketAddr: Address;
|
|
873
893
|
optionType: "CALL" | "PUT";
|
|
874
894
|
createdAt: Date;
|
|
@@ -882,6 +902,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
882
902
|
strikePrice: bigint;
|
|
883
903
|
entryPrice: bigint;
|
|
884
904
|
__typename: "UserOption";
|
|
905
|
+
id: string;
|
|
885
906
|
ownerAddr: string;
|
|
886
907
|
strikeTick: number;
|
|
887
908
|
entryTick: number;
|
|
@@ -898,7 +919,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
898
919
|
}[], Error>>;
|
|
899
920
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
900
921
|
promise: Promise<{
|
|
901
|
-
|
|
922
|
+
optionId: bigint;
|
|
902
923
|
marketAddr: Address;
|
|
903
924
|
optionType: "CALL" | "PUT";
|
|
904
925
|
createdAt: Date;
|
|
@@ -912,6 +933,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
912
933
|
strikePrice: bigint;
|
|
913
934
|
entryPrice: bigint;
|
|
914
935
|
__typename: "UserOption";
|
|
936
|
+
id: string;
|
|
915
937
|
ownerAddr: string;
|
|
916
938
|
strikeTick: number;
|
|
917
939
|
entryTick: number;
|
|
@@ -927,7 +949,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
927
949
|
} | null;
|
|
928
950
|
}[]>;
|
|
929
951
|
data: {
|
|
930
|
-
|
|
952
|
+
optionId: bigint;
|
|
931
953
|
marketAddr: Address;
|
|
932
954
|
optionType: "CALL" | "PUT";
|
|
933
955
|
createdAt: Date;
|
|
@@ -941,6 +963,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
941
963
|
strikePrice: bigint;
|
|
942
964
|
entryPrice: bigint;
|
|
943
965
|
__typename: "UserOption";
|
|
966
|
+
id: string;
|
|
944
967
|
ownerAddr: string;
|
|
945
968
|
strikeTick: number;
|
|
946
969
|
entryTick: number;
|
|
@@ -979,7 +1002,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
979
1002
|
isStale: boolean;
|
|
980
1003
|
isEnabled: boolean;
|
|
981
1004
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
982
|
-
|
|
1005
|
+
optionId: bigint;
|
|
983
1006
|
marketAddr: Address;
|
|
984
1007
|
optionType: "CALL" | "PUT";
|
|
985
1008
|
createdAt: Date;
|
|
@@ -993,6 +1016,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
993
1016
|
strikePrice: bigint;
|
|
994
1017
|
entryPrice: bigint;
|
|
995
1018
|
__typename: "UserOption";
|
|
1019
|
+
id: string;
|
|
996
1020
|
ownerAddr: string;
|
|
997
1021
|
strikeTick: number;
|
|
998
1022
|
entryTick: number;
|
|
@@ -1009,7 +1033,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1009
1033
|
}[], Error>>;
|
|
1010
1034
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1011
1035
|
promise: Promise<{
|
|
1012
|
-
|
|
1036
|
+
optionId: bigint;
|
|
1013
1037
|
marketAddr: Address;
|
|
1014
1038
|
optionType: "CALL" | "PUT";
|
|
1015
1039
|
createdAt: Date;
|
|
@@ -1023,6 +1047,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1023
1047
|
strikePrice: bigint;
|
|
1024
1048
|
entryPrice: bigint;
|
|
1025
1049
|
__typename: "UserOption";
|
|
1050
|
+
id: string;
|
|
1026
1051
|
ownerAddr: string;
|
|
1027
1052
|
strikeTick: number;
|
|
1028
1053
|
entryTick: number;
|
|
@@ -1038,7 +1063,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1038
1063
|
} | null;
|
|
1039
1064
|
}[]>;
|
|
1040
1065
|
data: {
|
|
1041
|
-
|
|
1066
|
+
optionId: bigint;
|
|
1042
1067
|
marketAddr: Address;
|
|
1043
1068
|
optionType: "CALL" | "PUT";
|
|
1044
1069
|
createdAt: Date;
|
|
@@ -1052,6 +1077,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1052
1077
|
strikePrice: bigint;
|
|
1053
1078
|
entryPrice: bigint;
|
|
1054
1079
|
__typename: "UserOption";
|
|
1080
|
+
id: string;
|
|
1055
1081
|
ownerAddr: string;
|
|
1056
1082
|
strikeTick: number;
|
|
1057
1083
|
entryTick: number;
|
|
@@ -1090,7 +1116,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1090
1116
|
isStale: boolean;
|
|
1091
1117
|
isEnabled: boolean;
|
|
1092
1118
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1093
|
-
|
|
1119
|
+
optionId: bigint;
|
|
1094
1120
|
marketAddr: Address;
|
|
1095
1121
|
optionType: "CALL" | "PUT";
|
|
1096
1122
|
createdAt: Date;
|
|
@@ -1104,6 +1130,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1104
1130
|
strikePrice: bigint;
|
|
1105
1131
|
entryPrice: bigint;
|
|
1106
1132
|
__typename: "UserOption";
|
|
1133
|
+
id: string;
|
|
1107
1134
|
ownerAddr: string;
|
|
1108
1135
|
strikeTick: number;
|
|
1109
1136
|
entryTick: number;
|
|
@@ -1120,7 +1147,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1120
1147
|
}[], Error>>;
|
|
1121
1148
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1122
1149
|
promise: Promise<{
|
|
1123
|
-
|
|
1150
|
+
optionId: bigint;
|
|
1124
1151
|
marketAddr: Address;
|
|
1125
1152
|
optionType: "CALL" | "PUT";
|
|
1126
1153
|
createdAt: Date;
|
|
@@ -1134,6 +1161,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1134
1161
|
strikePrice: bigint;
|
|
1135
1162
|
entryPrice: bigint;
|
|
1136
1163
|
__typename: "UserOption";
|
|
1164
|
+
id: string;
|
|
1137
1165
|
ownerAddr: string;
|
|
1138
1166
|
strikeTick: number;
|
|
1139
1167
|
entryTick: number;
|
|
@@ -1149,7 +1177,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1149
1177
|
} | null;
|
|
1150
1178
|
}[]>;
|
|
1151
1179
|
data: {
|
|
1152
|
-
|
|
1180
|
+
optionId: bigint;
|
|
1153
1181
|
marketAddr: Address;
|
|
1154
1182
|
optionType: "CALL" | "PUT";
|
|
1155
1183
|
createdAt: Date;
|
|
@@ -1163,6 +1191,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1163
1191
|
strikePrice: bigint;
|
|
1164
1192
|
entryPrice: bigint;
|
|
1165
1193
|
__typename: "UserOption";
|
|
1194
|
+
id: string;
|
|
1166
1195
|
ownerAddr: string;
|
|
1167
1196
|
strikeTick: number;
|
|
1168
1197
|
entryTick: number;
|
|
@@ -1201,7 +1230,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1201
1230
|
isStale: boolean;
|
|
1202
1231
|
isEnabled: boolean;
|
|
1203
1232
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1204
|
-
|
|
1233
|
+
optionId: bigint;
|
|
1205
1234
|
marketAddr: Address;
|
|
1206
1235
|
optionType: "CALL" | "PUT";
|
|
1207
1236
|
createdAt: Date;
|
|
@@ -1215,6 +1244,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1215
1244
|
strikePrice: bigint;
|
|
1216
1245
|
entryPrice: bigint;
|
|
1217
1246
|
__typename: "UserOption";
|
|
1247
|
+
id: string;
|
|
1218
1248
|
ownerAddr: string;
|
|
1219
1249
|
strikeTick: number;
|
|
1220
1250
|
entryTick: number;
|
|
@@ -1231,7 +1261,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1231
1261
|
}[], Error>>;
|
|
1232
1262
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1233
1263
|
promise: Promise<{
|
|
1234
|
-
|
|
1264
|
+
optionId: bigint;
|
|
1235
1265
|
marketAddr: Address;
|
|
1236
1266
|
optionType: "CALL" | "PUT";
|
|
1237
1267
|
createdAt: Date;
|
|
@@ -1245,6 +1275,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1245
1275
|
strikePrice: bigint;
|
|
1246
1276
|
entryPrice: bigint;
|
|
1247
1277
|
__typename: "UserOption";
|
|
1278
|
+
id: string;
|
|
1248
1279
|
ownerAddr: string;
|
|
1249
1280
|
strikeTick: number;
|
|
1250
1281
|
entryTick: number;
|
|
@@ -1260,7 +1291,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1260
1291
|
} | null;
|
|
1261
1292
|
}[]>;
|
|
1262
1293
|
data: {
|
|
1263
|
-
|
|
1294
|
+
optionId: bigint;
|
|
1264
1295
|
marketAddr: Address;
|
|
1265
1296
|
optionType: "CALL" | "PUT";
|
|
1266
1297
|
createdAt: Date;
|
|
@@ -1274,6 +1305,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1274
1305
|
strikePrice: bigint;
|
|
1275
1306
|
entryPrice: bigint;
|
|
1276
1307
|
__typename: "UserOption";
|
|
1308
|
+
id: string;
|
|
1277
1309
|
ownerAddr: string;
|
|
1278
1310
|
strikeTick: number;
|
|
1279
1311
|
entryTick: number;
|
|
@@ -1312,7 +1344,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1312
1344
|
isStale: boolean;
|
|
1313
1345
|
isEnabled: boolean;
|
|
1314
1346
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1315
|
-
|
|
1347
|
+
optionId: bigint;
|
|
1316
1348
|
marketAddr: Address;
|
|
1317
1349
|
optionType: "CALL" | "PUT";
|
|
1318
1350
|
createdAt: Date;
|
|
@@ -1326,6 +1358,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1326
1358
|
strikePrice: bigint;
|
|
1327
1359
|
entryPrice: bigint;
|
|
1328
1360
|
__typename: "UserOption";
|
|
1361
|
+
id: string;
|
|
1329
1362
|
ownerAddr: string;
|
|
1330
1363
|
strikeTick: number;
|
|
1331
1364
|
entryTick: number;
|
|
@@ -1342,7 +1375,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1342
1375
|
}[], Error>>;
|
|
1343
1376
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1344
1377
|
promise: Promise<{
|
|
1345
|
-
|
|
1378
|
+
optionId: bigint;
|
|
1346
1379
|
marketAddr: Address;
|
|
1347
1380
|
optionType: "CALL" | "PUT";
|
|
1348
1381
|
createdAt: Date;
|
|
@@ -1356,6 +1389,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1356
1389
|
strikePrice: bigint;
|
|
1357
1390
|
entryPrice: bigint;
|
|
1358
1391
|
__typename: "UserOption";
|
|
1392
|
+
id: string;
|
|
1359
1393
|
ownerAddr: string;
|
|
1360
1394
|
strikeTick: number;
|
|
1361
1395
|
entryTick: number;
|
|
@@ -1371,7 +1405,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1371
1405
|
} | null;
|
|
1372
1406
|
}[]>;
|
|
1373
1407
|
data: {
|
|
1374
|
-
|
|
1408
|
+
optionId: bigint;
|
|
1375
1409
|
marketAddr: Address;
|
|
1376
1410
|
optionType: "CALL" | "PUT";
|
|
1377
1411
|
createdAt: Date;
|
|
@@ -1385,6 +1419,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1385
1419
|
strikePrice: bigint;
|
|
1386
1420
|
entryPrice: bigint;
|
|
1387
1421
|
__typename: "UserOption";
|
|
1422
|
+
id: string;
|
|
1388
1423
|
ownerAddr: string;
|
|
1389
1424
|
strikeTick: number;
|
|
1390
1425
|
entryTick: number;
|
|
@@ -1423,7 +1458,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1423
1458
|
isStale: boolean;
|
|
1424
1459
|
isEnabled: boolean;
|
|
1425
1460
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1426
|
-
|
|
1461
|
+
optionId: bigint;
|
|
1427
1462
|
marketAddr: Address;
|
|
1428
1463
|
optionType: "CALL" | "PUT";
|
|
1429
1464
|
createdAt: Date;
|
|
@@ -1437,6 +1472,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1437
1472
|
strikePrice: bigint;
|
|
1438
1473
|
entryPrice: bigint;
|
|
1439
1474
|
__typename: "UserOption";
|
|
1475
|
+
id: string;
|
|
1440
1476
|
ownerAddr: string;
|
|
1441
1477
|
strikeTick: number;
|
|
1442
1478
|
entryTick: number;
|
|
@@ -1453,7 +1489,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1453
1489
|
}[], Error>>;
|
|
1454
1490
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1455
1491
|
promise: Promise<{
|
|
1456
|
-
|
|
1492
|
+
optionId: bigint;
|
|
1457
1493
|
marketAddr: Address;
|
|
1458
1494
|
optionType: "CALL" | "PUT";
|
|
1459
1495
|
createdAt: Date;
|
|
@@ -1467,6 +1503,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1467
1503
|
strikePrice: bigint;
|
|
1468
1504
|
entryPrice: bigint;
|
|
1469
1505
|
__typename: "UserOption";
|
|
1506
|
+
id: string;
|
|
1470
1507
|
ownerAddr: string;
|
|
1471
1508
|
strikeTick: number;
|
|
1472
1509
|
entryTick: number;
|
|
@@ -1482,7 +1519,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1482
1519
|
} | null;
|
|
1483
1520
|
}[]>;
|
|
1484
1521
|
data: {
|
|
1485
|
-
|
|
1522
|
+
optionId: bigint;
|
|
1486
1523
|
marketAddr: Address;
|
|
1487
1524
|
optionType: "CALL" | "PUT";
|
|
1488
1525
|
createdAt: Date;
|
|
@@ -1496,6 +1533,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1496
1533
|
strikePrice: bigint;
|
|
1497
1534
|
entryPrice: bigint;
|
|
1498
1535
|
__typename: "UserOption";
|
|
1536
|
+
id: string;
|
|
1499
1537
|
ownerAddr: string;
|
|
1500
1538
|
strikeTick: number;
|
|
1501
1539
|
entryTick: number;
|
|
@@ -1535,7 +1573,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1535
1573
|
isStale: boolean;
|
|
1536
1574
|
isEnabled: boolean;
|
|
1537
1575
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1538
|
-
|
|
1576
|
+
optionId: bigint;
|
|
1539
1577
|
marketAddr: Address;
|
|
1540
1578
|
optionType: "CALL" | "PUT";
|
|
1541
1579
|
createdAt: Date;
|
|
@@ -1549,6 +1587,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1549
1587
|
strikePrice: bigint;
|
|
1550
1588
|
entryPrice: bigint;
|
|
1551
1589
|
__typename: "UserOption";
|
|
1590
|
+
id: string;
|
|
1552
1591
|
ownerAddr: string;
|
|
1553
1592
|
strikeTick: number;
|
|
1554
1593
|
entryTick: number;
|
|
@@ -1565,7 +1604,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1565
1604
|
}[], Error>>;
|
|
1566
1605
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1567
1606
|
promise: Promise<{
|
|
1568
|
-
|
|
1607
|
+
optionId: bigint;
|
|
1569
1608
|
marketAddr: Address;
|
|
1570
1609
|
optionType: "CALL" | "PUT";
|
|
1571
1610
|
createdAt: Date;
|
|
@@ -1579,6 +1618,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1579
1618
|
strikePrice: bigint;
|
|
1580
1619
|
entryPrice: bigint;
|
|
1581
1620
|
__typename: "UserOption";
|
|
1621
|
+
id: string;
|
|
1582
1622
|
ownerAddr: string;
|
|
1583
1623
|
strikeTick: number;
|
|
1584
1624
|
entryTick: number;
|
|
@@ -1594,7 +1634,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1594
1634
|
} | null;
|
|
1595
1635
|
}[]>;
|
|
1596
1636
|
data: {
|
|
1597
|
-
|
|
1637
|
+
optionId: bigint;
|
|
1598
1638
|
marketAddr: Address;
|
|
1599
1639
|
optionType: "CALL" | "PUT";
|
|
1600
1640
|
createdAt: Date;
|
|
@@ -1608,6 +1648,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1608
1648
|
strikePrice: bigint;
|
|
1609
1649
|
entryPrice: bigint;
|
|
1610
1650
|
__typename: "UserOption";
|
|
1651
|
+
id: string;
|
|
1611
1652
|
ownerAddr: string;
|
|
1612
1653
|
strikeTick: number;
|
|
1613
1654
|
entryTick: number;
|
|
@@ -1646,7 +1687,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1646
1687
|
isStale: boolean;
|
|
1647
1688
|
isEnabled: boolean;
|
|
1648
1689
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1649
|
-
|
|
1690
|
+
optionId: bigint;
|
|
1650
1691
|
marketAddr: Address;
|
|
1651
1692
|
optionType: "CALL" | "PUT";
|
|
1652
1693
|
createdAt: Date;
|
|
@@ -1660,6 +1701,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1660
1701
|
strikePrice: bigint;
|
|
1661
1702
|
entryPrice: bigint;
|
|
1662
1703
|
__typename: "UserOption";
|
|
1704
|
+
id: string;
|
|
1663
1705
|
ownerAddr: string;
|
|
1664
1706
|
strikeTick: number;
|
|
1665
1707
|
entryTick: number;
|
|
@@ -1676,7 +1718,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1676
1718
|
}[], Error>>;
|
|
1677
1719
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1678
1720
|
promise: Promise<{
|
|
1679
|
-
|
|
1721
|
+
optionId: bigint;
|
|
1680
1722
|
marketAddr: Address;
|
|
1681
1723
|
optionType: "CALL" | "PUT";
|
|
1682
1724
|
createdAt: Date;
|
|
@@ -1690,6 +1732,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1690
1732
|
strikePrice: bigint;
|
|
1691
1733
|
entryPrice: bigint;
|
|
1692
1734
|
__typename: "UserOption";
|
|
1735
|
+
id: string;
|
|
1693
1736
|
ownerAddr: string;
|
|
1694
1737
|
strikeTick: number;
|
|
1695
1738
|
entryTick: number;
|
|
@@ -1705,7 +1748,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1705
1748
|
} | null;
|
|
1706
1749
|
}[]>;
|
|
1707
1750
|
data: {
|
|
1708
|
-
|
|
1751
|
+
optionId: bigint;
|
|
1709
1752
|
marketAddr: Address;
|
|
1710
1753
|
optionType: "CALL" | "PUT";
|
|
1711
1754
|
createdAt: Date;
|
|
@@ -1719,6 +1762,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1719
1762
|
strikePrice: bigint;
|
|
1720
1763
|
entryPrice: bigint;
|
|
1721
1764
|
__typename: "UserOption";
|
|
1765
|
+
id: string;
|
|
1722
1766
|
ownerAddr: string;
|
|
1723
1767
|
strikeTick: number;
|
|
1724
1768
|
entryTick: number;
|
|
@@ -1757,7 +1801,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1757
1801
|
isStale: boolean;
|
|
1758
1802
|
isEnabled: boolean;
|
|
1759
1803
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1760
|
-
|
|
1804
|
+
optionId: bigint;
|
|
1761
1805
|
marketAddr: Address;
|
|
1762
1806
|
optionType: "CALL" | "PUT";
|
|
1763
1807
|
createdAt: Date;
|
|
@@ -1771,6 +1815,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1771
1815
|
strikePrice: bigint;
|
|
1772
1816
|
entryPrice: bigint;
|
|
1773
1817
|
__typename: "UserOption";
|
|
1818
|
+
id: string;
|
|
1774
1819
|
ownerAddr: string;
|
|
1775
1820
|
strikeTick: number;
|
|
1776
1821
|
entryTick: number;
|
|
@@ -1787,7 +1832,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1787
1832
|
}[], Error>>;
|
|
1788
1833
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1789
1834
|
promise: Promise<{
|
|
1790
|
-
|
|
1835
|
+
optionId: bigint;
|
|
1791
1836
|
marketAddr: Address;
|
|
1792
1837
|
optionType: "CALL" | "PUT";
|
|
1793
1838
|
createdAt: Date;
|
|
@@ -1801,6 +1846,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1801
1846
|
strikePrice: bigint;
|
|
1802
1847
|
entryPrice: bigint;
|
|
1803
1848
|
__typename: "UserOption";
|
|
1849
|
+
id: string;
|
|
1804
1850
|
ownerAddr: string;
|
|
1805
1851
|
strikeTick: number;
|
|
1806
1852
|
entryTick: number;
|
|
@@ -1816,7 +1862,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1816
1862
|
} | null;
|
|
1817
1863
|
}[]>;
|
|
1818
1864
|
data: {
|
|
1819
|
-
|
|
1865
|
+
optionId: bigint;
|
|
1820
1866
|
marketAddr: Address;
|
|
1821
1867
|
optionType: "CALL" | "PUT";
|
|
1822
1868
|
createdAt: Date;
|
|
@@ -1830,6 +1876,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1830
1876
|
strikePrice: bigint;
|
|
1831
1877
|
entryPrice: bigint;
|
|
1832
1878
|
__typename: "UserOption";
|
|
1879
|
+
id: string;
|
|
1833
1880
|
ownerAddr: string;
|
|
1834
1881
|
strikeTick: number;
|
|
1835
1882
|
entryTick: number;
|
|
@@ -1868,7 +1915,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1868
1915
|
isStale: boolean;
|
|
1869
1916
|
isEnabled: boolean;
|
|
1870
1917
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1871
|
-
|
|
1918
|
+
optionId: bigint;
|
|
1872
1919
|
marketAddr: Address;
|
|
1873
1920
|
optionType: "CALL" | "PUT";
|
|
1874
1921
|
createdAt: Date;
|
|
@@ -1882,6 +1929,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1882
1929
|
strikePrice: bigint;
|
|
1883
1930
|
entryPrice: bigint;
|
|
1884
1931
|
__typename: "UserOption";
|
|
1932
|
+
id: string;
|
|
1885
1933
|
ownerAddr: string;
|
|
1886
1934
|
strikeTick: number;
|
|
1887
1935
|
entryTick: number;
|
|
@@ -1898,7 +1946,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1898
1946
|
}[], Error>>;
|
|
1899
1947
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1900
1948
|
promise: Promise<{
|
|
1901
|
-
|
|
1949
|
+
optionId: bigint;
|
|
1902
1950
|
marketAddr: Address;
|
|
1903
1951
|
optionType: "CALL" | "PUT";
|
|
1904
1952
|
createdAt: Date;
|
|
@@ -1912,6 +1960,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1912
1960
|
strikePrice: bigint;
|
|
1913
1961
|
entryPrice: bigint;
|
|
1914
1962
|
__typename: "UserOption";
|
|
1963
|
+
id: string;
|
|
1915
1964
|
ownerAddr: string;
|
|
1916
1965
|
strikeTick: number;
|
|
1917
1966
|
entryTick: number;
|
|
@@ -1927,7 +1976,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1927
1976
|
} | null;
|
|
1928
1977
|
}[]>;
|
|
1929
1978
|
data: {
|
|
1930
|
-
|
|
1979
|
+
optionId: bigint;
|
|
1931
1980
|
marketAddr: Address;
|
|
1932
1981
|
optionType: "CALL" | "PUT";
|
|
1933
1982
|
createdAt: Date;
|
|
@@ -1941,6 +1990,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1941
1990
|
strikePrice: bigint;
|
|
1942
1991
|
entryPrice: bigint;
|
|
1943
1992
|
__typename: "UserOption";
|
|
1993
|
+
id: string;
|
|
1944
1994
|
ownerAddr: string;
|
|
1945
1995
|
strikeTick: number;
|
|
1946
1996
|
entryTick: number;
|
|
@@ -1979,7 +2029,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1979
2029
|
isStale: boolean;
|
|
1980
2030
|
isEnabled: boolean;
|
|
1981
2031
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1982
|
-
|
|
2032
|
+
optionId: bigint;
|
|
1983
2033
|
marketAddr: Address;
|
|
1984
2034
|
optionType: "CALL" | "PUT";
|
|
1985
2035
|
createdAt: Date;
|
|
@@ -1993,6 +2043,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1993
2043
|
strikePrice: bigint;
|
|
1994
2044
|
entryPrice: bigint;
|
|
1995
2045
|
__typename: "UserOption";
|
|
2046
|
+
id: string;
|
|
1996
2047
|
ownerAddr: string;
|
|
1997
2048
|
strikeTick: number;
|
|
1998
2049
|
entryTick: number;
|
|
@@ -2009,7 +2060,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2009
2060
|
}[], Error>>;
|
|
2010
2061
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2011
2062
|
promise: Promise<{
|
|
2012
|
-
|
|
2063
|
+
optionId: bigint;
|
|
2013
2064
|
marketAddr: Address;
|
|
2014
2065
|
optionType: "CALL" | "PUT";
|
|
2015
2066
|
createdAt: Date;
|
|
@@ -2023,6 +2074,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2023
2074
|
strikePrice: bigint;
|
|
2024
2075
|
entryPrice: bigint;
|
|
2025
2076
|
__typename: "UserOption";
|
|
2077
|
+
id: string;
|
|
2026
2078
|
ownerAddr: string;
|
|
2027
2079
|
strikeTick: number;
|
|
2028
2080
|
entryTick: number;
|
|
@@ -2038,7 +2090,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2038
2090
|
} | null;
|
|
2039
2091
|
}[]>;
|
|
2040
2092
|
data: {
|
|
2041
|
-
|
|
2093
|
+
optionId: bigint;
|
|
2042
2094
|
marketAddr: Address;
|
|
2043
2095
|
optionType: "CALL" | "PUT";
|
|
2044
2096
|
createdAt: Date;
|
|
@@ -2052,6 +2104,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2052
2104
|
strikePrice: bigint;
|
|
2053
2105
|
entryPrice: bigint;
|
|
2054
2106
|
__typename: "UserOption";
|
|
2107
|
+
id: string;
|
|
2055
2108
|
ownerAddr: string;
|
|
2056
2109
|
strikeTick: number;
|
|
2057
2110
|
entryTick: number;
|
|
@@ -2090,7 +2143,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2090
2143
|
isStale: boolean;
|
|
2091
2144
|
isEnabled: boolean;
|
|
2092
2145
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
2093
|
-
|
|
2146
|
+
optionId: bigint;
|
|
2094
2147
|
marketAddr: Address;
|
|
2095
2148
|
optionType: "CALL" | "PUT";
|
|
2096
2149
|
createdAt: Date;
|
|
@@ -2104,6 +2157,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2104
2157
|
strikePrice: bigint;
|
|
2105
2158
|
entryPrice: bigint;
|
|
2106
2159
|
__typename: "UserOption";
|
|
2160
|
+
id: string;
|
|
2107
2161
|
ownerAddr: string;
|
|
2108
2162
|
strikeTick: number;
|
|
2109
2163
|
entryTick: number;
|
|
@@ -2120,7 +2174,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2120
2174
|
}[], Error>>;
|
|
2121
2175
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2122
2176
|
promise: Promise<{
|
|
2123
|
-
|
|
2177
|
+
optionId: bigint;
|
|
2124
2178
|
marketAddr: Address;
|
|
2125
2179
|
optionType: "CALL" | "PUT";
|
|
2126
2180
|
createdAt: Date;
|
|
@@ -2134,6 +2188,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2134
2188
|
strikePrice: bigint;
|
|
2135
2189
|
entryPrice: bigint;
|
|
2136
2190
|
__typename: "UserOption";
|
|
2191
|
+
id: string;
|
|
2137
2192
|
ownerAddr: string;
|
|
2138
2193
|
strikeTick: number;
|
|
2139
2194
|
entryTick: number;
|
|
@@ -2149,7 +2204,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2149
2204
|
} | null;
|
|
2150
2205
|
}[]>;
|
|
2151
2206
|
data: {
|
|
2152
|
-
|
|
2207
|
+
optionId: bigint;
|
|
2153
2208
|
marketAddr: Address;
|
|
2154
2209
|
optionType: "CALL" | "PUT";
|
|
2155
2210
|
createdAt: Date;
|
|
@@ -2163,6 +2218,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2163
2218
|
strikePrice: bigint;
|
|
2164
2219
|
entryPrice: bigint;
|
|
2165
2220
|
__typename: "UserOption";
|
|
2221
|
+
id: string;
|
|
2166
2222
|
ownerAddr: string;
|
|
2167
2223
|
strikeTick: number;
|
|
2168
2224
|
entryTick: number;
|
|
@@ -2287,20 +2343,7 @@ interface PriceDataPoint {
|
|
|
2287
2343
|
type PriceResolution = '1m' | '5m' | '15m' | '1h' | '4h' | '1d';
|
|
2288
2344
|
//#endregion
|
|
2289
2345
|
//#region src/hooks/pool/usePriceHistory.d.ts
|
|
2290
|
-
|
|
2291
|
-
poolAddress?: Address;
|
|
2292
|
-
resolution: PriceResolution;
|
|
2293
|
-
startTimestamp: number;
|
|
2294
|
-
endTimestamp: number;
|
|
2295
|
-
enabled?: boolean;
|
|
2296
|
-
}
|
|
2297
|
-
declare const usePriceHistory: ({
|
|
2298
|
-
poolAddress,
|
|
2299
|
-
resolution,
|
|
2300
|
-
startTimestamp,
|
|
2301
|
-
endTimestamp,
|
|
2302
|
-
enabled
|
|
2303
|
-
}: UsePriceHistoryParams) => _tanstack_react_query0.UseQueryResult<PriceDataPoint[], Error>;
|
|
2346
|
+
declare const usePriceHistory: (pool: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query0.UseQueryResult<PriceDataPoint[], Error>;
|
|
2304
2347
|
//#endregion
|
|
2305
2348
|
//#region src/hooks/vault/useBurnLiquidity.d.ts
|
|
2306
2349
|
interface BurnPosition {
|
|
@@ -2322,7 +2365,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
2322
2365
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
2323
2366
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
2324
2367
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
2325
|
-
error:
|
|
2368
|
+
error: viem366.ReadContractErrorType;
|
|
2326
2369
|
isError: true;
|
|
2327
2370
|
isPending: false;
|
|
2328
2371
|
isLoading: false;
|
|
@@ -2334,7 +2377,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2334
2377
|
dataUpdatedAt: number;
|
|
2335
2378
|
errorUpdatedAt: number;
|
|
2336
2379
|
failureCount: number;
|
|
2337
|
-
failureReason:
|
|
2380
|
+
failureReason: viem366.ReadContractErrorType | null;
|
|
2338
2381
|
errorUpdateCount: number;
|
|
2339
2382
|
isFetched: boolean;
|
|
2340
2383
|
isFetchedAfterMount: boolean;
|
|
@@ -2354,7 +2397,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2354
2397
|
totalAmount1: bigint;
|
|
2355
2398
|
borrowedAmount0: bigint;
|
|
2356
2399
|
borrowedAmount1: bigint;
|
|
2357
|
-
}[],
|
|
2400
|
+
}[], viem366.ReadContractErrorType>>;
|
|
2358
2401
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2359
2402
|
promise: Promise<readonly {
|
|
2360
2403
|
tickLower: number;
|
|
@@ -2392,7 +2435,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2392
2435
|
dataUpdatedAt: number;
|
|
2393
2436
|
errorUpdatedAt: number;
|
|
2394
2437
|
failureCount: number;
|
|
2395
|
-
failureReason:
|
|
2438
|
+
failureReason: viem366.ReadContractErrorType | null;
|
|
2396
2439
|
errorUpdateCount: number;
|
|
2397
2440
|
isFetched: boolean;
|
|
2398
2441
|
isFetchedAfterMount: boolean;
|
|
@@ -2412,7 +2455,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2412
2455
|
totalAmount1: bigint;
|
|
2413
2456
|
borrowedAmount0: bigint;
|
|
2414
2457
|
borrowedAmount1: bigint;
|
|
2415
|
-
}[],
|
|
2458
|
+
}[], viem366.ReadContractErrorType>>;
|
|
2416
2459
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2417
2460
|
promise: Promise<readonly {
|
|
2418
2461
|
tickLower: number;
|
|
@@ -2438,7 +2481,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2438
2481
|
borrowedAmount1: bigint;
|
|
2439
2482
|
}[];
|
|
2440
2483
|
} | {
|
|
2441
|
-
error:
|
|
2484
|
+
error: viem366.ReadContractErrorType;
|
|
2442
2485
|
isError: true;
|
|
2443
2486
|
isPending: false;
|
|
2444
2487
|
isLoading: false;
|
|
@@ -2450,7 +2493,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2450
2493
|
dataUpdatedAt: number;
|
|
2451
2494
|
errorUpdatedAt: number;
|
|
2452
2495
|
failureCount: number;
|
|
2453
|
-
failureReason:
|
|
2496
|
+
failureReason: viem366.ReadContractErrorType | null;
|
|
2454
2497
|
errorUpdateCount: number;
|
|
2455
2498
|
isFetched: boolean;
|
|
2456
2499
|
isFetchedAfterMount: boolean;
|
|
@@ -2470,7 +2513,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2470
2513
|
totalAmount1: bigint;
|
|
2471
2514
|
borrowedAmount0: bigint;
|
|
2472
2515
|
borrowedAmount1: bigint;
|
|
2473
|
-
}[],
|
|
2516
|
+
}[], viem366.ReadContractErrorType>>;
|
|
2474
2517
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2475
2518
|
promise: Promise<readonly {
|
|
2476
2519
|
tickLower: number;
|
|
@@ -2508,7 +2551,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2508
2551
|
dataUpdatedAt: number;
|
|
2509
2552
|
errorUpdatedAt: number;
|
|
2510
2553
|
failureCount: number;
|
|
2511
|
-
failureReason:
|
|
2554
|
+
failureReason: viem366.ReadContractErrorType | null;
|
|
2512
2555
|
errorUpdateCount: number;
|
|
2513
2556
|
isFetched: boolean;
|
|
2514
2557
|
isFetchedAfterMount: boolean;
|
|
@@ -2528,7 +2571,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2528
2571
|
totalAmount1: bigint;
|
|
2529
2572
|
borrowedAmount0: bigint;
|
|
2530
2573
|
borrowedAmount1: bigint;
|
|
2531
|
-
}[],
|
|
2574
|
+
}[], viem366.ReadContractErrorType>>;
|
|
2532
2575
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2533
2576
|
promise: Promise<readonly {
|
|
2534
2577
|
tickLower: number;
|
|
@@ -2565,7 +2608,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2565
2608
|
dataUpdatedAt: number;
|
|
2566
2609
|
errorUpdatedAt: number;
|
|
2567
2610
|
failureCount: number;
|
|
2568
|
-
failureReason:
|
|
2611
|
+
failureReason: viem366.ReadContractErrorType | null;
|
|
2569
2612
|
errorUpdateCount: number;
|
|
2570
2613
|
isFetched: boolean;
|
|
2571
2614
|
isFetchedAfterMount: boolean;
|
|
@@ -2586,7 +2629,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2586
2629
|
totalAmount1: bigint;
|
|
2587
2630
|
borrowedAmount0: bigint;
|
|
2588
2631
|
borrowedAmount1: bigint;
|
|
2589
|
-
}[],
|
|
2632
|
+
}[], viem366.ReadContractErrorType>>;
|
|
2590
2633
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2591
2634
|
promise: Promise<readonly {
|
|
2592
2635
|
tickLower: number;
|
|
@@ -2624,7 +2667,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2624
2667
|
dataUpdatedAt: number;
|
|
2625
2668
|
errorUpdatedAt: number;
|
|
2626
2669
|
failureCount: number;
|
|
2627
|
-
failureReason:
|
|
2670
|
+
failureReason: viem366.ReadContractErrorType | null;
|
|
2628
2671
|
errorUpdateCount: number;
|
|
2629
2672
|
isFetched: boolean;
|
|
2630
2673
|
isFetchedAfterMount: boolean;
|
|
@@ -2644,7 +2687,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2644
2687
|
totalAmount1: bigint;
|
|
2645
2688
|
borrowedAmount0: bigint;
|
|
2646
2689
|
borrowedAmount1: bigint;
|
|
2647
|
-
}[],
|
|
2690
|
+
}[], viem366.ReadContractErrorType>>;
|
|
2648
2691
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2649
2692
|
promise: Promise<readonly {
|
|
2650
2693
|
tickLower: number;
|
|
@@ -2717,14 +2760,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
2717
2760
|
borrowedAmount0: Amount;
|
|
2718
2761
|
borrowedAmount1: Amount;
|
|
2719
2762
|
blocksCount: bigint;
|
|
2720
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint],
|
|
2763
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem366.ReadContractErrorType>>;
|
|
2721
2764
|
};
|
|
2722
2765
|
//#endregion
|
|
2723
2766
|
//#region src/hooks/useLens.d.ts
|
|
2724
2767
|
declare const useLens: () => {
|
|
2725
2768
|
timelockLens: {
|
|
2726
2769
|
read: {
|
|
2727
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
2770
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
2728
2771
|
readonly type: "function";
|
|
2729
2772
|
readonly name: "batchGetRefTick";
|
|
2730
2773
|
readonly inputs: readonly [{
|
|
@@ -3430,7 +3473,7 @@ declare const useLens: () => {
|
|
|
3430
3473
|
}];
|
|
3431
3474
|
readonly stateMutability: "view";
|
|
3432
3475
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
3433
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
3476
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
3434
3477
|
readonly type: "function";
|
|
3435
3478
|
readonly name: "batchGetRefTick";
|
|
3436
3479
|
readonly inputs: readonly [{
|
|
@@ -4146,7 +4189,7 @@ declare const useLens: () => {
|
|
|
4146
4189
|
borrowedAmount0: bigint;
|
|
4147
4190
|
borrowedAmount1: bigint;
|
|
4148
4191
|
}[]>;
|
|
4149
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
4192
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
4150
4193
|
readonly type: "function";
|
|
4151
4194
|
readonly name: "batchGetRefTick";
|
|
4152
4195
|
readonly inputs: readonly [{
|
|
@@ -4871,7 +4914,7 @@ declare const useLens: () => {
|
|
|
4871
4914
|
createdAt: bigint;
|
|
4872
4915
|
liquidities: readonly bigint[];
|
|
4873
4916
|
}[], bigint, boolean]>;
|
|
4874
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
4917
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
4875
4918
|
readonly type: "function";
|
|
4876
4919
|
readonly name: "batchGetRefTick";
|
|
4877
4920
|
readonly inputs: readonly [{
|
|
@@ -5577,7 +5620,7 @@ declare const useLens: () => {
|
|
|
5577
5620
|
}];
|
|
5578
5621
|
readonly stateMutability: "view";
|
|
5579
5622
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
5580
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
5623
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
5581
5624
|
readonly type: "function";
|
|
5582
5625
|
readonly name: "batchGetRefTick";
|
|
5583
5626
|
readonly inputs: readonly [{
|
|
@@ -6296,7 +6339,7 @@ declare const useLens: () => {
|
|
|
6296
6339
|
payoutAssetName: string;
|
|
6297
6340
|
optionsCount: bigint;
|
|
6298
6341
|
}>;
|
|
6299
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
6342
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
6300
6343
|
readonly type: "function";
|
|
6301
6344
|
readonly name: "batchGetRefTick";
|
|
6302
6345
|
readonly inputs: readonly [{
|
|
@@ -7002,7 +7045,7 @@ declare const useLens: () => {
|
|
|
7002
7045
|
}];
|
|
7003
7046
|
readonly stateMutability: "view";
|
|
7004
7047
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
7005
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
7048
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
7006
7049
|
readonly type: "function";
|
|
7007
7050
|
readonly name: "batchGetRefTick";
|
|
7008
7051
|
readonly inputs: readonly [{
|
|
@@ -7708,7 +7751,7 @@ declare const useLens: () => {
|
|
|
7708
7751
|
}];
|
|
7709
7752
|
readonly stateMutability: "view";
|
|
7710
7753
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
7711
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
7754
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
7712
7755
|
readonly type: "function";
|
|
7713
7756
|
readonly name: "batchGetRefTick";
|
|
7714
7757
|
readonly inputs: readonly [{
|
|
@@ -8433,7 +8476,7 @@ declare const useLens: () => {
|
|
|
8433
8476
|
createdAt: bigint;
|
|
8434
8477
|
liquidities: readonly bigint[];
|
|
8435
8478
|
}>;
|
|
8436
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
8479
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
8437
8480
|
readonly type: "function";
|
|
8438
8481
|
readonly name: "batchGetRefTick";
|
|
8439
8482
|
readonly inputs: readonly [{
|
|
@@ -9158,7 +9201,7 @@ declare const useLens: () => {
|
|
|
9158
9201
|
createdAt: bigint;
|
|
9159
9202
|
liquidities: readonly bigint[];
|
|
9160
9203
|
}[]>;
|
|
9161
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
9204
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
9162
9205
|
readonly type: "function";
|
|
9163
9206
|
readonly name: "batchGetRefTick";
|
|
9164
9207
|
readonly inputs: readonly [{
|
|
@@ -9875,7 +9918,7 @@ declare const useLens: () => {
|
|
|
9875
9918
|
tickSpacing: number;
|
|
9876
9919
|
fee: number;
|
|
9877
9920
|
}>;
|
|
9878
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
9921
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
9879
9922
|
readonly type: "function";
|
|
9880
9923
|
readonly name: "batchGetRefTick";
|
|
9881
9924
|
readonly inputs: readonly [{
|
|
@@ -10581,7 +10624,7 @@ declare const useLens: () => {
|
|
|
10581
10624
|
}];
|
|
10582
10625
|
readonly stateMutability: "view";
|
|
10583
10626
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
10584
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
10627
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
10585
10628
|
readonly type: "function";
|
|
10586
10629
|
readonly name: "batchGetRefTick";
|
|
10587
10630
|
readonly inputs: readonly [{
|
|
@@ -11306,7 +11349,7 @@ declare const useLens: () => {
|
|
|
11306
11349
|
createdAt: bigint;
|
|
11307
11350
|
liquidities: readonly bigint[];
|
|
11308
11351
|
}[], bigint, boolean]>;
|
|
11309
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
11352
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
11310
11353
|
readonly type: "function";
|
|
11311
11354
|
readonly name: "batchGetRefTick";
|
|
11312
11355
|
readonly inputs: readonly [{
|
|
@@ -12723,7 +12766,7 @@ declare const useLens: () => {
|
|
|
12723
12766
|
} | undefined;
|
|
12724
12767
|
uniswapLens: {
|
|
12725
12768
|
read: {
|
|
12726
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
12769
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
12727
12770
|
readonly type: "function";
|
|
12728
12771
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12729
12772
|
readonly inputs: readonly [{
|
|
@@ -13344,7 +13387,7 @@ declare const useLens: () => {
|
|
|
13344
13387
|
}];
|
|
13345
13388
|
readonly stateMutability: "pure";
|
|
13346
13389
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13347
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
13390
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
13348
13391
|
readonly type: "function";
|
|
13349
13392
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13350
13393
|
readonly inputs: readonly [{
|
|
@@ -13965,7 +14008,7 @@ declare const useLens: () => {
|
|
|
13965
14008
|
}];
|
|
13966
14009
|
readonly stateMutability: "pure";
|
|
13967
14010
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13968
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
14011
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
13969
14012
|
readonly type: "function";
|
|
13970
14013
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13971
14014
|
readonly inputs: readonly [{
|
|
@@ -14586,7 +14629,7 @@ declare const useLens: () => {
|
|
|
14586
14629
|
}];
|
|
14587
14630
|
readonly stateMutability: "pure";
|
|
14588
14631
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14589
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
14632
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
14590
14633
|
readonly type: "function";
|
|
14591
14634
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14592
14635
|
readonly inputs: readonly [{
|
|
@@ -15207,7 +15250,7 @@ declare const useLens: () => {
|
|
|
15207
15250
|
}];
|
|
15208
15251
|
readonly stateMutability: "pure";
|
|
15209
15252
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
15210
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
15253
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
15211
15254
|
readonly type: "function";
|
|
15212
15255
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15213
15256
|
readonly inputs: readonly [{
|
|
@@ -15828,7 +15871,7 @@ declare const useLens: () => {
|
|
|
15828
15871
|
}];
|
|
15829
15872
|
readonly stateMutability: "pure";
|
|
15830
15873
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
15831
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
15874
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
15832
15875
|
readonly type: "function";
|
|
15833
15876
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15834
15877
|
readonly inputs: readonly [{
|
|
@@ -16449,7 +16492,7 @@ declare const useLens: () => {
|
|
|
16449
16492
|
}];
|
|
16450
16493
|
readonly stateMutability: "pure";
|
|
16451
16494
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
16452
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
16495
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
16453
16496
|
readonly type: "function";
|
|
16454
16497
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16455
16498
|
readonly inputs: readonly [{
|
|
@@ -17070,7 +17113,7 @@ declare const useLens: () => {
|
|
|
17070
17113
|
}];
|
|
17071
17114
|
readonly stateMutability: "pure";
|
|
17072
17115
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
17073
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
17116
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
17074
17117
|
readonly type: "function";
|
|
17075
17118
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17076
17119
|
readonly inputs: readonly [{
|
|
@@ -17691,7 +17734,7 @@ declare const useLens: () => {
|
|
|
17691
17734
|
}];
|
|
17692
17735
|
readonly stateMutability: "pure";
|
|
17693
17736
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
17694
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
17737
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
17695
17738
|
readonly type: "function";
|
|
17696
17739
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17697
17740
|
readonly inputs: readonly [{
|
|
@@ -18312,7 +18355,7 @@ declare const useLens: () => {
|
|
|
18312
18355
|
}];
|
|
18313
18356
|
readonly stateMutability: "pure";
|
|
18314
18357
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18315
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
18358
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
18316
18359
|
readonly type: "function";
|
|
18317
18360
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18318
18361
|
readonly inputs: readonly [{
|
|
@@ -18933,7 +18976,7 @@ declare const useLens: () => {
|
|
|
18933
18976
|
}];
|
|
18934
18977
|
readonly stateMutability: "pure";
|
|
18935
18978
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18936
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
18979
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
18937
18980
|
readonly type: "function";
|
|
18938
18981
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18939
18982
|
readonly inputs: readonly [{
|
|
@@ -19554,7 +19597,7 @@ declare const useLens: () => {
|
|
|
19554
19597
|
}];
|
|
19555
19598
|
readonly stateMutability: "pure";
|
|
19556
19599
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
19557
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
19600
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
19558
19601
|
readonly type: "function";
|
|
19559
19602
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19560
19603
|
readonly inputs: readonly [{
|
|
@@ -20175,7 +20218,7 @@ declare const useLens: () => {
|
|
|
20175
20218
|
}];
|
|
20176
20219
|
readonly stateMutability: "pure";
|
|
20177
20220
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20178
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
20221
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
20179
20222
|
readonly type: "function";
|
|
20180
20223
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20181
20224
|
readonly inputs: readonly [{
|
|
@@ -20796,7 +20839,7 @@ declare const useLens: () => {
|
|
|
20796
20839
|
}];
|
|
20797
20840
|
readonly stateMutability: "pure";
|
|
20798
20841
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20799
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
20842
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
20800
20843
|
readonly type: "function";
|
|
20801
20844
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20802
20845
|
readonly inputs: readonly [{
|
|
@@ -21417,7 +21460,7 @@ declare const useLens: () => {
|
|
|
21417
21460
|
}];
|
|
21418
21461
|
readonly stateMutability: "pure";
|
|
21419
21462
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21420
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
21463
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
21421
21464
|
readonly type: "function";
|
|
21422
21465
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21423
21466
|
readonly inputs: readonly [{
|
|
@@ -22038,7 +22081,7 @@ declare const useLens: () => {
|
|
|
22038
22081
|
}];
|
|
22039
22082
|
readonly stateMutability: "pure";
|
|
22040
22083
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
22041
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
22084
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
22042
22085
|
readonly type: "function";
|
|
22043
22086
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
22044
22087
|
readonly inputs: readonly [{
|
|
@@ -22659,7 +22702,7 @@ declare const useLens: () => {
|
|
|
22659
22702
|
}];
|
|
22660
22703
|
readonly stateMutability: "pure";
|
|
22661
22704
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
22662
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
22705
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
22663
22706
|
readonly type: "function";
|
|
22664
22707
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
22665
22708
|
readonly inputs: readonly [{
|
|
@@ -23280,7 +23323,7 @@ declare const useLens: () => {
|
|
|
23280
23323
|
}];
|
|
23281
23324
|
readonly stateMutability: "pure";
|
|
23282
23325
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
23283
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
23326
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
23284
23327
|
readonly type: "function";
|
|
23285
23328
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23286
23329
|
readonly inputs: readonly [{
|
|
@@ -23901,7 +23944,7 @@ declare const useLens: () => {
|
|
|
23901
23944
|
}];
|
|
23902
23945
|
readonly stateMutability: "pure";
|
|
23903
23946
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
23904
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
23947
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
23905
23948
|
readonly type: "function";
|
|
23906
23949
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23907
23950
|
readonly inputs: readonly [{
|
|
@@ -24522,7 +24565,7 @@ declare const useLens: () => {
|
|
|
24522
24565
|
}];
|
|
24523
24566
|
readonly stateMutability: "pure";
|
|
24524
24567
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
24525
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
24568
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
24526
24569
|
readonly type: "function";
|
|
24527
24570
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
24528
24571
|
readonly inputs: readonly [{
|
|
@@ -25143,7 +25186,7 @@ declare const useLens: () => {
|
|
|
25143
25186
|
}];
|
|
25144
25187
|
readonly stateMutability: "pure";
|
|
25145
25188
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25146
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
25189
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
25147
25190
|
readonly type: "function";
|
|
25148
25191
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25149
25192
|
readonly inputs: readonly [{
|
|
@@ -25764,7 +25807,7 @@ declare const useLens: () => {
|
|
|
25764
25807
|
}];
|
|
25765
25808
|
readonly stateMutability: "pure";
|
|
25766
25809
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25767
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
25810
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
25768
25811
|
readonly type: "function";
|
|
25769
25812
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25770
25813
|
readonly inputs: readonly [{
|
|
@@ -26385,7 +26428,7 @@ declare const useLens: () => {
|
|
|
26385
26428
|
}];
|
|
26386
26429
|
readonly stateMutability: "pure";
|
|
26387
26430
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26388
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
26431
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
26389
26432
|
readonly type: "function";
|
|
26390
26433
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26391
26434
|
readonly inputs: readonly [{
|
|
@@ -27006,7 +27049,7 @@ declare const useLens: () => {
|
|
|
27006
27049
|
}];
|
|
27007
27050
|
readonly stateMutability: "pure";
|
|
27008
27051
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27009
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
27052
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
27010
27053
|
readonly type: "function";
|
|
27011
27054
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
27012
27055
|
readonly inputs: readonly [{
|
|
@@ -27627,7 +27670,7 @@ declare const useLens: () => {
|
|
|
27627
27670
|
}];
|
|
27628
27671
|
readonly stateMutability: "pure";
|
|
27629
27672
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27630
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
27673
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
27631
27674
|
readonly type: "function";
|
|
27632
27675
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
27633
27676
|
readonly inputs: readonly [{
|
|
@@ -28248,7 +28291,7 @@ declare const useLens: () => {
|
|
|
28248
28291
|
}];
|
|
28249
28292
|
readonly stateMutability: "pure";
|
|
28250
28293
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
28251
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
28294
|
+
getPriceAtTick: (args: readonly [number], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
28252
28295
|
readonly type: "function";
|
|
28253
28296
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
28254
28297
|
readonly inputs: readonly [{
|
|
@@ -29495,5 +29538,5 @@ declare const useLens: () => {
|
|
|
29495
29538
|
} | undefined;
|
|
29496
29539
|
};
|
|
29497
29540
|
//#endregion
|
|
29498
|
-
export { LiquidityBlockData, OptionData, TimelockMarketProvider, UniswapPoolData,
|
|
29541
|
+
export { LiquidityBlockData, OptionData, TimelockMarketProvider, UniswapPoolData, batchGetAmountsFromLiquidity, useActiveUserOptions, useBurnLiquidity, useClosedUserOptions, useCurrentMarket, useCurrentPrice, useCurrentTick, useExerciseOption, useLens, useLiquidityBlocks, useMarketData, useMaxPositionSize, useMintLiquidity, useMintOption, useOptionPnl, useOptionPremium, usePoolData, usePriceAtTick, usePriceHistory, useTimelockConfig, useVaultData, useVaultTVL };
|
|
29499
29542
|
//# sourceMappingURL=client.d.cts.map
|