timelock-sdk 0.0.8 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.cjs +29 -1
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +356 -113
- package/dist/client.d.ts +317 -74
- package/dist/client.js +31 -3
- package/dist/client.js.map +1 -1
- package/dist/{index-CCFK8AUb.d.cts → index-BCGDfKXC.d.cts} +122 -121
- package/dist/{index-sG69Fv-T.d.ts → index-D6LBNb6K.d.ts} +122 -121
- package/dist/numberUtils-DB5N1e6G.js.map +1 -1
- package/dist/numberUtils-DRGhFDHZ.cjs.map +1 -1
- package/dist/package.d.cts +2 -2
- package/dist/package.d.ts +2 -2
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { Amount, TimelockMarket, TimelockVault, UniswapMathLens, UniswapPool } from "./index-
|
|
2
|
-
import * as
|
|
1
|
+
import { Amount, TimelockMarket, TimelockMarketData, TimelockVault, UniswapMathLens, UniswapPool } from "./index-D6LBNb6K.js";
|
|
2
|
+
import * as viem382 from "viem";
|
|
3
3
|
import { Address } from "viem";
|
|
4
4
|
import React, { ReactNode } from "react";
|
|
5
5
|
import { GraphQLClient } from "graphql-request";
|
|
6
|
+
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
6
7
|
import "graphql";
|
|
7
8
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
8
9
|
import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
@@ -64,6 +65,8 @@ type GetActiveUserOptionsQuery = {
|
|
|
64
65
|
optionType: any;
|
|
65
66
|
strikeTick: number;
|
|
66
67
|
entryTick: number;
|
|
68
|
+
strikePrice: any;
|
|
69
|
+
entryPrice: any;
|
|
67
70
|
expiresAt: number;
|
|
68
71
|
createdAt: number;
|
|
69
72
|
premiumPaid: any;
|
|
@@ -71,6 +74,8 @@ type GetActiveUserOptionsQuery = {
|
|
|
71
74
|
marketAddr: string;
|
|
72
75
|
liquiditiesAtOpen: Array<any>;
|
|
73
76
|
liquiditiesCurrent: Array<any>;
|
|
77
|
+
positionSizeAtOpen: any;
|
|
78
|
+
positionSizeCurrent: any;
|
|
74
79
|
fullyExercised: boolean;
|
|
75
80
|
exerciseEvents: Array<{
|
|
76
81
|
__typename: 'ExerciseOptionEvent';
|
|
@@ -94,6 +99,8 @@ type GetClosedUserOptionsQuery = {
|
|
|
94
99
|
optionType: any;
|
|
95
100
|
strikeTick: number;
|
|
96
101
|
entryTick: number;
|
|
102
|
+
strikePrice: any;
|
|
103
|
+
entryPrice: any;
|
|
97
104
|
expiresAt: number;
|
|
98
105
|
createdAt: number;
|
|
99
106
|
premiumPaid: any;
|
|
@@ -101,6 +108,8 @@ type GetClosedUserOptionsQuery = {
|
|
|
101
108
|
marketAddr: string;
|
|
102
109
|
liquiditiesAtOpen: Array<any>;
|
|
103
110
|
liquiditiesCurrent: Array<any>;
|
|
111
|
+
positionSizeAtOpen: any;
|
|
112
|
+
positionSizeCurrent: any;
|
|
104
113
|
fullyExercised: boolean;
|
|
105
114
|
exerciseEvents: Array<{
|
|
106
115
|
__typename: 'ExerciseOptionEvent';
|
|
@@ -112,25 +121,30 @@ type GetClosedUserOptionsQuery = {
|
|
|
112
121
|
} | null;
|
|
113
122
|
}>;
|
|
114
123
|
};
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
type TimelockMarketData = Required<ReturnType<typeof useMarketData>>;
|
|
118
|
-
declare const useMarketData: (market?: Address | TimelockMarket) => Partial<{
|
|
119
|
-
optionAssetIsToken0: boolean;
|
|
120
|
-
vault: `0x${string}`;
|
|
121
|
-
pool: `0x${string}`;
|
|
122
|
-
optionAsset: `0x${string}`;
|
|
123
|
-
payoutAsset: `0x${string}`;
|
|
124
|
-
optionAssetDecimals: number;
|
|
125
|
-
payoutAssetDecimals: number;
|
|
126
|
-
optionAssetSymbol: string;
|
|
127
|
-
payoutAssetSymbol: string;
|
|
128
|
-
optionAssetName: string;
|
|
129
|
-
payoutAssetName: string;
|
|
130
|
-
optionsCount: bigint;
|
|
131
|
-
} & {
|
|
132
|
-
address: Address;
|
|
124
|
+
type GetMarketDataQueryVariables = Exact<{
|
|
125
|
+
marketAddr: Scalars['String']['input'];
|
|
133
126
|
}>;
|
|
127
|
+
type GetMarketDataQuery = {
|
|
128
|
+
__typename: 'query_root';
|
|
129
|
+
TimelockMarket: Array<{
|
|
130
|
+
__typename: 'TimelockMarket';
|
|
131
|
+
id: string;
|
|
132
|
+
optionsCount: any;
|
|
133
|
+
tradersCount: any;
|
|
134
|
+
vault: string;
|
|
135
|
+
pool: string;
|
|
136
|
+
tickSpacing: number;
|
|
137
|
+
optionAssetIsToken0: boolean;
|
|
138
|
+
optionAsset: string;
|
|
139
|
+
payoutAsset: string;
|
|
140
|
+
optionAssetDecimals: number;
|
|
141
|
+
payoutAssetDecimals: number;
|
|
142
|
+
optionAssetSymbol: string;
|
|
143
|
+
payoutAssetSymbol: string;
|
|
144
|
+
optionAssetName: string;
|
|
145
|
+
payoutAssetName: string;
|
|
146
|
+
}>;
|
|
147
|
+
};
|
|
134
148
|
//#endregion
|
|
135
149
|
//#region src/providers/TimelockMarketProvider.d.ts
|
|
136
150
|
declare const TimelockMarketProvider: ({
|
|
@@ -142,7 +156,7 @@ declare const TimelockMarketProvider: ({
|
|
|
142
156
|
marketData?: Partial<TimelockMarketData>;
|
|
143
157
|
envioGraphqlUrl?: string;
|
|
144
158
|
}) => React.JSX.Element;
|
|
145
|
-
declare const useCurrentMarket: () => Partial<
|
|
159
|
+
declare const useCurrentMarket: () => Partial<{
|
|
146
160
|
optionAssetIsToken0: boolean;
|
|
147
161
|
vault: `0x${string}`;
|
|
148
162
|
pool: `0x${string}`;
|
|
@@ -155,9 +169,7 @@ declare const useCurrentMarket: () => Partial<Required<Partial<{
|
|
|
155
169
|
optionAssetName: string;
|
|
156
170
|
payoutAssetName: string;
|
|
157
171
|
optionsCount: bigint;
|
|
158
|
-
}
|
|
159
|
-
address: Address;
|
|
160
|
-
}>>>;
|
|
172
|
+
}>;
|
|
161
173
|
declare const useTimelockConfig: () => {
|
|
162
174
|
lensAddr: `0x${string}` | undefined;
|
|
163
175
|
uniswapMathLensAddr: `0x${string}` | undefined;
|
|
@@ -165,6 +177,7 @@ declare const useTimelockConfig: () => {
|
|
|
165
177
|
graphqlClient: {
|
|
166
178
|
GetActiveUserOptions(variables: GetActiveUserOptionsQueryVariables, requestHeaders?: any, signal?: RequestInit["signal"]): Promise<GetActiveUserOptionsQuery>;
|
|
167
179
|
GetClosedUserOptions(variables: GetClosedUserOptionsQueryVariables, requestHeaders?: any, signal?: RequestInit["signal"]): Promise<GetClosedUserOptionsQuery>;
|
|
180
|
+
GetMarketData(variables: GetMarketDataQueryVariables, requestHeaders?: any, signal?: RequestInit["signal"]): Promise<GetMarketDataQuery>;
|
|
168
181
|
} | undefined;
|
|
169
182
|
};
|
|
170
183
|
//#endregion
|
|
@@ -179,6 +192,26 @@ declare const useExerciseOption: (market?: Address | TimelockMarket) => {
|
|
|
179
192
|
isLoading: boolean;
|
|
180
193
|
};
|
|
181
194
|
//#endregion
|
|
195
|
+
//#region src/hooks/market/useMarketData.d.ts
|
|
196
|
+
declare const useMarketData: (market?: Address | TimelockMarket) => Partial<NonUndefinedGuard<{
|
|
197
|
+
pool: Address;
|
|
198
|
+
vault: Address;
|
|
199
|
+
optionAsset: Address;
|
|
200
|
+
payoutAsset: Address;
|
|
201
|
+
optionsCount: bigint;
|
|
202
|
+
tradersCount: bigint;
|
|
203
|
+
__typename: "TimelockMarket";
|
|
204
|
+
id: string;
|
|
205
|
+
tickSpacing: number;
|
|
206
|
+
optionAssetIsToken0: boolean;
|
|
207
|
+
optionAssetDecimals: number;
|
|
208
|
+
payoutAssetDecimals: number;
|
|
209
|
+
optionAssetSymbol: string;
|
|
210
|
+
payoutAssetSymbol: string;
|
|
211
|
+
optionAssetName: string;
|
|
212
|
+
payoutAssetName: string;
|
|
213
|
+
} | undefined>>;
|
|
214
|
+
//#endregion
|
|
182
215
|
//#region src/hooks/market/useMaxPositionSize.d.ts
|
|
183
216
|
declare const useMaxPositionSize: (market: Address | TimelockMarket | undefined, strikeTick?: number, maxBorrowableRange?: number) => {
|
|
184
217
|
maxCallSize: Amount | undefined;
|
|
@@ -197,21 +230,15 @@ declare const useMintOption: (market?: Address | TimelockMarket) => {
|
|
|
197
230
|
isLoading: boolean;
|
|
198
231
|
};
|
|
199
232
|
//#endregion
|
|
200
|
-
//#region src/hooks/market/
|
|
201
|
-
declare const
|
|
233
|
+
//#region src/hooks/market/useOptionPnl.d.ts
|
|
234
|
+
declare const useOptionPnl: (optionData: {
|
|
202
235
|
marketAddr: Address;
|
|
203
236
|
optionType: "CALL" | "PUT";
|
|
204
|
-
|
|
205
|
-
liquiditiesCurrent: bigint[];
|
|
206
|
-
strikeTick: number;
|
|
237
|
+
positionSizeCurrent: bigint;
|
|
207
238
|
entryTick: number;
|
|
208
239
|
}) => {
|
|
209
|
-
positionSizeCurrent: Amount | undefined;
|
|
210
|
-
positionSizeAtOpen: Amount | undefined;
|
|
211
240
|
displayPnl: Amount | undefined;
|
|
212
241
|
unrealizedPayout: Amount | undefined;
|
|
213
|
-
strikePrice: Amount | undefined;
|
|
214
|
-
entryPrice: Amount | undefined;
|
|
215
242
|
};
|
|
216
243
|
//#endregion
|
|
217
244
|
//#region src/hooks/market/useOptionPremium.d.ts
|
|
@@ -252,6 +279,10 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
252
279
|
realizedPayout: bigint;
|
|
253
280
|
liquiditiesAtOpen: bigint[];
|
|
254
281
|
liquiditiesCurrent: bigint[];
|
|
282
|
+
positionSizeAtOpen: bigint;
|
|
283
|
+
positionSizeCurrent: bigint;
|
|
284
|
+
strikePrice: bigint;
|
|
285
|
+
entryPrice: bigint;
|
|
255
286
|
__typename: "UserOption";
|
|
256
287
|
ownerAddr: string;
|
|
257
288
|
strikeTick: number;
|
|
@@ -277,6 +308,10 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
277
308
|
realizedPayout: bigint;
|
|
278
309
|
liquiditiesAtOpen: bigint[];
|
|
279
310
|
liquiditiesCurrent: bigint[];
|
|
311
|
+
positionSizeAtOpen: bigint;
|
|
312
|
+
positionSizeCurrent: bigint;
|
|
313
|
+
strikePrice: bigint;
|
|
314
|
+
entryPrice: bigint;
|
|
280
315
|
__typename: "UserOption";
|
|
281
316
|
ownerAddr: string;
|
|
282
317
|
strikeTick: number;
|
|
@@ -301,6 +336,10 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
301
336
|
realizedPayout: bigint;
|
|
302
337
|
liquiditiesAtOpen: bigint[];
|
|
303
338
|
liquiditiesCurrent: bigint[];
|
|
339
|
+
positionSizeAtOpen: bigint;
|
|
340
|
+
positionSizeCurrent: bigint;
|
|
341
|
+
strikePrice: bigint;
|
|
342
|
+
entryPrice: bigint;
|
|
304
343
|
__typename: "UserOption";
|
|
305
344
|
ownerAddr: string;
|
|
306
345
|
strikeTick: number;
|
|
@@ -348,6 +387,10 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
348
387
|
realizedPayout: bigint;
|
|
349
388
|
liquiditiesAtOpen: bigint[];
|
|
350
389
|
liquiditiesCurrent: bigint[];
|
|
390
|
+
positionSizeAtOpen: bigint;
|
|
391
|
+
positionSizeCurrent: bigint;
|
|
392
|
+
strikePrice: bigint;
|
|
393
|
+
entryPrice: bigint;
|
|
351
394
|
__typename: "UserOption";
|
|
352
395
|
ownerAddr: string;
|
|
353
396
|
strikeTick: number;
|
|
@@ -373,6 +416,10 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
373
416
|
realizedPayout: bigint;
|
|
374
417
|
liquiditiesAtOpen: bigint[];
|
|
375
418
|
liquiditiesCurrent: bigint[];
|
|
419
|
+
positionSizeAtOpen: bigint;
|
|
420
|
+
positionSizeCurrent: bigint;
|
|
421
|
+
strikePrice: bigint;
|
|
422
|
+
entryPrice: bigint;
|
|
376
423
|
__typename: "UserOption";
|
|
377
424
|
ownerAddr: string;
|
|
378
425
|
strikeTick: number;
|
|
@@ -397,6 +444,10 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
397
444
|
realizedPayout: bigint;
|
|
398
445
|
liquiditiesAtOpen: bigint[];
|
|
399
446
|
liquiditiesCurrent: bigint[];
|
|
447
|
+
positionSizeAtOpen: bigint;
|
|
448
|
+
positionSizeCurrent: bigint;
|
|
449
|
+
strikePrice: bigint;
|
|
450
|
+
entryPrice: bigint;
|
|
400
451
|
__typename: "UserOption";
|
|
401
452
|
ownerAddr: string;
|
|
402
453
|
strikeTick: number;
|
|
@@ -444,6 +495,10 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
444
495
|
realizedPayout: bigint;
|
|
445
496
|
liquiditiesAtOpen: bigint[];
|
|
446
497
|
liquiditiesCurrent: bigint[];
|
|
498
|
+
positionSizeAtOpen: bigint;
|
|
499
|
+
positionSizeCurrent: bigint;
|
|
500
|
+
strikePrice: bigint;
|
|
501
|
+
entryPrice: bigint;
|
|
447
502
|
__typename: "UserOption";
|
|
448
503
|
ownerAddr: string;
|
|
449
504
|
strikeTick: number;
|
|
@@ -469,6 +524,10 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
469
524
|
realizedPayout: bigint;
|
|
470
525
|
liquiditiesAtOpen: bigint[];
|
|
471
526
|
liquiditiesCurrent: bigint[];
|
|
527
|
+
positionSizeAtOpen: bigint;
|
|
528
|
+
positionSizeCurrent: bigint;
|
|
529
|
+
strikePrice: bigint;
|
|
530
|
+
entryPrice: bigint;
|
|
472
531
|
__typename: "UserOption";
|
|
473
532
|
ownerAddr: string;
|
|
474
533
|
strikeTick: number;
|
|
@@ -493,6 +552,10 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
493
552
|
realizedPayout: bigint;
|
|
494
553
|
liquiditiesAtOpen: bigint[];
|
|
495
554
|
liquiditiesCurrent: bigint[];
|
|
555
|
+
positionSizeAtOpen: bigint;
|
|
556
|
+
positionSizeCurrent: bigint;
|
|
557
|
+
strikePrice: bigint;
|
|
558
|
+
entryPrice: bigint;
|
|
496
559
|
__typename: "UserOption";
|
|
497
560
|
ownerAddr: string;
|
|
498
561
|
strikeTick: number;
|
|
@@ -540,6 +603,10 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
540
603
|
realizedPayout: bigint;
|
|
541
604
|
liquiditiesAtOpen: bigint[];
|
|
542
605
|
liquiditiesCurrent: bigint[];
|
|
606
|
+
positionSizeAtOpen: bigint;
|
|
607
|
+
positionSizeCurrent: bigint;
|
|
608
|
+
strikePrice: bigint;
|
|
609
|
+
entryPrice: bigint;
|
|
543
610
|
__typename: "UserOption";
|
|
544
611
|
ownerAddr: string;
|
|
545
612
|
strikeTick: number;
|
|
@@ -565,6 +632,10 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
565
632
|
realizedPayout: bigint;
|
|
566
633
|
liquiditiesAtOpen: bigint[];
|
|
567
634
|
liquiditiesCurrent: bigint[];
|
|
635
|
+
positionSizeAtOpen: bigint;
|
|
636
|
+
positionSizeCurrent: bigint;
|
|
637
|
+
strikePrice: bigint;
|
|
638
|
+
entryPrice: bigint;
|
|
568
639
|
__typename: "UserOption";
|
|
569
640
|
ownerAddr: string;
|
|
570
641
|
strikeTick: number;
|
|
@@ -589,6 +660,10 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
589
660
|
realizedPayout: bigint;
|
|
590
661
|
liquiditiesAtOpen: bigint[];
|
|
591
662
|
liquiditiesCurrent: bigint[];
|
|
663
|
+
positionSizeAtOpen: bigint;
|
|
664
|
+
positionSizeCurrent: bigint;
|
|
665
|
+
strikePrice: bigint;
|
|
666
|
+
entryPrice: bigint;
|
|
592
667
|
__typename: "UserOption";
|
|
593
668
|
ownerAddr: string;
|
|
594
669
|
strikeTick: number;
|
|
@@ -636,6 +711,10 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
636
711
|
realizedPayout: bigint;
|
|
637
712
|
liquiditiesAtOpen: bigint[];
|
|
638
713
|
liquiditiesCurrent: bigint[];
|
|
714
|
+
positionSizeAtOpen: bigint;
|
|
715
|
+
positionSizeCurrent: bigint;
|
|
716
|
+
strikePrice: bigint;
|
|
717
|
+
entryPrice: bigint;
|
|
639
718
|
__typename: "UserOption";
|
|
640
719
|
ownerAddr: string;
|
|
641
720
|
strikeTick: number;
|
|
@@ -661,6 +740,10 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
661
740
|
realizedPayout: bigint;
|
|
662
741
|
liquiditiesAtOpen: bigint[];
|
|
663
742
|
liquiditiesCurrent: bigint[];
|
|
743
|
+
positionSizeAtOpen: bigint;
|
|
744
|
+
positionSizeCurrent: bigint;
|
|
745
|
+
strikePrice: bigint;
|
|
746
|
+
entryPrice: bigint;
|
|
664
747
|
__typename: "UserOption";
|
|
665
748
|
ownerAddr: string;
|
|
666
749
|
strikeTick: number;
|
|
@@ -685,6 +768,10 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
685
768
|
realizedPayout: bigint;
|
|
686
769
|
liquiditiesAtOpen: bigint[];
|
|
687
770
|
liquiditiesCurrent: bigint[];
|
|
771
|
+
positionSizeAtOpen: bigint;
|
|
772
|
+
positionSizeCurrent: bigint;
|
|
773
|
+
strikePrice: bigint;
|
|
774
|
+
entryPrice: bigint;
|
|
688
775
|
__typename: "UserOption";
|
|
689
776
|
ownerAddr: string;
|
|
690
777
|
strikeTick: number;
|
|
@@ -732,6 +819,10 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
732
819
|
realizedPayout: bigint;
|
|
733
820
|
liquiditiesAtOpen: bigint[];
|
|
734
821
|
liquiditiesCurrent: bigint[];
|
|
822
|
+
positionSizeAtOpen: bigint;
|
|
823
|
+
positionSizeCurrent: bigint;
|
|
824
|
+
strikePrice: bigint;
|
|
825
|
+
entryPrice: bigint;
|
|
735
826
|
__typename: "UserOption";
|
|
736
827
|
ownerAddr: string;
|
|
737
828
|
strikeTick: number;
|
|
@@ -757,6 +848,10 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
757
848
|
realizedPayout: bigint;
|
|
758
849
|
liquiditiesAtOpen: bigint[];
|
|
759
850
|
liquiditiesCurrent: bigint[];
|
|
851
|
+
positionSizeAtOpen: bigint;
|
|
852
|
+
positionSizeCurrent: bigint;
|
|
853
|
+
strikePrice: bigint;
|
|
854
|
+
entryPrice: bigint;
|
|
760
855
|
__typename: "UserOption";
|
|
761
856
|
ownerAddr: string;
|
|
762
857
|
strikeTick: number;
|
|
@@ -781,6 +876,10 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
781
876
|
realizedPayout: bigint;
|
|
782
877
|
liquiditiesAtOpen: bigint[];
|
|
783
878
|
liquiditiesCurrent: bigint[];
|
|
879
|
+
positionSizeAtOpen: bigint;
|
|
880
|
+
positionSizeCurrent: bigint;
|
|
881
|
+
strikePrice: bigint;
|
|
882
|
+
entryPrice: bigint;
|
|
784
883
|
__typename: "UserOption";
|
|
785
884
|
ownerAddr: string;
|
|
786
885
|
strikeTick: number;
|
|
@@ -829,6 +928,10 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
829
928
|
realizedPayout: bigint;
|
|
830
929
|
liquiditiesAtOpen: bigint[];
|
|
831
930
|
liquiditiesCurrent: bigint[];
|
|
931
|
+
positionSizeAtOpen: bigint;
|
|
932
|
+
positionSizeCurrent: bigint;
|
|
933
|
+
strikePrice: bigint;
|
|
934
|
+
entryPrice: bigint;
|
|
832
935
|
__typename: "UserOption";
|
|
833
936
|
ownerAddr: string;
|
|
834
937
|
strikeTick: number;
|
|
@@ -854,6 +957,10 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
854
957
|
realizedPayout: bigint;
|
|
855
958
|
liquiditiesAtOpen: bigint[];
|
|
856
959
|
liquiditiesCurrent: bigint[];
|
|
960
|
+
positionSizeAtOpen: bigint;
|
|
961
|
+
positionSizeCurrent: bigint;
|
|
962
|
+
strikePrice: bigint;
|
|
963
|
+
entryPrice: bigint;
|
|
857
964
|
__typename: "UserOption";
|
|
858
965
|
ownerAddr: string;
|
|
859
966
|
strikeTick: number;
|
|
@@ -878,6 +985,10 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
878
985
|
realizedPayout: bigint;
|
|
879
986
|
liquiditiesAtOpen: bigint[];
|
|
880
987
|
liquiditiesCurrent: bigint[];
|
|
988
|
+
positionSizeAtOpen: bigint;
|
|
989
|
+
positionSizeCurrent: bigint;
|
|
990
|
+
strikePrice: bigint;
|
|
991
|
+
entryPrice: bigint;
|
|
881
992
|
__typename: "UserOption";
|
|
882
993
|
ownerAddr: string;
|
|
883
994
|
strikeTick: number;
|
|
@@ -925,6 +1036,10 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
925
1036
|
realizedPayout: bigint;
|
|
926
1037
|
liquiditiesAtOpen: bigint[];
|
|
927
1038
|
liquiditiesCurrent: bigint[];
|
|
1039
|
+
positionSizeAtOpen: bigint;
|
|
1040
|
+
positionSizeCurrent: bigint;
|
|
1041
|
+
strikePrice: bigint;
|
|
1042
|
+
entryPrice: bigint;
|
|
928
1043
|
__typename: "UserOption";
|
|
929
1044
|
ownerAddr: string;
|
|
930
1045
|
strikeTick: number;
|
|
@@ -950,6 +1065,10 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
950
1065
|
realizedPayout: bigint;
|
|
951
1066
|
liquiditiesAtOpen: bigint[];
|
|
952
1067
|
liquiditiesCurrent: bigint[];
|
|
1068
|
+
positionSizeAtOpen: bigint;
|
|
1069
|
+
positionSizeCurrent: bigint;
|
|
1070
|
+
strikePrice: bigint;
|
|
1071
|
+
entryPrice: bigint;
|
|
953
1072
|
__typename: "UserOption";
|
|
954
1073
|
ownerAddr: string;
|
|
955
1074
|
strikeTick: number;
|
|
@@ -974,6 +1093,10 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
974
1093
|
realizedPayout: bigint;
|
|
975
1094
|
liquiditiesAtOpen: bigint[];
|
|
976
1095
|
liquiditiesCurrent: bigint[];
|
|
1096
|
+
positionSizeAtOpen: bigint;
|
|
1097
|
+
positionSizeCurrent: bigint;
|
|
1098
|
+
strikePrice: bigint;
|
|
1099
|
+
entryPrice: bigint;
|
|
977
1100
|
__typename: "UserOption";
|
|
978
1101
|
ownerAddr: string;
|
|
979
1102
|
strikeTick: number;
|
|
@@ -1021,6 +1144,10 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1021
1144
|
realizedPayout: bigint;
|
|
1022
1145
|
liquiditiesAtOpen: bigint[];
|
|
1023
1146
|
liquiditiesCurrent: bigint[];
|
|
1147
|
+
positionSizeAtOpen: bigint;
|
|
1148
|
+
positionSizeCurrent: bigint;
|
|
1149
|
+
strikePrice: bigint;
|
|
1150
|
+
entryPrice: bigint;
|
|
1024
1151
|
__typename: "UserOption";
|
|
1025
1152
|
ownerAddr: string;
|
|
1026
1153
|
strikeTick: number;
|
|
@@ -1046,6 +1173,10 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1046
1173
|
realizedPayout: bigint;
|
|
1047
1174
|
liquiditiesAtOpen: bigint[];
|
|
1048
1175
|
liquiditiesCurrent: bigint[];
|
|
1176
|
+
positionSizeAtOpen: bigint;
|
|
1177
|
+
positionSizeCurrent: bigint;
|
|
1178
|
+
strikePrice: bigint;
|
|
1179
|
+
entryPrice: bigint;
|
|
1049
1180
|
__typename: "UserOption";
|
|
1050
1181
|
ownerAddr: string;
|
|
1051
1182
|
strikeTick: number;
|
|
@@ -1070,6 +1201,10 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1070
1201
|
realizedPayout: bigint;
|
|
1071
1202
|
liquiditiesAtOpen: bigint[];
|
|
1072
1203
|
liquiditiesCurrent: bigint[];
|
|
1204
|
+
positionSizeAtOpen: bigint;
|
|
1205
|
+
positionSizeCurrent: bigint;
|
|
1206
|
+
strikePrice: bigint;
|
|
1207
|
+
entryPrice: bigint;
|
|
1073
1208
|
__typename: "UserOption";
|
|
1074
1209
|
ownerAddr: string;
|
|
1075
1210
|
strikeTick: number;
|
|
@@ -1117,6 +1252,10 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1117
1252
|
realizedPayout: bigint;
|
|
1118
1253
|
liquiditiesAtOpen: bigint[];
|
|
1119
1254
|
liquiditiesCurrent: bigint[];
|
|
1255
|
+
positionSizeAtOpen: bigint;
|
|
1256
|
+
positionSizeCurrent: bigint;
|
|
1257
|
+
strikePrice: bigint;
|
|
1258
|
+
entryPrice: bigint;
|
|
1120
1259
|
__typename: "UserOption";
|
|
1121
1260
|
ownerAddr: string;
|
|
1122
1261
|
strikeTick: number;
|
|
@@ -1142,6 +1281,10 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1142
1281
|
realizedPayout: bigint;
|
|
1143
1282
|
liquiditiesAtOpen: bigint[];
|
|
1144
1283
|
liquiditiesCurrent: bigint[];
|
|
1284
|
+
positionSizeAtOpen: bigint;
|
|
1285
|
+
positionSizeCurrent: bigint;
|
|
1286
|
+
strikePrice: bigint;
|
|
1287
|
+
entryPrice: bigint;
|
|
1145
1288
|
__typename: "UserOption";
|
|
1146
1289
|
ownerAddr: string;
|
|
1147
1290
|
strikeTick: number;
|
|
@@ -1166,6 +1309,10 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1166
1309
|
realizedPayout: bigint;
|
|
1167
1310
|
liquiditiesAtOpen: bigint[];
|
|
1168
1311
|
liquiditiesCurrent: bigint[];
|
|
1312
|
+
positionSizeAtOpen: bigint;
|
|
1313
|
+
positionSizeCurrent: bigint;
|
|
1314
|
+
strikePrice: bigint;
|
|
1315
|
+
entryPrice: bigint;
|
|
1169
1316
|
__typename: "UserOption";
|
|
1170
1317
|
ownerAddr: string;
|
|
1171
1318
|
strikeTick: number;
|
|
@@ -1213,6 +1360,10 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1213
1360
|
realizedPayout: bigint;
|
|
1214
1361
|
liquiditiesAtOpen: bigint[];
|
|
1215
1362
|
liquiditiesCurrent: bigint[];
|
|
1363
|
+
positionSizeAtOpen: bigint;
|
|
1364
|
+
positionSizeCurrent: bigint;
|
|
1365
|
+
strikePrice: bigint;
|
|
1366
|
+
entryPrice: bigint;
|
|
1216
1367
|
__typename: "UserOption";
|
|
1217
1368
|
ownerAddr: string;
|
|
1218
1369
|
strikeTick: number;
|
|
@@ -1238,6 +1389,10 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1238
1389
|
realizedPayout: bigint;
|
|
1239
1390
|
liquiditiesAtOpen: bigint[];
|
|
1240
1391
|
liquiditiesCurrent: bigint[];
|
|
1392
|
+
positionSizeAtOpen: bigint;
|
|
1393
|
+
positionSizeCurrent: bigint;
|
|
1394
|
+
strikePrice: bigint;
|
|
1395
|
+
entryPrice: bigint;
|
|
1241
1396
|
__typename: "UserOption";
|
|
1242
1397
|
ownerAddr: string;
|
|
1243
1398
|
strikeTick: number;
|
|
@@ -1262,6 +1417,10 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1262
1417
|
realizedPayout: bigint;
|
|
1263
1418
|
liquiditiesAtOpen: bigint[];
|
|
1264
1419
|
liquiditiesCurrent: bigint[];
|
|
1420
|
+
positionSizeAtOpen: bigint;
|
|
1421
|
+
positionSizeCurrent: bigint;
|
|
1422
|
+
strikePrice: bigint;
|
|
1423
|
+
entryPrice: bigint;
|
|
1265
1424
|
__typename: "UserOption";
|
|
1266
1425
|
ownerAddr: string;
|
|
1267
1426
|
strikeTick: number;
|
|
@@ -1309,6 +1468,10 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1309
1468
|
realizedPayout: bigint;
|
|
1310
1469
|
liquiditiesAtOpen: bigint[];
|
|
1311
1470
|
liquiditiesCurrent: bigint[];
|
|
1471
|
+
positionSizeAtOpen: bigint;
|
|
1472
|
+
positionSizeCurrent: bigint;
|
|
1473
|
+
strikePrice: bigint;
|
|
1474
|
+
entryPrice: bigint;
|
|
1312
1475
|
__typename: "UserOption";
|
|
1313
1476
|
ownerAddr: string;
|
|
1314
1477
|
strikeTick: number;
|
|
@@ -1334,6 +1497,10 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1334
1497
|
realizedPayout: bigint;
|
|
1335
1498
|
liquiditiesAtOpen: bigint[];
|
|
1336
1499
|
liquiditiesCurrent: bigint[];
|
|
1500
|
+
positionSizeAtOpen: bigint;
|
|
1501
|
+
positionSizeCurrent: bigint;
|
|
1502
|
+
strikePrice: bigint;
|
|
1503
|
+
entryPrice: bigint;
|
|
1337
1504
|
__typename: "UserOption";
|
|
1338
1505
|
ownerAddr: string;
|
|
1339
1506
|
strikeTick: number;
|
|
@@ -1358,6 +1525,10 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1358
1525
|
realizedPayout: bigint;
|
|
1359
1526
|
liquiditiesAtOpen: bigint[];
|
|
1360
1527
|
liquiditiesCurrent: bigint[];
|
|
1528
|
+
positionSizeAtOpen: bigint;
|
|
1529
|
+
positionSizeCurrent: bigint;
|
|
1530
|
+
strikePrice: bigint;
|
|
1531
|
+
entryPrice: bigint;
|
|
1361
1532
|
__typename: "UserOption";
|
|
1362
1533
|
ownerAddr: string;
|
|
1363
1534
|
strikeTick: number;
|
|
@@ -1406,6 +1577,10 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1406
1577
|
realizedPayout: bigint;
|
|
1407
1578
|
liquiditiesAtOpen: bigint[];
|
|
1408
1579
|
liquiditiesCurrent: bigint[];
|
|
1580
|
+
positionSizeAtOpen: bigint;
|
|
1581
|
+
positionSizeCurrent: bigint;
|
|
1582
|
+
strikePrice: bigint;
|
|
1583
|
+
entryPrice: bigint;
|
|
1409
1584
|
__typename: "UserOption";
|
|
1410
1585
|
ownerAddr: string;
|
|
1411
1586
|
strikeTick: number;
|
|
@@ -1431,6 +1606,10 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1431
1606
|
realizedPayout: bigint;
|
|
1432
1607
|
liquiditiesAtOpen: bigint[];
|
|
1433
1608
|
liquiditiesCurrent: bigint[];
|
|
1609
|
+
positionSizeAtOpen: bigint;
|
|
1610
|
+
positionSizeCurrent: bigint;
|
|
1611
|
+
strikePrice: bigint;
|
|
1612
|
+
entryPrice: bigint;
|
|
1434
1613
|
__typename: "UserOption";
|
|
1435
1614
|
ownerAddr: string;
|
|
1436
1615
|
strikeTick: number;
|
|
@@ -1455,6 +1634,10 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1455
1634
|
realizedPayout: bigint;
|
|
1456
1635
|
liquiditiesAtOpen: bigint[];
|
|
1457
1636
|
liquiditiesCurrent: bigint[];
|
|
1637
|
+
positionSizeAtOpen: bigint;
|
|
1638
|
+
positionSizeCurrent: bigint;
|
|
1639
|
+
strikePrice: bigint;
|
|
1640
|
+
entryPrice: bigint;
|
|
1458
1641
|
__typename: "UserOption";
|
|
1459
1642
|
ownerAddr: string;
|
|
1460
1643
|
strikeTick: number;
|
|
@@ -1502,6 +1685,10 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1502
1685
|
realizedPayout: bigint;
|
|
1503
1686
|
liquiditiesAtOpen: bigint[];
|
|
1504
1687
|
liquiditiesCurrent: bigint[];
|
|
1688
|
+
positionSizeAtOpen: bigint;
|
|
1689
|
+
positionSizeCurrent: bigint;
|
|
1690
|
+
strikePrice: bigint;
|
|
1691
|
+
entryPrice: bigint;
|
|
1505
1692
|
__typename: "UserOption";
|
|
1506
1693
|
ownerAddr: string;
|
|
1507
1694
|
strikeTick: number;
|
|
@@ -1527,6 +1714,10 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1527
1714
|
realizedPayout: bigint;
|
|
1528
1715
|
liquiditiesAtOpen: bigint[];
|
|
1529
1716
|
liquiditiesCurrent: bigint[];
|
|
1717
|
+
positionSizeAtOpen: bigint;
|
|
1718
|
+
positionSizeCurrent: bigint;
|
|
1719
|
+
strikePrice: bigint;
|
|
1720
|
+
entryPrice: bigint;
|
|
1530
1721
|
__typename: "UserOption";
|
|
1531
1722
|
ownerAddr: string;
|
|
1532
1723
|
strikeTick: number;
|
|
@@ -1551,6 +1742,10 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1551
1742
|
realizedPayout: bigint;
|
|
1552
1743
|
liquiditiesAtOpen: bigint[];
|
|
1553
1744
|
liquiditiesCurrent: bigint[];
|
|
1745
|
+
positionSizeAtOpen: bigint;
|
|
1746
|
+
positionSizeCurrent: bigint;
|
|
1747
|
+
strikePrice: bigint;
|
|
1748
|
+
entryPrice: bigint;
|
|
1554
1749
|
__typename: "UserOption";
|
|
1555
1750
|
ownerAddr: string;
|
|
1556
1751
|
strikeTick: number;
|
|
@@ -1598,6 +1793,10 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1598
1793
|
realizedPayout: bigint;
|
|
1599
1794
|
liquiditiesAtOpen: bigint[];
|
|
1600
1795
|
liquiditiesCurrent: bigint[];
|
|
1796
|
+
positionSizeAtOpen: bigint;
|
|
1797
|
+
positionSizeCurrent: bigint;
|
|
1798
|
+
strikePrice: bigint;
|
|
1799
|
+
entryPrice: bigint;
|
|
1601
1800
|
__typename: "UserOption";
|
|
1602
1801
|
ownerAddr: string;
|
|
1603
1802
|
strikeTick: number;
|
|
@@ -1623,6 +1822,10 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1623
1822
|
realizedPayout: bigint;
|
|
1624
1823
|
liquiditiesAtOpen: bigint[];
|
|
1625
1824
|
liquiditiesCurrent: bigint[];
|
|
1825
|
+
positionSizeAtOpen: bigint;
|
|
1826
|
+
positionSizeCurrent: bigint;
|
|
1827
|
+
strikePrice: bigint;
|
|
1828
|
+
entryPrice: bigint;
|
|
1626
1829
|
__typename: "UserOption";
|
|
1627
1830
|
ownerAddr: string;
|
|
1628
1831
|
strikeTick: number;
|
|
@@ -1647,6 +1850,10 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1647
1850
|
realizedPayout: bigint;
|
|
1648
1851
|
liquiditiesAtOpen: bigint[];
|
|
1649
1852
|
liquiditiesCurrent: bigint[];
|
|
1853
|
+
positionSizeAtOpen: bigint;
|
|
1854
|
+
positionSizeCurrent: bigint;
|
|
1855
|
+
strikePrice: bigint;
|
|
1856
|
+
entryPrice: bigint;
|
|
1650
1857
|
__typename: "UserOption";
|
|
1651
1858
|
ownerAddr: string;
|
|
1652
1859
|
strikeTick: number;
|
|
@@ -1694,6 +1901,10 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1694
1901
|
realizedPayout: bigint;
|
|
1695
1902
|
liquiditiesAtOpen: bigint[];
|
|
1696
1903
|
liquiditiesCurrent: bigint[];
|
|
1904
|
+
positionSizeAtOpen: bigint;
|
|
1905
|
+
positionSizeCurrent: bigint;
|
|
1906
|
+
strikePrice: bigint;
|
|
1907
|
+
entryPrice: bigint;
|
|
1697
1908
|
__typename: "UserOption";
|
|
1698
1909
|
ownerAddr: string;
|
|
1699
1910
|
strikeTick: number;
|
|
@@ -1719,6 +1930,10 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1719
1930
|
realizedPayout: bigint;
|
|
1720
1931
|
liquiditiesAtOpen: bigint[];
|
|
1721
1932
|
liquiditiesCurrent: bigint[];
|
|
1933
|
+
positionSizeAtOpen: bigint;
|
|
1934
|
+
positionSizeCurrent: bigint;
|
|
1935
|
+
strikePrice: bigint;
|
|
1936
|
+
entryPrice: bigint;
|
|
1722
1937
|
__typename: "UserOption";
|
|
1723
1938
|
ownerAddr: string;
|
|
1724
1939
|
strikeTick: number;
|
|
@@ -1743,6 +1958,10 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1743
1958
|
realizedPayout: bigint;
|
|
1744
1959
|
liquiditiesAtOpen: bigint[];
|
|
1745
1960
|
liquiditiesCurrent: bigint[];
|
|
1961
|
+
positionSizeAtOpen: bigint;
|
|
1962
|
+
positionSizeCurrent: bigint;
|
|
1963
|
+
strikePrice: bigint;
|
|
1964
|
+
entryPrice: bigint;
|
|
1746
1965
|
__typename: "UserOption";
|
|
1747
1966
|
ownerAddr: string;
|
|
1748
1967
|
strikeTick: number;
|
|
@@ -1790,6 +2009,10 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1790
2009
|
realizedPayout: bigint;
|
|
1791
2010
|
liquiditiesAtOpen: bigint[];
|
|
1792
2011
|
liquiditiesCurrent: bigint[];
|
|
2012
|
+
positionSizeAtOpen: bigint;
|
|
2013
|
+
positionSizeCurrent: bigint;
|
|
2014
|
+
strikePrice: bigint;
|
|
2015
|
+
entryPrice: bigint;
|
|
1793
2016
|
__typename: "UserOption";
|
|
1794
2017
|
ownerAddr: string;
|
|
1795
2018
|
strikeTick: number;
|
|
@@ -1815,6 +2038,10 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1815
2038
|
realizedPayout: bigint;
|
|
1816
2039
|
liquiditiesAtOpen: bigint[];
|
|
1817
2040
|
liquiditiesCurrent: bigint[];
|
|
2041
|
+
positionSizeAtOpen: bigint;
|
|
2042
|
+
positionSizeCurrent: bigint;
|
|
2043
|
+
strikePrice: bigint;
|
|
2044
|
+
entryPrice: bigint;
|
|
1818
2045
|
__typename: "UserOption";
|
|
1819
2046
|
ownerAddr: string;
|
|
1820
2047
|
strikeTick: number;
|
|
@@ -1839,6 +2066,10 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1839
2066
|
realizedPayout: bigint;
|
|
1840
2067
|
liquiditiesAtOpen: bigint[];
|
|
1841
2068
|
liquiditiesCurrent: bigint[];
|
|
2069
|
+
positionSizeAtOpen: bigint;
|
|
2070
|
+
positionSizeCurrent: bigint;
|
|
2071
|
+
strikePrice: bigint;
|
|
2072
|
+
entryPrice: bigint;
|
|
1842
2073
|
__typename: "UserOption";
|
|
1843
2074
|
ownerAddr: string;
|
|
1844
2075
|
strikeTick: number;
|
|
@@ -1886,6 +2117,10 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1886
2117
|
realizedPayout: bigint;
|
|
1887
2118
|
liquiditiesAtOpen: bigint[];
|
|
1888
2119
|
liquiditiesCurrent: bigint[];
|
|
2120
|
+
positionSizeAtOpen: bigint;
|
|
2121
|
+
positionSizeCurrent: bigint;
|
|
2122
|
+
strikePrice: bigint;
|
|
2123
|
+
entryPrice: bigint;
|
|
1889
2124
|
__typename: "UserOption";
|
|
1890
2125
|
ownerAddr: string;
|
|
1891
2126
|
strikeTick: number;
|
|
@@ -1911,6 +2146,10 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1911
2146
|
realizedPayout: bigint;
|
|
1912
2147
|
liquiditiesAtOpen: bigint[];
|
|
1913
2148
|
liquiditiesCurrent: bigint[];
|
|
2149
|
+
positionSizeAtOpen: bigint;
|
|
2150
|
+
positionSizeCurrent: bigint;
|
|
2151
|
+
strikePrice: bigint;
|
|
2152
|
+
entryPrice: bigint;
|
|
1914
2153
|
__typename: "UserOption";
|
|
1915
2154
|
ownerAddr: string;
|
|
1916
2155
|
strikeTick: number;
|
|
@@ -1935,6 +2174,10 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1935
2174
|
realizedPayout: bigint;
|
|
1936
2175
|
liquiditiesAtOpen: bigint[];
|
|
1937
2176
|
liquiditiesCurrent: bigint[];
|
|
2177
|
+
positionSizeAtOpen: bigint;
|
|
2178
|
+
positionSizeCurrent: bigint;
|
|
2179
|
+
strikePrice: bigint;
|
|
2180
|
+
entryPrice: bigint;
|
|
1938
2181
|
__typename: "UserOption";
|
|
1939
2182
|
ownerAddr: string;
|
|
1940
2183
|
strikeTick: number;
|
|
@@ -2074,14 +2317,14 @@ declare const useVaultTVL: (vault?: Address | TimelockVault) => {
|
|
|
2074
2317
|
totalAmount1: Amount | undefined;
|
|
2075
2318
|
borrowedAmount0: Amount | undefined;
|
|
2076
2319
|
borrowedAmount1: Amount | undefined;
|
|
2077
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint],
|
|
2320
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint], viem382.ReadContractErrorType>>;
|
|
2078
2321
|
};
|
|
2079
2322
|
//#endregion
|
|
2080
2323
|
//#region src/hooks/useLens.d.ts
|
|
2081
2324
|
declare const useLens: () => {
|
|
2082
2325
|
uniswapLens: {
|
|
2083
2326
|
read: {
|
|
2084
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
2327
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
2085
2328
|
readonly type: "function";
|
|
2086
2329
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
2087
2330
|
readonly inputs: readonly [{
|
|
@@ -2702,7 +2945,7 @@ declare const useLens: () => {
|
|
|
2702
2945
|
}];
|
|
2703
2946
|
readonly stateMutability: "pure";
|
|
2704
2947
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
2705
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
2948
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
2706
2949
|
readonly type: "function";
|
|
2707
2950
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
2708
2951
|
readonly inputs: readonly [{
|
|
@@ -3323,7 +3566,7 @@ declare const useLens: () => {
|
|
|
3323
3566
|
}];
|
|
3324
3567
|
readonly stateMutability: "pure";
|
|
3325
3568
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
3326
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
3569
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
3327
3570
|
readonly type: "function";
|
|
3328
3571
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
3329
3572
|
readonly inputs: readonly [{
|
|
@@ -3944,7 +4187,7 @@ declare const useLens: () => {
|
|
|
3944
4187
|
}];
|
|
3945
4188
|
readonly stateMutability: "pure";
|
|
3946
4189
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
3947
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
4190
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
3948
4191
|
readonly type: "function";
|
|
3949
4192
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
3950
4193
|
readonly inputs: readonly [{
|
|
@@ -4565,7 +4808,7 @@ declare const useLens: () => {
|
|
|
4565
4808
|
}];
|
|
4566
4809
|
readonly stateMutability: "pure";
|
|
4567
4810
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
4568
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
4811
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
4569
4812
|
readonly type: "function";
|
|
4570
4813
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
4571
4814
|
readonly inputs: readonly [{
|
|
@@ -5186,7 +5429,7 @@ declare const useLens: () => {
|
|
|
5186
5429
|
}];
|
|
5187
5430
|
readonly stateMutability: "pure";
|
|
5188
5431
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
5189
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
5432
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
5190
5433
|
readonly type: "function";
|
|
5191
5434
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
5192
5435
|
readonly inputs: readonly [{
|
|
@@ -5807,7 +6050,7 @@ declare const useLens: () => {
|
|
|
5807
6050
|
}];
|
|
5808
6051
|
readonly stateMutability: "pure";
|
|
5809
6052
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
5810
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
6053
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
5811
6054
|
readonly type: "function";
|
|
5812
6055
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
5813
6056
|
readonly inputs: readonly [{
|
|
@@ -6428,7 +6671,7 @@ declare const useLens: () => {
|
|
|
6428
6671
|
}];
|
|
6429
6672
|
readonly stateMutability: "pure";
|
|
6430
6673
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
6431
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
6674
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
6432
6675
|
readonly type: "function";
|
|
6433
6676
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
6434
6677
|
readonly inputs: readonly [{
|
|
@@ -7049,7 +7292,7 @@ declare const useLens: () => {
|
|
|
7049
7292
|
}];
|
|
7050
7293
|
readonly stateMutability: "pure";
|
|
7051
7294
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7052
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
7295
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
7053
7296
|
readonly type: "function";
|
|
7054
7297
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7055
7298
|
readonly inputs: readonly [{
|
|
@@ -7670,7 +7913,7 @@ declare const useLens: () => {
|
|
|
7670
7913
|
}];
|
|
7671
7914
|
readonly stateMutability: "pure";
|
|
7672
7915
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7673
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
7916
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
7674
7917
|
readonly type: "function";
|
|
7675
7918
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7676
7919
|
readonly inputs: readonly [{
|
|
@@ -8291,7 +8534,7 @@ declare const useLens: () => {
|
|
|
8291
8534
|
}];
|
|
8292
8535
|
readonly stateMutability: "pure";
|
|
8293
8536
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
8294
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
8537
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
8295
8538
|
readonly type: "function";
|
|
8296
8539
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
8297
8540
|
readonly inputs: readonly [{
|
|
@@ -8912,7 +9155,7 @@ declare const useLens: () => {
|
|
|
8912
9155
|
}];
|
|
8913
9156
|
readonly stateMutability: "pure";
|
|
8914
9157
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
8915
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
9158
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
8916
9159
|
readonly type: "function";
|
|
8917
9160
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
8918
9161
|
readonly inputs: readonly [{
|
|
@@ -9533,7 +9776,7 @@ declare const useLens: () => {
|
|
|
9533
9776
|
}];
|
|
9534
9777
|
readonly stateMutability: "pure";
|
|
9535
9778
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
9536
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
9779
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
9537
9780
|
readonly type: "function";
|
|
9538
9781
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9539
9782
|
readonly inputs: readonly [{
|
|
@@ -10154,7 +10397,7 @@ declare const useLens: () => {
|
|
|
10154
10397
|
}];
|
|
10155
10398
|
readonly stateMutability: "pure";
|
|
10156
10399
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10157
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
10400
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
10158
10401
|
readonly type: "function";
|
|
10159
10402
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10160
10403
|
readonly inputs: readonly [{
|
|
@@ -10775,7 +11018,7 @@ declare const useLens: () => {
|
|
|
10775
11018
|
}];
|
|
10776
11019
|
readonly stateMutability: "pure";
|
|
10777
11020
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
10778
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
11021
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
10779
11022
|
readonly type: "function";
|
|
10780
11023
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10781
11024
|
readonly inputs: readonly [{
|
|
@@ -11396,7 +11639,7 @@ declare const useLens: () => {
|
|
|
11396
11639
|
}];
|
|
11397
11640
|
readonly stateMutability: "pure";
|
|
11398
11641
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
11399
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
11642
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
11400
11643
|
readonly type: "function";
|
|
11401
11644
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
11402
11645
|
readonly inputs: readonly [{
|
|
@@ -12017,7 +12260,7 @@ declare const useLens: () => {
|
|
|
12017
12260
|
}];
|
|
12018
12261
|
readonly stateMutability: "pure";
|
|
12019
12262
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
12020
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
12263
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
12021
12264
|
readonly type: "function";
|
|
12022
12265
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12023
12266
|
readonly inputs: readonly [{
|
|
@@ -12638,7 +12881,7 @@ declare const useLens: () => {
|
|
|
12638
12881
|
}];
|
|
12639
12882
|
readonly stateMutability: "pure";
|
|
12640
12883
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
12641
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
12884
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
12642
12885
|
readonly type: "function";
|
|
12643
12886
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12644
12887
|
readonly inputs: readonly [{
|
|
@@ -13259,7 +13502,7 @@ declare const useLens: () => {
|
|
|
13259
13502
|
}];
|
|
13260
13503
|
readonly stateMutability: "pure";
|
|
13261
13504
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
13262
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
13505
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
13263
13506
|
readonly type: "function";
|
|
13264
13507
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13265
13508
|
readonly inputs: readonly [{
|
|
@@ -13880,7 +14123,7 @@ declare const useLens: () => {
|
|
|
13880
14123
|
}];
|
|
13881
14124
|
readonly stateMutability: "pure";
|
|
13882
14125
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
13883
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
14126
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
13884
14127
|
readonly type: "function";
|
|
13885
14128
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13886
14129
|
readonly inputs: readonly [{
|
|
@@ -14501,7 +14744,7 @@ declare const useLens: () => {
|
|
|
14501
14744
|
}];
|
|
14502
14745
|
readonly stateMutability: "pure";
|
|
14503
14746
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
14504
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
14747
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
14505
14748
|
readonly type: "function";
|
|
14506
14749
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14507
14750
|
readonly inputs: readonly [{
|
|
@@ -15122,7 +15365,7 @@ declare const useLens: () => {
|
|
|
15122
15365
|
}];
|
|
15123
15366
|
readonly stateMutability: "pure";
|
|
15124
15367
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15125
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
15368
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
15126
15369
|
readonly type: "function";
|
|
15127
15370
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15128
15371
|
readonly inputs: readonly [{
|
|
@@ -15743,7 +15986,7 @@ declare const useLens: () => {
|
|
|
15743
15986
|
}];
|
|
15744
15987
|
readonly stateMutability: "pure";
|
|
15745
15988
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15746
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
15989
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
15747
15990
|
readonly type: "function";
|
|
15748
15991
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15749
15992
|
readonly inputs: readonly [{
|
|
@@ -16364,7 +16607,7 @@ declare const useLens: () => {
|
|
|
16364
16607
|
}];
|
|
16365
16608
|
readonly stateMutability: "pure";
|
|
16366
16609
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
16367
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
16610
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
16368
16611
|
readonly type: "function";
|
|
16369
16612
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16370
16613
|
readonly inputs: readonly [{
|
|
@@ -16985,7 +17228,7 @@ declare const useLens: () => {
|
|
|
16985
17228
|
}];
|
|
16986
17229
|
readonly stateMutability: "pure";
|
|
16987
17230
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
16988
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
17231
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
16989
17232
|
readonly type: "function";
|
|
16990
17233
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16991
17234
|
readonly inputs: readonly [{
|
|
@@ -17606,7 +17849,7 @@ declare const useLens: () => {
|
|
|
17606
17849
|
}];
|
|
17607
17850
|
readonly stateMutability: "pure";
|
|
17608
17851
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
17609
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
17852
|
+
getPriceAtTick: (args: readonly [number], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
17610
17853
|
readonly type: "function";
|
|
17611
17854
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17612
17855
|
readonly inputs: readonly [{
|
|
@@ -18853,7 +19096,7 @@ declare const useLens: () => {
|
|
|
18853
19096
|
} | undefined;
|
|
18854
19097
|
timelockLens: {
|
|
18855
19098
|
read: {
|
|
18856
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
19099
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
18857
19100
|
readonly type: "function";
|
|
18858
19101
|
readonly name: "batchGetRefTick";
|
|
18859
19102
|
readonly inputs: readonly [{
|
|
@@ -19555,7 +19798,7 @@ declare const useLens: () => {
|
|
|
19555
19798
|
}];
|
|
19556
19799
|
readonly stateMutability: "view";
|
|
19557
19800
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
19558
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
19801
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
19559
19802
|
readonly type: "function";
|
|
19560
19803
|
readonly name: "batchGetRefTick";
|
|
19561
19804
|
readonly inputs: readonly [{
|
|
@@ -20267,7 +20510,7 @@ declare const useLens: () => {
|
|
|
20267
20510
|
borrowedAmount0: bigint;
|
|
20268
20511
|
borrowedAmount1: bigint;
|
|
20269
20512
|
}[]>;
|
|
20270
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
20513
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
20271
20514
|
readonly type: "function";
|
|
20272
20515
|
readonly name: "batchGetRefTick";
|
|
20273
20516
|
readonly inputs: readonly [{
|
|
@@ -20988,7 +21231,7 @@ declare const useLens: () => {
|
|
|
20988
21231
|
createdAt: bigint;
|
|
20989
21232
|
liquidities: readonly bigint[];
|
|
20990
21233
|
}[], bigint, boolean]>;
|
|
20991
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
21234
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
20992
21235
|
readonly type: "function";
|
|
20993
21236
|
readonly name: "batchGetRefTick";
|
|
20994
21237
|
readonly inputs: readonly [{
|
|
@@ -21690,7 +21933,7 @@ declare const useLens: () => {
|
|
|
21690
21933
|
}];
|
|
21691
21934
|
readonly stateMutability: "view";
|
|
21692
21935
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
21693
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
21936
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
21694
21937
|
readonly type: "function";
|
|
21695
21938
|
readonly name: "batchGetRefTick";
|
|
21696
21939
|
readonly inputs: readonly [{
|
|
@@ -22405,7 +22648,7 @@ declare const useLens: () => {
|
|
|
22405
22648
|
payoutAssetName: string;
|
|
22406
22649
|
optionsCount: bigint;
|
|
22407
22650
|
}>;
|
|
22408
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
22651
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
22409
22652
|
readonly type: "function";
|
|
22410
22653
|
readonly name: "batchGetRefTick";
|
|
22411
22654
|
readonly inputs: readonly [{
|
|
@@ -23107,7 +23350,7 @@ declare const useLens: () => {
|
|
|
23107
23350
|
}];
|
|
23108
23351
|
readonly stateMutability: "view";
|
|
23109
23352
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
23110
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
23353
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
23111
23354
|
readonly type: "function";
|
|
23112
23355
|
readonly name: "batchGetRefTick";
|
|
23113
23356
|
readonly inputs: readonly [{
|
|
@@ -23809,7 +24052,7 @@ declare const useLens: () => {
|
|
|
23809
24052
|
}];
|
|
23810
24053
|
readonly stateMutability: "view";
|
|
23811
24054
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
23812
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
24055
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
23813
24056
|
readonly type: "function";
|
|
23814
24057
|
readonly name: "batchGetRefTick";
|
|
23815
24058
|
readonly inputs: readonly [{
|
|
@@ -24530,7 +24773,7 @@ declare const useLens: () => {
|
|
|
24530
24773
|
createdAt: bigint;
|
|
24531
24774
|
liquidities: readonly bigint[];
|
|
24532
24775
|
}>;
|
|
24533
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
24776
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
24534
24777
|
readonly type: "function";
|
|
24535
24778
|
readonly name: "batchGetRefTick";
|
|
24536
24779
|
readonly inputs: readonly [{
|
|
@@ -25251,7 +25494,7 @@ declare const useLens: () => {
|
|
|
25251
25494
|
createdAt: bigint;
|
|
25252
25495
|
liquidities: readonly bigint[];
|
|
25253
25496
|
}[]>;
|
|
25254
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
25497
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
25255
25498
|
readonly type: "function";
|
|
25256
25499
|
readonly name: "batchGetRefTick";
|
|
25257
25500
|
readonly inputs: readonly [{
|
|
@@ -25964,7 +26207,7 @@ declare const useLens: () => {
|
|
|
25964
26207
|
tickSpacing: number;
|
|
25965
26208
|
fee: number;
|
|
25966
26209
|
}>;
|
|
25967
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
26210
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
25968
26211
|
readonly type: "function";
|
|
25969
26212
|
readonly name: "batchGetRefTick";
|
|
25970
26213
|
readonly inputs: readonly [{
|
|
@@ -26666,7 +26909,7 @@ declare const useLens: () => {
|
|
|
26666
26909
|
}];
|
|
26667
26910
|
readonly stateMutability: "view";
|
|
26668
26911
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
26669
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
26912
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
26670
26913
|
readonly type: "function";
|
|
26671
26914
|
readonly name: "batchGetRefTick";
|
|
26672
26915
|
readonly inputs: readonly [{
|
|
@@ -27387,7 +27630,7 @@ declare const useLens: () => {
|
|
|
27387
27630
|
createdAt: bigint;
|
|
27388
27631
|
liquidities: readonly bigint[];
|
|
27389
27632
|
}[], bigint, boolean]>;
|
|
27390
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
27633
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem382.Prettify<viem382.UnionOmit<viem382.ReadContractParameters<readonly [{
|
|
27391
27634
|
readonly type: "function";
|
|
27392
27635
|
readonly name: "batchGetRefTick";
|
|
27393
27636
|
readonly inputs: readonly [{
|
|
@@ -28796,5 +29039,5 @@ declare const useLens: () => {
|
|
|
28796
29039
|
} | undefined;
|
|
28797
29040
|
};
|
|
28798
29041
|
//#endregion
|
|
28799
|
-
export { LiquidityBlockData, OptionData,
|
|
29042
|
+
export { LiquidityBlockData, OptionData, TimelockMarketProvider, UniswapPoolData, batchGetAmountsFromLiquidity, getCurrentTick, useActiveUserOptions, useBurnLiquidity, useClosedUserOptions, useCurrentMarket, useCurrentPrice, useCurrentTick, useExerciseOption, useLens, useLiquidityBlocks, useMarketData, useMaxPositionSize, useMintLiquidity, useMintOption, useOptionPnl, useOptionPremium, usePoolData, usePriceAtTick, useTimelockConfig, useVaultData, useVaultTVL };
|
|
28800
29043
|
//# sourceMappingURL=client.d.ts.map
|