timelock-sdk 0.0.245 → 0.0.247
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.cjs +2 -2
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +499 -499
- package/dist/client.d.ts +478 -478
- package/dist/client.js +4 -4
- package/dist/client.js.map +1 -1
- package/dist/{index-M4O1ki8k.d.cts → index-D4EmMTld.d.cts} +475 -475
- package/dist/{index-30QEgiSM.d.ts → index-Dn37-mKt.d.ts} +475 -475
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
package/dist/client.d.cts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { F as Amount, M as OptionData, N as useActiveUserOptions, P as useClosedUserOptions, X as getStateView, Y as getQuoter, Z as getTimelockLens, _ as PoolKey, f as PriceDataPoint, p as PriceResolution, q as TimelockMarketData } from "./index-
|
|
1
|
+
import { F as Amount, M as OptionData, N as useActiveUserOptions, P as useClosedUserOptions, X as getStateView, Y as getQuoter, Z as getTimelockLens, _ as PoolKey, f as PriceDataPoint, p as PriceResolution, q as TimelockMarketData } from "./index-D4EmMTld.cjs";
|
|
2
2
|
import * as viem459 from "viem";
|
|
3
3
|
import { Address, Hex } from "viem";
|
|
4
4
|
import React, { ReactNode } from "react";
|
|
5
5
|
import "graphql";
|
|
6
6
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
7
|
-
import * as
|
|
7
|
+
import * as _wagmi_core4 from "@wagmi/core";
|
|
8
8
|
import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
9
|
-
import * as
|
|
9
|
+
import * as _tanstack_react_query2 from "@tanstack/react-query";
|
|
10
10
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
11
|
-
import * as
|
|
11
|
+
import * as wagmi29 from "wagmi";
|
|
12
12
|
import * as wagmi_query0 from "wagmi/query";
|
|
13
13
|
import * as abitype0 from "abitype";
|
|
14
14
|
|
|
@@ -554,7 +554,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
554
554
|
optionAssetName: string;
|
|
555
555
|
payoutAssetName: string;
|
|
556
556
|
}[] | undefined;
|
|
557
|
-
error:
|
|
557
|
+
error: _wagmi_core4.ReadContractsErrorType;
|
|
558
558
|
isError: true;
|
|
559
559
|
isPending: false;
|
|
560
560
|
isLoading: false;
|
|
@@ -566,7 +566,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
566
566
|
dataUpdatedAt: number;
|
|
567
567
|
errorUpdatedAt: number;
|
|
568
568
|
failureCount: number;
|
|
569
|
-
failureReason:
|
|
569
|
+
failureReason: _wagmi_core4.ReadContractsErrorType | null;
|
|
570
570
|
errorUpdateCount: number;
|
|
571
571
|
isFetched: boolean;
|
|
572
572
|
isFetchedAfterMount: boolean;
|
|
@@ -605,7 +605,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
605
605
|
error: Error;
|
|
606
606
|
result?: undefined;
|
|
607
607
|
status: "failure";
|
|
608
|
-
})[],
|
|
608
|
+
})[], _wagmi_core4.ReadContractsErrorType>>;
|
|
609
609
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
610
610
|
promise: Promise<({
|
|
611
611
|
error?: undefined;
|
|
@@ -673,7 +673,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
673
673
|
dataUpdatedAt: number;
|
|
674
674
|
errorUpdatedAt: number;
|
|
675
675
|
failureCount: number;
|
|
676
|
-
failureReason:
|
|
676
|
+
failureReason: _wagmi_core4.ReadContractsErrorType | null;
|
|
677
677
|
errorUpdateCount: number;
|
|
678
678
|
isFetched: boolean;
|
|
679
679
|
isFetchedAfterMount: boolean;
|
|
@@ -712,7 +712,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
712
712
|
error: Error;
|
|
713
713
|
result?: undefined;
|
|
714
714
|
status: "failure";
|
|
715
|
-
})[],
|
|
715
|
+
})[], _wagmi_core4.ReadContractsErrorType>>;
|
|
716
716
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
717
717
|
promise: Promise<({
|
|
718
718
|
error?: undefined;
|
|
@@ -768,7 +768,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
768
768
|
optionAssetName: string;
|
|
769
769
|
payoutAssetName: string;
|
|
770
770
|
}[] | undefined;
|
|
771
|
-
error:
|
|
771
|
+
error: _wagmi_core4.ReadContractsErrorType;
|
|
772
772
|
isError: true;
|
|
773
773
|
isPending: false;
|
|
774
774
|
isLoading: false;
|
|
@@ -780,7 +780,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
780
780
|
dataUpdatedAt: number;
|
|
781
781
|
errorUpdatedAt: number;
|
|
782
782
|
failureCount: number;
|
|
783
|
-
failureReason:
|
|
783
|
+
failureReason: _wagmi_core4.ReadContractsErrorType | null;
|
|
784
784
|
errorUpdateCount: number;
|
|
785
785
|
isFetched: boolean;
|
|
786
786
|
isFetchedAfterMount: boolean;
|
|
@@ -819,7 +819,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
819
819
|
error: Error;
|
|
820
820
|
result?: undefined;
|
|
821
821
|
status: "failure";
|
|
822
|
-
})[],
|
|
822
|
+
})[], _wagmi_core4.ReadContractsErrorType>>;
|
|
823
823
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
824
824
|
promise: Promise<({
|
|
825
825
|
error?: undefined;
|
|
@@ -887,7 +887,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
887
887
|
dataUpdatedAt: number;
|
|
888
888
|
errorUpdatedAt: number;
|
|
889
889
|
failureCount: number;
|
|
890
|
-
failureReason:
|
|
890
|
+
failureReason: _wagmi_core4.ReadContractsErrorType | null;
|
|
891
891
|
errorUpdateCount: number;
|
|
892
892
|
isFetched: boolean;
|
|
893
893
|
isFetchedAfterMount: boolean;
|
|
@@ -926,7 +926,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
926
926
|
error: Error;
|
|
927
927
|
result?: undefined;
|
|
928
928
|
status: "failure";
|
|
929
|
-
})[],
|
|
929
|
+
})[], _wagmi_core4.ReadContractsErrorType>>;
|
|
930
930
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
931
931
|
promise: Promise<({
|
|
932
932
|
error?: undefined;
|
|
@@ -993,7 +993,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
993
993
|
dataUpdatedAt: number;
|
|
994
994
|
errorUpdatedAt: number;
|
|
995
995
|
failureCount: number;
|
|
996
|
-
failureReason:
|
|
996
|
+
failureReason: _wagmi_core4.ReadContractsErrorType | null;
|
|
997
997
|
errorUpdateCount: number;
|
|
998
998
|
isFetched: boolean;
|
|
999
999
|
isFetchedAfterMount: boolean;
|
|
@@ -1033,7 +1033,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
1033
1033
|
error: Error;
|
|
1034
1034
|
result?: undefined;
|
|
1035
1035
|
status: "failure";
|
|
1036
|
-
})[],
|
|
1036
|
+
})[], _wagmi_core4.ReadContractsErrorType>>;
|
|
1037
1037
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1038
1038
|
promise: Promise<({
|
|
1039
1039
|
error?: undefined;
|
|
@@ -1101,7 +1101,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
1101
1101
|
dataUpdatedAt: number;
|
|
1102
1102
|
errorUpdatedAt: number;
|
|
1103
1103
|
failureCount: number;
|
|
1104
|
-
failureReason:
|
|
1104
|
+
failureReason: _wagmi_core4.ReadContractsErrorType | null;
|
|
1105
1105
|
errorUpdateCount: number;
|
|
1106
1106
|
isFetched: boolean;
|
|
1107
1107
|
isFetchedAfterMount: boolean;
|
|
@@ -1140,7 +1140,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
1140
1140
|
error: Error;
|
|
1141
1141
|
result?: undefined;
|
|
1142
1142
|
status: "failure";
|
|
1143
|
-
})[],
|
|
1143
|
+
})[], _wagmi_core4.ReadContractsErrorType>>;
|
|
1144
1144
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
1145
1145
|
promise: Promise<({
|
|
1146
1146
|
error?: undefined;
|
|
@@ -1176,7 +1176,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
1176
1176
|
};
|
|
1177
1177
|
//#endregion
|
|
1178
1178
|
//#region src/hooks/market/useMarketState.d.ts
|
|
1179
|
-
declare const useMarketState: (marketAddr: Address | undefined) =>
|
|
1179
|
+
declare const useMarketState: (marketAddr: Address | undefined) => wagmi29.UseReadContractReturnType<readonly [{
|
|
1180
1180
|
readonly type: "function";
|
|
1181
1181
|
readonly name: "batchGetRefTick";
|
|
1182
1182
|
readonly inputs: readonly [{
|
|
@@ -2171,7 +2171,7 @@ declare const useMarketState: (marketAddr: Address | undefined) => wagmi0.UseRea
|
|
|
2171
2171
|
}>;
|
|
2172
2172
|
//#endregion
|
|
2173
2173
|
//#region src/hooks/market/useMarketVolume.d.ts
|
|
2174
|
-
declare const useMarketVolume: (marketAddr: Address | undefined) =>
|
|
2174
|
+
declare const useMarketVolume: (marketAddr: Address | undefined) => _tanstack_react_query2.UseQueryResult<{
|
|
2175
2175
|
address: Address;
|
|
2176
2176
|
totalVolume: bigint;
|
|
2177
2177
|
totalPremium: bigint;
|
|
@@ -2184,7 +2184,7 @@ declare const useMarketVolume: (marketAddr: Address | undefined) => _tanstack_re
|
|
|
2184
2184
|
}, Error>;
|
|
2185
2185
|
//#endregion
|
|
2186
2186
|
//#region src/hooks/market/useMarketUserVolume.d.ts
|
|
2187
|
-
declare const useMarketUserVolume: (marketAddr: Address | undefined, userAddr?: Address | undefined) =>
|
|
2187
|
+
declare const useMarketUserVolume: (marketAddr: Address | undefined, userAddr?: Address | undefined) => _tanstack_react_query2.UseQueryResult<{
|
|
2188
2188
|
address: Address;
|
|
2189
2189
|
totalVolume: bigint;
|
|
2190
2190
|
totalPremium: bigint;
|
|
@@ -2197,20 +2197,20 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2197
2197
|
error: null;
|
|
2198
2198
|
data: undefined;
|
|
2199
2199
|
status: "idle";
|
|
2200
|
-
variables: undefined;
|
|
2201
2200
|
isError: false;
|
|
2202
|
-
isIdle: true;
|
|
2203
2201
|
isPending: false;
|
|
2204
2202
|
isSuccess: false;
|
|
2205
|
-
reset: () => void;
|
|
2206
|
-
context: unknown;
|
|
2207
2203
|
failureCount: number;
|
|
2208
|
-
failureReason:
|
|
2204
|
+
failureReason: _wagmi_core4.WriteContractErrorType | null;
|
|
2209
2205
|
isPaused: boolean;
|
|
2206
|
+
variables: undefined;
|
|
2207
|
+
isIdle: true;
|
|
2208
|
+
reset: () => void;
|
|
2209
|
+
context: unknown;
|
|
2210
2210
|
submittedAt: number;
|
|
2211
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
2212
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
2213
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
2211
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
2212
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
2213
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi29.Config, unknown>;
|
|
2214
2214
|
updateBounds: ({
|
|
2215
2215
|
minDuration: newMinDuration,
|
|
2216
2216
|
maxDuration: newMaxDuration,
|
|
@@ -2226,6 +2226,12 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2226
2226
|
error: null;
|
|
2227
2227
|
data: undefined;
|
|
2228
2228
|
status: "pending";
|
|
2229
|
+
isError: false;
|
|
2230
|
+
isPending: true;
|
|
2231
|
+
isSuccess: false;
|
|
2232
|
+
failureCount: number;
|
|
2233
|
+
failureReason: _wagmi_core4.WriteContractErrorType | null;
|
|
2234
|
+
isPaused: boolean;
|
|
2229
2235
|
variables: {
|
|
2230
2236
|
abi: abitype0.Abi;
|
|
2231
2237
|
functionName: string;
|
|
@@ -2249,7 +2255,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2249
2255
|
sidecars?: undefined;
|
|
2250
2256
|
authorizationList?: undefined;
|
|
2251
2257
|
chainId?: number | undefined;
|
|
2252
|
-
connector?:
|
|
2258
|
+
connector?: wagmi29.Connector | undefined;
|
|
2253
2259
|
} | {
|
|
2254
2260
|
abi: abitype0.Abi;
|
|
2255
2261
|
functionName: string;
|
|
@@ -2273,7 +2279,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2273
2279
|
sidecars?: undefined;
|
|
2274
2280
|
authorizationList?: undefined;
|
|
2275
2281
|
chainId?: number | undefined;
|
|
2276
|
-
connector?:
|
|
2282
|
+
connector?: wagmi29.Connector | undefined;
|
|
2277
2283
|
} | {
|
|
2278
2284
|
abi: abitype0.Abi;
|
|
2279
2285
|
functionName: string;
|
|
@@ -2297,7 +2303,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2297
2303
|
sidecars?: undefined;
|
|
2298
2304
|
authorizationList?: undefined;
|
|
2299
2305
|
chainId?: number | undefined;
|
|
2300
|
-
connector?:
|
|
2306
|
+
connector?: wagmi29.Connector | undefined;
|
|
2301
2307
|
} | {
|
|
2302
2308
|
abi: abitype0.Abi;
|
|
2303
2309
|
functionName: string;
|
|
@@ -2321,7 +2327,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2321
2327
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
2322
2328
|
authorizationList?: undefined;
|
|
2323
2329
|
chainId?: number | undefined;
|
|
2324
|
-
connector?:
|
|
2330
|
+
connector?: wagmi29.Connector | undefined;
|
|
2325
2331
|
} | {
|
|
2326
2332
|
abi: abitype0.Abi;
|
|
2327
2333
|
functionName: string;
|
|
@@ -2345,7 +2351,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2345
2351
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
2346
2352
|
authorizationList?: undefined;
|
|
2347
2353
|
chainId?: number | undefined;
|
|
2348
|
-
connector?:
|
|
2354
|
+
connector?: wagmi29.Connector | undefined;
|
|
2349
2355
|
} | {
|
|
2350
2356
|
abi: abitype0.Abi;
|
|
2351
2357
|
functionName: string;
|
|
@@ -2369,21 +2375,15 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2369
2375
|
sidecars?: undefined;
|
|
2370
2376
|
authorizationList?: viem459.AuthorizationList<number, boolean> | undefined;
|
|
2371
2377
|
chainId?: number | undefined;
|
|
2372
|
-
connector?:
|
|
2378
|
+
connector?: wagmi29.Connector | undefined;
|
|
2373
2379
|
};
|
|
2374
|
-
isError: false;
|
|
2375
2380
|
isIdle: false;
|
|
2376
|
-
isPending: true;
|
|
2377
|
-
isSuccess: false;
|
|
2378
2381
|
reset: () => void;
|
|
2379
2382
|
context: unknown;
|
|
2380
|
-
failureCount: number;
|
|
2381
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
2382
|
-
isPaused: boolean;
|
|
2383
2383
|
submittedAt: number;
|
|
2384
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
2385
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
2386
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
2384
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
2385
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
2386
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi29.Config, unknown>;
|
|
2387
2387
|
updateBounds: ({
|
|
2388
2388
|
minDuration: newMinDuration,
|
|
2389
2389
|
maxDuration: newMaxDuration,
|
|
@@ -2396,9 +2396,15 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2396
2396
|
maxPositionSize?: bigint;
|
|
2397
2397
|
}) => Promise<`0x${string}`>;
|
|
2398
2398
|
} | {
|
|
2399
|
-
error:
|
|
2399
|
+
error: _wagmi_core4.WriteContractErrorType;
|
|
2400
2400
|
data: undefined;
|
|
2401
2401
|
status: "error";
|
|
2402
|
+
isError: true;
|
|
2403
|
+
isPending: false;
|
|
2404
|
+
isSuccess: false;
|
|
2405
|
+
failureCount: number;
|
|
2406
|
+
failureReason: _wagmi_core4.WriteContractErrorType | null;
|
|
2407
|
+
isPaused: boolean;
|
|
2402
2408
|
variables: {
|
|
2403
2409
|
abi: abitype0.Abi;
|
|
2404
2410
|
functionName: string;
|
|
@@ -2422,7 +2428,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2422
2428
|
sidecars?: undefined;
|
|
2423
2429
|
authorizationList?: undefined;
|
|
2424
2430
|
chainId?: number | undefined;
|
|
2425
|
-
connector?:
|
|
2431
|
+
connector?: wagmi29.Connector | undefined;
|
|
2426
2432
|
} | {
|
|
2427
2433
|
abi: abitype0.Abi;
|
|
2428
2434
|
functionName: string;
|
|
@@ -2446,7 +2452,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2446
2452
|
sidecars?: undefined;
|
|
2447
2453
|
authorizationList?: undefined;
|
|
2448
2454
|
chainId?: number | undefined;
|
|
2449
|
-
connector?:
|
|
2455
|
+
connector?: wagmi29.Connector | undefined;
|
|
2450
2456
|
} | {
|
|
2451
2457
|
abi: abitype0.Abi;
|
|
2452
2458
|
functionName: string;
|
|
@@ -2470,7 +2476,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2470
2476
|
sidecars?: undefined;
|
|
2471
2477
|
authorizationList?: undefined;
|
|
2472
2478
|
chainId?: number | undefined;
|
|
2473
|
-
connector?:
|
|
2479
|
+
connector?: wagmi29.Connector | undefined;
|
|
2474
2480
|
} | {
|
|
2475
2481
|
abi: abitype0.Abi;
|
|
2476
2482
|
functionName: string;
|
|
@@ -2494,7 +2500,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2494
2500
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
2495
2501
|
authorizationList?: undefined;
|
|
2496
2502
|
chainId?: number | undefined;
|
|
2497
|
-
connector?:
|
|
2503
|
+
connector?: wagmi29.Connector | undefined;
|
|
2498
2504
|
} | {
|
|
2499
2505
|
abi: abitype0.Abi;
|
|
2500
2506
|
functionName: string;
|
|
@@ -2518,7 +2524,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2518
2524
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
2519
2525
|
authorizationList?: undefined;
|
|
2520
2526
|
chainId?: number | undefined;
|
|
2521
|
-
connector?:
|
|
2527
|
+
connector?: wagmi29.Connector | undefined;
|
|
2522
2528
|
} | {
|
|
2523
2529
|
abi: abitype0.Abi;
|
|
2524
2530
|
functionName: string;
|
|
@@ -2542,21 +2548,15 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2542
2548
|
sidecars?: undefined;
|
|
2543
2549
|
authorizationList?: viem459.AuthorizationList<number, boolean> | undefined;
|
|
2544
2550
|
chainId?: number | undefined;
|
|
2545
|
-
connector?:
|
|
2551
|
+
connector?: wagmi29.Connector | undefined;
|
|
2546
2552
|
};
|
|
2547
|
-
isError: true;
|
|
2548
2553
|
isIdle: false;
|
|
2549
|
-
isPending: false;
|
|
2550
|
-
isSuccess: false;
|
|
2551
2554
|
reset: () => void;
|
|
2552
2555
|
context: unknown;
|
|
2553
|
-
failureCount: number;
|
|
2554
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
2555
|
-
isPaused: boolean;
|
|
2556
2556
|
submittedAt: number;
|
|
2557
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
2558
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
2559
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
2557
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
2558
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
2559
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi29.Config, unknown>;
|
|
2560
2560
|
updateBounds: ({
|
|
2561
2561
|
minDuration: newMinDuration,
|
|
2562
2562
|
maxDuration: newMaxDuration,
|
|
@@ -2572,6 +2572,12 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2572
2572
|
error: null;
|
|
2573
2573
|
data: `0x${string}`;
|
|
2574
2574
|
status: "success";
|
|
2575
|
+
isError: false;
|
|
2576
|
+
isPending: false;
|
|
2577
|
+
isSuccess: true;
|
|
2578
|
+
failureCount: number;
|
|
2579
|
+
failureReason: _wagmi_core4.WriteContractErrorType | null;
|
|
2580
|
+
isPaused: boolean;
|
|
2575
2581
|
variables: {
|
|
2576
2582
|
abi: abitype0.Abi;
|
|
2577
2583
|
functionName: string;
|
|
@@ -2595,7 +2601,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2595
2601
|
sidecars?: undefined;
|
|
2596
2602
|
authorizationList?: undefined;
|
|
2597
2603
|
chainId?: number | undefined;
|
|
2598
|
-
connector?:
|
|
2604
|
+
connector?: wagmi29.Connector | undefined;
|
|
2599
2605
|
} | {
|
|
2600
2606
|
abi: abitype0.Abi;
|
|
2601
2607
|
functionName: string;
|
|
@@ -2619,7 +2625,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2619
2625
|
sidecars?: undefined;
|
|
2620
2626
|
authorizationList?: undefined;
|
|
2621
2627
|
chainId?: number | undefined;
|
|
2622
|
-
connector?:
|
|
2628
|
+
connector?: wagmi29.Connector | undefined;
|
|
2623
2629
|
} | {
|
|
2624
2630
|
abi: abitype0.Abi;
|
|
2625
2631
|
functionName: string;
|
|
@@ -2643,7 +2649,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2643
2649
|
sidecars?: undefined;
|
|
2644
2650
|
authorizationList?: undefined;
|
|
2645
2651
|
chainId?: number | undefined;
|
|
2646
|
-
connector?:
|
|
2652
|
+
connector?: wagmi29.Connector | undefined;
|
|
2647
2653
|
} | {
|
|
2648
2654
|
abi: abitype0.Abi;
|
|
2649
2655
|
functionName: string;
|
|
@@ -2667,7 +2673,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2667
2673
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
2668
2674
|
authorizationList?: undefined;
|
|
2669
2675
|
chainId?: number | undefined;
|
|
2670
|
-
connector?:
|
|
2676
|
+
connector?: wagmi29.Connector | undefined;
|
|
2671
2677
|
} | {
|
|
2672
2678
|
abi: abitype0.Abi;
|
|
2673
2679
|
functionName: string;
|
|
@@ -2691,7 +2697,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2691
2697
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
2692
2698
|
authorizationList?: undefined;
|
|
2693
2699
|
chainId?: number | undefined;
|
|
2694
|
-
connector?:
|
|
2700
|
+
connector?: wagmi29.Connector | undefined;
|
|
2695
2701
|
} | {
|
|
2696
2702
|
abi: abitype0.Abi;
|
|
2697
2703
|
functionName: string;
|
|
@@ -2715,21 +2721,15 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2715
2721
|
sidecars?: undefined;
|
|
2716
2722
|
authorizationList?: viem459.AuthorizationList<number, boolean> | undefined;
|
|
2717
2723
|
chainId?: number | undefined;
|
|
2718
|
-
connector?:
|
|
2724
|
+
connector?: wagmi29.Connector | undefined;
|
|
2719
2725
|
};
|
|
2720
|
-
isError: false;
|
|
2721
2726
|
isIdle: false;
|
|
2722
|
-
isPending: false;
|
|
2723
|
-
isSuccess: true;
|
|
2724
2727
|
reset: () => void;
|
|
2725
2728
|
context: unknown;
|
|
2726
|
-
failureCount: number;
|
|
2727
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
2728
|
-
isPaused: boolean;
|
|
2729
2729
|
submittedAt: number;
|
|
2730
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
2731
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
2732
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
2730
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
2731
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
2732
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi29.Config, unknown>;
|
|
2733
2733
|
updateBounds: ({
|
|
2734
2734
|
minDuration: newMinDuration,
|
|
2735
2735
|
maxDuration: newMaxDuration,
|
|
@@ -2744,7 +2744,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2744
2744
|
};
|
|
2745
2745
|
//#endregion
|
|
2746
2746
|
//#region src/hooks/market/useMarketDailyVolume.d.ts
|
|
2747
|
-
declare const useMarketDailyVolume: (marketAddr: Address | undefined) =>
|
|
2747
|
+
declare const useMarketDailyVolume: (marketAddr: Address | undefined) => _tanstack_react_query2.UseQueryResult<{
|
|
2748
2748
|
id: string;
|
|
2749
2749
|
date: bigint;
|
|
2750
2750
|
totalVolume: bigint;
|
|
@@ -2931,7 +2931,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
2931
2931
|
};
|
|
2932
2932
|
//#endregion
|
|
2933
2933
|
//#region src/hooks/options/useMintOption.d.ts
|
|
2934
|
-
declare const useMintOption: (marketAddr: Address | undefined) =>
|
|
2934
|
+
declare const useMintOption: (marketAddr: Address | undefined) => _tanstack_react_query2.UseMutationResult<`0x${string}`, Error, {
|
|
2935
2935
|
optionType: "CALL" | "PUT";
|
|
2936
2936
|
amount: bigint;
|
|
2937
2937
|
duration: number;
|
|
@@ -2940,7 +2940,7 @@ declare const useMintOption: (marketAddr: Address | undefined) => _tanstack_reac
|
|
|
2940
2940
|
}, unknown>;
|
|
2941
2941
|
//#endregion
|
|
2942
2942
|
//#region src/hooks/options/useExerciseOption.d.ts
|
|
2943
|
-
declare const useExerciseOption: (marketAddr: Address | undefined) =>
|
|
2943
|
+
declare const useExerciseOption: (marketAddr: Address | undefined) => _tanstack_react_query2.UseMutationResult<`0x${string}`, Error, {
|
|
2944
2944
|
option: OptionData;
|
|
2945
2945
|
liquidities: readonly bigint[];
|
|
2946
2946
|
}, unknown>;
|
|
@@ -2951,7 +2951,7 @@ declare const useOptionPnl: (option?: OptionData) => {
|
|
|
2951
2951
|
displayPnl: Amount | undefined;
|
|
2952
2952
|
unrealizedPayout: Amount | undefined;
|
|
2953
2953
|
};
|
|
2954
|
-
error:
|
|
2954
|
+
error: _wagmi_core4.SimulateContractErrorType;
|
|
2955
2955
|
isError: true;
|
|
2956
2956
|
isPending: false;
|
|
2957
2957
|
isLoading: false;
|
|
@@ -2963,7 +2963,7 @@ declare const useOptionPnl: (option?: OptionData) => {
|
|
|
2963
2963
|
dataUpdatedAt: number;
|
|
2964
2964
|
errorUpdatedAt: number;
|
|
2965
2965
|
failureCount: number;
|
|
2966
|
-
failureReason:
|
|
2966
|
+
failureReason: _wagmi_core4.SimulateContractErrorType | null;
|
|
2967
2967
|
errorUpdateCount: number;
|
|
2968
2968
|
isFetched: boolean;
|
|
2969
2969
|
isFetchedAfterMount: boolean;
|
|
@@ -2973,7 +2973,7 @@ declare const useOptionPnl: (option?: OptionData) => {
|
|
|
2973
2973
|
isRefetching: boolean;
|
|
2974
2974
|
isStale: boolean;
|
|
2975
2975
|
isEnabled: boolean;
|
|
2976
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<Amount | undefined,
|
|
2976
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<Amount | undefined, _wagmi_core4.SimulateContractErrorType>>;
|
|
2977
2977
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2978
2978
|
promise: Promise<Amount | undefined>;
|
|
2979
2979
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -2994,7 +2994,7 @@ declare const useOptionPnl: (option?: OptionData) => {
|
|
|
2994
2994
|
dataUpdatedAt: number;
|
|
2995
2995
|
errorUpdatedAt: number;
|
|
2996
2996
|
failureCount: number;
|
|
2997
|
-
failureReason:
|
|
2997
|
+
failureReason: _wagmi_core4.SimulateContractErrorType | null;
|
|
2998
2998
|
errorUpdateCount: number;
|
|
2999
2999
|
isFetched: boolean;
|
|
3000
3000
|
isFetchedAfterMount: boolean;
|
|
@@ -3004,7 +3004,7 @@ declare const useOptionPnl: (option?: OptionData) => {
|
|
|
3004
3004
|
isRefetching: boolean;
|
|
3005
3005
|
isStale: boolean;
|
|
3006
3006
|
isEnabled: boolean;
|
|
3007
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<Amount | undefined,
|
|
3007
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<Amount | undefined, _wagmi_core4.SimulateContractErrorType>>;
|
|
3008
3008
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3009
3009
|
promise: Promise<Amount | undefined>;
|
|
3010
3010
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -3013,7 +3013,7 @@ declare const useOptionPnl: (option?: OptionData) => {
|
|
|
3013
3013
|
displayPnl: Amount | undefined;
|
|
3014
3014
|
unrealizedPayout: Amount | undefined;
|
|
3015
3015
|
};
|
|
3016
|
-
error:
|
|
3016
|
+
error: _wagmi_core4.SimulateContractErrorType;
|
|
3017
3017
|
isError: true;
|
|
3018
3018
|
isPending: false;
|
|
3019
3019
|
isLoading: false;
|
|
@@ -3025,7 +3025,7 @@ declare const useOptionPnl: (option?: OptionData) => {
|
|
|
3025
3025
|
dataUpdatedAt: number;
|
|
3026
3026
|
errorUpdatedAt: number;
|
|
3027
3027
|
failureCount: number;
|
|
3028
|
-
failureReason:
|
|
3028
|
+
failureReason: _wagmi_core4.SimulateContractErrorType | null;
|
|
3029
3029
|
errorUpdateCount: number;
|
|
3030
3030
|
isFetched: boolean;
|
|
3031
3031
|
isFetchedAfterMount: boolean;
|
|
@@ -3035,7 +3035,7 @@ declare const useOptionPnl: (option?: OptionData) => {
|
|
|
3035
3035
|
isRefetching: boolean;
|
|
3036
3036
|
isStale: boolean;
|
|
3037
3037
|
isEnabled: boolean;
|
|
3038
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<Amount | undefined,
|
|
3038
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<Amount | undefined, _wagmi_core4.SimulateContractErrorType>>;
|
|
3039
3039
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3040
3040
|
promise: Promise<Amount | undefined>;
|
|
3041
3041
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -3056,7 +3056,7 @@ declare const useOptionPnl: (option?: OptionData) => {
|
|
|
3056
3056
|
dataUpdatedAt: number;
|
|
3057
3057
|
errorUpdatedAt: number;
|
|
3058
3058
|
failureCount: number;
|
|
3059
|
-
failureReason:
|
|
3059
|
+
failureReason: _wagmi_core4.SimulateContractErrorType | null;
|
|
3060
3060
|
errorUpdateCount: number;
|
|
3061
3061
|
isFetched: boolean;
|
|
3062
3062
|
isFetchedAfterMount: boolean;
|
|
@@ -3066,7 +3066,7 @@ declare const useOptionPnl: (option?: OptionData) => {
|
|
|
3066
3066
|
isRefetching: boolean;
|
|
3067
3067
|
isStale: boolean;
|
|
3068
3068
|
isEnabled: boolean;
|
|
3069
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<Amount | undefined,
|
|
3069
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<Amount | undefined, _wagmi_core4.SimulateContractErrorType>>;
|
|
3070
3070
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3071
3071
|
promise: Promise<Amount | undefined>;
|
|
3072
3072
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -3086,7 +3086,7 @@ declare const useOptionPnl: (option?: OptionData) => {
|
|
|
3086
3086
|
dataUpdatedAt: number;
|
|
3087
3087
|
errorUpdatedAt: number;
|
|
3088
3088
|
failureCount: number;
|
|
3089
|
-
failureReason:
|
|
3089
|
+
failureReason: _wagmi_core4.SimulateContractErrorType | null;
|
|
3090
3090
|
errorUpdateCount: number;
|
|
3091
3091
|
isFetched: boolean;
|
|
3092
3092
|
isFetchedAfterMount: boolean;
|
|
@@ -3097,7 +3097,7 @@ declare const useOptionPnl: (option?: OptionData) => {
|
|
|
3097
3097
|
isRefetching: boolean;
|
|
3098
3098
|
isStale: boolean;
|
|
3099
3099
|
isEnabled: boolean;
|
|
3100
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<Amount | undefined,
|
|
3100
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<Amount | undefined, _wagmi_core4.SimulateContractErrorType>>;
|
|
3101
3101
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3102
3102
|
promise: Promise<Amount | undefined>;
|
|
3103
3103
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -3118,7 +3118,7 @@ declare const useOptionPnl: (option?: OptionData) => {
|
|
|
3118
3118
|
dataUpdatedAt: number;
|
|
3119
3119
|
errorUpdatedAt: number;
|
|
3120
3120
|
failureCount: number;
|
|
3121
|
-
failureReason:
|
|
3121
|
+
failureReason: _wagmi_core4.SimulateContractErrorType | null;
|
|
3122
3122
|
errorUpdateCount: number;
|
|
3123
3123
|
isFetched: boolean;
|
|
3124
3124
|
isFetchedAfterMount: boolean;
|
|
@@ -3128,7 +3128,7 @@ declare const useOptionPnl: (option?: OptionData) => {
|
|
|
3128
3128
|
isRefetching: boolean;
|
|
3129
3129
|
isStale: boolean;
|
|
3130
3130
|
isEnabled: boolean;
|
|
3131
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<Amount | undefined,
|
|
3131
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<Amount | undefined, _wagmi_core4.SimulateContractErrorType>>;
|
|
3132
3132
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3133
3133
|
promise: Promise<Amount | undefined>;
|
|
3134
3134
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -3157,7 +3157,7 @@ declare const useExtensionFees: (marketAddr: Address | undefined, optionType: "C
|
|
|
3157
3157
|
};
|
|
3158
3158
|
//#endregion
|
|
3159
3159
|
//#region src/hooks/options/useExtendOption.d.ts
|
|
3160
|
-
declare const useExtendOption: (marketAddr: Address | undefined) =>
|
|
3160
|
+
declare const useExtendOption: (marketAddr: Address | undefined) => _tanstack_react_query2.UseMutationResult<`0x${string}`, Error, {
|
|
3161
3161
|
option: OptionData;
|
|
3162
3162
|
duration: number;
|
|
3163
3163
|
}, unknown>;
|
|
@@ -3173,7 +3173,7 @@ type ExerciseOptionEvent = Extract<OptionEvent, {
|
|
|
3173
3173
|
type ExtendEvent = Extract<OptionEvent, {
|
|
3174
3174
|
type: 'extend';
|
|
3175
3175
|
}>;
|
|
3176
|
-
declare const useOptionTimeline: (marketAddr: Address | undefined, optionId: bigint | undefined) =>
|
|
3176
|
+
declare const useOptionTimeline: (marketAddr: Address | undefined, optionId: bigint | undefined) => _tanstack_react_query2.UseQueryResult<({
|
|
3177
3177
|
type: "mint";
|
|
3178
3178
|
data: {
|
|
3179
3179
|
id: string;
|
|
@@ -3213,7 +3213,7 @@ declare const useOptionTimeline: (marketAddr: Address | undefined, optionId: big
|
|
|
3213
3213
|
})[], Error>;
|
|
3214
3214
|
//#endregion
|
|
3215
3215
|
//#region src/hooks/perps/useMintPerp.d.ts
|
|
3216
|
-
declare const useMintPerp: (marketAddr: Address | undefined) =>
|
|
3216
|
+
declare const useMintPerp: (marketAddr: Address | undefined) => _tanstack_react_query2.UseMutationResult<void, Error, {
|
|
3217
3217
|
optionType: "CALL" | "PUT";
|
|
3218
3218
|
amount: bigint;
|
|
3219
3219
|
duration: number;
|
|
@@ -3221,17 +3221,17 @@ declare const useMintPerp: (marketAddr: Address | undefined) => _tanstack_react_
|
|
|
3221
3221
|
}, unknown>;
|
|
3222
3222
|
//#endregion
|
|
3223
3223
|
//#region src/hooks/perps/useClosePerp.d.ts
|
|
3224
|
-
declare const useClosePerp: () =>
|
|
3224
|
+
declare const useClosePerp: () => _tanstack_react_query2.UseMutationResult<void, Error, ExercisePerpBody, unknown>;
|
|
3225
3225
|
//#endregion
|
|
3226
3226
|
//#region src/hooks/perps/usePerpsOperator.d.ts
|
|
3227
3227
|
declare const usePerpsOperator: () => {
|
|
3228
3228
|
operator: PerpsOperator | undefined;
|
|
3229
3229
|
address: `0x${string}` | undefined;
|
|
3230
|
-
signMessage:
|
|
3230
|
+
signMessage: _tanstack_react_query2.UseMutationResult<void, Error, void, unknown>;
|
|
3231
3231
|
};
|
|
3232
3232
|
//#endregion
|
|
3233
3233
|
//#region src/hooks/perps/useUserPerps.d.ts
|
|
3234
|
-
declare const useUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined, type: "active" | "closed" | undefined) =>
|
|
3234
|
+
declare const useUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined, type: "active" | "closed" | undefined) => _tanstack_react_query2.UseQueryResult<{
|
|
3235
3235
|
optionId: bigint;
|
|
3236
3236
|
id: string;
|
|
3237
3237
|
ownerAddr: Address;
|
|
@@ -3240,7 +3240,7 @@ declare const useUserPerps: (marketAddr: Address | undefined, userAddr: Address
|
|
|
3240
3240
|
expiresAt: number;
|
|
3241
3241
|
closed: boolean;
|
|
3242
3242
|
}[] | undefined, Error>;
|
|
3243
|
-
declare const useActiveUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) =>
|
|
3243
|
+
declare const useActiveUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) => _tanstack_react_query2.UseQueryResult<{
|
|
3244
3244
|
optionId: bigint;
|
|
3245
3245
|
id: string;
|
|
3246
3246
|
ownerAddr: Address;
|
|
@@ -3249,7 +3249,7 @@ declare const useActiveUserPerps: (marketAddr: Address | undefined, userAddr: Ad
|
|
|
3249
3249
|
expiresAt: number;
|
|
3250
3250
|
closed: boolean;
|
|
3251
3251
|
}[] | undefined, Error>;
|
|
3252
|
-
declare const useClosedUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) =>
|
|
3252
|
+
declare const useClosedUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) => _tanstack_react_query2.UseQueryResult<{
|
|
3253
3253
|
optionId: bigint;
|
|
3254
3254
|
id: string;
|
|
3255
3255
|
ownerAddr: Address;
|
|
@@ -3473,7 +3473,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
3473
3473
|
};
|
|
3474
3474
|
//#endregion
|
|
3475
3475
|
//#region src/hooks/operators/useUserOperators.d.ts
|
|
3476
|
-
declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) =>
|
|
3476
|
+
declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => _tanstack_react_query2.UseQueryResult<{
|
|
3477
3477
|
spendingApproval: bigint;
|
|
3478
3478
|
operatorAddr: string;
|
|
3479
3479
|
__typename: "UserMarketOperator";
|
|
@@ -3489,7 +3489,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => _t
|
|
|
3489
3489
|
}[] | undefined, Error>;
|
|
3490
3490
|
//#endregion
|
|
3491
3491
|
//#region src/hooks/operators/useSetOperatorPerms.d.ts
|
|
3492
|
-
declare const useSetOperatorPerms: (marketAddr: Address | undefined) =>
|
|
3492
|
+
declare const useSetOperatorPerms: (marketAddr: Address | undefined) => _tanstack_react_query2.UseMutationResult<`0x${string}`, Error, {
|
|
3493
3493
|
operator: Address;
|
|
3494
3494
|
canExtend: boolean;
|
|
3495
3495
|
canExercise: boolean;
|
|
@@ -3529,7 +3529,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
3529
3529
|
tickSpacing: number;
|
|
3530
3530
|
fee: number;
|
|
3531
3531
|
}[] | undefined;
|
|
3532
|
-
error:
|
|
3532
|
+
error: _wagmi_core4.ReadContractsErrorType;
|
|
3533
3533
|
isError: true;
|
|
3534
3534
|
isPending: false;
|
|
3535
3535
|
isLoading: false;
|
|
@@ -3541,7 +3541,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
3541
3541
|
dataUpdatedAt: number;
|
|
3542
3542
|
errorUpdatedAt: number;
|
|
3543
3543
|
failureCount: number;
|
|
3544
|
-
failureReason:
|
|
3544
|
+
failureReason: _wagmi_core4.ReadContractsErrorType | null;
|
|
3545
3545
|
errorUpdateCount: number;
|
|
3546
3546
|
isFetched: boolean;
|
|
3547
3547
|
isFetchedAfterMount: boolean;
|
|
@@ -3570,7 +3570,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
3570
3570
|
fee: number;
|
|
3571
3571
|
};
|
|
3572
3572
|
status: "success";
|
|
3573
|
-
})[],
|
|
3573
|
+
})[], _wagmi_core4.ReadContractsErrorType>>;
|
|
3574
3574
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3575
3575
|
promise: Promise<({
|
|
3576
3576
|
error: Error;
|
|
@@ -3618,7 +3618,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
3618
3618
|
dataUpdatedAt: number;
|
|
3619
3619
|
errorUpdatedAt: number;
|
|
3620
3620
|
failureCount: number;
|
|
3621
|
-
failureReason:
|
|
3621
|
+
failureReason: _wagmi_core4.ReadContractsErrorType | null;
|
|
3622
3622
|
errorUpdateCount: number;
|
|
3623
3623
|
isFetched: boolean;
|
|
3624
3624
|
isFetchedAfterMount: boolean;
|
|
@@ -3647,7 +3647,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
3647
3647
|
fee: number;
|
|
3648
3648
|
};
|
|
3649
3649
|
status: "success";
|
|
3650
|
-
})[],
|
|
3650
|
+
})[], _wagmi_core4.ReadContractsErrorType>>;
|
|
3651
3651
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3652
3652
|
promise: Promise<({
|
|
3653
3653
|
error: Error;
|
|
@@ -3683,7 +3683,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
3683
3683
|
tickSpacing: number;
|
|
3684
3684
|
fee: number;
|
|
3685
3685
|
}[] | undefined;
|
|
3686
|
-
error:
|
|
3686
|
+
error: _wagmi_core4.ReadContractsErrorType;
|
|
3687
3687
|
isError: true;
|
|
3688
3688
|
isPending: false;
|
|
3689
3689
|
isLoading: false;
|
|
@@ -3695,7 +3695,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
3695
3695
|
dataUpdatedAt: number;
|
|
3696
3696
|
errorUpdatedAt: number;
|
|
3697
3697
|
failureCount: number;
|
|
3698
|
-
failureReason:
|
|
3698
|
+
failureReason: _wagmi_core4.ReadContractsErrorType | null;
|
|
3699
3699
|
errorUpdateCount: number;
|
|
3700
3700
|
isFetched: boolean;
|
|
3701
3701
|
isFetchedAfterMount: boolean;
|
|
@@ -3724,7 +3724,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
3724
3724
|
fee: number;
|
|
3725
3725
|
};
|
|
3726
3726
|
status: "success";
|
|
3727
|
-
})[],
|
|
3727
|
+
})[], _wagmi_core4.ReadContractsErrorType>>;
|
|
3728
3728
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3729
3729
|
promise: Promise<({
|
|
3730
3730
|
error: Error;
|
|
@@ -3772,7 +3772,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
3772
3772
|
dataUpdatedAt: number;
|
|
3773
3773
|
errorUpdatedAt: number;
|
|
3774
3774
|
failureCount: number;
|
|
3775
|
-
failureReason:
|
|
3775
|
+
failureReason: _wagmi_core4.ReadContractsErrorType | null;
|
|
3776
3776
|
errorUpdateCount: number;
|
|
3777
3777
|
isFetched: boolean;
|
|
3778
3778
|
isFetchedAfterMount: boolean;
|
|
@@ -3801,7 +3801,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
3801
3801
|
fee: number;
|
|
3802
3802
|
};
|
|
3803
3803
|
status: "success";
|
|
3804
|
-
})[],
|
|
3804
|
+
})[], _wagmi_core4.ReadContractsErrorType>>;
|
|
3805
3805
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3806
3806
|
promise: Promise<({
|
|
3807
3807
|
error: Error;
|
|
@@ -3848,7 +3848,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
3848
3848
|
dataUpdatedAt: number;
|
|
3849
3849
|
errorUpdatedAt: number;
|
|
3850
3850
|
failureCount: number;
|
|
3851
|
-
failureReason:
|
|
3851
|
+
failureReason: _wagmi_core4.ReadContractsErrorType | null;
|
|
3852
3852
|
errorUpdateCount: number;
|
|
3853
3853
|
isFetched: boolean;
|
|
3854
3854
|
isFetchedAfterMount: boolean;
|
|
@@ -3878,7 +3878,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
3878
3878
|
fee: number;
|
|
3879
3879
|
};
|
|
3880
3880
|
status: "success";
|
|
3881
|
-
})[],
|
|
3881
|
+
})[], _wagmi_core4.ReadContractsErrorType>>;
|
|
3882
3882
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3883
3883
|
promise: Promise<({
|
|
3884
3884
|
error: Error;
|
|
@@ -3926,7 +3926,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
3926
3926
|
dataUpdatedAt: number;
|
|
3927
3927
|
errorUpdatedAt: number;
|
|
3928
3928
|
failureCount: number;
|
|
3929
|
-
failureReason:
|
|
3929
|
+
failureReason: _wagmi_core4.ReadContractsErrorType | null;
|
|
3930
3930
|
errorUpdateCount: number;
|
|
3931
3931
|
isFetched: boolean;
|
|
3932
3932
|
isFetchedAfterMount: boolean;
|
|
@@ -3955,7 +3955,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
3955
3955
|
fee: number;
|
|
3956
3956
|
};
|
|
3957
3957
|
status: "success";
|
|
3958
|
-
})[],
|
|
3958
|
+
})[], _wagmi_core4.ReadContractsErrorType>>;
|
|
3959
3959
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3960
3960
|
promise: Promise<({
|
|
3961
3961
|
error: Error;
|
|
@@ -3994,7 +3994,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
3994
3994
|
sqrtPriceX96: bigint;
|
|
3995
3995
|
currentTick: number;
|
|
3996
3996
|
}[] | undefined;
|
|
3997
|
-
error:
|
|
3997
|
+
error: _wagmi_core4.ReadContractsErrorType;
|
|
3998
3998
|
isError: true;
|
|
3999
3999
|
isPending: false;
|
|
4000
4000
|
isLoading: false;
|
|
@@ -4006,7 +4006,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
4006
4006
|
dataUpdatedAt: number;
|
|
4007
4007
|
errorUpdatedAt: number;
|
|
4008
4008
|
failureCount: number;
|
|
4009
|
-
failureReason:
|
|
4009
|
+
failureReason: _wagmi_core4.ReadContractsErrorType | null;
|
|
4010
4010
|
errorUpdateCount: number;
|
|
4011
4011
|
isFetched: boolean;
|
|
4012
4012
|
isFetchedAfterMount: boolean;
|
|
@@ -4024,7 +4024,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
4024
4024
|
error?: undefined;
|
|
4025
4025
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
4026
4026
|
status: "success";
|
|
4027
|
-
})[],
|
|
4027
|
+
})[], _wagmi_core4.ReadContractsErrorType>>;
|
|
4028
4028
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
4029
4029
|
promise: Promise<({
|
|
4030
4030
|
error: Error;
|
|
@@ -4054,7 +4054,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
4054
4054
|
dataUpdatedAt: number;
|
|
4055
4055
|
errorUpdatedAt: number;
|
|
4056
4056
|
failureCount: number;
|
|
4057
|
-
failureReason:
|
|
4057
|
+
failureReason: _wagmi_core4.ReadContractsErrorType | null;
|
|
4058
4058
|
errorUpdateCount: number;
|
|
4059
4059
|
isFetched: boolean;
|
|
4060
4060
|
isFetchedAfterMount: boolean;
|
|
@@ -4072,7 +4072,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
4072
4072
|
error?: undefined;
|
|
4073
4073
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
4074
4074
|
status: "success";
|
|
4075
|
-
})[],
|
|
4075
|
+
})[], _wagmi_core4.ReadContractsErrorType>>;
|
|
4076
4076
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
4077
4077
|
promise: Promise<({
|
|
4078
4078
|
error: Error;
|
|
@@ -4090,7 +4090,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
4090
4090
|
sqrtPriceX96: bigint;
|
|
4091
4091
|
currentTick: number;
|
|
4092
4092
|
}[] | undefined;
|
|
4093
|
-
error:
|
|
4093
|
+
error: _wagmi_core4.ReadContractsErrorType;
|
|
4094
4094
|
isError: true;
|
|
4095
4095
|
isPending: false;
|
|
4096
4096
|
isLoading: false;
|
|
@@ -4102,7 +4102,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
4102
4102
|
dataUpdatedAt: number;
|
|
4103
4103
|
errorUpdatedAt: number;
|
|
4104
4104
|
failureCount: number;
|
|
4105
|
-
failureReason:
|
|
4105
|
+
failureReason: _wagmi_core4.ReadContractsErrorType | null;
|
|
4106
4106
|
errorUpdateCount: number;
|
|
4107
4107
|
isFetched: boolean;
|
|
4108
4108
|
isFetchedAfterMount: boolean;
|
|
@@ -4120,7 +4120,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
4120
4120
|
error?: undefined;
|
|
4121
4121
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
4122
4122
|
status: "success";
|
|
4123
|
-
})[],
|
|
4123
|
+
})[], _wagmi_core4.ReadContractsErrorType>>;
|
|
4124
4124
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
4125
4125
|
promise: Promise<({
|
|
4126
4126
|
error: Error;
|
|
@@ -4150,7 +4150,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
4150
4150
|
dataUpdatedAt: number;
|
|
4151
4151
|
errorUpdatedAt: number;
|
|
4152
4152
|
failureCount: number;
|
|
4153
|
-
failureReason:
|
|
4153
|
+
failureReason: _wagmi_core4.ReadContractsErrorType | null;
|
|
4154
4154
|
errorUpdateCount: number;
|
|
4155
4155
|
isFetched: boolean;
|
|
4156
4156
|
isFetchedAfterMount: boolean;
|
|
@@ -4168,7 +4168,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
4168
4168
|
error?: undefined;
|
|
4169
4169
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
4170
4170
|
status: "success";
|
|
4171
|
-
})[],
|
|
4171
|
+
})[], _wagmi_core4.ReadContractsErrorType>>;
|
|
4172
4172
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
4173
4173
|
promise: Promise<({
|
|
4174
4174
|
error: Error;
|
|
@@ -4197,7 +4197,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
4197
4197
|
dataUpdatedAt: number;
|
|
4198
4198
|
errorUpdatedAt: number;
|
|
4199
4199
|
failureCount: number;
|
|
4200
|
-
failureReason:
|
|
4200
|
+
failureReason: _wagmi_core4.ReadContractsErrorType | null;
|
|
4201
4201
|
errorUpdateCount: number;
|
|
4202
4202
|
isFetched: boolean;
|
|
4203
4203
|
isFetchedAfterMount: boolean;
|
|
@@ -4216,7 +4216,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
4216
4216
|
error?: undefined;
|
|
4217
4217
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
4218
4218
|
status: "success";
|
|
4219
|
-
})[],
|
|
4219
|
+
})[], _wagmi_core4.ReadContractsErrorType>>;
|
|
4220
4220
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
4221
4221
|
promise: Promise<({
|
|
4222
4222
|
error: Error;
|
|
@@ -4246,7 +4246,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
4246
4246
|
dataUpdatedAt: number;
|
|
4247
4247
|
errorUpdatedAt: number;
|
|
4248
4248
|
failureCount: number;
|
|
4249
|
-
failureReason:
|
|
4249
|
+
failureReason: _wagmi_core4.ReadContractsErrorType | null;
|
|
4250
4250
|
errorUpdateCount: number;
|
|
4251
4251
|
isFetched: boolean;
|
|
4252
4252
|
isFetchedAfterMount: boolean;
|
|
@@ -4264,7 +4264,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
4264
4264
|
error?: undefined;
|
|
4265
4265
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
4266
4266
|
status: "success";
|
|
4267
|
-
})[],
|
|
4267
|
+
})[], _wagmi_core4.ReadContractsErrorType>>;
|
|
4268
4268
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
4269
4269
|
promise: Promise<({
|
|
4270
4270
|
error: Error;
|
|
@@ -4279,7 +4279,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
4279
4279
|
};
|
|
4280
4280
|
//#endregion
|
|
4281
4281
|
//#region src/hooks/pool/useCurrentTick.d.ts
|
|
4282
|
-
declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) =>
|
|
4282
|
+
declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => wagmi29.UseReadContractReturnType<readonly [{
|
|
4283
4283
|
readonly type: "function";
|
|
4284
4284
|
readonly name: "getFeeGrowthGlobals";
|
|
4285
4285
|
readonly inputs: readonly [{
|
|
@@ -5129,7 +5129,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
5129
5129
|
currentTick: number;
|
|
5130
5130
|
sqrtPriceX96: bigint;
|
|
5131
5131
|
}[] | undefined;
|
|
5132
|
-
error:
|
|
5132
|
+
error: _wagmi_core4.ReadContractsErrorType;
|
|
5133
5133
|
isError: true;
|
|
5134
5134
|
isPending: false;
|
|
5135
5135
|
isLoading: false;
|
|
@@ -5141,7 +5141,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
5141
5141
|
dataUpdatedAt: number;
|
|
5142
5142
|
errorUpdatedAt: number;
|
|
5143
5143
|
failureCount: number;
|
|
5144
|
-
failureReason:
|
|
5144
|
+
failureReason: _wagmi_core4.ReadContractsErrorType | null;
|
|
5145
5145
|
errorUpdateCount: number;
|
|
5146
5146
|
isFetched: boolean;
|
|
5147
5147
|
isFetchedAfterMount: boolean;
|
|
@@ -5159,7 +5159,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
5159
5159
|
error?: undefined;
|
|
5160
5160
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
5161
5161
|
status: "success";
|
|
5162
|
-
})[],
|
|
5162
|
+
})[], _wagmi_core4.ReadContractsErrorType>>;
|
|
5163
5163
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
5164
5164
|
promise: Promise<({
|
|
5165
5165
|
error: Error;
|
|
@@ -5188,7 +5188,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
5188
5188
|
dataUpdatedAt: number;
|
|
5189
5189
|
errorUpdatedAt: number;
|
|
5190
5190
|
failureCount: number;
|
|
5191
|
-
failureReason:
|
|
5191
|
+
failureReason: _wagmi_core4.ReadContractsErrorType | null;
|
|
5192
5192
|
errorUpdateCount: number;
|
|
5193
5193
|
isFetched: boolean;
|
|
5194
5194
|
isFetchedAfterMount: boolean;
|
|
@@ -5206,7 +5206,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
5206
5206
|
error?: undefined;
|
|
5207
5207
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
5208
5208
|
status: "success";
|
|
5209
|
-
})[],
|
|
5209
|
+
})[], _wagmi_core4.ReadContractsErrorType>>;
|
|
5210
5210
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
5211
5211
|
promise: Promise<({
|
|
5212
5212
|
error: Error;
|
|
@@ -5223,7 +5223,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
5223
5223
|
currentTick: number;
|
|
5224
5224
|
sqrtPriceX96: bigint;
|
|
5225
5225
|
}[] | undefined;
|
|
5226
|
-
error:
|
|
5226
|
+
error: _wagmi_core4.ReadContractsErrorType;
|
|
5227
5227
|
isError: true;
|
|
5228
5228
|
isPending: false;
|
|
5229
5229
|
isLoading: false;
|
|
@@ -5235,7 +5235,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
5235
5235
|
dataUpdatedAt: number;
|
|
5236
5236
|
errorUpdatedAt: number;
|
|
5237
5237
|
failureCount: number;
|
|
5238
|
-
failureReason:
|
|
5238
|
+
failureReason: _wagmi_core4.ReadContractsErrorType | null;
|
|
5239
5239
|
errorUpdateCount: number;
|
|
5240
5240
|
isFetched: boolean;
|
|
5241
5241
|
isFetchedAfterMount: boolean;
|
|
@@ -5253,7 +5253,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
5253
5253
|
error?: undefined;
|
|
5254
5254
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
5255
5255
|
status: "success";
|
|
5256
|
-
})[],
|
|
5256
|
+
})[], _wagmi_core4.ReadContractsErrorType>>;
|
|
5257
5257
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
5258
5258
|
promise: Promise<({
|
|
5259
5259
|
error: Error;
|
|
@@ -5282,7 +5282,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
5282
5282
|
dataUpdatedAt: number;
|
|
5283
5283
|
errorUpdatedAt: number;
|
|
5284
5284
|
failureCount: number;
|
|
5285
|
-
failureReason:
|
|
5285
|
+
failureReason: _wagmi_core4.ReadContractsErrorType | null;
|
|
5286
5286
|
errorUpdateCount: number;
|
|
5287
5287
|
isFetched: boolean;
|
|
5288
5288
|
isFetchedAfterMount: boolean;
|
|
@@ -5300,7 +5300,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
5300
5300
|
error?: undefined;
|
|
5301
5301
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
5302
5302
|
status: "success";
|
|
5303
|
-
})[],
|
|
5303
|
+
})[], _wagmi_core4.ReadContractsErrorType>>;
|
|
5304
5304
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
5305
5305
|
promise: Promise<({
|
|
5306
5306
|
error: Error;
|
|
@@ -5328,7 +5328,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
5328
5328
|
dataUpdatedAt: number;
|
|
5329
5329
|
errorUpdatedAt: number;
|
|
5330
5330
|
failureCount: number;
|
|
5331
|
-
failureReason:
|
|
5331
|
+
failureReason: _wagmi_core4.ReadContractsErrorType | null;
|
|
5332
5332
|
errorUpdateCount: number;
|
|
5333
5333
|
isFetched: boolean;
|
|
5334
5334
|
isFetchedAfterMount: boolean;
|
|
@@ -5347,7 +5347,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
5347
5347
|
error?: undefined;
|
|
5348
5348
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
5349
5349
|
status: "success";
|
|
5350
|
-
})[],
|
|
5350
|
+
})[], _wagmi_core4.ReadContractsErrorType>>;
|
|
5351
5351
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
5352
5352
|
promise: Promise<({
|
|
5353
5353
|
error: Error;
|
|
@@ -5376,7 +5376,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
5376
5376
|
dataUpdatedAt: number;
|
|
5377
5377
|
errorUpdatedAt: number;
|
|
5378
5378
|
failureCount: number;
|
|
5379
|
-
failureReason:
|
|
5379
|
+
failureReason: _wagmi_core4.ReadContractsErrorType | null;
|
|
5380
5380
|
errorUpdateCount: number;
|
|
5381
5381
|
isFetched: boolean;
|
|
5382
5382
|
isFetchedAfterMount: boolean;
|
|
@@ -5394,7 +5394,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
5394
5394
|
error?: undefined;
|
|
5395
5395
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
5396
5396
|
status: "success";
|
|
5397
|
-
})[],
|
|
5397
|
+
})[], _wagmi_core4.ReadContractsErrorType>>;
|
|
5398
5398
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
5399
5399
|
promise: Promise<({
|
|
5400
5400
|
error: Error;
|
|
@@ -5413,11 +5413,11 @@ declare const usePriceAtTick: (poolManager?: Address, poolKey?: PoolKey, tick?:
|
|
|
5413
5413
|
declare const usePriceAtSqrtPriceX96: (poolManager?: Address, poolKey?: PoolKey, sqrtPriceX96?: bigint, token0For1?: boolean) => Amount | undefined;
|
|
5414
5414
|
//#endregion
|
|
5415
5415
|
//#region src/hooks/pool/usePriceHistory.d.ts
|
|
5416
|
-
declare const usePriceHistory: (pool: Address | undefined, token: 0 | 1, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) =>
|
|
5417
|
-
declare const useMarketPriceHistory: (marketAddr: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) =>
|
|
5416
|
+
declare const usePriceHistory: (pool: Address | undefined, token: 0 | 1, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query2.UseQueryResult<PriceDataPoint[], Error>;
|
|
5417
|
+
declare const useMarketPriceHistory: (marketAddr: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query2.UseQueryResult<PriceDataPoint[], Error>;
|
|
5418
5418
|
//#endregion
|
|
5419
5419
|
//#region src/hooks/pool/usePoolVolume.d.ts
|
|
5420
|
-
declare const usePoolVolume: (poolManager: Address | undefined, poolKey: PoolKey | undefined) =>
|
|
5420
|
+
declare const usePoolVolume: (poolManager: Address | undefined, poolKey: PoolKey | undefined) => _tanstack_react_query2.UseQueryResult<{
|
|
5421
5421
|
volume0: bigint;
|
|
5422
5422
|
volume1: bigint;
|
|
5423
5423
|
fees0: bigint;
|
|
@@ -5431,7 +5431,7 @@ declare const usePoolVolume: (poolManager: Address | undefined, poolKey: PoolKey
|
|
|
5431
5431
|
}, Error>;
|
|
5432
5432
|
//#endregion
|
|
5433
5433
|
//#region src/hooks/pool/usePoolUserVolume.d.ts
|
|
5434
|
-
declare const usePoolUserVolume: (poolManager: Address | undefined, poolKey: PoolKey | undefined, userAddr: Address | undefined) =>
|
|
5434
|
+
declare const usePoolUserVolume: (poolManager: Address | undefined, poolKey: PoolKey | undefined, userAddr: Address | undefined) => _tanstack_react_query2.UseQueryResult<{
|
|
5435
5435
|
address: Address;
|
|
5436
5436
|
volume0: bigint;
|
|
5437
5437
|
volume1: bigint;
|
|
@@ -5469,7 +5469,7 @@ type QuoteResult = {
|
|
|
5469
5469
|
/**
|
|
5470
5470
|
* Hook to get a quote for an exact input single-hop swap
|
|
5471
5471
|
*/
|
|
5472
|
-
declare const useQuoteExactInputSingle: (poolManager: Address | undefined, params: QuoteExactSingleParams | undefined, options?: UseQuoteOptions) =>
|
|
5472
|
+
declare const useQuoteExactInputSingle: (poolManager: Address | undefined, params: QuoteExactSingleParams | undefined, options?: UseQuoteOptions) => wagmi29.UseSimulateContractReturnType<readonly [{
|
|
5473
5473
|
readonly type: "function";
|
|
5474
5474
|
readonly name: "_quoteExactInput";
|
|
5475
5475
|
readonly inputs: readonly [{
|
|
@@ -5972,11 +5972,11 @@ declare const useQuoteExactInputSingle: (poolManager: Address | undefined, param
|
|
|
5972
5972
|
zeroForOne: boolean;
|
|
5973
5973
|
exactAmount: bigint;
|
|
5974
5974
|
hookData: `0x${string}`;
|
|
5975
|
-
}],
|
|
5975
|
+
}], wagmi29.Config, undefined, QuoteResult>;
|
|
5976
5976
|
/**
|
|
5977
5977
|
* Hook to get a quote for an exact output single-hop swap
|
|
5978
5978
|
*/
|
|
5979
|
-
declare const useQuoteExactOutputSingle: (poolManager: Address | undefined, params: QuoteExactSingleParams | undefined, options?: UseQuoteOptions) =>
|
|
5979
|
+
declare const useQuoteExactOutputSingle: (poolManager: Address | undefined, params: QuoteExactSingleParams | undefined, options?: UseQuoteOptions) => wagmi29.UseSimulateContractReturnType<readonly [{
|
|
5980
5980
|
readonly type: "function";
|
|
5981
5981
|
readonly name: "_quoteExactInput";
|
|
5982
5982
|
readonly inputs: readonly [{
|
|
@@ -6479,11 +6479,11 @@ declare const useQuoteExactOutputSingle: (poolManager: Address | undefined, para
|
|
|
6479
6479
|
zeroForOne: boolean;
|
|
6480
6480
|
exactAmount: bigint;
|
|
6481
6481
|
hookData: `0x${string}`;
|
|
6482
|
-
}],
|
|
6482
|
+
}], wagmi29.Config, undefined, QuoteResult>;
|
|
6483
6483
|
/**
|
|
6484
6484
|
* Hook to get a quote for an exact input multi-hop swap
|
|
6485
6485
|
*/
|
|
6486
|
-
declare const useQuoteExactInput: (poolManager: Address | undefined, params: QuoteExactParams | undefined, options?: UseQuoteOptions) =>
|
|
6486
|
+
declare const useQuoteExactInput: (poolManager: Address | undefined, params: QuoteExactParams | undefined, options?: UseQuoteOptions) => wagmi29.UseSimulateContractReturnType<readonly [{
|
|
6487
6487
|
readonly type: "function";
|
|
6488
6488
|
readonly name: "_quoteExactInput";
|
|
6489
6489
|
readonly inputs: readonly [{
|
|
@@ -6985,11 +6985,11 @@ declare const useQuoteExactInput: (poolManager: Address | undefined, params: Quo
|
|
|
6985
6985
|
hookData: `0x${string}`;
|
|
6986
6986
|
}[];
|
|
6987
6987
|
exactAmount: bigint;
|
|
6988
|
-
}],
|
|
6988
|
+
}], wagmi29.Config, undefined, QuoteResult>;
|
|
6989
6989
|
/**
|
|
6990
6990
|
* Hook to get a quote for an exact output multi-hop swap
|
|
6991
6991
|
*/
|
|
6992
|
-
declare const useQuoteExactOutput: (poolManager: Address | undefined, params: QuoteExactParams | undefined, options?: UseQuoteOptions) =>
|
|
6992
|
+
declare const useQuoteExactOutput: (poolManager: Address | undefined, params: QuoteExactParams | undefined, options?: UseQuoteOptions) => wagmi29.UseSimulateContractReturnType<readonly [{
|
|
6993
6993
|
readonly type: "function";
|
|
6994
6994
|
readonly name: "_quoteExactInput";
|
|
6995
6995
|
readonly inputs: readonly [{
|
|
@@ -7491,7 +7491,7 @@ declare const useQuoteExactOutput: (poolManager: Address | undefined, params: Qu
|
|
|
7491
7491
|
hookData: `0x${string}`;
|
|
7492
7492
|
}[];
|
|
7493
7493
|
exactAmount: bigint;
|
|
7494
|
-
}],
|
|
7494
|
+
}], wagmi29.Config, undefined, QuoteResult>;
|
|
7495
7495
|
/**
|
|
7496
7496
|
* Convenience hook for simple single-hop swaps
|
|
7497
7497
|
* Automatically builds the params from common inputs
|
|
@@ -7510,7 +7510,7 @@ declare const useQuote: (poolManager: Address | undefined, poolKey: PoolKey | un
|
|
|
7510
7510
|
enabled?: boolean;
|
|
7511
7511
|
}) => {
|
|
7512
7512
|
data: QuoteResult;
|
|
7513
|
-
error:
|
|
7513
|
+
error: _wagmi_core4.SimulateContractErrorType;
|
|
7514
7514
|
isError: true;
|
|
7515
7515
|
isPending: false;
|
|
7516
7516
|
isLoading: false;
|
|
@@ -7522,7 +7522,7 @@ declare const useQuote: (poolManager: Address | undefined, poolKey: PoolKey | un
|
|
|
7522
7522
|
dataUpdatedAt: number;
|
|
7523
7523
|
errorUpdatedAt: number;
|
|
7524
7524
|
failureCount: number;
|
|
7525
|
-
failureReason:
|
|
7525
|
+
failureReason: _wagmi_core4.SimulateContractErrorType | null;
|
|
7526
7526
|
errorUpdateCount: number;
|
|
7527
7527
|
isFetched: boolean;
|
|
7528
7528
|
isFetchedAfterMount: boolean;
|
|
@@ -7532,7 +7532,7 @@ declare const useQuote: (poolManager: Address | undefined, poolKey: PoolKey | un
|
|
|
7532
7532
|
isRefetching: boolean;
|
|
7533
7533
|
isStale: boolean;
|
|
7534
7534
|
isEnabled: boolean;
|
|
7535
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<QuoteResult,
|
|
7535
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<QuoteResult, _wagmi_core4.SimulateContractErrorType>>;
|
|
7536
7536
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
7537
7537
|
promise: Promise<QuoteResult>;
|
|
7538
7538
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -7550,7 +7550,7 @@ declare const useQuote: (poolManager: Address | undefined, poolKey: PoolKey | un
|
|
|
7550
7550
|
dataUpdatedAt: number;
|
|
7551
7551
|
errorUpdatedAt: number;
|
|
7552
7552
|
failureCount: number;
|
|
7553
|
-
failureReason:
|
|
7553
|
+
failureReason: _wagmi_core4.SimulateContractErrorType | null;
|
|
7554
7554
|
errorUpdateCount: number;
|
|
7555
7555
|
isFetched: boolean;
|
|
7556
7556
|
isFetchedAfterMount: boolean;
|
|
@@ -7560,13 +7560,13 @@ declare const useQuote: (poolManager: Address | undefined, poolKey: PoolKey | un
|
|
|
7560
7560
|
isRefetching: boolean;
|
|
7561
7561
|
isStale: boolean;
|
|
7562
7562
|
isEnabled: boolean;
|
|
7563
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<QuoteResult,
|
|
7563
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<QuoteResult, _wagmi_core4.SimulateContractErrorType>>;
|
|
7564
7564
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
7565
7565
|
promise: Promise<QuoteResult>;
|
|
7566
7566
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
7567
7567
|
} | {
|
|
7568
7568
|
data: undefined;
|
|
7569
|
-
error:
|
|
7569
|
+
error: _wagmi_core4.SimulateContractErrorType;
|
|
7570
7570
|
isError: true;
|
|
7571
7571
|
isPending: false;
|
|
7572
7572
|
isLoading: false;
|
|
@@ -7578,7 +7578,7 @@ declare const useQuote: (poolManager: Address | undefined, poolKey: PoolKey | un
|
|
|
7578
7578
|
dataUpdatedAt: number;
|
|
7579
7579
|
errorUpdatedAt: number;
|
|
7580
7580
|
failureCount: number;
|
|
7581
|
-
failureReason:
|
|
7581
|
+
failureReason: _wagmi_core4.SimulateContractErrorType | null;
|
|
7582
7582
|
errorUpdateCount: number;
|
|
7583
7583
|
isFetched: boolean;
|
|
7584
7584
|
isFetchedAfterMount: boolean;
|
|
@@ -7588,7 +7588,7 @@ declare const useQuote: (poolManager: Address | undefined, poolKey: PoolKey | un
|
|
|
7588
7588
|
isRefetching: boolean;
|
|
7589
7589
|
isStale: boolean;
|
|
7590
7590
|
isEnabled: boolean;
|
|
7591
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<QuoteResult,
|
|
7591
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<QuoteResult, _wagmi_core4.SimulateContractErrorType>>;
|
|
7592
7592
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
7593
7593
|
promise: Promise<QuoteResult>;
|
|
7594
7594
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -7605,7 +7605,7 @@ declare const useQuote: (poolManager: Address | undefined, poolKey: PoolKey | un
|
|
|
7605
7605
|
dataUpdatedAt: number;
|
|
7606
7606
|
errorUpdatedAt: number;
|
|
7607
7607
|
failureCount: number;
|
|
7608
|
-
failureReason:
|
|
7608
|
+
failureReason: _wagmi_core4.SimulateContractErrorType | null;
|
|
7609
7609
|
errorUpdateCount: number;
|
|
7610
7610
|
isFetched: boolean;
|
|
7611
7611
|
isFetchedAfterMount: boolean;
|
|
@@ -7616,7 +7616,7 @@ declare const useQuote: (poolManager: Address | undefined, poolKey: PoolKey | un
|
|
|
7616
7616
|
isRefetching: boolean;
|
|
7617
7617
|
isStale: boolean;
|
|
7618
7618
|
isEnabled: boolean;
|
|
7619
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<QuoteResult,
|
|
7619
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<QuoteResult, _wagmi_core4.SimulateContractErrorType>>;
|
|
7620
7620
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
7621
7621
|
promise: Promise<QuoteResult>;
|
|
7622
7622
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -7634,7 +7634,7 @@ declare const useQuote: (poolManager: Address | undefined, poolKey: PoolKey | un
|
|
|
7634
7634
|
dataUpdatedAt: number;
|
|
7635
7635
|
errorUpdatedAt: number;
|
|
7636
7636
|
failureCount: number;
|
|
7637
|
-
failureReason:
|
|
7637
|
+
failureReason: _wagmi_core4.SimulateContractErrorType | null;
|
|
7638
7638
|
errorUpdateCount: number;
|
|
7639
7639
|
isFetched: boolean;
|
|
7640
7640
|
isFetchedAfterMount: boolean;
|
|
@@ -7644,7 +7644,7 @@ declare const useQuote: (poolManager: Address | undefined, poolKey: PoolKey | un
|
|
|
7644
7644
|
isRefetching: boolean;
|
|
7645
7645
|
isStale: boolean;
|
|
7646
7646
|
isEnabled: boolean;
|
|
7647
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<QuoteResult,
|
|
7647
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<QuoteResult, _wagmi_core4.SimulateContractErrorType>>;
|
|
7648
7648
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
7649
7649
|
promise: Promise<QuoteResult>;
|
|
7650
7650
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -7663,7 +7663,7 @@ declare const useBurnLiquidity: (vaultAddr: Address | undefined) => {
|
|
|
7663
7663
|
isPending: boolean;
|
|
7664
7664
|
isConfirming: boolean;
|
|
7665
7665
|
isSuccess: boolean;
|
|
7666
|
-
error:
|
|
7666
|
+
error: _wagmi_core4.WriteContractErrorType | null;
|
|
7667
7667
|
isLoading: boolean;
|
|
7668
7668
|
};
|
|
7669
7669
|
//#endregion
|
|
@@ -8085,7 +8085,7 @@ interface MintPositionParams {
|
|
|
8085
8085
|
tickUpper: number;
|
|
8086
8086
|
liquidity: bigint;
|
|
8087
8087
|
}
|
|
8088
|
-
declare const useMintLiquidity: (vaultAddr: Address | undefined) =>
|
|
8088
|
+
declare const useMintLiquidity: (vaultAddr: Address | undefined) => _tanstack_react_query2.UseMutationResult<void, Error, MintPositionParams | MintPositionParams[], unknown>;
|
|
8089
8089
|
//#endregion
|
|
8090
8090
|
//#region src/hooks/vault/useVaultData.d.ts
|
|
8091
8091
|
declare const useVaultData: (vaultAddr: Address | undefined) => Partial<NonUndefinedGuard<{
|
|
@@ -8128,25 +8128,31 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8128
8128
|
error: null;
|
|
8129
8129
|
data: undefined;
|
|
8130
8130
|
status: "idle";
|
|
8131
|
-
variables: undefined;
|
|
8132
8131
|
isError: false;
|
|
8133
|
-
isIdle: true;
|
|
8134
8132
|
isPending: false;
|
|
8135
8133
|
isSuccess: false;
|
|
8136
|
-
reset: () => void;
|
|
8137
|
-
context: unknown;
|
|
8138
8134
|
failureCount: number;
|
|
8139
|
-
failureReason:
|
|
8135
|
+
failureReason: _wagmi_core4.WriteContractErrorType | null;
|
|
8140
8136
|
isPaused: boolean;
|
|
8137
|
+
variables: undefined;
|
|
8138
|
+
isIdle: true;
|
|
8139
|
+
reset: () => void;
|
|
8140
|
+
context: unknown;
|
|
8141
8141
|
submittedAt: number;
|
|
8142
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
8143
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
8144
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
8142
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
8143
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
8144
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi29.Config, unknown>;
|
|
8145
8145
|
withdrawPremium: (assets: Address[], amounts: bigint[], recipient: Address) => Promise<`0x${string}`>;
|
|
8146
8146
|
} | {
|
|
8147
8147
|
error: null;
|
|
8148
8148
|
data: undefined;
|
|
8149
8149
|
status: "pending";
|
|
8150
|
+
isError: false;
|
|
8151
|
+
isPending: true;
|
|
8152
|
+
isSuccess: false;
|
|
8153
|
+
failureCount: number;
|
|
8154
|
+
failureReason: _wagmi_core4.WriteContractErrorType | null;
|
|
8155
|
+
isPaused: boolean;
|
|
8150
8156
|
variables: {
|
|
8151
8157
|
abi: abitype0.Abi;
|
|
8152
8158
|
functionName: string;
|
|
@@ -8170,7 +8176,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8170
8176
|
sidecars?: undefined;
|
|
8171
8177
|
authorizationList?: undefined;
|
|
8172
8178
|
chainId?: number | undefined;
|
|
8173
|
-
connector?:
|
|
8179
|
+
connector?: wagmi29.Connector | undefined;
|
|
8174
8180
|
} | {
|
|
8175
8181
|
abi: abitype0.Abi;
|
|
8176
8182
|
functionName: string;
|
|
@@ -8194,7 +8200,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8194
8200
|
sidecars?: undefined;
|
|
8195
8201
|
authorizationList?: undefined;
|
|
8196
8202
|
chainId?: number | undefined;
|
|
8197
|
-
connector?:
|
|
8203
|
+
connector?: wagmi29.Connector | undefined;
|
|
8198
8204
|
} | {
|
|
8199
8205
|
abi: abitype0.Abi;
|
|
8200
8206
|
functionName: string;
|
|
@@ -8218,7 +8224,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8218
8224
|
sidecars?: undefined;
|
|
8219
8225
|
authorizationList?: undefined;
|
|
8220
8226
|
chainId?: number | undefined;
|
|
8221
|
-
connector?:
|
|
8227
|
+
connector?: wagmi29.Connector | undefined;
|
|
8222
8228
|
} | {
|
|
8223
8229
|
abi: abitype0.Abi;
|
|
8224
8230
|
functionName: string;
|
|
@@ -8242,7 +8248,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8242
8248
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
8243
8249
|
authorizationList?: undefined;
|
|
8244
8250
|
chainId?: number | undefined;
|
|
8245
|
-
connector?:
|
|
8251
|
+
connector?: wagmi29.Connector | undefined;
|
|
8246
8252
|
} | {
|
|
8247
8253
|
abi: abitype0.Abi;
|
|
8248
8254
|
functionName: string;
|
|
@@ -8266,7 +8272,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8266
8272
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
8267
8273
|
authorizationList?: undefined;
|
|
8268
8274
|
chainId?: number | undefined;
|
|
8269
|
-
connector?:
|
|
8275
|
+
connector?: wagmi29.Connector | undefined;
|
|
8270
8276
|
} | {
|
|
8271
8277
|
abi: abitype0.Abi;
|
|
8272
8278
|
functionName: string;
|
|
@@ -8290,26 +8296,26 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8290
8296
|
sidecars?: undefined;
|
|
8291
8297
|
authorizationList?: viem459.AuthorizationList<number, boolean> | undefined;
|
|
8292
8298
|
chainId?: number | undefined;
|
|
8293
|
-
connector?:
|
|
8299
|
+
connector?: wagmi29.Connector | undefined;
|
|
8294
8300
|
};
|
|
8295
|
-
isError: false;
|
|
8296
8301
|
isIdle: false;
|
|
8297
|
-
isPending: true;
|
|
8298
|
-
isSuccess: false;
|
|
8299
8302
|
reset: () => void;
|
|
8300
8303
|
context: unknown;
|
|
8301
|
-
failureCount: number;
|
|
8302
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
8303
|
-
isPaused: boolean;
|
|
8304
8304
|
submittedAt: number;
|
|
8305
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
8306
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
8307
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
8305
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
8306
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
8307
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi29.Config, unknown>;
|
|
8308
8308
|
withdrawPremium: (assets: Address[], amounts: bigint[], recipient: Address) => Promise<`0x${string}`>;
|
|
8309
8309
|
} | {
|
|
8310
|
-
error:
|
|
8310
|
+
error: _wagmi_core4.WriteContractErrorType;
|
|
8311
8311
|
data: undefined;
|
|
8312
8312
|
status: "error";
|
|
8313
|
+
isError: true;
|
|
8314
|
+
isPending: false;
|
|
8315
|
+
isSuccess: false;
|
|
8316
|
+
failureCount: number;
|
|
8317
|
+
failureReason: _wagmi_core4.WriteContractErrorType | null;
|
|
8318
|
+
isPaused: boolean;
|
|
8313
8319
|
variables: {
|
|
8314
8320
|
abi: abitype0.Abi;
|
|
8315
8321
|
functionName: string;
|
|
@@ -8333,7 +8339,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8333
8339
|
sidecars?: undefined;
|
|
8334
8340
|
authorizationList?: undefined;
|
|
8335
8341
|
chainId?: number | undefined;
|
|
8336
|
-
connector?:
|
|
8342
|
+
connector?: wagmi29.Connector | undefined;
|
|
8337
8343
|
} | {
|
|
8338
8344
|
abi: abitype0.Abi;
|
|
8339
8345
|
functionName: string;
|
|
@@ -8357,7 +8363,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8357
8363
|
sidecars?: undefined;
|
|
8358
8364
|
authorizationList?: undefined;
|
|
8359
8365
|
chainId?: number | undefined;
|
|
8360
|
-
connector?:
|
|
8366
|
+
connector?: wagmi29.Connector | undefined;
|
|
8361
8367
|
} | {
|
|
8362
8368
|
abi: abitype0.Abi;
|
|
8363
8369
|
functionName: string;
|
|
@@ -8381,7 +8387,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8381
8387
|
sidecars?: undefined;
|
|
8382
8388
|
authorizationList?: undefined;
|
|
8383
8389
|
chainId?: number | undefined;
|
|
8384
|
-
connector?:
|
|
8390
|
+
connector?: wagmi29.Connector | undefined;
|
|
8385
8391
|
} | {
|
|
8386
8392
|
abi: abitype0.Abi;
|
|
8387
8393
|
functionName: string;
|
|
@@ -8405,7 +8411,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8405
8411
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
8406
8412
|
authorizationList?: undefined;
|
|
8407
8413
|
chainId?: number | undefined;
|
|
8408
|
-
connector?:
|
|
8414
|
+
connector?: wagmi29.Connector | undefined;
|
|
8409
8415
|
} | {
|
|
8410
8416
|
abi: abitype0.Abi;
|
|
8411
8417
|
functionName: string;
|
|
@@ -8429,7 +8435,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8429
8435
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
8430
8436
|
authorizationList?: undefined;
|
|
8431
8437
|
chainId?: number | undefined;
|
|
8432
|
-
connector?:
|
|
8438
|
+
connector?: wagmi29.Connector | undefined;
|
|
8433
8439
|
} | {
|
|
8434
8440
|
abi: abitype0.Abi;
|
|
8435
8441
|
functionName: string;
|
|
@@ -8453,26 +8459,26 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8453
8459
|
sidecars?: undefined;
|
|
8454
8460
|
authorizationList?: viem459.AuthorizationList<number, boolean> | undefined;
|
|
8455
8461
|
chainId?: number | undefined;
|
|
8456
|
-
connector?:
|
|
8462
|
+
connector?: wagmi29.Connector | undefined;
|
|
8457
8463
|
};
|
|
8458
|
-
isError: true;
|
|
8459
8464
|
isIdle: false;
|
|
8460
|
-
isPending: false;
|
|
8461
|
-
isSuccess: false;
|
|
8462
8465
|
reset: () => void;
|
|
8463
8466
|
context: unknown;
|
|
8464
|
-
failureCount: number;
|
|
8465
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
8466
|
-
isPaused: boolean;
|
|
8467
8467
|
submittedAt: number;
|
|
8468
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
8469
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
8470
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
8468
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
8469
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
8470
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi29.Config, unknown>;
|
|
8471
8471
|
withdrawPremium: (assets: Address[], amounts: bigint[], recipient: Address) => Promise<`0x${string}`>;
|
|
8472
8472
|
} | {
|
|
8473
8473
|
error: null;
|
|
8474
8474
|
data: `0x${string}`;
|
|
8475
8475
|
status: "success";
|
|
8476
|
+
isError: false;
|
|
8477
|
+
isPending: false;
|
|
8478
|
+
isSuccess: true;
|
|
8479
|
+
failureCount: number;
|
|
8480
|
+
failureReason: _wagmi_core4.WriteContractErrorType | null;
|
|
8481
|
+
isPaused: boolean;
|
|
8476
8482
|
variables: {
|
|
8477
8483
|
abi: abitype0.Abi;
|
|
8478
8484
|
functionName: string;
|
|
@@ -8496,7 +8502,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8496
8502
|
sidecars?: undefined;
|
|
8497
8503
|
authorizationList?: undefined;
|
|
8498
8504
|
chainId?: number | undefined;
|
|
8499
|
-
connector?:
|
|
8505
|
+
connector?: wagmi29.Connector | undefined;
|
|
8500
8506
|
} | {
|
|
8501
8507
|
abi: abitype0.Abi;
|
|
8502
8508
|
functionName: string;
|
|
@@ -8520,7 +8526,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8520
8526
|
sidecars?: undefined;
|
|
8521
8527
|
authorizationList?: undefined;
|
|
8522
8528
|
chainId?: number | undefined;
|
|
8523
|
-
connector?:
|
|
8529
|
+
connector?: wagmi29.Connector | undefined;
|
|
8524
8530
|
} | {
|
|
8525
8531
|
abi: abitype0.Abi;
|
|
8526
8532
|
functionName: string;
|
|
@@ -8544,7 +8550,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8544
8550
|
sidecars?: undefined;
|
|
8545
8551
|
authorizationList?: undefined;
|
|
8546
8552
|
chainId?: number | undefined;
|
|
8547
|
-
connector?:
|
|
8553
|
+
connector?: wagmi29.Connector | undefined;
|
|
8548
8554
|
} | {
|
|
8549
8555
|
abi: abitype0.Abi;
|
|
8550
8556
|
functionName: string;
|
|
@@ -8568,7 +8574,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8568
8574
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
8569
8575
|
authorizationList?: undefined;
|
|
8570
8576
|
chainId?: number | undefined;
|
|
8571
|
-
connector?:
|
|
8577
|
+
connector?: wagmi29.Connector | undefined;
|
|
8572
8578
|
} | {
|
|
8573
8579
|
abi: abitype0.Abi;
|
|
8574
8580
|
functionName: string;
|
|
@@ -8592,7 +8598,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8592
8598
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
8593
8599
|
authorizationList?: undefined;
|
|
8594
8600
|
chainId?: number | undefined;
|
|
8595
|
-
connector?:
|
|
8601
|
+
connector?: wagmi29.Connector | undefined;
|
|
8596
8602
|
} | {
|
|
8597
8603
|
abi: abitype0.Abi;
|
|
8598
8604
|
functionName: string;
|
|
@@ -8616,21 +8622,15 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8616
8622
|
sidecars?: undefined;
|
|
8617
8623
|
authorizationList?: viem459.AuthorizationList<number, boolean> | undefined;
|
|
8618
8624
|
chainId?: number | undefined;
|
|
8619
|
-
connector?:
|
|
8625
|
+
connector?: wagmi29.Connector | undefined;
|
|
8620
8626
|
};
|
|
8621
|
-
isError: false;
|
|
8622
8627
|
isIdle: false;
|
|
8623
|
-
isPending: false;
|
|
8624
|
-
isSuccess: true;
|
|
8625
8628
|
reset: () => void;
|
|
8626
8629
|
context: unknown;
|
|
8627
|
-
failureCount: number;
|
|
8628
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
8629
|
-
isPaused: boolean;
|
|
8630
8630
|
submittedAt: number;
|
|
8631
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
8632
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
8633
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
8631
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
8632
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
8633
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi29.Config, unknown>;
|
|
8634
8634
|
withdrawPremium: (assets: Address[], amounts: bigint[], recipient: Address) => Promise<`0x${string}`>;
|
|
8635
8635
|
};
|
|
8636
8636
|
//#endregion
|
|
@@ -8988,25 +8988,31 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
8988
8988
|
declare const useApproval: () => {
|
|
8989
8989
|
error: null;
|
|
8990
8990
|
status: "idle";
|
|
8991
|
-
variables: undefined;
|
|
8992
8991
|
isError: false;
|
|
8993
|
-
isIdle: true;
|
|
8994
8992
|
isPending: false;
|
|
8995
8993
|
isSuccess: false;
|
|
8996
|
-
reset: () => void;
|
|
8997
|
-
context: unknown;
|
|
8998
8994
|
failureCount: number;
|
|
8999
|
-
failureReason:
|
|
8995
|
+
failureReason: _wagmi_core4.WriteContractErrorType | null;
|
|
9000
8996
|
isPaused: boolean;
|
|
8997
|
+
variables: undefined;
|
|
8998
|
+
isIdle: true;
|
|
8999
|
+
reset: () => void;
|
|
9000
|
+
context: unknown;
|
|
9001
9001
|
submittedAt: number;
|
|
9002
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
9003
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
9004
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
9002
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
9003
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
9004
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi29.Config, unknown>;
|
|
9005
9005
|
askForApproval: (tokenAddress: Address, spenderAddress: Address, amount: bigint) => Promise<void>;
|
|
9006
9006
|
hash: `0x${string}` | undefined;
|
|
9007
9007
|
} | {
|
|
9008
9008
|
error: null;
|
|
9009
9009
|
status: "pending";
|
|
9010
|
+
isError: false;
|
|
9011
|
+
isPending: true;
|
|
9012
|
+
isSuccess: false;
|
|
9013
|
+
failureCount: number;
|
|
9014
|
+
failureReason: _wagmi_core4.WriteContractErrorType | null;
|
|
9015
|
+
isPaused: boolean;
|
|
9010
9016
|
variables: {
|
|
9011
9017
|
abi: abitype0.Abi;
|
|
9012
9018
|
functionName: string;
|
|
@@ -9030,7 +9036,7 @@ declare const useApproval: () => {
|
|
|
9030
9036
|
sidecars?: undefined;
|
|
9031
9037
|
authorizationList?: undefined;
|
|
9032
9038
|
chainId?: number | undefined;
|
|
9033
|
-
connector?:
|
|
9039
|
+
connector?: wagmi29.Connector | undefined;
|
|
9034
9040
|
} | {
|
|
9035
9041
|
abi: abitype0.Abi;
|
|
9036
9042
|
functionName: string;
|
|
@@ -9054,7 +9060,7 @@ declare const useApproval: () => {
|
|
|
9054
9060
|
sidecars?: undefined;
|
|
9055
9061
|
authorizationList?: undefined;
|
|
9056
9062
|
chainId?: number | undefined;
|
|
9057
|
-
connector?:
|
|
9063
|
+
connector?: wagmi29.Connector | undefined;
|
|
9058
9064
|
} | {
|
|
9059
9065
|
abi: abitype0.Abi;
|
|
9060
9066
|
functionName: string;
|
|
@@ -9078,7 +9084,7 @@ declare const useApproval: () => {
|
|
|
9078
9084
|
sidecars?: undefined;
|
|
9079
9085
|
authorizationList?: undefined;
|
|
9080
9086
|
chainId?: number | undefined;
|
|
9081
|
-
connector?:
|
|
9087
|
+
connector?: wagmi29.Connector | undefined;
|
|
9082
9088
|
} | {
|
|
9083
9089
|
abi: abitype0.Abi;
|
|
9084
9090
|
functionName: string;
|
|
@@ -9102,7 +9108,7 @@ declare const useApproval: () => {
|
|
|
9102
9108
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
9103
9109
|
authorizationList?: undefined;
|
|
9104
9110
|
chainId?: number | undefined;
|
|
9105
|
-
connector?:
|
|
9111
|
+
connector?: wagmi29.Connector | undefined;
|
|
9106
9112
|
} | {
|
|
9107
9113
|
abi: abitype0.Abi;
|
|
9108
9114
|
functionName: string;
|
|
@@ -9126,7 +9132,7 @@ declare const useApproval: () => {
|
|
|
9126
9132
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
9127
9133
|
authorizationList?: undefined;
|
|
9128
9134
|
chainId?: number | undefined;
|
|
9129
|
-
connector?:
|
|
9135
|
+
connector?: wagmi29.Connector | undefined;
|
|
9130
9136
|
} | {
|
|
9131
9137
|
abi: abitype0.Abi;
|
|
9132
9138
|
functionName: string;
|
|
@@ -9150,26 +9156,26 @@ declare const useApproval: () => {
|
|
|
9150
9156
|
sidecars?: undefined;
|
|
9151
9157
|
authorizationList?: viem459.AuthorizationList<number, boolean> | undefined;
|
|
9152
9158
|
chainId?: number | undefined;
|
|
9153
|
-
connector?:
|
|
9159
|
+
connector?: wagmi29.Connector | undefined;
|
|
9154
9160
|
};
|
|
9155
|
-
isError: false;
|
|
9156
9161
|
isIdle: false;
|
|
9157
|
-
isPending: true;
|
|
9158
|
-
isSuccess: false;
|
|
9159
9162
|
reset: () => void;
|
|
9160
9163
|
context: unknown;
|
|
9161
|
-
failureCount: number;
|
|
9162
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
9163
|
-
isPaused: boolean;
|
|
9164
9164
|
submittedAt: number;
|
|
9165
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
9166
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
9167
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
9165
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
9166
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
9167
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi29.Config, unknown>;
|
|
9168
9168
|
askForApproval: (tokenAddress: Address, spenderAddress: Address, amount: bigint) => Promise<void>;
|
|
9169
9169
|
hash: `0x${string}` | undefined;
|
|
9170
9170
|
} | {
|
|
9171
|
-
error:
|
|
9171
|
+
error: _wagmi_core4.WriteContractErrorType;
|
|
9172
9172
|
status: "error";
|
|
9173
|
+
isError: true;
|
|
9174
|
+
isPending: false;
|
|
9175
|
+
isSuccess: false;
|
|
9176
|
+
failureCount: number;
|
|
9177
|
+
failureReason: _wagmi_core4.WriteContractErrorType | null;
|
|
9178
|
+
isPaused: boolean;
|
|
9173
9179
|
variables: {
|
|
9174
9180
|
abi: abitype0.Abi;
|
|
9175
9181
|
functionName: string;
|
|
@@ -9193,7 +9199,7 @@ declare const useApproval: () => {
|
|
|
9193
9199
|
sidecars?: undefined;
|
|
9194
9200
|
authorizationList?: undefined;
|
|
9195
9201
|
chainId?: number | undefined;
|
|
9196
|
-
connector?:
|
|
9202
|
+
connector?: wagmi29.Connector | undefined;
|
|
9197
9203
|
} | {
|
|
9198
9204
|
abi: abitype0.Abi;
|
|
9199
9205
|
functionName: string;
|
|
@@ -9217,7 +9223,7 @@ declare const useApproval: () => {
|
|
|
9217
9223
|
sidecars?: undefined;
|
|
9218
9224
|
authorizationList?: undefined;
|
|
9219
9225
|
chainId?: number | undefined;
|
|
9220
|
-
connector?:
|
|
9226
|
+
connector?: wagmi29.Connector | undefined;
|
|
9221
9227
|
} | {
|
|
9222
9228
|
abi: abitype0.Abi;
|
|
9223
9229
|
functionName: string;
|
|
@@ -9241,7 +9247,7 @@ declare const useApproval: () => {
|
|
|
9241
9247
|
sidecars?: undefined;
|
|
9242
9248
|
authorizationList?: undefined;
|
|
9243
9249
|
chainId?: number | undefined;
|
|
9244
|
-
connector?:
|
|
9250
|
+
connector?: wagmi29.Connector | undefined;
|
|
9245
9251
|
} | {
|
|
9246
9252
|
abi: abitype0.Abi;
|
|
9247
9253
|
functionName: string;
|
|
@@ -9265,7 +9271,7 @@ declare const useApproval: () => {
|
|
|
9265
9271
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
9266
9272
|
authorizationList?: undefined;
|
|
9267
9273
|
chainId?: number | undefined;
|
|
9268
|
-
connector?:
|
|
9274
|
+
connector?: wagmi29.Connector | undefined;
|
|
9269
9275
|
} | {
|
|
9270
9276
|
abi: abitype0.Abi;
|
|
9271
9277
|
functionName: string;
|
|
@@ -9289,7 +9295,7 @@ declare const useApproval: () => {
|
|
|
9289
9295
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
9290
9296
|
authorizationList?: undefined;
|
|
9291
9297
|
chainId?: number | undefined;
|
|
9292
|
-
connector?:
|
|
9298
|
+
connector?: wagmi29.Connector | undefined;
|
|
9293
9299
|
} | {
|
|
9294
9300
|
abi: abitype0.Abi;
|
|
9295
9301
|
functionName: string;
|
|
@@ -9313,26 +9319,26 @@ declare const useApproval: () => {
|
|
|
9313
9319
|
sidecars?: undefined;
|
|
9314
9320
|
authorizationList?: viem459.AuthorizationList<number, boolean> | undefined;
|
|
9315
9321
|
chainId?: number | undefined;
|
|
9316
|
-
connector?:
|
|
9322
|
+
connector?: wagmi29.Connector | undefined;
|
|
9317
9323
|
};
|
|
9318
|
-
isError: true;
|
|
9319
9324
|
isIdle: false;
|
|
9320
|
-
isPending: false;
|
|
9321
|
-
isSuccess: false;
|
|
9322
9325
|
reset: () => void;
|
|
9323
9326
|
context: unknown;
|
|
9324
|
-
failureCount: number;
|
|
9325
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
9326
|
-
isPaused: boolean;
|
|
9327
9327
|
submittedAt: number;
|
|
9328
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
9329
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
9330
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
9328
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
9329
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
9330
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi29.Config, unknown>;
|
|
9331
9331
|
askForApproval: (tokenAddress: Address, spenderAddress: Address, amount: bigint) => Promise<void>;
|
|
9332
9332
|
hash: `0x${string}` | undefined;
|
|
9333
9333
|
} | {
|
|
9334
9334
|
error: null;
|
|
9335
9335
|
status: "success";
|
|
9336
|
+
isError: false;
|
|
9337
|
+
isPending: false;
|
|
9338
|
+
isSuccess: true;
|
|
9339
|
+
failureCount: number;
|
|
9340
|
+
failureReason: _wagmi_core4.WriteContractErrorType | null;
|
|
9341
|
+
isPaused: boolean;
|
|
9336
9342
|
variables: {
|
|
9337
9343
|
abi: abitype0.Abi;
|
|
9338
9344
|
functionName: string;
|
|
@@ -9356,7 +9362,7 @@ declare const useApproval: () => {
|
|
|
9356
9362
|
sidecars?: undefined;
|
|
9357
9363
|
authorizationList?: undefined;
|
|
9358
9364
|
chainId?: number | undefined;
|
|
9359
|
-
connector?:
|
|
9365
|
+
connector?: wagmi29.Connector | undefined;
|
|
9360
9366
|
} | {
|
|
9361
9367
|
abi: abitype0.Abi;
|
|
9362
9368
|
functionName: string;
|
|
@@ -9380,7 +9386,7 @@ declare const useApproval: () => {
|
|
|
9380
9386
|
sidecars?: undefined;
|
|
9381
9387
|
authorizationList?: undefined;
|
|
9382
9388
|
chainId?: number | undefined;
|
|
9383
|
-
connector?:
|
|
9389
|
+
connector?: wagmi29.Connector | undefined;
|
|
9384
9390
|
} | {
|
|
9385
9391
|
abi: abitype0.Abi;
|
|
9386
9392
|
functionName: string;
|
|
@@ -9404,7 +9410,7 @@ declare const useApproval: () => {
|
|
|
9404
9410
|
sidecars?: undefined;
|
|
9405
9411
|
authorizationList?: undefined;
|
|
9406
9412
|
chainId?: number | undefined;
|
|
9407
|
-
connector?:
|
|
9413
|
+
connector?: wagmi29.Connector | undefined;
|
|
9408
9414
|
} | {
|
|
9409
9415
|
abi: abitype0.Abi;
|
|
9410
9416
|
functionName: string;
|
|
@@ -9428,7 +9434,7 @@ declare const useApproval: () => {
|
|
|
9428
9434
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
9429
9435
|
authorizationList?: undefined;
|
|
9430
9436
|
chainId?: number | undefined;
|
|
9431
|
-
connector?:
|
|
9437
|
+
connector?: wagmi29.Connector | undefined;
|
|
9432
9438
|
} | {
|
|
9433
9439
|
abi: abitype0.Abi;
|
|
9434
9440
|
functionName: string;
|
|
@@ -9452,7 +9458,7 @@ declare const useApproval: () => {
|
|
|
9452
9458
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
9453
9459
|
authorizationList?: undefined;
|
|
9454
9460
|
chainId?: number | undefined;
|
|
9455
|
-
connector?:
|
|
9461
|
+
connector?: wagmi29.Connector | undefined;
|
|
9456
9462
|
} | {
|
|
9457
9463
|
abi: abitype0.Abi;
|
|
9458
9464
|
functionName: string;
|
|
@@ -9476,27 +9482,21 @@ declare const useApproval: () => {
|
|
|
9476
9482
|
sidecars?: undefined;
|
|
9477
9483
|
authorizationList?: viem459.AuthorizationList<number, boolean> | undefined;
|
|
9478
9484
|
chainId?: number | undefined;
|
|
9479
|
-
connector?:
|
|
9485
|
+
connector?: wagmi29.Connector | undefined;
|
|
9480
9486
|
};
|
|
9481
|
-
isError: false;
|
|
9482
9487
|
isIdle: false;
|
|
9483
|
-
isPending: false;
|
|
9484
|
-
isSuccess: true;
|
|
9485
9488
|
reset: () => void;
|
|
9486
9489
|
context: unknown;
|
|
9487
|
-
failureCount: number;
|
|
9488
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
9489
|
-
isPaused: boolean;
|
|
9490
9490
|
submittedAt: number;
|
|
9491
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
9492
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
9493
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
9491
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
9492
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
9493
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi29.Config, unknown>;
|
|
9494
9494
|
askForApproval: (tokenAddress: Address, spenderAddress: Address, amount: bigint) => Promise<void>;
|
|
9495
9495
|
hash: `0x${string}` | undefined;
|
|
9496
9496
|
};
|
|
9497
9497
|
//#endregion
|
|
9498
9498
|
//#region src/hooks/guardian/useGlobalGuardianState.d.ts
|
|
9499
|
-
declare const useGlobalGuardianState: (guardianAddr?: Address) =>
|
|
9499
|
+
declare const useGlobalGuardianState: (guardianAddr?: Address) => wagmi29.UseReadContractReturnType<readonly [{
|
|
9500
9500
|
readonly type: "function";
|
|
9501
9501
|
readonly name: "batchGetRefTick";
|
|
9502
9502
|
readonly inputs: readonly [{
|
|
@@ -10497,7 +10497,7 @@ declare const useGlobalGuardianState: (guardianAddr?: Address) => wagmi0.UseRead
|
|
|
10497
10497
|
}>;
|
|
10498
10498
|
//#endregion
|
|
10499
10499
|
//#region src/hooks/guardian/useMarketGuardianState.d.ts
|
|
10500
|
-
declare const useMarketGuardianState: (guardianAddr?: Address, marketAddr?: Address) =>
|
|
10500
|
+
declare const useMarketGuardianState: (guardianAddr?: Address, marketAddr?: Address) => wagmi29.UseReadContractReturnType<readonly [{
|
|
10501
10501
|
readonly type: "constructor";
|
|
10502
10502
|
readonly inputs: readonly [];
|
|
10503
10503
|
readonly stateMutability: "nonpayable";
|
|
@@ -11031,25 +11031,31 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11031
11031
|
error: null;
|
|
11032
11032
|
data: undefined;
|
|
11033
11033
|
status: "idle";
|
|
11034
|
-
variables: undefined;
|
|
11035
11034
|
isError: false;
|
|
11036
|
-
isIdle: true;
|
|
11037
11035
|
isPending: false;
|
|
11038
11036
|
isSuccess: false;
|
|
11039
|
-
reset: () => void;
|
|
11040
|
-
context: unknown;
|
|
11041
11037
|
failureCount: number;
|
|
11042
|
-
failureReason:
|
|
11038
|
+
failureReason: _wagmi_core4.WriteContractErrorType | null;
|
|
11043
11039
|
isPaused: boolean;
|
|
11040
|
+
variables: undefined;
|
|
11041
|
+
isIdle: true;
|
|
11042
|
+
reset: () => void;
|
|
11043
|
+
context: unknown;
|
|
11044
11044
|
submittedAt: number;
|
|
11045
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
11046
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
11047
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
11045
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
11046
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
11047
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi29.Config, unknown>;
|
|
11048
11048
|
pauseAllMarkets: (paused: boolean) => Promise<`0x${string}`>;
|
|
11049
11049
|
} | {
|
|
11050
11050
|
error: null;
|
|
11051
11051
|
data: undefined;
|
|
11052
11052
|
status: "pending";
|
|
11053
|
+
isError: false;
|
|
11054
|
+
isPending: true;
|
|
11055
|
+
isSuccess: false;
|
|
11056
|
+
failureCount: number;
|
|
11057
|
+
failureReason: _wagmi_core4.WriteContractErrorType | null;
|
|
11058
|
+
isPaused: boolean;
|
|
11053
11059
|
variables: {
|
|
11054
11060
|
abi: abitype0.Abi;
|
|
11055
11061
|
functionName: string;
|
|
@@ -11073,7 +11079,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11073
11079
|
sidecars?: undefined;
|
|
11074
11080
|
authorizationList?: undefined;
|
|
11075
11081
|
chainId?: number | undefined;
|
|
11076
|
-
connector?:
|
|
11082
|
+
connector?: wagmi29.Connector | undefined;
|
|
11077
11083
|
} | {
|
|
11078
11084
|
abi: abitype0.Abi;
|
|
11079
11085
|
functionName: string;
|
|
@@ -11097,7 +11103,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11097
11103
|
sidecars?: undefined;
|
|
11098
11104
|
authorizationList?: undefined;
|
|
11099
11105
|
chainId?: number | undefined;
|
|
11100
|
-
connector?:
|
|
11106
|
+
connector?: wagmi29.Connector | undefined;
|
|
11101
11107
|
} | {
|
|
11102
11108
|
abi: abitype0.Abi;
|
|
11103
11109
|
functionName: string;
|
|
@@ -11121,7 +11127,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11121
11127
|
sidecars?: undefined;
|
|
11122
11128
|
authorizationList?: undefined;
|
|
11123
11129
|
chainId?: number | undefined;
|
|
11124
|
-
connector?:
|
|
11130
|
+
connector?: wagmi29.Connector | undefined;
|
|
11125
11131
|
} | {
|
|
11126
11132
|
abi: abitype0.Abi;
|
|
11127
11133
|
functionName: string;
|
|
@@ -11145,7 +11151,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11145
11151
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
11146
11152
|
authorizationList?: undefined;
|
|
11147
11153
|
chainId?: number | undefined;
|
|
11148
|
-
connector?:
|
|
11154
|
+
connector?: wagmi29.Connector | undefined;
|
|
11149
11155
|
} | {
|
|
11150
11156
|
abi: abitype0.Abi;
|
|
11151
11157
|
functionName: string;
|
|
@@ -11169,7 +11175,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11169
11175
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
11170
11176
|
authorizationList?: undefined;
|
|
11171
11177
|
chainId?: number | undefined;
|
|
11172
|
-
connector?:
|
|
11178
|
+
connector?: wagmi29.Connector | undefined;
|
|
11173
11179
|
} | {
|
|
11174
11180
|
abi: abitype0.Abi;
|
|
11175
11181
|
functionName: string;
|
|
@@ -11193,26 +11199,26 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11193
11199
|
sidecars?: undefined;
|
|
11194
11200
|
authorizationList?: viem459.AuthorizationList<number, boolean> | undefined;
|
|
11195
11201
|
chainId?: number | undefined;
|
|
11196
|
-
connector?:
|
|
11202
|
+
connector?: wagmi29.Connector | undefined;
|
|
11197
11203
|
};
|
|
11198
|
-
isError: false;
|
|
11199
11204
|
isIdle: false;
|
|
11200
|
-
isPending: true;
|
|
11201
|
-
isSuccess: false;
|
|
11202
11205
|
reset: () => void;
|
|
11203
11206
|
context: unknown;
|
|
11204
|
-
failureCount: number;
|
|
11205
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
11206
|
-
isPaused: boolean;
|
|
11207
11207
|
submittedAt: number;
|
|
11208
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
11209
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
11210
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
11208
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
11209
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
11210
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi29.Config, unknown>;
|
|
11211
11211
|
pauseAllMarkets: (paused: boolean) => Promise<`0x${string}`>;
|
|
11212
11212
|
} | {
|
|
11213
|
-
error:
|
|
11213
|
+
error: _wagmi_core4.WriteContractErrorType;
|
|
11214
11214
|
data: undefined;
|
|
11215
11215
|
status: "error";
|
|
11216
|
+
isError: true;
|
|
11217
|
+
isPending: false;
|
|
11218
|
+
isSuccess: false;
|
|
11219
|
+
failureCount: number;
|
|
11220
|
+
failureReason: _wagmi_core4.WriteContractErrorType | null;
|
|
11221
|
+
isPaused: boolean;
|
|
11216
11222
|
variables: {
|
|
11217
11223
|
abi: abitype0.Abi;
|
|
11218
11224
|
functionName: string;
|
|
@@ -11236,7 +11242,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11236
11242
|
sidecars?: undefined;
|
|
11237
11243
|
authorizationList?: undefined;
|
|
11238
11244
|
chainId?: number | undefined;
|
|
11239
|
-
connector?:
|
|
11245
|
+
connector?: wagmi29.Connector | undefined;
|
|
11240
11246
|
} | {
|
|
11241
11247
|
abi: abitype0.Abi;
|
|
11242
11248
|
functionName: string;
|
|
@@ -11260,7 +11266,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11260
11266
|
sidecars?: undefined;
|
|
11261
11267
|
authorizationList?: undefined;
|
|
11262
11268
|
chainId?: number | undefined;
|
|
11263
|
-
connector?:
|
|
11269
|
+
connector?: wagmi29.Connector | undefined;
|
|
11264
11270
|
} | {
|
|
11265
11271
|
abi: abitype0.Abi;
|
|
11266
11272
|
functionName: string;
|
|
@@ -11284,7 +11290,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11284
11290
|
sidecars?: undefined;
|
|
11285
11291
|
authorizationList?: undefined;
|
|
11286
11292
|
chainId?: number | undefined;
|
|
11287
|
-
connector?:
|
|
11293
|
+
connector?: wagmi29.Connector | undefined;
|
|
11288
11294
|
} | {
|
|
11289
11295
|
abi: abitype0.Abi;
|
|
11290
11296
|
functionName: string;
|
|
@@ -11308,7 +11314,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11308
11314
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
11309
11315
|
authorizationList?: undefined;
|
|
11310
11316
|
chainId?: number | undefined;
|
|
11311
|
-
connector?:
|
|
11317
|
+
connector?: wagmi29.Connector | undefined;
|
|
11312
11318
|
} | {
|
|
11313
11319
|
abi: abitype0.Abi;
|
|
11314
11320
|
functionName: string;
|
|
@@ -11332,7 +11338,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11332
11338
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
11333
11339
|
authorizationList?: undefined;
|
|
11334
11340
|
chainId?: number | undefined;
|
|
11335
|
-
connector?:
|
|
11341
|
+
connector?: wagmi29.Connector | undefined;
|
|
11336
11342
|
} | {
|
|
11337
11343
|
abi: abitype0.Abi;
|
|
11338
11344
|
functionName: string;
|
|
@@ -11356,26 +11362,26 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11356
11362
|
sidecars?: undefined;
|
|
11357
11363
|
authorizationList?: viem459.AuthorizationList<number, boolean> | undefined;
|
|
11358
11364
|
chainId?: number | undefined;
|
|
11359
|
-
connector?:
|
|
11365
|
+
connector?: wagmi29.Connector | undefined;
|
|
11360
11366
|
};
|
|
11361
|
-
isError: true;
|
|
11362
11367
|
isIdle: false;
|
|
11363
|
-
isPending: false;
|
|
11364
|
-
isSuccess: false;
|
|
11365
11368
|
reset: () => void;
|
|
11366
11369
|
context: unknown;
|
|
11367
|
-
failureCount: number;
|
|
11368
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
11369
|
-
isPaused: boolean;
|
|
11370
11370
|
submittedAt: number;
|
|
11371
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
11372
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
11373
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
11371
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
11372
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
11373
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi29.Config, unknown>;
|
|
11374
11374
|
pauseAllMarkets: (paused: boolean) => Promise<`0x${string}`>;
|
|
11375
11375
|
} | {
|
|
11376
11376
|
error: null;
|
|
11377
11377
|
data: `0x${string}`;
|
|
11378
11378
|
status: "success";
|
|
11379
|
+
isError: false;
|
|
11380
|
+
isPending: false;
|
|
11381
|
+
isSuccess: true;
|
|
11382
|
+
failureCount: number;
|
|
11383
|
+
failureReason: _wagmi_core4.WriteContractErrorType | null;
|
|
11384
|
+
isPaused: boolean;
|
|
11379
11385
|
variables: {
|
|
11380
11386
|
abi: abitype0.Abi;
|
|
11381
11387
|
functionName: string;
|
|
@@ -11399,7 +11405,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11399
11405
|
sidecars?: undefined;
|
|
11400
11406
|
authorizationList?: undefined;
|
|
11401
11407
|
chainId?: number | undefined;
|
|
11402
|
-
connector?:
|
|
11408
|
+
connector?: wagmi29.Connector | undefined;
|
|
11403
11409
|
} | {
|
|
11404
11410
|
abi: abitype0.Abi;
|
|
11405
11411
|
functionName: string;
|
|
@@ -11423,7 +11429,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11423
11429
|
sidecars?: undefined;
|
|
11424
11430
|
authorizationList?: undefined;
|
|
11425
11431
|
chainId?: number | undefined;
|
|
11426
|
-
connector?:
|
|
11432
|
+
connector?: wagmi29.Connector | undefined;
|
|
11427
11433
|
} | {
|
|
11428
11434
|
abi: abitype0.Abi;
|
|
11429
11435
|
functionName: string;
|
|
@@ -11447,7 +11453,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11447
11453
|
sidecars?: undefined;
|
|
11448
11454
|
authorizationList?: undefined;
|
|
11449
11455
|
chainId?: number | undefined;
|
|
11450
|
-
connector?:
|
|
11456
|
+
connector?: wagmi29.Connector | undefined;
|
|
11451
11457
|
} | {
|
|
11452
11458
|
abi: abitype0.Abi;
|
|
11453
11459
|
functionName: string;
|
|
@@ -11471,7 +11477,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11471
11477
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
11472
11478
|
authorizationList?: undefined;
|
|
11473
11479
|
chainId?: number | undefined;
|
|
11474
|
-
connector?:
|
|
11480
|
+
connector?: wagmi29.Connector | undefined;
|
|
11475
11481
|
} | {
|
|
11476
11482
|
abi: abitype0.Abi;
|
|
11477
11483
|
functionName: string;
|
|
@@ -11495,7 +11501,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11495
11501
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
11496
11502
|
authorizationList?: undefined;
|
|
11497
11503
|
chainId?: number | undefined;
|
|
11498
|
-
connector?:
|
|
11504
|
+
connector?: wagmi29.Connector | undefined;
|
|
11499
11505
|
} | {
|
|
11500
11506
|
abi: abitype0.Abi;
|
|
11501
11507
|
functionName: string;
|
|
@@ -11519,21 +11525,15 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11519
11525
|
sidecars?: undefined;
|
|
11520
11526
|
authorizationList?: viem459.AuthorizationList<number, boolean> | undefined;
|
|
11521
11527
|
chainId?: number | undefined;
|
|
11522
|
-
connector?:
|
|
11528
|
+
connector?: wagmi29.Connector | undefined;
|
|
11523
11529
|
};
|
|
11524
|
-
isError: false;
|
|
11525
11530
|
isIdle: false;
|
|
11526
|
-
isPending: false;
|
|
11527
|
-
isSuccess: true;
|
|
11528
11531
|
reset: () => void;
|
|
11529
11532
|
context: unknown;
|
|
11530
|
-
failureCount: number;
|
|
11531
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
11532
|
-
isPaused: boolean;
|
|
11533
11533
|
submittedAt: number;
|
|
11534
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
11535
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
11536
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
11534
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
11535
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
11536
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi29.Config, unknown>;
|
|
11537
11537
|
pauseAllMarkets: (paused: boolean) => Promise<`0x${string}`>;
|
|
11538
11538
|
};
|
|
11539
11539
|
//#endregion
|
|
@@ -11542,25 +11542,31 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11542
11542
|
error: null;
|
|
11543
11543
|
data: undefined;
|
|
11544
11544
|
status: "idle";
|
|
11545
|
-
variables: undefined;
|
|
11546
11545
|
isError: false;
|
|
11547
|
-
isIdle: true;
|
|
11548
11546
|
isPending: false;
|
|
11549
11547
|
isSuccess: false;
|
|
11550
|
-
reset: () => void;
|
|
11551
|
-
context: unknown;
|
|
11552
11548
|
failureCount: number;
|
|
11553
|
-
failureReason:
|
|
11549
|
+
failureReason: _wagmi_core4.WriteContractErrorType | null;
|
|
11554
11550
|
isPaused: boolean;
|
|
11551
|
+
variables: undefined;
|
|
11552
|
+
isIdle: true;
|
|
11553
|
+
reset: () => void;
|
|
11554
|
+
context: unknown;
|
|
11555
11555
|
submittedAt: number;
|
|
11556
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
11557
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
11558
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
11556
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
11557
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
11558
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi29.Config, unknown>;
|
|
11559
11559
|
pauseMarket: (paused: boolean) => Promise<`0x${string}`>;
|
|
11560
11560
|
} | {
|
|
11561
11561
|
error: null;
|
|
11562
11562
|
data: undefined;
|
|
11563
11563
|
status: "pending";
|
|
11564
|
+
isError: false;
|
|
11565
|
+
isPending: true;
|
|
11566
|
+
isSuccess: false;
|
|
11567
|
+
failureCount: number;
|
|
11568
|
+
failureReason: _wagmi_core4.WriteContractErrorType | null;
|
|
11569
|
+
isPaused: boolean;
|
|
11564
11570
|
variables: {
|
|
11565
11571
|
abi: abitype0.Abi;
|
|
11566
11572
|
functionName: string;
|
|
@@ -11584,7 +11590,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11584
11590
|
sidecars?: undefined;
|
|
11585
11591
|
authorizationList?: undefined;
|
|
11586
11592
|
chainId?: number | undefined;
|
|
11587
|
-
connector?:
|
|
11593
|
+
connector?: wagmi29.Connector | undefined;
|
|
11588
11594
|
} | {
|
|
11589
11595
|
abi: abitype0.Abi;
|
|
11590
11596
|
functionName: string;
|
|
@@ -11608,7 +11614,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11608
11614
|
sidecars?: undefined;
|
|
11609
11615
|
authorizationList?: undefined;
|
|
11610
11616
|
chainId?: number | undefined;
|
|
11611
|
-
connector?:
|
|
11617
|
+
connector?: wagmi29.Connector | undefined;
|
|
11612
11618
|
} | {
|
|
11613
11619
|
abi: abitype0.Abi;
|
|
11614
11620
|
functionName: string;
|
|
@@ -11632,7 +11638,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11632
11638
|
sidecars?: undefined;
|
|
11633
11639
|
authorizationList?: undefined;
|
|
11634
11640
|
chainId?: number | undefined;
|
|
11635
|
-
connector?:
|
|
11641
|
+
connector?: wagmi29.Connector | undefined;
|
|
11636
11642
|
} | {
|
|
11637
11643
|
abi: abitype0.Abi;
|
|
11638
11644
|
functionName: string;
|
|
@@ -11656,7 +11662,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11656
11662
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
11657
11663
|
authorizationList?: undefined;
|
|
11658
11664
|
chainId?: number | undefined;
|
|
11659
|
-
connector?:
|
|
11665
|
+
connector?: wagmi29.Connector | undefined;
|
|
11660
11666
|
} | {
|
|
11661
11667
|
abi: abitype0.Abi;
|
|
11662
11668
|
functionName: string;
|
|
@@ -11680,7 +11686,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11680
11686
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
11681
11687
|
authorizationList?: undefined;
|
|
11682
11688
|
chainId?: number | undefined;
|
|
11683
|
-
connector?:
|
|
11689
|
+
connector?: wagmi29.Connector | undefined;
|
|
11684
11690
|
} | {
|
|
11685
11691
|
abi: abitype0.Abi;
|
|
11686
11692
|
functionName: string;
|
|
@@ -11704,26 +11710,26 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11704
11710
|
sidecars?: undefined;
|
|
11705
11711
|
authorizationList?: viem459.AuthorizationList<number, boolean> | undefined;
|
|
11706
11712
|
chainId?: number | undefined;
|
|
11707
|
-
connector?:
|
|
11713
|
+
connector?: wagmi29.Connector | undefined;
|
|
11708
11714
|
};
|
|
11709
|
-
isError: false;
|
|
11710
11715
|
isIdle: false;
|
|
11711
|
-
isPending: true;
|
|
11712
|
-
isSuccess: false;
|
|
11713
11716
|
reset: () => void;
|
|
11714
11717
|
context: unknown;
|
|
11715
|
-
failureCount: number;
|
|
11716
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
11717
|
-
isPaused: boolean;
|
|
11718
11718
|
submittedAt: number;
|
|
11719
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
11720
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
11721
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
11719
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
11720
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
11721
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi29.Config, unknown>;
|
|
11722
11722
|
pauseMarket: (paused: boolean) => Promise<`0x${string}`>;
|
|
11723
11723
|
} | {
|
|
11724
|
-
error:
|
|
11724
|
+
error: _wagmi_core4.WriteContractErrorType;
|
|
11725
11725
|
data: undefined;
|
|
11726
11726
|
status: "error";
|
|
11727
|
+
isError: true;
|
|
11728
|
+
isPending: false;
|
|
11729
|
+
isSuccess: false;
|
|
11730
|
+
failureCount: number;
|
|
11731
|
+
failureReason: _wagmi_core4.WriteContractErrorType | null;
|
|
11732
|
+
isPaused: boolean;
|
|
11727
11733
|
variables: {
|
|
11728
11734
|
abi: abitype0.Abi;
|
|
11729
11735
|
functionName: string;
|
|
@@ -11747,7 +11753,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11747
11753
|
sidecars?: undefined;
|
|
11748
11754
|
authorizationList?: undefined;
|
|
11749
11755
|
chainId?: number | undefined;
|
|
11750
|
-
connector?:
|
|
11756
|
+
connector?: wagmi29.Connector | undefined;
|
|
11751
11757
|
} | {
|
|
11752
11758
|
abi: abitype0.Abi;
|
|
11753
11759
|
functionName: string;
|
|
@@ -11771,7 +11777,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11771
11777
|
sidecars?: undefined;
|
|
11772
11778
|
authorizationList?: undefined;
|
|
11773
11779
|
chainId?: number | undefined;
|
|
11774
|
-
connector?:
|
|
11780
|
+
connector?: wagmi29.Connector | undefined;
|
|
11775
11781
|
} | {
|
|
11776
11782
|
abi: abitype0.Abi;
|
|
11777
11783
|
functionName: string;
|
|
@@ -11795,7 +11801,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11795
11801
|
sidecars?: undefined;
|
|
11796
11802
|
authorizationList?: undefined;
|
|
11797
11803
|
chainId?: number | undefined;
|
|
11798
|
-
connector?:
|
|
11804
|
+
connector?: wagmi29.Connector | undefined;
|
|
11799
11805
|
} | {
|
|
11800
11806
|
abi: abitype0.Abi;
|
|
11801
11807
|
functionName: string;
|
|
@@ -11819,7 +11825,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11819
11825
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
11820
11826
|
authorizationList?: undefined;
|
|
11821
11827
|
chainId?: number | undefined;
|
|
11822
|
-
connector?:
|
|
11828
|
+
connector?: wagmi29.Connector | undefined;
|
|
11823
11829
|
} | {
|
|
11824
11830
|
abi: abitype0.Abi;
|
|
11825
11831
|
functionName: string;
|
|
@@ -11843,7 +11849,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11843
11849
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
11844
11850
|
authorizationList?: undefined;
|
|
11845
11851
|
chainId?: number | undefined;
|
|
11846
|
-
connector?:
|
|
11852
|
+
connector?: wagmi29.Connector | undefined;
|
|
11847
11853
|
} | {
|
|
11848
11854
|
abi: abitype0.Abi;
|
|
11849
11855
|
functionName: string;
|
|
@@ -11867,26 +11873,26 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11867
11873
|
sidecars?: undefined;
|
|
11868
11874
|
authorizationList?: viem459.AuthorizationList<number, boolean> | undefined;
|
|
11869
11875
|
chainId?: number | undefined;
|
|
11870
|
-
connector?:
|
|
11876
|
+
connector?: wagmi29.Connector | undefined;
|
|
11871
11877
|
};
|
|
11872
|
-
isError: true;
|
|
11873
11878
|
isIdle: false;
|
|
11874
|
-
isPending: false;
|
|
11875
|
-
isSuccess: false;
|
|
11876
11879
|
reset: () => void;
|
|
11877
11880
|
context: unknown;
|
|
11878
|
-
failureCount: number;
|
|
11879
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
11880
|
-
isPaused: boolean;
|
|
11881
11881
|
submittedAt: number;
|
|
11882
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
11883
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
11884
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
11882
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
11883
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
11884
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi29.Config, unknown>;
|
|
11885
11885
|
pauseMarket: (paused: boolean) => Promise<`0x${string}`>;
|
|
11886
11886
|
} | {
|
|
11887
11887
|
error: null;
|
|
11888
11888
|
data: `0x${string}`;
|
|
11889
11889
|
status: "success";
|
|
11890
|
+
isError: false;
|
|
11891
|
+
isPending: false;
|
|
11892
|
+
isSuccess: true;
|
|
11893
|
+
failureCount: number;
|
|
11894
|
+
failureReason: _wagmi_core4.WriteContractErrorType | null;
|
|
11895
|
+
isPaused: boolean;
|
|
11890
11896
|
variables: {
|
|
11891
11897
|
abi: abitype0.Abi;
|
|
11892
11898
|
functionName: string;
|
|
@@ -11910,7 +11916,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11910
11916
|
sidecars?: undefined;
|
|
11911
11917
|
authorizationList?: undefined;
|
|
11912
11918
|
chainId?: number | undefined;
|
|
11913
|
-
connector?:
|
|
11919
|
+
connector?: wagmi29.Connector | undefined;
|
|
11914
11920
|
} | {
|
|
11915
11921
|
abi: abitype0.Abi;
|
|
11916
11922
|
functionName: string;
|
|
@@ -11934,7 +11940,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11934
11940
|
sidecars?: undefined;
|
|
11935
11941
|
authorizationList?: undefined;
|
|
11936
11942
|
chainId?: number | undefined;
|
|
11937
|
-
connector?:
|
|
11943
|
+
connector?: wagmi29.Connector | undefined;
|
|
11938
11944
|
} | {
|
|
11939
11945
|
abi: abitype0.Abi;
|
|
11940
11946
|
functionName: string;
|
|
@@ -11958,7 +11964,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11958
11964
|
sidecars?: undefined;
|
|
11959
11965
|
authorizationList?: undefined;
|
|
11960
11966
|
chainId?: number | undefined;
|
|
11961
|
-
connector?:
|
|
11967
|
+
connector?: wagmi29.Connector | undefined;
|
|
11962
11968
|
} | {
|
|
11963
11969
|
abi: abitype0.Abi;
|
|
11964
11970
|
functionName: string;
|
|
@@ -11982,7 +11988,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11982
11988
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
11983
11989
|
authorizationList?: undefined;
|
|
11984
11990
|
chainId?: number | undefined;
|
|
11985
|
-
connector?:
|
|
11991
|
+
connector?: wagmi29.Connector | undefined;
|
|
11986
11992
|
} | {
|
|
11987
11993
|
abi: abitype0.Abi;
|
|
11988
11994
|
functionName: string;
|
|
@@ -12006,7 +12012,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
12006
12012
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
12007
12013
|
authorizationList?: undefined;
|
|
12008
12014
|
chainId?: number | undefined;
|
|
12009
|
-
connector?:
|
|
12015
|
+
connector?: wagmi29.Connector | undefined;
|
|
12010
12016
|
} | {
|
|
12011
12017
|
abi: abitype0.Abi;
|
|
12012
12018
|
functionName: string;
|
|
@@ -12030,26 +12036,20 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
12030
12036
|
sidecars?: undefined;
|
|
12031
12037
|
authorizationList?: viem459.AuthorizationList<number, boolean> | undefined;
|
|
12032
12038
|
chainId?: number | undefined;
|
|
12033
|
-
connector?:
|
|
12039
|
+
connector?: wagmi29.Connector | undefined;
|
|
12034
12040
|
};
|
|
12035
|
-
isError: false;
|
|
12036
12041
|
isIdle: false;
|
|
12037
|
-
isPending: false;
|
|
12038
|
-
isSuccess: true;
|
|
12039
12042
|
reset: () => void;
|
|
12040
12043
|
context: unknown;
|
|
12041
|
-
failureCount: number;
|
|
12042
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
12043
|
-
isPaused: boolean;
|
|
12044
12044
|
submittedAt: number;
|
|
12045
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
12046
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
12047
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
12045
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
12046
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
12047
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi29.Config, unknown>;
|
|
12048
12048
|
pauseMarket: (paused: boolean) => Promise<`0x${string}`>;
|
|
12049
12049
|
};
|
|
12050
12050
|
//#endregion
|
|
12051
12051
|
//#region src/hooks/fees/useFeeRates.d.ts
|
|
12052
|
-
declare const useFeeRates: (feeStrategy?: Address) =>
|
|
12052
|
+
declare const useFeeRates: (feeStrategy?: Address) => wagmi29.UseReadContractReturnType<readonly [{
|
|
12053
12053
|
readonly type: "function";
|
|
12054
12054
|
readonly name: "batchGetRefTick";
|
|
12055
12055
|
readonly inputs: readonly [{
|
|
@@ -13044,20 +13044,20 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13044
13044
|
error: null;
|
|
13045
13045
|
data: undefined;
|
|
13046
13046
|
status: "idle";
|
|
13047
|
-
variables: undefined;
|
|
13048
13047
|
isError: false;
|
|
13049
|
-
isIdle: true;
|
|
13050
13048
|
isPending: false;
|
|
13051
13049
|
isSuccess: false;
|
|
13052
|
-
reset: () => void;
|
|
13053
|
-
context: unknown;
|
|
13054
13050
|
failureCount: number;
|
|
13055
|
-
failureReason:
|
|
13051
|
+
failureReason: _wagmi_core4.WriteContractErrorType | null;
|
|
13056
13052
|
isPaused: boolean;
|
|
13053
|
+
variables: undefined;
|
|
13054
|
+
isIdle: true;
|
|
13055
|
+
reset: () => void;
|
|
13056
|
+
context: unknown;
|
|
13057
13057
|
submittedAt: number;
|
|
13058
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
13059
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
13060
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
13058
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
13059
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
13060
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi29.Config, unknown>;
|
|
13061
13061
|
updateMarketFees: (rates: {
|
|
13062
13062
|
openingFeeRate?: number;
|
|
13063
13063
|
extensionFeeRate?: number;
|
|
@@ -13073,6 +13073,12 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13073
13073
|
error: null;
|
|
13074
13074
|
data: undefined;
|
|
13075
13075
|
status: "pending";
|
|
13076
|
+
isError: false;
|
|
13077
|
+
isPending: true;
|
|
13078
|
+
isSuccess: false;
|
|
13079
|
+
failureCount: number;
|
|
13080
|
+
failureReason: _wagmi_core4.WriteContractErrorType | null;
|
|
13081
|
+
isPaused: boolean;
|
|
13076
13082
|
variables: {
|
|
13077
13083
|
abi: abitype0.Abi;
|
|
13078
13084
|
functionName: string;
|
|
@@ -13096,7 +13102,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13096
13102
|
sidecars?: undefined;
|
|
13097
13103
|
authorizationList?: undefined;
|
|
13098
13104
|
chainId?: number | undefined;
|
|
13099
|
-
connector?:
|
|
13105
|
+
connector?: wagmi29.Connector | undefined;
|
|
13100
13106
|
} | {
|
|
13101
13107
|
abi: abitype0.Abi;
|
|
13102
13108
|
functionName: string;
|
|
@@ -13120,7 +13126,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13120
13126
|
sidecars?: undefined;
|
|
13121
13127
|
authorizationList?: undefined;
|
|
13122
13128
|
chainId?: number | undefined;
|
|
13123
|
-
connector?:
|
|
13129
|
+
connector?: wagmi29.Connector | undefined;
|
|
13124
13130
|
} | {
|
|
13125
13131
|
abi: abitype0.Abi;
|
|
13126
13132
|
functionName: string;
|
|
@@ -13144,7 +13150,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13144
13150
|
sidecars?: undefined;
|
|
13145
13151
|
authorizationList?: undefined;
|
|
13146
13152
|
chainId?: number | undefined;
|
|
13147
|
-
connector?:
|
|
13153
|
+
connector?: wagmi29.Connector | undefined;
|
|
13148
13154
|
} | {
|
|
13149
13155
|
abi: abitype0.Abi;
|
|
13150
13156
|
functionName: string;
|
|
@@ -13168,7 +13174,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13168
13174
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
13169
13175
|
authorizationList?: undefined;
|
|
13170
13176
|
chainId?: number | undefined;
|
|
13171
|
-
connector?:
|
|
13177
|
+
connector?: wagmi29.Connector | undefined;
|
|
13172
13178
|
} | {
|
|
13173
13179
|
abi: abitype0.Abi;
|
|
13174
13180
|
functionName: string;
|
|
@@ -13192,7 +13198,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13192
13198
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
13193
13199
|
authorizationList?: undefined;
|
|
13194
13200
|
chainId?: number | undefined;
|
|
13195
|
-
connector?:
|
|
13201
|
+
connector?: wagmi29.Connector | undefined;
|
|
13196
13202
|
} | {
|
|
13197
13203
|
abi: abitype0.Abi;
|
|
13198
13204
|
functionName: string;
|
|
@@ -13216,21 +13222,15 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13216
13222
|
sidecars?: undefined;
|
|
13217
13223
|
authorizationList?: viem459.AuthorizationList<number, boolean> | undefined;
|
|
13218
13224
|
chainId?: number | undefined;
|
|
13219
|
-
connector?:
|
|
13225
|
+
connector?: wagmi29.Connector | undefined;
|
|
13220
13226
|
};
|
|
13221
|
-
isError: false;
|
|
13222
13227
|
isIdle: false;
|
|
13223
|
-
isPending: true;
|
|
13224
|
-
isSuccess: false;
|
|
13225
13228
|
reset: () => void;
|
|
13226
13229
|
context: unknown;
|
|
13227
|
-
failureCount: number;
|
|
13228
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
13229
|
-
isPaused: boolean;
|
|
13230
13230
|
submittedAt: number;
|
|
13231
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
13232
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
13233
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
13231
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
13232
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
13233
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi29.Config, unknown>;
|
|
13234
13234
|
updateMarketFees: (rates: {
|
|
13235
13235
|
openingFeeRate?: number;
|
|
13236
13236
|
extensionFeeRate?: number;
|
|
@@ -13243,9 +13243,15 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13243
13243
|
newFeeStrategy: `0x${string}`;
|
|
13244
13244
|
}>;
|
|
13245
13245
|
} | {
|
|
13246
|
-
error:
|
|
13246
|
+
error: _wagmi_core4.WriteContractErrorType;
|
|
13247
13247
|
data: undefined;
|
|
13248
13248
|
status: "error";
|
|
13249
|
+
isError: true;
|
|
13250
|
+
isPending: false;
|
|
13251
|
+
isSuccess: false;
|
|
13252
|
+
failureCount: number;
|
|
13253
|
+
failureReason: _wagmi_core4.WriteContractErrorType | null;
|
|
13254
|
+
isPaused: boolean;
|
|
13249
13255
|
variables: {
|
|
13250
13256
|
abi: abitype0.Abi;
|
|
13251
13257
|
functionName: string;
|
|
@@ -13269,7 +13275,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13269
13275
|
sidecars?: undefined;
|
|
13270
13276
|
authorizationList?: undefined;
|
|
13271
13277
|
chainId?: number | undefined;
|
|
13272
|
-
connector?:
|
|
13278
|
+
connector?: wagmi29.Connector | undefined;
|
|
13273
13279
|
} | {
|
|
13274
13280
|
abi: abitype0.Abi;
|
|
13275
13281
|
functionName: string;
|
|
@@ -13293,7 +13299,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13293
13299
|
sidecars?: undefined;
|
|
13294
13300
|
authorizationList?: undefined;
|
|
13295
13301
|
chainId?: number | undefined;
|
|
13296
|
-
connector?:
|
|
13302
|
+
connector?: wagmi29.Connector | undefined;
|
|
13297
13303
|
} | {
|
|
13298
13304
|
abi: abitype0.Abi;
|
|
13299
13305
|
functionName: string;
|
|
@@ -13317,7 +13323,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13317
13323
|
sidecars?: undefined;
|
|
13318
13324
|
authorizationList?: undefined;
|
|
13319
13325
|
chainId?: number | undefined;
|
|
13320
|
-
connector?:
|
|
13326
|
+
connector?: wagmi29.Connector | undefined;
|
|
13321
13327
|
} | {
|
|
13322
13328
|
abi: abitype0.Abi;
|
|
13323
13329
|
functionName: string;
|
|
@@ -13341,7 +13347,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13341
13347
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
13342
13348
|
authorizationList?: undefined;
|
|
13343
13349
|
chainId?: number | undefined;
|
|
13344
|
-
connector?:
|
|
13350
|
+
connector?: wagmi29.Connector | undefined;
|
|
13345
13351
|
} | {
|
|
13346
13352
|
abi: abitype0.Abi;
|
|
13347
13353
|
functionName: string;
|
|
@@ -13365,7 +13371,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13365
13371
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
13366
13372
|
authorizationList?: undefined;
|
|
13367
13373
|
chainId?: number | undefined;
|
|
13368
|
-
connector?:
|
|
13374
|
+
connector?: wagmi29.Connector | undefined;
|
|
13369
13375
|
} | {
|
|
13370
13376
|
abi: abitype0.Abi;
|
|
13371
13377
|
functionName: string;
|
|
@@ -13389,21 +13395,15 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13389
13395
|
sidecars?: undefined;
|
|
13390
13396
|
authorizationList?: viem459.AuthorizationList<number, boolean> | undefined;
|
|
13391
13397
|
chainId?: number | undefined;
|
|
13392
|
-
connector?:
|
|
13398
|
+
connector?: wagmi29.Connector | undefined;
|
|
13393
13399
|
};
|
|
13394
|
-
isError: true;
|
|
13395
13400
|
isIdle: false;
|
|
13396
|
-
isPending: false;
|
|
13397
|
-
isSuccess: false;
|
|
13398
13401
|
reset: () => void;
|
|
13399
13402
|
context: unknown;
|
|
13400
|
-
failureCount: number;
|
|
13401
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
13402
|
-
isPaused: boolean;
|
|
13403
13403
|
submittedAt: number;
|
|
13404
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
13405
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
13406
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
13404
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
13405
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
13406
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi29.Config, unknown>;
|
|
13407
13407
|
updateMarketFees: (rates: {
|
|
13408
13408
|
openingFeeRate?: number;
|
|
13409
13409
|
extensionFeeRate?: number;
|
|
@@ -13419,6 +13419,12 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13419
13419
|
error: null;
|
|
13420
13420
|
data: `0x${string}`;
|
|
13421
13421
|
status: "success";
|
|
13422
|
+
isError: false;
|
|
13423
|
+
isPending: false;
|
|
13424
|
+
isSuccess: true;
|
|
13425
|
+
failureCount: number;
|
|
13426
|
+
failureReason: _wagmi_core4.WriteContractErrorType | null;
|
|
13427
|
+
isPaused: boolean;
|
|
13422
13428
|
variables: {
|
|
13423
13429
|
abi: abitype0.Abi;
|
|
13424
13430
|
functionName: string;
|
|
@@ -13442,7 +13448,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13442
13448
|
sidecars?: undefined;
|
|
13443
13449
|
authorizationList?: undefined;
|
|
13444
13450
|
chainId?: number | undefined;
|
|
13445
|
-
connector?:
|
|
13451
|
+
connector?: wagmi29.Connector | undefined;
|
|
13446
13452
|
} | {
|
|
13447
13453
|
abi: abitype0.Abi;
|
|
13448
13454
|
functionName: string;
|
|
@@ -13466,7 +13472,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13466
13472
|
sidecars?: undefined;
|
|
13467
13473
|
authorizationList?: undefined;
|
|
13468
13474
|
chainId?: number | undefined;
|
|
13469
|
-
connector?:
|
|
13475
|
+
connector?: wagmi29.Connector | undefined;
|
|
13470
13476
|
} | {
|
|
13471
13477
|
abi: abitype0.Abi;
|
|
13472
13478
|
functionName: string;
|
|
@@ -13490,7 +13496,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13490
13496
|
sidecars?: undefined;
|
|
13491
13497
|
authorizationList?: undefined;
|
|
13492
13498
|
chainId?: number | undefined;
|
|
13493
|
-
connector?:
|
|
13499
|
+
connector?: wagmi29.Connector | undefined;
|
|
13494
13500
|
} | {
|
|
13495
13501
|
abi: abitype0.Abi;
|
|
13496
13502
|
functionName: string;
|
|
@@ -13514,7 +13520,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13514
13520
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
13515
13521
|
authorizationList?: undefined;
|
|
13516
13522
|
chainId?: number | undefined;
|
|
13517
|
-
connector?:
|
|
13523
|
+
connector?: wagmi29.Connector | undefined;
|
|
13518
13524
|
} | {
|
|
13519
13525
|
abi: abitype0.Abi;
|
|
13520
13526
|
functionName: string;
|
|
@@ -13538,7 +13544,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13538
13544
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
13539
13545
|
authorizationList?: undefined;
|
|
13540
13546
|
chainId?: number | undefined;
|
|
13541
|
-
connector?:
|
|
13547
|
+
connector?: wagmi29.Connector | undefined;
|
|
13542
13548
|
} | {
|
|
13543
13549
|
abi: abitype0.Abi;
|
|
13544
13550
|
functionName: string;
|
|
@@ -13562,21 +13568,15 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13562
13568
|
sidecars?: undefined;
|
|
13563
13569
|
authorizationList?: viem459.AuthorizationList<number, boolean> | undefined;
|
|
13564
13570
|
chainId?: number | undefined;
|
|
13565
|
-
connector?:
|
|
13571
|
+
connector?: wagmi29.Connector | undefined;
|
|
13566
13572
|
};
|
|
13567
|
-
isError: false;
|
|
13568
13573
|
isIdle: false;
|
|
13569
|
-
isPending: false;
|
|
13570
|
-
isSuccess: true;
|
|
13571
13574
|
reset: () => void;
|
|
13572
13575
|
context: unknown;
|
|
13573
|
-
failureCount: number;
|
|
13574
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
13575
|
-
isPaused: boolean;
|
|
13576
13576
|
submittedAt: number;
|
|
13577
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
13578
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
13579
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
13577
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
13578
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
13579
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi29.Config, unknown>;
|
|
13580
13580
|
updateMarketFees: (rates: {
|
|
13581
13581
|
openingFeeRate?: number;
|
|
13582
13582
|
extensionFeeRate?: number;
|
|
@@ -13607,7 +13607,7 @@ type OptionPricingParams = {
|
|
|
13607
13607
|
minPremiumAmount: bigint;
|
|
13608
13608
|
};
|
|
13609
13609
|
type PricingParams = StaticPricingParams | OptionPricingParams;
|
|
13610
|
-
declare const usePricingParams: (pricingAddr: Address | undefined) =>
|
|
13610
|
+
declare const usePricingParams: (pricingAddr: Address | undefined) => wagmi29.UseReadContractReturnType<readonly [{
|
|
13611
13611
|
readonly type: "function";
|
|
13612
13612
|
readonly name: "batchGetRefTick";
|
|
13613
13613
|
readonly inputs: readonly [{
|
|
@@ -14613,20 +14613,20 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14613
14613
|
error: null;
|
|
14614
14614
|
data: undefined;
|
|
14615
14615
|
status: "idle";
|
|
14616
|
-
variables: undefined;
|
|
14617
14616
|
isError: false;
|
|
14618
|
-
isIdle: true;
|
|
14619
14617
|
isPending: false;
|
|
14620
14618
|
isSuccess: false;
|
|
14621
|
-
reset: () => void;
|
|
14622
|
-
context: unknown;
|
|
14623
14619
|
failureCount: number;
|
|
14624
|
-
failureReason:
|
|
14620
|
+
failureReason: _wagmi_core4.WriteContractErrorType | null;
|
|
14625
14621
|
isPaused: boolean;
|
|
14622
|
+
variables: undefined;
|
|
14623
|
+
isIdle: true;
|
|
14624
|
+
reset: () => void;
|
|
14625
|
+
context: unknown;
|
|
14626
14626
|
submittedAt: number;
|
|
14627
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
14628
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
14629
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
14627
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
14628
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
14629
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi29.Config, unknown>;
|
|
14630
14630
|
updateMarketPricing: <T extends "static" | "bsm">(data: T extends "static" ? Partial<StaticPricingParams> & {
|
|
14631
14631
|
model: "static";
|
|
14632
14632
|
} : Partial<OptionPricingParams> & {
|
|
@@ -14640,6 +14640,12 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14640
14640
|
error: null;
|
|
14641
14641
|
data: undefined;
|
|
14642
14642
|
status: "pending";
|
|
14643
|
+
isError: false;
|
|
14644
|
+
isPending: true;
|
|
14645
|
+
isSuccess: false;
|
|
14646
|
+
failureCount: number;
|
|
14647
|
+
failureReason: _wagmi_core4.WriteContractErrorType | null;
|
|
14648
|
+
isPaused: boolean;
|
|
14643
14649
|
variables: {
|
|
14644
14650
|
abi: abitype0.Abi;
|
|
14645
14651
|
functionName: string;
|
|
@@ -14663,7 +14669,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14663
14669
|
sidecars?: undefined;
|
|
14664
14670
|
authorizationList?: undefined;
|
|
14665
14671
|
chainId?: number | undefined;
|
|
14666
|
-
connector?:
|
|
14672
|
+
connector?: wagmi29.Connector | undefined;
|
|
14667
14673
|
} | {
|
|
14668
14674
|
abi: abitype0.Abi;
|
|
14669
14675
|
functionName: string;
|
|
@@ -14687,7 +14693,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14687
14693
|
sidecars?: undefined;
|
|
14688
14694
|
authorizationList?: undefined;
|
|
14689
14695
|
chainId?: number | undefined;
|
|
14690
|
-
connector?:
|
|
14696
|
+
connector?: wagmi29.Connector | undefined;
|
|
14691
14697
|
} | {
|
|
14692
14698
|
abi: abitype0.Abi;
|
|
14693
14699
|
functionName: string;
|
|
@@ -14711,7 +14717,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14711
14717
|
sidecars?: undefined;
|
|
14712
14718
|
authorizationList?: undefined;
|
|
14713
14719
|
chainId?: number | undefined;
|
|
14714
|
-
connector?:
|
|
14720
|
+
connector?: wagmi29.Connector | undefined;
|
|
14715
14721
|
} | {
|
|
14716
14722
|
abi: abitype0.Abi;
|
|
14717
14723
|
functionName: string;
|
|
@@ -14735,7 +14741,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14735
14741
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
14736
14742
|
authorizationList?: undefined;
|
|
14737
14743
|
chainId?: number | undefined;
|
|
14738
|
-
connector?:
|
|
14744
|
+
connector?: wagmi29.Connector | undefined;
|
|
14739
14745
|
} | {
|
|
14740
14746
|
abi: abitype0.Abi;
|
|
14741
14747
|
functionName: string;
|
|
@@ -14759,7 +14765,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14759
14765
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
14760
14766
|
authorizationList?: undefined;
|
|
14761
14767
|
chainId?: number | undefined;
|
|
14762
|
-
connector?:
|
|
14768
|
+
connector?: wagmi29.Connector | undefined;
|
|
14763
14769
|
} | {
|
|
14764
14770
|
abi: abitype0.Abi;
|
|
14765
14771
|
functionName: string;
|
|
@@ -14783,21 +14789,15 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14783
14789
|
sidecars?: undefined;
|
|
14784
14790
|
authorizationList?: viem459.AuthorizationList<number, boolean> | undefined;
|
|
14785
14791
|
chainId?: number | undefined;
|
|
14786
|
-
connector?:
|
|
14792
|
+
connector?: wagmi29.Connector | undefined;
|
|
14787
14793
|
};
|
|
14788
|
-
isError: false;
|
|
14789
14794
|
isIdle: false;
|
|
14790
|
-
isPending: true;
|
|
14791
|
-
isSuccess: false;
|
|
14792
14795
|
reset: () => void;
|
|
14793
14796
|
context: unknown;
|
|
14794
|
-
failureCount: number;
|
|
14795
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
14796
|
-
isPaused: boolean;
|
|
14797
14797
|
submittedAt: number;
|
|
14798
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
14799
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
14800
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
14798
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
14799
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
14800
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi29.Config, unknown>;
|
|
14801
14801
|
updateMarketPricing: <T extends "static" | "bsm">(data: T extends "static" ? Partial<StaticPricingParams> & {
|
|
14802
14802
|
model: "static";
|
|
14803
14803
|
} : Partial<OptionPricingParams> & {
|
|
@@ -14808,9 +14808,15 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14808
14808
|
newPricingAddr: `0x${string}`;
|
|
14809
14809
|
}>;
|
|
14810
14810
|
} | {
|
|
14811
|
-
error:
|
|
14811
|
+
error: _wagmi_core4.WriteContractErrorType;
|
|
14812
14812
|
data: undefined;
|
|
14813
14813
|
status: "error";
|
|
14814
|
+
isError: true;
|
|
14815
|
+
isPending: false;
|
|
14816
|
+
isSuccess: false;
|
|
14817
|
+
failureCount: number;
|
|
14818
|
+
failureReason: _wagmi_core4.WriteContractErrorType | null;
|
|
14819
|
+
isPaused: boolean;
|
|
14814
14820
|
variables: {
|
|
14815
14821
|
abi: abitype0.Abi;
|
|
14816
14822
|
functionName: string;
|
|
@@ -14834,7 +14840,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14834
14840
|
sidecars?: undefined;
|
|
14835
14841
|
authorizationList?: undefined;
|
|
14836
14842
|
chainId?: number | undefined;
|
|
14837
|
-
connector?:
|
|
14843
|
+
connector?: wagmi29.Connector | undefined;
|
|
14838
14844
|
} | {
|
|
14839
14845
|
abi: abitype0.Abi;
|
|
14840
14846
|
functionName: string;
|
|
@@ -14858,7 +14864,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14858
14864
|
sidecars?: undefined;
|
|
14859
14865
|
authorizationList?: undefined;
|
|
14860
14866
|
chainId?: number | undefined;
|
|
14861
|
-
connector?:
|
|
14867
|
+
connector?: wagmi29.Connector | undefined;
|
|
14862
14868
|
} | {
|
|
14863
14869
|
abi: abitype0.Abi;
|
|
14864
14870
|
functionName: string;
|
|
@@ -14882,7 +14888,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14882
14888
|
sidecars?: undefined;
|
|
14883
14889
|
authorizationList?: undefined;
|
|
14884
14890
|
chainId?: number | undefined;
|
|
14885
|
-
connector?:
|
|
14891
|
+
connector?: wagmi29.Connector | undefined;
|
|
14886
14892
|
} | {
|
|
14887
14893
|
abi: abitype0.Abi;
|
|
14888
14894
|
functionName: string;
|
|
@@ -14906,7 +14912,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14906
14912
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
14907
14913
|
authorizationList?: undefined;
|
|
14908
14914
|
chainId?: number | undefined;
|
|
14909
|
-
connector?:
|
|
14915
|
+
connector?: wagmi29.Connector | undefined;
|
|
14910
14916
|
} | {
|
|
14911
14917
|
abi: abitype0.Abi;
|
|
14912
14918
|
functionName: string;
|
|
@@ -14930,7 +14936,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14930
14936
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
14931
14937
|
authorizationList?: undefined;
|
|
14932
14938
|
chainId?: number | undefined;
|
|
14933
|
-
connector?:
|
|
14939
|
+
connector?: wagmi29.Connector | undefined;
|
|
14934
14940
|
} | {
|
|
14935
14941
|
abi: abitype0.Abi;
|
|
14936
14942
|
functionName: string;
|
|
@@ -14954,21 +14960,15 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14954
14960
|
sidecars?: undefined;
|
|
14955
14961
|
authorizationList?: viem459.AuthorizationList<number, boolean> | undefined;
|
|
14956
14962
|
chainId?: number | undefined;
|
|
14957
|
-
connector?:
|
|
14963
|
+
connector?: wagmi29.Connector | undefined;
|
|
14958
14964
|
};
|
|
14959
|
-
isError: true;
|
|
14960
14965
|
isIdle: false;
|
|
14961
|
-
isPending: false;
|
|
14962
|
-
isSuccess: false;
|
|
14963
14966
|
reset: () => void;
|
|
14964
14967
|
context: unknown;
|
|
14965
|
-
failureCount: number;
|
|
14966
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
14967
|
-
isPaused: boolean;
|
|
14968
14968
|
submittedAt: number;
|
|
14969
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
14970
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
14971
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
14969
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
14970
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
14971
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi29.Config, unknown>;
|
|
14972
14972
|
updateMarketPricing: <T extends "static" | "bsm">(data: T extends "static" ? Partial<StaticPricingParams> & {
|
|
14973
14973
|
model: "static";
|
|
14974
14974
|
} : Partial<OptionPricingParams> & {
|
|
@@ -14982,6 +14982,12 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14982
14982
|
error: null;
|
|
14983
14983
|
data: `0x${string}`;
|
|
14984
14984
|
status: "success";
|
|
14985
|
+
isError: false;
|
|
14986
|
+
isPending: false;
|
|
14987
|
+
isSuccess: true;
|
|
14988
|
+
failureCount: number;
|
|
14989
|
+
failureReason: _wagmi_core4.WriteContractErrorType | null;
|
|
14990
|
+
isPaused: boolean;
|
|
14985
14991
|
variables: {
|
|
14986
14992
|
abi: abitype0.Abi;
|
|
14987
14993
|
functionName: string;
|
|
@@ -15005,7 +15011,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
15005
15011
|
sidecars?: undefined;
|
|
15006
15012
|
authorizationList?: undefined;
|
|
15007
15013
|
chainId?: number | undefined;
|
|
15008
|
-
connector?:
|
|
15014
|
+
connector?: wagmi29.Connector | undefined;
|
|
15009
15015
|
} | {
|
|
15010
15016
|
abi: abitype0.Abi;
|
|
15011
15017
|
functionName: string;
|
|
@@ -15029,7 +15035,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
15029
15035
|
sidecars?: undefined;
|
|
15030
15036
|
authorizationList?: undefined;
|
|
15031
15037
|
chainId?: number | undefined;
|
|
15032
|
-
connector?:
|
|
15038
|
+
connector?: wagmi29.Connector | undefined;
|
|
15033
15039
|
} | {
|
|
15034
15040
|
abi: abitype0.Abi;
|
|
15035
15041
|
functionName: string;
|
|
@@ -15053,7 +15059,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
15053
15059
|
sidecars?: undefined;
|
|
15054
15060
|
authorizationList?: undefined;
|
|
15055
15061
|
chainId?: number | undefined;
|
|
15056
|
-
connector?:
|
|
15062
|
+
connector?: wagmi29.Connector | undefined;
|
|
15057
15063
|
} | {
|
|
15058
15064
|
abi: abitype0.Abi;
|
|
15059
15065
|
functionName: string;
|
|
@@ -15077,7 +15083,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
15077
15083
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
15078
15084
|
authorizationList?: undefined;
|
|
15079
15085
|
chainId?: number | undefined;
|
|
15080
|
-
connector?:
|
|
15086
|
+
connector?: wagmi29.Connector | undefined;
|
|
15081
15087
|
} | {
|
|
15082
15088
|
abi: abitype0.Abi;
|
|
15083
15089
|
functionName: string;
|
|
@@ -15101,7 +15107,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
15101
15107
|
sidecars?: readonly viem459.BlobSidecar<`0x${string}`>[] | undefined;
|
|
15102
15108
|
authorizationList?: undefined;
|
|
15103
15109
|
chainId?: number | undefined;
|
|
15104
|
-
connector?:
|
|
15110
|
+
connector?: wagmi29.Connector | undefined;
|
|
15105
15111
|
} | {
|
|
15106
15112
|
abi: abitype0.Abi;
|
|
15107
15113
|
functionName: string;
|
|
@@ -15125,21 +15131,15 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
15125
15131
|
sidecars?: undefined;
|
|
15126
15132
|
authorizationList?: viem459.AuthorizationList<number, boolean> | undefined;
|
|
15127
15133
|
chainId?: number | undefined;
|
|
15128
|
-
connector?:
|
|
15134
|
+
connector?: wagmi29.Connector | undefined;
|
|
15129
15135
|
};
|
|
15130
|
-
isError: false;
|
|
15131
15136
|
isIdle: false;
|
|
15132
|
-
isPending: false;
|
|
15133
|
-
isSuccess: true;
|
|
15134
15137
|
reset: () => void;
|
|
15135
15138
|
context: unknown;
|
|
15136
|
-
failureCount: number;
|
|
15137
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
15138
|
-
isPaused: boolean;
|
|
15139
15139
|
submittedAt: number;
|
|
15140
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
15141
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
15142
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
15140
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
15141
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi29.Config, unknown>;
|
|
15142
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi29.Config, unknown>;
|
|
15143
15143
|
updateMarketPricing: <T extends "static" | "bsm">(data: T extends "static" ? Partial<StaticPricingParams> & {
|
|
15144
15144
|
model: "static";
|
|
15145
15145
|
} : Partial<OptionPricingParams> & {
|