timelock-sdk 0.0.75 → 0.0.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.cjs +72 -6
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +43 -440
- package/dist/client.d.ts +109 -506
- package/dist/client.js +72 -6
- package/dist/client.js.map +1 -1
- package/dist/{index-CdkTrz02.d.ts → index-BdBPLPWm.d.ts} +92 -92
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "./uniswapMathLens-C54iWXpi.js";
|
|
2
|
-
import { A as UniswapMathLens, k as TimelockMarketData, p as Amount } from "./index-
|
|
3
|
-
import * as
|
|
2
|
+
import { A as UniswapMathLens, k as TimelockMarketData, p as Amount } from "./index-BdBPLPWm.js";
|
|
3
|
+
import * as viem117 from "viem";
|
|
4
4
|
import { Address } from "viem";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
6
6
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
7
|
-
import * as
|
|
7
|
+
import * as _tanstack_react_query2 from "@tanstack/react-query";
|
|
8
8
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
9
9
|
import "graphql";
|
|
10
10
|
import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
11
|
-
import * as
|
|
11
|
+
import * as _wagmi_core1 from "@wagmi/core";
|
|
12
12
|
|
|
13
13
|
//#region src/generated/graphql.d.ts
|
|
14
14
|
type Exact<T extends {
|
|
@@ -82,14 +82,6 @@ type UserOptionFieldsFragment = {
|
|
|
82
82
|
__typename: 'TimelockMarket';
|
|
83
83
|
address: string;
|
|
84
84
|
} | null;
|
|
85
|
-
exerciseEvents: Array<{
|
|
86
|
-
__typename: 'ExerciseOptionEvent';
|
|
87
|
-
transactionHash: string;
|
|
88
|
-
}>;
|
|
89
|
-
mintEvent?: {
|
|
90
|
-
__typename: 'MintOptionEvent';
|
|
91
|
-
transactionHash: string;
|
|
92
|
-
} | null;
|
|
93
85
|
};
|
|
94
86
|
type GetActiveUserOptionsQueryVariables = Exact<{
|
|
95
87
|
userAddr: Scalars['String']['input'];
|
|
@@ -174,6 +166,48 @@ type GetUserMarketOperatorsQuery = {
|
|
|
174
166
|
} | null;
|
|
175
167
|
}>;
|
|
176
168
|
};
|
|
169
|
+
type GetOptionEventsQueryVariables = Exact<{
|
|
170
|
+
marketAddr: Scalars['String']['input'];
|
|
171
|
+
optionId: Scalars['numeric']['input'];
|
|
172
|
+
}>;
|
|
173
|
+
type GetOptionEventsQuery = {
|
|
174
|
+
__typename: 'query_root';
|
|
175
|
+
MintOptionEvent: Array<{
|
|
176
|
+
__typename: 'MintOptionEvent';
|
|
177
|
+
id: string;
|
|
178
|
+
optionType: number;
|
|
179
|
+
strikeTick: number;
|
|
180
|
+
currentTick: number;
|
|
181
|
+
expiresAt: any;
|
|
182
|
+
premium: any;
|
|
183
|
+
protocolFee: any;
|
|
184
|
+
liquidities: Array<string>;
|
|
185
|
+
timestamp: any;
|
|
186
|
+
blockNumber: any;
|
|
187
|
+
transactionHash: string;
|
|
188
|
+
}>;
|
|
189
|
+
ExerciseOptionEvent: Array<{
|
|
190
|
+
__typename: 'ExerciseOptionEvent';
|
|
191
|
+
id: string;
|
|
192
|
+
liquidities: Array<string>;
|
|
193
|
+
currentTick: number;
|
|
194
|
+
payout: any;
|
|
195
|
+
timestamp: any;
|
|
196
|
+
blockNumber: any;
|
|
197
|
+
transactionHash: string;
|
|
198
|
+
}>;
|
|
199
|
+
ExtendOptionEvent: Array<{
|
|
200
|
+
__typename: 'ExtendOptionEvent';
|
|
201
|
+
id: string;
|
|
202
|
+
premium: any;
|
|
203
|
+
protocolFee: any;
|
|
204
|
+
currentTick: number;
|
|
205
|
+
addedDuration: any;
|
|
206
|
+
timestamp: any;
|
|
207
|
+
blockNumber: any;
|
|
208
|
+
transactionHash: string;
|
|
209
|
+
}>;
|
|
210
|
+
};
|
|
177
211
|
type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
|
|
178
212
|
declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
179
213
|
GetActiveUserOptions(variables: GetActiveUserOptionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetActiveUserOptionsQuery>;
|
|
@@ -182,6 +216,7 @@ declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper)
|
|
|
182
216
|
GetClosedUserOptionsByMarket(variables: GetClosedUserOptionsByMarketQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetClosedUserOptionsByMarketQuery>;
|
|
183
217
|
GetMarketData(variables: GetMarketDataQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetMarketDataQuery>;
|
|
184
218
|
GetUserMarketOperators(variables: GetUserMarketOperatorsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetUserMarketOperatorsQuery>;
|
|
219
|
+
GetOptionEvents(variables: GetOptionEventsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetOptionEventsQuery>;
|
|
185
220
|
};
|
|
186
221
|
//#endregion
|
|
187
222
|
//#region src/providers/TimelockMarketProvider.d.ts
|
|
@@ -259,14 +294,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
259
294
|
__typename: "TimelockMarket";
|
|
260
295
|
address: string;
|
|
261
296
|
} | null;
|
|
262
|
-
exerciseEvents: Array<{
|
|
263
|
-
__typename: "ExerciseOptionEvent";
|
|
264
|
-
transactionHash: string;
|
|
265
|
-
}>;
|
|
266
|
-
mintEvent?: {
|
|
267
|
-
__typename: "MintOptionEvent";
|
|
268
|
-
transactionHash: string;
|
|
269
|
-
} | null;
|
|
270
297
|
}[], Error>>;
|
|
271
298
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
272
299
|
promise: Promise<{
|
|
@@ -299,14 +326,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
299
326
|
__typename: "TimelockMarket";
|
|
300
327
|
address: string;
|
|
301
328
|
} | null;
|
|
302
|
-
exerciseEvents: Array<{
|
|
303
|
-
__typename: "ExerciseOptionEvent";
|
|
304
|
-
transactionHash: string;
|
|
305
|
-
}>;
|
|
306
|
-
mintEvent?: {
|
|
307
|
-
__typename: "MintOptionEvent";
|
|
308
|
-
transactionHash: string;
|
|
309
|
-
} | null;
|
|
310
329
|
}[]>;
|
|
311
330
|
data: {
|
|
312
331
|
optionId: bigint;
|
|
@@ -338,14 +357,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
338
357
|
__typename: "TimelockMarket";
|
|
339
358
|
address: string;
|
|
340
359
|
} | null;
|
|
341
|
-
exerciseEvents: Array<{
|
|
342
|
-
__typename: "ExerciseOptionEvent";
|
|
343
|
-
transactionHash: string;
|
|
344
|
-
}>;
|
|
345
|
-
mintEvent?: {
|
|
346
|
-
__typename: "MintOptionEvent";
|
|
347
|
-
transactionHash: string;
|
|
348
|
-
} | null;
|
|
349
360
|
}[];
|
|
350
361
|
} | {
|
|
351
362
|
error: null;
|
|
@@ -400,14 +411,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
400
411
|
__typename: "TimelockMarket";
|
|
401
412
|
address: string;
|
|
402
413
|
} | null;
|
|
403
|
-
exerciseEvents: Array<{
|
|
404
|
-
__typename: "ExerciseOptionEvent";
|
|
405
|
-
transactionHash: string;
|
|
406
|
-
}>;
|
|
407
|
-
mintEvent?: {
|
|
408
|
-
__typename: "MintOptionEvent";
|
|
409
|
-
transactionHash: string;
|
|
410
|
-
} | null;
|
|
411
414
|
}[], Error>>;
|
|
412
415
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
413
416
|
promise: Promise<{
|
|
@@ -440,14 +443,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
440
443
|
__typename: "TimelockMarket";
|
|
441
444
|
address: string;
|
|
442
445
|
} | null;
|
|
443
|
-
exerciseEvents: Array<{
|
|
444
|
-
__typename: "ExerciseOptionEvent";
|
|
445
|
-
transactionHash: string;
|
|
446
|
-
}>;
|
|
447
|
-
mintEvent?: {
|
|
448
|
-
__typename: "MintOptionEvent";
|
|
449
|
-
transactionHash: string;
|
|
450
|
-
} | null;
|
|
451
446
|
}[]>;
|
|
452
447
|
data: {
|
|
453
448
|
optionId: bigint;
|
|
@@ -479,14 +474,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
479
474
|
__typename: "TimelockMarket";
|
|
480
475
|
address: string;
|
|
481
476
|
} | null;
|
|
482
|
-
exerciseEvents: Array<{
|
|
483
|
-
__typename: "ExerciseOptionEvent";
|
|
484
|
-
transactionHash: string;
|
|
485
|
-
}>;
|
|
486
|
-
mintEvent?: {
|
|
487
|
-
__typename: "MintOptionEvent";
|
|
488
|
-
transactionHash: string;
|
|
489
|
-
} | null;
|
|
490
477
|
}[];
|
|
491
478
|
} | {
|
|
492
479
|
error: Error;
|
|
@@ -541,14 +528,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
541
528
|
__typename: "TimelockMarket";
|
|
542
529
|
address: string;
|
|
543
530
|
} | null;
|
|
544
|
-
exerciseEvents: Array<{
|
|
545
|
-
__typename: "ExerciseOptionEvent";
|
|
546
|
-
transactionHash: string;
|
|
547
|
-
}>;
|
|
548
|
-
mintEvent?: {
|
|
549
|
-
__typename: "MintOptionEvent";
|
|
550
|
-
transactionHash: string;
|
|
551
|
-
} | null;
|
|
552
531
|
}[], Error>>;
|
|
553
532
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
554
533
|
promise: Promise<{
|
|
@@ -581,14 +560,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
581
560
|
__typename: "TimelockMarket";
|
|
582
561
|
address: string;
|
|
583
562
|
} | null;
|
|
584
|
-
exerciseEvents: Array<{
|
|
585
|
-
__typename: "ExerciseOptionEvent";
|
|
586
|
-
transactionHash: string;
|
|
587
|
-
}>;
|
|
588
|
-
mintEvent?: {
|
|
589
|
-
__typename: "MintOptionEvent";
|
|
590
|
-
transactionHash: string;
|
|
591
|
-
} | null;
|
|
592
563
|
}[]>;
|
|
593
564
|
data: {
|
|
594
565
|
optionId: bigint;
|
|
@@ -620,14 +591,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
620
591
|
__typename: "TimelockMarket";
|
|
621
592
|
address: string;
|
|
622
593
|
} | null;
|
|
623
|
-
exerciseEvents: Array<{
|
|
624
|
-
__typename: "ExerciseOptionEvent";
|
|
625
|
-
transactionHash: string;
|
|
626
|
-
}>;
|
|
627
|
-
mintEvent?: {
|
|
628
|
-
__typename: "MintOptionEvent";
|
|
629
|
-
transactionHash: string;
|
|
630
|
-
} | null;
|
|
631
594
|
}[];
|
|
632
595
|
} | {
|
|
633
596
|
error: null;
|
|
@@ -682,14 +645,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
682
645
|
__typename: "TimelockMarket";
|
|
683
646
|
address: string;
|
|
684
647
|
} | null;
|
|
685
|
-
exerciseEvents: Array<{
|
|
686
|
-
__typename: "ExerciseOptionEvent";
|
|
687
|
-
transactionHash: string;
|
|
688
|
-
}>;
|
|
689
|
-
mintEvent?: {
|
|
690
|
-
__typename: "MintOptionEvent";
|
|
691
|
-
transactionHash: string;
|
|
692
|
-
} | null;
|
|
693
648
|
}[], Error>>;
|
|
694
649
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
695
650
|
promise: Promise<{
|
|
@@ -722,14 +677,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
722
677
|
__typename: "TimelockMarket";
|
|
723
678
|
address: string;
|
|
724
679
|
} | null;
|
|
725
|
-
exerciseEvents: Array<{
|
|
726
|
-
__typename: "ExerciseOptionEvent";
|
|
727
|
-
transactionHash: string;
|
|
728
|
-
}>;
|
|
729
|
-
mintEvent?: {
|
|
730
|
-
__typename: "MintOptionEvent";
|
|
731
|
-
transactionHash: string;
|
|
732
|
-
} | null;
|
|
733
680
|
}[]>;
|
|
734
681
|
data: {
|
|
735
682
|
optionId: bigint;
|
|
@@ -761,14 +708,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
761
708
|
__typename: "TimelockMarket";
|
|
762
709
|
address: string;
|
|
763
710
|
} | null;
|
|
764
|
-
exerciseEvents: Array<{
|
|
765
|
-
__typename: "ExerciseOptionEvent";
|
|
766
|
-
transactionHash: string;
|
|
767
|
-
}>;
|
|
768
|
-
mintEvent?: {
|
|
769
|
-
__typename: "MintOptionEvent";
|
|
770
|
-
transactionHash: string;
|
|
771
|
-
} | null;
|
|
772
711
|
}[];
|
|
773
712
|
} | {
|
|
774
713
|
error: null;
|
|
@@ -823,14 +762,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
823
762
|
__typename: "TimelockMarket";
|
|
824
763
|
address: string;
|
|
825
764
|
} | null;
|
|
826
|
-
exerciseEvents: Array<{
|
|
827
|
-
__typename: "ExerciseOptionEvent";
|
|
828
|
-
transactionHash: string;
|
|
829
|
-
}>;
|
|
830
|
-
mintEvent?: {
|
|
831
|
-
__typename: "MintOptionEvent";
|
|
832
|
-
transactionHash: string;
|
|
833
|
-
} | null;
|
|
834
765
|
}[], Error>>;
|
|
835
766
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
836
767
|
promise: Promise<{
|
|
@@ -863,14 +794,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
863
794
|
__typename: "TimelockMarket";
|
|
864
795
|
address: string;
|
|
865
796
|
} | null;
|
|
866
|
-
exerciseEvents: Array<{
|
|
867
|
-
__typename: "ExerciseOptionEvent";
|
|
868
|
-
transactionHash: string;
|
|
869
|
-
}>;
|
|
870
|
-
mintEvent?: {
|
|
871
|
-
__typename: "MintOptionEvent";
|
|
872
|
-
transactionHash: string;
|
|
873
|
-
} | null;
|
|
874
797
|
}[]>;
|
|
875
798
|
data: {
|
|
876
799
|
optionId: bigint;
|
|
@@ -902,14 +825,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
902
825
|
__typename: "TimelockMarket";
|
|
903
826
|
address: string;
|
|
904
827
|
} | null;
|
|
905
|
-
exerciseEvents: Array<{
|
|
906
|
-
__typename: "ExerciseOptionEvent";
|
|
907
|
-
transactionHash: string;
|
|
908
|
-
}>;
|
|
909
|
-
mintEvent?: {
|
|
910
|
-
__typename: "MintOptionEvent";
|
|
911
|
-
transactionHash: string;
|
|
912
|
-
} | null;
|
|
913
828
|
}[];
|
|
914
829
|
} | {
|
|
915
830
|
isError: false;
|
|
@@ -964,14 +879,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
964
879
|
__typename: "TimelockMarket";
|
|
965
880
|
address: string;
|
|
966
881
|
} | null;
|
|
967
|
-
exerciseEvents: Array<{
|
|
968
|
-
__typename: "ExerciseOptionEvent";
|
|
969
|
-
transactionHash: string;
|
|
970
|
-
}>;
|
|
971
|
-
mintEvent?: {
|
|
972
|
-
__typename: "MintOptionEvent";
|
|
973
|
-
transactionHash: string;
|
|
974
|
-
} | null;
|
|
975
882
|
}[], Error>>;
|
|
976
883
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
977
884
|
promise: Promise<{
|
|
@@ -1004,14 +911,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
1004
911
|
__typename: "TimelockMarket";
|
|
1005
912
|
address: string;
|
|
1006
913
|
} | null;
|
|
1007
|
-
exerciseEvents: Array<{
|
|
1008
|
-
__typename: "ExerciseOptionEvent";
|
|
1009
|
-
transactionHash: string;
|
|
1010
|
-
}>;
|
|
1011
|
-
mintEvent?: {
|
|
1012
|
-
__typename: "MintOptionEvent";
|
|
1013
|
-
transactionHash: string;
|
|
1014
|
-
} | null;
|
|
1015
914
|
}[]>;
|
|
1016
915
|
data: {
|
|
1017
916
|
optionId: bigint;
|
|
@@ -1043,14 +942,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
1043
942
|
__typename: "TimelockMarket";
|
|
1044
943
|
address: string;
|
|
1045
944
|
} | null;
|
|
1046
|
-
exerciseEvents: Array<{
|
|
1047
|
-
__typename: "ExerciseOptionEvent";
|
|
1048
|
-
transactionHash: string;
|
|
1049
|
-
}>;
|
|
1050
|
-
mintEvent?: {
|
|
1051
|
-
__typename: "MintOptionEvent";
|
|
1052
|
-
transactionHash: string;
|
|
1053
|
-
} | null;
|
|
1054
945
|
}[];
|
|
1055
946
|
};
|
|
1056
947
|
declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address | "*") => {
|
|
@@ -1106,14 +997,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1106
997
|
__typename: "TimelockMarket";
|
|
1107
998
|
address: string;
|
|
1108
999
|
} | null;
|
|
1109
|
-
exerciseEvents: Array<{
|
|
1110
|
-
__typename: "ExerciseOptionEvent";
|
|
1111
|
-
transactionHash: string;
|
|
1112
|
-
}>;
|
|
1113
|
-
mintEvent?: {
|
|
1114
|
-
__typename: "MintOptionEvent";
|
|
1115
|
-
transactionHash: string;
|
|
1116
|
-
} | null;
|
|
1117
1000
|
}[], Error>>;
|
|
1118
1001
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1119
1002
|
promise: Promise<{
|
|
@@ -1146,14 +1029,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1146
1029
|
__typename: "TimelockMarket";
|
|
1147
1030
|
address: string;
|
|
1148
1031
|
} | null;
|
|
1149
|
-
exerciseEvents: Array<{
|
|
1150
|
-
__typename: "ExerciseOptionEvent";
|
|
1151
|
-
transactionHash: string;
|
|
1152
|
-
}>;
|
|
1153
|
-
mintEvent?: {
|
|
1154
|
-
__typename: "MintOptionEvent";
|
|
1155
|
-
transactionHash: string;
|
|
1156
|
-
} | null;
|
|
1157
1032
|
}[]>;
|
|
1158
1033
|
data: {
|
|
1159
1034
|
optionId: bigint;
|
|
@@ -1185,14 +1060,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1185
1060
|
__typename: "TimelockMarket";
|
|
1186
1061
|
address: string;
|
|
1187
1062
|
} | null;
|
|
1188
|
-
exerciseEvents: Array<{
|
|
1189
|
-
__typename: "ExerciseOptionEvent";
|
|
1190
|
-
transactionHash: string;
|
|
1191
|
-
}>;
|
|
1192
|
-
mintEvent?: {
|
|
1193
|
-
__typename: "MintOptionEvent";
|
|
1194
|
-
transactionHash: string;
|
|
1195
|
-
} | null;
|
|
1196
1063
|
}[];
|
|
1197
1064
|
} | {
|
|
1198
1065
|
error: null;
|
|
@@ -1247,14 +1114,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1247
1114
|
__typename: "TimelockMarket";
|
|
1248
1115
|
address: string;
|
|
1249
1116
|
} | null;
|
|
1250
|
-
exerciseEvents: Array<{
|
|
1251
|
-
__typename: "ExerciseOptionEvent";
|
|
1252
|
-
transactionHash: string;
|
|
1253
|
-
}>;
|
|
1254
|
-
mintEvent?: {
|
|
1255
|
-
__typename: "MintOptionEvent";
|
|
1256
|
-
transactionHash: string;
|
|
1257
|
-
} | null;
|
|
1258
1117
|
}[], Error>>;
|
|
1259
1118
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1260
1119
|
promise: Promise<{
|
|
@@ -1287,14 +1146,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1287
1146
|
__typename: "TimelockMarket";
|
|
1288
1147
|
address: string;
|
|
1289
1148
|
} | null;
|
|
1290
|
-
exerciseEvents: Array<{
|
|
1291
|
-
__typename: "ExerciseOptionEvent";
|
|
1292
|
-
transactionHash: string;
|
|
1293
|
-
}>;
|
|
1294
|
-
mintEvent?: {
|
|
1295
|
-
__typename: "MintOptionEvent";
|
|
1296
|
-
transactionHash: string;
|
|
1297
|
-
} | null;
|
|
1298
1149
|
}[]>;
|
|
1299
1150
|
data: {
|
|
1300
1151
|
optionId: bigint;
|
|
@@ -1326,14 +1177,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1326
1177
|
__typename: "TimelockMarket";
|
|
1327
1178
|
address: string;
|
|
1328
1179
|
} | null;
|
|
1329
|
-
exerciseEvents: Array<{
|
|
1330
|
-
__typename: "ExerciseOptionEvent";
|
|
1331
|
-
transactionHash: string;
|
|
1332
|
-
}>;
|
|
1333
|
-
mintEvent?: {
|
|
1334
|
-
__typename: "MintOptionEvent";
|
|
1335
|
-
transactionHash: string;
|
|
1336
|
-
} | null;
|
|
1337
1180
|
}[];
|
|
1338
1181
|
} | {
|
|
1339
1182
|
error: Error;
|
|
@@ -1388,14 +1231,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1388
1231
|
__typename: "TimelockMarket";
|
|
1389
1232
|
address: string;
|
|
1390
1233
|
} | null;
|
|
1391
|
-
exerciseEvents: Array<{
|
|
1392
|
-
__typename: "ExerciseOptionEvent";
|
|
1393
|
-
transactionHash: string;
|
|
1394
|
-
}>;
|
|
1395
|
-
mintEvent?: {
|
|
1396
|
-
__typename: "MintOptionEvent";
|
|
1397
|
-
transactionHash: string;
|
|
1398
|
-
} | null;
|
|
1399
1234
|
}[], Error>>;
|
|
1400
1235
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1401
1236
|
promise: Promise<{
|
|
@@ -1428,14 +1263,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1428
1263
|
__typename: "TimelockMarket";
|
|
1429
1264
|
address: string;
|
|
1430
1265
|
} | null;
|
|
1431
|
-
exerciseEvents: Array<{
|
|
1432
|
-
__typename: "ExerciseOptionEvent";
|
|
1433
|
-
transactionHash: string;
|
|
1434
|
-
}>;
|
|
1435
|
-
mintEvent?: {
|
|
1436
|
-
__typename: "MintOptionEvent";
|
|
1437
|
-
transactionHash: string;
|
|
1438
|
-
} | null;
|
|
1439
1266
|
}[]>;
|
|
1440
1267
|
data: {
|
|
1441
1268
|
optionId: bigint;
|
|
@@ -1467,14 +1294,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1467
1294
|
__typename: "TimelockMarket";
|
|
1468
1295
|
address: string;
|
|
1469
1296
|
} | null;
|
|
1470
|
-
exerciseEvents: Array<{
|
|
1471
|
-
__typename: "ExerciseOptionEvent";
|
|
1472
|
-
transactionHash: string;
|
|
1473
|
-
}>;
|
|
1474
|
-
mintEvent?: {
|
|
1475
|
-
__typename: "MintOptionEvent";
|
|
1476
|
-
transactionHash: string;
|
|
1477
|
-
} | null;
|
|
1478
1297
|
}[];
|
|
1479
1298
|
} | {
|
|
1480
1299
|
error: null;
|
|
@@ -1529,14 +1348,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1529
1348
|
__typename: "TimelockMarket";
|
|
1530
1349
|
address: string;
|
|
1531
1350
|
} | null;
|
|
1532
|
-
exerciseEvents: Array<{
|
|
1533
|
-
__typename: "ExerciseOptionEvent";
|
|
1534
|
-
transactionHash: string;
|
|
1535
|
-
}>;
|
|
1536
|
-
mintEvent?: {
|
|
1537
|
-
__typename: "MintOptionEvent";
|
|
1538
|
-
transactionHash: string;
|
|
1539
|
-
} | null;
|
|
1540
1351
|
}[], Error>>;
|
|
1541
1352
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1542
1353
|
promise: Promise<{
|
|
@@ -1569,14 +1380,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1569
1380
|
__typename: "TimelockMarket";
|
|
1570
1381
|
address: string;
|
|
1571
1382
|
} | null;
|
|
1572
|
-
exerciseEvents: Array<{
|
|
1573
|
-
__typename: "ExerciseOptionEvent";
|
|
1574
|
-
transactionHash: string;
|
|
1575
|
-
}>;
|
|
1576
|
-
mintEvent?: {
|
|
1577
|
-
__typename: "MintOptionEvent";
|
|
1578
|
-
transactionHash: string;
|
|
1579
|
-
} | null;
|
|
1580
1383
|
}[]>;
|
|
1581
1384
|
data: {
|
|
1582
1385
|
optionId: bigint;
|
|
@@ -1608,14 +1411,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1608
1411
|
__typename: "TimelockMarket";
|
|
1609
1412
|
address: string;
|
|
1610
1413
|
} | null;
|
|
1611
|
-
exerciseEvents: Array<{
|
|
1612
|
-
__typename: "ExerciseOptionEvent";
|
|
1613
|
-
transactionHash: string;
|
|
1614
|
-
}>;
|
|
1615
|
-
mintEvent?: {
|
|
1616
|
-
__typename: "MintOptionEvent";
|
|
1617
|
-
transactionHash: string;
|
|
1618
|
-
} | null;
|
|
1619
1414
|
}[];
|
|
1620
1415
|
} | {
|
|
1621
1416
|
error: null;
|
|
@@ -1670,14 +1465,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1670
1465
|
__typename: "TimelockMarket";
|
|
1671
1466
|
address: string;
|
|
1672
1467
|
} | null;
|
|
1673
|
-
exerciseEvents: Array<{
|
|
1674
|
-
__typename: "ExerciseOptionEvent";
|
|
1675
|
-
transactionHash: string;
|
|
1676
|
-
}>;
|
|
1677
|
-
mintEvent?: {
|
|
1678
|
-
__typename: "MintOptionEvent";
|
|
1679
|
-
transactionHash: string;
|
|
1680
|
-
} | null;
|
|
1681
1468
|
}[], Error>>;
|
|
1682
1469
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1683
1470
|
promise: Promise<{
|
|
@@ -1710,14 +1497,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1710
1497
|
__typename: "TimelockMarket";
|
|
1711
1498
|
address: string;
|
|
1712
1499
|
} | null;
|
|
1713
|
-
exerciseEvents: Array<{
|
|
1714
|
-
__typename: "ExerciseOptionEvent";
|
|
1715
|
-
transactionHash: string;
|
|
1716
|
-
}>;
|
|
1717
|
-
mintEvent?: {
|
|
1718
|
-
__typename: "MintOptionEvent";
|
|
1719
|
-
transactionHash: string;
|
|
1720
|
-
} | null;
|
|
1721
1500
|
}[]>;
|
|
1722
1501
|
data: {
|
|
1723
1502
|
optionId: bigint;
|
|
@@ -1749,14 +1528,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1749
1528
|
__typename: "TimelockMarket";
|
|
1750
1529
|
address: string;
|
|
1751
1530
|
} | null;
|
|
1752
|
-
exerciseEvents: Array<{
|
|
1753
|
-
__typename: "ExerciseOptionEvent";
|
|
1754
|
-
transactionHash: string;
|
|
1755
|
-
}>;
|
|
1756
|
-
mintEvent?: {
|
|
1757
|
-
__typename: "MintOptionEvent";
|
|
1758
|
-
transactionHash: string;
|
|
1759
|
-
} | null;
|
|
1760
1531
|
}[];
|
|
1761
1532
|
} | {
|
|
1762
1533
|
isError: false;
|
|
@@ -1811,14 +1582,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1811
1582
|
__typename: "TimelockMarket";
|
|
1812
1583
|
address: string;
|
|
1813
1584
|
} | null;
|
|
1814
|
-
exerciseEvents: Array<{
|
|
1815
|
-
__typename: "ExerciseOptionEvent";
|
|
1816
|
-
transactionHash: string;
|
|
1817
|
-
}>;
|
|
1818
|
-
mintEvent?: {
|
|
1819
|
-
__typename: "MintOptionEvent";
|
|
1820
|
-
transactionHash: string;
|
|
1821
|
-
} | null;
|
|
1822
1585
|
}[], Error>>;
|
|
1823
1586
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1824
1587
|
promise: Promise<{
|
|
@@ -1851,14 +1614,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1851
1614
|
__typename: "TimelockMarket";
|
|
1852
1615
|
address: string;
|
|
1853
1616
|
} | null;
|
|
1854
|
-
exerciseEvents: Array<{
|
|
1855
|
-
__typename: "ExerciseOptionEvent";
|
|
1856
|
-
transactionHash: string;
|
|
1857
|
-
}>;
|
|
1858
|
-
mintEvent?: {
|
|
1859
|
-
__typename: "MintOptionEvent";
|
|
1860
|
-
transactionHash: string;
|
|
1861
|
-
} | null;
|
|
1862
1617
|
}[]>;
|
|
1863
1618
|
data: {
|
|
1864
1619
|
optionId: bigint;
|
|
@@ -1890,14 +1645,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1890
1645
|
__typename: "TimelockMarket";
|
|
1891
1646
|
address: string;
|
|
1892
1647
|
} | null;
|
|
1893
|
-
exerciseEvents: Array<{
|
|
1894
|
-
__typename: "ExerciseOptionEvent";
|
|
1895
|
-
transactionHash: string;
|
|
1896
|
-
}>;
|
|
1897
|
-
mintEvent?: {
|
|
1898
|
-
__typename: "MintOptionEvent";
|
|
1899
|
-
transactionHash: string;
|
|
1900
|
-
} | null;
|
|
1901
1648
|
}[];
|
|
1902
1649
|
};
|
|
1903
1650
|
declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address | "*") => {
|
|
@@ -1953,14 +1700,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1953
1700
|
__typename: "TimelockMarket";
|
|
1954
1701
|
address: string;
|
|
1955
1702
|
} | null;
|
|
1956
|
-
exerciseEvents: Array<{
|
|
1957
|
-
__typename: "ExerciseOptionEvent";
|
|
1958
|
-
transactionHash: string;
|
|
1959
|
-
}>;
|
|
1960
|
-
mintEvent?: {
|
|
1961
|
-
__typename: "MintOptionEvent";
|
|
1962
|
-
transactionHash: string;
|
|
1963
|
-
} | null;
|
|
1964
1703
|
}[], Error>>;
|
|
1965
1704
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1966
1705
|
promise: Promise<{
|
|
@@ -1993,14 +1732,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1993
1732
|
__typename: "TimelockMarket";
|
|
1994
1733
|
address: string;
|
|
1995
1734
|
} | null;
|
|
1996
|
-
exerciseEvents: Array<{
|
|
1997
|
-
__typename: "ExerciseOptionEvent";
|
|
1998
|
-
transactionHash: string;
|
|
1999
|
-
}>;
|
|
2000
|
-
mintEvent?: {
|
|
2001
|
-
__typename: "MintOptionEvent";
|
|
2002
|
-
transactionHash: string;
|
|
2003
|
-
} | null;
|
|
2004
1735
|
}[]>;
|
|
2005
1736
|
data: {
|
|
2006
1737
|
optionId: bigint;
|
|
@@ -2032,14 +1763,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
2032
1763
|
__typename: "TimelockMarket";
|
|
2033
1764
|
address: string;
|
|
2034
1765
|
} | null;
|
|
2035
|
-
exerciseEvents: Array<{
|
|
2036
|
-
__typename: "ExerciseOptionEvent";
|
|
2037
|
-
transactionHash: string;
|
|
2038
|
-
}>;
|
|
2039
|
-
mintEvent?: {
|
|
2040
|
-
__typename: "MintOptionEvent";
|
|
2041
|
-
transactionHash: string;
|
|
2042
|
-
} | null;
|
|
2043
1766
|
}[];
|
|
2044
1767
|
} | {
|
|
2045
1768
|
error: null;
|
|
@@ -2094,14 +1817,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
2094
1817
|
__typename: "TimelockMarket";
|
|
2095
1818
|
address: string;
|
|
2096
1819
|
} | null;
|
|
2097
|
-
exerciseEvents: Array<{
|
|
2098
|
-
__typename: "ExerciseOptionEvent";
|
|
2099
|
-
transactionHash: string;
|
|
2100
|
-
}>;
|
|
2101
|
-
mintEvent?: {
|
|
2102
|
-
__typename: "MintOptionEvent";
|
|
2103
|
-
transactionHash: string;
|
|
2104
|
-
} | null;
|
|
2105
1820
|
}[], Error>>;
|
|
2106
1821
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2107
1822
|
promise: Promise<{
|
|
@@ -2134,14 +1849,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
2134
1849
|
__typename: "TimelockMarket";
|
|
2135
1850
|
address: string;
|
|
2136
1851
|
} | null;
|
|
2137
|
-
exerciseEvents: Array<{
|
|
2138
|
-
__typename: "ExerciseOptionEvent";
|
|
2139
|
-
transactionHash: string;
|
|
2140
|
-
}>;
|
|
2141
|
-
mintEvent?: {
|
|
2142
|
-
__typename: "MintOptionEvent";
|
|
2143
|
-
transactionHash: string;
|
|
2144
|
-
} | null;
|
|
2145
1852
|
}[]>;
|
|
2146
1853
|
data: {
|
|
2147
1854
|
optionId: bigint;
|
|
@@ -2173,14 +1880,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
2173
1880
|
__typename: "TimelockMarket";
|
|
2174
1881
|
address: string;
|
|
2175
1882
|
} | null;
|
|
2176
|
-
exerciseEvents: Array<{
|
|
2177
|
-
__typename: "ExerciseOptionEvent";
|
|
2178
|
-
transactionHash: string;
|
|
2179
|
-
}>;
|
|
2180
|
-
mintEvent?: {
|
|
2181
|
-
__typename: "MintOptionEvent";
|
|
2182
|
-
transactionHash: string;
|
|
2183
|
-
} | null;
|
|
2184
1883
|
}[];
|
|
2185
1884
|
} | {
|
|
2186
1885
|
error: Error;
|
|
@@ -2235,14 +1934,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
2235
1934
|
__typename: "TimelockMarket";
|
|
2236
1935
|
address: string;
|
|
2237
1936
|
} | null;
|
|
2238
|
-
exerciseEvents: Array<{
|
|
2239
|
-
__typename: "ExerciseOptionEvent";
|
|
2240
|
-
transactionHash: string;
|
|
2241
|
-
}>;
|
|
2242
|
-
mintEvent?: {
|
|
2243
|
-
__typename: "MintOptionEvent";
|
|
2244
|
-
transactionHash: string;
|
|
2245
|
-
} | null;
|
|
2246
1937
|
}[], Error>>;
|
|
2247
1938
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2248
1939
|
promise: Promise<{
|
|
@@ -2275,14 +1966,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
2275
1966
|
__typename: "TimelockMarket";
|
|
2276
1967
|
address: string;
|
|
2277
1968
|
} | null;
|
|
2278
|
-
exerciseEvents: Array<{
|
|
2279
|
-
__typename: "ExerciseOptionEvent";
|
|
2280
|
-
transactionHash: string;
|
|
2281
|
-
}>;
|
|
2282
|
-
mintEvent?: {
|
|
2283
|
-
__typename: "MintOptionEvent";
|
|
2284
|
-
transactionHash: string;
|
|
2285
|
-
} | null;
|
|
2286
1969
|
}[]>;
|
|
2287
1970
|
data: {
|
|
2288
1971
|
optionId: bigint;
|
|
@@ -2314,14 +1997,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
2314
1997
|
__typename: "TimelockMarket";
|
|
2315
1998
|
address: string;
|
|
2316
1999
|
} | null;
|
|
2317
|
-
exerciseEvents: Array<{
|
|
2318
|
-
__typename: "ExerciseOptionEvent";
|
|
2319
|
-
transactionHash: string;
|
|
2320
|
-
}>;
|
|
2321
|
-
mintEvent?: {
|
|
2322
|
-
__typename: "MintOptionEvent";
|
|
2323
|
-
transactionHash: string;
|
|
2324
|
-
} | null;
|
|
2325
2000
|
}[];
|
|
2326
2001
|
} | {
|
|
2327
2002
|
error: null;
|
|
@@ -2376,14 +2051,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
2376
2051
|
__typename: "TimelockMarket";
|
|
2377
2052
|
address: string;
|
|
2378
2053
|
} | null;
|
|
2379
|
-
exerciseEvents: Array<{
|
|
2380
|
-
__typename: "ExerciseOptionEvent";
|
|
2381
|
-
transactionHash: string;
|
|
2382
|
-
}>;
|
|
2383
|
-
mintEvent?: {
|
|
2384
|
-
__typename: "MintOptionEvent";
|
|
2385
|
-
transactionHash: string;
|
|
2386
|
-
} | null;
|
|
2387
2054
|
}[], Error>>;
|
|
2388
2055
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2389
2056
|
promise: Promise<{
|
|
@@ -2416,14 +2083,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
2416
2083
|
__typename: "TimelockMarket";
|
|
2417
2084
|
address: string;
|
|
2418
2085
|
} | null;
|
|
2419
|
-
exerciseEvents: Array<{
|
|
2420
|
-
__typename: "ExerciseOptionEvent";
|
|
2421
|
-
transactionHash: string;
|
|
2422
|
-
}>;
|
|
2423
|
-
mintEvent?: {
|
|
2424
|
-
__typename: "MintOptionEvent";
|
|
2425
|
-
transactionHash: string;
|
|
2426
|
-
} | null;
|
|
2427
2086
|
}[]>;
|
|
2428
2087
|
data: {
|
|
2429
2088
|
optionId: bigint;
|
|
@@ -2455,14 +2114,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
2455
2114
|
__typename: "TimelockMarket";
|
|
2456
2115
|
address: string;
|
|
2457
2116
|
} | null;
|
|
2458
|
-
exerciseEvents: Array<{
|
|
2459
|
-
__typename: "ExerciseOptionEvent";
|
|
2460
|
-
transactionHash: string;
|
|
2461
|
-
}>;
|
|
2462
|
-
mintEvent?: {
|
|
2463
|
-
__typename: "MintOptionEvent";
|
|
2464
|
-
transactionHash: string;
|
|
2465
|
-
} | null;
|
|
2466
2117
|
}[];
|
|
2467
2118
|
} | {
|
|
2468
2119
|
error: null;
|
|
@@ -2517,14 +2168,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
2517
2168
|
__typename: "TimelockMarket";
|
|
2518
2169
|
address: string;
|
|
2519
2170
|
} | null;
|
|
2520
|
-
exerciseEvents: Array<{
|
|
2521
|
-
__typename: "ExerciseOptionEvent";
|
|
2522
|
-
transactionHash: string;
|
|
2523
|
-
}>;
|
|
2524
|
-
mintEvent?: {
|
|
2525
|
-
__typename: "MintOptionEvent";
|
|
2526
|
-
transactionHash: string;
|
|
2527
|
-
} | null;
|
|
2528
2171
|
}[], Error>>;
|
|
2529
2172
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2530
2173
|
promise: Promise<{
|
|
@@ -2557,14 +2200,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
2557
2200
|
__typename: "TimelockMarket";
|
|
2558
2201
|
address: string;
|
|
2559
2202
|
} | null;
|
|
2560
|
-
exerciseEvents: Array<{
|
|
2561
|
-
__typename: "ExerciseOptionEvent";
|
|
2562
|
-
transactionHash: string;
|
|
2563
|
-
}>;
|
|
2564
|
-
mintEvent?: {
|
|
2565
|
-
__typename: "MintOptionEvent";
|
|
2566
|
-
transactionHash: string;
|
|
2567
|
-
} | null;
|
|
2568
2203
|
}[]>;
|
|
2569
2204
|
data: {
|
|
2570
2205
|
optionId: bigint;
|
|
@@ -2596,14 +2231,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
2596
2231
|
__typename: "TimelockMarket";
|
|
2597
2232
|
address: string;
|
|
2598
2233
|
} | null;
|
|
2599
|
-
exerciseEvents: Array<{
|
|
2600
|
-
__typename: "ExerciseOptionEvent";
|
|
2601
|
-
transactionHash: string;
|
|
2602
|
-
}>;
|
|
2603
|
-
mintEvent?: {
|
|
2604
|
-
__typename: "MintOptionEvent";
|
|
2605
|
-
transactionHash: string;
|
|
2606
|
-
} | null;
|
|
2607
2234
|
}[];
|
|
2608
2235
|
} | {
|
|
2609
2236
|
isError: false;
|
|
@@ -2658,14 +2285,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
2658
2285
|
__typename: "TimelockMarket";
|
|
2659
2286
|
address: string;
|
|
2660
2287
|
} | null;
|
|
2661
|
-
exerciseEvents: Array<{
|
|
2662
|
-
__typename: "ExerciseOptionEvent";
|
|
2663
|
-
transactionHash: string;
|
|
2664
|
-
}>;
|
|
2665
|
-
mintEvent?: {
|
|
2666
|
-
__typename: "MintOptionEvent";
|
|
2667
|
-
transactionHash: string;
|
|
2668
|
-
} | null;
|
|
2669
2288
|
}[], Error>>;
|
|
2670
2289
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2671
2290
|
promise: Promise<{
|
|
@@ -2698,14 +2317,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
2698
2317
|
__typename: "TimelockMarket";
|
|
2699
2318
|
address: string;
|
|
2700
2319
|
} | null;
|
|
2701
|
-
exerciseEvents: Array<{
|
|
2702
|
-
__typename: "ExerciseOptionEvent";
|
|
2703
|
-
transactionHash: string;
|
|
2704
|
-
}>;
|
|
2705
|
-
mintEvent?: {
|
|
2706
|
-
__typename: "MintOptionEvent";
|
|
2707
|
-
transactionHash: string;
|
|
2708
|
-
} | null;
|
|
2709
2320
|
}[]>;
|
|
2710
2321
|
data: {
|
|
2711
2322
|
optionId: bigint;
|
|
@@ -2737,19 +2348,11 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
2737
2348
|
__typename: "TimelockMarket";
|
|
2738
2349
|
address: string;
|
|
2739
2350
|
} | null;
|
|
2740
|
-
exerciseEvents: Array<{
|
|
2741
|
-
__typename: "ExerciseOptionEvent";
|
|
2742
|
-
transactionHash: string;
|
|
2743
|
-
}>;
|
|
2744
|
-
mintEvent?: {
|
|
2745
|
-
__typename: "MintOptionEvent";
|
|
2746
|
-
transactionHash: string;
|
|
2747
|
-
} | null;
|
|
2748
2351
|
}[];
|
|
2749
2352
|
};
|
|
2750
2353
|
//#endregion
|
|
2751
2354
|
//#region src/hooks/market/useExerciseOption.d.ts
|
|
2752
|
-
declare const useExerciseOption: (marketAddr?: Address) =>
|
|
2355
|
+
declare const useExerciseOption: (marketAddr?: Address) => _tanstack_react_query2.UseMutationResult<`0x${string}`, Error, {
|
|
2753
2356
|
option: OptionData;
|
|
2754
2357
|
liquidities: readonly bigint[];
|
|
2755
2358
|
}, unknown>;
|
|
@@ -2783,7 +2386,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
2783
2386
|
};
|
|
2784
2387
|
//#endregion
|
|
2785
2388
|
//#region src/hooks/market/useMintOption.d.ts
|
|
2786
|
-
declare const useMintOption: (marketAddr?: Address) =>
|
|
2389
|
+
declare const useMintOption: (marketAddr?: Address) => _tanstack_react_query2.UseMutationResult<`0x${string}`, Error, {
|
|
2787
2390
|
optionType: "CALL" | "PUT";
|
|
2788
2391
|
amount: bigint;
|
|
2789
2392
|
duration: number;
|
|
@@ -2808,7 +2411,7 @@ declare const useOptionPremium: (marketAddr: Address | undefined, optionType: "C
|
|
|
2808
2411
|
};
|
|
2809
2412
|
//#endregion
|
|
2810
2413
|
//#region src/hooks/market/useExtendOption.d.ts
|
|
2811
|
-
declare const useExtendOption: (marketAddr?: Address) =>
|
|
2414
|
+
declare const useExtendOption: (marketAddr?: Address) => _tanstack_react_query2.UseMutationResult<`0x${string}`, Error, {
|
|
2812
2415
|
option: OptionData;
|
|
2813
2416
|
duration: number;
|
|
2814
2417
|
}, unknown>;
|
|
@@ -3213,7 +2816,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3213
2816
|
};
|
|
3214
2817
|
//#endregion
|
|
3215
2818
|
//#region src/hooks/market/useSetOperatorPerms.d.ts
|
|
3216
|
-
declare const useSetOperatorPerms: (marketAddr?: Address) =>
|
|
2819
|
+
declare const useSetOperatorPerms: (marketAddr?: Address) => _tanstack_react_query2.UseMutationResult<`0x${string}`, Error, {
|
|
3217
2820
|
operator: Address;
|
|
3218
2821
|
canExtend: boolean;
|
|
3219
2822
|
canExercise: boolean;
|
|
@@ -3264,7 +2867,7 @@ interface PriceDataPoint {
|
|
|
3264
2867
|
type PriceResolution = '1m' | '5m' | '15m' | '1h' | '4h' | '1d';
|
|
3265
2868
|
//#endregion
|
|
3266
2869
|
//#region src/hooks/pool/usePriceHistory.d.ts
|
|
3267
|
-
declare const usePriceHistory: (pool: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) =>
|
|
2870
|
+
declare const usePriceHistory: (pool: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query2.UseQueryResult<PriceDataPoint[], Error>;
|
|
3268
2871
|
//#endregion
|
|
3269
2872
|
//#region src/hooks/vault/useBurnLiquidity.d.ts
|
|
3270
2873
|
interface BurnPosition {
|
|
@@ -3279,14 +2882,14 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
3279
2882
|
isPending: boolean;
|
|
3280
2883
|
isConfirming: boolean;
|
|
3281
2884
|
isSuccess: boolean;
|
|
3282
|
-
error:
|
|
2885
|
+
error: _wagmi_core1.WriteContractErrorType | null;
|
|
3283
2886
|
isLoading: boolean;
|
|
3284
2887
|
};
|
|
3285
2888
|
//#endregion
|
|
3286
2889
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
3287
2890
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
3288
2891
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
3289
|
-
error:
|
|
2892
|
+
error: viem117.ReadContractErrorType;
|
|
3290
2893
|
isError: true;
|
|
3291
2894
|
isPending: false;
|
|
3292
2895
|
isLoading: false;
|
|
@@ -3298,7 +2901,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3298
2901
|
dataUpdatedAt: number;
|
|
3299
2902
|
errorUpdatedAt: number;
|
|
3300
2903
|
failureCount: number;
|
|
3301
|
-
failureReason:
|
|
2904
|
+
failureReason: viem117.ReadContractErrorType | null;
|
|
3302
2905
|
errorUpdateCount: number;
|
|
3303
2906
|
isFetched: boolean;
|
|
3304
2907
|
isFetchedAfterMount: boolean;
|
|
@@ -3318,7 +2921,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3318
2921
|
totalAmount1: bigint;
|
|
3319
2922
|
borrowedAmount0: bigint;
|
|
3320
2923
|
borrowedAmount1: bigint;
|
|
3321
|
-
}[],
|
|
2924
|
+
}[], viem117.ReadContractErrorType>>;
|
|
3322
2925
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3323
2926
|
promise: Promise<readonly {
|
|
3324
2927
|
tickLower: number;
|
|
@@ -3356,7 +2959,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3356
2959
|
dataUpdatedAt: number;
|
|
3357
2960
|
errorUpdatedAt: number;
|
|
3358
2961
|
failureCount: number;
|
|
3359
|
-
failureReason:
|
|
2962
|
+
failureReason: viem117.ReadContractErrorType | null;
|
|
3360
2963
|
errorUpdateCount: number;
|
|
3361
2964
|
isFetched: boolean;
|
|
3362
2965
|
isFetchedAfterMount: boolean;
|
|
@@ -3376,7 +2979,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3376
2979
|
totalAmount1: bigint;
|
|
3377
2980
|
borrowedAmount0: bigint;
|
|
3378
2981
|
borrowedAmount1: bigint;
|
|
3379
|
-
}[],
|
|
2982
|
+
}[], viem117.ReadContractErrorType>>;
|
|
3380
2983
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3381
2984
|
promise: Promise<readonly {
|
|
3382
2985
|
tickLower: number;
|
|
@@ -3402,7 +3005,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3402
3005
|
borrowedAmount1: bigint;
|
|
3403
3006
|
}[];
|
|
3404
3007
|
} | {
|
|
3405
|
-
error:
|
|
3008
|
+
error: viem117.ReadContractErrorType;
|
|
3406
3009
|
isError: true;
|
|
3407
3010
|
isPending: false;
|
|
3408
3011
|
isLoading: false;
|
|
@@ -3414,7 +3017,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3414
3017
|
dataUpdatedAt: number;
|
|
3415
3018
|
errorUpdatedAt: number;
|
|
3416
3019
|
failureCount: number;
|
|
3417
|
-
failureReason:
|
|
3020
|
+
failureReason: viem117.ReadContractErrorType | null;
|
|
3418
3021
|
errorUpdateCount: number;
|
|
3419
3022
|
isFetched: boolean;
|
|
3420
3023
|
isFetchedAfterMount: boolean;
|
|
@@ -3434,7 +3037,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3434
3037
|
totalAmount1: bigint;
|
|
3435
3038
|
borrowedAmount0: bigint;
|
|
3436
3039
|
borrowedAmount1: bigint;
|
|
3437
|
-
}[],
|
|
3040
|
+
}[], viem117.ReadContractErrorType>>;
|
|
3438
3041
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3439
3042
|
promise: Promise<readonly {
|
|
3440
3043
|
tickLower: number;
|
|
@@ -3472,7 +3075,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3472
3075
|
dataUpdatedAt: number;
|
|
3473
3076
|
errorUpdatedAt: number;
|
|
3474
3077
|
failureCount: number;
|
|
3475
|
-
failureReason:
|
|
3078
|
+
failureReason: viem117.ReadContractErrorType | null;
|
|
3476
3079
|
errorUpdateCount: number;
|
|
3477
3080
|
isFetched: boolean;
|
|
3478
3081
|
isFetchedAfterMount: boolean;
|
|
@@ -3492,7 +3095,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3492
3095
|
totalAmount1: bigint;
|
|
3493
3096
|
borrowedAmount0: bigint;
|
|
3494
3097
|
borrowedAmount1: bigint;
|
|
3495
|
-
}[],
|
|
3098
|
+
}[], viem117.ReadContractErrorType>>;
|
|
3496
3099
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3497
3100
|
promise: Promise<readonly {
|
|
3498
3101
|
tickLower: number;
|
|
@@ -3529,7 +3132,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3529
3132
|
dataUpdatedAt: number;
|
|
3530
3133
|
errorUpdatedAt: number;
|
|
3531
3134
|
failureCount: number;
|
|
3532
|
-
failureReason:
|
|
3135
|
+
failureReason: viem117.ReadContractErrorType | null;
|
|
3533
3136
|
errorUpdateCount: number;
|
|
3534
3137
|
isFetched: boolean;
|
|
3535
3138
|
isFetchedAfterMount: boolean;
|
|
@@ -3550,7 +3153,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3550
3153
|
totalAmount1: bigint;
|
|
3551
3154
|
borrowedAmount0: bigint;
|
|
3552
3155
|
borrowedAmount1: bigint;
|
|
3553
|
-
}[],
|
|
3156
|
+
}[], viem117.ReadContractErrorType>>;
|
|
3554
3157
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3555
3158
|
promise: Promise<readonly {
|
|
3556
3159
|
tickLower: number;
|
|
@@ -3588,7 +3191,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3588
3191
|
dataUpdatedAt: number;
|
|
3589
3192
|
errorUpdatedAt: number;
|
|
3590
3193
|
failureCount: number;
|
|
3591
|
-
failureReason:
|
|
3194
|
+
failureReason: viem117.ReadContractErrorType | null;
|
|
3592
3195
|
errorUpdateCount: number;
|
|
3593
3196
|
isFetched: boolean;
|
|
3594
3197
|
isFetchedAfterMount: boolean;
|
|
@@ -3608,7 +3211,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3608
3211
|
totalAmount1: bigint;
|
|
3609
3212
|
borrowedAmount0: bigint;
|
|
3610
3213
|
borrowedAmount1: bigint;
|
|
3611
|
-
}[],
|
|
3214
|
+
}[], viem117.ReadContractErrorType>>;
|
|
3612
3215
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3613
3216
|
promise: Promise<readonly {
|
|
3614
3217
|
tickLower: number;
|
|
@@ -3654,7 +3257,7 @@ declare const useMintLiquidity: (vaultAddr?: Address) => {
|
|
|
3654
3257
|
isPending: boolean;
|
|
3655
3258
|
isConfirming: boolean;
|
|
3656
3259
|
isSuccess: boolean;
|
|
3657
|
-
error:
|
|
3260
|
+
error: _wagmi_core1.WriteContractErrorType | null;
|
|
3658
3261
|
isLoading: boolean;
|
|
3659
3262
|
};
|
|
3660
3263
|
//#endregion
|
|
@@ -3681,14 +3284,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
3681
3284
|
borrowedAmount0: Amount;
|
|
3682
3285
|
borrowedAmount1: Amount;
|
|
3683
3286
|
blocksCount: bigint;
|
|
3684
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint],
|
|
3287
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem117.ReadContractErrorType>>;
|
|
3685
3288
|
};
|
|
3686
3289
|
//#endregion
|
|
3687
3290
|
//#region src/hooks/useLens.d.ts
|
|
3688
3291
|
declare const useLens: () => {
|
|
3689
3292
|
timelockLens: {
|
|
3690
3293
|
read: {
|
|
3691
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
3294
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
3692
3295
|
readonly type: "function";
|
|
3693
3296
|
readonly name: "batchGetRefTick";
|
|
3694
3297
|
readonly inputs: readonly [{
|
|
@@ -4362,7 +3965,7 @@ declare const useLens: () => {
|
|
|
4362
3965
|
}];
|
|
4363
3966
|
readonly stateMutability: "view";
|
|
4364
3967
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
4365
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
3968
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
4366
3969
|
readonly type: "function";
|
|
4367
3970
|
readonly name: "batchGetRefTick";
|
|
4368
3971
|
readonly inputs: readonly [{
|
|
@@ -5046,7 +4649,7 @@ declare const useLens: () => {
|
|
|
5046
4649
|
borrowedAmount0: bigint;
|
|
5047
4650
|
borrowedAmount1: bigint;
|
|
5048
4651
|
}[]>;
|
|
5049
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
4652
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
5050
4653
|
readonly type: "function";
|
|
5051
4654
|
readonly name: "batchGetRefTick";
|
|
5052
4655
|
readonly inputs: readonly [{
|
|
@@ -5737,7 +5340,7 @@ declare const useLens: () => {
|
|
|
5737
5340
|
expiresAt: number;
|
|
5738
5341
|
liquidities: readonly bigint[];
|
|
5739
5342
|
}[], bigint, boolean]>;
|
|
5740
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
5343
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
5741
5344
|
readonly type: "function";
|
|
5742
5345
|
readonly name: "batchGetRefTick";
|
|
5743
5346
|
readonly inputs: readonly [{
|
|
@@ -6411,7 +6014,7 @@ declare const useLens: () => {
|
|
|
6411
6014
|
}];
|
|
6412
6015
|
readonly stateMutability: "view";
|
|
6413
6016
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
6414
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
6017
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
6415
6018
|
readonly type: "function";
|
|
6416
6019
|
readonly name: "batchGetRefTick";
|
|
6417
6020
|
readonly inputs: readonly [{
|
|
@@ -7098,7 +6701,7 @@ declare const useLens: () => {
|
|
|
7098
6701
|
payoutAssetName: string;
|
|
7099
6702
|
optionsCount: bigint;
|
|
7100
6703
|
}>;
|
|
7101
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
6704
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
7102
6705
|
readonly type: "function";
|
|
7103
6706
|
readonly name: "batchGetRefTick";
|
|
7104
6707
|
readonly inputs: readonly [{
|
|
@@ -7772,7 +7375,7 @@ declare const useLens: () => {
|
|
|
7772
7375
|
}];
|
|
7773
7376
|
readonly stateMutability: "view";
|
|
7774
7377
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
7775
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
7378
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
7776
7379
|
readonly type: "function";
|
|
7777
7380
|
readonly name: "batchGetRefTick";
|
|
7778
7381
|
readonly inputs: readonly [{
|
|
@@ -8446,7 +8049,7 @@ declare const useLens: () => {
|
|
|
8446
8049
|
}];
|
|
8447
8050
|
readonly stateMutability: "view";
|
|
8448
8051
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
8449
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
8052
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
8450
8053
|
readonly type: "function";
|
|
8451
8054
|
readonly name: "batchGetRefTick";
|
|
8452
8055
|
readonly inputs: readonly [{
|
|
@@ -9137,7 +8740,7 @@ declare const useLens: () => {
|
|
|
9137
8740
|
expiresAt: number;
|
|
9138
8741
|
liquidities: readonly bigint[];
|
|
9139
8742
|
}>;
|
|
9140
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
8743
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
9141
8744
|
readonly type: "function";
|
|
9142
8745
|
readonly name: "batchGetRefTick";
|
|
9143
8746
|
readonly inputs: readonly [{
|
|
@@ -9828,7 +9431,7 @@ declare const useLens: () => {
|
|
|
9828
9431
|
expiresAt: number;
|
|
9829
9432
|
liquidities: readonly bigint[];
|
|
9830
9433
|
}[]>;
|
|
9831
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
9434
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
9832
9435
|
readonly type: "function";
|
|
9833
9436
|
readonly name: "batchGetRefTick";
|
|
9834
9437
|
readonly inputs: readonly [{
|
|
@@ -10513,7 +10116,7 @@ declare const useLens: () => {
|
|
|
10513
10116
|
tickSpacing: number;
|
|
10514
10117
|
fee: number;
|
|
10515
10118
|
}>;
|
|
10516
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
10119
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
10517
10120
|
readonly type: "function";
|
|
10518
10121
|
readonly name: "batchGetRefTick";
|
|
10519
10122
|
readonly inputs: readonly [{
|
|
@@ -11187,7 +10790,7 @@ declare const useLens: () => {
|
|
|
11187
10790
|
}];
|
|
11188
10791
|
readonly stateMutability: "view";
|
|
11189
10792
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
11190
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
10793
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
11191
10794
|
readonly type: "function";
|
|
11192
10795
|
readonly name: "batchGetRefTick";
|
|
11193
10796
|
readonly inputs: readonly [{
|
|
@@ -11878,7 +11481,7 @@ declare const useLens: () => {
|
|
|
11878
11481
|
expiresAt: number;
|
|
11879
11482
|
liquidities: readonly bigint[];
|
|
11880
11483
|
}[], bigint, boolean]>;
|
|
11881
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
11484
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
11882
11485
|
readonly type: "function";
|
|
11883
11486
|
readonly name: "batchGetRefTick";
|
|
11884
11487
|
readonly inputs: readonly [{
|
|
@@ -13231,7 +12834,7 @@ declare const useLens: () => {
|
|
|
13231
12834
|
} | undefined;
|
|
13232
12835
|
uniswapLens: {
|
|
13233
12836
|
read: {
|
|
13234
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
12837
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
13235
12838
|
readonly type: "function";
|
|
13236
12839
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13237
12840
|
readonly inputs: readonly [{
|
|
@@ -13852,7 +13455,7 @@ declare const useLens: () => {
|
|
|
13852
13455
|
}];
|
|
13853
13456
|
readonly stateMutability: "pure";
|
|
13854
13457
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13855
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
13458
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
13856
13459
|
readonly type: "function";
|
|
13857
13460
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13858
13461
|
readonly inputs: readonly [{
|
|
@@ -14473,7 +14076,7 @@ declare const useLens: () => {
|
|
|
14473
14076
|
}];
|
|
14474
14077
|
readonly stateMutability: "pure";
|
|
14475
14078
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14476
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
14079
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
14477
14080
|
readonly type: "function";
|
|
14478
14081
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14479
14082
|
readonly inputs: readonly [{
|
|
@@ -15094,7 +14697,7 @@ declare const useLens: () => {
|
|
|
15094
14697
|
}];
|
|
15095
14698
|
readonly stateMutability: "pure";
|
|
15096
14699
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
15097
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
14700
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
15098
14701
|
readonly type: "function";
|
|
15099
14702
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15100
14703
|
readonly inputs: readonly [{
|
|
@@ -15715,7 +15318,7 @@ declare const useLens: () => {
|
|
|
15715
15318
|
}];
|
|
15716
15319
|
readonly stateMutability: "pure";
|
|
15717
15320
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
15718
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
15321
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
15719
15322
|
readonly type: "function";
|
|
15720
15323
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15721
15324
|
readonly inputs: readonly [{
|
|
@@ -16336,7 +15939,7 @@ declare const useLens: () => {
|
|
|
16336
15939
|
}];
|
|
16337
15940
|
readonly stateMutability: "pure";
|
|
16338
15941
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
16339
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
15942
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
16340
15943
|
readonly type: "function";
|
|
16341
15944
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16342
15945
|
readonly inputs: readonly [{
|
|
@@ -16957,7 +16560,7 @@ declare const useLens: () => {
|
|
|
16957
16560
|
}];
|
|
16958
16561
|
readonly stateMutability: "pure";
|
|
16959
16562
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
16960
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
16563
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
16961
16564
|
readonly type: "function";
|
|
16962
16565
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16963
16566
|
readonly inputs: readonly [{
|
|
@@ -17578,7 +17181,7 @@ declare const useLens: () => {
|
|
|
17578
17181
|
}];
|
|
17579
17182
|
readonly stateMutability: "pure";
|
|
17580
17183
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
17581
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
17184
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
17582
17185
|
readonly type: "function";
|
|
17583
17186
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17584
17187
|
readonly inputs: readonly [{
|
|
@@ -18199,7 +17802,7 @@ declare const useLens: () => {
|
|
|
18199
17802
|
}];
|
|
18200
17803
|
readonly stateMutability: "pure";
|
|
18201
17804
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18202
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
17805
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
18203
17806
|
readonly type: "function";
|
|
18204
17807
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18205
17808
|
readonly inputs: readonly [{
|
|
@@ -18820,7 +18423,7 @@ declare const useLens: () => {
|
|
|
18820
18423
|
}];
|
|
18821
18424
|
readonly stateMutability: "pure";
|
|
18822
18425
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18823
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
18426
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
18824
18427
|
readonly type: "function";
|
|
18825
18428
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18826
18429
|
readonly inputs: readonly [{
|
|
@@ -19441,7 +19044,7 @@ declare const useLens: () => {
|
|
|
19441
19044
|
}];
|
|
19442
19045
|
readonly stateMutability: "pure";
|
|
19443
19046
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
19444
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
19047
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
19445
19048
|
readonly type: "function";
|
|
19446
19049
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19447
19050
|
readonly inputs: readonly [{
|
|
@@ -20062,7 +19665,7 @@ declare const useLens: () => {
|
|
|
20062
19665
|
}];
|
|
20063
19666
|
readonly stateMutability: "pure";
|
|
20064
19667
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20065
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
19668
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
20066
19669
|
readonly type: "function";
|
|
20067
19670
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20068
19671
|
readonly inputs: readonly [{
|
|
@@ -20683,7 +20286,7 @@ declare const useLens: () => {
|
|
|
20683
20286
|
}];
|
|
20684
20287
|
readonly stateMutability: "pure";
|
|
20685
20288
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20686
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
20289
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
20687
20290
|
readonly type: "function";
|
|
20688
20291
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20689
20292
|
readonly inputs: readonly [{
|
|
@@ -21304,7 +20907,7 @@ declare const useLens: () => {
|
|
|
21304
20907
|
}];
|
|
21305
20908
|
readonly stateMutability: "pure";
|
|
21306
20909
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
21307
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
20910
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
21308
20911
|
readonly type: "function";
|
|
21309
20912
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21310
20913
|
readonly inputs: readonly [{
|
|
@@ -21925,7 +21528,7 @@ declare const useLens: () => {
|
|
|
21925
21528
|
}];
|
|
21926
21529
|
readonly stateMutability: "pure";
|
|
21927
21530
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21928
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
21531
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
21929
21532
|
readonly type: "function";
|
|
21930
21533
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21931
21534
|
readonly inputs: readonly [{
|
|
@@ -22546,7 +22149,7 @@ declare const useLens: () => {
|
|
|
22546
22149
|
}];
|
|
22547
22150
|
readonly stateMutability: "pure";
|
|
22548
22151
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
22549
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
22152
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
22550
22153
|
readonly type: "function";
|
|
22551
22154
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
22552
22155
|
readonly inputs: readonly [{
|
|
@@ -23167,7 +22770,7 @@ declare const useLens: () => {
|
|
|
23167
22770
|
}];
|
|
23168
22771
|
readonly stateMutability: "pure";
|
|
23169
22772
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
23170
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
22773
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
23171
22774
|
readonly type: "function";
|
|
23172
22775
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23173
22776
|
readonly inputs: readonly [{
|
|
@@ -23788,7 +23391,7 @@ declare const useLens: () => {
|
|
|
23788
23391
|
}];
|
|
23789
23392
|
readonly stateMutability: "pure";
|
|
23790
23393
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
23791
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
23394
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
23792
23395
|
readonly type: "function";
|
|
23793
23396
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23794
23397
|
readonly inputs: readonly [{
|
|
@@ -24409,7 +24012,7 @@ declare const useLens: () => {
|
|
|
24409
24012
|
}];
|
|
24410
24013
|
readonly stateMutability: "pure";
|
|
24411
24014
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
24412
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
24015
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
24413
24016
|
readonly type: "function";
|
|
24414
24017
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
24415
24018
|
readonly inputs: readonly [{
|
|
@@ -25030,7 +24633,7 @@ declare const useLens: () => {
|
|
|
25030
24633
|
}];
|
|
25031
24634
|
readonly stateMutability: "pure";
|
|
25032
24635
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
25033
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
24636
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
25034
24637
|
readonly type: "function";
|
|
25035
24638
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25036
24639
|
readonly inputs: readonly [{
|
|
@@ -25651,7 +25254,7 @@ declare const useLens: () => {
|
|
|
25651
25254
|
}];
|
|
25652
25255
|
readonly stateMutability: "pure";
|
|
25653
25256
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25654
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
25257
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
25655
25258
|
readonly type: "function";
|
|
25656
25259
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25657
25260
|
readonly inputs: readonly [{
|
|
@@ -26272,7 +25875,7 @@ declare const useLens: () => {
|
|
|
26272
25875
|
}];
|
|
26273
25876
|
readonly stateMutability: "pure";
|
|
26274
25877
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26275
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
25878
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
26276
25879
|
readonly type: "function";
|
|
26277
25880
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26278
25881
|
readonly inputs: readonly [{
|
|
@@ -26893,7 +26496,7 @@ declare const useLens: () => {
|
|
|
26893
26496
|
}];
|
|
26894
26497
|
readonly stateMutability: "pure";
|
|
26895
26498
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26896
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
26499
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
26897
26500
|
readonly type: "function";
|
|
26898
26501
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26899
26502
|
readonly inputs: readonly [{
|
|
@@ -27514,7 +27117,7 @@ declare const useLens: () => {
|
|
|
27514
27117
|
}];
|
|
27515
27118
|
readonly stateMutability: "pure";
|
|
27516
27119
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27517
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
27120
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
27518
27121
|
readonly type: "function";
|
|
27519
27122
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
27520
27123
|
readonly inputs: readonly [{
|
|
@@ -28135,7 +27738,7 @@ declare const useLens: () => {
|
|
|
28135
27738
|
}];
|
|
28136
27739
|
readonly stateMutability: "pure";
|
|
28137
27740
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
28138
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
27741
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
28139
27742
|
readonly type: "function";
|
|
28140
27743
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
28141
27744
|
readonly inputs: readonly [{
|
|
@@ -28756,7 +28359,7 @@ declare const useLens: () => {
|
|
|
28756
28359
|
}];
|
|
28757
28360
|
readonly stateMutability: "pure";
|
|
28758
28361
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
28759
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
28362
|
+
getPriceAtTick: (args: readonly [number], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
28760
28363
|
readonly type: "function";
|
|
28761
28364
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
28762
28365
|
readonly inputs: readonly [{
|
|
@@ -30008,7 +29611,7 @@ declare const useApproval: () => {
|
|
|
30008
29611
|
askForApproval: (tokenAddress: Address, spenderAddress: Address, amount: bigint) => Promise<void>;
|
|
30009
29612
|
hash: `0x${string}` | undefined;
|
|
30010
29613
|
isPending: boolean;
|
|
30011
|
-
error:
|
|
29614
|
+
error: _wagmi_core1.WriteContractErrorType | null;
|
|
30012
29615
|
reset: () => void;
|
|
30013
29616
|
};
|
|
30014
29617
|
//#endregion
|