timelock-sdk 0.0.50 → 0.0.52
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/abis.cjs +1 -1
- package/dist/abis.d.cts +1 -1
- package/dist/abis.d.ts +1 -1
- package/dist/abis.js +1 -1
- package/dist/client.cjs +12 -6
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +173 -573
- package/dist/client.d.ts +173 -573
- package/dist/client.js +12 -6
- package/dist/client.js.map +1 -1
- package/dist/{index-Bg4UAy7Y.d.cts → index-D_lnxPOC.d.ts} +2 -458
- package/dist/{index-DFXuUhcW.d.ts → index-HQTA4ETi.d.cts} +2 -458
- package/dist/{numberUtils-BKQtAolx.cjs → numberUtils-CkwkoxOr.cjs} +3 -3
- package/dist/{numberUtils-BKQtAolx.cjs.map → numberUtils-CkwkoxOr.cjs.map} +1 -1
- package/dist/{numberUtils-Dk0TuHnT.js → numberUtils-Cznv1Tfa.js} +3 -3
- package/dist/{numberUtils-Dk0TuHnT.js.map → numberUtils-Cznv1Tfa.js.map} +1 -1
- package/dist/{optionsMarket-CvArD6d_.js → optionsMarket-BDBU1gUS.js} +1 -41
- package/dist/optionsMarket-BDBU1gUS.js.map +1 -0
- package/dist/{optionsMarket-PBduSBXF.cjs → optionsMarket-DEFMUI2G.cjs} +1 -41
- package/dist/optionsMarket-DEFMUI2G.cjs.map +1 -0
- package/dist/package.cjs +2 -2
- package/dist/package.d.cts +2 -2
- package/dist/package.d.ts +2 -2
- package/dist/package.js +2 -2
- package/dist/{uniswapMathLens-uDGUc-kg.d.ts → uniswapMathLens-BQ_ArpKd.d.cts} +1 -33
- package/dist/{uniswapMathLens-BiaRFVeY.d.cts → uniswapMathLens-DCuaXAGZ.d.ts} +1 -33
- package/package.json +1 -1
- package/dist/optionsMarket-CvArD6d_.js.map +0 -1
- package/dist/optionsMarket-PBduSBXF.cjs.map +0 -1
package/dist/client.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./uniswapMathLens-
|
|
2
|
-
import { D as TimelockMarketData, O as UniswapMathLens, d as Amount } from "./index-
|
|
3
|
-
import * as
|
|
1
|
+
import "./uniswapMathLens-DCuaXAGZ.js";
|
|
2
|
+
import { D as TimelockMarketData, O as UniswapMathLens, d as Amount } from "./index-D_lnxPOC.js";
|
|
3
|
+
import * as viem0 from "viem";
|
|
4
4
|
import { Address } from "viem";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
6
6
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
@@ -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: viem0.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: viem0.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
|
+
}[], viem0.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: viem0.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
|
+
}[], viem0.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: viem0.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: viem0.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
|
+
}[], viem0.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: viem0.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
|
+
}[], viem0.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: viem0.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
|
+
}[], viem0.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: viem0.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
|
+
}[], viem0.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], viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
2771
2827
|
readonly type: "function";
|
|
2772
2828
|
readonly name: "batchGetRefTick";
|
|
2773
2829
|
readonly inputs: readonly [{
|
|
@@ -2912,18 +2968,10 @@ declare const useLens: () => {
|
|
|
2912
2968
|
readonly name: "netOptionAssetToRepay";
|
|
2913
2969
|
readonly type: "uint256";
|
|
2914
2970
|
readonly internalType: "uint256";
|
|
2915
|
-
}, {
|
|
2916
|
-
readonly name: "premiumPaid";
|
|
2917
|
-
readonly type: "uint128";
|
|
2918
|
-
readonly internalType: "uint128";
|
|
2919
2971
|
}, {
|
|
2920
2972
|
readonly name: "expiresAt";
|
|
2921
2973
|
readonly type: "uint64";
|
|
2922
2974
|
readonly internalType: "uint64";
|
|
2923
|
-
}, {
|
|
2924
|
-
readonly name: "createdAt";
|
|
2925
|
-
readonly type: "uint64";
|
|
2926
|
-
readonly internalType: "uint64";
|
|
2927
2975
|
}, {
|
|
2928
2976
|
readonly name: "liquidities";
|
|
2929
2977
|
readonly type: "uint128[]";
|
|
@@ -3144,18 +3192,10 @@ declare const useLens: () => {
|
|
|
3144
3192
|
readonly name: "netOptionAssetToRepay";
|
|
3145
3193
|
readonly type: "uint256";
|
|
3146
3194
|
readonly internalType: "uint256";
|
|
3147
|
-
}, {
|
|
3148
|
-
readonly name: "premiumPaid";
|
|
3149
|
-
readonly type: "uint128";
|
|
3150
|
-
readonly internalType: "uint128";
|
|
3151
3195
|
}, {
|
|
3152
3196
|
readonly name: "expiresAt";
|
|
3153
3197
|
readonly type: "uint64";
|
|
3154
3198
|
readonly internalType: "uint64";
|
|
3155
|
-
}, {
|
|
3156
|
-
readonly name: "createdAt";
|
|
3157
|
-
readonly type: "uint64";
|
|
3158
|
-
readonly internalType: "uint64";
|
|
3159
3199
|
}, {
|
|
3160
3200
|
readonly name: "liquidities";
|
|
3161
3201
|
readonly type: "uint128[]";
|
|
@@ -3235,18 +3275,10 @@ declare const useLens: () => {
|
|
|
3235
3275
|
readonly name: "netOptionAssetToRepay";
|
|
3236
3276
|
readonly type: "uint256";
|
|
3237
3277
|
readonly internalType: "uint256";
|
|
3238
|
-
}, {
|
|
3239
|
-
readonly name: "premiumPaid";
|
|
3240
|
-
readonly type: "uint128";
|
|
3241
|
-
readonly internalType: "uint128";
|
|
3242
3278
|
}, {
|
|
3243
3279
|
readonly name: "expiresAt";
|
|
3244
3280
|
readonly type: "uint64";
|
|
3245
3281
|
readonly internalType: "uint64";
|
|
3246
|
-
}, {
|
|
3247
|
-
readonly name: "createdAt";
|
|
3248
|
-
readonly type: "uint64";
|
|
3249
|
-
readonly internalType: "uint64";
|
|
3250
3282
|
}, {
|
|
3251
3283
|
readonly name: "liquidities";
|
|
3252
3284
|
readonly type: "uint128[]";
|
|
@@ -3407,18 +3439,10 @@ declare const useLens: () => {
|
|
|
3407
3439
|
readonly name: "netOptionAssetToRepay";
|
|
3408
3440
|
readonly type: "uint256";
|
|
3409
3441
|
readonly internalType: "uint256";
|
|
3410
|
-
}, {
|
|
3411
|
-
readonly name: "premiumPaid";
|
|
3412
|
-
readonly type: "uint128";
|
|
3413
|
-
readonly internalType: "uint128";
|
|
3414
3442
|
}, {
|
|
3415
3443
|
readonly name: "expiresAt";
|
|
3416
3444
|
readonly type: "uint64";
|
|
3417
3445
|
readonly internalType: "uint64";
|
|
3418
|
-
}, {
|
|
3419
|
-
readonly name: "createdAt";
|
|
3420
|
-
readonly type: "uint64";
|
|
3421
|
-
readonly internalType: "uint64";
|
|
3422
3446
|
}, {
|
|
3423
3447
|
readonly name: "liquidities";
|
|
3424
3448
|
readonly type: "uint128[]";
|
|
@@ -3473,7 +3497,7 @@ declare const useLens: () => {
|
|
|
3473
3497
|
}];
|
|
3474
3498
|
readonly stateMutability: "view";
|
|
3475
3499
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
3476
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
3500
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
3477
3501
|
readonly type: "function";
|
|
3478
3502
|
readonly name: "batchGetRefTick";
|
|
3479
3503
|
readonly inputs: readonly [{
|
|
@@ -3618,18 +3642,10 @@ declare const useLens: () => {
|
|
|
3618
3642
|
readonly name: "netOptionAssetToRepay";
|
|
3619
3643
|
readonly type: "uint256";
|
|
3620
3644
|
readonly internalType: "uint256";
|
|
3621
|
-
}, {
|
|
3622
|
-
readonly name: "premiumPaid";
|
|
3623
|
-
readonly type: "uint128";
|
|
3624
|
-
readonly internalType: "uint128";
|
|
3625
3645
|
}, {
|
|
3626
3646
|
readonly name: "expiresAt";
|
|
3627
3647
|
readonly type: "uint64";
|
|
3628
3648
|
readonly internalType: "uint64";
|
|
3629
|
-
}, {
|
|
3630
|
-
readonly name: "createdAt";
|
|
3631
|
-
readonly type: "uint64";
|
|
3632
|
-
readonly internalType: "uint64";
|
|
3633
3649
|
}, {
|
|
3634
3650
|
readonly name: "liquidities";
|
|
3635
3651
|
readonly type: "uint128[]";
|
|
@@ -3850,18 +3866,10 @@ declare const useLens: () => {
|
|
|
3850
3866
|
readonly name: "netOptionAssetToRepay";
|
|
3851
3867
|
readonly type: "uint256";
|
|
3852
3868
|
readonly internalType: "uint256";
|
|
3853
|
-
}, {
|
|
3854
|
-
readonly name: "premiumPaid";
|
|
3855
|
-
readonly type: "uint128";
|
|
3856
|
-
readonly internalType: "uint128";
|
|
3857
3869
|
}, {
|
|
3858
3870
|
readonly name: "expiresAt";
|
|
3859
3871
|
readonly type: "uint64";
|
|
3860
3872
|
readonly internalType: "uint64";
|
|
3861
|
-
}, {
|
|
3862
|
-
readonly name: "createdAt";
|
|
3863
|
-
readonly type: "uint64";
|
|
3864
|
-
readonly internalType: "uint64";
|
|
3865
3873
|
}, {
|
|
3866
3874
|
readonly name: "liquidities";
|
|
3867
3875
|
readonly type: "uint128[]";
|
|
@@ -3941,18 +3949,10 @@ declare const useLens: () => {
|
|
|
3941
3949
|
readonly name: "netOptionAssetToRepay";
|
|
3942
3950
|
readonly type: "uint256";
|
|
3943
3951
|
readonly internalType: "uint256";
|
|
3944
|
-
}, {
|
|
3945
|
-
readonly name: "premiumPaid";
|
|
3946
|
-
readonly type: "uint128";
|
|
3947
|
-
readonly internalType: "uint128";
|
|
3948
3952
|
}, {
|
|
3949
3953
|
readonly name: "expiresAt";
|
|
3950
3954
|
readonly type: "uint64";
|
|
3951
3955
|
readonly internalType: "uint64";
|
|
3952
|
-
}, {
|
|
3953
|
-
readonly name: "createdAt";
|
|
3954
|
-
readonly type: "uint64";
|
|
3955
|
-
readonly internalType: "uint64";
|
|
3956
3956
|
}, {
|
|
3957
3957
|
readonly name: "liquidities";
|
|
3958
3958
|
readonly type: "uint128[]";
|
|
@@ -4113,18 +4113,10 @@ declare const useLens: () => {
|
|
|
4113
4113
|
readonly name: "netOptionAssetToRepay";
|
|
4114
4114
|
readonly type: "uint256";
|
|
4115
4115
|
readonly internalType: "uint256";
|
|
4116
|
-
}, {
|
|
4117
|
-
readonly name: "premiumPaid";
|
|
4118
|
-
readonly type: "uint128";
|
|
4119
|
-
readonly internalType: "uint128";
|
|
4120
4116
|
}, {
|
|
4121
4117
|
readonly name: "expiresAt";
|
|
4122
4118
|
readonly type: "uint64";
|
|
4123
4119
|
readonly internalType: "uint64";
|
|
4124
|
-
}, {
|
|
4125
|
-
readonly name: "createdAt";
|
|
4126
|
-
readonly type: "uint64";
|
|
4127
|
-
readonly internalType: "uint64";
|
|
4128
4120
|
}, {
|
|
4129
4121
|
readonly name: "liquidities";
|
|
4130
4122
|
readonly type: "uint128[]";
|
|
@@ -4189,7 +4181,7 @@ declare const useLens: () => {
|
|
|
4189
4181
|
borrowedAmount0: bigint;
|
|
4190
4182
|
borrowedAmount1: bigint;
|
|
4191
4183
|
}[]>;
|
|
4192
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
4184
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
4193
4185
|
readonly type: "function";
|
|
4194
4186
|
readonly name: "batchGetRefTick";
|
|
4195
4187
|
readonly inputs: readonly [{
|
|
@@ -4334,18 +4326,10 @@ declare const useLens: () => {
|
|
|
4334
4326
|
readonly name: "netOptionAssetToRepay";
|
|
4335
4327
|
readonly type: "uint256";
|
|
4336
4328
|
readonly internalType: "uint256";
|
|
4337
|
-
}, {
|
|
4338
|
-
readonly name: "premiumPaid";
|
|
4339
|
-
readonly type: "uint128";
|
|
4340
|
-
readonly internalType: "uint128";
|
|
4341
4329
|
}, {
|
|
4342
4330
|
readonly name: "expiresAt";
|
|
4343
4331
|
readonly type: "uint64";
|
|
4344
4332
|
readonly internalType: "uint64";
|
|
4345
|
-
}, {
|
|
4346
|
-
readonly name: "createdAt";
|
|
4347
|
-
readonly type: "uint64";
|
|
4348
|
-
readonly internalType: "uint64";
|
|
4349
4333
|
}, {
|
|
4350
4334
|
readonly name: "liquidities";
|
|
4351
4335
|
readonly type: "uint128[]";
|
|
@@ -4566,18 +4550,10 @@ declare const useLens: () => {
|
|
|
4566
4550
|
readonly name: "netOptionAssetToRepay";
|
|
4567
4551
|
readonly type: "uint256";
|
|
4568
4552
|
readonly internalType: "uint256";
|
|
4569
|
-
}, {
|
|
4570
|
-
readonly name: "premiumPaid";
|
|
4571
|
-
readonly type: "uint128";
|
|
4572
|
-
readonly internalType: "uint128";
|
|
4573
4553
|
}, {
|
|
4574
4554
|
readonly name: "expiresAt";
|
|
4575
4555
|
readonly type: "uint64";
|
|
4576
4556
|
readonly internalType: "uint64";
|
|
4577
|
-
}, {
|
|
4578
|
-
readonly name: "createdAt";
|
|
4579
|
-
readonly type: "uint64";
|
|
4580
|
-
readonly internalType: "uint64";
|
|
4581
4557
|
}, {
|
|
4582
4558
|
readonly name: "liquidities";
|
|
4583
4559
|
readonly type: "uint128[]";
|
|
@@ -4657,18 +4633,10 @@ declare const useLens: () => {
|
|
|
4657
4633
|
readonly name: "netOptionAssetToRepay";
|
|
4658
4634
|
readonly type: "uint256";
|
|
4659
4635
|
readonly internalType: "uint256";
|
|
4660
|
-
}, {
|
|
4661
|
-
readonly name: "premiumPaid";
|
|
4662
|
-
readonly type: "uint128";
|
|
4663
|
-
readonly internalType: "uint128";
|
|
4664
4636
|
}, {
|
|
4665
4637
|
readonly name: "expiresAt";
|
|
4666
4638
|
readonly type: "uint64";
|
|
4667
4639
|
readonly internalType: "uint64";
|
|
4668
|
-
}, {
|
|
4669
|
-
readonly name: "createdAt";
|
|
4670
|
-
readonly type: "uint64";
|
|
4671
|
-
readonly internalType: "uint64";
|
|
4672
4640
|
}, {
|
|
4673
4641
|
readonly name: "liquidities";
|
|
4674
4642
|
readonly type: "uint128[]";
|
|
@@ -4829,18 +4797,10 @@ declare const useLens: () => {
|
|
|
4829
4797
|
readonly name: "netOptionAssetToRepay";
|
|
4830
4798
|
readonly type: "uint256";
|
|
4831
4799
|
readonly internalType: "uint256";
|
|
4832
|
-
}, {
|
|
4833
|
-
readonly name: "premiumPaid";
|
|
4834
|
-
readonly type: "uint128";
|
|
4835
|
-
readonly internalType: "uint128";
|
|
4836
4800
|
}, {
|
|
4837
4801
|
readonly name: "expiresAt";
|
|
4838
4802
|
readonly type: "uint64";
|
|
4839
4803
|
readonly internalType: "uint64";
|
|
4840
|
-
}, {
|
|
4841
|
-
readonly name: "createdAt";
|
|
4842
|
-
readonly type: "uint64";
|
|
4843
|
-
readonly internalType: "uint64";
|
|
4844
4804
|
}, {
|
|
4845
4805
|
readonly name: "liquidities";
|
|
4846
4806
|
readonly type: "uint128[]";
|
|
@@ -4909,12 +4869,10 @@ declare const useLens: () => {
|
|
|
4909
4869
|
payoutAssetToRepay: bigint;
|
|
4910
4870
|
positionSize: bigint;
|
|
4911
4871
|
netOptionAssetToRepay: bigint;
|
|
4912
|
-
premiumPaid: bigint;
|
|
4913
4872
|
expiresAt: bigint;
|
|
4914
|
-
createdAt: bigint;
|
|
4915
4873
|
liquidities: readonly bigint[];
|
|
4916
4874
|
}[], bigint, boolean]>;
|
|
4917
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
4875
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
4918
4876
|
readonly type: "function";
|
|
4919
4877
|
readonly name: "batchGetRefTick";
|
|
4920
4878
|
readonly inputs: readonly [{
|
|
@@ -5059,18 +5017,10 @@ declare const useLens: () => {
|
|
|
5059
5017
|
readonly name: "netOptionAssetToRepay";
|
|
5060
5018
|
readonly type: "uint256";
|
|
5061
5019
|
readonly internalType: "uint256";
|
|
5062
|
-
}, {
|
|
5063
|
-
readonly name: "premiumPaid";
|
|
5064
|
-
readonly type: "uint128";
|
|
5065
|
-
readonly internalType: "uint128";
|
|
5066
5020
|
}, {
|
|
5067
5021
|
readonly name: "expiresAt";
|
|
5068
5022
|
readonly type: "uint64";
|
|
5069
5023
|
readonly internalType: "uint64";
|
|
5070
|
-
}, {
|
|
5071
|
-
readonly name: "createdAt";
|
|
5072
|
-
readonly type: "uint64";
|
|
5073
|
-
readonly internalType: "uint64";
|
|
5074
5024
|
}, {
|
|
5075
5025
|
readonly name: "liquidities";
|
|
5076
5026
|
readonly type: "uint128[]";
|
|
@@ -5291,18 +5241,10 @@ declare const useLens: () => {
|
|
|
5291
5241
|
readonly name: "netOptionAssetToRepay";
|
|
5292
5242
|
readonly type: "uint256";
|
|
5293
5243
|
readonly internalType: "uint256";
|
|
5294
|
-
}, {
|
|
5295
|
-
readonly name: "premiumPaid";
|
|
5296
|
-
readonly type: "uint128";
|
|
5297
|
-
readonly internalType: "uint128";
|
|
5298
5244
|
}, {
|
|
5299
5245
|
readonly name: "expiresAt";
|
|
5300
5246
|
readonly type: "uint64";
|
|
5301
5247
|
readonly internalType: "uint64";
|
|
5302
|
-
}, {
|
|
5303
|
-
readonly name: "createdAt";
|
|
5304
|
-
readonly type: "uint64";
|
|
5305
|
-
readonly internalType: "uint64";
|
|
5306
5248
|
}, {
|
|
5307
5249
|
readonly name: "liquidities";
|
|
5308
5250
|
readonly type: "uint128[]";
|
|
@@ -5382,18 +5324,10 @@ declare const useLens: () => {
|
|
|
5382
5324
|
readonly name: "netOptionAssetToRepay";
|
|
5383
5325
|
readonly type: "uint256";
|
|
5384
5326
|
readonly internalType: "uint256";
|
|
5385
|
-
}, {
|
|
5386
|
-
readonly name: "premiumPaid";
|
|
5387
|
-
readonly type: "uint128";
|
|
5388
|
-
readonly internalType: "uint128";
|
|
5389
5327
|
}, {
|
|
5390
5328
|
readonly name: "expiresAt";
|
|
5391
5329
|
readonly type: "uint64";
|
|
5392
5330
|
readonly internalType: "uint64";
|
|
5393
|
-
}, {
|
|
5394
|
-
readonly name: "createdAt";
|
|
5395
|
-
readonly type: "uint64";
|
|
5396
|
-
readonly internalType: "uint64";
|
|
5397
5331
|
}, {
|
|
5398
5332
|
readonly name: "liquidities";
|
|
5399
5333
|
readonly type: "uint128[]";
|
|
@@ -5554,18 +5488,10 @@ declare const useLens: () => {
|
|
|
5554
5488
|
readonly name: "netOptionAssetToRepay";
|
|
5555
5489
|
readonly type: "uint256";
|
|
5556
5490
|
readonly internalType: "uint256";
|
|
5557
|
-
}, {
|
|
5558
|
-
readonly name: "premiumPaid";
|
|
5559
|
-
readonly type: "uint128";
|
|
5560
|
-
readonly internalType: "uint128";
|
|
5561
5491
|
}, {
|
|
5562
5492
|
readonly name: "expiresAt";
|
|
5563
5493
|
readonly type: "uint64";
|
|
5564
5494
|
readonly internalType: "uint64";
|
|
5565
|
-
}, {
|
|
5566
|
-
readonly name: "createdAt";
|
|
5567
|
-
readonly type: "uint64";
|
|
5568
|
-
readonly internalType: "uint64";
|
|
5569
5495
|
}, {
|
|
5570
5496
|
readonly name: "liquidities";
|
|
5571
5497
|
readonly type: "uint128[]";
|
|
@@ -5620,7 +5546,7 @@ declare const useLens: () => {
|
|
|
5620
5546
|
}];
|
|
5621
5547
|
readonly stateMutability: "view";
|
|
5622
5548
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
5623
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
5549
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
5624
5550
|
readonly type: "function";
|
|
5625
5551
|
readonly name: "batchGetRefTick";
|
|
5626
5552
|
readonly inputs: readonly [{
|
|
@@ -5765,18 +5691,10 @@ declare const useLens: () => {
|
|
|
5765
5691
|
readonly name: "netOptionAssetToRepay";
|
|
5766
5692
|
readonly type: "uint256";
|
|
5767
5693
|
readonly internalType: "uint256";
|
|
5768
|
-
}, {
|
|
5769
|
-
readonly name: "premiumPaid";
|
|
5770
|
-
readonly type: "uint128";
|
|
5771
|
-
readonly internalType: "uint128";
|
|
5772
5694
|
}, {
|
|
5773
5695
|
readonly name: "expiresAt";
|
|
5774
5696
|
readonly type: "uint64";
|
|
5775
5697
|
readonly internalType: "uint64";
|
|
5776
|
-
}, {
|
|
5777
|
-
readonly name: "createdAt";
|
|
5778
|
-
readonly type: "uint64";
|
|
5779
|
-
readonly internalType: "uint64";
|
|
5780
5698
|
}, {
|
|
5781
5699
|
readonly name: "liquidities";
|
|
5782
5700
|
readonly type: "uint128[]";
|
|
@@ -5997,18 +5915,10 @@ declare const useLens: () => {
|
|
|
5997
5915
|
readonly name: "netOptionAssetToRepay";
|
|
5998
5916
|
readonly type: "uint256";
|
|
5999
5917
|
readonly internalType: "uint256";
|
|
6000
|
-
}, {
|
|
6001
|
-
readonly name: "premiumPaid";
|
|
6002
|
-
readonly type: "uint128";
|
|
6003
|
-
readonly internalType: "uint128";
|
|
6004
5918
|
}, {
|
|
6005
5919
|
readonly name: "expiresAt";
|
|
6006
5920
|
readonly type: "uint64";
|
|
6007
5921
|
readonly internalType: "uint64";
|
|
6008
|
-
}, {
|
|
6009
|
-
readonly name: "createdAt";
|
|
6010
|
-
readonly type: "uint64";
|
|
6011
|
-
readonly internalType: "uint64";
|
|
6012
5922
|
}, {
|
|
6013
5923
|
readonly name: "liquidities";
|
|
6014
5924
|
readonly type: "uint128[]";
|
|
@@ -6088,18 +5998,10 @@ declare const useLens: () => {
|
|
|
6088
5998
|
readonly name: "netOptionAssetToRepay";
|
|
6089
5999
|
readonly type: "uint256";
|
|
6090
6000
|
readonly internalType: "uint256";
|
|
6091
|
-
}, {
|
|
6092
|
-
readonly name: "premiumPaid";
|
|
6093
|
-
readonly type: "uint128";
|
|
6094
|
-
readonly internalType: "uint128";
|
|
6095
6001
|
}, {
|
|
6096
6002
|
readonly name: "expiresAt";
|
|
6097
6003
|
readonly type: "uint64";
|
|
6098
6004
|
readonly internalType: "uint64";
|
|
6099
|
-
}, {
|
|
6100
|
-
readonly name: "createdAt";
|
|
6101
|
-
readonly type: "uint64";
|
|
6102
|
-
readonly internalType: "uint64";
|
|
6103
6005
|
}, {
|
|
6104
6006
|
readonly name: "liquidities";
|
|
6105
6007
|
readonly type: "uint128[]";
|
|
@@ -6260,18 +6162,10 @@ declare const useLens: () => {
|
|
|
6260
6162
|
readonly name: "netOptionAssetToRepay";
|
|
6261
6163
|
readonly type: "uint256";
|
|
6262
6164
|
readonly internalType: "uint256";
|
|
6263
|
-
}, {
|
|
6264
|
-
readonly name: "premiumPaid";
|
|
6265
|
-
readonly type: "uint128";
|
|
6266
|
-
readonly internalType: "uint128";
|
|
6267
6165
|
}, {
|
|
6268
6166
|
readonly name: "expiresAt";
|
|
6269
6167
|
readonly type: "uint64";
|
|
6270
6168
|
readonly internalType: "uint64";
|
|
6271
|
-
}, {
|
|
6272
|
-
readonly name: "createdAt";
|
|
6273
|
-
readonly type: "uint64";
|
|
6274
|
-
readonly internalType: "uint64";
|
|
6275
6169
|
}, {
|
|
6276
6170
|
readonly name: "liquidities";
|
|
6277
6171
|
readonly type: "uint128[]";
|
|
@@ -6339,7 +6233,7 @@ declare const useLens: () => {
|
|
|
6339
6233
|
payoutAssetName: string;
|
|
6340
6234
|
optionsCount: bigint;
|
|
6341
6235
|
}>;
|
|
6342
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
6236
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
6343
6237
|
readonly type: "function";
|
|
6344
6238
|
readonly name: "batchGetRefTick";
|
|
6345
6239
|
readonly inputs: readonly [{
|
|
@@ -6484,18 +6378,10 @@ declare const useLens: () => {
|
|
|
6484
6378
|
readonly name: "netOptionAssetToRepay";
|
|
6485
6379
|
readonly type: "uint256";
|
|
6486
6380
|
readonly internalType: "uint256";
|
|
6487
|
-
}, {
|
|
6488
|
-
readonly name: "premiumPaid";
|
|
6489
|
-
readonly type: "uint128";
|
|
6490
|
-
readonly internalType: "uint128";
|
|
6491
6381
|
}, {
|
|
6492
6382
|
readonly name: "expiresAt";
|
|
6493
6383
|
readonly type: "uint64";
|
|
6494
6384
|
readonly internalType: "uint64";
|
|
6495
|
-
}, {
|
|
6496
|
-
readonly name: "createdAt";
|
|
6497
|
-
readonly type: "uint64";
|
|
6498
|
-
readonly internalType: "uint64";
|
|
6499
6385
|
}, {
|
|
6500
6386
|
readonly name: "liquidities";
|
|
6501
6387
|
readonly type: "uint128[]";
|
|
@@ -6716,18 +6602,10 @@ declare const useLens: () => {
|
|
|
6716
6602
|
readonly name: "netOptionAssetToRepay";
|
|
6717
6603
|
readonly type: "uint256";
|
|
6718
6604
|
readonly internalType: "uint256";
|
|
6719
|
-
}, {
|
|
6720
|
-
readonly name: "premiumPaid";
|
|
6721
|
-
readonly type: "uint128";
|
|
6722
|
-
readonly internalType: "uint128";
|
|
6723
6605
|
}, {
|
|
6724
6606
|
readonly name: "expiresAt";
|
|
6725
6607
|
readonly type: "uint64";
|
|
6726
6608
|
readonly internalType: "uint64";
|
|
6727
|
-
}, {
|
|
6728
|
-
readonly name: "createdAt";
|
|
6729
|
-
readonly type: "uint64";
|
|
6730
|
-
readonly internalType: "uint64";
|
|
6731
6609
|
}, {
|
|
6732
6610
|
readonly name: "liquidities";
|
|
6733
6611
|
readonly type: "uint128[]";
|
|
@@ -6807,18 +6685,10 @@ declare const useLens: () => {
|
|
|
6807
6685
|
readonly name: "netOptionAssetToRepay";
|
|
6808
6686
|
readonly type: "uint256";
|
|
6809
6687
|
readonly internalType: "uint256";
|
|
6810
|
-
}, {
|
|
6811
|
-
readonly name: "premiumPaid";
|
|
6812
|
-
readonly type: "uint128";
|
|
6813
|
-
readonly internalType: "uint128";
|
|
6814
6688
|
}, {
|
|
6815
6689
|
readonly name: "expiresAt";
|
|
6816
6690
|
readonly type: "uint64";
|
|
6817
6691
|
readonly internalType: "uint64";
|
|
6818
|
-
}, {
|
|
6819
|
-
readonly name: "createdAt";
|
|
6820
|
-
readonly type: "uint64";
|
|
6821
|
-
readonly internalType: "uint64";
|
|
6822
6692
|
}, {
|
|
6823
6693
|
readonly name: "liquidities";
|
|
6824
6694
|
readonly type: "uint128[]";
|
|
@@ -6979,18 +6849,10 @@ declare const useLens: () => {
|
|
|
6979
6849
|
readonly name: "netOptionAssetToRepay";
|
|
6980
6850
|
readonly type: "uint256";
|
|
6981
6851
|
readonly internalType: "uint256";
|
|
6982
|
-
}, {
|
|
6983
|
-
readonly name: "premiumPaid";
|
|
6984
|
-
readonly type: "uint128";
|
|
6985
|
-
readonly internalType: "uint128";
|
|
6986
6852
|
}, {
|
|
6987
6853
|
readonly name: "expiresAt";
|
|
6988
6854
|
readonly type: "uint64";
|
|
6989
6855
|
readonly internalType: "uint64";
|
|
6990
|
-
}, {
|
|
6991
|
-
readonly name: "createdAt";
|
|
6992
|
-
readonly type: "uint64";
|
|
6993
|
-
readonly internalType: "uint64";
|
|
6994
6856
|
}, {
|
|
6995
6857
|
readonly name: "liquidities";
|
|
6996
6858
|
readonly type: "uint128[]";
|
|
@@ -7045,7 +6907,7 @@ declare const useLens: () => {
|
|
|
7045
6907
|
}];
|
|
7046
6908
|
readonly stateMutability: "view";
|
|
7047
6909
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
7048
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
6910
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
7049
6911
|
readonly type: "function";
|
|
7050
6912
|
readonly name: "batchGetRefTick";
|
|
7051
6913
|
readonly inputs: readonly [{
|
|
@@ -7190,18 +7052,10 @@ declare const useLens: () => {
|
|
|
7190
7052
|
readonly name: "netOptionAssetToRepay";
|
|
7191
7053
|
readonly type: "uint256";
|
|
7192
7054
|
readonly internalType: "uint256";
|
|
7193
|
-
}, {
|
|
7194
|
-
readonly name: "premiumPaid";
|
|
7195
|
-
readonly type: "uint128";
|
|
7196
|
-
readonly internalType: "uint128";
|
|
7197
7055
|
}, {
|
|
7198
7056
|
readonly name: "expiresAt";
|
|
7199
7057
|
readonly type: "uint64";
|
|
7200
7058
|
readonly internalType: "uint64";
|
|
7201
|
-
}, {
|
|
7202
|
-
readonly name: "createdAt";
|
|
7203
|
-
readonly type: "uint64";
|
|
7204
|
-
readonly internalType: "uint64";
|
|
7205
7059
|
}, {
|
|
7206
7060
|
readonly name: "liquidities";
|
|
7207
7061
|
readonly type: "uint128[]";
|
|
@@ -7422,18 +7276,10 @@ declare const useLens: () => {
|
|
|
7422
7276
|
readonly name: "netOptionAssetToRepay";
|
|
7423
7277
|
readonly type: "uint256";
|
|
7424
7278
|
readonly internalType: "uint256";
|
|
7425
|
-
}, {
|
|
7426
|
-
readonly name: "premiumPaid";
|
|
7427
|
-
readonly type: "uint128";
|
|
7428
|
-
readonly internalType: "uint128";
|
|
7429
7279
|
}, {
|
|
7430
7280
|
readonly name: "expiresAt";
|
|
7431
7281
|
readonly type: "uint64";
|
|
7432
7282
|
readonly internalType: "uint64";
|
|
7433
|
-
}, {
|
|
7434
|
-
readonly name: "createdAt";
|
|
7435
|
-
readonly type: "uint64";
|
|
7436
|
-
readonly internalType: "uint64";
|
|
7437
7283
|
}, {
|
|
7438
7284
|
readonly name: "liquidities";
|
|
7439
7285
|
readonly type: "uint128[]";
|
|
@@ -7513,18 +7359,10 @@ declare const useLens: () => {
|
|
|
7513
7359
|
readonly name: "netOptionAssetToRepay";
|
|
7514
7360
|
readonly type: "uint256";
|
|
7515
7361
|
readonly internalType: "uint256";
|
|
7516
|
-
}, {
|
|
7517
|
-
readonly name: "premiumPaid";
|
|
7518
|
-
readonly type: "uint128";
|
|
7519
|
-
readonly internalType: "uint128";
|
|
7520
7362
|
}, {
|
|
7521
7363
|
readonly name: "expiresAt";
|
|
7522
7364
|
readonly type: "uint64";
|
|
7523
7365
|
readonly internalType: "uint64";
|
|
7524
|
-
}, {
|
|
7525
|
-
readonly name: "createdAt";
|
|
7526
|
-
readonly type: "uint64";
|
|
7527
|
-
readonly internalType: "uint64";
|
|
7528
7366
|
}, {
|
|
7529
7367
|
readonly name: "liquidities";
|
|
7530
7368
|
readonly type: "uint128[]";
|
|
@@ -7685,18 +7523,10 @@ declare const useLens: () => {
|
|
|
7685
7523
|
readonly name: "netOptionAssetToRepay";
|
|
7686
7524
|
readonly type: "uint256";
|
|
7687
7525
|
readonly internalType: "uint256";
|
|
7688
|
-
}, {
|
|
7689
|
-
readonly name: "premiumPaid";
|
|
7690
|
-
readonly type: "uint128";
|
|
7691
|
-
readonly internalType: "uint128";
|
|
7692
7526
|
}, {
|
|
7693
7527
|
readonly name: "expiresAt";
|
|
7694
7528
|
readonly type: "uint64";
|
|
7695
7529
|
readonly internalType: "uint64";
|
|
7696
|
-
}, {
|
|
7697
|
-
readonly name: "createdAt";
|
|
7698
|
-
readonly type: "uint64";
|
|
7699
|
-
readonly internalType: "uint64";
|
|
7700
7530
|
}, {
|
|
7701
7531
|
readonly name: "liquidities";
|
|
7702
7532
|
readonly type: "uint128[]";
|
|
@@ -7751,7 +7581,7 @@ declare const useLens: () => {
|
|
|
7751
7581
|
}];
|
|
7752
7582
|
readonly stateMutability: "view";
|
|
7753
7583
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
7754
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
7584
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
7755
7585
|
readonly type: "function";
|
|
7756
7586
|
readonly name: "batchGetRefTick";
|
|
7757
7587
|
readonly inputs: readonly [{
|
|
@@ -7896,18 +7726,10 @@ declare const useLens: () => {
|
|
|
7896
7726
|
readonly name: "netOptionAssetToRepay";
|
|
7897
7727
|
readonly type: "uint256";
|
|
7898
7728
|
readonly internalType: "uint256";
|
|
7899
|
-
}, {
|
|
7900
|
-
readonly name: "premiumPaid";
|
|
7901
|
-
readonly type: "uint128";
|
|
7902
|
-
readonly internalType: "uint128";
|
|
7903
7729
|
}, {
|
|
7904
7730
|
readonly name: "expiresAt";
|
|
7905
7731
|
readonly type: "uint64";
|
|
7906
7732
|
readonly internalType: "uint64";
|
|
7907
|
-
}, {
|
|
7908
|
-
readonly name: "createdAt";
|
|
7909
|
-
readonly type: "uint64";
|
|
7910
|
-
readonly internalType: "uint64";
|
|
7911
7733
|
}, {
|
|
7912
7734
|
readonly name: "liquidities";
|
|
7913
7735
|
readonly type: "uint128[]";
|
|
@@ -8128,18 +7950,10 @@ declare const useLens: () => {
|
|
|
8128
7950
|
readonly name: "netOptionAssetToRepay";
|
|
8129
7951
|
readonly type: "uint256";
|
|
8130
7952
|
readonly internalType: "uint256";
|
|
8131
|
-
}, {
|
|
8132
|
-
readonly name: "premiumPaid";
|
|
8133
|
-
readonly type: "uint128";
|
|
8134
|
-
readonly internalType: "uint128";
|
|
8135
7953
|
}, {
|
|
8136
7954
|
readonly name: "expiresAt";
|
|
8137
7955
|
readonly type: "uint64";
|
|
8138
7956
|
readonly internalType: "uint64";
|
|
8139
|
-
}, {
|
|
8140
|
-
readonly name: "createdAt";
|
|
8141
|
-
readonly type: "uint64";
|
|
8142
|
-
readonly internalType: "uint64";
|
|
8143
7957
|
}, {
|
|
8144
7958
|
readonly name: "liquidities";
|
|
8145
7959
|
readonly type: "uint128[]";
|
|
@@ -8219,18 +8033,10 @@ declare const useLens: () => {
|
|
|
8219
8033
|
readonly name: "netOptionAssetToRepay";
|
|
8220
8034
|
readonly type: "uint256";
|
|
8221
8035
|
readonly internalType: "uint256";
|
|
8222
|
-
}, {
|
|
8223
|
-
readonly name: "premiumPaid";
|
|
8224
|
-
readonly type: "uint128";
|
|
8225
|
-
readonly internalType: "uint128";
|
|
8226
8036
|
}, {
|
|
8227
8037
|
readonly name: "expiresAt";
|
|
8228
8038
|
readonly type: "uint64";
|
|
8229
8039
|
readonly internalType: "uint64";
|
|
8230
|
-
}, {
|
|
8231
|
-
readonly name: "createdAt";
|
|
8232
|
-
readonly type: "uint64";
|
|
8233
|
-
readonly internalType: "uint64";
|
|
8234
8040
|
}, {
|
|
8235
8041
|
readonly name: "liquidities";
|
|
8236
8042
|
readonly type: "uint128[]";
|
|
@@ -8391,18 +8197,10 @@ declare const useLens: () => {
|
|
|
8391
8197
|
readonly name: "netOptionAssetToRepay";
|
|
8392
8198
|
readonly type: "uint256";
|
|
8393
8199
|
readonly internalType: "uint256";
|
|
8394
|
-
}, {
|
|
8395
|
-
readonly name: "premiumPaid";
|
|
8396
|
-
readonly type: "uint128";
|
|
8397
|
-
readonly internalType: "uint128";
|
|
8398
8200
|
}, {
|
|
8399
8201
|
readonly name: "expiresAt";
|
|
8400
8202
|
readonly type: "uint64";
|
|
8401
8203
|
readonly internalType: "uint64";
|
|
8402
|
-
}, {
|
|
8403
|
-
readonly name: "createdAt";
|
|
8404
|
-
readonly type: "uint64";
|
|
8405
|
-
readonly internalType: "uint64";
|
|
8406
8204
|
}, {
|
|
8407
8205
|
readonly name: "liquidities";
|
|
8408
8206
|
readonly type: "uint128[]";
|
|
@@ -8471,12 +8269,10 @@ declare const useLens: () => {
|
|
|
8471
8269
|
payoutAssetToRepay: bigint;
|
|
8472
8270
|
positionSize: bigint;
|
|
8473
8271
|
netOptionAssetToRepay: bigint;
|
|
8474
|
-
premiumPaid: bigint;
|
|
8475
8272
|
expiresAt: bigint;
|
|
8476
|
-
createdAt: bigint;
|
|
8477
8273
|
liquidities: readonly bigint[];
|
|
8478
8274
|
}>;
|
|
8479
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
8275
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
8480
8276
|
readonly type: "function";
|
|
8481
8277
|
readonly name: "batchGetRefTick";
|
|
8482
8278
|
readonly inputs: readonly [{
|
|
@@ -8621,18 +8417,10 @@ declare const useLens: () => {
|
|
|
8621
8417
|
readonly name: "netOptionAssetToRepay";
|
|
8622
8418
|
readonly type: "uint256";
|
|
8623
8419
|
readonly internalType: "uint256";
|
|
8624
|
-
}, {
|
|
8625
|
-
readonly name: "premiumPaid";
|
|
8626
|
-
readonly type: "uint128";
|
|
8627
|
-
readonly internalType: "uint128";
|
|
8628
8420
|
}, {
|
|
8629
8421
|
readonly name: "expiresAt";
|
|
8630
8422
|
readonly type: "uint64";
|
|
8631
8423
|
readonly internalType: "uint64";
|
|
8632
|
-
}, {
|
|
8633
|
-
readonly name: "createdAt";
|
|
8634
|
-
readonly type: "uint64";
|
|
8635
|
-
readonly internalType: "uint64";
|
|
8636
8424
|
}, {
|
|
8637
8425
|
readonly name: "liquidities";
|
|
8638
8426
|
readonly type: "uint128[]";
|
|
@@ -8853,18 +8641,10 @@ declare const useLens: () => {
|
|
|
8853
8641
|
readonly name: "netOptionAssetToRepay";
|
|
8854
8642
|
readonly type: "uint256";
|
|
8855
8643
|
readonly internalType: "uint256";
|
|
8856
|
-
}, {
|
|
8857
|
-
readonly name: "premiumPaid";
|
|
8858
|
-
readonly type: "uint128";
|
|
8859
|
-
readonly internalType: "uint128";
|
|
8860
8644
|
}, {
|
|
8861
8645
|
readonly name: "expiresAt";
|
|
8862
8646
|
readonly type: "uint64";
|
|
8863
8647
|
readonly internalType: "uint64";
|
|
8864
|
-
}, {
|
|
8865
|
-
readonly name: "createdAt";
|
|
8866
|
-
readonly type: "uint64";
|
|
8867
|
-
readonly internalType: "uint64";
|
|
8868
8648
|
}, {
|
|
8869
8649
|
readonly name: "liquidities";
|
|
8870
8650
|
readonly type: "uint128[]";
|
|
@@ -8944,18 +8724,10 @@ declare const useLens: () => {
|
|
|
8944
8724
|
readonly name: "netOptionAssetToRepay";
|
|
8945
8725
|
readonly type: "uint256";
|
|
8946
8726
|
readonly internalType: "uint256";
|
|
8947
|
-
}, {
|
|
8948
|
-
readonly name: "premiumPaid";
|
|
8949
|
-
readonly type: "uint128";
|
|
8950
|
-
readonly internalType: "uint128";
|
|
8951
8727
|
}, {
|
|
8952
8728
|
readonly name: "expiresAt";
|
|
8953
8729
|
readonly type: "uint64";
|
|
8954
8730
|
readonly internalType: "uint64";
|
|
8955
|
-
}, {
|
|
8956
|
-
readonly name: "createdAt";
|
|
8957
|
-
readonly type: "uint64";
|
|
8958
|
-
readonly internalType: "uint64";
|
|
8959
8731
|
}, {
|
|
8960
8732
|
readonly name: "liquidities";
|
|
8961
8733
|
readonly type: "uint128[]";
|
|
@@ -9116,18 +8888,10 @@ declare const useLens: () => {
|
|
|
9116
8888
|
readonly name: "netOptionAssetToRepay";
|
|
9117
8889
|
readonly type: "uint256";
|
|
9118
8890
|
readonly internalType: "uint256";
|
|
9119
|
-
}, {
|
|
9120
|
-
readonly name: "premiumPaid";
|
|
9121
|
-
readonly type: "uint128";
|
|
9122
|
-
readonly internalType: "uint128";
|
|
9123
8891
|
}, {
|
|
9124
8892
|
readonly name: "expiresAt";
|
|
9125
8893
|
readonly type: "uint64";
|
|
9126
8894
|
readonly internalType: "uint64";
|
|
9127
|
-
}, {
|
|
9128
|
-
readonly name: "createdAt";
|
|
9129
|
-
readonly type: "uint64";
|
|
9130
|
-
readonly internalType: "uint64";
|
|
9131
8895
|
}, {
|
|
9132
8896
|
readonly name: "liquidities";
|
|
9133
8897
|
readonly type: "uint128[]";
|
|
@@ -9196,12 +8960,10 @@ declare const useLens: () => {
|
|
|
9196
8960
|
payoutAssetToRepay: bigint;
|
|
9197
8961
|
positionSize: bigint;
|
|
9198
8962
|
netOptionAssetToRepay: bigint;
|
|
9199
|
-
premiumPaid: bigint;
|
|
9200
8963
|
expiresAt: bigint;
|
|
9201
|
-
createdAt: bigint;
|
|
9202
8964
|
liquidities: readonly bigint[];
|
|
9203
8965
|
}[]>;
|
|
9204
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
8966
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
9205
8967
|
readonly type: "function";
|
|
9206
8968
|
readonly name: "batchGetRefTick";
|
|
9207
8969
|
readonly inputs: readonly [{
|
|
@@ -9346,18 +9108,10 @@ declare const useLens: () => {
|
|
|
9346
9108
|
readonly name: "netOptionAssetToRepay";
|
|
9347
9109
|
readonly type: "uint256";
|
|
9348
9110
|
readonly internalType: "uint256";
|
|
9349
|
-
}, {
|
|
9350
|
-
readonly name: "premiumPaid";
|
|
9351
|
-
readonly type: "uint128";
|
|
9352
|
-
readonly internalType: "uint128";
|
|
9353
9111
|
}, {
|
|
9354
9112
|
readonly name: "expiresAt";
|
|
9355
9113
|
readonly type: "uint64";
|
|
9356
9114
|
readonly internalType: "uint64";
|
|
9357
|
-
}, {
|
|
9358
|
-
readonly name: "createdAt";
|
|
9359
|
-
readonly type: "uint64";
|
|
9360
|
-
readonly internalType: "uint64";
|
|
9361
9115
|
}, {
|
|
9362
9116
|
readonly name: "liquidities";
|
|
9363
9117
|
readonly type: "uint128[]";
|
|
@@ -9578,18 +9332,10 @@ declare const useLens: () => {
|
|
|
9578
9332
|
readonly name: "netOptionAssetToRepay";
|
|
9579
9333
|
readonly type: "uint256";
|
|
9580
9334
|
readonly internalType: "uint256";
|
|
9581
|
-
}, {
|
|
9582
|
-
readonly name: "premiumPaid";
|
|
9583
|
-
readonly type: "uint128";
|
|
9584
|
-
readonly internalType: "uint128";
|
|
9585
9335
|
}, {
|
|
9586
9336
|
readonly name: "expiresAt";
|
|
9587
9337
|
readonly type: "uint64";
|
|
9588
9338
|
readonly internalType: "uint64";
|
|
9589
|
-
}, {
|
|
9590
|
-
readonly name: "createdAt";
|
|
9591
|
-
readonly type: "uint64";
|
|
9592
|
-
readonly internalType: "uint64";
|
|
9593
9339
|
}, {
|
|
9594
9340
|
readonly name: "liquidities";
|
|
9595
9341
|
readonly type: "uint128[]";
|
|
@@ -9669,18 +9415,10 @@ declare const useLens: () => {
|
|
|
9669
9415
|
readonly name: "netOptionAssetToRepay";
|
|
9670
9416
|
readonly type: "uint256";
|
|
9671
9417
|
readonly internalType: "uint256";
|
|
9672
|
-
}, {
|
|
9673
|
-
readonly name: "premiumPaid";
|
|
9674
|
-
readonly type: "uint128";
|
|
9675
|
-
readonly internalType: "uint128";
|
|
9676
9418
|
}, {
|
|
9677
9419
|
readonly name: "expiresAt";
|
|
9678
9420
|
readonly type: "uint64";
|
|
9679
9421
|
readonly internalType: "uint64";
|
|
9680
|
-
}, {
|
|
9681
|
-
readonly name: "createdAt";
|
|
9682
|
-
readonly type: "uint64";
|
|
9683
|
-
readonly internalType: "uint64";
|
|
9684
9422
|
}, {
|
|
9685
9423
|
readonly name: "liquidities";
|
|
9686
9424
|
readonly type: "uint128[]";
|
|
@@ -9841,18 +9579,10 @@ declare const useLens: () => {
|
|
|
9841
9579
|
readonly name: "netOptionAssetToRepay";
|
|
9842
9580
|
readonly type: "uint256";
|
|
9843
9581
|
readonly internalType: "uint256";
|
|
9844
|
-
}, {
|
|
9845
|
-
readonly name: "premiumPaid";
|
|
9846
|
-
readonly type: "uint128";
|
|
9847
|
-
readonly internalType: "uint128";
|
|
9848
9582
|
}, {
|
|
9849
9583
|
readonly name: "expiresAt";
|
|
9850
9584
|
readonly type: "uint64";
|
|
9851
9585
|
readonly internalType: "uint64";
|
|
9852
|
-
}, {
|
|
9853
|
-
readonly name: "createdAt";
|
|
9854
|
-
readonly type: "uint64";
|
|
9855
|
-
readonly internalType: "uint64";
|
|
9856
9586
|
}, {
|
|
9857
9587
|
readonly name: "liquidities";
|
|
9858
9588
|
readonly type: "uint128[]";
|
|
@@ -9918,7 +9648,7 @@ declare const useLens: () => {
|
|
|
9918
9648
|
tickSpacing: number;
|
|
9919
9649
|
fee: number;
|
|
9920
9650
|
}>;
|
|
9921
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
9651
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
9922
9652
|
readonly type: "function";
|
|
9923
9653
|
readonly name: "batchGetRefTick";
|
|
9924
9654
|
readonly inputs: readonly [{
|
|
@@ -10063,18 +9793,10 @@ declare const useLens: () => {
|
|
|
10063
9793
|
readonly name: "netOptionAssetToRepay";
|
|
10064
9794
|
readonly type: "uint256";
|
|
10065
9795
|
readonly internalType: "uint256";
|
|
10066
|
-
}, {
|
|
10067
|
-
readonly name: "premiumPaid";
|
|
10068
|
-
readonly type: "uint128";
|
|
10069
|
-
readonly internalType: "uint128";
|
|
10070
9796
|
}, {
|
|
10071
9797
|
readonly name: "expiresAt";
|
|
10072
9798
|
readonly type: "uint64";
|
|
10073
9799
|
readonly internalType: "uint64";
|
|
10074
|
-
}, {
|
|
10075
|
-
readonly name: "createdAt";
|
|
10076
|
-
readonly type: "uint64";
|
|
10077
|
-
readonly internalType: "uint64";
|
|
10078
9800
|
}, {
|
|
10079
9801
|
readonly name: "liquidities";
|
|
10080
9802
|
readonly type: "uint128[]";
|
|
@@ -10295,18 +10017,10 @@ declare const useLens: () => {
|
|
|
10295
10017
|
readonly name: "netOptionAssetToRepay";
|
|
10296
10018
|
readonly type: "uint256";
|
|
10297
10019
|
readonly internalType: "uint256";
|
|
10298
|
-
}, {
|
|
10299
|
-
readonly name: "premiumPaid";
|
|
10300
|
-
readonly type: "uint128";
|
|
10301
|
-
readonly internalType: "uint128";
|
|
10302
10020
|
}, {
|
|
10303
10021
|
readonly name: "expiresAt";
|
|
10304
10022
|
readonly type: "uint64";
|
|
10305
10023
|
readonly internalType: "uint64";
|
|
10306
|
-
}, {
|
|
10307
|
-
readonly name: "createdAt";
|
|
10308
|
-
readonly type: "uint64";
|
|
10309
|
-
readonly internalType: "uint64";
|
|
10310
10024
|
}, {
|
|
10311
10025
|
readonly name: "liquidities";
|
|
10312
10026
|
readonly type: "uint128[]";
|
|
@@ -10386,18 +10100,10 @@ declare const useLens: () => {
|
|
|
10386
10100
|
readonly name: "netOptionAssetToRepay";
|
|
10387
10101
|
readonly type: "uint256";
|
|
10388
10102
|
readonly internalType: "uint256";
|
|
10389
|
-
}, {
|
|
10390
|
-
readonly name: "premiumPaid";
|
|
10391
|
-
readonly type: "uint128";
|
|
10392
|
-
readonly internalType: "uint128";
|
|
10393
10103
|
}, {
|
|
10394
10104
|
readonly name: "expiresAt";
|
|
10395
10105
|
readonly type: "uint64";
|
|
10396
10106
|
readonly internalType: "uint64";
|
|
10397
|
-
}, {
|
|
10398
|
-
readonly name: "createdAt";
|
|
10399
|
-
readonly type: "uint64";
|
|
10400
|
-
readonly internalType: "uint64";
|
|
10401
10107
|
}, {
|
|
10402
10108
|
readonly name: "liquidities";
|
|
10403
10109
|
readonly type: "uint128[]";
|
|
@@ -10558,18 +10264,10 @@ declare const useLens: () => {
|
|
|
10558
10264
|
readonly name: "netOptionAssetToRepay";
|
|
10559
10265
|
readonly type: "uint256";
|
|
10560
10266
|
readonly internalType: "uint256";
|
|
10561
|
-
}, {
|
|
10562
|
-
readonly name: "premiumPaid";
|
|
10563
|
-
readonly type: "uint128";
|
|
10564
|
-
readonly internalType: "uint128";
|
|
10565
10267
|
}, {
|
|
10566
10268
|
readonly name: "expiresAt";
|
|
10567
10269
|
readonly type: "uint64";
|
|
10568
10270
|
readonly internalType: "uint64";
|
|
10569
|
-
}, {
|
|
10570
|
-
readonly name: "createdAt";
|
|
10571
|
-
readonly type: "uint64";
|
|
10572
|
-
readonly internalType: "uint64";
|
|
10573
10271
|
}, {
|
|
10574
10272
|
readonly name: "liquidities";
|
|
10575
10273
|
readonly type: "uint128[]";
|
|
@@ -10624,7 +10322,7 @@ declare const useLens: () => {
|
|
|
10624
10322
|
}];
|
|
10625
10323
|
readonly stateMutability: "view";
|
|
10626
10324
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
10627
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
10325
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
10628
10326
|
readonly type: "function";
|
|
10629
10327
|
readonly name: "batchGetRefTick";
|
|
10630
10328
|
readonly inputs: readonly [{
|
|
@@ -10769,18 +10467,10 @@ declare const useLens: () => {
|
|
|
10769
10467
|
readonly name: "netOptionAssetToRepay";
|
|
10770
10468
|
readonly type: "uint256";
|
|
10771
10469
|
readonly internalType: "uint256";
|
|
10772
|
-
}, {
|
|
10773
|
-
readonly name: "premiumPaid";
|
|
10774
|
-
readonly type: "uint128";
|
|
10775
|
-
readonly internalType: "uint128";
|
|
10776
10470
|
}, {
|
|
10777
10471
|
readonly name: "expiresAt";
|
|
10778
10472
|
readonly type: "uint64";
|
|
10779
10473
|
readonly internalType: "uint64";
|
|
10780
|
-
}, {
|
|
10781
|
-
readonly name: "createdAt";
|
|
10782
|
-
readonly type: "uint64";
|
|
10783
|
-
readonly internalType: "uint64";
|
|
10784
10474
|
}, {
|
|
10785
10475
|
readonly name: "liquidities";
|
|
10786
10476
|
readonly type: "uint128[]";
|
|
@@ -11001,18 +10691,10 @@ declare const useLens: () => {
|
|
|
11001
10691
|
readonly name: "netOptionAssetToRepay";
|
|
11002
10692
|
readonly type: "uint256";
|
|
11003
10693
|
readonly internalType: "uint256";
|
|
11004
|
-
}, {
|
|
11005
|
-
readonly name: "premiumPaid";
|
|
11006
|
-
readonly type: "uint128";
|
|
11007
|
-
readonly internalType: "uint128";
|
|
11008
10694
|
}, {
|
|
11009
10695
|
readonly name: "expiresAt";
|
|
11010
10696
|
readonly type: "uint64";
|
|
11011
10697
|
readonly internalType: "uint64";
|
|
11012
|
-
}, {
|
|
11013
|
-
readonly name: "createdAt";
|
|
11014
|
-
readonly type: "uint64";
|
|
11015
|
-
readonly internalType: "uint64";
|
|
11016
10698
|
}, {
|
|
11017
10699
|
readonly name: "liquidities";
|
|
11018
10700
|
readonly type: "uint128[]";
|
|
@@ -11092,18 +10774,10 @@ declare const useLens: () => {
|
|
|
11092
10774
|
readonly name: "netOptionAssetToRepay";
|
|
11093
10775
|
readonly type: "uint256";
|
|
11094
10776
|
readonly internalType: "uint256";
|
|
11095
|
-
}, {
|
|
11096
|
-
readonly name: "premiumPaid";
|
|
11097
|
-
readonly type: "uint128";
|
|
11098
|
-
readonly internalType: "uint128";
|
|
11099
10777
|
}, {
|
|
11100
10778
|
readonly name: "expiresAt";
|
|
11101
10779
|
readonly type: "uint64";
|
|
11102
10780
|
readonly internalType: "uint64";
|
|
11103
|
-
}, {
|
|
11104
|
-
readonly name: "createdAt";
|
|
11105
|
-
readonly type: "uint64";
|
|
11106
|
-
readonly internalType: "uint64";
|
|
11107
10781
|
}, {
|
|
11108
10782
|
readonly name: "liquidities";
|
|
11109
10783
|
readonly type: "uint128[]";
|
|
@@ -11264,18 +10938,10 @@ declare const useLens: () => {
|
|
|
11264
10938
|
readonly name: "netOptionAssetToRepay";
|
|
11265
10939
|
readonly type: "uint256";
|
|
11266
10940
|
readonly internalType: "uint256";
|
|
11267
|
-
}, {
|
|
11268
|
-
readonly name: "premiumPaid";
|
|
11269
|
-
readonly type: "uint128";
|
|
11270
|
-
readonly internalType: "uint128";
|
|
11271
10941
|
}, {
|
|
11272
10942
|
readonly name: "expiresAt";
|
|
11273
10943
|
readonly type: "uint64";
|
|
11274
10944
|
readonly internalType: "uint64";
|
|
11275
|
-
}, {
|
|
11276
|
-
readonly name: "createdAt";
|
|
11277
|
-
readonly type: "uint64";
|
|
11278
|
-
readonly internalType: "uint64";
|
|
11279
10945
|
}, {
|
|
11280
10946
|
readonly name: "liquidities";
|
|
11281
10947
|
readonly type: "uint128[]";
|
|
@@ -11344,12 +11010,10 @@ declare const useLens: () => {
|
|
|
11344
11010
|
payoutAssetToRepay: bigint;
|
|
11345
11011
|
positionSize: bigint;
|
|
11346
11012
|
netOptionAssetToRepay: bigint;
|
|
11347
|
-
premiumPaid: bigint;
|
|
11348
11013
|
expiresAt: bigint;
|
|
11349
|
-
createdAt: bigint;
|
|
11350
11014
|
liquidities: readonly bigint[];
|
|
11351
11015
|
}[], bigint, boolean]>;
|
|
11352
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
11016
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
11353
11017
|
readonly type: "function";
|
|
11354
11018
|
readonly name: "batchGetRefTick";
|
|
11355
11019
|
readonly inputs: readonly [{
|
|
@@ -11494,18 +11158,10 @@ declare const useLens: () => {
|
|
|
11494
11158
|
readonly name: "netOptionAssetToRepay";
|
|
11495
11159
|
readonly type: "uint256";
|
|
11496
11160
|
readonly internalType: "uint256";
|
|
11497
|
-
}, {
|
|
11498
|
-
readonly name: "premiumPaid";
|
|
11499
|
-
readonly type: "uint128";
|
|
11500
|
-
readonly internalType: "uint128";
|
|
11501
11161
|
}, {
|
|
11502
11162
|
readonly name: "expiresAt";
|
|
11503
11163
|
readonly type: "uint64";
|
|
11504
11164
|
readonly internalType: "uint64";
|
|
11505
|
-
}, {
|
|
11506
|
-
readonly name: "createdAt";
|
|
11507
|
-
readonly type: "uint64";
|
|
11508
|
-
readonly internalType: "uint64";
|
|
11509
11165
|
}, {
|
|
11510
11166
|
readonly name: "liquidities";
|
|
11511
11167
|
readonly type: "uint128[]";
|
|
@@ -11726,18 +11382,10 @@ declare const useLens: () => {
|
|
|
11726
11382
|
readonly name: "netOptionAssetToRepay";
|
|
11727
11383
|
readonly type: "uint256";
|
|
11728
11384
|
readonly internalType: "uint256";
|
|
11729
|
-
}, {
|
|
11730
|
-
readonly name: "premiumPaid";
|
|
11731
|
-
readonly type: "uint128";
|
|
11732
|
-
readonly internalType: "uint128";
|
|
11733
11385
|
}, {
|
|
11734
11386
|
readonly name: "expiresAt";
|
|
11735
11387
|
readonly type: "uint64";
|
|
11736
11388
|
readonly internalType: "uint64";
|
|
11737
|
-
}, {
|
|
11738
|
-
readonly name: "createdAt";
|
|
11739
|
-
readonly type: "uint64";
|
|
11740
|
-
readonly internalType: "uint64";
|
|
11741
11389
|
}, {
|
|
11742
11390
|
readonly name: "liquidities";
|
|
11743
11391
|
readonly type: "uint128[]";
|
|
@@ -11817,18 +11465,10 @@ declare const useLens: () => {
|
|
|
11817
11465
|
readonly name: "netOptionAssetToRepay";
|
|
11818
11466
|
readonly type: "uint256";
|
|
11819
11467
|
readonly internalType: "uint256";
|
|
11820
|
-
}, {
|
|
11821
|
-
readonly name: "premiumPaid";
|
|
11822
|
-
readonly type: "uint128";
|
|
11823
|
-
readonly internalType: "uint128";
|
|
11824
11468
|
}, {
|
|
11825
11469
|
readonly name: "expiresAt";
|
|
11826
11470
|
readonly type: "uint64";
|
|
11827
11471
|
readonly internalType: "uint64";
|
|
11828
|
-
}, {
|
|
11829
|
-
readonly name: "createdAt";
|
|
11830
|
-
readonly type: "uint64";
|
|
11831
|
-
readonly internalType: "uint64";
|
|
11832
11472
|
}, {
|
|
11833
11473
|
readonly name: "liquidities";
|
|
11834
11474
|
readonly type: "uint128[]";
|
|
@@ -11989,18 +11629,10 @@ declare const useLens: () => {
|
|
|
11989
11629
|
readonly name: "netOptionAssetToRepay";
|
|
11990
11630
|
readonly type: "uint256";
|
|
11991
11631
|
readonly internalType: "uint256";
|
|
11992
|
-
}, {
|
|
11993
|
-
readonly name: "premiumPaid";
|
|
11994
|
-
readonly type: "uint128";
|
|
11995
|
-
readonly internalType: "uint128";
|
|
11996
11632
|
}, {
|
|
11997
11633
|
readonly name: "expiresAt";
|
|
11998
11634
|
readonly type: "uint64";
|
|
11999
11635
|
readonly internalType: "uint64";
|
|
12000
|
-
}, {
|
|
12001
|
-
readonly name: "createdAt";
|
|
12002
|
-
readonly type: "uint64";
|
|
12003
|
-
readonly internalType: "uint64";
|
|
12004
11636
|
}, {
|
|
12005
11637
|
readonly name: "liquidities";
|
|
12006
11638
|
readonly type: "uint128[]";
|
|
@@ -12202,18 +11834,10 @@ declare const useLens: () => {
|
|
|
12202
11834
|
readonly name: "netOptionAssetToRepay";
|
|
12203
11835
|
readonly type: "uint256";
|
|
12204
11836
|
readonly internalType: "uint256";
|
|
12205
|
-
}, {
|
|
12206
|
-
readonly name: "premiumPaid";
|
|
12207
|
-
readonly type: "uint128";
|
|
12208
|
-
readonly internalType: "uint128";
|
|
12209
11837
|
}, {
|
|
12210
11838
|
readonly name: "expiresAt";
|
|
12211
11839
|
readonly type: "uint64";
|
|
12212
11840
|
readonly internalType: "uint64";
|
|
12213
|
-
}, {
|
|
12214
|
-
readonly name: "createdAt";
|
|
12215
|
-
readonly type: "uint64";
|
|
12216
|
-
readonly internalType: "uint64";
|
|
12217
11841
|
}, {
|
|
12218
11842
|
readonly name: "liquidities";
|
|
12219
11843
|
readonly type: "uint128[]";
|
|
@@ -12434,18 +12058,10 @@ declare const useLens: () => {
|
|
|
12434
12058
|
readonly name: "netOptionAssetToRepay";
|
|
12435
12059
|
readonly type: "uint256";
|
|
12436
12060
|
readonly internalType: "uint256";
|
|
12437
|
-
}, {
|
|
12438
|
-
readonly name: "premiumPaid";
|
|
12439
|
-
readonly type: "uint128";
|
|
12440
|
-
readonly internalType: "uint128";
|
|
12441
12061
|
}, {
|
|
12442
12062
|
readonly name: "expiresAt";
|
|
12443
12063
|
readonly type: "uint64";
|
|
12444
12064
|
readonly internalType: "uint64";
|
|
12445
|
-
}, {
|
|
12446
|
-
readonly name: "createdAt";
|
|
12447
|
-
readonly type: "uint64";
|
|
12448
|
-
readonly internalType: "uint64";
|
|
12449
12065
|
}, {
|
|
12450
12066
|
readonly name: "liquidities";
|
|
12451
12067
|
readonly type: "uint128[]";
|
|
@@ -12525,18 +12141,10 @@ declare const useLens: () => {
|
|
|
12525
12141
|
readonly name: "netOptionAssetToRepay";
|
|
12526
12142
|
readonly type: "uint256";
|
|
12527
12143
|
readonly internalType: "uint256";
|
|
12528
|
-
}, {
|
|
12529
|
-
readonly name: "premiumPaid";
|
|
12530
|
-
readonly type: "uint128";
|
|
12531
|
-
readonly internalType: "uint128";
|
|
12532
12144
|
}, {
|
|
12533
12145
|
readonly name: "expiresAt";
|
|
12534
12146
|
readonly type: "uint64";
|
|
12535
12147
|
readonly internalType: "uint64";
|
|
12536
|
-
}, {
|
|
12537
|
-
readonly name: "createdAt";
|
|
12538
|
-
readonly type: "uint64";
|
|
12539
|
-
readonly internalType: "uint64";
|
|
12540
12148
|
}, {
|
|
12541
12149
|
readonly name: "liquidities";
|
|
12542
12150
|
readonly type: "uint128[]";
|
|
@@ -12697,18 +12305,10 @@ declare const useLens: () => {
|
|
|
12697
12305
|
readonly name: "netOptionAssetToRepay";
|
|
12698
12306
|
readonly type: "uint256";
|
|
12699
12307
|
readonly internalType: "uint256";
|
|
12700
|
-
}, {
|
|
12701
|
-
readonly name: "premiumPaid";
|
|
12702
|
-
readonly type: "uint128";
|
|
12703
|
-
readonly internalType: "uint128";
|
|
12704
12308
|
}, {
|
|
12705
12309
|
readonly name: "expiresAt";
|
|
12706
12310
|
readonly type: "uint64";
|
|
12707
12311
|
readonly internalType: "uint64";
|
|
12708
|
-
}, {
|
|
12709
|
-
readonly name: "createdAt";
|
|
12710
|
-
readonly type: "uint64";
|
|
12711
|
-
readonly internalType: "uint64";
|
|
12712
12312
|
}, {
|
|
12713
12313
|
readonly name: "liquidities";
|
|
12714
12314
|
readonly type: "uint128[]";
|
|
@@ -12766,7 +12366,7 @@ declare const useLens: () => {
|
|
|
12766
12366
|
} | undefined;
|
|
12767
12367
|
uniswapLens: {
|
|
12768
12368
|
read: {
|
|
12769
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
12369
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
12770
12370
|
readonly type: "function";
|
|
12771
12371
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12772
12372
|
readonly inputs: readonly [{
|
|
@@ -13387,7 +12987,7 @@ declare const useLens: () => {
|
|
|
13387
12987
|
}];
|
|
13388
12988
|
readonly stateMutability: "pure";
|
|
13389
12989
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13390
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
12990
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
13391
12991
|
readonly type: "function";
|
|
13392
12992
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13393
12993
|
readonly inputs: readonly [{
|
|
@@ -14008,7 +13608,7 @@ declare const useLens: () => {
|
|
|
14008
13608
|
}];
|
|
14009
13609
|
readonly stateMutability: "pure";
|
|
14010
13610
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14011
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
13611
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
14012
13612
|
readonly type: "function";
|
|
14013
13613
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14014
13614
|
readonly inputs: readonly [{
|
|
@@ -14629,7 +14229,7 @@ declare const useLens: () => {
|
|
|
14629
14229
|
}];
|
|
14630
14230
|
readonly stateMutability: "pure";
|
|
14631
14231
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14632
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
14232
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
14633
14233
|
readonly type: "function";
|
|
14634
14234
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14635
14235
|
readonly inputs: readonly [{
|
|
@@ -15250,7 +14850,7 @@ declare const useLens: () => {
|
|
|
15250
14850
|
}];
|
|
15251
14851
|
readonly stateMutability: "pure";
|
|
15252
14852
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
15253
|
-
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?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
15254
14854
|
readonly type: "function";
|
|
15255
14855
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15256
14856
|
readonly inputs: readonly [{
|
|
@@ -15871,7 +15471,7 @@ declare const useLens: () => {
|
|
|
15871
15471
|
}];
|
|
15872
15472
|
readonly stateMutability: "pure";
|
|
15873
15473
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
15874
|
-
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?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
15875
15475
|
readonly type: "function";
|
|
15876
15476
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15877
15477
|
readonly inputs: readonly [{
|
|
@@ -16492,7 +16092,7 @@ declare const useLens: () => {
|
|
|
16492
16092
|
}];
|
|
16493
16093
|
readonly stateMutability: "pure";
|
|
16494
16094
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
16495
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
16095
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
16496
16096
|
readonly type: "function";
|
|
16497
16097
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16498
16098
|
readonly inputs: readonly [{
|
|
@@ -17113,7 +16713,7 @@ declare const useLens: () => {
|
|
|
17113
16713
|
}];
|
|
17114
16714
|
readonly stateMutability: "pure";
|
|
17115
16715
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
17116
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
16716
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
17117
16717
|
readonly type: "function";
|
|
17118
16718
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17119
16719
|
readonly inputs: readonly [{
|
|
@@ -17734,7 +17334,7 @@ declare const useLens: () => {
|
|
|
17734
17334
|
}];
|
|
17735
17335
|
readonly stateMutability: "pure";
|
|
17736
17336
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
17737
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
17337
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
17738
17338
|
readonly type: "function";
|
|
17739
17339
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17740
17340
|
readonly inputs: readonly [{
|
|
@@ -18355,7 +17955,7 @@ declare const useLens: () => {
|
|
|
18355
17955
|
}];
|
|
18356
17956
|
readonly stateMutability: "pure";
|
|
18357
17957
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18358
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
17958
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
18359
17959
|
readonly type: "function";
|
|
18360
17960
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18361
17961
|
readonly inputs: readonly [{
|
|
@@ -18976,7 +18576,7 @@ declare const useLens: () => {
|
|
|
18976
18576
|
}];
|
|
18977
18577
|
readonly stateMutability: "pure";
|
|
18978
18578
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18979
|
-
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?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
18980
18580
|
readonly type: "function";
|
|
18981
18581
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18982
18582
|
readonly inputs: readonly [{
|
|
@@ -19597,7 +19197,7 @@ declare const useLens: () => {
|
|
|
19597
19197
|
}];
|
|
19598
19198
|
readonly stateMutability: "pure";
|
|
19599
19199
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
19600
|
-
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?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
19601
19201
|
readonly type: "function";
|
|
19602
19202
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19603
19203
|
readonly inputs: readonly [{
|
|
@@ -20218,7 +19818,7 @@ declare const useLens: () => {
|
|
|
20218
19818
|
}];
|
|
20219
19819
|
readonly stateMutability: "pure";
|
|
20220
19820
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20221
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
19821
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
20222
19822
|
readonly type: "function";
|
|
20223
19823
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20224
19824
|
readonly inputs: readonly [{
|
|
@@ -20839,7 +20439,7 @@ declare const useLens: () => {
|
|
|
20839
20439
|
}];
|
|
20840
20440
|
readonly stateMutability: "pure";
|
|
20841
20441
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20842
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
20442
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
20843
20443
|
readonly type: "function";
|
|
20844
20444
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20845
20445
|
readonly inputs: readonly [{
|
|
@@ -21460,7 +21060,7 @@ declare const useLens: () => {
|
|
|
21460
21060
|
}];
|
|
21461
21061
|
readonly stateMutability: "pure";
|
|
21462
21062
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21463
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
21063
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
21464
21064
|
readonly type: "function";
|
|
21465
21065
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21466
21066
|
readonly inputs: readonly [{
|
|
@@ -22081,7 +21681,7 @@ declare const useLens: () => {
|
|
|
22081
21681
|
}];
|
|
22082
21682
|
readonly stateMutability: "pure";
|
|
22083
21683
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
22084
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
21684
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
22085
21685
|
readonly type: "function";
|
|
22086
21686
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
22087
21687
|
readonly inputs: readonly [{
|
|
@@ -22702,7 +22302,7 @@ declare const useLens: () => {
|
|
|
22702
22302
|
}];
|
|
22703
22303
|
readonly stateMutability: "pure";
|
|
22704
22304
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
22705
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
22305
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
22706
22306
|
readonly type: "function";
|
|
22707
22307
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
22708
22308
|
readonly inputs: readonly [{
|
|
@@ -23323,7 +22923,7 @@ declare const useLens: () => {
|
|
|
23323
22923
|
}];
|
|
23324
22924
|
readonly stateMutability: "pure";
|
|
23325
22925
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
23326
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
22926
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
23327
22927
|
readonly type: "function";
|
|
23328
22928
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23329
22929
|
readonly inputs: readonly [{
|
|
@@ -23944,7 +23544,7 @@ declare const useLens: () => {
|
|
|
23944
23544
|
}];
|
|
23945
23545
|
readonly stateMutability: "pure";
|
|
23946
23546
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
23947
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
23547
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
23948
23548
|
readonly type: "function";
|
|
23949
23549
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23950
23550
|
readonly inputs: readonly [{
|
|
@@ -24565,7 +24165,7 @@ declare const useLens: () => {
|
|
|
24565
24165
|
}];
|
|
24566
24166
|
readonly stateMutability: "pure";
|
|
24567
24167
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
24568
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
24168
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
24569
24169
|
readonly type: "function";
|
|
24570
24170
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
24571
24171
|
readonly inputs: readonly [{
|
|
@@ -25186,7 +24786,7 @@ declare const useLens: () => {
|
|
|
25186
24786
|
}];
|
|
25187
24787
|
readonly stateMutability: "pure";
|
|
25188
24788
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25189
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
24789
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
25190
24790
|
readonly type: "function";
|
|
25191
24791
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25192
24792
|
readonly inputs: readonly [{
|
|
@@ -25807,7 +25407,7 @@ declare const useLens: () => {
|
|
|
25807
25407
|
}];
|
|
25808
25408
|
readonly stateMutability: "pure";
|
|
25809
25409
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25810
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
25410
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
25811
25411
|
readonly type: "function";
|
|
25812
25412
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25813
25413
|
readonly inputs: readonly [{
|
|
@@ -26428,7 +26028,7 @@ declare const useLens: () => {
|
|
|
26428
26028
|
}];
|
|
26429
26029
|
readonly stateMutability: "pure";
|
|
26430
26030
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26431
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
26031
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
26432
26032
|
readonly type: "function";
|
|
26433
26033
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26434
26034
|
readonly inputs: readonly [{
|
|
@@ -27049,7 +26649,7 @@ declare const useLens: () => {
|
|
|
27049
26649
|
}];
|
|
27050
26650
|
readonly stateMutability: "pure";
|
|
27051
26651
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27052
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
26652
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
27053
26653
|
readonly type: "function";
|
|
27054
26654
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
27055
26655
|
readonly inputs: readonly [{
|
|
@@ -27670,7 +27270,7 @@ declare const useLens: () => {
|
|
|
27670
27270
|
}];
|
|
27671
27271
|
readonly stateMutability: "pure";
|
|
27672
27272
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27673
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
27273
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
27674
27274
|
readonly type: "function";
|
|
27675
27275
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
27676
27276
|
readonly inputs: readonly [{
|
|
@@ -28291,7 +27891,7 @@ declare const useLens: () => {
|
|
|
28291
27891
|
}];
|
|
28292
27892
|
readonly stateMutability: "pure";
|
|
28293
27893
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
28294
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
27894
|
+
getPriceAtTick: (args: readonly [number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
28295
27895
|
readonly type: "function";
|
|
28296
27896
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
28297
27897
|
readonly inputs: readonly [{
|