timelock-sdk 0.0.92 → 0.0.93
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{client-DJzkUajw.d.cts → client-B6xuAheU.d.cts} +360 -1016
- package/dist/{client-CGZEauft.d.ts → client-CZVKXvrJ.d.ts} +286 -942
- package/dist/client.cjs +11 -1
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +11 -1
- package/dist/client.js.map +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3,12 +3,11 @@ import * as viem0 from "viem";
|
|
|
3
3
|
import { Address, Client, GetContractReturnType, PublicClient } from "viem";
|
|
4
4
|
import Big from "big.js";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
6
|
-
import * as wagmi0 from "wagmi";
|
|
7
6
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
8
7
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
9
8
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
10
9
|
import "graphql";
|
|
11
|
-
import * as
|
|
10
|
+
import * as _tanstack_query_core17 from "@tanstack/query-core";
|
|
12
11
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
13
12
|
|
|
14
13
|
//#region src/generated/graphql.d.ts
|
|
@@ -31873,7 +31872,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31873
31872
|
isRefetching: boolean;
|
|
31874
31873
|
isStale: boolean;
|
|
31875
31874
|
isEnabled: boolean;
|
|
31876
|
-
refetch: (options?:
|
|
31875
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
31877
31876
|
optionId: bigint;
|
|
31878
31877
|
marketAddr: Address;
|
|
31879
31878
|
ownerAddr: Address;
|
|
@@ -31904,7 +31903,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31904
31903
|
address: string;
|
|
31905
31904
|
} | null;
|
|
31906
31905
|
}[], Error>>;
|
|
31907
|
-
fetchStatus:
|
|
31906
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
31908
31907
|
promise: Promise<{
|
|
31909
31908
|
optionId: bigint;
|
|
31910
31909
|
marketAddr: Address;
|
|
@@ -31990,7 +31989,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31990
31989
|
isRefetching: boolean;
|
|
31991
31990
|
isStale: boolean;
|
|
31992
31991
|
isEnabled: boolean;
|
|
31993
|
-
refetch: (options?:
|
|
31992
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
31994
31993
|
optionId: bigint;
|
|
31995
31994
|
marketAddr: Address;
|
|
31996
31995
|
ownerAddr: Address;
|
|
@@ -32021,7 +32020,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32021
32020
|
address: string;
|
|
32022
32021
|
} | null;
|
|
32023
32022
|
}[], Error>>;
|
|
32024
|
-
fetchStatus:
|
|
32023
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32025
32024
|
promise: Promise<{
|
|
32026
32025
|
optionId: bigint;
|
|
32027
32026
|
marketAddr: Address;
|
|
@@ -32107,7 +32106,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32107
32106
|
isRefetching: boolean;
|
|
32108
32107
|
isStale: boolean;
|
|
32109
32108
|
isEnabled: boolean;
|
|
32110
|
-
refetch: (options?:
|
|
32109
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32111
32110
|
optionId: bigint;
|
|
32112
32111
|
marketAddr: Address;
|
|
32113
32112
|
ownerAddr: Address;
|
|
@@ -32138,7 +32137,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32138
32137
|
address: string;
|
|
32139
32138
|
} | null;
|
|
32140
32139
|
}[], Error>>;
|
|
32141
|
-
fetchStatus:
|
|
32140
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32142
32141
|
promise: Promise<{
|
|
32143
32142
|
optionId: bigint;
|
|
32144
32143
|
marketAddr: Address;
|
|
@@ -32224,7 +32223,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32224
32223
|
isRefetching: boolean;
|
|
32225
32224
|
isStale: boolean;
|
|
32226
32225
|
isEnabled: boolean;
|
|
32227
|
-
refetch: (options?:
|
|
32226
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32228
32227
|
optionId: bigint;
|
|
32229
32228
|
marketAddr: Address;
|
|
32230
32229
|
ownerAddr: Address;
|
|
@@ -32255,7 +32254,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32255
32254
|
address: string;
|
|
32256
32255
|
} | null;
|
|
32257
32256
|
}[], Error>>;
|
|
32258
|
-
fetchStatus:
|
|
32257
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32259
32258
|
promise: Promise<{
|
|
32260
32259
|
optionId: bigint;
|
|
32261
32260
|
marketAddr: Address;
|
|
@@ -32341,7 +32340,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32341
32340
|
isRefetching: boolean;
|
|
32342
32341
|
isStale: boolean;
|
|
32343
32342
|
isEnabled: boolean;
|
|
32344
|
-
refetch: (options?:
|
|
32343
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32345
32344
|
optionId: bigint;
|
|
32346
32345
|
marketAddr: Address;
|
|
32347
32346
|
ownerAddr: Address;
|
|
@@ -32372,7 +32371,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32372
32371
|
address: string;
|
|
32373
32372
|
} | null;
|
|
32374
32373
|
}[], Error>>;
|
|
32375
|
-
fetchStatus:
|
|
32374
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32376
32375
|
promise: Promise<{
|
|
32377
32376
|
optionId: bigint;
|
|
32378
32377
|
marketAddr: Address;
|
|
@@ -32458,7 +32457,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32458
32457
|
isRefetching: boolean;
|
|
32459
32458
|
isStale: boolean;
|
|
32460
32459
|
isEnabled: boolean;
|
|
32461
|
-
refetch: (options?:
|
|
32460
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32462
32461
|
optionId: bigint;
|
|
32463
32462
|
marketAddr: Address;
|
|
32464
32463
|
ownerAddr: Address;
|
|
@@ -32489,7 +32488,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32489
32488
|
address: string;
|
|
32490
32489
|
} | null;
|
|
32491
32490
|
}[], Error>>;
|
|
32492
|
-
fetchStatus:
|
|
32491
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32493
32492
|
promise: Promise<{
|
|
32494
32493
|
optionId: bigint;
|
|
32495
32494
|
marketAddr: Address;
|
|
@@ -32576,7 +32575,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32576
32575
|
isRefetching: boolean;
|
|
32577
32576
|
isStale: boolean;
|
|
32578
32577
|
isEnabled: boolean;
|
|
32579
|
-
refetch: (options?:
|
|
32578
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32580
32579
|
optionId: bigint;
|
|
32581
32580
|
marketAddr: Address;
|
|
32582
32581
|
ownerAddr: Address;
|
|
@@ -32607,7 +32606,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32607
32606
|
address: string;
|
|
32608
32607
|
} | null;
|
|
32609
32608
|
}[], Error>>;
|
|
32610
|
-
fetchStatus:
|
|
32609
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32611
32610
|
promise: Promise<{
|
|
32612
32611
|
optionId: bigint;
|
|
32613
32612
|
marketAddr: Address;
|
|
@@ -32693,7 +32692,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32693
32692
|
isRefetching: boolean;
|
|
32694
32693
|
isStale: boolean;
|
|
32695
32694
|
isEnabled: boolean;
|
|
32696
|
-
refetch: (options?:
|
|
32695
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32697
32696
|
optionId: bigint;
|
|
32698
32697
|
marketAddr: Address;
|
|
32699
32698
|
ownerAddr: Address;
|
|
@@ -32724,7 +32723,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32724
32723
|
address: string;
|
|
32725
32724
|
} | null;
|
|
32726
32725
|
}[], Error>>;
|
|
32727
|
-
fetchStatus:
|
|
32726
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32728
32727
|
promise: Promise<{
|
|
32729
32728
|
optionId: bigint;
|
|
32730
32729
|
marketAddr: Address;
|
|
@@ -32810,7 +32809,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32810
32809
|
isRefetching: boolean;
|
|
32811
32810
|
isStale: boolean;
|
|
32812
32811
|
isEnabled: boolean;
|
|
32813
|
-
refetch: (options?:
|
|
32812
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32814
32813
|
optionId: bigint;
|
|
32815
32814
|
marketAddr: Address;
|
|
32816
32815
|
ownerAddr: Address;
|
|
@@ -32841,7 +32840,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32841
32840
|
address: string;
|
|
32842
32841
|
} | null;
|
|
32843
32842
|
}[], Error>>;
|
|
32844
|
-
fetchStatus:
|
|
32843
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32845
32844
|
promise: Promise<{
|
|
32846
32845
|
optionId: bigint;
|
|
32847
32846
|
marketAddr: Address;
|
|
@@ -32927,7 +32926,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32927
32926
|
isRefetching: boolean;
|
|
32928
32927
|
isStale: boolean;
|
|
32929
32928
|
isEnabled: boolean;
|
|
32930
|
-
refetch: (options?:
|
|
32929
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32931
32930
|
optionId: bigint;
|
|
32932
32931
|
marketAddr: Address;
|
|
32933
32932
|
ownerAddr: Address;
|
|
@@ -32958,7 +32957,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32958
32957
|
address: string;
|
|
32959
32958
|
} | null;
|
|
32960
32959
|
}[], Error>>;
|
|
32961
|
-
fetchStatus:
|
|
32960
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32962
32961
|
promise: Promise<{
|
|
32963
32962
|
optionId: bigint;
|
|
32964
32963
|
marketAddr: Address;
|
|
@@ -33044,7 +33043,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33044
33043
|
isRefetching: boolean;
|
|
33045
33044
|
isStale: boolean;
|
|
33046
33045
|
isEnabled: boolean;
|
|
33047
|
-
refetch: (options?:
|
|
33046
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33048
33047
|
optionId: bigint;
|
|
33049
33048
|
marketAddr: Address;
|
|
33050
33049
|
ownerAddr: Address;
|
|
@@ -33075,7 +33074,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33075
33074
|
address: string;
|
|
33076
33075
|
} | null;
|
|
33077
33076
|
}[], Error>>;
|
|
33078
|
-
fetchStatus:
|
|
33077
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33079
33078
|
promise: Promise<{
|
|
33080
33079
|
optionId: bigint;
|
|
33081
33080
|
marketAddr: Address;
|
|
@@ -33161,7 +33160,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33161
33160
|
isRefetching: boolean;
|
|
33162
33161
|
isStale: boolean;
|
|
33163
33162
|
isEnabled: boolean;
|
|
33164
|
-
refetch: (options?:
|
|
33163
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33165
33164
|
optionId: bigint;
|
|
33166
33165
|
marketAddr: Address;
|
|
33167
33166
|
ownerAddr: Address;
|
|
@@ -33192,7 +33191,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33192
33191
|
address: string;
|
|
33193
33192
|
} | null;
|
|
33194
33193
|
}[], Error>>;
|
|
33195
|
-
fetchStatus:
|
|
33194
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33196
33195
|
promise: Promise<{
|
|
33197
33196
|
optionId: bigint;
|
|
33198
33197
|
marketAddr: Address;
|
|
@@ -33279,7 +33278,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33279
33278
|
isRefetching: boolean;
|
|
33280
33279
|
isStale: boolean;
|
|
33281
33280
|
isEnabled: boolean;
|
|
33282
|
-
refetch: (options?:
|
|
33281
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33283
33282
|
optionId: bigint;
|
|
33284
33283
|
marketAddr: Address;
|
|
33285
33284
|
ownerAddr: Address;
|
|
@@ -33310,7 +33309,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33310
33309
|
address: string;
|
|
33311
33310
|
} | null;
|
|
33312
33311
|
}[], Error>>;
|
|
33313
|
-
fetchStatus:
|
|
33312
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33314
33313
|
promise: Promise<{
|
|
33315
33314
|
optionId: bigint;
|
|
33316
33315
|
marketAddr: Address;
|
|
@@ -33396,7 +33395,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33396
33395
|
isRefetching: boolean;
|
|
33397
33396
|
isStale: boolean;
|
|
33398
33397
|
isEnabled: boolean;
|
|
33399
|
-
refetch: (options?:
|
|
33398
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33400
33399
|
optionId: bigint;
|
|
33401
33400
|
marketAddr: Address;
|
|
33402
33401
|
ownerAddr: Address;
|
|
@@ -33427,7 +33426,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33427
33426
|
address: string;
|
|
33428
33427
|
} | null;
|
|
33429
33428
|
}[], Error>>;
|
|
33430
|
-
fetchStatus:
|
|
33429
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33431
33430
|
promise: Promise<{
|
|
33432
33431
|
optionId: bigint;
|
|
33433
33432
|
marketAddr: Address;
|
|
@@ -33513,7 +33512,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33513
33512
|
isRefetching: boolean;
|
|
33514
33513
|
isStale: boolean;
|
|
33515
33514
|
isEnabled: boolean;
|
|
33516
|
-
refetch: (options?:
|
|
33515
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33517
33516
|
optionId: bigint;
|
|
33518
33517
|
marketAddr: Address;
|
|
33519
33518
|
ownerAddr: Address;
|
|
@@ -33544,7 +33543,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33544
33543
|
address: string;
|
|
33545
33544
|
} | null;
|
|
33546
33545
|
}[], Error>>;
|
|
33547
|
-
fetchStatus:
|
|
33546
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33548
33547
|
promise: Promise<{
|
|
33549
33548
|
optionId: bigint;
|
|
33550
33549
|
marketAddr: Address;
|
|
@@ -33630,7 +33629,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33630
33629
|
isRefetching: boolean;
|
|
33631
33630
|
isStale: boolean;
|
|
33632
33631
|
isEnabled: boolean;
|
|
33633
|
-
refetch: (options?:
|
|
33632
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33634
33633
|
optionId: bigint;
|
|
33635
33634
|
marketAddr: Address;
|
|
33636
33635
|
ownerAddr: Address;
|
|
@@ -33661,7 +33660,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33661
33660
|
address: string;
|
|
33662
33661
|
} | null;
|
|
33663
33662
|
}[], Error>>;
|
|
33664
|
-
fetchStatus:
|
|
33663
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33665
33664
|
promise: Promise<{
|
|
33666
33665
|
optionId: bigint;
|
|
33667
33666
|
marketAddr: Address;
|
|
@@ -33747,7 +33746,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33747
33746
|
isRefetching: boolean;
|
|
33748
33747
|
isStale: boolean;
|
|
33749
33748
|
isEnabled: boolean;
|
|
33750
|
-
refetch: (options?:
|
|
33749
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33751
33750
|
optionId: bigint;
|
|
33752
33751
|
marketAddr: Address;
|
|
33753
33752
|
ownerAddr: Address;
|
|
@@ -33778,7 +33777,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33778
33777
|
address: string;
|
|
33779
33778
|
} | null;
|
|
33780
33779
|
}[], Error>>;
|
|
33781
|
-
fetchStatus:
|
|
33780
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33782
33781
|
promise: Promise<{
|
|
33783
33782
|
optionId: bigint;
|
|
33784
33783
|
marketAddr: Address;
|
|
@@ -33864,7 +33863,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33864
33863
|
isRefetching: boolean;
|
|
33865
33864
|
isStale: boolean;
|
|
33866
33865
|
isEnabled: boolean;
|
|
33867
|
-
refetch: (options?:
|
|
33866
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33868
33867
|
optionId: bigint;
|
|
33869
33868
|
marketAddr: Address;
|
|
33870
33869
|
ownerAddr: Address;
|
|
@@ -33895,7 +33894,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33895
33894
|
address: string;
|
|
33896
33895
|
} | null;
|
|
33897
33896
|
}[], Error>>;
|
|
33898
|
-
fetchStatus:
|
|
33897
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33899
33898
|
promise: Promise<{
|
|
33900
33899
|
optionId: bigint;
|
|
33901
33900
|
marketAddr: Address;
|
|
@@ -34072,7 +34071,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34072
34071
|
isRefetching: boolean;
|
|
34073
34072
|
isStale: boolean;
|
|
34074
34073
|
isEnabled: boolean;
|
|
34075
|
-
refetch: (options?:
|
|
34074
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
34076
34075
|
type: "mint";
|
|
34077
34076
|
data: {
|
|
34078
34077
|
id: string;
|
|
@@ -34111,7 +34110,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34111
34110
|
transactionHash: string;
|
|
34112
34111
|
};
|
|
34113
34112
|
})[], Error>>;
|
|
34114
|
-
fetchStatus:
|
|
34113
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34115
34114
|
promise: Promise<({
|
|
34116
34115
|
type: "mint";
|
|
34117
34116
|
data: {
|
|
@@ -34213,7 +34212,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34213
34212
|
isRefetching: boolean;
|
|
34214
34213
|
isStale: boolean;
|
|
34215
34214
|
isEnabled: boolean;
|
|
34216
|
-
refetch: (options?:
|
|
34215
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
34217
34216
|
type: "mint";
|
|
34218
34217
|
data: {
|
|
34219
34218
|
id: string;
|
|
@@ -34252,7 +34251,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34252
34251
|
transactionHash: string;
|
|
34253
34252
|
};
|
|
34254
34253
|
})[], Error>>;
|
|
34255
|
-
fetchStatus:
|
|
34254
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34256
34255
|
promise: Promise<({
|
|
34257
34256
|
type: "mint";
|
|
34258
34257
|
data: {
|
|
@@ -34354,7 +34353,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34354
34353
|
isRefetching: boolean;
|
|
34355
34354
|
isStale: boolean;
|
|
34356
34355
|
isEnabled: boolean;
|
|
34357
|
-
refetch: (options?:
|
|
34356
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
34358
34357
|
type: "mint";
|
|
34359
34358
|
data: {
|
|
34360
34359
|
id: string;
|
|
@@ -34393,7 +34392,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34393
34392
|
transactionHash: string;
|
|
34394
34393
|
};
|
|
34395
34394
|
})[], Error>>;
|
|
34396
|
-
fetchStatus:
|
|
34395
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34397
34396
|
promise: Promise<({
|
|
34398
34397
|
type: "mint";
|
|
34399
34398
|
data: {
|
|
@@ -34495,7 +34494,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34495
34494
|
isRefetching: boolean;
|
|
34496
34495
|
isStale: boolean;
|
|
34497
34496
|
isEnabled: boolean;
|
|
34498
|
-
refetch: (options?:
|
|
34497
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
34499
34498
|
type: "mint";
|
|
34500
34499
|
data: {
|
|
34501
34500
|
id: string;
|
|
@@ -34534,7 +34533,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34534
34533
|
transactionHash: string;
|
|
34535
34534
|
};
|
|
34536
34535
|
})[], Error>>;
|
|
34537
|
-
fetchStatus:
|
|
34536
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34538
34537
|
promise: Promise<({
|
|
34539
34538
|
type: "mint";
|
|
34540
34539
|
data: {
|
|
@@ -34636,7 +34635,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34636
34635
|
isRefetching: boolean;
|
|
34637
34636
|
isStale: boolean;
|
|
34638
34637
|
isEnabled: boolean;
|
|
34639
|
-
refetch: (options?:
|
|
34638
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
34640
34639
|
type: "mint";
|
|
34641
34640
|
data: {
|
|
34642
34641
|
id: string;
|
|
@@ -34675,7 +34674,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34675
34674
|
transactionHash: string;
|
|
34676
34675
|
};
|
|
34677
34676
|
})[], Error>>;
|
|
34678
|
-
fetchStatus:
|
|
34677
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34679
34678
|
promise: Promise<({
|
|
34680
34679
|
type: "mint";
|
|
34681
34680
|
data: {
|
|
@@ -34777,7 +34776,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34777
34776
|
isRefetching: boolean;
|
|
34778
34777
|
isStale: boolean;
|
|
34779
34778
|
isEnabled: boolean;
|
|
34780
|
-
refetch: (options?:
|
|
34779
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
34781
34780
|
type: "mint";
|
|
34782
34781
|
data: {
|
|
34783
34782
|
id: string;
|
|
@@ -34816,7 +34815,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34816
34815
|
transactionHash: string;
|
|
34817
34816
|
};
|
|
34818
34817
|
})[], Error>>;
|
|
34819
|
-
fetchStatus:
|
|
34818
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34820
34819
|
promise: Promise<({
|
|
34821
34820
|
type: "mint";
|
|
34822
34821
|
data: {
|
|
@@ -34957,866 +34956,211 @@ declare const usePerpsOperator: () => {
|
|
|
34957
34956
|
};
|
|
34958
34957
|
//#endregion
|
|
34959
34958
|
//#region src/hooks/operators/useOperatorPerps.d.ts
|
|
34960
|
-
declare const useOperatorPerms: (operatorAddr?: Address, userAddr?: Address) =>
|
|
34961
|
-
|
|
34962
|
-
|
|
34963
|
-
|
|
34964
|
-
|
|
34965
|
-
|
|
34966
|
-
|
|
34967
|
-
|
|
34968
|
-
|
|
34969
|
-
|
|
34970
|
-
|
|
34971
|
-
|
|
34972
|
-
|
|
34973
|
-
|
|
34974
|
-
|
|
34975
|
-
|
|
34976
|
-
|
|
34977
|
-
|
|
34978
|
-
|
|
34979
|
-
|
|
34980
|
-
|
|
34981
|
-
|
|
34982
|
-
|
|
34983
|
-
|
|
34984
|
-
|
|
34985
|
-
|
|
34986
|
-
|
|
34987
|
-
|
|
34988
|
-
|
|
34989
|
-
|
|
34990
|
-
|
|
34991
|
-
|
|
34992
|
-
|
|
34993
|
-
|
|
34994
|
-
|
|
34995
|
-
|
|
34996
|
-
|
|
34997
|
-
|
|
34998
|
-
|
|
34999
|
-
|
|
35000
|
-
|
|
35001
|
-
|
|
35002
|
-
|
|
35003
|
-
|
|
35004
|
-
|
|
35005
|
-
|
|
35006
|
-
|
|
35007
|
-
|
|
35008
|
-
|
|
35009
|
-
|
|
35010
|
-
|
|
35011
|
-
|
|
35012
|
-
|
|
35013
|
-
|
|
35014
|
-
|
|
35015
|
-
|
|
35016
|
-
|
|
35017
|
-
|
|
35018
|
-
|
|
35019
|
-
|
|
35020
|
-
|
|
35021
|
-
|
|
35022
|
-
|
|
35023
|
-
|
|
35024
|
-
|
|
35025
|
-
|
|
35026
|
-
|
|
35027
|
-
}
|
|
35028
|
-
|
|
35029
|
-
|
|
35030
|
-
|
|
35031
|
-
|
|
35032
|
-
|
|
35033
|
-
|
|
35034
|
-
|
|
35035
|
-
|
|
35036
|
-
|
|
35037
|
-
|
|
35038
|
-
|
|
35039
|
-
|
|
35040
|
-
|
|
35041
|
-
|
|
35042
|
-
|
|
35043
|
-
|
|
35044
|
-
|
|
35045
|
-
|
|
35046
|
-
|
|
35047
|
-
|
|
35048
|
-
|
|
35049
|
-
|
|
35050
|
-
|
|
35051
|
-
readonly
|
|
35052
|
-
|
|
35053
|
-
readonly
|
|
35054
|
-
|
|
35055
|
-
|
|
35056
|
-
|
|
35057
|
-
|
|
35058
|
-
|
|
35059
|
-
|
|
35060
|
-
|
|
35061
|
-
|
|
35062
|
-
|
|
35063
|
-
|
|
35064
|
-
|
|
35065
|
-
|
|
35066
|
-
|
|
35067
|
-
|
|
35068
|
-
|
|
35069
|
-
|
|
35070
|
-
|
|
35071
|
-
|
|
35072
|
-
|
|
35073
|
-
|
|
35074
|
-
|
|
35075
|
-
|
|
35076
|
-
|
|
35077
|
-
|
|
35078
|
-
|
|
35079
|
-
|
|
35080
|
-
|
|
35081
|
-
|
|
35082
|
-
|
|
35083
|
-
|
|
35084
|
-
|
|
35085
|
-
readonly
|
|
35086
|
-
|
|
35087
|
-
readonly
|
|
35088
|
-
|
|
35089
|
-
|
|
35090
|
-
|
|
35091
|
-
|
|
35092
|
-
|
|
35093
|
-
|
|
35094
|
-
|
|
35095
|
-
|
|
35096
|
-
|
|
35097
|
-
|
|
35098
|
-
|
|
35099
|
-
|
|
35100
|
-
|
|
35101
|
-
|
|
35102
|
-
|
|
35103
|
-
|
|
35104
|
-
|
|
35105
|
-
|
|
35106
|
-
|
|
35107
|
-
|
|
35108
|
-
|
|
35109
|
-
|
|
35110
|
-
|
|
35111
|
-
|
|
35112
|
-
|
|
35113
|
-
|
|
35114
|
-
|
|
35115
|
-
|
|
35116
|
-
|
|
35117
|
-
|
|
35118
|
-
|
|
35119
|
-
|
|
35120
|
-
|
|
35121
|
-
readonly
|
|
35122
|
-
|
|
35123
|
-
|
|
35124
|
-
|
|
35125
|
-
|
|
35126
|
-
|
|
35127
|
-
|
|
35128
|
-
|
|
35129
|
-
|
|
35130
|
-
|
|
35131
|
-
|
|
35132
|
-
|
|
35133
|
-
|
|
35134
|
-
|
|
35135
|
-
|
|
35136
|
-
|
|
35137
|
-
|
|
35138
|
-
|
|
35139
|
-
|
|
35140
|
-
|
|
35141
|
-
|
|
35142
|
-
|
|
35143
|
-
|
|
35144
|
-
|
|
35145
|
-
|
|
35146
|
-
|
|
35147
|
-
|
|
35148
|
-
|
|
35149
|
-
|
|
35150
|
-
|
|
35151
|
-
|
|
35152
|
-
|
|
35153
|
-
|
|
35154
|
-
|
|
35155
|
-
|
|
35156
|
-
|
|
35157
|
-
|
|
35158
|
-
|
|
35159
|
-
|
|
35160
|
-
|
|
35161
|
-
|
|
35162
|
-
|
|
35163
|
-
|
|
35164
|
-
|
|
35165
|
-
}];
|
|
35166
|
-
readonly stateMutability: "view";
|
|
35167
|
-
}, {
|
|
35168
|
-
readonly type: "function";
|
|
35169
|
-
readonly name: "guardian";
|
|
35170
|
-
readonly inputs: readonly [];
|
|
35171
|
-
readonly outputs: readonly [{
|
|
35172
|
-
readonly name: "";
|
|
35173
|
-
readonly type: "address";
|
|
35174
|
-
readonly internalType: "contract TimelockGuardian";
|
|
35175
|
-
}];
|
|
35176
|
-
readonly stateMutability: "view";
|
|
35177
|
-
}, {
|
|
35178
|
-
readonly type: "function";
|
|
35179
|
-
readonly name: "liquiditiesToAmounts";
|
|
35180
|
-
readonly inputs: readonly [{
|
|
35181
|
-
readonly name: "startTick";
|
|
35182
|
-
readonly type: "int24";
|
|
35183
|
-
readonly internalType: "int24";
|
|
35184
|
-
}, {
|
|
35185
|
-
readonly name: "liquiditys";
|
|
35186
|
-
readonly type: "uint128[]";
|
|
35187
|
-
readonly internalType: "uint128[]";
|
|
35188
|
-
}, {
|
|
35189
|
-
readonly name: "optionType";
|
|
35190
|
-
readonly type: "uint8";
|
|
35191
|
-
readonly internalType: "uint8";
|
|
35192
|
-
}];
|
|
35193
|
-
readonly outputs: readonly [{
|
|
35194
|
-
readonly name: "optionAssetToRepay";
|
|
35195
|
-
readonly type: "uint256";
|
|
35196
|
-
readonly internalType: "uint256";
|
|
35197
|
-
}, {
|
|
35198
|
-
readonly name: "payoutAssetToRepay";
|
|
35199
|
-
readonly type: "uint256";
|
|
35200
|
-
readonly internalType: "uint256";
|
|
35201
|
-
}, {
|
|
35202
|
-
readonly name: "optionAssetBorrowed";
|
|
35203
|
-
readonly type: "uint256";
|
|
35204
|
-
readonly internalType: "uint256";
|
|
35205
|
-
}, {
|
|
35206
|
-
readonly name: "payoutAssetBorrowed";
|
|
35207
|
-
readonly type: "uint256";
|
|
35208
|
-
readonly internalType: "uint256";
|
|
35209
|
-
}, {
|
|
35210
|
-
readonly name: "currentTick";
|
|
35211
|
-
readonly type: "int24";
|
|
35212
|
-
readonly internalType: "int24";
|
|
35213
|
-
}];
|
|
35214
|
-
readonly stateMutability: "view";
|
|
35215
|
-
}, {
|
|
35216
|
-
readonly type: "function";
|
|
35217
|
-
readonly name: "mintOption";
|
|
35218
|
-
readonly inputs: readonly [{
|
|
35219
|
-
readonly name: "owner";
|
|
35220
|
-
readonly type: "address";
|
|
35221
|
-
readonly internalType: "address";
|
|
35222
|
-
}, {
|
|
35223
|
-
readonly name: "optionType";
|
|
35224
|
-
readonly type: "uint8";
|
|
35225
|
-
readonly internalType: "uint8";
|
|
35226
|
-
}, {
|
|
35227
|
-
readonly name: "amount";
|
|
35228
|
-
readonly type: "uint256";
|
|
35229
|
-
readonly internalType: "uint256";
|
|
35230
|
-
}, {
|
|
35231
|
-
readonly name: "strikeTick";
|
|
35232
|
-
readonly type: "int24";
|
|
35233
|
-
readonly internalType: "int24";
|
|
35234
|
-
}, {
|
|
35235
|
-
readonly name: "duration";
|
|
35236
|
-
readonly type: "uint32";
|
|
35237
|
-
readonly internalType: "uint32";
|
|
35238
|
-
}, {
|
|
35239
|
-
readonly name: "maxPremium";
|
|
35240
|
-
readonly type: "uint256";
|
|
35241
|
-
readonly internalType: "uint256";
|
|
35242
|
-
}, {
|
|
35243
|
-
readonly name: "refTick";
|
|
35244
|
-
readonly type: "int24";
|
|
35245
|
-
readonly internalType: "int24";
|
|
35246
|
-
}];
|
|
35247
|
-
readonly outputs: readonly [{
|
|
35248
|
-
readonly name: "optionId";
|
|
35249
|
-
readonly type: "uint256";
|
|
35250
|
-
readonly internalType: "uint256";
|
|
35251
|
-
}, {
|
|
35252
|
-
readonly name: "finalAmount";
|
|
35253
|
-
readonly type: "uint256";
|
|
35254
|
-
readonly internalType: "uint256";
|
|
35255
|
-
}, {
|
|
35256
|
-
readonly name: "premium";
|
|
35257
|
-
readonly type: "uint256";
|
|
35258
|
-
readonly internalType: "uint256";
|
|
35259
|
-
}, {
|
|
35260
|
-
readonly name: "protocolFee";
|
|
35261
|
-
readonly type: "uint256";
|
|
35262
|
-
readonly internalType: "uint256";
|
|
35263
|
-
}];
|
|
35264
|
-
readonly stateMutability: "nonpayable";
|
|
35265
|
-
}, {
|
|
35266
|
-
readonly type: "function";
|
|
35267
|
-
readonly name: "multicall";
|
|
35268
|
-
readonly inputs: readonly [{
|
|
35269
|
-
readonly name: "data";
|
|
35270
|
-
readonly type: "bytes[]";
|
|
35271
|
-
readonly internalType: "bytes[]";
|
|
35272
|
-
}];
|
|
35273
|
-
readonly outputs: readonly [{
|
|
35274
|
-
readonly name: "results";
|
|
35275
|
-
readonly type: "bytes[]";
|
|
35276
|
-
readonly internalType: "bytes[]";
|
|
35277
|
-
}];
|
|
35278
|
-
readonly stateMutability: "nonpayable";
|
|
35279
|
-
}, {
|
|
35280
|
-
readonly type: "function";
|
|
35281
|
-
readonly name: "nextOptionId";
|
|
35282
|
-
readonly inputs: readonly [];
|
|
35283
|
-
readonly outputs: readonly [{
|
|
35284
|
-
readonly name: "";
|
|
35285
|
-
readonly type: "uint256";
|
|
35286
|
-
readonly internalType: "uint256";
|
|
35287
|
-
}];
|
|
35288
|
-
readonly stateMutability: "view";
|
|
35289
|
-
}, {
|
|
35290
|
-
readonly type: "function";
|
|
35291
|
-
readonly name: "operatorPerms";
|
|
35292
|
-
readonly inputs: readonly [{
|
|
35293
|
-
readonly name: "";
|
|
35294
|
-
readonly type: "address";
|
|
35295
|
-
readonly internalType: "address";
|
|
35296
|
-
}, {
|
|
35297
|
-
readonly name: "";
|
|
35298
|
-
readonly type: "address";
|
|
35299
|
-
readonly internalType: "address";
|
|
35300
|
-
}];
|
|
35301
|
-
readonly outputs: readonly [{
|
|
35302
|
-
readonly name: "canExtend";
|
|
35303
|
-
readonly type: "bool";
|
|
35304
|
-
readonly internalType: "bool";
|
|
35305
|
-
}, {
|
|
35306
|
-
readonly name: "canExercise";
|
|
35307
|
-
readonly type: "bool";
|
|
35308
|
-
readonly internalType: "bool";
|
|
35309
|
-
}, {
|
|
35310
|
-
readonly name: "canTransfer";
|
|
35311
|
-
readonly type: "bool";
|
|
35312
|
-
readonly internalType: "bool";
|
|
35313
|
-
}, {
|
|
35314
|
-
readonly name: "canMint";
|
|
35315
|
-
readonly type: "bool";
|
|
35316
|
-
readonly internalType: "bool";
|
|
35317
|
-
}, {
|
|
35318
|
-
readonly name: "spendingApproval";
|
|
35319
|
-
readonly type: "uint256";
|
|
35320
|
-
readonly internalType: "uint256";
|
|
35321
|
-
}];
|
|
35322
|
-
readonly stateMutability: "view";
|
|
35323
|
-
}, {
|
|
35324
|
-
readonly type: "function";
|
|
35325
|
-
readonly name: "optionAsset";
|
|
35326
|
-
readonly inputs: readonly [];
|
|
35327
|
-
readonly outputs: readonly [{
|
|
35328
|
-
readonly name: "";
|
|
35329
|
-
readonly type: "address";
|
|
35330
|
-
readonly internalType: "contract IERC20";
|
|
35331
|
-
}];
|
|
35332
|
-
readonly stateMutability: "view";
|
|
35333
|
-
}, {
|
|
35334
|
-
readonly type: "function";
|
|
35335
|
-
readonly name: "optionAssetIsToken0";
|
|
35336
|
-
readonly inputs: readonly [];
|
|
35337
|
-
readonly outputs: readonly [{
|
|
35338
|
-
readonly name: "";
|
|
35339
|
-
readonly type: "bool";
|
|
35340
|
-
readonly internalType: "bool";
|
|
35341
|
-
}];
|
|
35342
|
-
readonly stateMutability: "view";
|
|
35343
|
-
}, {
|
|
35344
|
-
readonly type: "function";
|
|
35345
|
-
readonly name: "optionPricing";
|
|
35346
|
-
readonly inputs: readonly [];
|
|
35347
|
-
readonly outputs: readonly [{
|
|
35348
|
-
readonly name: "";
|
|
35349
|
-
readonly type: "address";
|
|
35350
|
-
readonly internalType: "contract IOptionPricing";
|
|
35351
|
-
}];
|
|
35352
|
-
readonly stateMutability: "view";
|
|
35353
|
-
}, {
|
|
35354
|
-
readonly type: "function";
|
|
35355
|
-
readonly name: "owner";
|
|
35356
|
-
readonly inputs: readonly [];
|
|
35357
|
-
readonly outputs: readonly [{
|
|
35358
|
-
readonly name: "";
|
|
35359
|
-
readonly type: "address";
|
|
35360
|
-
readonly internalType: "address";
|
|
35361
|
-
}];
|
|
35362
|
-
readonly stateMutability: "view";
|
|
35363
|
-
}, {
|
|
35364
|
-
readonly type: "function";
|
|
35365
|
-
readonly name: "payoutAsset";
|
|
35366
|
-
readonly inputs: readonly [];
|
|
35367
|
-
readonly outputs: readonly [{
|
|
35368
|
-
readonly name: "";
|
|
35369
|
-
readonly type: "address";
|
|
35370
|
-
readonly internalType: "contract IERC20";
|
|
35371
|
-
}];
|
|
35372
|
-
readonly stateMutability: "view";
|
|
35373
|
-
}, {
|
|
35374
|
-
readonly type: "function";
|
|
35375
|
-
readonly name: "pool";
|
|
35376
|
-
readonly inputs: readonly [];
|
|
35377
|
-
readonly outputs: readonly [{
|
|
35378
|
-
readonly name: "";
|
|
35379
|
-
readonly type: "address";
|
|
35380
|
-
readonly internalType: "contract IUniswapV3Pool";
|
|
35381
|
-
}];
|
|
35382
|
-
readonly stateMutability: "view";
|
|
35383
|
-
}, {
|
|
35384
|
-
readonly type: "function";
|
|
35385
|
-
readonly name: "renounceOwnership";
|
|
35386
|
-
readonly inputs: readonly [];
|
|
35387
|
-
readonly outputs: readonly [];
|
|
35388
|
-
readonly stateMutability: "nonpayable";
|
|
35389
|
-
}, {
|
|
35390
|
-
readonly type: "function";
|
|
35391
|
-
readonly name: "setOperatorPerms";
|
|
35392
|
-
readonly inputs: readonly [{
|
|
35393
|
-
readonly name: "operator";
|
|
35394
|
-
readonly type: "address";
|
|
35395
|
-
readonly internalType: "address";
|
|
35396
|
-
}, {
|
|
35397
|
-
readonly name: "canExtend";
|
|
35398
|
-
readonly type: "bool";
|
|
35399
|
-
readonly internalType: "bool";
|
|
35400
|
-
}, {
|
|
35401
|
-
readonly name: "canExercise";
|
|
35402
|
-
readonly type: "bool";
|
|
35403
|
-
readonly internalType: "bool";
|
|
35404
|
-
}, {
|
|
35405
|
-
readonly name: "canTransfer";
|
|
35406
|
-
readonly type: "bool";
|
|
35407
|
-
readonly internalType: "bool";
|
|
35408
|
-
}, {
|
|
35409
|
-
readonly name: "canMint";
|
|
35410
|
-
readonly type: "bool";
|
|
35411
|
-
readonly internalType: "bool";
|
|
35412
|
-
}, {
|
|
35413
|
-
readonly name: "spendingApproval";
|
|
35414
|
-
readonly type: "uint256";
|
|
35415
|
-
readonly internalType: "uint256";
|
|
35416
|
-
}];
|
|
35417
|
-
readonly outputs: readonly [];
|
|
35418
|
-
readonly stateMutability: "nonpayable";
|
|
35419
|
-
}, {
|
|
35420
|
-
readonly type: "function";
|
|
35421
|
-
readonly name: "tickSpacing";
|
|
35422
|
-
readonly inputs: readonly [];
|
|
35423
|
-
readonly outputs: readonly [{
|
|
35424
|
-
readonly name: "";
|
|
35425
|
-
readonly type: "int24";
|
|
35426
|
-
readonly internalType: "int24";
|
|
35427
|
-
}];
|
|
35428
|
-
readonly stateMutability: "view";
|
|
35429
|
-
}, {
|
|
35430
|
-
readonly type: "function";
|
|
35431
|
-
readonly name: "token0";
|
|
35432
|
-
readonly inputs: readonly [];
|
|
35433
|
-
readonly outputs: readonly [{
|
|
35434
|
-
readonly name: "";
|
|
35435
|
-
readonly type: "address";
|
|
35436
|
-
readonly internalType: "contract IERC20";
|
|
35437
|
-
}];
|
|
35438
|
-
readonly stateMutability: "view";
|
|
35439
|
-
}, {
|
|
35440
|
-
readonly type: "function";
|
|
35441
|
-
readonly name: "token1";
|
|
35442
|
-
readonly inputs: readonly [];
|
|
35443
|
-
readonly outputs: readonly [{
|
|
35444
|
-
readonly name: "";
|
|
35445
|
-
readonly type: "address";
|
|
35446
|
-
readonly internalType: "contract IERC20";
|
|
35447
|
-
}];
|
|
35448
|
-
readonly stateMutability: "view";
|
|
35449
|
-
}, {
|
|
35450
|
-
readonly type: "function";
|
|
35451
|
-
readonly name: "transferOption";
|
|
35452
|
-
readonly inputs: readonly [{
|
|
35453
|
-
readonly name: "optionId";
|
|
35454
|
-
readonly type: "uint256";
|
|
35455
|
-
readonly internalType: "uint256";
|
|
35456
|
-
}, {
|
|
35457
|
-
readonly name: "to";
|
|
35458
|
-
readonly type: "address";
|
|
35459
|
-
readonly internalType: "address";
|
|
35460
|
-
}];
|
|
35461
|
-
readonly outputs: readonly [];
|
|
35462
|
-
readonly stateMutability: "nonpayable";
|
|
35463
|
-
}, {
|
|
35464
|
-
readonly type: "function";
|
|
35465
|
-
readonly name: "transferOwnership";
|
|
35466
|
-
readonly inputs: readonly [{
|
|
35467
|
-
readonly name: "newOwner";
|
|
35468
|
-
readonly type: "address";
|
|
35469
|
-
readonly internalType: "address";
|
|
35470
|
-
}];
|
|
35471
|
-
readonly outputs: readonly [];
|
|
35472
|
-
readonly stateMutability: "nonpayable";
|
|
35473
|
-
}, {
|
|
35474
|
-
readonly type: "function";
|
|
35475
|
-
readonly name: "updateAddresses";
|
|
35476
|
-
readonly inputs: readonly [{
|
|
35477
|
-
readonly name: "_optionPricing";
|
|
35478
|
-
readonly type: "address";
|
|
35479
|
-
readonly internalType: "contract IOptionPricing";
|
|
35480
|
-
}, {
|
|
35481
|
-
readonly name: "_feeStrategy";
|
|
35482
|
-
readonly type: "address";
|
|
35483
|
-
readonly internalType: "contract IFeeStrategy";
|
|
35484
|
-
}, {
|
|
35485
|
-
readonly name: "_feeRecipient";
|
|
35486
|
-
readonly type: "address";
|
|
35487
|
-
readonly internalType: "address";
|
|
35488
|
-
}];
|
|
35489
|
-
readonly outputs: readonly [];
|
|
35490
|
-
readonly stateMutability: "nonpayable";
|
|
35491
|
-
}, {
|
|
35492
|
-
readonly type: "function";
|
|
35493
|
-
readonly name: "vault";
|
|
35494
|
-
readonly inputs: readonly [];
|
|
35495
|
-
readonly outputs: readonly [{
|
|
35496
|
-
readonly name: "";
|
|
35497
|
-
readonly type: "address";
|
|
35498
|
-
readonly internalType: "contract ITimelockVault";
|
|
35499
|
-
}];
|
|
35500
|
-
readonly stateMutability: "view";
|
|
35501
|
-
}, {
|
|
35502
|
-
readonly type: "event";
|
|
35503
|
-
readonly name: "AddressesUpdated";
|
|
35504
|
-
readonly inputs: readonly [{
|
|
35505
|
-
readonly name: "optionPricing";
|
|
35506
|
-
readonly type: "address";
|
|
35507
|
-
readonly indexed: false;
|
|
35508
|
-
readonly internalType: "contract IOptionPricing";
|
|
35509
|
-
}, {
|
|
35510
|
-
readonly name: "feeStrategy";
|
|
35511
|
-
readonly type: "address";
|
|
35512
|
-
readonly indexed: false;
|
|
35513
|
-
readonly internalType: "contract IFeeStrategy";
|
|
35514
|
-
}, {
|
|
35515
|
-
readonly name: "feeRecipient";
|
|
35516
|
-
readonly type: "address";
|
|
35517
|
-
readonly indexed: false;
|
|
35518
|
-
readonly internalType: "address";
|
|
35519
|
-
}];
|
|
35520
|
-
readonly anonymous: false;
|
|
35521
|
-
}, {
|
|
35522
|
-
readonly type: "event";
|
|
35523
|
-
readonly name: "EmergencyWithdraw";
|
|
35524
|
-
readonly inputs: readonly [{
|
|
35525
|
-
readonly name: "tokens";
|
|
35526
|
-
readonly type: "address[]";
|
|
35527
|
-
readonly indexed: false;
|
|
35528
|
-
readonly internalType: "contract IERC20[]";
|
|
35529
|
-
}, {
|
|
35530
|
-
readonly name: "balances";
|
|
35531
|
-
readonly type: "uint256[]";
|
|
35532
|
-
readonly indexed: false;
|
|
35533
|
-
readonly internalType: "uint256[]";
|
|
35534
|
-
}];
|
|
35535
|
-
readonly anonymous: false;
|
|
35536
|
-
}, {
|
|
35537
|
-
readonly type: "event";
|
|
35538
|
-
readonly name: "ExerciseOption";
|
|
35539
|
-
readonly inputs: readonly [{
|
|
35540
|
-
readonly name: "optionId";
|
|
35541
|
-
readonly type: "uint256";
|
|
35542
|
-
readonly indexed: true;
|
|
35543
|
-
readonly internalType: "uint256";
|
|
35544
|
-
}, {
|
|
35545
|
-
readonly name: "liquidities";
|
|
35546
|
-
readonly type: "uint128[]";
|
|
35547
|
-
readonly indexed: false;
|
|
35548
|
-
readonly internalType: "uint128[]";
|
|
35549
|
-
}, {
|
|
35550
|
-
readonly name: "currentTick";
|
|
35551
|
-
readonly type: "int24";
|
|
35552
|
-
readonly indexed: false;
|
|
35553
|
-
readonly internalType: "int24";
|
|
35554
|
-
}, {
|
|
35555
|
-
readonly name: "payout";
|
|
35556
|
-
readonly type: "uint256";
|
|
35557
|
-
readonly indexed: false;
|
|
35558
|
-
readonly internalType: "uint256";
|
|
35559
|
-
}];
|
|
35560
|
-
readonly anonymous: false;
|
|
35561
|
-
}, {
|
|
35562
|
-
readonly type: "event";
|
|
35563
|
-
readonly name: "ExtendOption";
|
|
35564
|
-
readonly inputs: readonly [{
|
|
35565
|
-
readonly name: "optionId";
|
|
35566
|
-
readonly type: "uint256";
|
|
35567
|
-
readonly indexed: true;
|
|
35568
|
-
readonly internalType: "uint256";
|
|
35569
|
-
}, {
|
|
35570
|
-
readonly name: "premium";
|
|
35571
|
-
readonly type: "uint256";
|
|
35572
|
-
readonly indexed: false;
|
|
35573
|
-
readonly internalType: "uint256";
|
|
35574
|
-
}, {
|
|
35575
|
-
readonly name: "protocolFee";
|
|
35576
|
-
readonly type: "uint256";
|
|
35577
|
-
readonly indexed: false;
|
|
35578
|
-
readonly internalType: "uint256";
|
|
35579
|
-
}, {
|
|
35580
|
-
readonly name: "currentTick";
|
|
35581
|
-
readonly type: "int24";
|
|
35582
|
-
readonly indexed: false;
|
|
35583
|
-
readonly internalType: "int24";
|
|
35584
|
-
}, {
|
|
35585
|
-
readonly name: "addedDuration";
|
|
35586
|
-
readonly type: "uint32";
|
|
35587
|
-
readonly indexed: false;
|
|
35588
|
-
readonly internalType: "uint32";
|
|
35589
|
-
}];
|
|
35590
|
-
readonly anonymous: false;
|
|
35591
|
-
}, {
|
|
35592
|
-
readonly type: "event";
|
|
35593
|
-
readonly name: "MintOption";
|
|
35594
|
-
readonly inputs: readonly [{
|
|
35595
|
-
readonly name: "optionId";
|
|
35596
|
-
readonly type: "uint256";
|
|
35597
|
-
readonly indexed: true;
|
|
35598
|
-
readonly internalType: "uint256";
|
|
35599
|
-
}, {
|
|
35600
|
-
readonly name: "owner";
|
|
35601
|
-
readonly type: "address";
|
|
35602
|
-
readonly indexed: true;
|
|
35603
|
-
readonly internalType: "address";
|
|
35604
|
-
}, {
|
|
35605
|
-
readonly name: "optionType";
|
|
35606
|
-
readonly type: "uint8";
|
|
35607
|
-
readonly indexed: false;
|
|
35608
|
-
readonly internalType: "uint8";
|
|
35609
|
-
}, {
|
|
35610
|
-
readonly name: "strikeTick";
|
|
35611
|
-
readonly type: "int24";
|
|
35612
|
-
readonly indexed: false;
|
|
35613
|
-
readonly internalType: "int24";
|
|
35614
|
-
}, {
|
|
35615
|
-
readonly name: "currentTick";
|
|
35616
|
-
readonly type: "int24";
|
|
35617
|
-
readonly indexed: false;
|
|
35618
|
-
readonly internalType: "int24";
|
|
35619
|
-
}, {
|
|
35620
|
-
readonly name: "expiresAt";
|
|
35621
|
-
readonly type: "uint32";
|
|
35622
|
-
readonly indexed: false;
|
|
35623
|
-
readonly internalType: "uint32";
|
|
35624
|
-
}, {
|
|
35625
|
-
readonly name: "premium";
|
|
35626
|
-
readonly type: "uint256";
|
|
35627
|
-
readonly indexed: false;
|
|
35628
|
-
readonly internalType: "uint256";
|
|
35629
|
-
}, {
|
|
35630
|
-
readonly name: "protocolFee";
|
|
35631
|
-
readonly type: "uint256";
|
|
35632
|
-
readonly indexed: false;
|
|
35633
|
-
readonly internalType: "uint256";
|
|
35634
|
-
}, {
|
|
35635
|
-
readonly name: "liquidities";
|
|
35636
|
-
readonly type: "uint128[]";
|
|
35637
|
-
readonly indexed: false;
|
|
35638
|
-
readonly internalType: "uint128[]";
|
|
35639
|
-
}];
|
|
35640
|
-
readonly anonymous: false;
|
|
35641
|
-
}, {
|
|
35642
|
-
readonly type: "event";
|
|
35643
|
-
readonly name: "OwnershipTransferred";
|
|
35644
|
-
readonly inputs: readonly [{
|
|
35645
|
-
readonly name: "previousOwner";
|
|
35646
|
-
readonly type: "address";
|
|
35647
|
-
readonly indexed: true;
|
|
35648
|
-
readonly internalType: "address";
|
|
35649
|
-
}, {
|
|
35650
|
-
readonly name: "newOwner";
|
|
35651
|
-
readonly type: "address";
|
|
35652
|
-
readonly indexed: true;
|
|
35653
|
-
readonly internalType: "address";
|
|
35654
|
-
}];
|
|
35655
|
-
readonly anonymous: false;
|
|
35656
|
-
}, {
|
|
35657
|
-
readonly type: "event";
|
|
35658
|
-
readonly name: "TransferOption";
|
|
35659
|
-
readonly inputs: readonly [{
|
|
35660
|
-
readonly name: "optionId";
|
|
35661
|
-
readonly type: "uint256";
|
|
35662
|
-
readonly indexed: true;
|
|
35663
|
-
readonly internalType: "uint256";
|
|
35664
|
-
}, {
|
|
35665
|
-
readonly name: "to";
|
|
35666
|
-
readonly type: "address";
|
|
35667
|
-
readonly indexed: true;
|
|
35668
|
-
readonly internalType: "address";
|
|
35669
|
-
}];
|
|
35670
|
-
readonly anonymous: false;
|
|
35671
|
-
}, {
|
|
35672
|
-
readonly type: "event";
|
|
35673
|
-
readonly name: "UpdateOperatorPerms";
|
|
35674
|
-
readonly inputs: readonly [{
|
|
35675
|
-
readonly name: "owner";
|
|
35676
|
-
readonly type: "address";
|
|
35677
|
-
readonly indexed: true;
|
|
35678
|
-
readonly internalType: "address";
|
|
35679
|
-
}, {
|
|
35680
|
-
readonly name: "operator";
|
|
35681
|
-
readonly type: "address";
|
|
35682
|
-
readonly indexed: true;
|
|
35683
|
-
readonly internalType: "address";
|
|
35684
|
-
}, {
|
|
35685
|
-
readonly name: "canExtend";
|
|
35686
|
-
readonly type: "bool";
|
|
35687
|
-
readonly indexed: false;
|
|
35688
|
-
readonly internalType: "bool";
|
|
35689
|
-
}, {
|
|
35690
|
-
readonly name: "canExercise";
|
|
35691
|
-
readonly type: "bool";
|
|
35692
|
-
readonly indexed: false;
|
|
35693
|
-
readonly internalType: "bool";
|
|
35694
|
-
}, {
|
|
35695
|
-
readonly name: "canTransfer";
|
|
35696
|
-
readonly type: "bool";
|
|
35697
|
-
readonly indexed: false;
|
|
35698
|
-
readonly internalType: "bool";
|
|
35699
|
-
}, {
|
|
35700
|
-
readonly name: "canMint";
|
|
35701
|
-
readonly type: "bool";
|
|
35702
|
-
readonly indexed: false;
|
|
35703
|
-
readonly internalType: "bool";
|
|
35704
|
-
}, {
|
|
35705
|
-
readonly name: "spendingApproval";
|
|
35706
|
-
readonly type: "uint256";
|
|
35707
|
-
readonly indexed: false;
|
|
35708
|
-
readonly internalType: "uint256";
|
|
35709
|
-
}];
|
|
35710
|
-
readonly anonymous: false;
|
|
35711
|
-
}, {
|
|
35712
|
-
readonly type: "error";
|
|
35713
|
-
readonly name: "AddressEmptyCode";
|
|
35714
|
-
readonly inputs: readonly [{
|
|
35715
|
-
readonly name: "target";
|
|
35716
|
-
readonly type: "address";
|
|
35717
|
-
readonly internalType: "address";
|
|
35718
|
-
}];
|
|
35719
|
-
}, {
|
|
35720
|
-
readonly type: "error";
|
|
35721
|
-
readonly name: "FailedCall";
|
|
35722
|
-
readonly inputs: readonly [];
|
|
35723
|
-
}, {
|
|
35724
|
-
readonly type: "error";
|
|
35725
|
-
readonly name: "InsufficientLiquidity";
|
|
35726
|
-
readonly inputs: readonly [];
|
|
35727
|
-
}, {
|
|
35728
|
-
readonly type: "error";
|
|
35729
|
-
readonly name: "InvalidAmount";
|
|
35730
|
-
readonly inputs: readonly [];
|
|
35731
|
-
}, {
|
|
35732
|
-
readonly type: "error";
|
|
35733
|
-
readonly name: "InvalidArrayLength";
|
|
35734
|
-
readonly inputs: readonly [];
|
|
35735
|
-
}, {
|
|
35736
|
-
readonly type: "error";
|
|
35737
|
-
readonly name: "InvalidDuration";
|
|
35738
|
-
readonly inputs: readonly [];
|
|
35739
|
-
}, {
|
|
35740
|
-
readonly type: "error";
|
|
35741
|
-
readonly name: "InvalidOptionType";
|
|
35742
|
-
readonly inputs: readonly [];
|
|
35743
|
-
}, {
|
|
35744
|
-
readonly type: "error";
|
|
35745
|
-
readonly name: "InvalidTickRange";
|
|
35746
|
-
readonly inputs: readonly [{
|
|
35747
|
-
readonly name: "tickLower";
|
|
35748
|
-
readonly type: "int24";
|
|
35749
|
-
readonly internalType: "int24";
|
|
35750
|
-
}, {
|
|
35751
|
-
readonly name: "tickUpper";
|
|
35752
|
-
readonly type: "int24";
|
|
35753
|
-
readonly internalType: "int24";
|
|
35754
|
-
}];
|
|
35755
|
-
}, {
|
|
35756
|
-
readonly type: "error";
|
|
35757
|
-
readonly name: "NotAuthorized";
|
|
35758
|
-
readonly inputs: readonly [];
|
|
35759
|
-
}, {
|
|
35760
|
-
readonly type: "error";
|
|
35761
|
-
readonly name: "NotEnoughPayout";
|
|
35762
|
-
readonly inputs: readonly [];
|
|
35763
|
-
}, {
|
|
35764
|
-
readonly type: "error";
|
|
35765
|
-
readonly name: "OptionExpired";
|
|
35766
|
-
readonly inputs: readonly [];
|
|
35767
|
-
}, {
|
|
35768
|
-
readonly type: "error";
|
|
35769
|
-
readonly name: "OptionNotFound";
|
|
35770
|
-
readonly inputs: readonly [];
|
|
35771
|
-
}, {
|
|
35772
|
-
readonly type: "error";
|
|
35773
|
-
readonly name: "OwnableInvalidOwner";
|
|
35774
|
-
readonly inputs: readonly [{
|
|
35775
|
-
readonly name: "owner";
|
|
35776
|
-
readonly type: "address";
|
|
35777
|
-
readonly internalType: "address";
|
|
35778
|
-
}];
|
|
35779
|
-
}, {
|
|
35780
|
-
readonly type: "error";
|
|
35781
|
-
readonly name: "OwnableUnauthorizedAccount";
|
|
35782
|
-
readonly inputs: readonly [{
|
|
35783
|
-
readonly name: "account";
|
|
35784
|
-
readonly type: "address";
|
|
35785
|
-
readonly internalType: "address";
|
|
35786
|
-
}];
|
|
35787
|
-
}, {
|
|
35788
|
-
readonly type: "error";
|
|
35789
|
-
readonly name: "PremiumTooHigh";
|
|
35790
|
-
readonly inputs: readonly [];
|
|
35791
|
-
}, {
|
|
35792
|
-
readonly type: "error";
|
|
35793
|
-
readonly name: "ReentrancyGuardReentrantCall";
|
|
35794
|
-
readonly inputs: readonly [];
|
|
35795
|
-
}, {
|
|
35796
|
-
readonly type: "error";
|
|
35797
|
-
readonly name: "SafeERC20FailedOperation";
|
|
35798
|
-
readonly inputs: readonly [{
|
|
35799
|
-
readonly name: "token";
|
|
35800
|
-
readonly type: "address";
|
|
35801
|
-
readonly internalType: "address";
|
|
35802
|
-
}];
|
|
35803
|
-
}, {
|
|
35804
|
-
readonly type: "error";
|
|
35805
|
-
readonly name: "SwapFailed";
|
|
35806
|
-
readonly inputs: readonly [];
|
|
35807
|
-
}, {
|
|
35808
|
-
readonly type: "error";
|
|
35809
|
-
readonly name: "TradingPaused";
|
|
35810
|
-
readonly inputs: readonly [];
|
|
35811
|
-
}, {
|
|
35812
|
-
readonly type: "error";
|
|
35813
|
-
readonly name: "WithdrawNotAllowed";
|
|
35814
|
-
readonly inputs: readonly [];
|
|
35815
|
-
}, {
|
|
35816
|
-
readonly type: "error";
|
|
35817
|
-
readonly name: "ZeroAddress";
|
|
35818
|
-
readonly inputs: readonly [];
|
|
35819
|
-
}], "operatorPerms", [`0x${string}`, `0x${string}`], readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
34959
|
+
declare const useOperatorPerms: (operatorAddr?: Address, userAddr?: Address) => {
|
|
34960
|
+
error: viem0.ReadContractErrorType;
|
|
34961
|
+
isError: true;
|
|
34962
|
+
isPending: false;
|
|
34963
|
+
isLoading: false;
|
|
34964
|
+
isLoadingError: false;
|
|
34965
|
+
isRefetchError: true;
|
|
34966
|
+
isSuccess: false;
|
|
34967
|
+
isPlaceholderData: false;
|
|
34968
|
+
status: "error";
|
|
34969
|
+
dataUpdatedAt: number;
|
|
34970
|
+
errorUpdatedAt: number;
|
|
34971
|
+
failureCount: number;
|
|
34972
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
34973
|
+
errorUpdateCount: number;
|
|
34974
|
+
isFetched: boolean;
|
|
34975
|
+
isFetchedAfterMount: boolean;
|
|
34976
|
+
isFetching: boolean;
|
|
34977
|
+
isInitialLoading: boolean;
|
|
34978
|
+
isPaused: boolean;
|
|
34979
|
+
isRefetching: boolean;
|
|
34980
|
+
isStale: boolean;
|
|
34981
|
+
isEnabled: boolean;
|
|
34982
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
34983
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34984
|
+
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
34985
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
34986
|
+
data: {
|
|
34987
|
+
canExtend: boolean;
|
|
34988
|
+
canExercise: boolean;
|
|
34989
|
+
canTransfer: boolean;
|
|
34990
|
+
canMint: boolean;
|
|
34991
|
+
spendingApproval: bigint;
|
|
34992
|
+
} | undefined;
|
|
34993
|
+
} | {
|
|
34994
|
+
error: null;
|
|
34995
|
+
isError: false;
|
|
34996
|
+
isPending: false;
|
|
34997
|
+
isLoading: false;
|
|
34998
|
+
isLoadingError: false;
|
|
34999
|
+
isRefetchError: false;
|
|
35000
|
+
isSuccess: true;
|
|
35001
|
+
isPlaceholderData: false;
|
|
35002
|
+
status: "success";
|
|
35003
|
+
dataUpdatedAt: number;
|
|
35004
|
+
errorUpdatedAt: number;
|
|
35005
|
+
failureCount: number;
|
|
35006
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35007
|
+
errorUpdateCount: number;
|
|
35008
|
+
isFetched: boolean;
|
|
35009
|
+
isFetchedAfterMount: boolean;
|
|
35010
|
+
isFetching: boolean;
|
|
35011
|
+
isInitialLoading: boolean;
|
|
35012
|
+
isPaused: boolean;
|
|
35013
|
+
isRefetching: boolean;
|
|
35014
|
+
isStale: boolean;
|
|
35015
|
+
isEnabled: boolean;
|
|
35016
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35017
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35018
|
+
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35019
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
35020
|
+
data: {
|
|
35021
|
+
canExtend: boolean;
|
|
35022
|
+
canExercise: boolean;
|
|
35023
|
+
canTransfer: boolean;
|
|
35024
|
+
canMint: boolean;
|
|
35025
|
+
spendingApproval: bigint;
|
|
35026
|
+
} | undefined;
|
|
35027
|
+
} | {
|
|
35028
|
+
error: viem0.ReadContractErrorType;
|
|
35029
|
+
isError: true;
|
|
35030
|
+
isPending: false;
|
|
35031
|
+
isLoading: false;
|
|
35032
|
+
isLoadingError: true;
|
|
35033
|
+
isRefetchError: false;
|
|
35034
|
+
isSuccess: false;
|
|
35035
|
+
isPlaceholderData: false;
|
|
35036
|
+
status: "error";
|
|
35037
|
+
dataUpdatedAt: number;
|
|
35038
|
+
errorUpdatedAt: number;
|
|
35039
|
+
failureCount: number;
|
|
35040
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35041
|
+
errorUpdateCount: number;
|
|
35042
|
+
isFetched: boolean;
|
|
35043
|
+
isFetchedAfterMount: boolean;
|
|
35044
|
+
isFetching: boolean;
|
|
35045
|
+
isInitialLoading: boolean;
|
|
35046
|
+
isPaused: boolean;
|
|
35047
|
+
isRefetching: boolean;
|
|
35048
|
+
isStale: boolean;
|
|
35049
|
+
isEnabled: boolean;
|
|
35050
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35051
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35052
|
+
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35053
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
35054
|
+
data: {
|
|
35055
|
+
canExtend: boolean;
|
|
35056
|
+
canExercise: boolean;
|
|
35057
|
+
canTransfer: boolean;
|
|
35058
|
+
canMint: boolean;
|
|
35059
|
+
spendingApproval: bigint;
|
|
35060
|
+
} | undefined;
|
|
35061
|
+
} | {
|
|
35062
|
+
error: null;
|
|
35063
|
+
isError: false;
|
|
35064
|
+
isPending: true;
|
|
35065
|
+
isLoading: true;
|
|
35066
|
+
isLoadingError: false;
|
|
35067
|
+
isRefetchError: false;
|
|
35068
|
+
isSuccess: false;
|
|
35069
|
+
isPlaceholderData: false;
|
|
35070
|
+
status: "pending";
|
|
35071
|
+
dataUpdatedAt: number;
|
|
35072
|
+
errorUpdatedAt: number;
|
|
35073
|
+
failureCount: number;
|
|
35074
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35075
|
+
errorUpdateCount: number;
|
|
35076
|
+
isFetched: boolean;
|
|
35077
|
+
isFetchedAfterMount: boolean;
|
|
35078
|
+
isFetching: boolean;
|
|
35079
|
+
isInitialLoading: boolean;
|
|
35080
|
+
isPaused: boolean;
|
|
35081
|
+
isRefetching: boolean;
|
|
35082
|
+
isStale: boolean;
|
|
35083
|
+
isEnabled: boolean;
|
|
35084
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35085
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35086
|
+
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35087
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
35088
|
+
data: {
|
|
35089
|
+
canExtend: boolean;
|
|
35090
|
+
canExercise: boolean;
|
|
35091
|
+
canTransfer: boolean;
|
|
35092
|
+
canMint: boolean;
|
|
35093
|
+
spendingApproval: bigint;
|
|
35094
|
+
} | undefined;
|
|
35095
|
+
} | {
|
|
35096
|
+
error: null;
|
|
35097
|
+
isError: false;
|
|
35098
|
+
isPending: true;
|
|
35099
|
+
isLoadingError: false;
|
|
35100
|
+
isRefetchError: false;
|
|
35101
|
+
isSuccess: false;
|
|
35102
|
+
isPlaceholderData: false;
|
|
35103
|
+
status: "pending";
|
|
35104
|
+
dataUpdatedAt: number;
|
|
35105
|
+
errorUpdatedAt: number;
|
|
35106
|
+
failureCount: number;
|
|
35107
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35108
|
+
errorUpdateCount: number;
|
|
35109
|
+
isFetched: boolean;
|
|
35110
|
+
isFetchedAfterMount: boolean;
|
|
35111
|
+
isFetching: boolean;
|
|
35112
|
+
isLoading: boolean;
|
|
35113
|
+
isInitialLoading: boolean;
|
|
35114
|
+
isPaused: boolean;
|
|
35115
|
+
isRefetching: boolean;
|
|
35116
|
+
isStale: boolean;
|
|
35117
|
+
isEnabled: boolean;
|
|
35118
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35119
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35120
|
+
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35121
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
35122
|
+
data: {
|
|
35123
|
+
canExtend: boolean;
|
|
35124
|
+
canExercise: boolean;
|
|
35125
|
+
canTransfer: boolean;
|
|
35126
|
+
canMint: boolean;
|
|
35127
|
+
spendingApproval: bigint;
|
|
35128
|
+
} | undefined;
|
|
35129
|
+
} | {
|
|
35130
|
+
isError: false;
|
|
35131
|
+
error: null;
|
|
35132
|
+
isPending: false;
|
|
35133
|
+
isLoading: false;
|
|
35134
|
+
isLoadingError: false;
|
|
35135
|
+
isRefetchError: false;
|
|
35136
|
+
isSuccess: true;
|
|
35137
|
+
isPlaceholderData: true;
|
|
35138
|
+
status: "success";
|
|
35139
|
+
dataUpdatedAt: number;
|
|
35140
|
+
errorUpdatedAt: number;
|
|
35141
|
+
failureCount: number;
|
|
35142
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35143
|
+
errorUpdateCount: number;
|
|
35144
|
+
isFetched: boolean;
|
|
35145
|
+
isFetchedAfterMount: boolean;
|
|
35146
|
+
isFetching: boolean;
|
|
35147
|
+
isInitialLoading: boolean;
|
|
35148
|
+
isPaused: boolean;
|
|
35149
|
+
isRefetching: boolean;
|
|
35150
|
+
isStale: boolean;
|
|
35151
|
+
isEnabled: boolean;
|
|
35152
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35153
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35154
|
+
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35155
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
35156
|
+
data: {
|
|
35157
|
+
canExtend: boolean;
|
|
35158
|
+
canExercise: boolean;
|
|
35159
|
+
canTransfer: boolean;
|
|
35160
|
+
canMint: boolean;
|
|
35161
|
+
spendingApproval: bigint;
|
|
35162
|
+
} | undefined;
|
|
35163
|
+
};
|
|
35820
35164
|
//#endregion
|
|
35821
35165
|
//#region src/hooks/operators/useUserOperators.d.ts
|
|
35822
35166
|
declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
@@ -35856,7 +35200,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35856
35200
|
isRefetching: boolean;
|
|
35857
35201
|
isStale: boolean;
|
|
35858
35202
|
isEnabled: boolean;
|
|
35859
|
-
refetch: (options?:
|
|
35203
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
35860
35204
|
spendingApproval: bigint;
|
|
35861
35205
|
operatorAddr: string;
|
|
35862
35206
|
__typename: "UserMarketOperator";
|
|
@@ -35870,7 +35214,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35870
35214
|
address: string;
|
|
35871
35215
|
} | null;
|
|
35872
35216
|
}[] | undefined, Error>>;
|
|
35873
|
-
fetchStatus:
|
|
35217
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35874
35218
|
promise: Promise<{
|
|
35875
35219
|
spendingApproval: bigint;
|
|
35876
35220
|
operatorAddr: string;
|
|
@@ -35922,7 +35266,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35922
35266
|
isRefetching: boolean;
|
|
35923
35267
|
isStale: boolean;
|
|
35924
35268
|
isEnabled: boolean;
|
|
35925
|
-
refetch: (options?:
|
|
35269
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
35926
35270
|
spendingApproval: bigint;
|
|
35927
35271
|
operatorAddr: string;
|
|
35928
35272
|
__typename: "UserMarketOperator";
|
|
@@ -35936,7 +35280,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35936
35280
|
address: string;
|
|
35937
35281
|
} | null;
|
|
35938
35282
|
}[] | undefined, Error>>;
|
|
35939
|
-
fetchStatus:
|
|
35283
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35940
35284
|
promise: Promise<{
|
|
35941
35285
|
spendingApproval: bigint;
|
|
35942
35286
|
operatorAddr: string;
|
|
@@ -35988,7 +35332,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35988
35332
|
isRefetching: boolean;
|
|
35989
35333
|
isStale: boolean;
|
|
35990
35334
|
isEnabled: boolean;
|
|
35991
|
-
refetch: (options?:
|
|
35335
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
35992
35336
|
spendingApproval: bigint;
|
|
35993
35337
|
operatorAddr: string;
|
|
35994
35338
|
__typename: "UserMarketOperator";
|
|
@@ -36002,7 +35346,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36002
35346
|
address: string;
|
|
36003
35347
|
} | null;
|
|
36004
35348
|
}[] | undefined, Error>>;
|
|
36005
|
-
fetchStatus:
|
|
35349
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36006
35350
|
promise: Promise<{
|
|
36007
35351
|
spendingApproval: bigint;
|
|
36008
35352
|
operatorAddr: string;
|
|
@@ -36054,7 +35398,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36054
35398
|
isRefetching: boolean;
|
|
36055
35399
|
isStale: boolean;
|
|
36056
35400
|
isEnabled: boolean;
|
|
36057
|
-
refetch: (options?:
|
|
35401
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
36058
35402
|
spendingApproval: bigint;
|
|
36059
35403
|
operatorAddr: string;
|
|
36060
35404
|
__typename: "UserMarketOperator";
|
|
@@ -36068,7 +35412,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36068
35412
|
address: string;
|
|
36069
35413
|
} | null;
|
|
36070
35414
|
}[] | undefined, Error>>;
|
|
36071
|
-
fetchStatus:
|
|
35415
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36072
35416
|
promise: Promise<{
|
|
36073
35417
|
spendingApproval: bigint;
|
|
36074
35418
|
operatorAddr: string;
|
|
@@ -36120,7 +35464,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36120
35464
|
isRefetching: boolean;
|
|
36121
35465
|
isStale: boolean;
|
|
36122
35466
|
isEnabled: boolean;
|
|
36123
|
-
refetch: (options?:
|
|
35467
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
36124
35468
|
spendingApproval: bigint;
|
|
36125
35469
|
operatorAddr: string;
|
|
36126
35470
|
__typename: "UserMarketOperator";
|
|
@@ -36134,7 +35478,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36134
35478
|
address: string;
|
|
36135
35479
|
} | null;
|
|
36136
35480
|
}[] | undefined, Error>>;
|
|
36137
|
-
fetchStatus:
|
|
35481
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36138
35482
|
promise: Promise<{
|
|
36139
35483
|
spendingApproval: bigint;
|
|
36140
35484
|
operatorAddr: string;
|
|
@@ -36186,7 +35530,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36186
35530
|
isRefetching: boolean;
|
|
36187
35531
|
isStale: boolean;
|
|
36188
35532
|
isEnabled: boolean;
|
|
36189
|
-
refetch: (options?:
|
|
35533
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
36190
35534
|
spendingApproval: bigint;
|
|
36191
35535
|
operatorAddr: string;
|
|
36192
35536
|
__typename: "UserMarketOperator";
|
|
@@ -36200,7 +35544,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36200
35544
|
address: string;
|
|
36201
35545
|
} | null;
|
|
36202
35546
|
}[] | undefined, Error>>;
|
|
36203
|
-
fetchStatus:
|
|
35547
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36204
35548
|
promise: Promise<{
|
|
36205
35549
|
spendingApproval: bigint;
|
|
36206
35550
|
operatorAddr: string;
|
|
@@ -36338,7 +35682,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36338
35682
|
isRefetching: boolean;
|
|
36339
35683
|
isStale: boolean;
|
|
36340
35684
|
isEnabled: boolean;
|
|
36341
|
-
refetch: (options?:
|
|
35685
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
36342
35686
|
tickLower: number;
|
|
36343
35687
|
tickUpper: number;
|
|
36344
35688
|
prevTickLower: number;
|
|
@@ -36349,7 +35693,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36349
35693
|
borrowedAmount0: bigint;
|
|
36350
35694
|
borrowedAmount1: bigint;
|
|
36351
35695
|
}[], viem0.ReadContractErrorType>>;
|
|
36352
|
-
fetchStatus:
|
|
35696
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36353
35697
|
promise: Promise<readonly {
|
|
36354
35698
|
tickLower: number;
|
|
36355
35699
|
tickUpper: number;
|
|
@@ -36361,7 +35705,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36361
35705
|
borrowedAmount0: bigint;
|
|
36362
35706
|
borrowedAmount1: bigint;
|
|
36363
35707
|
}[]>;
|
|
36364
|
-
queryKey:
|
|
35708
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
36365
35709
|
data: readonly {
|
|
36366
35710
|
tickLower: number;
|
|
36367
35711
|
tickUpper: number;
|
|
@@ -36396,7 +35740,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36396
35740
|
isRefetching: boolean;
|
|
36397
35741
|
isStale: boolean;
|
|
36398
35742
|
isEnabled: boolean;
|
|
36399
|
-
refetch: (options?:
|
|
35743
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
36400
35744
|
tickLower: number;
|
|
36401
35745
|
tickUpper: number;
|
|
36402
35746
|
prevTickLower: number;
|
|
@@ -36407,7 +35751,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36407
35751
|
borrowedAmount0: bigint;
|
|
36408
35752
|
borrowedAmount1: bigint;
|
|
36409
35753
|
}[], viem0.ReadContractErrorType>>;
|
|
36410
|
-
fetchStatus:
|
|
35754
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36411
35755
|
promise: Promise<readonly {
|
|
36412
35756
|
tickLower: number;
|
|
36413
35757
|
tickUpper: number;
|
|
@@ -36419,7 +35763,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36419
35763
|
borrowedAmount0: bigint;
|
|
36420
35764
|
borrowedAmount1: bigint;
|
|
36421
35765
|
}[]>;
|
|
36422
|
-
queryKey:
|
|
35766
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
36423
35767
|
data: readonly {
|
|
36424
35768
|
tickLower: number;
|
|
36425
35769
|
tickUpper: number;
|
|
@@ -36454,7 +35798,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36454
35798
|
isRefetching: boolean;
|
|
36455
35799
|
isStale: boolean;
|
|
36456
35800
|
isEnabled: boolean;
|
|
36457
|
-
refetch: (options?:
|
|
35801
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
36458
35802
|
tickLower: number;
|
|
36459
35803
|
tickUpper: number;
|
|
36460
35804
|
prevTickLower: number;
|
|
@@ -36465,7 +35809,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36465
35809
|
borrowedAmount0: bigint;
|
|
36466
35810
|
borrowedAmount1: bigint;
|
|
36467
35811
|
}[], viem0.ReadContractErrorType>>;
|
|
36468
|
-
fetchStatus:
|
|
35812
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36469
35813
|
promise: Promise<readonly {
|
|
36470
35814
|
tickLower: number;
|
|
36471
35815
|
tickUpper: number;
|
|
@@ -36477,7 +35821,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36477
35821
|
borrowedAmount0: bigint;
|
|
36478
35822
|
borrowedAmount1: bigint;
|
|
36479
35823
|
}[]>;
|
|
36480
|
-
queryKey:
|
|
35824
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
36481
35825
|
data: readonly {
|
|
36482
35826
|
tickLower: number;
|
|
36483
35827
|
tickUpper: number;
|
|
@@ -36512,7 +35856,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36512
35856
|
isRefetching: boolean;
|
|
36513
35857
|
isStale: boolean;
|
|
36514
35858
|
isEnabled: boolean;
|
|
36515
|
-
refetch: (options?:
|
|
35859
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
36516
35860
|
tickLower: number;
|
|
36517
35861
|
tickUpper: number;
|
|
36518
35862
|
prevTickLower: number;
|
|
@@ -36523,7 +35867,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36523
35867
|
borrowedAmount0: bigint;
|
|
36524
35868
|
borrowedAmount1: bigint;
|
|
36525
35869
|
}[], viem0.ReadContractErrorType>>;
|
|
36526
|
-
fetchStatus:
|
|
35870
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36527
35871
|
promise: Promise<readonly {
|
|
36528
35872
|
tickLower: number;
|
|
36529
35873
|
tickUpper: number;
|
|
@@ -36535,7 +35879,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36535
35879
|
borrowedAmount0: bigint;
|
|
36536
35880
|
borrowedAmount1: bigint;
|
|
36537
35881
|
}[]>;
|
|
36538
|
-
queryKey:
|
|
35882
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
36539
35883
|
data: readonly {
|
|
36540
35884
|
tickLower: number;
|
|
36541
35885
|
tickUpper: number;
|
|
@@ -36570,7 +35914,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36570
35914
|
isRefetching: boolean;
|
|
36571
35915
|
isStale: boolean;
|
|
36572
35916
|
isEnabled: boolean;
|
|
36573
|
-
refetch: (options?:
|
|
35917
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
36574
35918
|
tickLower: number;
|
|
36575
35919
|
tickUpper: number;
|
|
36576
35920
|
prevTickLower: number;
|
|
@@ -36581,7 +35925,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36581
35925
|
borrowedAmount0: bigint;
|
|
36582
35926
|
borrowedAmount1: bigint;
|
|
36583
35927
|
}[], viem0.ReadContractErrorType>>;
|
|
36584
|
-
fetchStatus:
|
|
35928
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36585
35929
|
promise: Promise<readonly {
|
|
36586
35930
|
tickLower: number;
|
|
36587
35931
|
tickUpper: number;
|
|
@@ -36593,7 +35937,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36593
35937
|
borrowedAmount0: bigint;
|
|
36594
35938
|
borrowedAmount1: bigint;
|
|
36595
35939
|
}[]>;
|
|
36596
|
-
queryKey:
|
|
35940
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
36597
35941
|
data: readonly {
|
|
36598
35942
|
tickLower: number;
|
|
36599
35943
|
tickUpper: number;
|
|
@@ -36628,7 +35972,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36628
35972
|
isRefetching: boolean;
|
|
36629
35973
|
isStale: boolean;
|
|
36630
35974
|
isEnabled: boolean;
|
|
36631
|
-
refetch: (options?:
|
|
35975
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
36632
35976
|
tickLower: number;
|
|
36633
35977
|
tickUpper: number;
|
|
36634
35978
|
prevTickLower: number;
|
|
@@ -36639,7 +35983,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36639
35983
|
borrowedAmount0: bigint;
|
|
36640
35984
|
borrowedAmount1: bigint;
|
|
36641
35985
|
}[], viem0.ReadContractErrorType>>;
|
|
36642
|
-
fetchStatus:
|
|
35986
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36643
35987
|
promise: Promise<readonly {
|
|
36644
35988
|
tickLower: number;
|
|
36645
35989
|
tickUpper: number;
|
|
@@ -36651,7 +35995,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36651
35995
|
borrowedAmount0: bigint;
|
|
36652
35996
|
borrowedAmount1: bigint;
|
|
36653
35997
|
}[]>;
|
|
36654
|
-
queryKey:
|
|
35998
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
36655
35999
|
data: readonly {
|
|
36656
36000
|
tickLower: number;
|
|
36657
36001
|
tickUpper: number;
|
|
@@ -36702,7 +36046,7 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
36702
36046
|
borrowedAmount0: Amount;
|
|
36703
36047
|
borrowedAmount1: Amount;
|
|
36704
36048
|
blocksCount: bigint;
|
|
36705
|
-
refetch: (options?:
|
|
36049
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem0.ReadContractErrorType>>;
|
|
36706
36050
|
};
|
|
36707
36051
|
//#endregion
|
|
36708
36052
|
//#region src/hooks/useLens.d.ts
|
|
@@ -62578,4 +61922,4 @@ declare const useApproval: () => {
|
|
|
62578
61922
|
};
|
|
62579
61923
|
//#endregion
|
|
62580
61924
|
export { scaleAmount as $, PriceDataPoint as A, OptionTimelineData as B, liquiditiesToAmount1 as C, getUniswapMathLens as Ct, token0ToToken1 as D, roundTickUp as E, useUserOperators as F, useMintOption as G, useExtendOption as H, useOperatorPerms as I, EMPTY_ARRAY as J, useMaxPositionSize as K, usePerpsOperator as L, getCurrentPrice as M, getPriceHistory as N, token1ToToken0 as O, useSetOperatorPerms as P, formatVagueAmount as Q, useClosePerp as R, liquiditiesToAmount0 as S, getTimelockMarket as St, roundTickDown as T, uniswapMathLenses as Tt, useOptionPremium as U, useOptionTimeline as V, useOptionPnl as W, formatCondensed as X, formatAmount as Y, formatUSD as Z, PRICE_PRECISION as _, TimelockMarket as _t, batchGetAmountsFromLiquidity as a, wrapPrice as at, getPriceAtTick as b, getErc20 as bt, useLiquidityBlocks as c, useMarketData as ct, usePriceAtTick as d, useActiveUserOptions as dt, scalePrice as et, UniswapPoolData as f, useClosedUserOptions as ft, getPayoutAtTick as g, TimelockLens as gt, useCurrentPrice as h, useTimelockConfig as ht, useVaultData as i, wrapAmountUnscaled as it, PriceResolution as j, PriceData as k, useBurnLiquidity as l, useExerciseOption as lt, useCurrentTick as m, useCurrentMarket as mt, useLens as n, unscalePrice as nt, useMintLiquidity as o, wrapPriceUnscaled as ot, usePoolData as p, TimelockProvider as pt, Amount as q, useVaultTVL as r, wrapAmount as rt, LiquidityBlockData as s, zero as st, useApproval as t, unscaleAmount as tt, usePriceHistory as u, OptionData as ut, getAmountsFromLiquidity as v, TimelockMarketData as vt, liquiditiesToAmounts as w, timelockLenses as wt, getTickAtPrice as x, getTimelockLens as xt, getNearestValidStrikeTick as y, UniswapMathLens as yt, useMintPerp as z };
|
|
62581
|
-
//# sourceMappingURL=client-
|
|
61925
|
+
//# sourceMappingURL=client-CZVKXvrJ.d.ts.map
|