timelock-sdk 0.0.74 → 0.0.76
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 +109 -72
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +189 -198
- package/dist/client.d.ts +122 -131
- package/dist/client.js +109 -72
- package/dist/client.js.map +1 -1
- package/dist/{index-C-uDgfkL.d.cts → index-CFBcBY1K.d.cts} +92 -92
- package/dist/{index-BdBPLPWm.d.ts → index-CdkTrz02.d.ts} +92 -92
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
package/dist/client.d.cts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "./uniswapMathLens-CK8C7WOt.cjs";
|
|
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-CFBcBY1K.cjs";
|
|
3
|
+
import * as viem249 from "viem";
|
|
4
4
|
import { Address } from "viem";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
6
6
|
import "graphql";
|
|
7
7
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
8
8
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
9
9
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
10
|
-
import * as
|
|
10
|
+
import * as _tanstack_query_core17 from "@tanstack/query-core";
|
|
11
11
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
12
12
|
|
|
13
13
|
//#region src/generated/graphql.d.ts
|
|
@@ -54,91 +54,80 @@ type Scalars = {
|
|
|
54
54
|
output: any;
|
|
55
55
|
};
|
|
56
56
|
};
|
|
57
|
+
type UserOptionFieldsFragment = {
|
|
58
|
+
__typename: 'UserOption';
|
|
59
|
+
id: string;
|
|
60
|
+
optionId: any;
|
|
61
|
+
optionType: any;
|
|
62
|
+
strikeTick: number;
|
|
63
|
+
entryTick: number;
|
|
64
|
+
startTick: number;
|
|
65
|
+
strikePrice: any;
|
|
66
|
+
entryPrice: any;
|
|
67
|
+
expiresAt: any;
|
|
68
|
+
createdAt: any;
|
|
69
|
+
premium: any;
|
|
70
|
+
protocolFee: any;
|
|
71
|
+
realizedPayout: any;
|
|
72
|
+
liquiditiesAtOpen: Array<string>;
|
|
73
|
+
liquiditiesCurrent: Array<string>;
|
|
74
|
+
positionSizeAtOpen: any;
|
|
75
|
+
positionSizeCurrent: any;
|
|
76
|
+
fullyExercised: boolean;
|
|
77
|
+
owner?: {
|
|
78
|
+
__typename: 'TimelockMarketUser';
|
|
79
|
+
address: string;
|
|
80
|
+
} | null;
|
|
81
|
+
market?: {
|
|
82
|
+
__typename: 'TimelockMarket';
|
|
83
|
+
address: string;
|
|
84
|
+
} | null;
|
|
85
|
+
exerciseEvents: Array<{
|
|
86
|
+
__typename: 'ExerciseOptionEvent';
|
|
87
|
+
transactionHash: string;
|
|
88
|
+
}>;
|
|
89
|
+
mintEvent?: {
|
|
90
|
+
__typename: 'MintOptionEvent';
|
|
91
|
+
transactionHash: string;
|
|
92
|
+
} | null;
|
|
93
|
+
};
|
|
57
94
|
type GetActiveUserOptionsQueryVariables = Exact<{
|
|
58
|
-
|
|
95
|
+
userAddr: Scalars['String']['input'];
|
|
59
96
|
}>;
|
|
60
97
|
type GetActiveUserOptionsQuery = {
|
|
61
98
|
__typename: 'query_root';
|
|
62
99
|
UserOption: Array<{
|
|
63
100
|
__typename: 'UserOption';
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
protocolFee: any;
|
|
76
|
-
realizedPayout: any;
|
|
77
|
-
liquiditiesAtOpen: Array<string>;
|
|
78
|
-
liquiditiesCurrent: Array<string>;
|
|
79
|
-
positionSizeAtOpen: any;
|
|
80
|
-
positionSizeCurrent: any;
|
|
81
|
-
fullyExercised: boolean;
|
|
82
|
-
owner?: {
|
|
83
|
-
__typename: 'TimelockMarketUser';
|
|
84
|
-
address: string;
|
|
85
|
-
} | null;
|
|
86
|
-
market?: {
|
|
87
|
-
__typename: 'TimelockMarket';
|
|
88
|
-
address: string;
|
|
89
|
-
} | null;
|
|
90
|
-
exerciseEvents: Array<{
|
|
91
|
-
__typename: 'ExerciseOptionEvent';
|
|
92
|
-
transactionHash: string;
|
|
93
|
-
}>;
|
|
94
|
-
mintEvent?: {
|
|
95
|
-
__typename: 'MintOptionEvent';
|
|
96
|
-
transactionHash: string;
|
|
97
|
-
} | null;
|
|
98
|
-
}>;
|
|
101
|
+
} & UserOptionFieldsFragment>;
|
|
102
|
+
};
|
|
103
|
+
type GetActiveUserOptionsByMarketQueryVariables = Exact<{
|
|
104
|
+
userAddr: Scalars['String']['input'];
|
|
105
|
+
marketAddr: Scalars['String']['input'];
|
|
106
|
+
}>;
|
|
107
|
+
type GetActiveUserOptionsByMarketQuery = {
|
|
108
|
+
__typename: 'query_root';
|
|
109
|
+
UserOption: Array<{
|
|
110
|
+
__typename: 'UserOption';
|
|
111
|
+
} & UserOptionFieldsFragment>;
|
|
99
112
|
};
|
|
100
113
|
type GetClosedUserOptionsQueryVariables = Exact<{
|
|
101
|
-
|
|
114
|
+
userAddr: Scalars['String']['input'];
|
|
102
115
|
}>;
|
|
103
116
|
type GetClosedUserOptionsQuery = {
|
|
104
117
|
__typename: 'query_root';
|
|
105
118
|
UserOption: Array<{
|
|
106
119
|
__typename: 'UserOption';
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
protocolFee: any;
|
|
119
|
-
realizedPayout: any;
|
|
120
|
-
liquiditiesAtOpen: Array<string>;
|
|
121
|
-
liquiditiesCurrent: Array<string>;
|
|
122
|
-
positionSizeAtOpen: any;
|
|
123
|
-
positionSizeCurrent: any;
|
|
124
|
-
fullyExercised: boolean;
|
|
125
|
-
owner?: {
|
|
126
|
-
__typename: 'TimelockMarketUser';
|
|
127
|
-
address: string;
|
|
128
|
-
} | null;
|
|
129
|
-
market?: {
|
|
130
|
-
__typename: 'TimelockMarket';
|
|
131
|
-
address: string;
|
|
132
|
-
} | null;
|
|
133
|
-
exerciseEvents: Array<{
|
|
134
|
-
__typename: 'ExerciseOptionEvent';
|
|
135
|
-
transactionHash: string;
|
|
136
|
-
}>;
|
|
137
|
-
mintEvent?: {
|
|
138
|
-
__typename: 'MintOptionEvent';
|
|
139
|
-
transactionHash: string;
|
|
140
|
-
} | null;
|
|
141
|
-
}>;
|
|
120
|
+
} & UserOptionFieldsFragment>;
|
|
121
|
+
};
|
|
122
|
+
type GetClosedUserOptionsByMarketQueryVariables = Exact<{
|
|
123
|
+
userAddr: Scalars['String']['input'];
|
|
124
|
+
marketAddr: Scalars['String']['input'];
|
|
125
|
+
}>;
|
|
126
|
+
type GetClosedUserOptionsByMarketQuery = {
|
|
127
|
+
__typename: 'query_root';
|
|
128
|
+
UserOption: Array<{
|
|
129
|
+
__typename: 'UserOption';
|
|
130
|
+
} & UserOptionFieldsFragment>;
|
|
142
131
|
};
|
|
143
132
|
type GetMarketDataQueryVariables = Exact<{
|
|
144
133
|
marketAddr: Scalars['String']['input'];
|
|
@@ -188,7 +177,9 @@ type GetUserMarketOperatorsQuery = {
|
|
|
188
177
|
type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
|
|
189
178
|
declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
190
179
|
GetActiveUserOptions(variables: GetActiveUserOptionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetActiveUserOptionsQuery>;
|
|
180
|
+
GetActiveUserOptionsByMarket(variables: GetActiveUserOptionsByMarketQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetActiveUserOptionsByMarketQuery>;
|
|
191
181
|
GetClosedUserOptions(variables: GetClosedUserOptionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetClosedUserOptionsQuery>;
|
|
182
|
+
GetClosedUserOptionsByMarket(variables: GetClosedUserOptionsByMarketQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetClosedUserOptionsByMarketQuery>;
|
|
192
183
|
GetMarketData(variables: GetMarketDataQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetMarketDataQuery>;
|
|
193
184
|
GetUserMarketOperators(variables: GetUserMarketOperatorsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetUserMarketOperatorsQuery>;
|
|
194
185
|
};
|
|
@@ -215,7 +206,7 @@ declare const useTimelockConfig: () => TimelockMarketContextValue;
|
|
|
215
206
|
//#endregion
|
|
216
207
|
//#region src/hooks/market/useUserOptions.d.ts
|
|
217
208
|
type OptionData = ReturnType<typeof useUserOptions>['data'][0];
|
|
218
|
-
declare const useUserOptions: (
|
|
209
|
+
declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", active?: boolean) => {
|
|
219
210
|
error: Error;
|
|
220
211
|
isError: true;
|
|
221
212
|
isPending: false;
|
|
@@ -238,7 +229,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
238
229
|
isRefetching: boolean;
|
|
239
230
|
isStale: boolean;
|
|
240
231
|
isEnabled: boolean;
|
|
241
|
-
refetch: (options?:
|
|
232
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
242
233
|
optionId: bigint;
|
|
243
234
|
marketAddr: Address;
|
|
244
235
|
ownerAddr: Address;
|
|
@@ -277,7 +268,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
277
268
|
transactionHash: string;
|
|
278
269
|
} | null;
|
|
279
270
|
}[], Error>>;
|
|
280
|
-
fetchStatus:
|
|
271
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
281
272
|
promise: Promise<{
|
|
282
273
|
optionId: bigint;
|
|
283
274
|
marketAddr: Address;
|
|
@@ -379,7 +370,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
379
370
|
isRefetching: boolean;
|
|
380
371
|
isStale: boolean;
|
|
381
372
|
isEnabled: boolean;
|
|
382
|
-
refetch: (options?:
|
|
373
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
383
374
|
optionId: bigint;
|
|
384
375
|
marketAddr: Address;
|
|
385
376
|
ownerAddr: Address;
|
|
@@ -418,7 +409,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
418
409
|
transactionHash: string;
|
|
419
410
|
} | null;
|
|
420
411
|
}[], Error>>;
|
|
421
|
-
fetchStatus:
|
|
412
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
422
413
|
promise: Promise<{
|
|
423
414
|
optionId: bigint;
|
|
424
415
|
marketAddr: Address;
|
|
@@ -520,7 +511,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
520
511
|
isRefetching: boolean;
|
|
521
512
|
isStale: boolean;
|
|
522
513
|
isEnabled: boolean;
|
|
523
|
-
refetch: (options?:
|
|
514
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
524
515
|
optionId: bigint;
|
|
525
516
|
marketAddr: Address;
|
|
526
517
|
ownerAddr: Address;
|
|
@@ -559,7 +550,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
559
550
|
transactionHash: string;
|
|
560
551
|
} | null;
|
|
561
552
|
}[], Error>>;
|
|
562
|
-
fetchStatus:
|
|
553
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
563
554
|
promise: Promise<{
|
|
564
555
|
optionId: bigint;
|
|
565
556
|
marketAddr: Address;
|
|
@@ -661,7 +652,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
661
652
|
isRefetching: boolean;
|
|
662
653
|
isStale: boolean;
|
|
663
654
|
isEnabled: boolean;
|
|
664
|
-
refetch: (options?:
|
|
655
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
665
656
|
optionId: bigint;
|
|
666
657
|
marketAddr: Address;
|
|
667
658
|
ownerAddr: Address;
|
|
@@ -700,7 +691,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
700
691
|
transactionHash: string;
|
|
701
692
|
} | null;
|
|
702
693
|
}[], Error>>;
|
|
703
|
-
fetchStatus:
|
|
694
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
704
695
|
promise: Promise<{
|
|
705
696
|
optionId: bigint;
|
|
706
697
|
marketAddr: Address;
|
|
@@ -802,7 +793,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
802
793
|
isRefetching: boolean;
|
|
803
794
|
isStale: boolean;
|
|
804
795
|
isEnabled: boolean;
|
|
805
|
-
refetch: (options?:
|
|
796
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
806
797
|
optionId: bigint;
|
|
807
798
|
marketAddr: Address;
|
|
808
799
|
ownerAddr: Address;
|
|
@@ -841,7 +832,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
841
832
|
transactionHash: string;
|
|
842
833
|
} | null;
|
|
843
834
|
}[], Error>>;
|
|
844
|
-
fetchStatus:
|
|
835
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
845
836
|
promise: Promise<{
|
|
846
837
|
optionId: bigint;
|
|
847
838
|
marketAddr: Address;
|
|
@@ -943,7 +934,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
943
934
|
isRefetching: boolean;
|
|
944
935
|
isStale: boolean;
|
|
945
936
|
isEnabled: boolean;
|
|
946
|
-
refetch: (options?:
|
|
937
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
947
938
|
optionId: bigint;
|
|
948
939
|
marketAddr: Address;
|
|
949
940
|
ownerAddr: Address;
|
|
@@ -982,7 +973,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
982
973
|
transactionHash: string;
|
|
983
974
|
} | null;
|
|
984
975
|
}[], Error>>;
|
|
985
|
-
fetchStatus:
|
|
976
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
986
977
|
promise: Promise<{
|
|
987
978
|
optionId: bigint;
|
|
988
979
|
marketAddr: Address;
|
|
@@ -1062,7 +1053,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
1062
1053
|
} | null;
|
|
1063
1054
|
}[];
|
|
1064
1055
|
};
|
|
1065
|
-
declare const useActiveUserOptions: (
|
|
1056
|
+
declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address | "*") => {
|
|
1066
1057
|
error: Error;
|
|
1067
1058
|
isError: true;
|
|
1068
1059
|
isPending: false;
|
|
@@ -1085,7 +1076,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1085
1076
|
isRefetching: boolean;
|
|
1086
1077
|
isStale: boolean;
|
|
1087
1078
|
isEnabled: boolean;
|
|
1088
|
-
refetch: (options?:
|
|
1079
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
1089
1080
|
optionId: bigint;
|
|
1090
1081
|
marketAddr: Address;
|
|
1091
1082
|
ownerAddr: Address;
|
|
@@ -1124,7 +1115,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1124
1115
|
transactionHash: string;
|
|
1125
1116
|
} | null;
|
|
1126
1117
|
}[], Error>>;
|
|
1127
|
-
fetchStatus:
|
|
1118
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
1128
1119
|
promise: Promise<{
|
|
1129
1120
|
optionId: bigint;
|
|
1130
1121
|
marketAddr: Address;
|
|
@@ -1226,7 +1217,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1226
1217
|
isRefetching: boolean;
|
|
1227
1218
|
isStale: boolean;
|
|
1228
1219
|
isEnabled: boolean;
|
|
1229
|
-
refetch: (options?:
|
|
1220
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
1230
1221
|
optionId: bigint;
|
|
1231
1222
|
marketAddr: Address;
|
|
1232
1223
|
ownerAddr: Address;
|
|
@@ -1265,7 +1256,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1265
1256
|
transactionHash: string;
|
|
1266
1257
|
} | null;
|
|
1267
1258
|
}[], Error>>;
|
|
1268
|
-
fetchStatus:
|
|
1259
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
1269
1260
|
promise: Promise<{
|
|
1270
1261
|
optionId: bigint;
|
|
1271
1262
|
marketAddr: Address;
|
|
@@ -1367,7 +1358,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1367
1358
|
isRefetching: boolean;
|
|
1368
1359
|
isStale: boolean;
|
|
1369
1360
|
isEnabled: boolean;
|
|
1370
|
-
refetch: (options?:
|
|
1361
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
1371
1362
|
optionId: bigint;
|
|
1372
1363
|
marketAddr: Address;
|
|
1373
1364
|
ownerAddr: Address;
|
|
@@ -1406,7 +1397,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1406
1397
|
transactionHash: string;
|
|
1407
1398
|
} | null;
|
|
1408
1399
|
}[], Error>>;
|
|
1409
|
-
fetchStatus:
|
|
1400
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
1410
1401
|
promise: Promise<{
|
|
1411
1402
|
optionId: bigint;
|
|
1412
1403
|
marketAddr: Address;
|
|
@@ -1508,7 +1499,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1508
1499
|
isRefetching: boolean;
|
|
1509
1500
|
isStale: boolean;
|
|
1510
1501
|
isEnabled: boolean;
|
|
1511
|
-
refetch: (options?:
|
|
1502
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
1512
1503
|
optionId: bigint;
|
|
1513
1504
|
marketAddr: Address;
|
|
1514
1505
|
ownerAddr: Address;
|
|
@@ -1547,7 +1538,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1547
1538
|
transactionHash: string;
|
|
1548
1539
|
} | null;
|
|
1549
1540
|
}[], Error>>;
|
|
1550
|
-
fetchStatus:
|
|
1541
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
1551
1542
|
promise: Promise<{
|
|
1552
1543
|
optionId: bigint;
|
|
1553
1544
|
marketAddr: Address;
|
|
@@ -1649,7 +1640,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1649
1640
|
isRefetching: boolean;
|
|
1650
1641
|
isStale: boolean;
|
|
1651
1642
|
isEnabled: boolean;
|
|
1652
|
-
refetch: (options?:
|
|
1643
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
1653
1644
|
optionId: bigint;
|
|
1654
1645
|
marketAddr: Address;
|
|
1655
1646
|
ownerAddr: Address;
|
|
@@ -1688,7 +1679,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1688
1679
|
transactionHash: string;
|
|
1689
1680
|
} | null;
|
|
1690
1681
|
}[], Error>>;
|
|
1691
|
-
fetchStatus:
|
|
1682
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
1692
1683
|
promise: Promise<{
|
|
1693
1684
|
optionId: bigint;
|
|
1694
1685
|
marketAddr: Address;
|
|
@@ -1790,7 +1781,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1790
1781
|
isRefetching: boolean;
|
|
1791
1782
|
isStale: boolean;
|
|
1792
1783
|
isEnabled: boolean;
|
|
1793
|
-
refetch: (options?:
|
|
1784
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
1794
1785
|
optionId: bigint;
|
|
1795
1786
|
marketAddr: Address;
|
|
1796
1787
|
ownerAddr: Address;
|
|
@@ -1829,7 +1820,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1829
1820
|
transactionHash: string;
|
|
1830
1821
|
} | null;
|
|
1831
1822
|
}[], Error>>;
|
|
1832
|
-
fetchStatus:
|
|
1823
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
1833
1824
|
promise: Promise<{
|
|
1834
1825
|
optionId: bigint;
|
|
1835
1826
|
marketAddr: Address;
|
|
@@ -1909,7 +1900,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1909
1900
|
} | null;
|
|
1910
1901
|
}[];
|
|
1911
1902
|
};
|
|
1912
|
-
declare const useClosedUserOptions: (
|
|
1903
|
+
declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address | "*") => {
|
|
1913
1904
|
error: Error;
|
|
1914
1905
|
isError: true;
|
|
1915
1906
|
isPending: false;
|
|
@@ -1932,7 +1923,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1932
1923
|
isRefetching: boolean;
|
|
1933
1924
|
isStale: boolean;
|
|
1934
1925
|
isEnabled: boolean;
|
|
1935
|
-
refetch: (options?:
|
|
1926
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
1936
1927
|
optionId: bigint;
|
|
1937
1928
|
marketAddr: Address;
|
|
1938
1929
|
ownerAddr: Address;
|
|
@@ -1971,7 +1962,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1971
1962
|
transactionHash: string;
|
|
1972
1963
|
} | null;
|
|
1973
1964
|
}[], Error>>;
|
|
1974
|
-
fetchStatus:
|
|
1965
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
1975
1966
|
promise: Promise<{
|
|
1976
1967
|
optionId: bigint;
|
|
1977
1968
|
marketAddr: Address;
|
|
@@ -2073,7 +2064,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2073
2064
|
isRefetching: boolean;
|
|
2074
2065
|
isStale: boolean;
|
|
2075
2066
|
isEnabled: boolean;
|
|
2076
|
-
refetch: (options?:
|
|
2067
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
2077
2068
|
optionId: bigint;
|
|
2078
2069
|
marketAddr: Address;
|
|
2079
2070
|
ownerAddr: Address;
|
|
@@ -2112,7 +2103,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2112
2103
|
transactionHash: string;
|
|
2113
2104
|
} | null;
|
|
2114
2105
|
}[], Error>>;
|
|
2115
|
-
fetchStatus:
|
|
2106
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
2116
2107
|
promise: Promise<{
|
|
2117
2108
|
optionId: bigint;
|
|
2118
2109
|
marketAddr: Address;
|
|
@@ -2214,7 +2205,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2214
2205
|
isRefetching: boolean;
|
|
2215
2206
|
isStale: boolean;
|
|
2216
2207
|
isEnabled: boolean;
|
|
2217
|
-
refetch: (options?:
|
|
2208
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
2218
2209
|
optionId: bigint;
|
|
2219
2210
|
marketAddr: Address;
|
|
2220
2211
|
ownerAddr: Address;
|
|
@@ -2253,7 +2244,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2253
2244
|
transactionHash: string;
|
|
2254
2245
|
} | null;
|
|
2255
2246
|
}[], Error>>;
|
|
2256
|
-
fetchStatus:
|
|
2247
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
2257
2248
|
promise: Promise<{
|
|
2258
2249
|
optionId: bigint;
|
|
2259
2250
|
marketAddr: Address;
|
|
@@ -2355,7 +2346,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2355
2346
|
isRefetching: boolean;
|
|
2356
2347
|
isStale: boolean;
|
|
2357
2348
|
isEnabled: boolean;
|
|
2358
|
-
refetch: (options?:
|
|
2349
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
2359
2350
|
optionId: bigint;
|
|
2360
2351
|
marketAddr: Address;
|
|
2361
2352
|
ownerAddr: Address;
|
|
@@ -2394,7 +2385,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2394
2385
|
transactionHash: string;
|
|
2395
2386
|
} | null;
|
|
2396
2387
|
}[], Error>>;
|
|
2397
|
-
fetchStatus:
|
|
2388
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
2398
2389
|
promise: Promise<{
|
|
2399
2390
|
optionId: bigint;
|
|
2400
2391
|
marketAddr: Address;
|
|
@@ -2496,7 +2487,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2496
2487
|
isRefetching: boolean;
|
|
2497
2488
|
isStale: boolean;
|
|
2498
2489
|
isEnabled: boolean;
|
|
2499
|
-
refetch: (options?:
|
|
2490
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
2500
2491
|
optionId: bigint;
|
|
2501
2492
|
marketAddr: Address;
|
|
2502
2493
|
ownerAddr: Address;
|
|
@@ -2535,7 +2526,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2535
2526
|
transactionHash: string;
|
|
2536
2527
|
} | null;
|
|
2537
2528
|
}[], Error>>;
|
|
2538
|
-
fetchStatus:
|
|
2529
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
2539
2530
|
promise: Promise<{
|
|
2540
2531
|
optionId: bigint;
|
|
2541
2532
|
marketAddr: Address;
|
|
@@ -2637,7 +2628,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2637
2628
|
isRefetching: boolean;
|
|
2638
2629
|
isStale: boolean;
|
|
2639
2630
|
isEnabled: boolean;
|
|
2640
|
-
refetch: (options?:
|
|
2631
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
2641
2632
|
optionId: bigint;
|
|
2642
2633
|
marketAddr: Address;
|
|
2643
2634
|
ownerAddr: Address;
|
|
@@ -2676,7 +2667,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2676
2667
|
transactionHash: string;
|
|
2677
2668
|
} | null;
|
|
2678
2669
|
}[], Error>>;
|
|
2679
|
-
fetchStatus:
|
|
2670
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
2680
2671
|
promise: Promise<{
|
|
2681
2672
|
optionId: bigint;
|
|
2682
2673
|
marketAddr: Address;
|
|
@@ -2860,7 +2851,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2860
2851
|
isRefetching: boolean;
|
|
2861
2852
|
isStale: boolean;
|
|
2862
2853
|
isEnabled: boolean;
|
|
2863
|
-
refetch: (options?:
|
|
2854
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
2864
2855
|
spendingApproval: bigint;
|
|
2865
2856
|
operatorAddr: string;
|
|
2866
2857
|
__typename: "UserMarketOperator";
|
|
@@ -2874,7 +2865,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2874
2865
|
address: string;
|
|
2875
2866
|
} | null;
|
|
2876
2867
|
}[] | undefined, Error>>;
|
|
2877
|
-
fetchStatus:
|
|
2868
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
2878
2869
|
promise: Promise<{
|
|
2879
2870
|
spendingApproval: bigint;
|
|
2880
2871
|
operatorAddr: string;
|
|
@@ -2926,7 +2917,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2926
2917
|
isRefetching: boolean;
|
|
2927
2918
|
isStale: boolean;
|
|
2928
2919
|
isEnabled: boolean;
|
|
2929
|
-
refetch: (options?:
|
|
2920
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
2930
2921
|
spendingApproval: bigint;
|
|
2931
2922
|
operatorAddr: string;
|
|
2932
2923
|
__typename: "UserMarketOperator";
|
|
@@ -2940,7 +2931,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2940
2931
|
address: string;
|
|
2941
2932
|
} | null;
|
|
2942
2933
|
}[] | undefined, Error>>;
|
|
2943
|
-
fetchStatus:
|
|
2934
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
2944
2935
|
promise: Promise<{
|
|
2945
2936
|
spendingApproval: bigint;
|
|
2946
2937
|
operatorAddr: string;
|
|
@@ -2992,7 +2983,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2992
2983
|
isRefetching: boolean;
|
|
2993
2984
|
isStale: boolean;
|
|
2994
2985
|
isEnabled: boolean;
|
|
2995
|
-
refetch: (options?:
|
|
2986
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
2996
2987
|
spendingApproval: bigint;
|
|
2997
2988
|
operatorAddr: string;
|
|
2998
2989
|
__typename: "UserMarketOperator";
|
|
@@ -3006,7 +2997,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3006
2997
|
address: string;
|
|
3007
2998
|
} | null;
|
|
3008
2999
|
}[] | undefined, Error>>;
|
|
3009
|
-
fetchStatus:
|
|
3000
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
3010
3001
|
promise: Promise<{
|
|
3011
3002
|
spendingApproval: bigint;
|
|
3012
3003
|
operatorAddr: string;
|
|
@@ -3058,7 +3049,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3058
3049
|
isRefetching: boolean;
|
|
3059
3050
|
isStale: boolean;
|
|
3060
3051
|
isEnabled: boolean;
|
|
3061
|
-
refetch: (options?:
|
|
3052
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
3062
3053
|
spendingApproval: bigint;
|
|
3063
3054
|
operatorAddr: string;
|
|
3064
3055
|
__typename: "UserMarketOperator";
|
|
@@ -3072,7 +3063,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3072
3063
|
address: string;
|
|
3073
3064
|
} | null;
|
|
3074
3065
|
}[] | undefined, Error>>;
|
|
3075
|
-
fetchStatus:
|
|
3066
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
3076
3067
|
promise: Promise<{
|
|
3077
3068
|
spendingApproval: bigint;
|
|
3078
3069
|
operatorAddr: string;
|
|
@@ -3124,7 +3115,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3124
3115
|
isRefetching: boolean;
|
|
3125
3116
|
isStale: boolean;
|
|
3126
3117
|
isEnabled: boolean;
|
|
3127
|
-
refetch: (options?:
|
|
3118
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
3128
3119
|
spendingApproval: bigint;
|
|
3129
3120
|
operatorAddr: string;
|
|
3130
3121
|
__typename: "UserMarketOperator";
|
|
@@ -3138,7 +3129,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3138
3129
|
address: string;
|
|
3139
3130
|
} | null;
|
|
3140
3131
|
}[] | undefined, Error>>;
|
|
3141
|
-
fetchStatus:
|
|
3132
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
3142
3133
|
promise: Promise<{
|
|
3143
3134
|
spendingApproval: bigint;
|
|
3144
3135
|
operatorAddr: string;
|
|
@@ -3190,7 +3181,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3190
3181
|
isRefetching: boolean;
|
|
3191
3182
|
isStale: boolean;
|
|
3192
3183
|
isEnabled: boolean;
|
|
3193
|
-
refetch: (options?:
|
|
3184
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
3194
3185
|
spendingApproval: bigint;
|
|
3195
3186
|
operatorAddr: string;
|
|
3196
3187
|
__typename: "UserMarketOperator";
|
|
@@ -3204,7 +3195,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3204
3195
|
address: string;
|
|
3205
3196
|
} | null;
|
|
3206
3197
|
}[] | undefined, Error>>;
|
|
3207
|
-
fetchStatus:
|
|
3198
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
3208
3199
|
promise: Promise<{
|
|
3209
3200
|
spendingApproval: bigint;
|
|
3210
3201
|
operatorAddr: string;
|
|
@@ -3295,7 +3286,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
3295
3286
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
3296
3287
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
3297
3288
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
3298
|
-
error:
|
|
3289
|
+
error: viem249.ReadContractErrorType;
|
|
3299
3290
|
isError: true;
|
|
3300
3291
|
isPending: false;
|
|
3301
3292
|
isLoading: false;
|
|
@@ -3307,7 +3298,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3307
3298
|
dataUpdatedAt: number;
|
|
3308
3299
|
errorUpdatedAt: number;
|
|
3309
3300
|
failureCount: number;
|
|
3310
|
-
failureReason:
|
|
3301
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
3311
3302
|
errorUpdateCount: number;
|
|
3312
3303
|
isFetched: boolean;
|
|
3313
3304
|
isFetchedAfterMount: boolean;
|
|
@@ -3317,7 +3308,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3317
3308
|
isRefetching: boolean;
|
|
3318
3309
|
isStale: boolean;
|
|
3319
3310
|
isEnabled: boolean;
|
|
3320
|
-
refetch: (options?:
|
|
3311
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
3321
3312
|
tickLower: number;
|
|
3322
3313
|
tickUpper: number;
|
|
3323
3314
|
prevTickLower: number;
|
|
@@ -3327,8 +3318,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3327
3318
|
totalAmount1: bigint;
|
|
3328
3319
|
borrowedAmount0: bigint;
|
|
3329
3320
|
borrowedAmount1: bigint;
|
|
3330
|
-
}[],
|
|
3331
|
-
fetchStatus:
|
|
3321
|
+
}[], viem249.ReadContractErrorType>>;
|
|
3322
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
3332
3323
|
promise: Promise<readonly {
|
|
3333
3324
|
tickLower: number;
|
|
3334
3325
|
tickUpper: number;
|
|
@@ -3340,7 +3331,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3340
3331
|
borrowedAmount0: bigint;
|
|
3341
3332
|
borrowedAmount1: bigint;
|
|
3342
3333
|
}[]>;
|
|
3343
|
-
queryKey:
|
|
3334
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
3344
3335
|
data: readonly {
|
|
3345
3336
|
tickLower: number;
|
|
3346
3337
|
tickUpper: number;
|
|
@@ -3365,7 +3356,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3365
3356
|
dataUpdatedAt: number;
|
|
3366
3357
|
errorUpdatedAt: number;
|
|
3367
3358
|
failureCount: number;
|
|
3368
|
-
failureReason:
|
|
3359
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
3369
3360
|
errorUpdateCount: number;
|
|
3370
3361
|
isFetched: boolean;
|
|
3371
3362
|
isFetchedAfterMount: boolean;
|
|
@@ -3375,7 +3366,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3375
3366
|
isRefetching: boolean;
|
|
3376
3367
|
isStale: boolean;
|
|
3377
3368
|
isEnabled: boolean;
|
|
3378
|
-
refetch: (options?:
|
|
3369
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
3379
3370
|
tickLower: number;
|
|
3380
3371
|
tickUpper: number;
|
|
3381
3372
|
prevTickLower: number;
|
|
@@ -3385,8 +3376,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3385
3376
|
totalAmount1: bigint;
|
|
3386
3377
|
borrowedAmount0: bigint;
|
|
3387
3378
|
borrowedAmount1: bigint;
|
|
3388
|
-
}[],
|
|
3389
|
-
fetchStatus:
|
|
3379
|
+
}[], viem249.ReadContractErrorType>>;
|
|
3380
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
3390
3381
|
promise: Promise<readonly {
|
|
3391
3382
|
tickLower: number;
|
|
3392
3383
|
tickUpper: number;
|
|
@@ -3398,7 +3389,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3398
3389
|
borrowedAmount0: bigint;
|
|
3399
3390
|
borrowedAmount1: bigint;
|
|
3400
3391
|
}[]>;
|
|
3401
|
-
queryKey:
|
|
3392
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
3402
3393
|
data: readonly {
|
|
3403
3394
|
tickLower: number;
|
|
3404
3395
|
tickUpper: number;
|
|
@@ -3411,7 +3402,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3411
3402
|
borrowedAmount1: bigint;
|
|
3412
3403
|
}[];
|
|
3413
3404
|
} | {
|
|
3414
|
-
error:
|
|
3405
|
+
error: viem249.ReadContractErrorType;
|
|
3415
3406
|
isError: true;
|
|
3416
3407
|
isPending: false;
|
|
3417
3408
|
isLoading: false;
|
|
@@ -3423,7 +3414,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3423
3414
|
dataUpdatedAt: number;
|
|
3424
3415
|
errorUpdatedAt: number;
|
|
3425
3416
|
failureCount: number;
|
|
3426
|
-
failureReason:
|
|
3417
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
3427
3418
|
errorUpdateCount: number;
|
|
3428
3419
|
isFetched: boolean;
|
|
3429
3420
|
isFetchedAfterMount: boolean;
|
|
@@ -3433,7 +3424,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3433
3424
|
isRefetching: boolean;
|
|
3434
3425
|
isStale: boolean;
|
|
3435
3426
|
isEnabled: boolean;
|
|
3436
|
-
refetch: (options?:
|
|
3427
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
3437
3428
|
tickLower: number;
|
|
3438
3429
|
tickUpper: number;
|
|
3439
3430
|
prevTickLower: number;
|
|
@@ -3443,8 +3434,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3443
3434
|
totalAmount1: bigint;
|
|
3444
3435
|
borrowedAmount0: bigint;
|
|
3445
3436
|
borrowedAmount1: bigint;
|
|
3446
|
-
}[],
|
|
3447
|
-
fetchStatus:
|
|
3437
|
+
}[], viem249.ReadContractErrorType>>;
|
|
3438
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
3448
3439
|
promise: Promise<readonly {
|
|
3449
3440
|
tickLower: number;
|
|
3450
3441
|
tickUpper: number;
|
|
@@ -3456,7 +3447,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3456
3447
|
borrowedAmount0: bigint;
|
|
3457
3448
|
borrowedAmount1: bigint;
|
|
3458
3449
|
}[]>;
|
|
3459
|
-
queryKey:
|
|
3450
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
3460
3451
|
data: readonly {
|
|
3461
3452
|
tickLower: number;
|
|
3462
3453
|
tickUpper: number;
|
|
@@ -3481,7 +3472,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3481
3472
|
dataUpdatedAt: number;
|
|
3482
3473
|
errorUpdatedAt: number;
|
|
3483
3474
|
failureCount: number;
|
|
3484
|
-
failureReason:
|
|
3475
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
3485
3476
|
errorUpdateCount: number;
|
|
3486
3477
|
isFetched: boolean;
|
|
3487
3478
|
isFetchedAfterMount: boolean;
|
|
@@ -3491,7 +3482,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3491
3482
|
isRefetching: boolean;
|
|
3492
3483
|
isStale: boolean;
|
|
3493
3484
|
isEnabled: boolean;
|
|
3494
|
-
refetch: (options?:
|
|
3485
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
3495
3486
|
tickLower: number;
|
|
3496
3487
|
tickUpper: number;
|
|
3497
3488
|
prevTickLower: number;
|
|
@@ -3501,8 +3492,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3501
3492
|
totalAmount1: bigint;
|
|
3502
3493
|
borrowedAmount0: bigint;
|
|
3503
3494
|
borrowedAmount1: bigint;
|
|
3504
|
-
}[],
|
|
3505
|
-
fetchStatus:
|
|
3495
|
+
}[], viem249.ReadContractErrorType>>;
|
|
3496
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
3506
3497
|
promise: Promise<readonly {
|
|
3507
3498
|
tickLower: number;
|
|
3508
3499
|
tickUpper: number;
|
|
@@ -3514,7 +3505,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3514
3505
|
borrowedAmount0: bigint;
|
|
3515
3506
|
borrowedAmount1: bigint;
|
|
3516
3507
|
}[]>;
|
|
3517
|
-
queryKey:
|
|
3508
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
3518
3509
|
data: readonly {
|
|
3519
3510
|
tickLower: number;
|
|
3520
3511
|
tickUpper: number;
|
|
@@ -3538,7 +3529,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3538
3529
|
dataUpdatedAt: number;
|
|
3539
3530
|
errorUpdatedAt: number;
|
|
3540
3531
|
failureCount: number;
|
|
3541
|
-
failureReason:
|
|
3532
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
3542
3533
|
errorUpdateCount: number;
|
|
3543
3534
|
isFetched: boolean;
|
|
3544
3535
|
isFetchedAfterMount: boolean;
|
|
@@ -3549,7 +3540,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3549
3540
|
isRefetching: boolean;
|
|
3550
3541
|
isStale: boolean;
|
|
3551
3542
|
isEnabled: boolean;
|
|
3552
|
-
refetch: (options?:
|
|
3543
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
3553
3544
|
tickLower: number;
|
|
3554
3545
|
tickUpper: number;
|
|
3555
3546
|
prevTickLower: number;
|
|
@@ -3559,8 +3550,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3559
3550
|
totalAmount1: bigint;
|
|
3560
3551
|
borrowedAmount0: bigint;
|
|
3561
3552
|
borrowedAmount1: bigint;
|
|
3562
|
-
}[],
|
|
3563
|
-
fetchStatus:
|
|
3553
|
+
}[], viem249.ReadContractErrorType>>;
|
|
3554
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
3564
3555
|
promise: Promise<readonly {
|
|
3565
3556
|
tickLower: number;
|
|
3566
3557
|
tickUpper: number;
|
|
@@ -3572,7 +3563,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3572
3563
|
borrowedAmount0: bigint;
|
|
3573
3564
|
borrowedAmount1: bigint;
|
|
3574
3565
|
}[]>;
|
|
3575
|
-
queryKey:
|
|
3566
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
3576
3567
|
data: readonly {
|
|
3577
3568
|
tickLower: number;
|
|
3578
3569
|
tickUpper: number;
|
|
@@ -3597,7 +3588,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3597
3588
|
dataUpdatedAt: number;
|
|
3598
3589
|
errorUpdatedAt: number;
|
|
3599
3590
|
failureCount: number;
|
|
3600
|
-
failureReason:
|
|
3591
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
3601
3592
|
errorUpdateCount: number;
|
|
3602
3593
|
isFetched: boolean;
|
|
3603
3594
|
isFetchedAfterMount: boolean;
|
|
@@ -3607,7 +3598,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3607
3598
|
isRefetching: boolean;
|
|
3608
3599
|
isStale: boolean;
|
|
3609
3600
|
isEnabled: boolean;
|
|
3610
|
-
refetch: (options?:
|
|
3601
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
3611
3602
|
tickLower: number;
|
|
3612
3603
|
tickUpper: number;
|
|
3613
3604
|
prevTickLower: number;
|
|
@@ -3617,8 +3608,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3617
3608
|
totalAmount1: bigint;
|
|
3618
3609
|
borrowedAmount0: bigint;
|
|
3619
3610
|
borrowedAmount1: bigint;
|
|
3620
|
-
}[],
|
|
3621
|
-
fetchStatus:
|
|
3611
|
+
}[], viem249.ReadContractErrorType>>;
|
|
3612
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
3622
3613
|
promise: Promise<readonly {
|
|
3623
3614
|
tickLower: number;
|
|
3624
3615
|
tickUpper: number;
|
|
@@ -3630,7 +3621,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3630
3621
|
borrowedAmount0: bigint;
|
|
3631
3622
|
borrowedAmount1: bigint;
|
|
3632
3623
|
}[]>;
|
|
3633
|
-
queryKey:
|
|
3624
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
3634
3625
|
data: readonly {
|
|
3635
3626
|
tickLower: number;
|
|
3636
3627
|
tickUpper: number;
|
|
@@ -3690,14 +3681,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
3690
3681
|
borrowedAmount0: Amount;
|
|
3691
3682
|
borrowedAmount1: Amount;
|
|
3692
3683
|
blocksCount: bigint;
|
|
3693
|
-
refetch: (options?:
|
|
3684
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem249.ReadContractErrorType>>;
|
|
3694
3685
|
};
|
|
3695
3686
|
//#endregion
|
|
3696
3687
|
//#region src/hooks/useLens.d.ts
|
|
3697
3688
|
declare const useLens: () => {
|
|
3698
3689
|
timelockLens: {
|
|
3699
3690
|
read: {
|
|
3700
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
3691
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
3701
3692
|
readonly type: "function";
|
|
3702
3693
|
readonly name: "batchGetRefTick";
|
|
3703
3694
|
readonly inputs: readonly [{
|
|
@@ -4371,7 +4362,7 @@ declare const useLens: () => {
|
|
|
4371
4362
|
}];
|
|
4372
4363
|
readonly stateMutability: "view";
|
|
4373
4364
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
4374
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
4365
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
4375
4366
|
readonly type: "function";
|
|
4376
4367
|
readonly name: "batchGetRefTick";
|
|
4377
4368
|
readonly inputs: readonly [{
|
|
@@ -5055,7 +5046,7 @@ declare const useLens: () => {
|
|
|
5055
5046
|
borrowedAmount0: bigint;
|
|
5056
5047
|
borrowedAmount1: bigint;
|
|
5057
5048
|
}[]>;
|
|
5058
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
5049
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
5059
5050
|
readonly type: "function";
|
|
5060
5051
|
readonly name: "batchGetRefTick";
|
|
5061
5052
|
readonly inputs: readonly [{
|
|
@@ -5746,7 +5737,7 @@ declare const useLens: () => {
|
|
|
5746
5737
|
expiresAt: number;
|
|
5747
5738
|
liquidities: readonly bigint[];
|
|
5748
5739
|
}[], bigint, boolean]>;
|
|
5749
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
5740
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
5750
5741
|
readonly type: "function";
|
|
5751
5742
|
readonly name: "batchGetRefTick";
|
|
5752
5743
|
readonly inputs: readonly [{
|
|
@@ -6420,7 +6411,7 @@ declare const useLens: () => {
|
|
|
6420
6411
|
}];
|
|
6421
6412
|
readonly stateMutability: "view";
|
|
6422
6413
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
6423
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
6414
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
6424
6415
|
readonly type: "function";
|
|
6425
6416
|
readonly name: "batchGetRefTick";
|
|
6426
6417
|
readonly inputs: readonly [{
|
|
@@ -7107,7 +7098,7 @@ declare const useLens: () => {
|
|
|
7107
7098
|
payoutAssetName: string;
|
|
7108
7099
|
optionsCount: bigint;
|
|
7109
7100
|
}>;
|
|
7110
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
7101
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
7111
7102
|
readonly type: "function";
|
|
7112
7103
|
readonly name: "batchGetRefTick";
|
|
7113
7104
|
readonly inputs: readonly [{
|
|
@@ -7781,7 +7772,7 @@ declare const useLens: () => {
|
|
|
7781
7772
|
}];
|
|
7782
7773
|
readonly stateMutability: "view";
|
|
7783
7774
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
7784
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
7775
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
7785
7776
|
readonly type: "function";
|
|
7786
7777
|
readonly name: "batchGetRefTick";
|
|
7787
7778
|
readonly inputs: readonly [{
|
|
@@ -8455,7 +8446,7 @@ declare const useLens: () => {
|
|
|
8455
8446
|
}];
|
|
8456
8447
|
readonly stateMutability: "view";
|
|
8457
8448
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
8458
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
8449
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
8459
8450
|
readonly type: "function";
|
|
8460
8451
|
readonly name: "batchGetRefTick";
|
|
8461
8452
|
readonly inputs: readonly [{
|
|
@@ -9146,7 +9137,7 @@ declare const useLens: () => {
|
|
|
9146
9137
|
expiresAt: number;
|
|
9147
9138
|
liquidities: readonly bigint[];
|
|
9148
9139
|
}>;
|
|
9149
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
9140
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
9150
9141
|
readonly type: "function";
|
|
9151
9142
|
readonly name: "batchGetRefTick";
|
|
9152
9143
|
readonly inputs: readonly [{
|
|
@@ -9837,7 +9828,7 @@ declare const useLens: () => {
|
|
|
9837
9828
|
expiresAt: number;
|
|
9838
9829
|
liquidities: readonly bigint[];
|
|
9839
9830
|
}[]>;
|
|
9840
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
9831
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
9841
9832
|
readonly type: "function";
|
|
9842
9833
|
readonly name: "batchGetRefTick";
|
|
9843
9834
|
readonly inputs: readonly [{
|
|
@@ -10522,7 +10513,7 @@ declare const useLens: () => {
|
|
|
10522
10513
|
tickSpacing: number;
|
|
10523
10514
|
fee: number;
|
|
10524
10515
|
}>;
|
|
10525
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
10516
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
10526
10517
|
readonly type: "function";
|
|
10527
10518
|
readonly name: "batchGetRefTick";
|
|
10528
10519
|
readonly inputs: readonly [{
|
|
@@ -11196,7 +11187,7 @@ declare const useLens: () => {
|
|
|
11196
11187
|
}];
|
|
11197
11188
|
readonly stateMutability: "view";
|
|
11198
11189
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
11199
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
11190
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
11200
11191
|
readonly type: "function";
|
|
11201
11192
|
readonly name: "batchGetRefTick";
|
|
11202
11193
|
readonly inputs: readonly [{
|
|
@@ -11887,7 +11878,7 @@ declare const useLens: () => {
|
|
|
11887
11878
|
expiresAt: number;
|
|
11888
11879
|
liquidities: readonly bigint[];
|
|
11889
11880
|
}[], bigint, boolean]>;
|
|
11890
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
11881
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
11891
11882
|
readonly type: "function";
|
|
11892
11883
|
readonly name: "batchGetRefTick";
|
|
11893
11884
|
readonly inputs: readonly [{
|
|
@@ -13240,7 +13231,7 @@ declare const useLens: () => {
|
|
|
13240
13231
|
} | undefined;
|
|
13241
13232
|
uniswapLens: {
|
|
13242
13233
|
read: {
|
|
13243
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
13234
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
13244
13235
|
readonly type: "function";
|
|
13245
13236
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13246
13237
|
readonly inputs: readonly [{
|
|
@@ -13861,7 +13852,7 @@ declare const useLens: () => {
|
|
|
13861
13852
|
}];
|
|
13862
13853
|
readonly stateMutability: "pure";
|
|
13863
13854
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13864
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
13855
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
13865
13856
|
readonly type: "function";
|
|
13866
13857
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13867
13858
|
readonly inputs: readonly [{
|
|
@@ -14482,7 +14473,7 @@ declare const useLens: () => {
|
|
|
14482
14473
|
}];
|
|
14483
14474
|
readonly stateMutability: "pure";
|
|
14484
14475
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14485
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
14476
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
14486
14477
|
readonly type: "function";
|
|
14487
14478
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14488
14479
|
readonly inputs: readonly [{
|
|
@@ -15103,7 +15094,7 @@ declare const useLens: () => {
|
|
|
15103
15094
|
}];
|
|
15104
15095
|
readonly stateMutability: "pure";
|
|
15105
15096
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
15106
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
15097
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
15107
15098
|
readonly type: "function";
|
|
15108
15099
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15109
15100
|
readonly inputs: readonly [{
|
|
@@ -15724,7 +15715,7 @@ declare const useLens: () => {
|
|
|
15724
15715
|
}];
|
|
15725
15716
|
readonly stateMutability: "pure";
|
|
15726
15717
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
15727
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
15718
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
15728
15719
|
readonly type: "function";
|
|
15729
15720
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15730
15721
|
readonly inputs: readonly [{
|
|
@@ -16345,7 +16336,7 @@ declare const useLens: () => {
|
|
|
16345
16336
|
}];
|
|
16346
16337
|
readonly stateMutability: "pure";
|
|
16347
16338
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
16348
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
16339
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
16349
16340
|
readonly type: "function";
|
|
16350
16341
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16351
16342
|
readonly inputs: readonly [{
|
|
@@ -16966,7 +16957,7 @@ declare const useLens: () => {
|
|
|
16966
16957
|
}];
|
|
16967
16958
|
readonly stateMutability: "pure";
|
|
16968
16959
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
16969
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
16960
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
16970
16961
|
readonly type: "function";
|
|
16971
16962
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16972
16963
|
readonly inputs: readonly [{
|
|
@@ -17587,7 +17578,7 @@ declare const useLens: () => {
|
|
|
17587
17578
|
}];
|
|
17588
17579
|
readonly stateMutability: "pure";
|
|
17589
17580
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
17590
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
17581
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
17591
17582
|
readonly type: "function";
|
|
17592
17583
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17593
17584
|
readonly inputs: readonly [{
|
|
@@ -18208,7 +18199,7 @@ declare const useLens: () => {
|
|
|
18208
18199
|
}];
|
|
18209
18200
|
readonly stateMutability: "pure";
|
|
18210
18201
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18211
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
18202
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
18212
18203
|
readonly type: "function";
|
|
18213
18204
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18214
18205
|
readonly inputs: readonly [{
|
|
@@ -18829,7 +18820,7 @@ declare const useLens: () => {
|
|
|
18829
18820
|
}];
|
|
18830
18821
|
readonly stateMutability: "pure";
|
|
18831
18822
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18832
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
18823
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
18833
18824
|
readonly type: "function";
|
|
18834
18825
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18835
18826
|
readonly inputs: readonly [{
|
|
@@ -19450,7 +19441,7 @@ declare const useLens: () => {
|
|
|
19450
19441
|
}];
|
|
19451
19442
|
readonly stateMutability: "pure";
|
|
19452
19443
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
19453
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
19444
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
19454
19445
|
readonly type: "function";
|
|
19455
19446
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19456
19447
|
readonly inputs: readonly [{
|
|
@@ -20071,7 +20062,7 @@ declare const useLens: () => {
|
|
|
20071
20062
|
}];
|
|
20072
20063
|
readonly stateMutability: "pure";
|
|
20073
20064
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20074
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
20065
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
20075
20066
|
readonly type: "function";
|
|
20076
20067
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20077
20068
|
readonly inputs: readonly [{
|
|
@@ -20692,7 +20683,7 @@ declare const useLens: () => {
|
|
|
20692
20683
|
}];
|
|
20693
20684
|
readonly stateMutability: "pure";
|
|
20694
20685
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20695
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
20686
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
20696
20687
|
readonly type: "function";
|
|
20697
20688
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20698
20689
|
readonly inputs: readonly [{
|
|
@@ -21313,7 +21304,7 @@ declare const useLens: () => {
|
|
|
21313
21304
|
}];
|
|
21314
21305
|
readonly stateMutability: "pure";
|
|
21315
21306
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
21316
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
21307
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
21317
21308
|
readonly type: "function";
|
|
21318
21309
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21319
21310
|
readonly inputs: readonly [{
|
|
@@ -21934,7 +21925,7 @@ declare const useLens: () => {
|
|
|
21934
21925
|
}];
|
|
21935
21926
|
readonly stateMutability: "pure";
|
|
21936
21927
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21937
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
21928
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
21938
21929
|
readonly type: "function";
|
|
21939
21930
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21940
21931
|
readonly inputs: readonly [{
|
|
@@ -22555,7 +22546,7 @@ declare const useLens: () => {
|
|
|
22555
22546
|
}];
|
|
22556
22547
|
readonly stateMutability: "pure";
|
|
22557
22548
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
22558
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
22549
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
22559
22550
|
readonly type: "function";
|
|
22560
22551
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
22561
22552
|
readonly inputs: readonly [{
|
|
@@ -23176,7 +23167,7 @@ declare const useLens: () => {
|
|
|
23176
23167
|
}];
|
|
23177
23168
|
readonly stateMutability: "pure";
|
|
23178
23169
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
23179
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
23170
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
23180
23171
|
readonly type: "function";
|
|
23181
23172
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23182
23173
|
readonly inputs: readonly [{
|
|
@@ -23797,7 +23788,7 @@ declare const useLens: () => {
|
|
|
23797
23788
|
}];
|
|
23798
23789
|
readonly stateMutability: "pure";
|
|
23799
23790
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
23800
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
23791
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
23801
23792
|
readonly type: "function";
|
|
23802
23793
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23803
23794
|
readonly inputs: readonly [{
|
|
@@ -24418,7 +24409,7 @@ declare const useLens: () => {
|
|
|
24418
24409
|
}];
|
|
24419
24410
|
readonly stateMutability: "pure";
|
|
24420
24411
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
24421
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
24412
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
24422
24413
|
readonly type: "function";
|
|
24423
24414
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
24424
24415
|
readonly inputs: readonly [{
|
|
@@ -25039,7 +25030,7 @@ declare const useLens: () => {
|
|
|
25039
25030
|
}];
|
|
25040
25031
|
readonly stateMutability: "pure";
|
|
25041
25032
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
25042
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
25033
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
25043
25034
|
readonly type: "function";
|
|
25044
25035
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25045
25036
|
readonly inputs: readonly [{
|
|
@@ -25660,7 +25651,7 @@ declare const useLens: () => {
|
|
|
25660
25651
|
}];
|
|
25661
25652
|
readonly stateMutability: "pure";
|
|
25662
25653
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25663
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
25654
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
25664
25655
|
readonly type: "function";
|
|
25665
25656
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25666
25657
|
readonly inputs: readonly [{
|
|
@@ -26281,7 +26272,7 @@ declare const useLens: () => {
|
|
|
26281
26272
|
}];
|
|
26282
26273
|
readonly stateMutability: "pure";
|
|
26283
26274
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26284
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
26275
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
26285
26276
|
readonly type: "function";
|
|
26286
26277
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26287
26278
|
readonly inputs: readonly [{
|
|
@@ -26902,7 +26893,7 @@ declare const useLens: () => {
|
|
|
26902
26893
|
}];
|
|
26903
26894
|
readonly stateMutability: "pure";
|
|
26904
26895
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26905
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
26896
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
26906
26897
|
readonly type: "function";
|
|
26907
26898
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26908
26899
|
readonly inputs: readonly [{
|
|
@@ -27523,7 +27514,7 @@ declare const useLens: () => {
|
|
|
27523
27514
|
}];
|
|
27524
27515
|
readonly stateMutability: "pure";
|
|
27525
27516
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27526
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
27517
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
27527
27518
|
readonly type: "function";
|
|
27528
27519
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
27529
27520
|
readonly inputs: readonly [{
|
|
@@ -28144,7 +28135,7 @@ declare const useLens: () => {
|
|
|
28144
28135
|
}];
|
|
28145
28136
|
readonly stateMutability: "pure";
|
|
28146
28137
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
28147
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
28138
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
28148
28139
|
readonly type: "function";
|
|
28149
28140
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
28150
28141
|
readonly inputs: readonly [{
|
|
@@ -28765,7 +28756,7 @@ declare const useLens: () => {
|
|
|
28765
28756
|
}];
|
|
28766
28757
|
readonly stateMutability: "pure";
|
|
28767
28758
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
28768
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
28759
|
+
getPriceAtTick: (args: readonly [number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
28769
28760
|
readonly type: "function";
|
|
28770
28761
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
28771
28762
|
readonly inputs: readonly [{
|