timelock-sdk 0.0.60 → 0.0.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abis.cjs +1 -1
- package/dist/abis.d.cts +1 -1
- package/dist/abis.d.ts +1 -1
- package/dist/abis.js +1 -1
- package/dist/client.cjs +76 -10
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +548 -65
- package/dist/client.d.ts +607 -124
- package/dist/client.js +76 -11
- package/dist/client.js.map +1 -1
- package/dist/{index-Ct8jAxHT.d.ts → index-BIkdgG3y.d.ts} +2 -2
- package/dist/{index-DgBdLHRl.d.cts → index-CDYUCwzA.d.cts} +2 -2
- package/dist/{numberUtils-DaQ_5dq6.cjs → numberUtils-CmVB4kX7.cjs} +2 -2
- package/dist/{numberUtils-DaQ_5dq6.cjs.map → numberUtils-CmVB4kX7.cjs.map} +1 -1
- package/dist/{numberUtils-DYkWKQ5v.js → numberUtils-Dd7vdmeQ.js} +2 -2
- package/dist/{numberUtils-DYkWKQ5v.js.map → numberUtils-Dd7vdmeQ.js.map} +1 -1
- package/dist/{optionsMarket-C5z_ZrhG.cjs → optionsMarket-D192aXEZ.cjs} +43 -17
- package/dist/{optionsMarket-C5z_ZrhG.cjs.map → optionsMarket-D192aXEZ.cjs.map} +1 -1
- package/dist/{optionsMarket-BW3qSfsm.js → optionsMarket-DD4CWMqv.js} +43 -17
- package/dist/{optionsMarket-BW3qSfsm.js.map → optionsMarket-DD4CWMqv.js.map} +1 -1
- package/dist/package.cjs +2 -2
- package/dist/package.d.cts +2 -2
- package/dist/package.d.ts +2 -2
- package/dist/package.js +2 -2
- package/dist/{uniswapMathLens-DS1i63oR.d.ts → uniswapMathLens-D3iSMTdz.d.cts} +35 -16
- package/dist/{uniswapMathLens-Dd_BqyEk.d.cts → uniswapMathLens-Ddy91uWa.d.ts} +35 -16
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import "./uniswapMathLens-
|
|
2
|
-
import { D as TimelockMarketData, O as UniswapMathLens, d as Amount } from "./index-
|
|
3
|
-
import * as
|
|
1
|
+
import "./uniswapMathLens-Ddy91uWa.js";
|
|
2
|
+
import { D as TimelockMarketData, O as UniswapMathLens, d as Amount } from "./index-BIkdgG3y.js";
|
|
3
|
+
import * as viem264 from "viem";
|
|
4
4
|
import { Address } from "viem";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
6
|
-
import * as
|
|
6
|
+
import * as wagmi2 from "wagmi";
|
|
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
10
|
import "graphql";
|
|
11
11
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
12
12
|
import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
13
|
-
import * as
|
|
13
|
+
import * as node_modules__wagmi_core_dist_types_errors_base1 from "node_modules/@wagmi/core/dist/types/errors/base";
|
|
14
14
|
import * as node_modules_viem__types_errors_abi0 from "node_modules/viem/_types/errors/abi";
|
|
15
15
|
import * as node_modules_viem__types_errors_account0 from "node_modules/viem/_types/errors/account";
|
|
16
16
|
|
|
@@ -67,24 +67,30 @@ type GetActiveUserOptionsQuery = {
|
|
|
67
67
|
__typename: 'UserOption';
|
|
68
68
|
id: string;
|
|
69
69
|
optionId: any;
|
|
70
|
-
ownerAddr: string;
|
|
71
70
|
optionType: any;
|
|
72
71
|
strikeTick: number;
|
|
73
72
|
entryTick: number;
|
|
74
73
|
startTick: number;
|
|
75
74
|
strikePrice: any;
|
|
76
75
|
entryPrice: any;
|
|
77
|
-
expiresAt:
|
|
78
|
-
createdAt:
|
|
76
|
+
expiresAt: any;
|
|
77
|
+
createdAt: any;
|
|
79
78
|
premium: any;
|
|
80
79
|
protocolFee: any;
|
|
81
80
|
realizedPayout: any;
|
|
82
|
-
marketAddr: string;
|
|
83
81
|
liquiditiesAtOpen: Array<string>;
|
|
84
82
|
liquiditiesCurrent: Array<string>;
|
|
85
83
|
positionSizeAtOpen: any;
|
|
86
84
|
positionSizeCurrent: any;
|
|
87
85
|
fullyExercised: boolean;
|
|
86
|
+
owner?: {
|
|
87
|
+
__typename: 'TimelockMarketUser';
|
|
88
|
+
address: string;
|
|
89
|
+
} | null;
|
|
90
|
+
market?: {
|
|
91
|
+
__typename: 'TimelockMarket';
|
|
92
|
+
address: string;
|
|
93
|
+
} | null;
|
|
88
94
|
exerciseEvents: Array<{
|
|
89
95
|
__typename: 'ExerciseOptionEvent';
|
|
90
96
|
transactionHash: string;
|
|
@@ -104,24 +110,30 @@ type GetClosedUserOptionsQuery = {
|
|
|
104
110
|
__typename: 'UserOption';
|
|
105
111
|
id: string;
|
|
106
112
|
optionId: any;
|
|
107
|
-
ownerAddr: string;
|
|
108
113
|
optionType: any;
|
|
109
114
|
strikeTick: number;
|
|
110
115
|
entryTick: number;
|
|
111
116
|
startTick: number;
|
|
112
117
|
strikePrice: any;
|
|
113
118
|
entryPrice: any;
|
|
114
|
-
expiresAt:
|
|
115
|
-
createdAt:
|
|
119
|
+
expiresAt: any;
|
|
120
|
+
createdAt: any;
|
|
116
121
|
premium: any;
|
|
117
122
|
protocolFee: any;
|
|
118
123
|
realizedPayout: any;
|
|
119
|
-
marketAddr: string;
|
|
120
124
|
liquiditiesAtOpen: Array<string>;
|
|
121
125
|
liquiditiesCurrent: Array<string>;
|
|
122
126
|
positionSizeAtOpen: any;
|
|
123
127
|
positionSizeCurrent: any;
|
|
124
128
|
fullyExercised: boolean;
|
|
129
|
+
owner?: {
|
|
130
|
+
__typename: 'TimelockMarketUser';
|
|
131
|
+
address: string;
|
|
132
|
+
} | null;
|
|
133
|
+
market?: {
|
|
134
|
+
__typename: 'TimelockMarket';
|
|
135
|
+
address: string;
|
|
136
|
+
} | null;
|
|
125
137
|
exerciseEvents: Array<{
|
|
126
138
|
__typename: 'ExerciseOptionEvent';
|
|
127
139
|
transactionHash: string;
|
|
@@ -140,6 +152,7 @@ type GetMarketDataQuery = {
|
|
|
140
152
|
TimelockMarket: Array<{
|
|
141
153
|
__typename: 'TimelockMarket';
|
|
142
154
|
id: string;
|
|
155
|
+
address: string;
|
|
143
156
|
optionsCount: any;
|
|
144
157
|
tradersCount: any;
|
|
145
158
|
vault: string;
|
|
@@ -156,11 +169,32 @@ type GetMarketDataQuery = {
|
|
|
156
169
|
payoutAssetName: string;
|
|
157
170
|
}>;
|
|
158
171
|
};
|
|
172
|
+
type GetUserMarketOperatorsQueryVariables = Exact<{
|
|
173
|
+
userAddr: Scalars['String']['input'];
|
|
174
|
+
marketAddr: Scalars['String']['input'];
|
|
175
|
+
}>;
|
|
176
|
+
type GetUserMarketOperatorsQuery = {
|
|
177
|
+
__typename: 'query_root';
|
|
178
|
+
UserMarketOperator: Array<{
|
|
179
|
+
__typename: 'UserMarketOperator';
|
|
180
|
+
id: string;
|
|
181
|
+
canExtend: boolean;
|
|
182
|
+
canExercise: boolean;
|
|
183
|
+
canTransfer: boolean;
|
|
184
|
+
canMint: boolean;
|
|
185
|
+
spendingApproval: any;
|
|
186
|
+
operator?: {
|
|
187
|
+
__typename: 'MarketOperator';
|
|
188
|
+
address: string;
|
|
189
|
+
} | null;
|
|
190
|
+
}>;
|
|
191
|
+
};
|
|
159
192
|
type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
|
|
160
193
|
declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
161
194
|
GetActiveUserOptions(variables: GetActiveUserOptionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetActiveUserOptionsQuery>;
|
|
162
195
|
GetClosedUserOptions(variables: GetClosedUserOptionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetClosedUserOptionsQuery>;
|
|
163
196
|
GetMarketData(variables: GetMarketDataQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetMarketDataQuery>;
|
|
197
|
+
GetUserMarketOperators(variables: GetUserMarketOperatorsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetUserMarketOperatorsQuery>;
|
|
164
198
|
};
|
|
165
199
|
//#endregion
|
|
166
200
|
//#region src/providers/TimelockMarketProvider.d.ts
|
|
@@ -211,6 +245,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
211
245
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
212
246
|
optionId: bigint;
|
|
213
247
|
marketAddr: Address;
|
|
248
|
+
ownerAddr: Address;
|
|
214
249
|
optionType: "CALL" | "PUT";
|
|
215
250
|
createdAt: Date;
|
|
216
251
|
expiresAt: Date;
|
|
@@ -225,11 +260,18 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
225
260
|
entryPrice: bigint;
|
|
226
261
|
__typename: "UserOption";
|
|
227
262
|
id: string;
|
|
228
|
-
ownerAddr: string;
|
|
229
263
|
strikeTick: number;
|
|
230
264
|
entryTick: number;
|
|
231
265
|
startTick: number;
|
|
232
266
|
fullyExercised: boolean;
|
|
267
|
+
owner?: {
|
|
268
|
+
__typename: "TimelockMarketUser";
|
|
269
|
+
address: string;
|
|
270
|
+
} | null;
|
|
271
|
+
market?: {
|
|
272
|
+
__typename: "TimelockMarket";
|
|
273
|
+
address: string;
|
|
274
|
+
} | null;
|
|
233
275
|
exerciseEvents: Array<{
|
|
234
276
|
__typename: "ExerciseOptionEvent";
|
|
235
277
|
transactionHash: string;
|
|
@@ -243,6 +285,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
243
285
|
promise: Promise<{
|
|
244
286
|
optionId: bigint;
|
|
245
287
|
marketAddr: Address;
|
|
288
|
+
ownerAddr: Address;
|
|
246
289
|
optionType: "CALL" | "PUT";
|
|
247
290
|
createdAt: Date;
|
|
248
291
|
expiresAt: Date;
|
|
@@ -257,11 +300,18 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
257
300
|
entryPrice: bigint;
|
|
258
301
|
__typename: "UserOption";
|
|
259
302
|
id: string;
|
|
260
|
-
ownerAddr: string;
|
|
261
303
|
strikeTick: number;
|
|
262
304
|
entryTick: number;
|
|
263
305
|
startTick: number;
|
|
264
306
|
fullyExercised: boolean;
|
|
307
|
+
owner?: {
|
|
308
|
+
__typename: "TimelockMarketUser";
|
|
309
|
+
address: string;
|
|
310
|
+
} | null;
|
|
311
|
+
market?: {
|
|
312
|
+
__typename: "TimelockMarket";
|
|
313
|
+
address: string;
|
|
314
|
+
} | null;
|
|
265
315
|
exerciseEvents: Array<{
|
|
266
316
|
__typename: "ExerciseOptionEvent";
|
|
267
317
|
transactionHash: string;
|
|
@@ -274,6 +324,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
274
324
|
data: {
|
|
275
325
|
optionId: bigint;
|
|
276
326
|
marketAddr: Address;
|
|
327
|
+
ownerAddr: Address;
|
|
277
328
|
optionType: "CALL" | "PUT";
|
|
278
329
|
createdAt: Date;
|
|
279
330
|
expiresAt: Date;
|
|
@@ -288,11 +339,18 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
288
339
|
entryPrice: bigint;
|
|
289
340
|
__typename: "UserOption";
|
|
290
341
|
id: string;
|
|
291
|
-
ownerAddr: string;
|
|
292
342
|
strikeTick: number;
|
|
293
343
|
entryTick: number;
|
|
294
344
|
startTick: number;
|
|
295
345
|
fullyExercised: boolean;
|
|
346
|
+
owner?: {
|
|
347
|
+
__typename: "TimelockMarketUser";
|
|
348
|
+
address: string;
|
|
349
|
+
} | null;
|
|
350
|
+
market?: {
|
|
351
|
+
__typename: "TimelockMarket";
|
|
352
|
+
address: string;
|
|
353
|
+
} | null;
|
|
296
354
|
exerciseEvents: Array<{
|
|
297
355
|
__typename: "ExerciseOptionEvent";
|
|
298
356
|
transactionHash: string;
|
|
@@ -328,6 +386,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
328
386
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
329
387
|
optionId: bigint;
|
|
330
388
|
marketAddr: Address;
|
|
389
|
+
ownerAddr: Address;
|
|
331
390
|
optionType: "CALL" | "PUT";
|
|
332
391
|
createdAt: Date;
|
|
333
392
|
expiresAt: Date;
|
|
@@ -342,11 +401,18 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
342
401
|
entryPrice: bigint;
|
|
343
402
|
__typename: "UserOption";
|
|
344
403
|
id: string;
|
|
345
|
-
ownerAddr: string;
|
|
346
404
|
strikeTick: number;
|
|
347
405
|
entryTick: number;
|
|
348
406
|
startTick: number;
|
|
349
407
|
fullyExercised: boolean;
|
|
408
|
+
owner?: {
|
|
409
|
+
__typename: "TimelockMarketUser";
|
|
410
|
+
address: string;
|
|
411
|
+
} | null;
|
|
412
|
+
market?: {
|
|
413
|
+
__typename: "TimelockMarket";
|
|
414
|
+
address: string;
|
|
415
|
+
} | null;
|
|
350
416
|
exerciseEvents: Array<{
|
|
351
417
|
__typename: "ExerciseOptionEvent";
|
|
352
418
|
transactionHash: string;
|
|
@@ -360,6 +426,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
360
426
|
promise: Promise<{
|
|
361
427
|
optionId: bigint;
|
|
362
428
|
marketAddr: Address;
|
|
429
|
+
ownerAddr: Address;
|
|
363
430
|
optionType: "CALL" | "PUT";
|
|
364
431
|
createdAt: Date;
|
|
365
432
|
expiresAt: Date;
|
|
@@ -374,11 +441,18 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
374
441
|
entryPrice: bigint;
|
|
375
442
|
__typename: "UserOption";
|
|
376
443
|
id: string;
|
|
377
|
-
ownerAddr: string;
|
|
378
444
|
strikeTick: number;
|
|
379
445
|
entryTick: number;
|
|
380
446
|
startTick: number;
|
|
381
447
|
fullyExercised: boolean;
|
|
448
|
+
owner?: {
|
|
449
|
+
__typename: "TimelockMarketUser";
|
|
450
|
+
address: string;
|
|
451
|
+
} | null;
|
|
452
|
+
market?: {
|
|
453
|
+
__typename: "TimelockMarket";
|
|
454
|
+
address: string;
|
|
455
|
+
} | null;
|
|
382
456
|
exerciseEvents: Array<{
|
|
383
457
|
__typename: "ExerciseOptionEvent";
|
|
384
458
|
transactionHash: string;
|
|
@@ -391,6 +465,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
391
465
|
data: {
|
|
392
466
|
optionId: bigint;
|
|
393
467
|
marketAddr: Address;
|
|
468
|
+
ownerAddr: Address;
|
|
394
469
|
optionType: "CALL" | "PUT";
|
|
395
470
|
createdAt: Date;
|
|
396
471
|
expiresAt: Date;
|
|
@@ -405,11 +480,18 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
405
480
|
entryPrice: bigint;
|
|
406
481
|
__typename: "UserOption";
|
|
407
482
|
id: string;
|
|
408
|
-
ownerAddr: string;
|
|
409
483
|
strikeTick: number;
|
|
410
484
|
entryTick: number;
|
|
411
485
|
startTick: number;
|
|
412
486
|
fullyExercised: boolean;
|
|
487
|
+
owner?: {
|
|
488
|
+
__typename: "TimelockMarketUser";
|
|
489
|
+
address: string;
|
|
490
|
+
} | null;
|
|
491
|
+
market?: {
|
|
492
|
+
__typename: "TimelockMarket";
|
|
493
|
+
address: string;
|
|
494
|
+
} | null;
|
|
413
495
|
exerciseEvents: Array<{
|
|
414
496
|
__typename: "ExerciseOptionEvent";
|
|
415
497
|
transactionHash: string;
|
|
@@ -445,6 +527,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
445
527
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
446
528
|
optionId: bigint;
|
|
447
529
|
marketAddr: Address;
|
|
530
|
+
ownerAddr: Address;
|
|
448
531
|
optionType: "CALL" | "PUT";
|
|
449
532
|
createdAt: Date;
|
|
450
533
|
expiresAt: Date;
|
|
@@ -459,11 +542,18 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
459
542
|
entryPrice: bigint;
|
|
460
543
|
__typename: "UserOption";
|
|
461
544
|
id: string;
|
|
462
|
-
ownerAddr: string;
|
|
463
545
|
strikeTick: number;
|
|
464
546
|
entryTick: number;
|
|
465
547
|
startTick: number;
|
|
466
548
|
fullyExercised: boolean;
|
|
549
|
+
owner?: {
|
|
550
|
+
__typename: "TimelockMarketUser";
|
|
551
|
+
address: string;
|
|
552
|
+
} | null;
|
|
553
|
+
market?: {
|
|
554
|
+
__typename: "TimelockMarket";
|
|
555
|
+
address: string;
|
|
556
|
+
} | null;
|
|
467
557
|
exerciseEvents: Array<{
|
|
468
558
|
__typename: "ExerciseOptionEvent";
|
|
469
559
|
transactionHash: string;
|
|
@@ -477,6 +567,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
477
567
|
promise: Promise<{
|
|
478
568
|
optionId: bigint;
|
|
479
569
|
marketAddr: Address;
|
|
570
|
+
ownerAddr: Address;
|
|
480
571
|
optionType: "CALL" | "PUT";
|
|
481
572
|
createdAt: Date;
|
|
482
573
|
expiresAt: Date;
|
|
@@ -491,11 +582,18 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
491
582
|
entryPrice: bigint;
|
|
492
583
|
__typename: "UserOption";
|
|
493
584
|
id: string;
|
|
494
|
-
ownerAddr: string;
|
|
495
585
|
strikeTick: number;
|
|
496
586
|
entryTick: number;
|
|
497
587
|
startTick: number;
|
|
498
588
|
fullyExercised: boolean;
|
|
589
|
+
owner?: {
|
|
590
|
+
__typename: "TimelockMarketUser";
|
|
591
|
+
address: string;
|
|
592
|
+
} | null;
|
|
593
|
+
market?: {
|
|
594
|
+
__typename: "TimelockMarket";
|
|
595
|
+
address: string;
|
|
596
|
+
} | null;
|
|
499
597
|
exerciseEvents: Array<{
|
|
500
598
|
__typename: "ExerciseOptionEvent";
|
|
501
599
|
transactionHash: string;
|
|
@@ -508,6 +606,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
508
606
|
data: {
|
|
509
607
|
optionId: bigint;
|
|
510
608
|
marketAddr: Address;
|
|
609
|
+
ownerAddr: Address;
|
|
511
610
|
optionType: "CALL" | "PUT";
|
|
512
611
|
createdAt: Date;
|
|
513
612
|
expiresAt: Date;
|
|
@@ -522,11 +621,18 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
522
621
|
entryPrice: bigint;
|
|
523
622
|
__typename: "UserOption";
|
|
524
623
|
id: string;
|
|
525
|
-
ownerAddr: string;
|
|
526
624
|
strikeTick: number;
|
|
527
625
|
entryTick: number;
|
|
528
626
|
startTick: number;
|
|
529
627
|
fullyExercised: boolean;
|
|
628
|
+
owner?: {
|
|
629
|
+
__typename: "TimelockMarketUser";
|
|
630
|
+
address: string;
|
|
631
|
+
} | null;
|
|
632
|
+
market?: {
|
|
633
|
+
__typename: "TimelockMarket";
|
|
634
|
+
address: string;
|
|
635
|
+
} | null;
|
|
530
636
|
exerciseEvents: Array<{
|
|
531
637
|
__typename: "ExerciseOptionEvent";
|
|
532
638
|
transactionHash: string;
|
|
@@ -562,6 +668,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
562
668
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
563
669
|
optionId: bigint;
|
|
564
670
|
marketAddr: Address;
|
|
671
|
+
ownerAddr: Address;
|
|
565
672
|
optionType: "CALL" | "PUT";
|
|
566
673
|
createdAt: Date;
|
|
567
674
|
expiresAt: Date;
|
|
@@ -576,11 +683,18 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
576
683
|
entryPrice: bigint;
|
|
577
684
|
__typename: "UserOption";
|
|
578
685
|
id: string;
|
|
579
|
-
ownerAddr: string;
|
|
580
686
|
strikeTick: number;
|
|
581
687
|
entryTick: number;
|
|
582
688
|
startTick: number;
|
|
583
689
|
fullyExercised: boolean;
|
|
690
|
+
owner?: {
|
|
691
|
+
__typename: "TimelockMarketUser";
|
|
692
|
+
address: string;
|
|
693
|
+
} | null;
|
|
694
|
+
market?: {
|
|
695
|
+
__typename: "TimelockMarket";
|
|
696
|
+
address: string;
|
|
697
|
+
} | null;
|
|
584
698
|
exerciseEvents: Array<{
|
|
585
699
|
__typename: "ExerciseOptionEvent";
|
|
586
700
|
transactionHash: string;
|
|
@@ -594,6 +708,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
594
708
|
promise: Promise<{
|
|
595
709
|
optionId: bigint;
|
|
596
710
|
marketAddr: Address;
|
|
711
|
+
ownerAddr: Address;
|
|
597
712
|
optionType: "CALL" | "PUT";
|
|
598
713
|
createdAt: Date;
|
|
599
714
|
expiresAt: Date;
|
|
@@ -608,11 +723,18 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
608
723
|
entryPrice: bigint;
|
|
609
724
|
__typename: "UserOption";
|
|
610
725
|
id: string;
|
|
611
|
-
ownerAddr: string;
|
|
612
726
|
strikeTick: number;
|
|
613
727
|
entryTick: number;
|
|
614
728
|
startTick: number;
|
|
615
729
|
fullyExercised: boolean;
|
|
730
|
+
owner?: {
|
|
731
|
+
__typename: "TimelockMarketUser";
|
|
732
|
+
address: string;
|
|
733
|
+
} | null;
|
|
734
|
+
market?: {
|
|
735
|
+
__typename: "TimelockMarket";
|
|
736
|
+
address: string;
|
|
737
|
+
} | null;
|
|
616
738
|
exerciseEvents: Array<{
|
|
617
739
|
__typename: "ExerciseOptionEvent";
|
|
618
740
|
transactionHash: string;
|
|
@@ -625,6 +747,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
625
747
|
data: {
|
|
626
748
|
optionId: bigint;
|
|
627
749
|
marketAddr: Address;
|
|
750
|
+
ownerAddr: Address;
|
|
628
751
|
optionType: "CALL" | "PUT";
|
|
629
752
|
createdAt: Date;
|
|
630
753
|
expiresAt: Date;
|
|
@@ -639,11 +762,18 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
639
762
|
entryPrice: bigint;
|
|
640
763
|
__typename: "UserOption";
|
|
641
764
|
id: string;
|
|
642
|
-
ownerAddr: string;
|
|
643
765
|
strikeTick: number;
|
|
644
766
|
entryTick: number;
|
|
645
767
|
startTick: number;
|
|
646
768
|
fullyExercised: boolean;
|
|
769
|
+
owner?: {
|
|
770
|
+
__typename: "TimelockMarketUser";
|
|
771
|
+
address: string;
|
|
772
|
+
} | null;
|
|
773
|
+
market?: {
|
|
774
|
+
__typename: "TimelockMarket";
|
|
775
|
+
address: string;
|
|
776
|
+
} | null;
|
|
647
777
|
exerciseEvents: Array<{
|
|
648
778
|
__typename: "ExerciseOptionEvent";
|
|
649
779
|
transactionHash: string;
|
|
@@ -679,6 +809,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
679
809
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
680
810
|
optionId: bigint;
|
|
681
811
|
marketAddr: Address;
|
|
812
|
+
ownerAddr: Address;
|
|
682
813
|
optionType: "CALL" | "PUT";
|
|
683
814
|
createdAt: Date;
|
|
684
815
|
expiresAt: Date;
|
|
@@ -693,11 +824,18 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
693
824
|
entryPrice: bigint;
|
|
694
825
|
__typename: "UserOption";
|
|
695
826
|
id: string;
|
|
696
|
-
ownerAddr: string;
|
|
697
827
|
strikeTick: number;
|
|
698
828
|
entryTick: number;
|
|
699
829
|
startTick: number;
|
|
700
830
|
fullyExercised: boolean;
|
|
831
|
+
owner?: {
|
|
832
|
+
__typename: "TimelockMarketUser";
|
|
833
|
+
address: string;
|
|
834
|
+
} | null;
|
|
835
|
+
market?: {
|
|
836
|
+
__typename: "TimelockMarket";
|
|
837
|
+
address: string;
|
|
838
|
+
} | null;
|
|
701
839
|
exerciseEvents: Array<{
|
|
702
840
|
__typename: "ExerciseOptionEvent";
|
|
703
841
|
transactionHash: string;
|
|
@@ -711,6 +849,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
711
849
|
promise: Promise<{
|
|
712
850
|
optionId: bigint;
|
|
713
851
|
marketAddr: Address;
|
|
852
|
+
ownerAddr: Address;
|
|
714
853
|
optionType: "CALL" | "PUT";
|
|
715
854
|
createdAt: Date;
|
|
716
855
|
expiresAt: Date;
|
|
@@ -725,11 +864,18 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
725
864
|
entryPrice: bigint;
|
|
726
865
|
__typename: "UserOption";
|
|
727
866
|
id: string;
|
|
728
|
-
ownerAddr: string;
|
|
729
867
|
strikeTick: number;
|
|
730
868
|
entryTick: number;
|
|
731
869
|
startTick: number;
|
|
732
870
|
fullyExercised: boolean;
|
|
871
|
+
owner?: {
|
|
872
|
+
__typename: "TimelockMarketUser";
|
|
873
|
+
address: string;
|
|
874
|
+
} | null;
|
|
875
|
+
market?: {
|
|
876
|
+
__typename: "TimelockMarket";
|
|
877
|
+
address: string;
|
|
878
|
+
} | null;
|
|
733
879
|
exerciseEvents: Array<{
|
|
734
880
|
__typename: "ExerciseOptionEvent";
|
|
735
881
|
transactionHash: string;
|
|
@@ -742,6 +888,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
742
888
|
data: {
|
|
743
889
|
optionId: bigint;
|
|
744
890
|
marketAddr: Address;
|
|
891
|
+
ownerAddr: Address;
|
|
745
892
|
optionType: "CALL" | "PUT";
|
|
746
893
|
createdAt: Date;
|
|
747
894
|
expiresAt: Date;
|
|
@@ -756,11 +903,18 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
756
903
|
entryPrice: bigint;
|
|
757
904
|
__typename: "UserOption";
|
|
758
905
|
id: string;
|
|
759
|
-
ownerAddr: string;
|
|
760
906
|
strikeTick: number;
|
|
761
907
|
entryTick: number;
|
|
762
908
|
startTick: number;
|
|
763
909
|
fullyExercised: boolean;
|
|
910
|
+
owner?: {
|
|
911
|
+
__typename: "TimelockMarketUser";
|
|
912
|
+
address: string;
|
|
913
|
+
} | null;
|
|
914
|
+
market?: {
|
|
915
|
+
__typename: "TimelockMarket";
|
|
916
|
+
address: string;
|
|
917
|
+
} | null;
|
|
764
918
|
exerciseEvents: Array<{
|
|
765
919
|
__typename: "ExerciseOptionEvent";
|
|
766
920
|
transactionHash: string;
|
|
@@ -796,6 +950,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
796
950
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
797
951
|
optionId: bigint;
|
|
798
952
|
marketAddr: Address;
|
|
953
|
+
ownerAddr: Address;
|
|
799
954
|
optionType: "CALL" | "PUT";
|
|
800
955
|
createdAt: Date;
|
|
801
956
|
expiresAt: Date;
|
|
@@ -810,11 +965,18 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
810
965
|
entryPrice: bigint;
|
|
811
966
|
__typename: "UserOption";
|
|
812
967
|
id: string;
|
|
813
|
-
ownerAddr: string;
|
|
814
968
|
strikeTick: number;
|
|
815
969
|
entryTick: number;
|
|
816
970
|
startTick: number;
|
|
817
971
|
fullyExercised: boolean;
|
|
972
|
+
owner?: {
|
|
973
|
+
__typename: "TimelockMarketUser";
|
|
974
|
+
address: string;
|
|
975
|
+
} | null;
|
|
976
|
+
market?: {
|
|
977
|
+
__typename: "TimelockMarket";
|
|
978
|
+
address: string;
|
|
979
|
+
} | null;
|
|
818
980
|
exerciseEvents: Array<{
|
|
819
981
|
__typename: "ExerciseOptionEvent";
|
|
820
982
|
transactionHash: string;
|
|
@@ -828,6 +990,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
828
990
|
promise: Promise<{
|
|
829
991
|
optionId: bigint;
|
|
830
992
|
marketAddr: Address;
|
|
993
|
+
ownerAddr: Address;
|
|
831
994
|
optionType: "CALL" | "PUT";
|
|
832
995
|
createdAt: Date;
|
|
833
996
|
expiresAt: Date;
|
|
@@ -842,11 +1005,18 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
842
1005
|
entryPrice: bigint;
|
|
843
1006
|
__typename: "UserOption";
|
|
844
1007
|
id: string;
|
|
845
|
-
ownerAddr: string;
|
|
846
1008
|
strikeTick: number;
|
|
847
1009
|
entryTick: number;
|
|
848
1010
|
startTick: number;
|
|
849
1011
|
fullyExercised: boolean;
|
|
1012
|
+
owner?: {
|
|
1013
|
+
__typename: "TimelockMarketUser";
|
|
1014
|
+
address: string;
|
|
1015
|
+
} | null;
|
|
1016
|
+
market?: {
|
|
1017
|
+
__typename: "TimelockMarket";
|
|
1018
|
+
address: string;
|
|
1019
|
+
} | null;
|
|
850
1020
|
exerciseEvents: Array<{
|
|
851
1021
|
__typename: "ExerciseOptionEvent";
|
|
852
1022
|
transactionHash: string;
|
|
@@ -859,6 +1029,7 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
859
1029
|
data: {
|
|
860
1030
|
optionId: bigint;
|
|
861
1031
|
marketAddr: Address;
|
|
1032
|
+
ownerAddr: Address;
|
|
862
1033
|
optionType: "CALL" | "PUT";
|
|
863
1034
|
createdAt: Date;
|
|
864
1035
|
expiresAt: Date;
|
|
@@ -873,11 +1044,18 @@ declare const useUserOptions: (user?: Address, active?: boolean) => {
|
|
|
873
1044
|
entryPrice: bigint;
|
|
874
1045
|
__typename: "UserOption";
|
|
875
1046
|
id: string;
|
|
876
|
-
ownerAddr: string;
|
|
877
1047
|
strikeTick: number;
|
|
878
1048
|
entryTick: number;
|
|
879
1049
|
startTick: number;
|
|
880
1050
|
fullyExercised: boolean;
|
|
1051
|
+
owner?: {
|
|
1052
|
+
__typename: "TimelockMarketUser";
|
|
1053
|
+
address: string;
|
|
1054
|
+
} | null;
|
|
1055
|
+
market?: {
|
|
1056
|
+
__typename: "TimelockMarket";
|
|
1057
|
+
address: string;
|
|
1058
|
+
} | null;
|
|
881
1059
|
exerciseEvents: Array<{
|
|
882
1060
|
__typename: "ExerciseOptionEvent";
|
|
883
1061
|
transactionHash: string;
|
|
@@ -914,6 +1092,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
914
1092
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
915
1093
|
optionId: bigint;
|
|
916
1094
|
marketAddr: Address;
|
|
1095
|
+
ownerAddr: Address;
|
|
917
1096
|
optionType: "CALL" | "PUT";
|
|
918
1097
|
createdAt: Date;
|
|
919
1098
|
expiresAt: Date;
|
|
@@ -928,11 +1107,18 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
928
1107
|
entryPrice: bigint;
|
|
929
1108
|
__typename: "UserOption";
|
|
930
1109
|
id: string;
|
|
931
|
-
ownerAddr: string;
|
|
932
1110
|
strikeTick: number;
|
|
933
1111
|
entryTick: number;
|
|
934
1112
|
startTick: number;
|
|
935
1113
|
fullyExercised: boolean;
|
|
1114
|
+
owner?: {
|
|
1115
|
+
__typename: "TimelockMarketUser";
|
|
1116
|
+
address: string;
|
|
1117
|
+
} | null;
|
|
1118
|
+
market?: {
|
|
1119
|
+
__typename: "TimelockMarket";
|
|
1120
|
+
address: string;
|
|
1121
|
+
} | null;
|
|
936
1122
|
exerciseEvents: Array<{
|
|
937
1123
|
__typename: "ExerciseOptionEvent";
|
|
938
1124
|
transactionHash: string;
|
|
@@ -946,6 +1132,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
946
1132
|
promise: Promise<{
|
|
947
1133
|
optionId: bigint;
|
|
948
1134
|
marketAddr: Address;
|
|
1135
|
+
ownerAddr: Address;
|
|
949
1136
|
optionType: "CALL" | "PUT";
|
|
950
1137
|
createdAt: Date;
|
|
951
1138
|
expiresAt: Date;
|
|
@@ -960,11 +1147,18 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
960
1147
|
entryPrice: bigint;
|
|
961
1148
|
__typename: "UserOption";
|
|
962
1149
|
id: string;
|
|
963
|
-
ownerAddr: string;
|
|
964
1150
|
strikeTick: number;
|
|
965
1151
|
entryTick: number;
|
|
966
1152
|
startTick: number;
|
|
967
1153
|
fullyExercised: boolean;
|
|
1154
|
+
owner?: {
|
|
1155
|
+
__typename: "TimelockMarketUser";
|
|
1156
|
+
address: string;
|
|
1157
|
+
} | null;
|
|
1158
|
+
market?: {
|
|
1159
|
+
__typename: "TimelockMarket";
|
|
1160
|
+
address: string;
|
|
1161
|
+
} | null;
|
|
968
1162
|
exerciseEvents: Array<{
|
|
969
1163
|
__typename: "ExerciseOptionEvent";
|
|
970
1164
|
transactionHash: string;
|
|
@@ -977,6 +1171,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
977
1171
|
data: {
|
|
978
1172
|
optionId: bigint;
|
|
979
1173
|
marketAddr: Address;
|
|
1174
|
+
ownerAddr: Address;
|
|
980
1175
|
optionType: "CALL" | "PUT";
|
|
981
1176
|
createdAt: Date;
|
|
982
1177
|
expiresAt: Date;
|
|
@@ -991,11 +1186,18 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
991
1186
|
entryPrice: bigint;
|
|
992
1187
|
__typename: "UserOption";
|
|
993
1188
|
id: string;
|
|
994
|
-
ownerAddr: string;
|
|
995
1189
|
strikeTick: number;
|
|
996
1190
|
entryTick: number;
|
|
997
1191
|
startTick: number;
|
|
998
1192
|
fullyExercised: boolean;
|
|
1193
|
+
owner?: {
|
|
1194
|
+
__typename: "TimelockMarketUser";
|
|
1195
|
+
address: string;
|
|
1196
|
+
} | null;
|
|
1197
|
+
market?: {
|
|
1198
|
+
__typename: "TimelockMarket";
|
|
1199
|
+
address: string;
|
|
1200
|
+
} | null;
|
|
999
1201
|
exerciseEvents: Array<{
|
|
1000
1202
|
__typename: "ExerciseOptionEvent";
|
|
1001
1203
|
transactionHash: string;
|
|
@@ -1031,6 +1233,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1031
1233
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1032
1234
|
optionId: bigint;
|
|
1033
1235
|
marketAddr: Address;
|
|
1236
|
+
ownerAddr: Address;
|
|
1034
1237
|
optionType: "CALL" | "PUT";
|
|
1035
1238
|
createdAt: Date;
|
|
1036
1239
|
expiresAt: Date;
|
|
@@ -1045,11 +1248,18 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1045
1248
|
entryPrice: bigint;
|
|
1046
1249
|
__typename: "UserOption";
|
|
1047
1250
|
id: string;
|
|
1048
|
-
ownerAddr: string;
|
|
1049
1251
|
strikeTick: number;
|
|
1050
1252
|
entryTick: number;
|
|
1051
1253
|
startTick: number;
|
|
1052
1254
|
fullyExercised: boolean;
|
|
1255
|
+
owner?: {
|
|
1256
|
+
__typename: "TimelockMarketUser";
|
|
1257
|
+
address: string;
|
|
1258
|
+
} | null;
|
|
1259
|
+
market?: {
|
|
1260
|
+
__typename: "TimelockMarket";
|
|
1261
|
+
address: string;
|
|
1262
|
+
} | null;
|
|
1053
1263
|
exerciseEvents: Array<{
|
|
1054
1264
|
__typename: "ExerciseOptionEvent";
|
|
1055
1265
|
transactionHash: string;
|
|
@@ -1063,6 +1273,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1063
1273
|
promise: Promise<{
|
|
1064
1274
|
optionId: bigint;
|
|
1065
1275
|
marketAddr: Address;
|
|
1276
|
+
ownerAddr: Address;
|
|
1066
1277
|
optionType: "CALL" | "PUT";
|
|
1067
1278
|
createdAt: Date;
|
|
1068
1279
|
expiresAt: Date;
|
|
@@ -1077,11 +1288,18 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1077
1288
|
entryPrice: bigint;
|
|
1078
1289
|
__typename: "UserOption";
|
|
1079
1290
|
id: string;
|
|
1080
|
-
ownerAddr: string;
|
|
1081
1291
|
strikeTick: number;
|
|
1082
1292
|
entryTick: number;
|
|
1083
1293
|
startTick: number;
|
|
1084
1294
|
fullyExercised: boolean;
|
|
1295
|
+
owner?: {
|
|
1296
|
+
__typename: "TimelockMarketUser";
|
|
1297
|
+
address: string;
|
|
1298
|
+
} | null;
|
|
1299
|
+
market?: {
|
|
1300
|
+
__typename: "TimelockMarket";
|
|
1301
|
+
address: string;
|
|
1302
|
+
} | null;
|
|
1085
1303
|
exerciseEvents: Array<{
|
|
1086
1304
|
__typename: "ExerciseOptionEvent";
|
|
1087
1305
|
transactionHash: string;
|
|
@@ -1094,6 +1312,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1094
1312
|
data: {
|
|
1095
1313
|
optionId: bigint;
|
|
1096
1314
|
marketAddr: Address;
|
|
1315
|
+
ownerAddr: Address;
|
|
1097
1316
|
optionType: "CALL" | "PUT";
|
|
1098
1317
|
createdAt: Date;
|
|
1099
1318
|
expiresAt: Date;
|
|
@@ -1108,11 +1327,18 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1108
1327
|
entryPrice: bigint;
|
|
1109
1328
|
__typename: "UserOption";
|
|
1110
1329
|
id: string;
|
|
1111
|
-
ownerAddr: string;
|
|
1112
1330
|
strikeTick: number;
|
|
1113
1331
|
entryTick: number;
|
|
1114
1332
|
startTick: number;
|
|
1115
1333
|
fullyExercised: boolean;
|
|
1334
|
+
owner?: {
|
|
1335
|
+
__typename: "TimelockMarketUser";
|
|
1336
|
+
address: string;
|
|
1337
|
+
} | null;
|
|
1338
|
+
market?: {
|
|
1339
|
+
__typename: "TimelockMarket";
|
|
1340
|
+
address: string;
|
|
1341
|
+
} | null;
|
|
1116
1342
|
exerciseEvents: Array<{
|
|
1117
1343
|
__typename: "ExerciseOptionEvent";
|
|
1118
1344
|
transactionHash: string;
|
|
@@ -1148,6 +1374,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1148
1374
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1149
1375
|
optionId: bigint;
|
|
1150
1376
|
marketAddr: Address;
|
|
1377
|
+
ownerAddr: Address;
|
|
1151
1378
|
optionType: "CALL" | "PUT";
|
|
1152
1379
|
createdAt: Date;
|
|
1153
1380
|
expiresAt: Date;
|
|
@@ -1162,11 +1389,18 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1162
1389
|
entryPrice: bigint;
|
|
1163
1390
|
__typename: "UserOption";
|
|
1164
1391
|
id: string;
|
|
1165
|
-
ownerAddr: string;
|
|
1166
1392
|
strikeTick: number;
|
|
1167
1393
|
entryTick: number;
|
|
1168
1394
|
startTick: number;
|
|
1169
1395
|
fullyExercised: boolean;
|
|
1396
|
+
owner?: {
|
|
1397
|
+
__typename: "TimelockMarketUser";
|
|
1398
|
+
address: string;
|
|
1399
|
+
} | null;
|
|
1400
|
+
market?: {
|
|
1401
|
+
__typename: "TimelockMarket";
|
|
1402
|
+
address: string;
|
|
1403
|
+
} | null;
|
|
1170
1404
|
exerciseEvents: Array<{
|
|
1171
1405
|
__typename: "ExerciseOptionEvent";
|
|
1172
1406
|
transactionHash: string;
|
|
@@ -1180,6 +1414,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1180
1414
|
promise: Promise<{
|
|
1181
1415
|
optionId: bigint;
|
|
1182
1416
|
marketAddr: Address;
|
|
1417
|
+
ownerAddr: Address;
|
|
1183
1418
|
optionType: "CALL" | "PUT";
|
|
1184
1419
|
createdAt: Date;
|
|
1185
1420
|
expiresAt: Date;
|
|
@@ -1194,11 +1429,18 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1194
1429
|
entryPrice: bigint;
|
|
1195
1430
|
__typename: "UserOption";
|
|
1196
1431
|
id: string;
|
|
1197
|
-
ownerAddr: string;
|
|
1198
1432
|
strikeTick: number;
|
|
1199
1433
|
entryTick: number;
|
|
1200
1434
|
startTick: number;
|
|
1201
1435
|
fullyExercised: boolean;
|
|
1436
|
+
owner?: {
|
|
1437
|
+
__typename: "TimelockMarketUser";
|
|
1438
|
+
address: string;
|
|
1439
|
+
} | null;
|
|
1440
|
+
market?: {
|
|
1441
|
+
__typename: "TimelockMarket";
|
|
1442
|
+
address: string;
|
|
1443
|
+
} | null;
|
|
1202
1444
|
exerciseEvents: Array<{
|
|
1203
1445
|
__typename: "ExerciseOptionEvent";
|
|
1204
1446
|
transactionHash: string;
|
|
@@ -1211,6 +1453,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1211
1453
|
data: {
|
|
1212
1454
|
optionId: bigint;
|
|
1213
1455
|
marketAddr: Address;
|
|
1456
|
+
ownerAddr: Address;
|
|
1214
1457
|
optionType: "CALL" | "PUT";
|
|
1215
1458
|
createdAt: Date;
|
|
1216
1459
|
expiresAt: Date;
|
|
@@ -1225,11 +1468,18 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1225
1468
|
entryPrice: bigint;
|
|
1226
1469
|
__typename: "UserOption";
|
|
1227
1470
|
id: string;
|
|
1228
|
-
ownerAddr: string;
|
|
1229
1471
|
strikeTick: number;
|
|
1230
1472
|
entryTick: number;
|
|
1231
1473
|
startTick: number;
|
|
1232
1474
|
fullyExercised: boolean;
|
|
1475
|
+
owner?: {
|
|
1476
|
+
__typename: "TimelockMarketUser";
|
|
1477
|
+
address: string;
|
|
1478
|
+
} | null;
|
|
1479
|
+
market?: {
|
|
1480
|
+
__typename: "TimelockMarket";
|
|
1481
|
+
address: string;
|
|
1482
|
+
} | null;
|
|
1233
1483
|
exerciseEvents: Array<{
|
|
1234
1484
|
__typename: "ExerciseOptionEvent";
|
|
1235
1485
|
transactionHash: string;
|
|
@@ -1265,6 +1515,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1265
1515
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1266
1516
|
optionId: bigint;
|
|
1267
1517
|
marketAddr: Address;
|
|
1518
|
+
ownerAddr: Address;
|
|
1268
1519
|
optionType: "CALL" | "PUT";
|
|
1269
1520
|
createdAt: Date;
|
|
1270
1521
|
expiresAt: Date;
|
|
@@ -1279,11 +1530,18 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1279
1530
|
entryPrice: bigint;
|
|
1280
1531
|
__typename: "UserOption";
|
|
1281
1532
|
id: string;
|
|
1282
|
-
ownerAddr: string;
|
|
1283
1533
|
strikeTick: number;
|
|
1284
1534
|
entryTick: number;
|
|
1285
1535
|
startTick: number;
|
|
1286
1536
|
fullyExercised: boolean;
|
|
1537
|
+
owner?: {
|
|
1538
|
+
__typename: "TimelockMarketUser";
|
|
1539
|
+
address: string;
|
|
1540
|
+
} | null;
|
|
1541
|
+
market?: {
|
|
1542
|
+
__typename: "TimelockMarket";
|
|
1543
|
+
address: string;
|
|
1544
|
+
} | null;
|
|
1287
1545
|
exerciseEvents: Array<{
|
|
1288
1546
|
__typename: "ExerciseOptionEvent";
|
|
1289
1547
|
transactionHash: string;
|
|
@@ -1297,6 +1555,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1297
1555
|
promise: Promise<{
|
|
1298
1556
|
optionId: bigint;
|
|
1299
1557
|
marketAddr: Address;
|
|
1558
|
+
ownerAddr: Address;
|
|
1300
1559
|
optionType: "CALL" | "PUT";
|
|
1301
1560
|
createdAt: Date;
|
|
1302
1561
|
expiresAt: Date;
|
|
@@ -1311,11 +1570,18 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1311
1570
|
entryPrice: bigint;
|
|
1312
1571
|
__typename: "UserOption";
|
|
1313
1572
|
id: string;
|
|
1314
|
-
ownerAddr: string;
|
|
1315
1573
|
strikeTick: number;
|
|
1316
1574
|
entryTick: number;
|
|
1317
1575
|
startTick: number;
|
|
1318
1576
|
fullyExercised: boolean;
|
|
1577
|
+
owner?: {
|
|
1578
|
+
__typename: "TimelockMarketUser";
|
|
1579
|
+
address: string;
|
|
1580
|
+
} | null;
|
|
1581
|
+
market?: {
|
|
1582
|
+
__typename: "TimelockMarket";
|
|
1583
|
+
address: string;
|
|
1584
|
+
} | null;
|
|
1319
1585
|
exerciseEvents: Array<{
|
|
1320
1586
|
__typename: "ExerciseOptionEvent";
|
|
1321
1587
|
transactionHash: string;
|
|
@@ -1328,6 +1594,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1328
1594
|
data: {
|
|
1329
1595
|
optionId: bigint;
|
|
1330
1596
|
marketAddr: Address;
|
|
1597
|
+
ownerAddr: Address;
|
|
1331
1598
|
optionType: "CALL" | "PUT";
|
|
1332
1599
|
createdAt: Date;
|
|
1333
1600
|
expiresAt: Date;
|
|
@@ -1342,11 +1609,18 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1342
1609
|
entryPrice: bigint;
|
|
1343
1610
|
__typename: "UserOption";
|
|
1344
1611
|
id: string;
|
|
1345
|
-
ownerAddr: string;
|
|
1346
1612
|
strikeTick: number;
|
|
1347
1613
|
entryTick: number;
|
|
1348
1614
|
startTick: number;
|
|
1349
1615
|
fullyExercised: boolean;
|
|
1616
|
+
owner?: {
|
|
1617
|
+
__typename: "TimelockMarketUser";
|
|
1618
|
+
address: string;
|
|
1619
|
+
} | null;
|
|
1620
|
+
market?: {
|
|
1621
|
+
__typename: "TimelockMarket";
|
|
1622
|
+
address: string;
|
|
1623
|
+
} | null;
|
|
1350
1624
|
exerciseEvents: Array<{
|
|
1351
1625
|
__typename: "ExerciseOptionEvent";
|
|
1352
1626
|
transactionHash: string;
|
|
@@ -1382,6 +1656,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1382
1656
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1383
1657
|
optionId: bigint;
|
|
1384
1658
|
marketAddr: Address;
|
|
1659
|
+
ownerAddr: Address;
|
|
1385
1660
|
optionType: "CALL" | "PUT";
|
|
1386
1661
|
createdAt: Date;
|
|
1387
1662
|
expiresAt: Date;
|
|
@@ -1396,11 +1671,18 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1396
1671
|
entryPrice: bigint;
|
|
1397
1672
|
__typename: "UserOption";
|
|
1398
1673
|
id: string;
|
|
1399
|
-
ownerAddr: string;
|
|
1400
1674
|
strikeTick: number;
|
|
1401
1675
|
entryTick: number;
|
|
1402
1676
|
startTick: number;
|
|
1403
1677
|
fullyExercised: boolean;
|
|
1678
|
+
owner?: {
|
|
1679
|
+
__typename: "TimelockMarketUser";
|
|
1680
|
+
address: string;
|
|
1681
|
+
} | null;
|
|
1682
|
+
market?: {
|
|
1683
|
+
__typename: "TimelockMarket";
|
|
1684
|
+
address: string;
|
|
1685
|
+
} | null;
|
|
1404
1686
|
exerciseEvents: Array<{
|
|
1405
1687
|
__typename: "ExerciseOptionEvent";
|
|
1406
1688
|
transactionHash: string;
|
|
@@ -1414,6 +1696,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1414
1696
|
promise: Promise<{
|
|
1415
1697
|
optionId: bigint;
|
|
1416
1698
|
marketAddr: Address;
|
|
1699
|
+
ownerAddr: Address;
|
|
1417
1700
|
optionType: "CALL" | "PUT";
|
|
1418
1701
|
createdAt: Date;
|
|
1419
1702
|
expiresAt: Date;
|
|
@@ -1428,11 +1711,18 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1428
1711
|
entryPrice: bigint;
|
|
1429
1712
|
__typename: "UserOption";
|
|
1430
1713
|
id: string;
|
|
1431
|
-
ownerAddr: string;
|
|
1432
1714
|
strikeTick: number;
|
|
1433
1715
|
entryTick: number;
|
|
1434
1716
|
startTick: number;
|
|
1435
1717
|
fullyExercised: boolean;
|
|
1718
|
+
owner?: {
|
|
1719
|
+
__typename: "TimelockMarketUser";
|
|
1720
|
+
address: string;
|
|
1721
|
+
} | null;
|
|
1722
|
+
market?: {
|
|
1723
|
+
__typename: "TimelockMarket";
|
|
1724
|
+
address: string;
|
|
1725
|
+
} | null;
|
|
1436
1726
|
exerciseEvents: Array<{
|
|
1437
1727
|
__typename: "ExerciseOptionEvent";
|
|
1438
1728
|
transactionHash: string;
|
|
@@ -1445,6 +1735,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1445
1735
|
data: {
|
|
1446
1736
|
optionId: bigint;
|
|
1447
1737
|
marketAddr: Address;
|
|
1738
|
+
ownerAddr: Address;
|
|
1448
1739
|
optionType: "CALL" | "PUT";
|
|
1449
1740
|
createdAt: Date;
|
|
1450
1741
|
expiresAt: Date;
|
|
@@ -1459,11 +1750,18 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1459
1750
|
entryPrice: bigint;
|
|
1460
1751
|
__typename: "UserOption";
|
|
1461
1752
|
id: string;
|
|
1462
|
-
ownerAddr: string;
|
|
1463
1753
|
strikeTick: number;
|
|
1464
1754
|
entryTick: number;
|
|
1465
1755
|
startTick: number;
|
|
1466
1756
|
fullyExercised: boolean;
|
|
1757
|
+
owner?: {
|
|
1758
|
+
__typename: "TimelockMarketUser";
|
|
1759
|
+
address: string;
|
|
1760
|
+
} | null;
|
|
1761
|
+
market?: {
|
|
1762
|
+
__typename: "TimelockMarket";
|
|
1763
|
+
address: string;
|
|
1764
|
+
} | null;
|
|
1467
1765
|
exerciseEvents: Array<{
|
|
1468
1766
|
__typename: "ExerciseOptionEvent";
|
|
1469
1767
|
transactionHash: string;
|
|
@@ -1499,6 +1797,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1499
1797
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1500
1798
|
optionId: bigint;
|
|
1501
1799
|
marketAddr: Address;
|
|
1800
|
+
ownerAddr: Address;
|
|
1502
1801
|
optionType: "CALL" | "PUT";
|
|
1503
1802
|
createdAt: Date;
|
|
1504
1803
|
expiresAt: Date;
|
|
@@ -1513,11 +1812,18 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1513
1812
|
entryPrice: bigint;
|
|
1514
1813
|
__typename: "UserOption";
|
|
1515
1814
|
id: string;
|
|
1516
|
-
ownerAddr: string;
|
|
1517
1815
|
strikeTick: number;
|
|
1518
1816
|
entryTick: number;
|
|
1519
1817
|
startTick: number;
|
|
1520
1818
|
fullyExercised: boolean;
|
|
1819
|
+
owner?: {
|
|
1820
|
+
__typename: "TimelockMarketUser";
|
|
1821
|
+
address: string;
|
|
1822
|
+
} | null;
|
|
1823
|
+
market?: {
|
|
1824
|
+
__typename: "TimelockMarket";
|
|
1825
|
+
address: string;
|
|
1826
|
+
} | null;
|
|
1521
1827
|
exerciseEvents: Array<{
|
|
1522
1828
|
__typename: "ExerciseOptionEvent";
|
|
1523
1829
|
transactionHash: string;
|
|
@@ -1531,6 +1837,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1531
1837
|
promise: Promise<{
|
|
1532
1838
|
optionId: bigint;
|
|
1533
1839
|
marketAddr: Address;
|
|
1840
|
+
ownerAddr: Address;
|
|
1534
1841
|
optionType: "CALL" | "PUT";
|
|
1535
1842
|
createdAt: Date;
|
|
1536
1843
|
expiresAt: Date;
|
|
@@ -1545,11 +1852,18 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1545
1852
|
entryPrice: bigint;
|
|
1546
1853
|
__typename: "UserOption";
|
|
1547
1854
|
id: string;
|
|
1548
|
-
ownerAddr: string;
|
|
1549
1855
|
strikeTick: number;
|
|
1550
1856
|
entryTick: number;
|
|
1551
1857
|
startTick: number;
|
|
1552
1858
|
fullyExercised: boolean;
|
|
1859
|
+
owner?: {
|
|
1860
|
+
__typename: "TimelockMarketUser";
|
|
1861
|
+
address: string;
|
|
1862
|
+
} | null;
|
|
1863
|
+
market?: {
|
|
1864
|
+
__typename: "TimelockMarket";
|
|
1865
|
+
address: string;
|
|
1866
|
+
} | null;
|
|
1553
1867
|
exerciseEvents: Array<{
|
|
1554
1868
|
__typename: "ExerciseOptionEvent";
|
|
1555
1869
|
transactionHash: string;
|
|
@@ -1562,6 +1876,7 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1562
1876
|
data: {
|
|
1563
1877
|
optionId: bigint;
|
|
1564
1878
|
marketAddr: Address;
|
|
1879
|
+
ownerAddr: Address;
|
|
1565
1880
|
optionType: "CALL" | "PUT";
|
|
1566
1881
|
createdAt: Date;
|
|
1567
1882
|
expiresAt: Date;
|
|
@@ -1576,11 +1891,18 @@ declare const useActiveUserOptions: (user?: Address) => {
|
|
|
1576
1891
|
entryPrice: bigint;
|
|
1577
1892
|
__typename: "UserOption";
|
|
1578
1893
|
id: string;
|
|
1579
|
-
ownerAddr: string;
|
|
1580
1894
|
strikeTick: number;
|
|
1581
1895
|
entryTick: number;
|
|
1582
1896
|
startTick: number;
|
|
1583
1897
|
fullyExercised: boolean;
|
|
1898
|
+
owner?: {
|
|
1899
|
+
__typename: "TimelockMarketUser";
|
|
1900
|
+
address: string;
|
|
1901
|
+
} | null;
|
|
1902
|
+
market?: {
|
|
1903
|
+
__typename: "TimelockMarket";
|
|
1904
|
+
address: string;
|
|
1905
|
+
} | null;
|
|
1584
1906
|
exerciseEvents: Array<{
|
|
1585
1907
|
__typename: "ExerciseOptionEvent";
|
|
1586
1908
|
transactionHash: string;
|
|
@@ -1617,6 +1939,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1617
1939
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1618
1940
|
optionId: bigint;
|
|
1619
1941
|
marketAddr: Address;
|
|
1942
|
+
ownerAddr: Address;
|
|
1620
1943
|
optionType: "CALL" | "PUT";
|
|
1621
1944
|
createdAt: Date;
|
|
1622
1945
|
expiresAt: Date;
|
|
@@ -1631,11 +1954,18 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1631
1954
|
entryPrice: bigint;
|
|
1632
1955
|
__typename: "UserOption";
|
|
1633
1956
|
id: string;
|
|
1634
|
-
ownerAddr: string;
|
|
1635
1957
|
strikeTick: number;
|
|
1636
1958
|
entryTick: number;
|
|
1637
1959
|
startTick: number;
|
|
1638
1960
|
fullyExercised: boolean;
|
|
1961
|
+
owner?: {
|
|
1962
|
+
__typename: "TimelockMarketUser";
|
|
1963
|
+
address: string;
|
|
1964
|
+
} | null;
|
|
1965
|
+
market?: {
|
|
1966
|
+
__typename: "TimelockMarket";
|
|
1967
|
+
address: string;
|
|
1968
|
+
} | null;
|
|
1639
1969
|
exerciseEvents: Array<{
|
|
1640
1970
|
__typename: "ExerciseOptionEvent";
|
|
1641
1971
|
transactionHash: string;
|
|
@@ -1649,6 +1979,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1649
1979
|
promise: Promise<{
|
|
1650
1980
|
optionId: bigint;
|
|
1651
1981
|
marketAddr: Address;
|
|
1982
|
+
ownerAddr: Address;
|
|
1652
1983
|
optionType: "CALL" | "PUT";
|
|
1653
1984
|
createdAt: Date;
|
|
1654
1985
|
expiresAt: Date;
|
|
@@ -1663,11 +1994,18 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1663
1994
|
entryPrice: bigint;
|
|
1664
1995
|
__typename: "UserOption";
|
|
1665
1996
|
id: string;
|
|
1666
|
-
ownerAddr: string;
|
|
1667
1997
|
strikeTick: number;
|
|
1668
1998
|
entryTick: number;
|
|
1669
1999
|
startTick: number;
|
|
1670
2000
|
fullyExercised: boolean;
|
|
2001
|
+
owner?: {
|
|
2002
|
+
__typename: "TimelockMarketUser";
|
|
2003
|
+
address: string;
|
|
2004
|
+
} | null;
|
|
2005
|
+
market?: {
|
|
2006
|
+
__typename: "TimelockMarket";
|
|
2007
|
+
address: string;
|
|
2008
|
+
} | null;
|
|
1671
2009
|
exerciseEvents: Array<{
|
|
1672
2010
|
__typename: "ExerciseOptionEvent";
|
|
1673
2011
|
transactionHash: string;
|
|
@@ -1680,6 +2018,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1680
2018
|
data: {
|
|
1681
2019
|
optionId: bigint;
|
|
1682
2020
|
marketAddr: Address;
|
|
2021
|
+
ownerAddr: Address;
|
|
1683
2022
|
optionType: "CALL" | "PUT";
|
|
1684
2023
|
createdAt: Date;
|
|
1685
2024
|
expiresAt: Date;
|
|
@@ -1694,11 +2033,18 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1694
2033
|
entryPrice: bigint;
|
|
1695
2034
|
__typename: "UserOption";
|
|
1696
2035
|
id: string;
|
|
1697
|
-
ownerAddr: string;
|
|
1698
2036
|
strikeTick: number;
|
|
1699
2037
|
entryTick: number;
|
|
1700
2038
|
startTick: number;
|
|
1701
2039
|
fullyExercised: boolean;
|
|
2040
|
+
owner?: {
|
|
2041
|
+
__typename: "TimelockMarketUser";
|
|
2042
|
+
address: string;
|
|
2043
|
+
} | null;
|
|
2044
|
+
market?: {
|
|
2045
|
+
__typename: "TimelockMarket";
|
|
2046
|
+
address: string;
|
|
2047
|
+
} | null;
|
|
1702
2048
|
exerciseEvents: Array<{
|
|
1703
2049
|
__typename: "ExerciseOptionEvent";
|
|
1704
2050
|
transactionHash: string;
|
|
@@ -1734,6 +2080,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1734
2080
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1735
2081
|
optionId: bigint;
|
|
1736
2082
|
marketAddr: Address;
|
|
2083
|
+
ownerAddr: Address;
|
|
1737
2084
|
optionType: "CALL" | "PUT";
|
|
1738
2085
|
createdAt: Date;
|
|
1739
2086
|
expiresAt: Date;
|
|
@@ -1748,11 +2095,18 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1748
2095
|
entryPrice: bigint;
|
|
1749
2096
|
__typename: "UserOption";
|
|
1750
2097
|
id: string;
|
|
1751
|
-
ownerAddr: string;
|
|
1752
2098
|
strikeTick: number;
|
|
1753
2099
|
entryTick: number;
|
|
1754
2100
|
startTick: number;
|
|
1755
2101
|
fullyExercised: boolean;
|
|
2102
|
+
owner?: {
|
|
2103
|
+
__typename: "TimelockMarketUser";
|
|
2104
|
+
address: string;
|
|
2105
|
+
} | null;
|
|
2106
|
+
market?: {
|
|
2107
|
+
__typename: "TimelockMarket";
|
|
2108
|
+
address: string;
|
|
2109
|
+
} | null;
|
|
1756
2110
|
exerciseEvents: Array<{
|
|
1757
2111
|
__typename: "ExerciseOptionEvent";
|
|
1758
2112
|
transactionHash: string;
|
|
@@ -1766,6 +2120,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1766
2120
|
promise: Promise<{
|
|
1767
2121
|
optionId: bigint;
|
|
1768
2122
|
marketAddr: Address;
|
|
2123
|
+
ownerAddr: Address;
|
|
1769
2124
|
optionType: "CALL" | "PUT";
|
|
1770
2125
|
createdAt: Date;
|
|
1771
2126
|
expiresAt: Date;
|
|
@@ -1780,11 +2135,18 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1780
2135
|
entryPrice: bigint;
|
|
1781
2136
|
__typename: "UserOption";
|
|
1782
2137
|
id: string;
|
|
1783
|
-
ownerAddr: string;
|
|
1784
2138
|
strikeTick: number;
|
|
1785
2139
|
entryTick: number;
|
|
1786
2140
|
startTick: number;
|
|
1787
2141
|
fullyExercised: boolean;
|
|
2142
|
+
owner?: {
|
|
2143
|
+
__typename: "TimelockMarketUser";
|
|
2144
|
+
address: string;
|
|
2145
|
+
} | null;
|
|
2146
|
+
market?: {
|
|
2147
|
+
__typename: "TimelockMarket";
|
|
2148
|
+
address: string;
|
|
2149
|
+
} | null;
|
|
1788
2150
|
exerciseEvents: Array<{
|
|
1789
2151
|
__typename: "ExerciseOptionEvent";
|
|
1790
2152
|
transactionHash: string;
|
|
@@ -1797,6 +2159,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1797
2159
|
data: {
|
|
1798
2160
|
optionId: bigint;
|
|
1799
2161
|
marketAddr: Address;
|
|
2162
|
+
ownerAddr: Address;
|
|
1800
2163
|
optionType: "CALL" | "PUT";
|
|
1801
2164
|
createdAt: Date;
|
|
1802
2165
|
expiresAt: Date;
|
|
@@ -1811,11 +2174,18 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1811
2174
|
entryPrice: bigint;
|
|
1812
2175
|
__typename: "UserOption";
|
|
1813
2176
|
id: string;
|
|
1814
|
-
ownerAddr: string;
|
|
1815
2177
|
strikeTick: number;
|
|
1816
2178
|
entryTick: number;
|
|
1817
2179
|
startTick: number;
|
|
1818
2180
|
fullyExercised: boolean;
|
|
2181
|
+
owner?: {
|
|
2182
|
+
__typename: "TimelockMarketUser";
|
|
2183
|
+
address: string;
|
|
2184
|
+
} | null;
|
|
2185
|
+
market?: {
|
|
2186
|
+
__typename: "TimelockMarket";
|
|
2187
|
+
address: string;
|
|
2188
|
+
} | null;
|
|
1819
2189
|
exerciseEvents: Array<{
|
|
1820
2190
|
__typename: "ExerciseOptionEvent";
|
|
1821
2191
|
transactionHash: string;
|
|
@@ -1851,6 +2221,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1851
2221
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1852
2222
|
optionId: bigint;
|
|
1853
2223
|
marketAddr: Address;
|
|
2224
|
+
ownerAddr: Address;
|
|
1854
2225
|
optionType: "CALL" | "PUT";
|
|
1855
2226
|
createdAt: Date;
|
|
1856
2227
|
expiresAt: Date;
|
|
@@ -1865,11 +2236,18 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1865
2236
|
entryPrice: bigint;
|
|
1866
2237
|
__typename: "UserOption";
|
|
1867
2238
|
id: string;
|
|
1868
|
-
ownerAddr: string;
|
|
1869
2239
|
strikeTick: number;
|
|
1870
2240
|
entryTick: number;
|
|
1871
2241
|
startTick: number;
|
|
1872
2242
|
fullyExercised: boolean;
|
|
2243
|
+
owner?: {
|
|
2244
|
+
__typename: "TimelockMarketUser";
|
|
2245
|
+
address: string;
|
|
2246
|
+
} | null;
|
|
2247
|
+
market?: {
|
|
2248
|
+
__typename: "TimelockMarket";
|
|
2249
|
+
address: string;
|
|
2250
|
+
} | null;
|
|
1873
2251
|
exerciseEvents: Array<{
|
|
1874
2252
|
__typename: "ExerciseOptionEvent";
|
|
1875
2253
|
transactionHash: string;
|
|
@@ -1883,6 +2261,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1883
2261
|
promise: Promise<{
|
|
1884
2262
|
optionId: bigint;
|
|
1885
2263
|
marketAddr: Address;
|
|
2264
|
+
ownerAddr: Address;
|
|
1886
2265
|
optionType: "CALL" | "PUT";
|
|
1887
2266
|
createdAt: Date;
|
|
1888
2267
|
expiresAt: Date;
|
|
@@ -1897,11 +2276,18 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1897
2276
|
entryPrice: bigint;
|
|
1898
2277
|
__typename: "UserOption";
|
|
1899
2278
|
id: string;
|
|
1900
|
-
ownerAddr: string;
|
|
1901
2279
|
strikeTick: number;
|
|
1902
2280
|
entryTick: number;
|
|
1903
2281
|
startTick: number;
|
|
1904
2282
|
fullyExercised: boolean;
|
|
2283
|
+
owner?: {
|
|
2284
|
+
__typename: "TimelockMarketUser";
|
|
2285
|
+
address: string;
|
|
2286
|
+
} | null;
|
|
2287
|
+
market?: {
|
|
2288
|
+
__typename: "TimelockMarket";
|
|
2289
|
+
address: string;
|
|
2290
|
+
} | null;
|
|
1905
2291
|
exerciseEvents: Array<{
|
|
1906
2292
|
__typename: "ExerciseOptionEvent";
|
|
1907
2293
|
transactionHash: string;
|
|
@@ -1914,6 +2300,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1914
2300
|
data: {
|
|
1915
2301
|
optionId: bigint;
|
|
1916
2302
|
marketAddr: Address;
|
|
2303
|
+
ownerAddr: Address;
|
|
1917
2304
|
optionType: "CALL" | "PUT";
|
|
1918
2305
|
createdAt: Date;
|
|
1919
2306
|
expiresAt: Date;
|
|
@@ -1928,11 +2315,18 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1928
2315
|
entryPrice: bigint;
|
|
1929
2316
|
__typename: "UserOption";
|
|
1930
2317
|
id: string;
|
|
1931
|
-
ownerAddr: string;
|
|
1932
2318
|
strikeTick: number;
|
|
1933
2319
|
entryTick: number;
|
|
1934
2320
|
startTick: number;
|
|
1935
2321
|
fullyExercised: boolean;
|
|
2322
|
+
owner?: {
|
|
2323
|
+
__typename: "TimelockMarketUser";
|
|
2324
|
+
address: string;
|
|
2325
|
+
} | null;
|
|
2326
|
+
market?: {
|
|
2327
|
+
__typename: "TimelockMarket";
|
|
2328
|
+
address: string;
|
|
2329
|
+
} | null;
|
|
1936
2330
|
exerciseEvents: Array<{
|
|
1937
2331
|
__typename: "ExerciseOptionEvent";
|
|
1938
2332
|
transactionHash: string;
|
|
@@ -1968,6 +2362,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1968
2362
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
1969
2363
|
optionId: bigint;
|
|
1970
2364
|
marketAddr: Address;
|
|
2365
|
+
ownerAddr: Address;
|
|
1971
2366
|
optionType: "CALL" | "PUT";
|
|
1972
2367
|
createdAt: Date;
|
|
1973
2368
|
expiresAt: Date;
|
|
@@ -1982,11 +2377,18 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
1982
2377
|
entryPrice: bigint;
|
|
1983
2378
|
__typename: "UserOption";
|
|
1984
2379
|
id: string;
|
|
1985
|
-
ownerAddr: string;
|
|
1986
2380
|
strikeTick: number;
|
|
1987
2381
|
entryTick: number;
|
|
1988
2382
|
startTick: number;
|
|
1989
2383
|
fullyExercised: boolean;
|
|
2384
|
+
owner?: {
|
|
2385
|
+
__typename: "TimelockMarketUser";
|
|
2386
|
+
address: string;
|
|
2387
|
+
} | null;
|
|
2388
|
+
market?: {
|
|
2389
|
+
__typename: "TimelockMarket";
|
|
2390
|
+
address: string;
|
|
2391
|
+
} | null;
|
|
1990
2392
|
exerciseEvents: Array<{
|
|
1991
2393
|
__typename: "ExerciseOptionEvent";
|
|
1992
2394
|
transactionHash: string;
|
|
@@ -2000,6 +2402,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2000
2402
|
promise: Promise<{
|
|
2001
2403
|
optionId: bigint;
|
|
2002
2404
|
marketAddr: Address;
|
|
2405
|
+
ownerAddr: Address;
|
|
2003
2406
|
optionType: "CALL" | "PUT";
|
|
2004
2407
|
createdAt: Date;
|
|
2005
2408
|
expiresAt: Date;
|
|
@@ -2014,11 +2417,18 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2014
2417
|
entryPrice: bigint;
|
|
2015
2418
|
__typename: "UserOption";
|
|
2016
2419
|
id: string;
|
|
2017
|
-
ownerAddr: string;
|
|
2018
2420
|
strikeTick: number;
|
|
2019
2421
|
entryTick: number;
|
|
2020
2422
|
startTick: number;
|
|
2021
2423
|
fullyExercised: boolean;
|
|
2424
|
+
owner?: {
|
|
2425
|
+
__typename: "TimelockMarketUser";
|
|
2426
|
+
address: string;
|
|
2427
|
+
} | null;
|
|
2428
|
+
market?: {
|
|
2429
|
+
__typename: "TimelockMarket";
|
|
2430
|
+
address: string;
|
|
2431
|
+
} | null;
|
|
2022
2432
|
exerciseEvents: Array<{
|
|
2023
2433
|
__typename: "ExerciseOptionEvent";
|
|
2024
2434
|
transactionHash: string;
|
|
@@ -2031,6 +2441,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2031
2441
|
data: {
|
|
2032
2442
|
optionId: bigint;
|
|
2033
2443
|
marketAddr: Address;
|
|
2444
|
+
ownerAddr: Address;
|
|
2034
2445
|
optionType: "CALL" | "PUT";
|
|
2035
2446
|
createdAt: Date;
|
|
2036
2447
|
expiresAt: Date;
|
|
@@ -2045,11 +2456,18 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2045
2456
|
entryPrice: bigint;
|
|
2046
2457
|
__typename: "UserOption";
|
|
2047
2458
|
id: string;
|
|
2048
|
-
ownerAddr: string;
|
|
2049
2459
|
strikeTick: number;
|
|
2050
2460
|
entryTick: number;
|
|
2051
2461
|
startTick: number;
|
|
2052
2462
|
fullyExercised: boolean;
|
|
2463
|
+
owner?: {
|
|
2464
|
+
__typename: "TimelockMarketUser";
|
|
2465
|
+
address: string;
|
|
2466
|
+
} | null;
|
|
2467
|
+
market?: {
|
|
2468
|
+
__typename: "TimelockMarket";
|
|
2469
|
+
address: string;
|
|
2470
|
+
} | null;
|
|
2053
2471
|
exerciseEvents: Array<{
|
|
2054
2472
|
__typename: "ExerciseOptionEvent";
|
|
2055
2473
|
transactionHash: string;
|
|
@@ -2085,6 +2503,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2085
2503
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
2086
2504
|
optionId: bigint;
|
|
2087
2505
|
marketAddr: Address;
|
|
2506
|
+
ownerAddr: Address;
|
|
2088
2507
|
optionType: "CALL" | "PUT";
|
|
2089
2508
|
createdAt: Date;
|
|
2090
2509
|
expiresAt: Date;
|
|
@@ -2099,11 +2518,18 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2099
2518
|
entryPrice: bigint;
|
|
2100
2519
|
__typename: "UserOption";
|
|
2101
2520
|
id: string;
|
|
2102
|
-
ownerAddr: string;
|
|
2103
2521
|
strikeTick: number;
|
|
2104
2522
|
entryTick: number;
|
|
2105
2523
|
startTick: number;
|
|
2106
2524
|
fullyExercised: boolean;
|
|
2525
|
+
owner?: {
|
|
2526
|
+
__typename: "TimelockMarketUser";
|
|
2527
|
+
address: string;
|
|
2528
|
+
} | null;
|
|
2529
|
+
market?: {
|
|
2530
|
+
__typename: "TimelockMarket";
|
|
2531
|
+
address: string;
|
|
2532
|
+
} | null;
|
|
2107
2533
|
exerciseEvents: Array<{
|
|
2108
2534
|
__typename: "ExerciseOptionEvent";
|
|
2109
2535
|
transactionHash: string;
|
|
@@ -2117,6 +2543,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2117
2543
|
promise: Promise<{
|
|
2118
2544
|
optionId: bigint;
|
|
2119
2545
|
marketAddr: Address;
|
|
2546
|
+
ownerAddr: Address;
|
|
2120
2547
|
optionType: "CALL" | "PUT";
|
|
2121
2548
|
createdAt: Date;
|
|
2122
2549
|
expiresAt: Date;
|
|
@@ -2131,11 +2558,18 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2131
2558
|
entryPrice: bigint;
|
|
2132
2559
|
__typename: "UserOption";
|
|
2133
2560
|
id: string;
|
|
2134
|
-
ownerAddr: string;
|
|
2135
2561
|
strikeTick: number;
|
|
2136
2562
|
entryTick: number;
|
|
2137
2563
|
startTick: number;
|
|
2138
2564
|
fullyExercised: boolean;
|
|
2565
|
+
owner?: {
|
|
2566
|
+
__typename: "TimelockMarketUser";
|
|
2567
|
+
address: string;
|
|
2568
|
+
} | null;
|
|
2569
|
+
market?: {
|
|
2570
|
+
__typename: "TimelockMarket";
|
|
2571
|
+
address: string;
|
|
2572
|
+
} | null;
|
|
2139
2573
|
exerciseEvents: Array<{
|
|
2140
2574
|
__typename: "ExerciseOptionEvent";
|
|
2141
2575
|
transactionHash: string;
|
|
@@ -2148,6 +2582,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2148
2582
|
data: {
|
|
2149
2583
|
optionId: bigint;
|
|
2150
2584
|
marketAddr: Address;
|
|
2585
|
+
ownerAddr: Address;
|
|
2151
2586
|
optionType: "CALL" | "PUT";
|
|
2152
2587
|
createdAt: Date;
|
|
2153
2588
|
expiresAt: Date;
|
|
@@ -2162,11 +2597,18 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2162
2597
|
entryPrice: bigint;
|
|
2163
2598
|
__typename: "UserOption";
|
|
2164
2599
|
id: string;
|
|
2165
|
-
ownerAddr: string;
|
|
2166
2600
|
strikeTick: number;
|
|
2167
2601
|
entryTick: number;
|
|
2168
2602
|
startTick: number;
|
|
2169
2603
|
fullyExercised: boolean;
|
|
2604
|
+
owner?: {
|
|
2605
|
+
__typename: "TimelockMarketUser";
|
|
2606
|
+
address: string;
|
|
2607
|
+
} | null;
|
|
2608
|
+
market?: {
|
|
2609
|
+
__typename: "TimelockMarket";
|
|
2610
|
+
address: string;
|
|
2611
|
+
} | null;
|
|
2170
2612
|
exerciseEvents: Array<{
|
|
2171
2613
|
__typename: "ExerciseOptionEvent";
|
|
2172
2614
|
transactionHash: string;
|
|
@@ -2202,6 +2644,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2202
2644
|
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
2203
2645
|
optionId: bigint;
|
|
2204
2646
|
marketAddr: Address;
|
|
2647
|
+
ownerAddr: Address;
|
|
2205
2648
|
optionType: "CALL" | "PUT";
|
|
2206
2649
|
createdAt: Date;
|
|
2207
2650
|
expiresAt: Date;
|
|
@@ -2216,11 +2659,18 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2216
2659
|
entryPrice: bigint;
|
|
2217
2660
|
__typename: "UserOption";
|
|
2218
2661
|
id: string;
|
|
2219
|
-
ownerAddr: string;
|
|
2220
2662
|
strikeTick: number;
|
|
2221
2663
|
entryTick: number;
|
|
2222
2664
|
startTick: number;
|
|
2223
2665
|
fullyExercised: boolean;
|
|
2666
|
+
owner?: {
|
|
2667
|
+
__typename: "TimelockMarketUser";
|
|
2668
|
+
address: string;
|
|
2669
|
+
} | null;
|
|
2670
|
+
market?: {
|
|
2671
|
+
__typename: "TimelockMarket";
|
|
2672
|
+
address: string;
|
|
2673
|
+
} | null;
|
|
2224
2674
|
exerciseEvents: Array<{
|
|
2225
2675
|
__typename: "ExerciseOptionEvent";
|
|
2226
2676
|
transactionHash: string;
|
|
@@ -2234,6 +2684,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2234
2684
|
promise: Promise<{
|
|
2235
2685
|
optionId: bigint;
|
|
2236
2686
|
marketAddr: Address;
|
|
2687
|
+
ownerAddr: Address;
|
|
2237
2688
|
optionType: "CALL" | "PUT";
|
|
2238
2689
|
createdAt: Date;
|
|
2239
2690
|
expiresAt: Date;
|
|
@@ -2248,11 +2699,18 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2248
2699
|
entryPrice: bigint;
|
|
2249
2700
|
__typename: "UserOption";
|
|
2250
2701
|
id: string;
|
|
2251
|
-
ownerAddr: string;
|
|
2252
2702
|
strikeTick: number;
|
|
2253
2703
|
entryTick: number;
|
|
2254
2704
|
startTick: number;
|
|
2255
2705
|
fullyExercised: boolean;
|
|
2706
|
+
owner?: {
|
|
2707
|
+
__typename: "TimelockMarketUser";
|
|
2708
|
+
address: string;
|
|
2709
|
+
} | null;
|
|
2710
|
+
market?: {
|
|
2711
|
+
__typename: "TimelockMarket";
|
|
2712
|
+
address: string;
|
|
2713
|
+
} | null;
|
|
2256
2714
|
exerciseEvents: Array<{
|
|
2257
2715
|
__typename: "ExerciseOptionEvent";
|
|
2258
2716
|
transactionHash: string;
|
|
@@ -2265,6 +2723,7 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2265
2723
|
data: {
|
|
2266
2724
|
optionId: bigint;
|
|
2267
2725
|
marketAddr: Address;
|
|
2726
|
+
ownerAddr: Address;
|
|
2268
2727
|
optionType: "CALL" | "PUT";
|
|
2269
2728
|
createdAt: Date;
|
|
2270
2729
|
expiresAt: Date;
|
|
@@ -2279,11 +2738,18 @@ declare const useClosedUserOptions: (user?: Address) => {
|
|
|
2279
2738
|
entryPrice: bigint;
|
|
2280
2739
|
__typename: "UserOption";
|
|
2281
2740
|
id: string;
|
|
2282
|
-
ownerAddr: string;
|
|
2283
2741
|
strikeTick: number;
|
|
2284
2742
|
entryTick: number;
|
|
2285
2743
|
startTick: number;
|
|
2286
2744
|
fullyExercised: boolean;
|
|
2745
|
+
owner?: {
|
|
2746
|
+
__typename: "TimelockMarketUser";
|
|
2747
|
+
address: string;
|
|
2748
|
+
} | null;
|
|
2749
|
+
market?: {
|
|
2750
|
+
__typename: "TimelockMarket";
|
|
2751
|
+
address: string;
|
|
2752
|
+
} | null;
|
|
2287
2753
|
exerciseEvents: Array<{
|
|
2288
2754
|
__typename: "ExerciseOptionEvent";
|
|
2289
2755
|
transactionHash: string;
|
|
@@ -2316,6 +2782,7 @@ declare const useMarketData: (marketAddr?: Address) => Partial<NonUndefinedGuard
|
|
|
2316
2782
|
tradersCount: bigint;
|
|
2317
2783
|
__typename: "TimelockMarket";
|
|
2318
2784
|
id: string;
|
|
2785
|
+
address: string;
|
|
2319
2786
|
tickSpacing: number;
|
|
2320
2787
|
optionAssetIsToken0: boolean;
|
|
2321
2788
|
optionAssetDecimals: number;
|
|
@@ -2340,7 +2807,7 @@ declare const useMintOption: (marketAddr?: Address) => {
|
|
|
2340
2807
|
isPending: boolean;
|
|
2341
2808
|
isConfirming: boolean;
|
|
2342
2809
|
isSuccess: boolean;
|
|
2343
|
-
error:
|
|
2810
|
+
error: wagmi2.ConnectorAccountNotFoundErrorType | wagmi2.ConnectorChainMismatchErrorType | _wagmi_core0.ConnectorNotConnectedErrorType | wagmi2.ConnectorUnavailableReconnectingErrorType | viem264.BaseErrorType | node_modules__wagmi_core_dist_types_errors_base1.ErrorType | node_modules__wagmi_core_dist_types_errors_base1.BaseErrorType | viem264.AbiFunctionNotFoundErrorType | viem264.AbiEncodingLengthMismatchErrorType | viem264.InvalidAddressErrorType | viem264.AbiEncodingArrayLengthMismatchErrorType | viem264.IntegerOutOfRangeErrorType | viem264.SizeExceedsPaddingSizeErrorType | viem264.InvalidArrayErrorType | viem264.AbiEncodingBytesSizeMismatchErrorType | viem264.SizeOverflowErrorType | viem264.SliceOffsetOutOfBoundsErrorType | viem264.InvalidAbiEncodingTypeErrorType | viem264.InvalidDefinitionTypeErrorType | node_modules_viem__types_errors_abi0.AbiItemAmbiguityErrorType | node_modules_viem__types_errors_account0.AccountNotFoundErrorType | viem264.GetContractErrorReturnType<viem264.SendTransactionErrorType> | null;
|
|
2344
2811
|
isLoading: boolean;
|
|
2345
2812
|
isApprovalPending: boolean;
|
|
2346
2813
|
approvalError: _wagmi_core0.WriteContractErrorType | null;
|
|
@@ -2371,13 +2838,29 @@ declare const useExtendOption: (marketAddr?: Address) => {
|
|
|
2371
2838
|
isPending: boolean;
|
|
2372
2839
|
isConfirming: boolean;
|
|
2373
2840
|
isSuccess: boolean;
|
|
2374
|
-
error:
|
|
2841
|
+
error: wagmi2.ConnectorAccountNotFoundErrorType | wagmi2.ConnectorChainMismatchErrorType | _wagmi_core0.ConnectorNotConnectedErrorType | wagmi2.ConnectorUnavailableReconnectingErrorType | viem264.BaseErrorType | node_modules__wagmi_core_dist_types_errors_base1.ErrorType | node_modules__wagmi_core_dist_types_errors_base1.BaseErrorType | viem264.AbiFunctionNotFoundErrorType | viem264.AbiEncodingLengthMismatchErrorType | viem264.InvalidAddressErrorType | viem264.AbiEncodingArrayLengthMismatchErrorType | viem264.IntegerOutOfRangeErrorType | viem264.SizeExceedsPaddingSizeErrorType | viem264.InvalidArrayErrorType | viem264.AbiEncodingBytesSizeMismatchErrorType | viem264.SizeOverflowErrorType | viem264.SliceOffsetOutOfBoundsErrorType | viem264.InvalidAbiEncodingTypeErrorType | viem264.InvalidDefinitionTypeErrorType | node_modules_viem__types_errors_abi0.AbiItemAmbiguityErrorType | node_modules_viem__types_errors_account0.AccountNotFoundErrorType | viem264.GetContractErrorReturnType<viem264.SendTransactionErrorType> | null;
|
|
2375
2842
|
isLoading: boolean;
|
|
2376
2843
|
isApprovalPending: boolean;
|
|
2377
2844
|
approvalError: _wagmi_core0.WriteContractErrorType | null;
|
|
2378
2845
|
resetApproval: () => void;
|
|
2379
2846
|
};
|
|
2380
2847
|
//#endregion
|
|
2848
|
+
//#region src/hooks/market/useUserOperators.d.ts
|
|
2849
|
+
declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => Partial<NonUndefinedGuard<{
|
|
2850
|
+
spendingApproval: bigint;
|
|
2851
|
+
operatorAddr: string;
|
|
2852
|
+
__typename: "UserMarketOperator";
|
|
2853
|
+
id: string;
|
|
2854
|
+
canExtend: boolean;
|
|
2855
|
+
canExercise: boolean;
|
|
2856
|
+
canTransfer: boolean;
|
|
2857
|
+
canMint: boolean;
|
|
2858
|
+
operator?: {
|
|
2859
|
+
__typename: "MarketOperator";
|
|
2860
|
+
address: string;
|
|
2861
|
+
} | null;
|
|
2862
|
+
}[] | undefined>>;
|
|
2863
|
+
//#endregion
|
|
2381
2864
|
//#region src/hooks/pool/useCurrentPrice.d.ts
|
|
2382
2865
|
declare const useCurrentPrice: (poolAddr?: Address) => {
|
|
2383
2866
|
currentPrice: Amount | undefined;
|
|
@@ -2442,7 +2925,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
2442
2925
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
2443
2926
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
2444
2927
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
2445
|
-
error:
|
|
2928
|
+
error: viem264.ReadContractErrorType;
|
|
2446
2929
|
isError: true;
|
|
2447
2930
|
isPending: false;
|
|
2448
2931
|
isLoading: false;
|
|
@@ -2454,7 +2937,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2454
2937
|
dataUpdatedAt: number;
|
|
2455
2938
|
errorUpdatedAt: number;
|
|
2456
2939
|
failureCount: number;
|
|
2457
|
-
failureReason:
|
|
2940
|
+
failureReason: viem264.ReadContractErrorType | null;
|
|
2458
2941
|
errorUpdateCount: number;
|
|
2459
2942
|
isFetched: boolean;
|
|
2460
2943
|
isFetchedAfterMount: boolean;
|
|
@@ -2474,7 +2957,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2474
2957
|
totalAmount1: bigint;
|
|
2475
2958
|
borrowedAmount0: bigint;
|
|
2476
2959
|
borrowedAmount1: bigint;
|
|
2477
|
-
}[],
|
|
2960
|
+
}[], viem264.ReadContractErrorType>>;
|
|
2478
2961
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2479
2962
|
promise: Promise<readonly {
|
|
2480
2963
|
tickLower: number;
|
|
@@ -2512,7 +2995,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2512
2995
|
dataUpdatedAt: number;
|
|
2513
2996
|
errorUpdatedAt: number;
|
|
2514
2997
|
failureCount: number;
|
|
2515
|
-
failureReason:
|
|
2998
|
+
failureReason: viem264.ReadContractErrorType | null;
|
|
2516
2999
|
errorUpdateCount: number;
|
|
2517
3000
|
isFetched: boolean;
|
|
2518
3001
|
isFetchedAfterMount: boolean;
|
|
@@ -2532,7 +3015,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2532
3015
|
totalAmount1: bigint;
|
|
2533
3016
|
borrowedAmount0: bigint;
|
|
2534
3017
|
borrowedAmount1: bigint;
|
|
2535
|
-
}[],
|
|
3018
|
+
}[], viem264.ReadContractErrorType>>;
|
|
2536
3019
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2537
3020
|
promise: Promise<readonly {
|
|
2538
3021
|
tickLower: number;
|
|
@@ -2558,7 +3041,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2558
3041
|
borrowedAmount1: bigint;
|
|
2559
3042
|
}[];
|
|
2560
3043
|
} | {
|
|
2561
|
-
error:
|
|
3044
|
+
error: viem264.ReadContractErrorType;
|
|
2562
3045
|
isError: true;
|
|
2563
3046
|
isPending: false;
|
|
2564
3047
|
isLoading: false;
|
|
@@ -2570,7 +3053,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2570
3053
|
dataUpdatedAt: number;
|
|
2571
3054
|
errorUpdatedAt: number;
|
|
2572
3055
|
failureCount: number;
|
|
2573
|
-
failureReason:
|
|
3056
|
+
failureReason: viem264.ReadContractErrorType | null;
|
|
2574
3057
|
errorUpdateCount: number;
|
|
2575
3058
|
isFetched: boolean;
|
|
2576
3059
|
isFetchedAfterMount: boolean;
|
|
@@ -2590,7 +3073,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2590
3073
|
totalAmount1: bigint;
|
|
2591
3074
|
borrowedAmount0: bigint;
|
|
2592
3075
|
borrowedAmount1: bigint;
|
|
2593
|
-
}[],
|
|
3076
|
+
}[], viem264.ReadContractErrorType>>;
|
|
2594
3077
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2595
3078
|
promise: Promise<readonly {
|
|
2596
3079
|
tickLower: number;
|
|
@@ -2628,7 +3111,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2628
3111
|
dataUpdatedAt: number;
|
|
2629
3112
|
errorUpdatedAt: number;
|
|
2630
3113
|
failureCount: number;
|
|
2631
|
-
failureReason:
|
|
3114
|
+
failureReason: viem264.ReadContractErrorType | null;
|
|
2632
3115
|
errorUpdateCount: number;
|
|
2633
3116
|
isFetched: boolean;
|
|
2634
3117
|
isFetchedAfterMount: boolean;
|
|
@@ -2648,7 +3131,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2648
3131
|
totalAmount1: bigint;
|
|
2649
3132
|
borrowedAmount0: bigint;
|
|
2650
3133
|
borrowedAmount1: bigint;
|
|
2651
|
-
}[],
|
|
3134
|
+
}[], viem264.ReadContractErrorType>>;
|
|
2652
3135
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2653
3136
|
promise: Promise<readonly {
|
|
2654
3137
|
tickLower: number;
|
|
@@ -2685,7 +3168,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2685
3168
|
dataUpdatedAt: number;
|
|
2686
3169
|
errorUpdatedAt: number;
|
|
2687
3170
|
failureCount: number;
|
|
2688
|
-
failureReason:
|
|
3171
|
+
failureReason: viem264.ReadContractErrorType | null;
|
|
2689
3172
|
errorUpdateCount: number;
|
|
2690
3173
|
isFetched: boolean;
|
|
2691
3174
|
isFetchedAfterMount: boolean;
|
|
@@ -2706,7 +3189,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2706
3189
|
totalAmount1: bigint;
|
|
2707
3190
|
borrowedAmount0: bigint;
|
|
2708
3191
|
borrowedAmount1: bigint;
|
|
2709
|
-
}[],
|
|
3192
|
+
}[], viem264.ReadContractErrorType>>;
|
|
2710
3193
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2711
3194
|
promise: Promise<readonly {
|
|
2712
3195
|
tickLower: number;
|
|
@@ -2744,7 +3227,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2744
3227
|
dataUpdatedAt: number;
|
|
2745
3228
|
errorUpdatedAt: number;
|
|
2746
3229
|
failureCount: number;
|
|
2747
|
-
failureReason:
|
|
3230
|
+
failureReason: viem264.ReadContractErrorType | null;
|
|
2748
3231
|
errorUpdateCount: number;
|
|
2749
3232
|
isFetched: boolean;
|
|
2750
3233
|
isFetchedAfterMount: boolean;
|
|
@@ -2764,7 +3247,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2764
3247
|
totalAmount1: bigint;
|
|
2765
3248
|
borrowedAmount0: bigint;
|
|
2766
3249
|
borrowedAmount1: bigint;
|
|
2767
|
-
}[],
|
|
3250
|
+
}[], viem264.ReadContractErrorType>>;
|
|
2768
3251
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2769
3252
|
promise: Promise<readonly {
|
|
2770
3253
|
tickLower: number;
|
|
@@ -2837,14 +3320,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
2837
3320
|
borrowedAmount0: Amount;
|
|
2838
3321
|
borrowedAmount1: Amount;
|
|
2839
3322
|
blocksCount: bigint;
|
|
2840
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint],
|
|
3323
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem264.ReadContractErrorType>>;
|
|
2841
3324
|
};
|
|
2842
3325
|
//#endregion
|
|
2843
3326
|
//#region src/hooks/useLens.d.ts
|
|
2844
3327
|
declare const useLens: () => {
|
|
2845
3328
|
timelockLens: {
|
|
2846
3329
|
read: {
|
|
2847
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
3330
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
2848
3331
|
readonly type: "function";
|
|
2849
3332
|
readonly name: "batchGetRefTick";
|
|
2850
3333
|
readonly inputs: readonly [{
|
|
@@ -3518,7 +4001,7 @@ declare const useLens: () => {
|
|
|
3518
4001
|
}];
|
|
3519
4002
|
readonly stateMutability: "view";
|
|
3520
4003
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
3521
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
4004
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
3522
4005
|
readonly type: "function";
|
|
3523
4006
|
readonly name: "batchGetRefTick";
|
|
3524
4007
|
readonly inputs: readonly [{
|
|
@@ -4202,7 +4685,7 @@ declare const useLens: () => {
|
|
|
4202
4685
|
borrowedAmount0: bigint;
|
|
4203
4686
|
borrowedAmount1: bigint;
|
|
4204
4687
|
}[]>;
|
|
4205
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
4688
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
4206
4689
|
readonly type: "function";
|
|
4207
4690
|
readonly name: "batchGetRefTick";
|
|
4208
4691
|
readonly inputs: readonly [{
|
|
@@ -4893,7 +5376,7 @@ declare const useLens: () => {
|
|
|
4893
5376
|
expiresAt: bigint;
|
|
4894
5377
|
liquidities: readonly bigint[];
|
|
4895
5378
|
}[], bigint, boolean]>;
|
|
4896
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
5379
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
4897
5380
|
readonly type: "function";
|
|
4898
5381
|
readonly name: "batchGetRefTick";
|
|
4899
5382
|
readonly inputs: readonly [{
|
|
@@ -5567,7 +6050,7 @@ declare const useLens: () => {
|
|
|
5567
6050
|
}];
|
|
5568
6051
|
readonly stateMutability: "view";
|
|
5569
6052
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
5570
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
6053
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
5571
6054
|
readonly type: "function";
|
|
5572
6055
|
readonly name: "batchGetRefTick";
|
|
5573
6056
|
readonly inputs: readonly [{
|
|
@@ -6254,7 +6737,7 @@ declare const useLens: () => {
|
|
|
6254
6737
|
payoutAssetName: string;
|
|
6255
6738
|
optionsCount: bigint;
|
|
6256
6739
|
}>;
|
|
6257
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
6740
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
6258
6741
|
readonly type: "function";
|
|
6259
6742
|
readonly name: "batchGetRefTick";
|
|
6260
6743
|
readonly inputs: readonly [{
|
|
@@ -6928,7 +7411,7 @@ declare const useLens: () => {
|
|
|
6928
7411
|
}];
|
|
6929
7412
|
readonly stateMutability: "view";
|
|
6930
7413
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
6931
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
7414
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
6932
7415
|
readonly type: "function";
|
|
6933
7416
|
readonly name: "batchGetRefTick";
|
|
6934
7417
|
readonly inputs: readonly [{
|
|
@@ -7602,7 +8085,7 @@ declare const useLens: () => {
|
|
|
7602
8085
|
}];
|
|
7603
8086
|
readonly stateMutability: "view";
|
|
7604
8087
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
7605
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
8088
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
7606
8089
|
readonly type: "function";
|
|
7607
8090
|
readonly name: "batchGetRefTick";
|
|
7608
8091
|
readonly inputs: readonly [{
|
|
@@ -8293,7 +8776,7 @@ declare const useLens: () => {
|
|
|
8293
8776
|
expiresAt: bigint;
|
|
8294
8777
|
liquidities: readonly bigint[];
|
|
8295
8778
|
}>;
|
|
8296
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
8779
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
8297
8780
|
readonly type: "function";
|
|
8298
8781
|
readonly name: "batchGetRefTick";
|
|
8299
8782
|
readonly inputs: readonly [{
|
|
@@ -8984,7 +9467,7 @@ declare const useLens: () => {
|
|
|
8984
9467
|
expiresAt: bigint;
|
|
8985
9468
|
liquidities: readonly bigint[];
|
|
8986
9469
|
}[]>;
|
|
8987
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
9470
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
8988
9471
|
readonly type: "function";
|
|
8989
9472
|
readonly name: "batchGetRefTick";
|
|
8990
9473
|
readonly inputs: readonly [{
|
|
@@ -9669,7 +10152,7 @@ declare const useLens: () => {
|
|
|
9669
10152
|
tickSpacing: number;
|
|
9670
10153
|
fee: number;
|
|
9671
10154
|
}>;
|
|
9672
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
10155
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
9673
10156
|
readonly type: "function";
|
|
9674
10157
|
readonly name: "batchGetRefTick";
|
|
9675
10158
|
readonly inputs: readonly [{
|
|
@@ -10343,7 +10826,7 @@ declare const useLens: () => {
|
|
|
10343
10826
|
}];
|
|
10344
10827
|
readonly stateMutability: "view";
|
|
10345
10828
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
10346
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
10829
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
10347
10830
|
readonly type: "function";
|
|
10348
10831
|
readonly name: "batchGetRefTick";
|
|
10349
10832
|
readonly inputs: readonly [{
|
|
@@ -11034,7 +11517,7 @@ declare const useLens: () => {
|
|
|
11034
11517
|
expiresAt: bigint;
|
|
11035
11518
|
liquidities: readonly bigint[];
|
|
11036
11519
|
}[], bigint, boolean]>;
|
|
11037
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
11520
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
11038
11521
|
readonly type: "function";
|
|
11039
11522
|
readonly name: "batchGetRefTick";
|
|
11040
11523
|
readonly inputs: readonly [{
|
|
@@ -12387,7 +12870,7 @@ declare const useLens: () => {
|
|
|
12387
12870
|
} | undefined;
|
|
12388
12871
|
uniswapLens: {
|
|
12389
12872
|
read: {
|
|
12390
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
12873
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
12391
12874
|
readonly type: "function";
|
|
12392
12875
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12393
12876
|
readonly inputs: readonly [{
|
|
@@ -13008,7 +13491,7 @@ declare const useLens: () => {
|
|
|
13008
13491
|
}];
|
|
13009
13492
|
readonly stateMutability: "pure";
|
|
13010
13493
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13011
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
13494
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
13012
13495
|
readonly type: "function";
|
|
13013
13496
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13014
13497
|
readonly inputs: readonly [{
|
|
@@ -13629,7 +14112,7 @@ declare const useLens: () => {
|
|
|
13629
14112
|
}];
|
|
13630
14113
|
readonly stateMutability: "pure";
|
|
13631
14114
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13632
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
14115
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
13633
14116
|
readonly type: "function";
|
|
13634
14117
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13635
14118
|
readonly inputs: readonly [{
|
|
@@ -14250,7 +14733,7 @@ declare const useLens: () => {
|
|
|
14250
14733
|
}];
|
|
14251
14734
|
readonly stateMutability: "pure";
|
|
14252
14735
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14253
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
14736
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
14254
14737
|
readonly type: "function";
|
|
14255
14738
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14256
14739
|
readonly inputs: readonly [{
|
|
@@ -14871,7 +15354,7 @@ declare const useLens: () => {
|
|
|
14871
15354
|
}];
|
|
14872
15355
|
readonly stateMutability: "pure";
|
|
14873
15356
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14874
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
15357
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
14875
15358
|
readonly type: "function";
|
|
14876
15359
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14877
15360
|
readonly inputs: readonly [{
|
|
@@ -15492,7 +15975,7 @@ declare const useLens: () => {
|
|
|
15492
15975
|
}];
|
|
15493
15976
|
readonly stateMutability: "pure";
|
|
15494
15977
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
15495
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
15978
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
15496
15979
|
readonly type: "function";
|
|
15497
15980
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15498
15981
|
readonly inputs: readonly [{
|
|
@@ -16113,7 +16596,7 @@ declare const useLens: () => {
|
|
|
16113
16596
|
}];
|
|
16114
16597
|
readonly stateMutability: "pure";
|
|
16115
16598
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
16116
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
16599
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
16117
16600
|
readonly type: "function";
|
|
16118
16601
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16119
16602
|
readonly inputs: readonly [{
|
|
@@ -16734,7 +17217,7 @@ declare const useLens: () => {
|
|
|
16734
17217
|
}];
|
|
16735
17218
|
readonly stateMutability: "pure";
|
|
16736
17219
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
16737
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
17220
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
16738
17221
|
readonly type: "function";
|
|
16739
17222
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16740
17223
|
readonly inputs: readonly [{
|
|
@@ -17355,7 +17838,7 @@ declare const useLens: () => {
|
|
|
17355
17838
|
}];
|
|
17356
17839
|
readonly stateMutability: "pure";
|
|
17357
17840
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
17358
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
17841
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
17359
17842
|
readonly type: "function";
|
|
17360
17843
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17361
17844
|
readonly inputs: readonly [{
|
|
@@ -17976,7 +18459,7 @@ declare const useLens: () => {
|
|
|
17976
18459
|
}];
|
|
17977
18460
|
readonly stateMutability: "pure";
|
|
17978
18461
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
17979
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
18462
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
17980
18463
|
readonly type: "function";
|
|
17981
18464
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17982
18465
|
readonly inputs: readonly [{
|
|
@@ -18597,7 +19080,7 @@ declare const useLens: () => {
|
|
|
18597
19080
|
}];
|
|
18598
19081
|
readonly stateMutability: "pure";
|
|
18599
19082
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18600
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
19083
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
18601
19084
|
readonly type: "function";
|
|
18602
19085
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18603
19086
|
readonly inputs: readonly [{
|
|
@@ -19218,7 +19701,7 @@ declare const useLens: () => {
|
|
|
19218
19701
|
}];
|
|
19219
19702
|
readonly stateMutability: "pure";
|
|
19220
19703
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
19221
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
19704
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
19222
19705
|
readonly type: "function";
|
|
19223
19706
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19224
19707
|
readonly inputs: readonly [{
|
|
@@ -19839,7 +20322,7 @@ declare const useLens: () => {
|
|
|
19839
20322
|
}];
|
|
19840
20323
|
readonly stateMutability: "pure";
|
|
19841
20324
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
19842
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
20325
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
19843
20326
|
readonly type: "function";
|
|
19844
20327
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19845
20328
|
readonly inputs: readonly [{
|
|
@@ -20460,7 +20943,7 @@ declare const useLens: () => {
|
|
|
20460
20943
|
}];
|
|
20461
20944
|
readonly stateMutability: "pure";
|
|
20462
20945
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20463
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
20946
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
20464
20947
|
readonly type: "function";
|
|
20465
20948
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20466
20949
|
readonly inputs: readonly [{
|
|
@@ -21081,7 +21564,7 @@ declare const useLens: () => {
|
|
|
21081
21564
|
}];
|
|
21082
21565
|
readonly stateMutability: "pure";
|
|
21083
21566
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21084
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
21567
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
21085
21568
|
readonly type: "function";
|
|
21086
21569
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21087
21570
|
readonly inputs: readonly [{
|
|
@@ -21702,7 +22185,7 @@ declare const useLens: () => {
|
|
|
21702
22185
|
}];
|
|
21703
22186
|
readonly stateMutability: "pure";
|
|
21704
22187
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21705
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
22188
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
21706
22189
|
readonly type: "function";
|
|
21707
22190
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21708
22191
|
readonly inputs: readonly [{
|
|
@@ -22323,7 +22806,7 @@ declare const useLens: () => {
|
|
|
22323
22806
|
}];
|
|
22324
22807
|
readonly stateMutability: "pure";
|
|
22325
22808
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
22326
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
22809
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
22327
22810
|
readonly type: "function";
|
|
22328
22811
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
22329
22812
|
readonly inputs: readonly [{
|
|
@@ -22944,7 +23427,7 @@ declare const useLens: () => {
|
|
|
22944
23427
|
}];
|
|
22945
23428
|
readonly stateMutability: "pure";
|
|
22946
23429
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
22947
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
23430
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
22948
23431
|
readonly type: "function";
|
|
22949
23432
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
22950
23433
|
readonly inputs: readonly [{
|
|
@@ -23565,7 +24048,7 @@ declare const useLens: () => {
|
|
|
23565
24048
|
}];
|
|
23566
24049
|
readonly stateMutability: "pure";
|
|
23567
24050
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
23568
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
24051
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
23569
24052
|
readonly type: "function";
|
|
23570
24053
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23571
24054
|
readonly inputs: readonly [{
|
|
@@ -24186,7 +24669,7 @@ declare const useLens: () => {
|
|
|
24186
24669
|
}];
|
|
24187
24670
|
readonly stateMutability: "pure";
|
|
24188
24671
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
24189
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
24672
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
24190
24673
|
readonly type: "function";
|
|
24191
24674
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
24192
24675
|
readonly inputs: readonly [{
|
|
@@ -24807,7 +25290,7 @@ declare const useLens: () => {
|
|
|
24807
25290
|
}];
|
|
24808
25291
|
readonly stateMutability: "pure";
|
|
24809
25292
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
24810
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
25293
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
24811
25294
|
readonly type: "function";
|
|
24812
25295
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
24813
25296
|
readonly inputs: readonly [{
|
|
@@ -25428,7 +25911,7 @@ declare const useLens: () => {
|
|
|
25428
25911
|
}];
|
|
25429
25912
|
readonly stateMutability: "pure";
|
|
25430
25913
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25431
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
25914
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
25432
25915
|
readonly type: "function";
|
|
25433
25916
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25434
25917
|
readonly inputs: readonly [{
|
|
@@ -26049,7 +26532,7 @@ declare const useLens: () => {
|
|
|
26049
26532
|
}];
|
|
26050
26533
|
readonly stateMutability: "pure";
|
|
26051
26534
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26052
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
26535
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
26053
26536
|
readonly type: "function";
|
|
26054
26537
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26055
26538
|
readonly inputs: readonly [{
|
|
@@ -26670,7 +27153,7 @@ declare const useLens: () => {
|
|
|
26670
27153
|
}];
|
|
26671
27154
|
readonly stateMutability: "pure";
|
|
26672
27155
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26673
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
27156
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
26674
27157
|
readonly type: "function";
|
|
26675
27158
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26676
27159
|
readonly inputs: readonly [{
|
|
@@ -27291,7 +27774,7 @@ declare const useLens: () => {
|
|
|
27291
27774
|
}];
|
|
27292
27775
|
readonly stateMutability: "pure";
|
|
27293
27776
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27294
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
27777
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
27295
27778
|
readonly type: "function";
|
|
27296
27779
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
27297
27780
|
readonly inputs: readonly [{
|
|
@@ -27912,7 +28395,7 @@ declare const useLens: () => {
|
|
|
27912
28395
|
}];
|
|
27913
28396
|
readonly stateMutability: "pure";
|
|
27914
28397
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27915
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
28398
|
+
getPriceAtTick: (args: readonly [number], options?: viem264.Prettify<viem264.UnionOmit<viem264.ReadContractParameters<readonly [{
|
|
27916
28399
|
readonly type: "function";
|
|
27917
28400
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
27918
28401
|
readonly inputs: readonly [{
|
|
@@ -29159,5 +29642,5 @@ declare const useLens: () => {
|
|
|
29159
29642
|
} | undefined;
|
|
29160
29643
|
};
|
|
29161
29644
|
//#endregion
|
|
29162
|
-
export { LiquidityBlockData, OptionData, TimelockMarketProvider, UniswapPoolData, batchGetAmountsFromLiquidity, useActiveUserOptions, useBurnLiquidity, useClosedUserOptions, useCurrentMarket, useCurrentPrice, useCurrentTick, useExerciseOption, useExtendOption, useLens, useLiquidityBlocks, useMarketData, useMaxPositionSize, useMintLiquidity, useMintOption, useOptionPnl, useOptionPremium, usePoolData, usePriceAtTick, usePriceHistory, useTimelockConfig, useVaultData, useVaultTVL };
|
|
29645
|
+
export { LiquidityBlockData, OptionData, TimelockMarketProvider, UniswapPoolData, batchGetAmountsFromLiquidity, useActiveUserOptions, useBurnLiquidity, useClosedUserOptions, useCurrentMarket, useCurrentPrice, useCurrentTick, useExerciseOption, useExtendOption, useLens, useLiquidityBlocks, useMarketData, useMaxPositionSize, useMintLiquidity, useMintOption, useOptionPnl, useOptionPremium, usePoolData, usePriceAtTick, usePriceHistory, useTimelockConfig, useUserOperators, useVaultData, useVaultTVL };
|
|
29163
29646
|
//# sourceMappingURL=client.d.ts.map
|