timelock-sdk 0.0.51 → 0.0.53
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 +29 -14
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +172 -116
- package/dist/client.d.ts +172 -116
- package/dist/client.js +29 -14
- package/dist/client.js.map +1 -1
- package/dist/{index-BPKijlT_.d.cts → index-HQTA4ETi.d.cts} +92 -92
- package/dist/package.d.cts +1 -1
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
|
8
8
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
9
9
|
import "graphql";
|
|
10
10
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
11
|
-
import * as
|
|
11
|
+
import * as _tanstack_query_core23 from "@tanstack/query-core";
|
|
12
12
|
|
|
13
13
|
//#region src/generated/graphql.d.ts
|
|
14
14
|
type Exact<T$1 extends {
|
|
@@ -72,11 +72,12 @@ type GetActiveUserOptionsQuery = {
|
|
|
72
72
|
entryPrice: any;
|
|
73
73
|
expiresAt: number;
|
|
74
74
|
createdAt: number;
|
|
75
|
-
|
|
75
|
+
premium: any;
|
|
76
|
+
protocolFee: any;
|
|
76
77
|
realizedPayout: any;
|
|
77
78
|
marketAddr: string;
|
|
78
|
-
liquiditiesAtOpen: Array<
|
|
79
|
-
liquiditiesCurrent: Array<
|
|
79
|
+
liquiditiesAtOpen: Array<string>;
|
|
80
|
+
liquiditiesCurrent: Array<string>;
|
|
80
81
|
positionSizeAtOpen: any;
|
|
81
82
|
positionSizeCurrent: any;
|
|
82
83
|
fullyExercised: boolean;
|
|
@@ -108,11 +109,12 @@ type GetClosedUserOptionsQuery = {
|
|
|
108
109
|
entryPrice: any;
|
|
109
110
|
expiresAt: number;
|
|
110
111
|
createdAt: number;
|
|
111
|
-
|
|
112
|
+
premium: any;
|
|
113
|
+
protocolFee: any;
|
|
112
114
|
realizedPayout: any;
|
|
113
115
|
marketAddr: string;
|
|
114
|
-
liquiditiesAtOpen: Array<
|
|
115
|
-
liquiditiesCurrent: Array<
|
|
116
|
+
liquiditiesAtOpen: Array<string>;
|
|
117
|
+
liquiditiesCurrent: Array<string>;
|
|
116
118
|
positionSizeAtOpen: any;
|
|
117
119
|
positionSizeCurrent: any;
|
|
118
120
|
fullyExercised: boolean;
|
|
@@ -202,13 +204,14 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
202
204
|
isRefetching: boolean;
|
|
203
205
|
isStale: boolean;
|
|
204
206
|
isEnabled: boolean;
|
|
205
|
-
refetch: (options?:
|
|
207
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
206
208
|
optionId: bigint;
|
|
207
209
|
marketAddr: Address;
|
|
208
210
|
optionType: "CALL" | "PUT";
|
|
209
211
|
createdAt: Date;
|
|
210
212
|
expiresAt: Date;
|
|
211
|
-
|
|
213
|
+
premium: bigint;
|
|
214
|
+
protocolFee: bigint;
|
|
212
215
|
realizedPayout: bigint;
|
|
213
216
|
liquiditiesAtOpen: bigint[];
|
|
214
217
|
liquiditiesCurrent: bigint[];
|
|
@@ -232,14 +235,15 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
232
235
|
transactionHash: string;
|
|
233
236
|
} | null;
|
|
234
237
|
}[], Error>>;
|
|
235
|
-
fetchStatus:
|
|
238
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
236
239
|
promise: Promise<{
|
|
237
240
|
optionId: bigint;
|
|
238
241
|
marketAddr: Address;
|
|
239
242
|
optionType: "CALL" | "PUT";
|
|
240
243
|
createdAt: Date;
|
|
241
244
|
expiresAt: Date;
|
|
242
|
-
|
|
245
|
+
premium: bigint;
|
|
246
|
+
protocolFee: bigint;
|
|
243
247
|
realizedPayout: bigint;
|
|
244
248
|
liquiditiesAtOpen: bigint[];
|
|
245
249
|
liquiditiesCurrent: bigint[];
|
|
@@ -269,7 +273,8 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
269
273
|
optionType: "CALL" | "PUT";
|
|
270
274
|
createdAt: Date;
|
|
271
275
|
expiresAt: Date;
|
|
272
|
-
|
|
276
|
+
premium: bigint;
|
|
277
|
+
protocolFee: bigint;
|
|
273
278
|
realizedPayout: bigint;
|
|
274
279
|
liquiditiesAtOpen: bigint[];
|
|
275
280
|
liquiditiesCurrent: bigint[];
|
|
@@ -316,13 +321,14 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
316
321
|
isRefetching: boolean;
|
|
317
322
|
isStale: boolean;
|
|
318
323
|
isEnabled: boolean;
|
|
319
|
-
refetch: (options?:
|
|
324
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
320
325
|
optionId: bigint;
|
|
321
326
|
marketAddr: Address;
|
|
322
327
|
optionType: "CALL" | "PUT";
|
|
323
328
|
createdAt: Date;
|
|
324
329
|
expiresAt: Date;
|
|
325
|
-
|
|
330
|
+
premium: bigint;
|
|
331
|
+
protocolFee: bigint;
|
|
326
332
|
realizedPayout: bigint;
|
|
327
333
|
liquiditiesAtOpen: bigint[];
|
|
328
334
|
liquiditiesCurrent: bigint[];
|
|
@@ -346,14 +352,15 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
346
352
|
transactionHash: string;
|
|
347
353
|
} | null;
|
|
348
354
|
}[], Error>>;
|
|
349
|
-
fetchStatus:
|
|
355
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
350
356
|
promise: Promise<{
|
|
351
357
|
optionId: bigint;
|
|
352
358
|
marketAddr: Address;
|
|
353
359
|
optionType: "CALL" | "PUT";
|
|
354
360
|
createdAt: Date;
|
|
355
361
|
expiresAt: Date;
|
|
356
|
-
|
|
362
|
+
premium: bigint;
|
|
363
|
+
protocolFee: bigint;
|
|
357
364
|
realizedPayout: bigint;
|
|
358
365
|
liquiditiesAtOpen: bigint[];
|
|
359
366
|
liquiditiesCurrent: bigint[];
|
|
@@ -383,7 +390,8 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
383
390
|
optionType: "CALL" | "PUT";
|
|
384
391
|
createdAt: Date;
|
|
385
392
|
expiresAt: Date;
|
|
386
|
-
|
|
393
|
+
premium: bigint;
|
|
394
|
+
protocolFee: bigint;
|
|
387
395
|
realizedPayout: bigint;
|
|
388
396
|
liquiditiesAtOpen: bigint[];
|
|
389
397
|
liquiditiesCurrent: bigint[];
|
|
@@ -430,13 +438,14 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
430
438
|
isRefetching: boolean;
|
|
431
439
|
isStale: boolean;
|
|
432
440
|
isEnabled: boolean;
|
|
433
|
-
refetch: (options?:
|
|
441
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
434
442
|
optionId: bigint;
|
|
435
443
|
marketAddr: Address;
|
|
436
444
|
optionType: "CALL" | "PUT";
|
|
437
445
|
createdAt: Date;
|
|
438
446
|
expiresAt: Date;
|
|
439
|
-
|
|
447
|
+
premium: bigint;
|
|
448
|
+
protocolFee: bigint;
|
|
440
449
|
realizedPayout: bigint;
|
|
441
450
|
liquiditiesAtOpen: bigint[];
|
|
442
451
|
liquiditiesCurrent: bigint[];
|
|
@@ -460,14 +469,15 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
460
469
|
transactionHash: string;
|
|
461
470
|
} | null;
|
|
462
471
|
}[], Error>>;
|
|
463
|
-
fetchStatus:
|
|
472
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
464
473
|
promise: Promise<{
|
|
465
474
|
optionId: bigint;
|
|
466
475
|
marketAddr: Address;
|
|
467
476
|
optionType: "CALL" | "PUT";
|
|
468
477
|
createdAt: Date;
|
|
469
478
|
expiresAt: Date;
|
|
470
|
-
|
|
479
|
+
premium: bigint;
|
|
480
|
+
protocolFee: bigint;
|
|
471
481
|
realizedPayout: bigint;
|
|
472
482
|
liquiditiesAtOpen: bigint[];
|
|
473
483
|
liquiditiesCurrent: bigint[];
|
|
@@ -497,7 +507,8 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
497
507
|
optionType: "CALL" | "PUT";
|
|
498
508
|
createdAt: Date;
|
|
499
509
|
expiresAt: Date;
|
|
500
|
-
|
|
510
|
+
premium: bigint;
|
|
511
|
+
protocolFee: bigint;
|
|
501
512
|
realizedPayout: bigint;
|
|
502
513
|
liquiditiesAtOpen: bigint[];
|
|
503
514
|
liquiditiesCurrent: bigint[];
|
|
@@ -544,13 +555,14 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
544
555
|
isRefetching: boolean;
|
|
545
556
|
isStale: boolean;
|
|
546
557
|
isEnabled: boolean;
|
|
547
|
-
refetch: (options?:
|
|
558
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
548
559
|
optionId: bigint;
|
|
549
560
|
marketAddr: Address;
|
|
550
561
|
optionType: "CALL" | "PUT";
|
|
551
562
|
createdAt: Date;
|
|
552
563
|
expiresAt: Date;
|
|
553
|
-
|
|
564
|
+
premium: bigint;
|
|
565
|
+
protocolFee: bigint;
|
|
554
566
|
realizedPayout: bigint;
|
|
555
567
|
liquiditiesAtOpen: bigint[];
|
|
556
568
|
liquiditiesCurrent: bigint[];
|
|
@@ -574,14 +586,15 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
574
586
|
transactionHash: string;
|
|
575
587
|
} | null;
|
|
576
588
|
}[], Error>>;
|
|
577
|
-
fetchStatus:
|
|
589
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
578
590
|
promise: Promise<{
|
|
579
591
|
optionId: bigint;
|
|
580
592
|
marketAddr: Address;
|
|
581
593
|
optionType: "CALL" | "PUT";
|
|
582
594
|
createdAt: Date;
|
|
583
595
|
expiresAt: Date;
|
|
584
|
-
|
|
596
|
+
premium: bigint;
|
|
597
|
+
protocolFee: bigint;
|
|
585
598
|
realizedPayout: bigint;
|
|
586
599
|
liquiditiesAtOpen: bigint[];
|
|
587
600
|
liquiditiesCurrent: bigint[];
|
|
@@ -611,7 +624,8 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
611
624
|
optionType: "CALL" | "PUT";
|
|
612
625
|
createdAt: Date;
|
|
613
626
|
expiresAt: Date;
|
|
614
|
-
|
|
627
|
+
premium: bigint;
|
|
628
|
+
protocolFee: bigint;
|
|
615
629
|
realizedPayout: bigint;
|
|
616
630
|
liquiditiesAtOpen: bigint[];
|
|
617
631
|
liquiditiesCurrent: bigint[];
|
|
@@ -658,13 +672,14 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
658
672
|
isRefetching: boolean;
|
|
659
673
|
isStale: boolean;
|
|
660
674
|
isEnabled: boolean;
|
|
661
|
-
refetch: (options?:
|
|
675
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
662
676
|
optionId: bigint;
|
|
663
677
|
marketAddr: Address;
|
|
664
678
|
optionType: "CALL" | "PUT";
|
|
665
679
|
createdAt: Date;
|
|
666
680
|
expiresAt: Date;
|
|
667
|
-
|
|
681
|
+
premium: bigint;
|
|
682
|
+
protocolFee: bigint;
|
|
668
683
|
realizedPayout: bigint;
|
|
669
684
|
liquiditiesAtOpen: bigint[];
|
|
670
685
|
liquiditiesCurrent: bigint[];
|
|
@@ -688,14 +703,15 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
688
703
|
transactionHash: string;
|
|
689
704
|
} | null;
|
|
690
705
|
}[], Error>>;
|
|
691
|
-
fetchStatus:
|
|
706
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
692
707
|
promise: Promise<{
|
|
693
708
|
optionId: bigint;
|
|
694
709
|
marketAddr: Address;
|
|
695
710
|
optionType: "CALL" | "PUT";
|
|
696
711
|
createdAt: Date;
|
|
697
712
|
expiresAt: Date;
|
|
698
|
-
|
|
713
|
+
premium: bigint;
|
|
714
|
+
protocolFee: bigint;
|
|
699
715
|
realizedPayout: bigint;
|
|
700
716
|
liquiditiesAtOpen: bigint[];
|
|
701
717
|
liquiditiesCurrent: bigint[];
|
|
@@ -725,7 +741,8 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
725
741
|
optionType: "CALL" | "PUT";
|
|
726
742
|
createdAt: Date;
|
|
727
743
|
expiresAt: Date;
|
|
728
|
-
|
|
744
|
+
premium: bigint;
|
|
745
|
+
protocolFee: bigint;
|
|
729
746
|
realizedPayout: bigint;
|
|
730
747
|
liquiditiesAtOpen: bigint[];
|
|
731
748
|
liquiditiesCurrent: bigint[];
|
|
@@ -772,13 +789,14 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
772
789
|
isRefetching: boolean;
|
|
773
790
|
isStale: boolean;
|
|
774
791
|
isEnabled: boolean;
|
|
775
|
-
refetch: (options?:
|
|
792
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
776
793
|
optionId: bigint;
|
|
777
794
|
marketAddr: Address;
|
|
778
795
|
optionType: "CALL" | "PUT";
|
|
779
796
|
createdAt: Date;
|
|
780
797
|
expiresAt: Date;
|
|
781
|
-
|
|
798
|
+
premium: bigint;
|
|
799
|
+
protocolFee: bigint;
|
|
782
800
|
realizedPayout: bigint;
|
|
783
801
|
liquiditiesAtOpen: bigint[];
|
|
784
802
|
liquiditiesCurrent: bigint[];
|
|
@@ -802,14 +820,15 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
802
820
|
transactionHash: string;
|
|
803
821
|
} | null;
|
|
804
822
|
}[], Error>>;
|
|
805
|
-
fetchStatus:
|
|
823
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
806
824
|
promise: Promise<{
|
|
807
825
|
optionId: bigint;
|
|
808
826
|
marketAddr: Address;
|
|
809
827
|
optionType: "CALL" | "PUT";
|
|
810
828
|
createdAt: Date;
|
|
811
829
|
expiresAt: Date;
|
|
812
|
-
|
|
830
|
+
premium: bigint;
|
|
831
|
+
protocolFee: bigint;
|
|
813
832
|
realizedPayout: bigint;
|
|
814
833
|
liquiditiesAtOpen: bigint[];
|
|
815
834
|
liquiditiesCurrent: bigint[];
|
|
@@ -839,7 +858,8 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
839
858
|
optionType: "CALL" | "PUT";
|
|
840
859
|
createdAt: Date;
|
|
841
860
|
expiresAt: Date;
|
|
842
|
-
|
|
861
|
+
premium: bigint;
|
|
862
|
+
protocolFee: bigint;
|
|
843
863
|
realizedPayout: bigint;
|
|
844
864
|
liquiditiesAtOpen: bigint[];
|
|
845
865
|
liquiditiesCurrent: bigint[];
|
|
@@ -887,13 +907,14 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
887
907
|
isRefetching: boolean;
|
|
888
908
|
isStale: boolean;
|
|
889
909
|
isEnabled: boolean;
|
|
890
|
-
refetch: (options?:
|
|
910
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
891
911
|
optionId: bigint;
|
|
892
912
|
marketAddr: Address;
|
|
893
913
|
optionType: "CALL" | "PUT";
|
|
894
914
|
createdAt: Date;
|
|
895
915
|
expiresAt: Date;
|
|
896
|
-
|
|
916
|
+
premium: bigint;
|
|
917
|
+
protocolFee: bigint;
|
|
897
918
|
realizedPayout: bigint;
|
|
898
919
|
liquiditiesAtOpen: bigint[];
|
|
899
920
|
liquiditiesCurrent: bigint[];
|
|
@@ -917,14 +938,15 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
917
938
|
transactionHash: string;
|
|
918
939
|
} | null;
|
|
919
940
|
}[], Error>>;
|
|
920
|
-
fetchStatus:
|
|
941
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
921
942
|
promise: Promise<{
|
|
922
943
|
optionId: bigint;
|
|
923
944
|
marketAddr: Address;
|
|
924
945
|
optionType: "CALL" | "PUT";
|
|
925
946
|
createdAt: Date;
|
|
926
947
|
expiresAt: Date;
|
|
927
|
-
|
|
948
|
+
premium: bigint;
|
|
949
|
+
protocolFee: bigint;
|
|
928
950
|
realizedPayout: bigint;
|
|
929
951
|
liquiditiesAtOpen: bigint[];
|
|
930
952
|
liquiditiesCurrent: bigint[];
|
|
@@ -954,7 +976,8 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
954
976
|
optionType: "CALL" | "PUT";
|
|
955
977
|
createdAt: Date;
|
|
956
978
|
expiresAt: Date;
|
|
957
|
-
|
|
979
|
+
premium: bigint;
|
|
980
|
+
protocolFee: bigint;
|
|
958
981
|
realizedPayout: bigint;
|
|
959
982
|
liquiditiesAtOpen: bigint[];
|
|
960
983
|
liquiditiesCurrent: bigint[];
|
|
@@ -1001,13 +1024,14 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1001
1024
|
isRefetching: boolean;
|
|
1002
1025
|
isStale: boolean;
|
|
1003
1026
|
isEnabled: boolean;
|
|
1004
|
-
refetch: (options?:
|
|
1027
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
1005
1028
|
optionId: bigint;
|
|
1006
1029
|
marketAddr: Address;
|
|
1007
1030
|
optionType: "CALL" | "PUT";
|
|
1008
1031
|
createdAt: Date;
|
|
1009
1032
|
expiresAt: Date;
|
|
1010
|
-
|
|
1033
|
+
premium: bigint;
|
|
1034
|
+
protocolFee: bigint;
|
|
1011
1035
|
realizedPayout: bigint;
|
|
1012
1036
|
liquiditiesAtOpen: bigint[];
|
|
1013
1037
|
liquiditiesCurrent: bigint[];
|
|
@@ -1031,14 +1055,15 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1031
1055
|
transactionHash: string;
|
|
1032
1056
|
} | null;
|
|
1033
1057
|
}[], Error>>;
|
|
1034
|
-
fetchStatus:
|
|
1058
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
1035
1059
|
promise: Promise<{
|
|
1036
1060
|
optionId: bigint;
|
|
1037
1061
|
marketAddr: Address;
|
|
1038
1062
|
optionType: "CALL" | "PUT";
|
|
1039
1063
|
createdAt: Date;
|
|
1040
1064
|
expiresAt: Date;
|
|
1041
|
-
|
|
1065
|
+
premium: bigint;
|
|
1066
|
+
protocolFee: bigint;
|
|
1042
1067
|
realizedPayout: bigint;
|
|
1043
1068
|
liquiditiesAtOpen: bigint[];
|
|
1044
1069
|
liquiditiesCurrent: bigint[];
|
|
@@ -1068,7 +1093,8 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1068
1093
|
optionType: "CALL" | "PUT";
|
|
1069
1094
|
createdAt: Date;
|
|
1070
1095
|
expiresAt: Date;
|
|
1071
|
-
|
|
1096
|
+
premium: bigint;
|
|
1097
|
+
protocolFee: bigint;
|
|
1072
1098
|
realizedPayout: bigint;
|
|
1073
1099
|
liquiditiesAtOpen: bigint[];
|
|
1074
1100
|
liquiditiesCurrent: bigint[];
|
|
@@ -1115,13 +1141,14 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1115
1141
|
isRefetching: boolean;
|
|
1116
1142
|
isStale: boolean;
|
|
1117
1143
|
isEnabled: boolean;
|
|
1118
|
-
refetch: (options?:
|
|
1144
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
1119
1145
|
optionId: bigint;
|
|
1120
1146
|
marketAddr: Address;
|
|
1121
1147
|
optionType: "CALL" | "PUT";
|
|
1122
1148
|
createdAt: Date;
|
|
1123
1149
|
expiresAt: Date;
|
|
1124
|
-
|
|
1150
|
+
premium: bigint;
|
|
1151
|
+
protocolFee: bigint;
|
|
1125
1152
|
realizedPayout: bigint;
|
|
1126
1153
|
liquiditiesAtOpen: bigint[];
|
|
1127
1154
|
liquiditiesCurrent: bigint[];
|
|
@@ -1145,14 +1172,15 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1145
1172
|
transactionHash: string;
|
|
1146
1173
|
} | null;
|
|
1147
1174
|
}[], Error>>;
|
|
1148
|
-
fetchStatus:
|
|
1175
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
1149
1176
|
promise: Promise<{
|
|
1150
1177
|
optionId: bigint;
|
|
1151
1178
|
marketAddr: Address;
|
|
1152
1179
|
optionType: "CALL" | "PUT";
|
|
1153
1180
|
createdAt: Date;
|
|
1154
1181
|
expiresAt: Date;
|
|
1155
|
-
|
|
1182
|
+
premium: bigint;
|
|
1183
|
+
protocolFee: bigint;
|
|
1156
1184
|
realizedPayout: bigint;
|
|
1157
1185
|
liquiditiesAtOpen: bigint[];
|
|
1158
1186
|
liquiditiesCurrent: bigint[];
|
|
@@ -1182,7 +1210,8 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1182
1210
|
optionType: "CALL" | "PUT";
|
|
1183
1211
|
createdAt: Date;
|
|
1184
1212
|
expiresAt: Date;
|
|
1185
|
-
|
|
1213
|
+
premium: bigint;
|
|
1214
|
+
protocolFee: bigint;
|
|
1186
1215
|
realizedPayout: bigint;
|
|
1187
1216
|
liquiditiesAtOpen: bigint[];
|
|
1188
1217
|
liquiditiesCurrent: bigint[];
|
|
@@ -1229,13 +1258,14 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1229
1258
|
isRefetching: boolean;
|
|
1230
1259
|
isStale: boolean;
|
|
1231
1260
|
isEnabled: boolean;
|
|
1232
|
-
refetch: (options?:
|
|
1261
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
1233
1262
|
optionId: bigint;
|
|
1234
1263
|
marketAddr: Address;
|
|
1235
1264
|
optionType: "CALL" | "PUT";
|
|
1236
1265
|
createdAt: Date;
|
|
1237
1266
|
expiresAt: Date;
|
|
1238
|
-
|
|
1267
|
+
premium: bigint;
|
|
1268
|
+
protocolFee: bigint;
|
|
1239
1269
|
realizedPayout: bigint;
|
|
1240
1270
|
liquiditiesAtOpen: bigint[];
|
|
1241
1271
|
liquiditiesCurrent: bigint[];
|
|
@@ -1259,14 +1289,15 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1259
1289
|
transactionHash: string;
|
|
1260
1290
|
} | null;
|
|
1261
1291
|
}[], Error>>;
|
|
1262
|
-
fetchStatus:
|
|
1292
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
1263
1293
|
promise: Promise<{
|
|
1264
1294
|
optionId: bigint;
|
|
1265
1295
|
marketAddr: Address;
|
|
1266
1296
|
optionType: "CALL" | "PUT";
|
|
1267
1297
|
createdAt: Date;
|
|
1268
1298
|
expiresAt: Date;
|
|
1269
|
-
|
|
1299
|
+
premium: bigint;
|
|
1300
|
+
protocolFee: bigint;
|
|
1270
1301
|
realizedPayout: bigint;
|
|
1271
1302
|
liquiditiesAtOpen: bigint[];
|
|
1272
1303
|
liquiditiesCurrent: bigint[];
|
|
@@ -1296,7 +1327,8 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1296
1327
|
optionType: "CALL" | "PUT";
|
|
1297
1328
|
createdAt: Date;
|
|
1298
1329
|
expiresAt: Date;
|
|
1299
|
-
|
|
1330
|
+
premium: bigint;
|
|
1331
|
+
protocolFee: bigint;
|
|
1300
1332
|
realizedPayout: bigint;
|
|
1301
1333
|
liquiditiesAtOpen: bigint[];
|
|
1302
1334
|
liquiditiesCurrent: bigint[];
|
|
@@ -1343,13 +1375,14 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1343
1375
|
isRefetching: boolean;
|
|
1344
1376
|
isStale: boolean;
|
|
1345
1377
|
isEnabled: boolean;
|
|
1346
|
-
refetch: (options?:
|
|
1378
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
1347
1379
|
optionId: bigint;
|
|
1348
1380
|
marketAddr: Address;
|
|
1349
1381
|
optionType: "CALL" | "PUT";
|
|
1350
1382
|
createdAt: Date;
|
|
1351
1383
|
expiresAt: Date;
|
|
1352
|
-
|
|
1384
|
+
premium: bigint;
|
|
1385
|
+
protocolFee: bigint;
|
|
1353
1386
|
realizedPayout: bigint;
|
|
1354
1387
|
liquiditiesAtOpen: bigint[];
|
|
1355
1388
|
liquiditiesCurrent: bigint[];
|
|
@@ -1373,14 +1406,15 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1373
1406
|
transactionHash: string;
|
|
1374
1407
|
} | null;
|
|
1375
1408
|
}[], Error>>;
|
|
1376
|
-
fetchStatus:
|
|
1409
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
1377
1410
|
promise: Promise<{
|
|
1378
1411
|
optionId: bigint;
|
|
1379
1412
|
marketAddr: Address;
|
|
1380
1413
|
optionType: "CALL" | "PUT";
|
|
1381
1414
|
createdAt: Date;
|
|
1382
1415
|
expiresAt: Date;
|
|
1383
|
-
|
|
1416
|
+
premium: bigint;
|
|
1417
|
+
protocolFee: bigint;
|
|
1384
1418
|
realizedPayout: bigint;
|
|
1385
1419
|
liquiditiesAtOpen: bigint[];
|
|
1386
1420
|
liquiditiesCurrent: bigint[];
|
|
@@ -1410,7 +1444,8 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1410
1444
|
optionType: "CALL" | "PUT";
|
|
1411
1445
|
createdAt: Date;
|
|
1412
1446
|
expiresAt: Date;
|
|
1413
|
-
|
|
1447
|
+
premium: bigint;
|
|
1448
|
+
protocolFee: bigint;
|
|
1414
1449
|
realizedPayout: bigint;
|
|
1415
1450
|
liquiditiesAtOpen: bigint[];
|
|
1416
1451
|
liquiditiesCurrent: bigint[];
|
|
@@ -1457,13 +1492,14 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1457
1492
|
isRefetching: boolean;
|
|
1458
1493
|
isStale: boolean;
|
|
1459
1494
|
isEnabled: boolean;
|
|
1460
|
-
refetch: (options?:
|
|
1495
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
1461
1496
|
optionId: bigint;
|
|
1462
1497
|
marketAddr: Address;
|
|
1463
1498
|
optionType: "CALL" | "PUT";
|
|
1464
1499
|
createdAt: Date;
|
|
1465
1500
|
expiresAt: Date;
|
|
1466
|
-
|
|
1501
|
+
premium: bigint;
|
|
1502
|
+
protocolFee: bigint;
|
|
1467
1503
|
realizedPayout: bigint;
|
|
1468
1504
|
liquiditiesAtOpen: bigint[];
|
|
1469
1505
|
liquiditiesCurrent: bigint[];
|
|
@@ -1487,14 +1523,15 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1487
1523
|
transactionHash: string;
|
|
1488
1524
|
} | null;
|
|
1489
1525
|
}[], Error>>;
|
|
1490
|
-
fetchStatus:
|
|
1526
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
1491
1527
|
promise: Promise<{
|
|
1492
1528
|
optionId: bigint;
|
|
1493
1529
|
marketAddr: Address;
|
|
1494
1530
|
optionType: "CALL" | "PUT";
|
|
1495
1531
|
createdAt: Date;
|
|
1496
1532
|
expiresAt: Date;
|
|
1497
|
-
|
|
1533
|
+
premium: bigint;
|
|
1534
|
+
protocolFee: bigint;
|
|
1498
1535
|
realizedPayout: bigint;
|
|
1499
1536
|
liquiditiesAtOpen: bigint[];
|
|
1500
1537
|
liquiditiesCurrent: bigint[];
|
|
@@ -1524,7 +1561,8 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1524
1561
|
optionType: "CALL" | "PUT";
|
|
1525
1562
|
createdAt: Date;
|
|
1526
1563
|
expiresAt: Date;
|
|
1527
|
-
|
|
1564
|
+
premium: bigint;
|
|
1565
|
+
protocolFee: bigint;
|
|
1528
1566
|
realizedPayout: bigint;
|
|
1529
1567
|
liquiditiesAtOpen: bigint[];
|
|
1530
1568
|
liquiditiesCurrent: bigint[];
|
|
@@ -1572,13 +1610,14 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1572
1610
|
isRefetching: boolean;
|
|
1573
1611
|
isStale: boolean;
|
|
1574
1612
|
isEnabled: boolean;
|
|
1575
|
-
refetch: (options?:
|
|
1613
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
1576
1614
|
optionId: bigint;
|
|
1577
1615
|
marketAddr: Address;
|
|
1578
1616
|
optionType: "CALL" | "PUT";
|
|
1579
1617
|
createdAt: Date;
|
|
1580
1618
|
expiresAt: Date;
|
|
1581
|
-
|
|
1619
|
+
premium: bigint;
|
|
1620
|
+
protocolFee: bigint;
|
|
1582
1621
|
realizedPayout: bigint;
|
|
1583
1622
|
liquiditiesAtOpen: bigint[];
|
|
1584
1623
|
liquiditiesCurrent: bigint[];
|
|
@@ -1602,14 +1641,15 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1602
1641
|
transactionHash: string;
|
|
1603
1642
|
} | null;
|
|
1604
1643
|
}[], Error>>;
|
|
1605
|
-
fetchStatus:
|
|
1644
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
1606
1645
|
promise: Promise<{
|
|
1607
1646
|
optionId: bigint;
|
|
1608
1647
|
marketAddr: Address;
|
|
1609
1648
|
optionType: "CALL" | "PUT";
|
|
1610
1649
|
createdAt: Date;
|
|
1611
1650
|
expiresAt: Date;
|
|
1612
|
-
|
|
1651
|
+
premium: bigint;
|
|
1652
|
+
protocolFee: bigint;
|
|
1613
1653
|
realizedPayout: bigint;
|
|
1614
1654
|
liquiditiesAtOpen: bigint[];
|
|
1615
1655
|
liquiditiesCurrent: bigint[];
|
|
@@ -1639,7 +1679,8 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1639
1679
|
optionType: "CALL" | "PUT";
|
|
1640
1680
|
createdAt: Date;
|
|
1641
1681
|
expiresAt: Date;
|
|
1642
|
-
|
|
1682
|
+
premium: bigint;
|
|
1683
|
+
protocolFee: bigint;
|
|
1643
1684
|
realizedPayout: bigint;
|
|
1644
1685
|
liquiditiesAtOpen: bigint[];
|
|
1645
1686
|
liquiditiesCurrent: bigint[];
|
|
@@ -1686,13 +1727,14 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1686
1727
|
isRefetching: boolean;
|
|
1687
1728
|
isStale: boolean;
|
|
1688
1729
|
isEnabled: boolean;
|
|
1689
|
-
refetch: (options?:
|
|
1730
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
1690
1731
|
optionId: bigint;
|
|
1691
1732
|
marketAddr: Address;
|
|
1692
1733
|
optionType: "CALL" | "PUT";
|
|
1693
1734
|
createdAt: Date;
|
|
1694
1735
|
expiresAt: Date;
|
|
1695
|
-
|
|
1736
|
+
premium: bigint;
|
|
1737
|
+
protocolFee: bigint;
|
|
1696
1738
|
realizedPayout: bigint;
|
|
1697
1739
|
liquiditiesAtOpen: bigint[];
|
|
1698
1740
|
liquiditiesCurrent: bigint[];
|
|
@@ -1716,14 +1758,15 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1716
1758
|
transactionHash: string;
|
|
1717
1759
|
} | null;
|
|
1718
1760
|
}[], Error>>;
|
|
1719
|
-
fetchStatus:
|
|
1761
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
1720
1762
|
promise: Promise<{
|
|
1721
1763
|
optionId: bigint;
|
|
1722
1764
|
marketAddr: Address;
|
|
1723
1765
|
optionType: "CALL" | "PUT";
|
|
1724
1766
|
createdAt: Date;
|
|
1725
1767
|
expiresAt: Date;
|
|
1726
|
-
|
|
1768
|
+
premium: bigint;
|
|
1769
|
+
protocolFee: bigint;
|
|
1727
1770
|
realizedPayout: bigint;
|
|
1728
1771
|
liquiditiesAtOpen: bigint[];
|
|
1729
1772
|
liquiditiesCurrent: bigint[];
|
|
@@ -1753,7 +1796,8 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1753
1796
|
optionType: "CALL" | "PUT";
|
|
1754
1797
|
createdAt: Date;
|
|
1755
1798
|
expiresAt: Date;
|
|
1756
|
-
|
|
1799
|
+
premium: bigint;
|
|
1800
|
+
protocolFee: bigint;
|
|
1757
1801
|
realizedPayout: bigint;
|
|
1758
1802
|
liquiditiesAtOpen: bigint[];
|
|
1759
1803
|
liquiditiesCurrent: bigint[];
|
|
@@ -1800,13 +1844,14 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1800
1844
|
isRefetching: boolean;
|
|
1801
1845
|
isStale: boolean;
|
|
1802
1846
|
isEnabled: boolean;
|
|
1803
|
-
refetch: (options?:
|
|
1847
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
1804
1848
|
optionId: bigint;
|
|
1805
1849
|
marketAddr: Address;
|
|
1806
1850
|
optionType: "CALL" | "PUT";
|
|
1807
1851
|
createdAt: Date;
|
|
1808
1852
|
expiresAt: Date;
|
|
1809
|
-
|
|
1853
|
+
premium: bigint;
|
|
1854
|
+
protocolFee: bigint;
|
|
1810
1855
|
realizedPayout: bigint;
|
|
1811
1856
|
liquiditiesAtOpen: bigint[];
|
|
1812
1857
|
liquiditiesCurrent: bigint[];
|
|
@@ -1830,14 +1875,15 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1830
1875
|
transactionHash: string;
|
|
1831
1876
|
} | null;
|
|
1832
1877
|
}[], Error>>;
|
|
1833
|
-
fetchStatus:
|
|
1878
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
1834
1879
|
promise: Promise<{
|
|
1835
1880
|
optionId: bigint;
|
|
1836
1881
|
marketAddr: Address;
|
|
1837
1882
|
optionType: "CALL" | "PUT";
|
|
1838
1883
|
createdAt: Date;
|
|
1839
1884
|
expiresAt: Date;
|
|
1840
|
-
|
|
1885
|
+
premium: bigint;
|
|
1886
|
+
protocolFee: bigint;
|
|
1841
1887
|
realizedPayout: bigint;
|
|
1842
1888
|
liquiditiesAtOpen: bigint[];
|
|
1843
1889
|
liquiditiesCurrent: bigint[];
|
|
@@ -1867,7 +1913,8 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1867
1913
|
optionType: "CALL" | "PUT";
|
|
1868
1914
|
createdAt: Date;
|
|
1869
1915
|
expiresAt: Date;
|
|
1870
|
-
|
|
1916
|
+
premium: bigint;
|
|
1917
|
+
protocolFee: bigint;
|
|
1871
1918
|
realizedPayout: bigint;
|
|
1872
1919
|
liquiditiesAtOpen: bigint[];
|
|
1873
1920
|
liquiditiesCurrent: bigint[];
|
|
@@ -1914,13 +1961,14 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1914
1961
|
isRefetching: boolean;
|
|
1915
1962
|
isStale: boolean;
|
|
1916
1963
|
isEnabled: boolean;
|
|
1917
|
-
refetch: (options?:
|
|
1964
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
1918
1965
|
optionId: bigint;
|
|
1919
1966
|
marketAddr: Address;
|
|
1920
1967
|
optionType: "CALL" | "PUT";
|
|
1921
1968
|
createdAt: Date;
|
|
1922
1969
|
expiresAt: Date;
|
|
1923
|
-
|
|
1970
|
+
premium: bigint;
|
|
1971
|
+
protocolFee: bigint;
|
|
1924
1972
|
realizedPayout: bigint;
|
|
1925
1973
|
liquiditiesAtOpen: bigint[];
|
|
1926
1974
|
liquiditiesCurrent: bigint[];
|
|
@@ -1944,14 +1992,15 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1944
1992
|
transactionHash: string;
|
|
1945
1993
|
} | null;
|
|
1946
1994
|
}[], Error>>;
|
|
1947
|
-
fetchStatus:
|
|
1995
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
1948
1996
|
promise: Promise<{
|
|
1949
1997
|
optionId: bigint;
|
|
1950
1998
|
marketAddr: Address;
|
|
1951
1999
|
optionType: "CALL" | "PUT";
|
|
1952
2000
|
createdAt: Date;
|
|
1953
2001
|
expiresAt: Date;
|
|
1954
|
-
|
|
2002
|
+
premium: bigint;
|
|
2003
|
+
protocolFee: bigint;
|
|
1955
2004
|
realizedPayout: bigint;
|
|
1956
2005
|
liquiditiesAtOpen: bigint[];
|
|
1957
2006
|
liquiditiesCurrent: bigint[];
|
|
@@ -1981,7 +2030,8 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1981
2030
|
optionType: "CALL" | "PUT";
|
|
1982
2031
|
createdAt: Date;
|
|
1983
2032
|
expiresAt: Date;
|
|
1984
|
-
|
|
2033
|
+
premium: bigint;
|
|
2034
|
+
protocolFee: bigint;
|
|
1985
2035
|
realizedPayout: bigint;
|
|
1986
2036
|
liquiditiesAtOpen: bigint[];
|
|
1987
2037
|
liquiditiesCurrent: bigint[];
|
|
@@ -2028,13 +2078,14 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2028
2078
|
isRefetching: boolean;
|
|
2029
2079
|
isStale: boolean;
|
|
2030
2080
|
isEnabled: boolean;
|
|
2031
|
-
refetch: (options?:
|
|
2081
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
2032
2082
|
optionId: bigint;
|
|
2033
2083
|
marketAddr: Address;
|
|
2034
2084
|
optionType: "CALL" | "PUT";
|
|
2035
2085
|
createdAt: Date;
|
|
2036
2086
|
expiresAt: Date;
|
|
2037
|
-
|
|
2087
|
+
premium: bigint;
|
|
2088
|
+
protocolFee: bigint;
|
|
2038
2089
|
realizedPayout: bigint;
|
|
2039
2090
|
liquiditiesAtOpen: bigint[];
|
|
2040
2091
|
liquiditiesCurrent: bigint[];
|
|
@@ -2058,14 +2109,15 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2058
2109
|
transactionHash: string;
|
|
2059
2110
|
} | null;
|
|
2060
2111
|
}[], Error>>;
|
|
2061
|
-
fetchStatus:
|
|
2112
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
2062
2113
|
promise: Promise<{
|
|
2063
2114
|
optionId: bigint;
|
|
2064
2115
|
marketAddr: Address;
|
|
2065
2116
|
optionType: "CALL" | "PUT";
|
|
2066
2117
|
createdAt: Date;
|
|
2067
2118
|
expiresAt: Date;
|
|
2068
|
-
|
|
2119
|
+
premium: bigint;
|
|
2120
|
+
protocolFee: bigint;
|
|
2069
2121
|
realizedPayout: bigint;
|
|
2070
2122
|
liquiditiesAtOpen: bigint[];
|
|
2071
2123
|
liquiditiesCurrent: bigint[];
|
|
@@ -2095,7 +2147,8 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2095
2147
|
optionType: "CALL" | "PUT";
|
|
2096
2148
|
createdAt: Date;
|
|
2097
2149
|
expiresAt: Date;
|
|
2098
|
-
|
|
2150
|
+
premium: bigint;
|
|
2151
|
+
protocolFee: bigint;
|
|
2099
2152
|
realizedPayout: bigint;
|
|
2100
2153
|
liquiditiesAtOpen: bigint[];
|
|
2101
2154
|
liquiditiesCurrent: bigint[];
|
|
@@ -2142,13 +2195,14 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2142
2195
|
isRefetching: boolean;
|
|
2143
2196
|
isStale: boolean;
|
|
2144
2197
|
isEnabled: boolean;
|
|
2145
|
-
refetch: (options?:
|
|
2198
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
2146
2199
|
optionId: bigint;
|
|
2147
2200
|
marketAddr: Address;
|
|
2148
2201
|
optionType: "CALL" | "PUT";
|
|
2149
2202
|
createdAt: Date;
|
|
2150
2203
|
expiresAt: Date;
|
|
2151
|
-
|
|
2204
|
+
premium: bigint;
|
|
2205
|
+
protocolFee: bigint;
|
|
2152
2206
|
realizedPayout: bigint;
|
|
2153
2207
|
liquiditiesAtOpen: bigint[];
|
|
2154
2208
|
liquiditiesCurrent: bigint[];
|
|
@@ -2172,14 +2226,15 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2172
2226
|
transactionHash: string;
|
|
2173
2227
|
} | null;
|
|
2174
2228
|
}[], Error>>;
|
|
2175
|
-
fetchStatus:
|
|
2229
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
2176
2230
|
promise: Promise<{
|
|
2177
2231
|
optionId: bigint;
|
|
2178
2232
|
marketAddr: Address;
|
|
2179
2233
|
optionType: "CALL" | "PUT";
|
|
2180
2234
|
createdAt: Date;
|
|
2181
2235
|
expiresAt: Date;
|
|
2182
|
-
|
|
2236
|
+
premium: bigint;
|
|
2237
|
+
protocolFee: bigint;
|
|
2183
2238
|
realizedPayout: bigint;
|
|
2184
2239
|
liquiditiesAtOpen: bigint[];
|
|
2185
2240
|
liquiditiesCurrent: bigint[];
|
|
@@ -2209,7 +2264,8 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2209
2264
|
optionType: "CALL" | "PUT";
|
|
2210
2265
|
createdAt: Date;
|
|
2211
2266
|
expiresAt: Date;
|
|
2212
|
-
|
|
2267
|
+
premium: bigint;
|
|
2268
|
+
protocolFee: bigint;
|
|
2213
2269
|
realizedPayout: bigint;
|
|
2214
2270
|
liquiditiesAtOpen: bigint[];
|
|
2215
2271
|
liquiditiesCurrent: bigint[];
|
|
@@ -2387,7 +2443,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2387
2443
|
isRefetching: boolean;
|
|
2388
2444
|
isStale: boolean;
|
|
2389
2445
|
isEnabled: boolean;
|
|
2390
|
-
refetch: (options?:
|
|
2446
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
|
|
2391
2447
|
tickLower: number;
|
|
2392
2448
|
tickUpper: number;
|
|
2393
2449
|
prevTickLower: number;
|
|
@@ -2398,7 +2454,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2398
2454
|
borrowedAmount0: bigint;
|
|
2399
2455
|
borrowedAmount1: bigint;
|
|
2400
2456
|
}[], viem366.ReadContractErrorType>>;
|
|
2401
|
-
fetchStatus:
|
|
2457
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
2402
2458
|
promise: Promise<readonly {
|
|
2403
2459
|
tickLower: number;
|
|
2404
2460
|
tickUpper: number;
|
|
@@ -2410,7 +2466,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2410
2466
|
borrowedAmount0: bigint;
|
|
2411
2467
|
borrowedAmount1: bigint;
|
|
2412
2468
|
}[]>;
|
|
2413
|
-
queryKey:
|
|
2469
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
2414
2470
|
data: readonly {
|
|
2415
2471
|
tickLower: number;
|
|
2416
2472
|
tickUpper: number;
|
|
@@ -2445,7 +2501,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2445
2501
|
isRefetching: boolean;
|
|
2446
2502
|
isStale: boolean;
|
|
2447
2503
|
isEnabled: boolean;
|
|
2448
|
-
refetch: (options?:
|
|
2504
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
|
|
2449
2505
|
tickLower: number;
|
|
2450
2506
|
tickUpper: number;
|
|
2451
2507
|
prevTickLower: number;
|
|
@@ -2456,7 +2512,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2456
2512
|
borrowedAmount0: bigint;
|
|
2457
2513
|
borrowedAmount1: bigint;
|
|
2458
2514
|
}[], viem366.ReadContractErrorType>>;
|
|
2459
|
-
fetchStatus:
|
|
2515
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
2460
2516
|
promise: Promise<readonly {
|
|
2461
2517
|
tickLower: number;
|
|
2462
2518
|
tickUpper: number;
|
|
@@ -2468,7 +2524,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2468
2524
|
borrowedAmount0: bigint;
|
|
2469
2525
|
borrowedAmount1: bigint;
|
|
2470
2526
|
}[]>;
|
|
2471
|
-
queryKey:
|
|
2527
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
2472
2528
|
data: readonly {
|
|
2473
2529
|
tickLower: number;
|
|
2474
2530
|
tickUpper: number;
|
|
@@ -2503,7 +2559,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2503
2559
|
isRefetching: boolean;
|
|
2504
2560
|
isStale: boolean;
|
|
2505
2561
|
isEnabled: boolean;
|
|
2506
|
-
refetch: (options?:
|
|
2562
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
|
|
2507
2563
|
tickLower: number;
|
|
2508
2564
|
tickUpper: number;
|
|
2509
2565
|
prevTickLower: number;
|
|
@@ -2514,7 +2570,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2514
2570
|
borrowedAmount0: bigint;
|
|
2515
2571
|
borrowedAmount1: bigint;
|
|
2516
2572
|
}[], viem366.ReadContractErrorType>>;
|
|
2517
|
-
fetchStatus:
|
|
2573
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
2518
2574
|
promise: Promise<readonly {
|
|
2519
2575
|
tickLower: number;
|
|
2520
2576
|
tickUpper: number;
|
|
@@ -2526,7 +2582,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2526
2582
|
borrowedAmount0: bigint;
|
|
2527
2583
|
borrowedAmount1: bigint;
|
|
2528
2584
|
}[]>;
|
|
2529
|
-
queryKey:
|
|
2585
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
2530
2586
|
data: readonly {
|
|
2531
2587
|
tickLower: number;
|
|
2532
2588
|
tickUpper: number;
|
|
@@ -2561,7 +2617,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2561
2617
|
isRefetching: boolean;
|
|
2562
2618
|
isStale: boolean;
|
|
2563
2619
|
isEnabled: boolean;
|
|
2564
|
-
refetch: (options?:
|
|
2620
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
|
|
2565
2621
|
tickLower: number;
|
|
2566
2622
|
tickUpper: number;
|
|
2567
2623
|
prevTickLower: number;
|
|
@@ -2572,7 +2628,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2572
2628
|
borrowedAmount0: bigint;
|
|
2573
2629
|
borrowedAmount1: bigint;
|
|
2574
2630
|
}[], viem366.ReadContractErrorType>>;
|
|
2575
|
-
fetchStatus:
|
|
2631
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
2576
2632
|
promise: Promise<readonly {
|
|
2577
2633
|
tickLower: number;
|
|
2578
2634
|
tickUpper: number;
|
|
@@ -2584,7 +2640,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2584
2640
|
borrowedAmount0: bigint;
|
|
2585
2641
|
borrowedAmount1: bigint;
|
|
2586
2642
|
}[]>;
|
|
2587
|
-
queryKey:
|
|
2643
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
2588
2644
|
data: readonly {
|
|
2589
2645
|
tickLower: number;
|
|
2590
2646
|
tickUpper: number;
|
|
@@ -2619,7 +2675,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2619
2675
|
isRefetching: boolean;
|
|
2620
2676
|
isStale: boolean;
|
|
2621
2677
|
isEnabled: boolean;
|
|
2622
|
-
refetch: (options?:
|
|
2678
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
|
|
2623
2679
|
tickLower: number;
|
|
2624
2680
|
tickUpper: number;
|
|
2625
2681
|
prevTickLower: number;
|
|
@@ -2630,7 +2686,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2630
2686
|
borrowedAmount0: bigint;
|
|
2631
2687
|
borrowedAmount1: bigint;
|
|
2632
2688
|
}[], viem366.ReadContractErrorType>>;
|
|
2633
|
-
fetchStatus:
|
|
2689
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
2634
2690
|
promise: Promise<readonly {
|
|
2635
2691
|
tickLower: number;
|
|
2636
2692
|
tickUpper: number;
|
|
@@ -2642,7 +2698,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2642
2698
|
borrowedAmount0: bigint;
|
|
2643
2699
|
borrowedAmount1: bigint;
|
|
2644
2700
|
}[]>;
|
|
2645
|
-
queryKey:
|
|
2701
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
2646
2702
|
data: readonly {
|
|
2647
2703
|
tickLower: number;
|
|
2648
2704
|
tickUpper: number;
|
|
@@ -2677,7 +2733,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2677
2733
|
isRefetching: boolean;
|
|
2678
2734
|
isStale: boolean;
|
|
2679
2735
|
isEnabled: boolean;
|
|
2680
|
-
refetch: (options?:
|
|
2736
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
|
|
2681
2737
|
tickLower: number;
|
|
2682
2738
|
tickUpper: number;
|
|
2683
2739
|
prevTickLower: number;
|
|
@@ -2688,7 +2744,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2688
2744
|
borrowedAmount0: bigint;
|
|
2689
2745
|
borrowedAmount1: bigint;
|
|
2690
2746
|
}[], viem366.ReadContractErrorType>>;
|
|
2691
|
-
fetchStatus:
|
|
2747
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
2692
2748
|
promise: Promise<readonly {
|
|
2693
2749
|
tickLower: number;
|
|
2694
2750
|
tickUpper: number;
|
|
@@ -2700,7 +2756,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2700
2756
|
borrowedAmount0: bigint;
|
|
2701
2757
|
borrowedAmount1: bigint;
|
|
2702
2758
|
}[]>;
|
|
2703
|
-
queryKey:
|
|
2759
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
2704
2760
|
data: readonly {
|
|
2705
2761
|
tickLower: number;
|
|
2706
2762
|
tickUpper: number;
|
|
@@ -2760,7 +2816,7 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
2760
2816
|
borrowedAmount0: Amount;
|
|
2761
2817
|
borrowedAmount1: Amount;
|
|
2762
2818
|
blocksCount: bigint;
|
|
2763
|
-
refetch: (options?:
|
|
2819
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem366.ReadContractErrorType>>;
|
|
2764
2820
|
};
|
|
2765
2821
|
//#endregion
|
|
2766
2822
|
//#region src/hooks/useLens.d.ts
|