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.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./uniswapMathLens-BQ_ArpKd.cjs";
|
|
2
|
-
import { D as TimelockMarketData, O as UniswapMathLens, d as Amount } from "./index-
|
|
3
|
-
import * as
|
|
2
|
+
import { D as TimelockMarketData, O as UniswapMathLens, d as Amount } from "./index-HQTA4ETi.cjs";
|
|
3
|
+
import * as viem249 from "viem";
|
|
4
4
|
import { Address } from "viem";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
6
6
|
import "graphql";
|
|
@@ -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;
|
|
@@ -208,7 +210,8 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
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[];
|
|
@@ -239,7 +242,8 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
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[];
|
|
@@ -322,7 +327,8 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
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[];
|
|
@@ -353,7 +359,8 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
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[];
|
|
@@ -436,7 +444,8 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
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[];
|
|
@@ -467,7 +476,8 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
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[];
|
|
@@ -550,7 +561,8 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
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[];
|
|
@@ -581,7 +593,8 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
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[];
|
|
@@ -664,7 +678,8 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
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[];
|
|
@@ -695,7 +710,8 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
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[];
|
|
@@ -778,7 +795,8 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
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[];
|
|
@@ -809,7 +827,8 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
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[];
|
|
@@ -893,7 +913,8 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
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[];
|
|
@@ -924,7 +945,8 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
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[];
|
|
@@ -1007,7 +1030,8 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
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[];
|
|
@@ -1038,7 +1062,8 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
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[];
|
|
@@ -1121,7 +1147,8 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
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[];
|
|
@@ -1152,7 +1179,8 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
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[];
|
|
@@ -1235,7 +1264,8 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
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[];
|
|
@@ -1266,7 +1296,8 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
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[];
|
|
@@ -1349,7 +1381,8 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
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[];
|
|
@@ -1380,7 +1413,8 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
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[];
|
|
@@ -1463,7 +1498,8 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
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[];
|
|
@@ -1494,7 +1530,8 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
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[];
|
|
@@ -1578,7 +1616,8 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
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[];
|
|
@@ -1609,7 +1648,8 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
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[];
|
|
@@ -1692,7 +1733,8 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
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[];
|
|
@@ -1723,7 +1765,8 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
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[];
|
|
@@ -1806,7 +1850,8 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
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[];
|
|
@@ -1837,7 +1882,8 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
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[];
|
|
@@ -1920,7 +1967,8 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
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[];
|
|
@@ -1951,7 +1999,8 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
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[];
|
|
@@ -2034,7 +2084,8 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
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[];
|
|
@@ -2065,7 +2116,8 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
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[];
|
|
@@ -2148,7 +2201,8 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
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[];
|
|
@@ -2179,7 +2233,8 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
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[];
|
|
@@ -2365,7 +2421,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
2365
2421
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
2366
2422
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
2367
2423
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
2368
|
-
error:
|
|
2424
|
+
error: viem249.ReadContractErrorType;
|
|
2369
2425
|
isError: true;
|
|
2370
2426
|
isPending: false;
|
|
2371
2427
|
isLoading: false;
|
|
@@ -2377,7 +2433,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2377
2433
|
dataUpdatedAt: number;
|
|
2378
2434
|
errorUpdatedAt: number;
|
|
2379
2435
|
failureCount: number;
|
|
2380
|
-
failureReason:
|
|
2436
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2381
2437
|
errorUpdateCount: number;
|
|
2382
2438
|
isFetched: boolean;
|
|
2383
2439
|
isFetchedAfterMount: boolean;
|
|
@@ -2397,7 +2453,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2397
2453
|
totalAmount1: bigint;
|
|
2398
2454
|
borrowedAmount0: bigint;
|
|
2399
2455
|
borrowedAmount1: bigint;
|
|
2400
|
-
}[],
|
|
2456
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2401
2457
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2402
2458
|
promise: Promise<readonly {
|
|
2403
2459
|
tickLower: number;
|
|
@@ -2435,7 +2491,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2435
2491
|
dataUpdatedAt: number;
|
|
2436
2492
|
errorUpdatedAt: number;
|
|
2437
2493
|
failureCount: number;
|
|
2438
|
-
failureReason:
|
|
2494
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2439
2495
|
errorUpdateCount: number;
|
|
2440
2496
|
isFetched: boolean;
|
|
2441
2497
|
isFetchedAfterMount: boolean;
|
|
@@ -2455,7 +2511,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2455
2511
|
totalAmount1: bigint;
|
|
2456
2512
|
borrowedAmount0: bigint;
|
|
2457
2513
|
borrowedAmount1: bigint;
|
|
2458
|
-
}[],
|
|
2514
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2459
2515
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2460
2516
|
promise: Promise<readonly {
|
|
2461
2517
|
tickLower: number;
|
|
@@ -2481,7 +2537,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2481
2537
|
borrowedAmount1: bigint;
|
|
2482
2538
|
}[];
|
|
2483
2539
|
} | {
|
|
2484
|
-
error:
|
|
2540
|
+
error: viem249.ReadContractErrorType;
|
|
2485
2541
|
isError: true;
|
|
2486
2542
|
isPending: false;
|
|
2487
2543
|
isLoading: false;
|
|
@@ -2493,7 +2549,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2493
2549
|
dataUpdatedAt: number;
|
|
2494
2550
|
errorUpdatedAt: number;
|
|
2495
2551
|
failureCount: number;
|
|
2496
|
-
failureReason:
|
|
2552
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2497
2553
|
errorUpdateCount: number;
|
|
2498
2554
|
isFetched: boolean;
|
|
2499
2555
|
isFetchedAfterMount: boolean;
|
|
@@ -2513,7 +2569,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2513
2569
|
totalAmount1: bigint;
|
|
2514
2570
|
borrowedAmount0: bigint;
|
|
2515
2571
|
borrowedAmount1: bigint;
|
|
2516
|
-
}[],
|
|
2572
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2517
2573
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2518
2574
|
promise: Promise<readonly {
|
|
2519
2575
|
tickLower: number;
|
|
@@ -2551,7 +2607,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2551
2607
|
dataUpdatedAt: number;
|
|
2552
2608
|
errorUpdatedAt: number;
|
|
2553
2609
|
failureCount: number;
|
|
2554
|
-
failureReason:
|
|
2610
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2555
2611
|
errorUpdateCount: number;
|
|
2556
2612
|
isFetched: boolean;
|
|
2557
2613
|
isFetchedAfterMount: boolean;
|
|
@@ -2571,7 +2627,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2571
2627
|
totalAmount1: bigint;
|
|
2572
2628
|
borrowedAmount0: bigint;
|
|
2573
2629
|
borrowedAmount1: bigint;
|
|
2574
|
-
}[],
|
|
2630
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2575
2631
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2576
2632
|
promise: Promise<readonly {
|
|
2577
2633
|
tickLower: number;
|
|
@@ -2608,7 +2664,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2608
2664
|
dataUpdatedAt: number;
|
|
2609
2665
|
errorUpdatedAt: number;
|
|
2610
2666
|
failureCount: number;
|
|
2611
|
-
failureReason:
|
|
2667
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2612
2668
|
errorUpdateCount: number;
|
|
2613
2669
|
isFetched: boolean;
|
|
2614
2670
|
isFetchedAfterMount: boolean;
|
|
@@ -2629,7 +2685,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2629
2685
|
totalAmount1: bigint;
|
|
2630
2686
|
borrowedAmount0: bigint;
|
|
2631
2687
|
borrowedAmount1: bigint;
|
|
2632
|
-
}[],
|
|
2688
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2633
2689
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2634
2690
|
promise: Promise<readonly {
|
|
2635
2691
|
tickLower: number;
|
|
@@ -2667,7 +2723,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2667
2723
|
dataUpdatedAt: number;
|
|
2668
2724
|
errorUpdatedAt: number;
|
|
2669
2725
|
failureCount: number;
|
|
2670
|
-
failureReason:
|
|
2726
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2671
2727
|
errorUpdateCount: number;
|
|
2672
2728
|
isFetched: boolean;
|
|
2673
2729
|
isFetchedAfterMount: boolean;
|
|
@@ -2687,7 +2743,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2687
2743
|
totalAmount1: bigint;
|
|
2688
2744
|
borrowedAmount0: bigint;
|
|
2689
2745
|
borrowedAmount1: bigint;
|
|
2690
|
-
}[],
|
|
2746
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2691
2747
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2692
2748
|
promise: Promise<readonly {
|
|
2693
2749
|
tickLower: number;
|
|
@@ -2760,14 +2816,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
2760
2816
|
borrowedAmount0: Amount;
|
|
2761
2817
|
borrowedAmount1: Amount;
|
|
2762
2818
|
blocksCount: bigint;
|
|
2763
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint],
|
|
2819
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem249.ReadContractErrorType>>;
|
|
2764
2820
|
};
|
|
2765
2821
|
//#endregion
|
|
2766
2822
|
//#region src/hooks/useLens.d.ts
|
|
2767
2823
|
declare const useLens: () => {
|
|
2768
2824
|
timelockLens: {
|
|
2769
2825
|
read: {
|
|
2770
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
2826
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
2771
2827
|
readonly type: "function";
|
|
2772
2828
|
readonly name: "batchGetRefTick";
|
|
2773
2829
|
readonly inputs: readonly [{
|
|
@@ -3441,7 +3497,7 @@ declare const useLens: () => {
|
|
|
3441
3497
|
}];
|
|
3442
3498
|
readonly stateMutability: "view";
|
|
3443
3499
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
3444
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
3500
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
3445
3501
|
readonly type: "function";
|
|
3446
3502
|
readonly name: "batchGetRefTick";
|
|
3447
3503
|
readonly inputs: readonly [{
|
|
@@ -4125,7 +4181,7 @@ declare const useLens: () => {
|
|
|
4125
4181
|
borrowedAmount0: bigint;
|
|
4126
4182
|
borrowedAmount1: bigint;
|
|
4127
4183
|
}[]>;
|
|
4128
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
4184
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
4129
4185
|
readonly type: "function";
|
|
4130
4186
|
readonly name: "batchGetRefTick";
|
|
4131
4187
|
readonly inputs: readonly [{
|
|
@@ -4816,7 +4872,7 @@ declare const useLens: () => {
|
|
|
4816
4872
|
expiresAt: bigint;
|
|
4817
4873
|
liquidities: readonly bigint[];
|
|
4818
4874
|
}[], bigint, boolean]>;
|
|
4819
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
4875
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
4820
4876
|
readonly type: "function";
|
|
4821
4877
|
readonly name: "batchGetRefTick";
|
|
4822
4878
|
readonly inputs: readonly [{
|
|
@@ -5490,7 +5546,7 @@ declare const useLens: () => {
|
|
|
5490
5546
|
}];
|
|
5491
5547
|
readonly stateMutability: "view";
|
|
5492
5548
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
5493
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
5549
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
5494
5550
|
readonly type: "function";
|
|
5495
5551
|
readonly name: "batchGetRefTick";
|
|
5496
5552
|
readonly inputs: readonly [{
|
|
@@ -6177,7 +6233,7 @@ declare const useLens: () => {
|
|
|
6177
6233
|
payoutAssetName: string;
|
|
6178
6234
|
optionsCount: bigint;
|
|
6179
6235
|
}>;
|
|
6180
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
6236
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
6181
6237
|
readonly type: "function";
|
|
6182
6238
|
readonly name: "batchGetRefTick";
|
|
6183
6239
|
readonly inputs: readonly [{
|
|
@@ -6851,7 +6907,7 @@ declare const useLens: () => {
|
|
|
6851
6907
|
}];
|
|
6852
6908
|
readonly stateMutability: "view";
|
|
6853
6909
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
6854
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
6910
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
6855
6911
|
readonly type: "function";
|
|
6856
6912
|
readonly name: "batchGetRefTick";
|
|
6857
6913
|
readonly inputs: readonly [{
|
|
@@ -7525,7 +7581,7 @@ declare const useLens: () => {
|
|
|
7525
7581
|
}];
|
|
7526
7582
|
readonly stateMutability: "view";
|
|
7527
7583
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
7528
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
7584
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
7529
7585
|
readonly type: "function";
|
|
7530
7586
|
readonly name: "batchGetRefTick";
|
|
7531
7587
|
readonly inputs: readonly [{
|
|
@@ -8216,7 +8272,7 @@ declare const useLens: () => {
|
|
|
8216
8272
|
expiresAt: bigint;
|
|
8217
8273
|
liquidities: readonly bigint[];
|
|
8218
8274
|
}>;
|
|
8219
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
8275
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
8220
8276
|
readonly type: "function";
|
|
8221
8277
|
readonly name: "batchGetRefTick";
|
|
8222
8278
|
readonly inputs: readonly [{
|
|
@@ -8907,7 +8963,7 @@ declare const useLens: () => {
|
|
|
8907
8963
|
expiresAt: bigint;
|
|
8908
8964
|
liquidities: readonly bigint[];
|
|
8909
8965
|
}[]>;
|
|
8910
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
8966
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
8911
8967
|
readonly type: "function";
|
|
8912
8968
|
readonly name: "batchGetRefTick";
|
|
8913
8969
|
readonly inputs: readonly [{
|
|
@@ -9592,7 +9648,7 @@ declare const useLens: () => {
|
|
|
9592
9648
|
tickSpacing: number;
|
|
9593
9649
|
fee: number;
|
|
9594
9650
|
}>;
|
|
9595
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
9651
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
9596
9652
|
readonly type: "function";
|
|
9597
9653
|
readonly name: "batchGetRefTick";
|
|
9598
9654
|
readonly inputs: readonly [{
|
|
@@ -10266,7 +10322,7 @@ declare const useLens: () => {
|
|
|
10266
10322
|
}];
|
|
10267
10323
|
readonly stateMutability: "view";
|
|
10268
10324
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
10269
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
10325
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
10270
10326
|
readonly type: "function";
|
|
10271
10327
|
readonly name: "batchGetRefTick";
|
|
10272
10328
|
readonly inputs: readonly [{
|
|
@@ -10957,7 +11013,7 @@ declare const useLens: () => {
|
|
|
10957
11013
|
expiresAt: bigint;
|
|
10958
11014
|
liquidities: readonly bigint[];
|
|
10959
11015
|
}[], bigint, boolean]>;
|
|
10960
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
11016
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
10961
11017
|
readonly type: "function";
|
|
10962
11018
|
readonly name: "batchGetRefTick";
|
|
10963
11019
|
readonly inputs: readonly [{
|
|
@@ -12310,7 +12366,7 @@ declare const useLens: () => {
|
|
|
12310
12366
|
} | undefined;
|
|
12311
12367
|
uniswapLens: {
|
|
12312
12368
|
read: {
|
|
12313
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
12369
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
12314
12370
|
readonly type: "function";
|
|
12315
12371
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12316
12372
|
readonly inputs: readonly [{
|
|
@@ -12931,7 +12987,7 @@ declare const useLens: () => {
|
|
|
12931
12987
|
}];
|
|
12932
12988
|
readonly stateMutability: "pure";
|
|
12933
12989
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
12934
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
12990
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
12935
12991
|
readonly type: "function";
|
|
12936
12992
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12937
12993
|
readonly inputs: readonly [{
|
|
@@ -13552,7 +13608,7 @@ declare const useLens: () => {
|
|
|
13552
13608
|
}];
|
|
13553
13609
|
readonly stateMutability: "pure";
|
|
13554
13610
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13555
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
13611
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
13556
13612
|
readonly type: "function";
|
|
13557
13613
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13558
13614
|
readonly inputs: readonly [{
|
|
@@ -14173,7 +14229,7 @@ declare const useLens: () => {
|
|
|
14173
14229
|
}];
|
|
14174
14230
|
readonly stateMutability: "pure";
|
|
14175
14231
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14176
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
14232
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
14177
14233
|
readonly type: "function";
|
|
14178
14234
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14179
14235
|
readonly inputs: readonly [{
|
|
@@ -14794,7 +14850,7 @@ declare const useLens: () => {
|
|
|
14794
14850
|
}];
|
|
14795
14851
|
readonly stateMutability: "pure";
|
|
14796
14852
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14797
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
14853
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
14798
14854
|
readonly type: "function";
|
|
14799
14855
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14800
14856
|
readonly inputs: readonly [{
|
|
@@ -15415,7 +15471,7 @@ declare const useLens: () => {
|
|
|
15415
15471
|
}];
|
|
15416
15472
|
readonly stateMutability: "pure";
|
|
15417
15473
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
15418
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
15474
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
15419
15475
|
readonly type: "function";
|
|
15420
15476
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15421
15477
|
readonly inputs: readonly [{
|
|
@@ -16036,7 +16092,7 @@ declare const useLens: () => {
|
|
|
16036
16092
|
}];
|
|
16037
16093
|
readonly stateMutability: "pure";
|
|
16038
16094
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
16039
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
16095
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
16040
16096
|
readonly type: "function";
|
|
16041
16097
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16042
16098
|
readonly inputs: readonly [{
|
|
@@ -16657,7 +16713,7 @@ declare const useLens: () => {
|
|
|
16657
16713
|
}];
|
|
16658
16714
|
readonly stateMutability: "pure";
|
|
16659
16715
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
16660
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
16716
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
16661
16717
|
readonly type: "function";
|
|
16662
16718
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16663
16719
|
readonly inputs: readonly [{
|
|
@@ -17278,7 +17334,7 @@ declare const useLens: () => {
|
|
|
17278
17334
|
}];
|
|
17279
17335
|
readonly stateMutability: "pure";
|
|
17280
17336
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
17281
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
17337
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
17282
17338
|
readonly type: "function";
|
|
17283
17339
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17284
17340
|
readonly inputs: readonly [{
|
|
@@ -17899,7 +17955,7 @@ declare const useLens: () => {
|
|
|
17899
17955
|
}];
|
|
17900
17956
|
readonly stateMutability: "pure";
|
|
17901
17957
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
17902
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
17958
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
17903
17959
|
readonly type: "function";
|
|
17904
17960
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17905
17961
|
readonly inputs: readonly [{
|
|
@@ -18520,7 +18576,7 @@ declare const useLens: () => {
|
|
|
18520
18576
|
}];
|
|
18521
18577
|
readonly stateMutability: "pure";
|
|
18522
18578
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18523
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
18579
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
18524
18580
|
readonly type: "function";
|
|
18525
18581
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18526
18582
|
readonly inputs: readonly [{
|
|
@@ -19141,7 +19197,7 @@ declare const useLens: () => {
|
|
|
19141
19197
|
}];
|
|
19142
19198
|
readonly stateMutability: "pure";
|
|
19143
19199
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
19144
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
19200
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
19145
19201
|
readonly type: "function";
|
|
19146
19202
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19147
19203
|
readonly inputs: readonly [{
|
|
@@ -19762,7 +19818,7 @@ declare const useLens: () => {
|
|
|
19762
19818
|
}];
|
|
19763
19819
|
readonly stateMutability: "pure";
|
|
19764
19820
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
19765
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
19821
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
19766
19822
|
readonly type: "function";
|
|
19767
19823
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19768
19824
|
readonly inputs: readonly [{
|
|
@@ -20383,7 +20439,7 @@ declare const useLens: () => {
|
|
|
20383
20439
|
}];
|
|
20384
20440
|
readonly stateMutability: "pure";
|
|
20385
20441
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20386
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
20442
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
20387
20443
|
readonly type: "function";
|
|
20388
20444
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20389
20445
|
readonly inputs: readonly [{
|
|
@@ -21004,7 +21060,7 @@ declare const useLens: () => {
|
|
|
21004
21060
|
}];
|
|
21005
21061
|
readonly stateMutability: "pure";
|
|
21006
21062
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21007
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
21063
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
21008
21064
|
readonly type: "function";
|
|
21009
21065
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21010
21066
|
readonly inputs: readonly [{
|
|
@@ -21625,7 +21681,7 @@ declare const useLens: () => {
|
|
|
21625
21681
|
}];
|
|
21626
21682
|
readonly stateMutability: "pure";
|
|
21627
21683
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21628
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
21684
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
21629
21685
|
readonly type: "function";
|
|
21630
21686
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21631
21687
|
readonly inputs: readonly [{
|
|
@@ -22246,7 +22302,7 @@ declare const useLens: () => {
|
|
|
22246
22302
|
}];
|
|
22247
22303
|
readonly stateMutability: "pure";
|
|
22248
22304
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
22249
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
22305
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
22250
22306
|
readonly type: "function";
|
|
22251
22307
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
22252
22308
|
readonly inputs: readonly [{
|
|
@@ -22867,7 +22923,7 @@ declare const useLens: () => {
|
|
|
22867
22923
|
}];
|
|
22868
22924
|
readonly stateMutability: "pure";
|
|
22869
22925
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
22870
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
22926
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
22871
22927
|
readonly type: "function";
|
|
22872
22928
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
22873
22929
|
readonly inputs: readonly [{
|
|
@@ -23488,7 +23544,7 @@ declare const useLens: () => {
|
|
|
23488
23544
|
}];
|
|
23489
23545
|
readonly stateMutability: "pure";
|
|
23490
23546
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
23491
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
23547
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
23492
23548
|
readonly type: "function";
|
|
23493
23549
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23494
23550
|
readonly inputs: readonly [{
|
|
@@ -24109,7 +24165,7 @@ declare const useLens: () => {
|
|
|
24109
24165
|
}];
|
|
24110
24166
|
readonly stateMutability: "pure";
|
|
24111
24167
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
24112
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
24168
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
24113
24169
|
readonly type: "function";
|
|
24114
24170
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
24115
24171
|
readonly inputs: readonly [{
|
|
@@ -24730,7 +24786,7 @@ declare const useLens: () => {
|
|
|
24730
24786
|
}];
|
|
24731
24787
|
readonly stateMutability: "pure";
|
|
24732
24788
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
24733
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
24789
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
24734
24790
|
readonly type: "function";
|
|
24735
24791
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
24736
24792
|
readonly inputs: readonly [{
|
|
@@ -25351,7 +25407,7 @@ declare const useLens: () => {
|
|
|
25351
25407
|
}];
|
|
25352
25408
|
readonly stateMutability: "pure";
|
|
25353
25409
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25354
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
25410
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
25355
25411
|
readonly type: "function";
|
|
25356
25412
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25357
25413
|
readonly inputs: readonly [{
|
|
@@ -25972,7 +26028,7 @@ declare const useLens: () => {
|
|
|
25972
26028
|
}];
|
|
25973
26029
|
readonly stateMutability: "pure";
|
|
25974
26030
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25975
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
26031
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
25976
26032
|
readonly type: "function";
|
|
25977
26033
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25978
26034
|
readonly inputs: readonly [{
|
|
@@ -26593,7 +26649,7 @@ declare const useLens: () => {
|
|
|
26593
26649
|
}];
|
|
26594
26650
|
readonly stateMutability: "pure";
|
|
26595
26651
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26596
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
26652
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
26597
26653
|
readonly type: "function";
|
|
26598
26654
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26599
26655
|
readonly inputs: readonly [{
|
|
@@ -27214,7 +27270,7 @@ declare const useLens: () => {
|
|
|
27214
27270
|
}];
|
|
27215
27271
|
readonly stateMutability: "pure";
|
|
27216
27272
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27217
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
27273
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
27218
27274
|
readonly type: "function";
|
|
27219
27275
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
27220
27276
|
readonly inputs: readonly [{
|
|
@@ -27835,7 +27891,7 @@ declare const useLens: () => {
|
|
|
27835
27891
|
}];
|
|
27836
27892
|
readonly stateMutability: "pure";
|
|
27837
27893
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27838
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
27894
|
+
getPriceAtTick: (args: readonly [number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
27839
27895
|
readonly type: "function";
|
|
27840
27896
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
27841
27897
|
readonly inputs: readonly [{
|