timelock-sdk 0.0.235 → 0.0.236
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.d.cts +226 -319
- package/dist/client.d.ts +22 -115
- package/dist/{index-Bm3KZNjK.d.cts → index-Ba0F075b.d.cts} +714 -615
- package/dist/{index-D2cGqVbj.d.ts → index-BmuFpwj-.d.ts} +615 -516
- package/dist/package.cjs +16 -1
- package/dist/package.cjs.map +1 -0
- package/dist/package.d.cts +2 -2
- package/dist/package.d.ts +2 -2
- package/dist/package.js +14 -1
- package/dist/package.js.map +1 -0
- package/package.json +1 -1
package/dist/client.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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-Ba0F075b.cjs";
|
|
2
2
|
import * as viem0 from "viem";
|
|
3
3
|
import { Address, Hex } from "viem";
|
|
4
4
|
import React, { ReactNode } from "react";
|
|
@@ -8,7 +8,7 @@ import * as _wagmi_core0 from "@wagmi/core";
|
|
|
8
8
|
import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
9
9
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
10
10
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
11
|
-
import * as
|
|
11
|
+
import * as wagmi0 from "wagmi";
|
|
12
12
|
import * as wagmi_query0 from "wagmi/query";
|
|
13
13
|
import * as abitype0 from "abitype";
|
|
14
14
|
|
|
@@ -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) => wagmi0.UseReadContractReturnType<readonly [{
|
|
1180
1180
|
readonly type: "function";
|
|
1181
1181
|
readonly name: "batchGetRefTick";
|
|
1182
1182
|
readonly inputs: readonly [{
|
|
@@ -2200,9 +2200,9 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2200
2200
|
reset: () => void;
|
|
2201
2201
|
context: unknown;
|
|
2202
2202
|
submittedAt: number;
|
|
2203
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
2204
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
2205
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
2203
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
2204
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
2205
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
2206
2206
|
updateBounds: ({
|
|
2207
2207
|
minDuration: newMinDuration,
|
|
2208
2208
|
maxDuration: newMaxDuration,
|
|
@@ -2247,7 +2247,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2247
2247
|
sidecars?: undefined;
|
|
2248
2248
|
authorizationList?: undefined;
|
|
2249
2249
|
chainId?: number | undefined;
|
|
2250
|
-
connector?:
|
|
2250
|
+
connector?: wagmi0.Connector | undefined;
|
|
2251
2251
|
} | {
|
|
2252
2252
|
abi: abitype0.Abi;
|
|
2253
2253
|
functionName: string;
|
|
@@ -2271,7 +2271,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2271
2271
|
sidecars?: undefined;
|
|
2272
2272
|
authorizationList?: undefined;
|
|
2273
2273
|
chainId?: number | undefined;
|
|
2274
|
-
connector?:
|
|
2274
|
+
connector?: wagmi0.Connector | undefined;
|
|
2275
2275
|
} | {
|
|
2276
2276
|
abi: abitype0.Abi;
|
|
2277
2277
|
functionName: string;
|
|
@@ -2295,7 +2295,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2295
2295
|
sidecars?: undefined;
|
|
2296
2296
|
authorizationList?: undefined;
|
|
2297
2297
|
chainId?: number | undefined;
|
|
2298
|
-
connector?:
|
|
2298
|
+
connector?: wagmi0.Connector | undefined;
|
|
2299
2299
|
} | {
|
|
2300
2300
|
abi: abitype0.Abi;
|
|
2301
2301
|
functionName: string;
|
|
@@ -2319,7 +2319,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2319
2319
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
2320
2320
|
authorizationList?: undefined;
|
|
2321
2321
|
chainId?: number | undefined;
|
|
2322
|
-
connector?:
|
|
2322
|
+
connector?: wagmi0.Connector | undefined;
|
|
2323
2323
|
} | {
|
|
2324
2324
|
abi: abitype0.Abi;
|
|
2325
2325
|
functionName: string;
|
|
@@ -2343,7 +2343,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2343
2343
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
2344
2344
|
authorizationList?: undefined;
|
|
2345
2345
|
chainId?: number | undefined;
|
|
2346
|
-
connector?:
|
|
2346
|
+
connector?: wagmi0.Connector | undefined;
|
|
2347
2347
|
} | {
|
|
2348
2348
|
abi: abitype0.Abi;
|
|
2349
2349
|
functionName: string;
|
|
@@ -2367,15 +2367,15 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2367
2367
|
sidecars?: undefined;
|
|
2368
2368
|
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
2369
2369
|
chainId?: number | undefined;
|
|
2370
|
-
connector?:
|
|
2370
|
+
connector?: wagmi0.Connector | undefined;
|
|
2371
2371
|
};
|
|
2372
2372
|
isIdle: false;
|
|
2373
2373
|
reset: () => void;
|
|
2374
2374
|
context: unknown;
|
|
2375
2375
|
submittedAt: number;
|
|
2376
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
2377
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
2378
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
2376
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
2377
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
2378
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
2379
2379
|
updateBounds: ({
|
|
2380
2380
|
minDuration: newMinDuration,
|
|
2381
2381
|
maxDuration: newMaxDuration,
|
|
@@ -2420,7 +2420,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2420
2420
|
sidecars?: undefined;
|
|
2421
2421
|
authorizationList?: undefined;
|
|
2422
2422
|
chainId?: number | undefined;
|
|
2423
|
-
connector?:
|
|
2423
|
+
connector?: wagmi0.Connector | undefined;
|
|
2424
2424
|
} | {
|
|
2425
2425
|
abi: abitype0.Abi;
|
|
2426
2426
|
functionName: string;
|
|
@@ -2444,7 +2444,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2444
2444
|
sidecars?: undefined;
|
|
2445
2445
|
authorizationList?: undefined;
|
|
2446
2446
|
chainId?: number | undefined;
|
|
2447
|
-
connector?:
|
|
2447
|
+
connector?: wagmi0.Connector | undefined;
|
|
2448
2448
|
} | {
|
|
2449
2449
|
abi: abitype0.Abi;
|
|
2450
2450
|
functionName: string;
|
|
@@ -2468,7 +2468,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2468
2468
|
sidecars?: undefined;
|
|
2469
2469
|
authorizationList?: undefined;
|
|
2470
2470
|
chainId?: number | undefined;
|
|
2471
|
-
connector?:
|
|
2471
|
+
connector?: wagmi0.Connector | undefined;
|
|
2472
2472
|
} | {
|
|
2473
2473
|
abi: abitype0.Abi;
|
|
2474
2474
|
functionName: string;
|
|
@@ -2492,7 +2492,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2492
2492
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
2493
2493
|
authorizationList?: undefined;
|
|
2494
2494
|
chainId?: number | undefined;
|
|
2495
|
-
connector?:
|
|
2495
|
+
connector?: wagmi0.Connector | undefined;
|
|
2496
2496
|
} | {
|
|
2497
2497
|
abi: abitype0.Abi;
|
|
2498
2498
|
functionName: string;
|
|
@@ -2516,7 +2516,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2516
2516
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
2517
2517
|
authorizationList?: undefined;
|
|
2518
2518
|
chainId?: number | undefined;
|
|
2519
|
-
connector?:
|
|
2519
|
+
connector?: wagmi0.Connector | undefined;
|
|
2520
2520
|
} | {
|
|
2521
2521
|
abi: abitype0.Abi;
|
|
2522
2522
|
functionName: string;
|
|
@@ -2540,15 +2540,15 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2540
2540
|
sidecars?: undefined;
|
|
2541
2541
|
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
2542
2542
|
chainId?: number | undefined;
|
|
2543
|
-
connector?:
|
|
2543
|
+
connector?: wagmi0.Connector | undefined;
|
|
2544
2544
|
};
|
|
2545
2545
|
isIdle: false;
|
|
2546
2546
|
reset: () => void;
|
|
2547
2547
|
context: unknown;
|
|
2548
2548
|
submittedAt: number;
|
|
2549
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
2550
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
2551
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
2549
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
2550
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
2551
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
2552
2552
|
updateBounds: ({
|
|
2553
2553
|
minDuration: newMinDuration,
|
|
2554
2554
|
maxDuration: newMaxDuration,
|
|
@@ -2593,7 +2593,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2593
2593
|
sidecars?: undefined;
|
|
2594
2594
|
authorizationList?: undefined;
|
|
2595
2595
|
chainId?: number | undefined;
|
|
2596
|
-
connector?:
|
|
2596
|
+
connector?: wagmi0.Connector | undefined;
|
|
2597
2597
|
} | {
|
|
2598
2598
|
abi: abitype0.Abi;
|
|
2599
2599
|
functionName: string;
|
|
@@ -2617,7 +2617,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2617
2617
|
sidecars?: undefined;
|
|
2618
2618
|
authorizationList?: undefined;
|
|
2619
2619
|
chainId?: number | undefined;
|
|
2620
|
-
connector?:
|
|
2620
|
+
connector?: wagmi0.Connector | undefined;
|
|
2621
2621
|
} | {
|
|
2622
2622
|
abi: abitype0.Abi;
|
|
2623
2623
|
functionName: string;
|
|
@@ -2641,7 +2641,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2641
2641
|
sidecars?: undefined;
|
|
2642
2642
|
authorizationList?: undefined;
|
|
2643
2643
|
chainId?: number | undefined;
|
|
2644
|
-
connector?:
|
|
2644
|
+
connector?: wagmi0.Connector | undefined;
|
|
2645
2645
|
} | {
|
|
2646
2646
|
abi: abitype0.Abi;
|
|
2647
2647
|
functionName: string;
|
|
@@ -2665,7 +2665,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2665
2665
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
2666
2666
|
authorizationList?: undefined;
|
|
2667
2667
|
chainId?: number | undefined;
|
|
2668
|
-
connector?:
|
|
2668
|
+
connector?: wagmi0.Connector | undefined;
|
|
2669
2669
|
} | {
|
|
2670
2670
|
abi: abitype0.Abi;
|
|
2671
2671
|
functionName: string;
|
|
@@ -2689,7 +2689,7 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2689
2689
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
2690
2690
|
authorizationList?: undefined;
|
|
2691
2691
|
chainId?: number | undefined;
|
|
2692
|
-
connector?:
|
|
2692
|
+
connector?: wagmi0.Connector | undefined;
|
|
2693
2693
|
} | {
|
|
2694
2694
|
abi: abitype0.Abi;
|
|
2695
2695
|
functionName: string;
|
|
@@ -2713,15 +2713,15 @@ declare const useUpdateMarketBounds: (marketAddr: Address | undefined) => {
|
|
|
2713
2713
|
sidecars?: undefined;
|
|
2714
2714
|
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
2715
2715
|
chainId?: number | undefined;
|
|
2716
|
-
connector?:
|
|
2716
|
+
connector?: wagmi0.Connector | undefined;
|
|
2717
2717
|
};
|
|
2718
2718
|
isIdle: false;
|
|
2719
2719
|
reset: () => void;
|
|
2720
2720
|
context: unknown;
|
|
2721
2721
|
submittedAt: number;
|
|
2722
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
2723
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
2724
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
2722
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
2723
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
2724
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
2725
2725
|
updateBounds: ({
|
|
2726
2726
|
minDuration: newMinDuration,
|
|
2727
2727
|
maxDuration: newMaxDuration,
|
|
@@ -2930,99 +2930,6 @@ declare const useMintOption: (marketAddr: Address | undefined) => _tanstack_reac
|
|
|
2930
2930
|
maxSteps?: number;
|
|
2931
2931
|
}, unknown>;
|
|
2932
2932
|
//#endregion
|
|
2933
|
-
//#region src/hooks/options/useUserOptions.d.ts
|
|
2934
|
-
type OptionData = NonUndefinedGuard<ReturnType<typeof useUserOptions>['data']>[number];
|
|
2935
|
-
declare const useUserOptions: (userAddr: Address | undefined, marketAddr: Address | "*" | undefined, active?: boolean) => _tanstack_react_query0.UseQueryResult<{
|
|
2936
|
-
optionId: bigint;
|
|
2937
|
-
marketAddr: Address;
|
|
2938
|
-
ownerAddr: Address;
|
|
2939
|
-
optionType: "CALL" | "PUT";
|
|
2940
|
-
createdAt: Date;
|
|
2941
|
-
expiresAt: Date;
|
|
2942
|
-
premium: bigint;
|
|
2943
|
-
protocolFee: bigint;
|
|
2944
|
-
realizedPayout: bigint;
|
|
2945
|
-
liquiditiesAtOpen: bigint[];
|
|
2946
|
-
liquiditiesCurrent: bigint[];
|
|
2947
|
-
positionSizeAtOpen: bigint;
|
|
2948
|
-
positionSizeCurrent: bigint;
|
|
2949
|
-
strikePrice: bigint;
|
|
2950
|
-
entryPrice: bigint;
|
|
2951
|
-
__typename: "UserOption";
|
|
2952
|
-
id: string;
|
|
2953
|
-
strikeTick: number;
|
|
2954
|
-
startTick: number;
|
|
2955
|
-
fullyExercised: boolean;
|
|
2956
|
-
owner?: {
|
|
2957
|
-
__typename: "TimelockMarketUser";
|
|
2958
|
-
address: string;
|
|
2959
|
-
} | null;
|
|
2960
|
-
market?: {
|
|
2961
|
-
__typename: "TimelockMarket";
|
|
2962
|
-
address: string;
|
|
2963
|
-
} | null;
|
|
2964
|
-
}[], Error>;
|
|
2965
|
-
declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address | "*") => _tanstack_react_query0.UseQueryResult<{
|
|
2966
|
-
optionId: bigint;
|
|
2967
|
-
marketAddr: Address;
|
|
2968
|
-
ownerAddr: Address;
|
|
2969
|
-
optionType: "CALL" | "PUT";
|
|
2970
|
-
createdAt: Date;
|
|
2971
|
-
expiresAt: Date;
|
|
2972
|
-
premium: bigint;
|
|
2973
|
-
protocolFee: bigint;
|
|
2974
|
-
realizedPayout: bigint;
|
|
2975
|
-
liquiditiesAtOpen: bigint[];
|
|
2976
|
-
liquiditiesCurrent: bigint[];
|
|
2977
|
-
positionSizeAtOpen: bigint;
|
|
2978
|
-
positionSizeCurrent: bigint;
|
|
2979
|
-
strikePrice: bigint;
|
|
2980
|
-
entryPrice: bigint;
|
|
2981
|
-
__typename: "UserOption";
|
|
2982
|
-
id: string;
|
|
2983
|
-
strikeTick: number;
|
|
2984
|
-
startTick: number;
|
|
2985
|
-
fullyExercised: boolean;
|
|
2986
|
-
owner?: {
|
|
2987
|
-
__typename: "TimelockMarketUser";
|
|
2988
|
-
address: string;
|
|
2989
|
-
} | null;
|
|
2990
|
-
market?: {
|
|
2991
|
-
__typename: "TimelockMarket";
|
|
2992
|
-
address: string;
|
|
2993
|
-
} | null;
|
|
2994
|
-
}[], Error>;
|
|
2995
|
-
declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address | "*") => _tanstack_react_query0.UseQueryResult<{
|
|
2996
|
-
optionId: bigint;
|
|
2997
|
-
marketAddr: Address;
|
|
2998
|
-
ownerAddr: Address;
|
|
2999
|
-
optionType: "CALL" | "PUT";
|
|
3000
|
-
createdAt: Date;
|
|
3001
|
-
expiresAt: Date;
|
|
3002
|
-
premium: bigint;
|
|
3003
|
-
protocolFee: bigint;
|
|
3004
|
-
realizedPayout: bigint;
|
|
3005
|
-
liquiditiesAtOpen: bigint[];
|
|
3006
|
-
liquiditiesCurrent: bigint[];
|
|
3007
|
-
positionSizeAtOpen: bigint;
|
|
3008
|
-
positionSizeCurrent: bigint;
|
|
3009
|
-
strikePrice: bigint;
|
|
3010
|
-
entryPrice: bigint;
|
|
3011
|
-
__typename: "UserOption";
|
|
3012
|
-
id: string;
|
|
3013
|
-
strikeTick: number;
|
|
3014
|
-
startTick: number;
|
|
3015
|
-
fullyExercised: boolean;
|
|
3016
|
-
owner?: {
|
|
3017
|
-
__typename: "TimelockMarketUser";
|
|
3018
|
-
address: string;
|
|
3019
|
-
} | null;
|
|
3020
|
-
market?: {
|
|
3021
|
-
__typename: "TimelockMarket";
|
|
3022
|
-
address: string;
|
|
3023
|
-
} | null;
|
|
3024
|
-
}[], Error>;
|
|
3025
|
-
//#endregion
|
|
3026
2933
|
//#region src/hooks/options/useExerciseOption.d.ts
|
|
3027
2934
|
declare const useExerciseOption: (marketAddr: Address | undefined) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
3028
2935
|
option: OptionData;
|
|
@@ -4169,7 +4076,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
4169
4076
|
};
|
|
4170
4077
|
//#endregion
|
|
4171
4078
|
//#region src/hooks/pool/useCurrentTick.d.ts
|
|
4172
|
-
declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) =>
|
|
4079
|
+
declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => wagmi0.UseReadContractReturnType<readonly [{
|
|
4173
4080
|
readonly type: "function";
|
|
4174
4081
|
readonly name: "getFeeGrowthGlobals";
|
|
4175
4082
|
readonly inputs: readonly [{
|
|
@@ -5359,7 +5266,7 @@ type QuoteResult = {
|
|
|
5359
5266
|
/**
|
|
5360
5267
|
* Hook to get a quote for an exact input single-hop swap
|
|
5361
5268
|
*/
|
|
5362
|
-
declare const useQuoteExactInputSingle: (poolManager: Address | undefined, params: QuoteExactSingleParams | undefined, options?: UseQuoteOptions) =>
|
|
5269
|
+
declare const useQuoteExactInputSingle: (poolManager: Address | undefined, params: QuoteExactSingleParams | undefined, options?: UseQuoteOptions) => wagmi0.UseSimulateContractReturnType<readonly [{
|
|
5363
5270
|
readonly type: "function";
|
|
5364
5271
|
readonly name: "_quoteExactInput";
|
|
5365
5272
|
readonly inputs: readonly [{
|
|
@@ -5862,11 +5769,11 @@ declare const useQuoteExactInputSingle: (poolManager: Address | undefined, param
|
|
|
5862
5769
|
zeroForOne: boolean;
|
|
5863
5770
|
exactAmount: bigint;
|
|
5864
5771
|
hookData: `0x${string}`;
|
|
5865
|
-
}],
|
|
5772
|
+
}], wagmi0.Config, undefined, QuoteResult>;
|
|
5866
5773
|
/**
|
|
5867
5774
|
* Hook to get a quote for an exact output single-hop swap
|
|
5868
5775
|
*/
|
|
5869
|
-
declare const useQuoteExactOutputSingle: (poolManager: Address | undefined, params: QuoteExactSingleParams | undefined, options?: UseQuoteOptions) =>
|
|
5776
|
+
declare const useQuoteExactOutputSingle: (poolManager: Address | undefined, params: QuoteExactSingleParams | undefined, options?: UseQuoteOptions) => wagmi0.UseSimulateContractReturnType<readonly [{
|
|
5870
5777
|
readonly type: "function";
|
|
5871
5778
|
readonly name: "_quoteExactInput";
|
|
5872
5779
|
readonly inputs: readonly [{
|
|
@@ -6369,11 +6276,11 @@ declare const useQuoteExactOutputSingle: (poolManager: Address | undefined, para
|
|
|
6369
6276
|
zeroForOne: boolean;
|
|
6370
6277
|
exactAmount: bigint;
|
|
6371
6278
|
hookData: `0x${string}`;
|
|
6372
|
-
}],
|
|
6279
|
+
}], wagmi0.Config, undefined, QuoteResult>;
|
|
6373
6280
|
/**
|
|
6374
6281
|
* Hook to get a quote for an exact input multi-hop swap
|
|
6375
6282
|
*/
|
|
6376
|
-
declare const useQuoteExactInput: (poolManager: Address | undefined, params: QuoteExactParams | undefined, options?: UseQuoteOptions) =>
|
|
6283
|
+
declare const useQuoteExactInput: (poolManager: Address | undefined, params: QuoteExactParams | undefined, options?: UseQuoteOptions) => wagmi0.UseSimulateContractReturnType<readonly [{
|
|
6377
6284
|
readonly type: "function";
|
|
6378
6285
|
readonly name: "_quoteExactInput";
|
|
6379
6286
|
readonly inputs: readonly [{
|
|
@@ -6875,11 +6782,11 @@ declare const useQuoteExactInput: (poolManager: Address | undefined, params: Quo
|
|
|
6875
6782
|
hookData: `0x${string}`;
|
|
6876
6783
|
}[];
|
|
6877
6784
|
exactAmount: bigint;
|
|
6878
|
-
}],
|
|
6785
|
+
}], wagmi0.Config, undefined, QuoteResult>;
|
|
6879
6786
|
/**
|
|
6880
6787
|
* Hook to get a quote for an exact output multi-hop swap
|
|
6881
6788
|
*/
|
|
6882
|
-
declare const useQuoteExactOutput: (poolManager: Address | undefined, params: QuoteExactParams | undefined, options?: UseQuoteOptions) =>
|
|
6789
|
+
declare const useQuoteExactOutput: (poolManager: Address | undefined, params: QuoteExactParams | undefined, options?: UseQuoteOptions) => wagmi0.UseSimulateContractReturnType<readonly [{
|
|
6883
6790
|
readonly type: "function";
|
|
6884
6791
|
readonly name: "_quoteExactInput";
|
|
6885
6792
|
readonly inputs: readonly [{
|
|
@@ -7381,7 +7288,7 @@ declare const useQuoteExactOutput: (poolManager: Address | undefined, params: Qu
|
|
|
7381
7288
|
hookData: `0x${string}`;
|
|
7382
7289
|
}[];
|
|
7383
7290
|
exactAmount: bigint;
|
|
7384
|
-
}],
|
|
7291
|
+
}], wagmi0.Config, undefined, QuoteResult>;
|
|
7385
7292
|
/**
|
|
7386
7293
|
* Convenience hook for simple single-hop swaps
|
|
7387
7294
|
* Automatically builds the params from common inputs
|
|
@@ -8029,9 +7936,9 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8029
7936
|
reset: () => void;
|
|
8030
7937
|
context: unknown;
|
|
8031
7938
|
submittedAt: number;
|
|
8032
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
8033
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
8034
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
7939
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
7940
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
7941
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
8035
7942
|
withdrawPremium: (asset: Address) => Promise<`0x${string}`>;
|
|
8036
7943
|
} | {
|
|
8037
7944
|
data: undefined;
|
|
@@ -8066,7 +7973,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8066
7973
|
sidecars?: undefined;
|
|
8067
7974
|
authorizationList?: undefined;
|
|
8068
7975
|
chainId?: number | undefined;
|
|
8069
|
-
connector?:
|
|
7976
|
+
connector?: wagmi0.Connector | undefined;
|
|
8070
7977
|
} | {
|
|
8071
7978
|
abi: abitype0.Abi;
|
|
8072
7979
|
functionName: string;
|
|
@@ -8090,7 +7997,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8090
7997
|
sidecars?: undefined;
|
|
8091
7998
|
authorizationList?: undefined;
|
|
8092
7999
|
chainId?: number | undefined;
|
|
8093
|
-
connector?:
|
|
8000
|
+
connector?: wagmi0.Connector | undefined;
|
|
8094
8001
|
} | {
|
|
8095
8002
|
abi: abitype0.Abi;
|
|
8096
8003
|
functionName: string;
|
|
@@ -8114,7 +8021,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8114
8021
|
sidecars?: undefined;
|
|
8115
8022
|
authorizationList?: undefined;
|
|
8116
8023
|
chainId?: number | undefined;
|
|
8117
|
-
connector?:
|
|
8024
|
+
connector?: wagmi0.Connector | undefined;
|
|
8118
8025
|
} | {
|
|
8119
8026
|
abi: abitype0.Abi;
|
|
8120
8027
|
functionName: string;
|
|
@@ -8138,7 +8045,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8138
8045
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
8139
8046
|
authorizationList?: undefined;
|
|
8140
8047
|
chainId?: number | undefined;
|
|
8141
|
-
connector?:
|
|
8048
|
+
connector?: wagmi0.Connector | undefined;
|
|
8142
8049
|
} | {
|
|
8143
8050
|
abi: abitype0.Abi;
|
|
8144
8051
|
functionName: string;
|
|
@@ -8162,7 +8069,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8162
8069
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
8163
8070
|
authorizationList?: undefined;
|
|
8164
8071
|
chainId?: number | undefined;
|
|
8165
|
-
connector?:
|
|
8072
|
+
connector?: wagmi0.Connector | undefined;
|
|
8166
8073
|
} | {
|
|
8167
8074
|
abi: abitype0.Abi;
|
|
8168
8075
|
functionName: string;
|
|
@@ -8186,15 +8093,15 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8186
8093
|
sidecars?: undefined;
|
|
8187
8094
|
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
8188
8095
|
chainId?: number | undefined;
|
|
8189
|
-
connector?:
|
|
8096
|
+
connector?: wagmi0.Connector | undefined;
|
|
8190
8097
|
};
|
|
8191
8098
|
isIdle: false;
|
|
8192
8099
|
reset: () => void;
|
|
8193
8100
|
context: unknown;
|
|
8194
8101
|
submittedAt: number;
|
|
8195
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
8196
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
8197
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
8102
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
8103
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
8104
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
8198
8105
|
withdrawPremium: (asset: Address) => Promise<`0x${string}`>;
|
|
8199
8106
|
} | {
|
|
8200
8107
|
data: undefined;
|
|
@@ -8229,7 +8136,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8229
8136
|
sidecars?: undefined;
|
|
8230
8137
|
authorizationList?: undefined;
|
|
8231
8138
|
chainId?: number | undefined;
|
|
8232
|
-
connector?:
|
|
8139
|
+
connector?: wagmi0.Connector | undefined;
|
|
8233
8140
|
} | {
|
|
8234
8141
|
abi: abitype0.Abi;
|
|
8235
8142
|
functionName: string;
|
|
@@ -8253,7 +8160,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8253
8160
|
sidecars?: undefined;
|
|
8254
8161
|
authorizationList?: undefined;
|
|
8255
8162
|
chainId?: number | undefined;
|
|
8256
|
-
connector?:
|
|
8163
|
+
connector?: wagmi0.Connector | undefined;
|
|
8257
8164
|
} | {
|
|
8258
8165
|
abi: abitype0.Abi;
|
|
8259
8166
|
functionName: string;
|
|
@@ -8277,7 +8184,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8277
8184
|
sidecars?: undefined;
|
|
8278
8185
|
authorizationList?: undefined;
|
|
8279
8186
|
chainId?: number | undefined;
|
|
8280
|
-
connector?:
|
|
8187
|
+
connector?: wagmi0.Connector | undefined;
|
|
8281
8188
|
} | {
|
|
8282
8189
|
abi: abitype0.Abi;
|
|
8283
8190
|
functionName: string;
|
|
@@ -8301,7 +8208,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8301
8208
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
8302
8209
|
authorizationList?: undefined;
|
|
8303
8210
|
chainId?: number | undefined;
|
|
8304
|
-
connector?:
|
|
8211
|
+
connector?: wagmi0.Connector | undefined;
|
|
8305
8212
|
} | {
|
|
8306
8213
|
abi: abitype0.Abi;
|
|
8307
8214
|
functionName: string;
|
|
@@ -8325,7 +8232,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8325
8232
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
8326
8233
|
authorizationList?: undefined;
|
|
8327
8234
|
chainId?: number | undefined;
|
|
8328
|
-
connector?:
|
|
8235
|
+
connector?: wagmi0.Connector | undefined;
|
|
8329
8236
|
} | {
|
|
8330
8237
|
abi: abitype0.Abi;
|
|
8331
8238
|
functionName: string;
|
|
@@ -8349,15 +8256,15 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8349
8256
|
sidecars?: undefined;
|
|
8350
8257
|
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
8351
8258
|
chainId?: number | undefined;
|
|
8352
|
-
connector?:
|
|
8259
|
+
connector?: wagmi0.Connector | undefined;
|
|
8353
8260
|
};
|
|
8354
8261
|
isIdle: false;
|
|
8355
8262
|
reset: () => void;
|
|
8356
8263
|
context: unknown;
|
|
8357
8264
|
submittedAt: number;
|
|
8358
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
8359
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
8360
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
8265
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
8266
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
8267
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
8361
8268
|
withdrawPremium: (asset: Address) => Promise<`0x${string}`>;
|
|
8362
8269
|
} | {
|
|
8363
8270
|
data: `0x${string}`;
|
|
@@ -8392,7 +8299,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8392
8299
|
sidecars?: undefined;
|
|
8393
8300
|
authorizationList?: undefined;
|
|
8394
8301
|
chainId?: number | undefined;
|
|
8395
|
-
connector?:
|
|
8302
|
+
connector?: wagmi0.Connector | undefined;
|
|
8396
8303
|
} | {
|
|
8397
8304
|
abi: abitype0.Abi;
|
|
8398
8305
|
functionName: string;
|
|
@@ -8416,7 +8323,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8416
8323
|
sidecars?: undefined;
|
|
8417
8324
|
authorizationList?: undefined;
|
|
8418
8325
|
chainId?: number | undefined;
|
|
8419
|
-
connector?:
|
|
8326
|
+
connector?: wagmi0.Connector | undefined;
|
|
8420
8327
|
} | {
|
|
8421
8328
|
abi: abitype0.Abi;
|
|
8422
8329
|
functionName: string;
|
|
@@ -8440,7 +8347,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8440
8347
|
sidecars?: undefined;
|
|
8441
8348
|
authorizationList?: undefined;
|
|
8442
8349
|
chainId?: number | undefined;
|
|
8443
|
-
connector?:
|
|
8350
|
+
connector?: wagmi0.Connector | undefined;
|
|
8444
8351
|
} | {
|
|
8445
8352
|
abi: abitype0.Abi;
|
|
8446
8353
|
functionName: string;
|
|
@@ -8464,7 +8371,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8464
8371
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
8465
8372
|
authorizationList?: undefined;
|
|
8466
8373
|
chainId?: number | undefined;
|
|
8467
|
-
connector?:
|
|
8374
|
+
connector?: wagmi0.Connector | undefined;
|
|
8468
8375
|
} | {
|
|
8469
8376
|
abi: abitype0.Abi;
|
|
8470
8377
|
functionName: string;
|
|
@@ -8488,7 +8395,7 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8488
8395
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
8489
8396
|
authorizationList?: undefined;
|
|
8490
8397
|
chainId?: number | undefined;
|
|
8491
|
-
connector?:
|
|
8398
|
+
connector?: wagmi0.Connector | undefined;
|
|
8492
8399
|
} | {
|
|
8493
8400
|
abi: abitype0.Abi;
|
|
8494
8401
|
functionName: string;
|
|
@@ -8512,15 +8419,15 @@ declare const useWithdrawPremium: (vaultAddr: Address | undefined) => {
|
|
|
8512
8419
|
sidecars?: undefined;
|
|
8513
8420
|
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
8514
8421
|
chainId?: number | undefined;
|
|
8515
|
-
connector?:
|
|
8422
|
+
connector?: wagmi0.Connector | undefined;
|
|
8516
8423
|
};
|
|
8517
8424
|
isIdle: false;
|
|
8518
8425
|
reset: () => void;
|
|
8519
8426
|
context: unknown;
|
|
8520
8427
|
submittedAt: number;
|
|
8521
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
8522
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
8523
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
8428
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
8429
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
8430
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
8524
8431
|
withdrawPremium: (asset: Address) => Promise<`0x${string}`>;
|
|
8525
8432
|
};
|
|
8526
8433
|
//#endregion
|
|
@@ -8889,9 +8796,9 @@ declare const useApproval: () => {
|
|
|
8889
8796
|
reset: () => void;
|
|
8890
8797
|
context: unknown;
|
|
8891
8798
|
submittedAt: number;
|
|
8892
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
8893
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
8894
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
8799
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
8800
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
8801
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
8895
8802
|
askForApproval: (tokenAddress: Address, spenderAddress: Address, amount: bigint) => Promise<void>;
|
|
8896
8803
|
hash: `0x${string}` | undefined;
|
|
8897
8804
|
} | {
|
|
@@ -8926,7 +8833,7 @@ declare const useApproval: () => {
|
|
|
8926
8833
|
sidecars?: undefined;
|
|
8927
8834
|
authorizationList?: undefined;
|
|
8928
8835
|
chainId?: number | undefined;
|
|
8929
|
-
connector?:
|
|
8836
|
+
connector?: wagmi0.Connector | undefined;
|
|
8930
8837
|
} | {
|
|
8931
8838
|
abi: abitype0.Abi;
|
|
8932
8839
|
functionName: string;
|
|
@@ -8950,7 +8857,7 @@ declare const useApproval: () => {
|
|
|
8950
8857
|
sidecars?: undefined;
|
|
8951
8858
|
authorizationList?: undefined;
|
|
8952
8859
|
chainId?: number | undefined;
|
|
8953
|
-
connector?:
|
|
8860
|
+
connector?: wagmi0.Connector | undefined;
|
|
8954
8861
|
} | {
|
|
8955
8862
|
abi: abitype0.Abi;
|
|
8956
8863
|
functionName: string;
|
|
@@ -8974,7 +8881,7 @@ declare const useApproval: () => {
|
|
|
8974
8881
|
sidecars?: undefined;
|
|
8975
8882
|
authorizationList?: undefined;
|
|
8976
8883
|
chainId?: number | undefined;
|
|
8977
|
-
connector?:
|
|
8884
|
+
connector?: wagmi0.Connector | undefined;
|
|
8978
8885
|
} | {
|
|
8979
8886
|
abi: abitype0.Abi;
|
|
8980
8887
|
functionName: string;
|
|
@@ -8998,7 +8905,7 @@ declare const useApproval: () => {
|
|
|
8998
8905
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
8999
8906
|
authorizationList?: undefined;
|
|
9000
8907
|
chainId?: number | undefined;
|
|
9001
|
-
connector?:
|
|
8908
|
+
connector?: wagmi0.Connector | undefined;
|
|
9002
8909
|
} | {
|
|
9003
8910
|
abi: abitype0.Abi;
|
|
9004
8911
|
functionName: string;
|
|
@@ -9022,7 +8929,7 @@ declare const useApproval: () => {
|
|
|
9022
8929
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
9023
8930
|
authorizationList?: undefined;
|
|
9024
8931
|
chainId?: number | undefined;
|
|
9025
|
-
connector?:
|
|
8932
|
+
connector?: wagmi0.Connector | undefined;
|
|
9026
8933
|
} | {
|
|
9027
8934
|
abi: abitype0.Abi;
|
|
9028
8935
|
functionName: string;
|
|
@@ -9046,15 +8953,15 @@ declare const useApproval: () => {
|
|
|
9046
8953
|
sidecars?: undefined;
|
|
9047
8954
|
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
9048
8955
|
chainId?: number | undefined;
|
|
9049
|
-
connector?:
|
|
8956
|
+
connector?: wagmi0.Connector | undefined;
|
|
9050
8957
|
};
|
|
9051
8958
|
isIdle: false;
|
|
9052
8959
|
reset: () => void;
|
|
9053
8960
|
context: unknown;
|
|
9054
8961
|
submittedAt: number;
|
|
9055
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
9056
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
9057
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
8962
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
8963
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
8964
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
9058
8965
|
askForApproval: (tokenAddress: Address, spenderAddress: Address, amount: bigint) => Promise<void>;
|
|
9059
8966
|
hash: `0x${string}` | undefined;
|
|
9060
8967
|
} | {
|
|
@@ -9089,7 +8996,7 @@ declare const useApproval: () => {
|
|
|
9089
8996
|
sidecars?: undefined;
|
|
9090
8997
|
authorizationList?: undefined;
|
|
9091
8998
|
chainId?: number | undefined;
|
|
9092
|
-
connector?:
|
|
8999
|
+
connector?: wagmi0.Connector | undefined;
|
|
9093
9000
|
} | {
|
|
9094
9001
|
abi: abitype0.Abi;
|
|
9095
9002
|
functionName: string;
|
|
@@ -9113,7 +9020,7 @@ declare const useApproval: () => {
|
|
|
9113
9020
|
sidecars?: undefined;
|
|
9114
9021
|
authorizationList?: undefined;
|
|
9115
9022
|
chainId?: number | undefined;
|
|
9116
|
-
connector?:
|
|
9023
|
+
connector?: wagmi0.Connector | undefined;
|
|
9117
9024
|
} | {
|
|
9118
9025
|
abi: abitype0.Abi;
|
|
9119
9026
|
functionName: string;
|
|
@@ -9137,7 +9044,7 @@ declare const useApproval: () => {
|
|
|
9137
9044
|
sidecars?: undefined;
|
|
9138
9045
|
authorizationList?: undefined;
|
|
9139
9046
|
chainId?: number | undefined;
|
|
9140
|
-
connector?:
|
|
9047
|
+
connector?: wagmi0.Connector | undefined;
|
|
9141
9048
|
} | {
|
|
9142
9049
|
abi: abitype0.Abi;
|
|
9143
9050
|
functionName: string;
|
|
@@ -9161,7 +9068,7 @@ declare const useApproval: () => {
|
|
|
9161
9068
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
9162
9069
|
authorizationList?: undefined;
|
|
9163
9070
|
chainId?: number | undefined;
|
|
9164
|
-
connector?:
|
|
9071
|
+
connector?: wagmi0.Connector | undefined;
|
|
9165
9072
|
} | {
|
|
9166
9073
|
abi: abitype0.Abi;
|
|
9167
9074
|
functionName: string;
|
|
@@ -9185,7 +9092,7 @@ declare const useApproval: () => {
|
|
|
9185
9092
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
9186
9093
|
authorizationList?: undefined;
|
|
9187
9094
|
chainId?: number | undefined;
|
|
9188
|
-
connector?:
|
|
9095
|
+
connector?: wagmi0.Connector | undefined;
|
|
9189
9096
|
} | {
|
|
9190
9097
|
abi: abitype0.Abi;
|
|
9191
9098
|
functionName: string;
|
|
@@ -9209,15 +9116,15 @@ declare const useApproval: () => {
|
|
|
9209
9116
|
sidecars?: undefined;
|
|
9210
9117
|
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
9211
9118
|
chainId?: number | undefined;
|
|
9212
|
-
connector?:
|
|
9119
|
+
connector?: wagmi0.Connector | undefined;
|
|
9213
9120
|
};
|
|
9214
9121
|
isIdle: false;
|
|
9215
9122
|
reset: () => void;
|
|
9216
9123
|
context: unknown;
|
|
9217
9124
|
submittedAt: number;
|
|
9218
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
9219
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
9220
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
9125
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
9126
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
9127
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
9221
9128
|
askForApproval: (tokenAddress: Address, spenderAddress: Address, amount: bigint) => Promise<void>;
|
|
9222
9129
|
hash: `0x${string}` | undefined;
|
|
9223
9130
|
} | {
|
|
@@ -9252,7 +9159,7 @@ declare const useApproval: () => {
|
|
|
9252
9159
|
sidecars?: undefined;
|
|
9253
9160
|
authorizationList?: undefined;
|
|
9254
9161
|
chainId?: number | undefined;
|
|
9255
|
-
connector?:
|
|
9162
|
+
connector?: wagmi0.Connector | undefined;
|
|
9256
9163
|
} | {
|
|
9257
9164
|
abi: abitype0.Abi;
|
|
9258
9165
|
functionName: string;
|
|
@@ -9276,7 +9183,7 @@ declare const useApproval: () => {
|
|
|
9276
9183
|
sidecars?: undefined;
|
|
9277
9184
|
authorizationList?: undefined;
|
|
9278
9185
|
chainId?: number | undefined;
|
|
9279
|
-
connector?:
|
|
9186
|
+
connector?: wagmi0.Connector | undefined;
|
|
9280
9187
|
} | {
|
|
9281
9188
|
abi: abitype0.Abi;
|
|
9282
9189
|
functionName: string;
|
|
@@ -9300,7 +9207,7 @@ declare const useApproval: () => {
|
|
|
9300
9207
|
sidecars?: undefined;
|
|
9301
9208
|
authorizationList?: undefined;
|
|
9302
9209
|
chainId?: number | undefined;
|
|
9303
|
-
connector?:
|
|
9210
|
+
connector?: wagmi0.Connector | undefined;
|
|
9304
9211
|
} | {
|
|
9305
9212
|
abi: abitype0.Abi;
|
|
9306
9213
|
functionName: string;
|
|
@@ -9324,7 +9231,7 @@ declare const useApproval: () => {
|
|
|
9324
9231
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
9325
9232
|
authorizationList?: undefined;
|
|
9326
9233
|
chainId?: number | undefined;
|
|
9327
|
-
connector?:
|
|
9234
|
+
connector?: wagmi0.Connector | undefined;
|
|
9328
9235
|
} | {
|
|
9329
9236
|
abi: abitype0.Abi;
|
|
9330
9237
|
functionName: string;
|
|
@@ -9348,7 +9255,7 @@ declare const useApproval: () => {
|
|
|
9348
9255
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
9349
9256
|
authorizationList?: undefined;
|
|
9350
9257
|
chainId?: number | undefined;
|
|
9351
|
-
connector?:
|
|
9258
|
+
connector?: wagmi0.Connector | undefined;
|
|
9352
9259
|
} | {
|
|
9353
9260
|
abi: abitype0.Abi;
|
|
9354
9261
|
functionName: string;
|
|
@@ -9372,21 +9279,21 @@ declare const useApproval: () => {
|
|
|
9372
9279
|
sidecars?: undefined;
|
|
9373
9280
|
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
9374
9281
|
chainId?: number | undefined;
|
|
9375
|
-
connector?:
|
|
9282
|
+
connector?: wagmi0.Connector | undefined;
|
|
9376
9283
|
};
|
|
9377
9284
|
isIdle: false;
|
|
9378
9285
|
reset: () => void;
|
|
9379
9286
|
context: unknown;
|
|
9380
9287
|
submittedAt: number;
|
|
9381
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
9382
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
9383
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
9288
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
9289
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
9290
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
9384
9291
|
askForApproval: (tokenAddress: Address, spenderAddress: Address, amount: bigint) => Promise<void>;
|
|
9385
9292
|
hash: `0x${string}` | undefined;
|
|
9386
9293
|
};
|
|
9387
9294
|
//#endregion
|
|
9388
9295
|
//#region src/hooks/guardian/useGlobalGuardianState.d.ts
|
|
9389
|
-
declare const useGlobalGuardianState: (guardianAddr?: Address) =>
|
|
9296
|
+
declare const useGlobalGuardianState: (guardianAddr?: Address) => wagmi0.UseReadContractReturnType<readonly [{
|
|
9390
9297
|
readonly type: "function";
|
|
9391
9298
|
readonly name: "batchGetRefTick";
|
|
9392
9299
|
readonly inputs: readonly [{
|
|
@@ -10379,7 +10286,7 @@ declare const useGlobalGuardianState: (guardianAddr?: Address) => wagmi29.UseRea
|
|
|
10379
10286
|
}>;
|
|
10380
10287
|
//#endregion
|
|
10381
10288
|
//#region src/hooks/guardian/useMarketGuardianState.d.ts
|
|
10382
|
-
declare const useMarketGuardianState: (guardianAddr?: Address, marketAddr?: Address) =>
|
|
10289
|
+
declare const useMarketGuardianState: (guardianAddr?: Address, marketAddr?: Address) => wagmi0.UseReadContractReturnType<readonly [{
|
|
10383
10290
|
readonly type: "constructor";
|
|
10384
10291
|
readonly inputs: readonly [];
|
|
10385
10292
|
readonly stateMutability: "nonpayable";
|
|
@@ -10924,9 +10831,9 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
10924
10831
|
reset: () => void;
|
|
10925
10832
|
context: unknown;
|
|
10926
10833
|
submittedAt: number;
|
|
10927
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
10928
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
10929
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
10834
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
10835
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
10836
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
10930
10837
|
pauseAllMarkets: (paused: boolean) => Promise<`0x${string}`>;
|
|
10931
10838
|
} | {
|
|
10932
10839
|
data: undefined;
|
|
@@ -10961,7 +10868,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
10961
10868
|
sidecars?: undefined;
|
|
10962
10869
|
authorizationList?: undefined;
|
|
10963
10870
|
chainId?: number | undefined;
|
|
10964
|
-
connector?:
|
|
10871
|
+
connector?: wagmi0.Connector | undefined;
|
|
10965
10872
|
} | {
|
|
10966
10873
|
abi: abitype0.Abi;
|
|
10967
10874
|
functionName: string;
|
|
@@ -10985,7 +10892,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
10985
10892
|
sidecars?: undefined;
|
|
10986
10893
|
authorizationList?: undefined;
|
|
10987
10894
|
chainId?: number | undefined;
|
|
10988
|
-
connector?:
|
|
10895
|
+
connector?: wagmi0.Connector | undefined;
|
|
10989
10896
|
} | {
|
|
10990
10897
|
abi: abitype0.Abi;
|
|
10991
10898
|
functionName: string;
|
|
@@ -11009,7 +10916,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11009
10916
|
sidecars?: undefined;
|
|
11010
10917
|
authorizationList?: undefined;
|
|
11011
10918
|
chainId?: number | undefined;
|
|
11012
|
-
connector?:
|
|
10919
|
+
connector?: wagmi0.Connector | undefined;
|
|
11013
10920
|
} | {
|
|
11014
10921
|
abi: abitype0.Abi;
|
|
11015
10922
|
functionName: string;
|
|
@@ -11033,7 +10940,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11033
10940
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
11034
10941
|
authorizationList?: undefined;
|
|
11035
10942
|
chainId?: number | undefined;
|
|
11036
|
-
connector?:
|
|
10943
|
+
connector?: wagmi0.Connector | undefined;
|
|
11037
10944
|
} | {
|
|
11038
10945
|
abi: abitype0.Abi;
|
|
11039
10946
|
functionName: string;
|
|
@@ -11057,7 +10964,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11057
10964
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
11058
10965
|
authorizationList?: undefined;
|
|
11059
10966
|
chainId?: number | undefined;
|
|
11060
|
-
connector?:
|
|
10967
|
+
connector?: wagmi0.Connector | undefined;
|
|
11061
10968
|
} | {
|
|
11062
10969
|
abi: abitype0.Abi;
|
|
11063
10970
|
functionName: string;
|
|
@@ -11081,15 +10988,15 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11081
10988
|
sidecars?: undefined;
|
|
11082
10989
|
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
11083
10990
|
chainId?: number | undefined;
|
|
11084
|
-
connector?:
|
|
10991
|
+
connector?: wagmi0.Connector | undefined;
|
|
11085
10992
|
};
|
|
11086
10993
|
isIdle: false;
|
|
11087
10994
|
reset: () => void;
|
|
11088
10995
|
context: unknown;
|
|
11089
10996
|
submittedAt: number;
|
|
11090
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
11091
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
11092
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
10997
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
10998
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
10999
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
11093
11000
|
pauseAllMarkets: (paused: boolean) => Promise<`0x${string}`>;
|
|
11094
11001
|
} | {
|
|
11095
11002
|
data: undefined;
|
|
@@ -11124,7 +11031,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11124
11031
|
sidecars?: undefined;
|
|
11125
11032
|
authorizationList?: undefined;
|
|
11126
11033
|
chainId?: number | undefined;
|
|
11127
|
-
connector?:
|
|
11034
|
+
connector?: wagmi0.Connector | undefined;
|
|
11128
11035
|
} | {
|
|
11129
11036
|
abi: abitype0.Abi;
|
|
11130
11037
|
functionName: string;
|
|
@@ -11148,7 +11055,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11148
11055
|
sidecars?: undefined;
|
|
11149
11056
|
authorizationList?: undefined;
|
|
11150
11057
|
chainId?: number | undefined;
|
|
11151
|
-
connector?:
|
|
11058
|
+
connector?: wagmi0.Connector | undefined;
|
|
11152
11059
|
} | {
|
|
11153
11060
|
abi: abitype0.Abi;
|
|
11154
11061
|
functionName: string;
|
|
@@ -11172,7 +11079,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11172
11079
|
sidecars?: undefined;
|
|
11173
11080
|
authorizationList?: undefined;
|
|
11174
11081
|
chainId?: number | undefined;
|
|
11175
|
-
connector?:
|
|
11082
|
+
connector?: wagmi0.Connector | undefined;
|
|
11176
11083
|
} | {
|
|
11177
11084
|
abi: abitype0.Abi;
|
|
11178
11085
|
functionName: string;
|
|
@@ -11196,7 +11103,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11196
11103
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
11197
11104
|
authorizationList?: undefined;
|
|
11198
11105
|
chainId?: number | undefined;
|
|
11199
|
-
connector?:
|
|
11106
|
+
connector?: wagmi0.Connector | undefined;
|
|
11200
11107
|
} | {
|
|
11201
11108
|
abi: abitype0.Abi;
|
|
11202
11109
|
functionName: string;
|
|
@@ -11220,7 +11127,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11220
11127
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
11221
11128
|
authorizationList?: undefined;
|
|
11222
11129
|
chainId?: number | undefined;
|
|
11223
|
-
connector?:
|
|
11130
|
+
connector?: wagmi0.Connector | undefined;
|
|
11224
11131
|
} | {
|
|
11225
11132
|
abi: abitype0.Abi;
|
|
11226
11133
|
functionName: string;
|
|
@@ -11244,15 +11151,15 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11244
11151
|
sidecars?: undefined;
|
|
11245
11152
|
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
11246
11153
|
chainId?: number | undefined;
|
|
11247
|
-
connector?:
|
|
11154
|
+
connector?: wagmi0.Connector | undefined;
|
|
11248
11155
|
};
|
|
11249
11156
|
isIdle: false;
|
|
11250
11157
|
reset: () => void;
|
|
11251
11158
|
context: unknown;
|
|
11252
11159
|
submittedAt: number;
|
|
11253
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
11254
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
11255
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
11160
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
11161
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
11162
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
11256
11163
|
pauseAllMarkets: (paused: boolean) => Promise<`0x${string}`>;
|
|
11257
11164
|
} | {
|
|
11258
11165
|
data: `0x${string}`;
|
|
@@ -11287,7 +11194,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11287
11194
|
sidecars?: undefined;
|
|
11288
11195
|
authorizationList?: undefined;
|
|
11289
11196
|
chainId?: number | undefined;
|
|
11290
|
-
connector?:
|
|
11197
|
+
connector?: wagmi0.Connector | undefined;
|
|
11291
11198
|
} | {
|
|
11292
11199
|
abi: abitype0.Abi;
|
|
11293
11200
|
functionName: string;
|
|
@@ -11311,7 +11218,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11311
11218
|
sidecars?: undefined;
|
|
11312
11219
|
authorizationList?: undefined;
|
|
11313
11220
|
chainId?: number | undefined;
|
|
11314
|
-
connector?:
|
|
11221
|
+
connector?: wagmi0.Connector | undefined;
|
|
11315
11222
|
} | {
|
|
11316
11223
|
abi: abitype0.Abi;
|
|
11317
11224
|
functionName: string;
|
|
@@ -11335,7 +11242,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11335
11242
|
sidecars?: undefined;
|
|
11336
11243
|
authorizationList?: undefined;
|
|
11337
11244
|
chainId?: number | undefined;
|
|
11338
|
-
connector?:
|
|
11245
|
+
connector?: wagmi0.Connector | undefined;
|
|
11339
11246
|
} | {
|
|
11340
11247
|
abi: abitype0.Abi;
|
|
11341
11248
|
functionName: string;
|
|
@@ -11359,7 +11266,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11359
11266
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
11360
11267
|
authorizationList?: undefined;
|
|
11361
11268
|
chainId?: number | undefined;
|
|
11362
|
-
connector?:
|
|
11269
|
+
connector?: wagmi0.Connector | undefined;
|
|
11363
11270
|
} | {
|
|
11364
11271
|
abi: abitype0.Abi;
|
|
11365
11272
|
functionName: string;
|
|
@@ -11383,7 +11290,7 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11383
11290
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
11384
11291
|
authorizationList?: undefined;
|
|
11385
11292
|
chainId?: number | undefined;
|
|
11386
|
-
connector?:
|
|
11293
|
+
connector?: wagmi0.Connector | undefined;
|
|
11387
11294
|
} | {
|
|
11388
11295
|
abi: abitype0.Abi;
|
|
11389
11296
|
functionName: string;
|
|
@@ -11407,15 +11314,15 @@ declare const usePauseAllMarkets: (guardianAddr: Address | undefined) => {
|
|
|
11407
11314
|
sidecars?: undefined;
|
|
11408
11315
|
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
11409
11316
|
chainId?: number | undefined;
|
|
11410
|
-
connector?:
|
|
11317
|
+
connector?: wagmi0.Connector | undefined;
|
|
11411
11318
|
};
|
|
11412
11319
|
isIdle: false;
|
|
11413
11320
|
reset: () => void;
|
|
11414
11321
|
context: unknown;
|
|
11415
11322
|
submittedAt: number;
|
|
11416
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
11417
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
11418
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
11323
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
11324
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
11325
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
11419
11326
|
pauseAllMarkets: (paused: boolean) => Promise<`0x${string}`>;
|
|
11420
11327
|
};
|
|
11421
11328
|
//#endregion
|
|
@@ -11435,9 +11342,9 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11435
11342
|
reset: () => void;
|
|
11436
11343
|
context: unknown;
|
|
11437
11344
|
submittedAt: number;
|
|
11438
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
11439
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
11440
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
11345
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
11346
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
11347
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
11441
11348
|
pauseMarket: (paused: boolean) => Promise<`0x${string}`>;
|
|
11442
11349
|
} | {
|
|
11443
11350
|
data: undefined;
|
|
@@ -11472,7 +11379,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11472
11379
|
sidecars?: undefined;
|
|
11473
11380
|
authorizationList?: undefined;
|
|
11474
11381
|
chainId?: number | undefined;
|
|
11475
|
-
connector?:
|
|
11382
|
+
connector?: wagmi0.Connector | undefined;
|
|
11476
11383
|
} | {
|
|
11477
11384
|
abi: abitype0.Abi;
|
|
11478
11385
|
functionName: string;
|
|
@@ -11496,7 +11403,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11496
11403
|
sidecars?: undefined;
|
|
11497
11404
|
authorizationList?: undefined;
|
|
11498
11405
|
chainId?: number | undefined;
|
|
11499
|
-
connector?:
|
|
11406
|
+
connector?: wagmi0.Connector | undefined;
|
|
11500
11407
|
} | {
|
|
11501
11408
|
abi: abitype0.Abi;
|
|
11502
11409
|
functionName: string;
|
|
@@ -11520,7 +11427,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11520
11427
|
sidecars?: undefined;
|
|
11521
11428
|
authorizationList?: undefined;
|
|
11522
11429
|
chainId?: number | undefined;
|
|
11523
|
-
connector?:
|
|
11430
|
+
connector?: wagmi0.Connector | undefined;
|
|
11524
11431
|
} | {
|
|
11525
11432
|
abi: abitype0.Abi;
|
|
11526
11433
|
functionName: string;
|
|
@@ -11544,7 +11451,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11544
11451
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
11545
11452
|
authorizationList?: undefined;
|
|
11546
11453
|
chainId?: number | undefined;
|
|
11547
|
-
connector?:
|
|
11454
|
+
connector?: wagmi0.Connector | undefined;
|
|
11548
11455
|
} | {
|
|
11549
11456
|
abi: abitype0.Abi;
|
|
11550
11457
|
functionName: string;
|
|
@@ -11568,7 +11475,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11568
11475
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
11569
11476
|
authorizationList?: undefined;
|
|
11570
11477
|
chainId?: number | undefined;
|
|
11571
|
-
connector?:
|
|
11478
|
+
connector?: wagmi0.Connector | undefined;
|
|
11572
11479
|
} | {
|
|
11573
11480
|
abi: abitype0.Abi;
|
|
11574
11481
|
functionName: string;
|
|
@@ -11592,15 +11499,15 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11592
11499
|
sidecars?: undefined;
|
|
11593
11500
|
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
11594
11501
|
chainId?: number | undefined;
|
|
11595
|
-
connector?:
|
|
11502
|
+
connector?: wagmi0.Connector | undefined;
|
|
11596
11503
|
};
|
|
11597
11504
|
isIdle: false;
|
|
11598
11505
|
reset: () => void;
|
|
11599
11506
|
context: unknown;
|
|
11600
11507
|
submittedAt: number;
|
|
11601
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
11602
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
11603
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
11508
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
11509
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
11510
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
11604
11511
|
pauseMarket: (paused: boolean) => Promise<`0x${string}`>;
|
|
11605
11512
|
} | {
|
|
11606
11513
|
data: undefined;
|
|
@@ -11635,7 +11542,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11635
11542
|
sidecars?: undefined;
|
|
11636
11543
|
authorizationList?: undefined;
|
|
11637
11544
|
chainId?: number | undefined;
|
|
11638
|
-
connector?:
|
|
11545
|
+
connector?: wagmi0.Connector | undefined;
|
|
11639
11546
|
} | {
|
|
11640
11547
|
abi: abitype0.Abi;
|
|
11641
11548
|
functionName: string;
|
|
@@ -11659,7 +11566,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11659
11566
|
sidecars?: undefined;
|
|
11660
11567
|
authorizationList?: undefined;
|
|
11661
11568
|
chainId?: number | undefined;
|
|
11662
|
-
connector?:
|
|
11569
|
+
connector?: wagmi0.Connector | undefined;
|
|
11663
11570
|
} | {
|
|
11664
11571
|
abi: abitype0.Abi;
|
|
11665
11572
|
functionName: string;
|
|
@@ -11683,7 +11590,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11683
11590
|
sidecars?: undefined;
|
|
11684
11591
|
authorizationList?: undefined;
|
|
11685
11592
|
chainId?: number | undefined;
|
|
11686
|
-
connector?:
|
|
11593
|
+
connector?: wagmi0.Connector | undefined;
|
|
11687
11594
|
} | {
|
|
11688
11595
|
abi: abitype0.Abi;
|
|
11689
11596
|
functionName: string;
|
|
@@ -11707,7 +11614,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11707
11614
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
11708
11615
|
authorizationList?: undefined;
|
|
11709
11616
|
chainId?: number | undefined;
|
|
11710
|
-
connector?:
|
|
11617
|
+
connector?: wagmi0.Connector | undefined;
|
|
11711
11618
|
} | {
|
|
11712
11619
|
abi: abitype0.Abi;
|
|
11713
11620
|
functionName: string;
|
|
@@ -11731,7 +11638,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11731
11638
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
11732
11639
|
authorizationList?: undefined;
|
|
11733
11640
|
chainId?: number | undefined;
|
|
11734
|
-
connector?:
|
|
11641
|
+
connector?: wagmi0.Connector | undefined;
|
|
11735
11642
|
} | {
|
|
11736
11643
|
abi: abitype0.Abi;
|
|
11737
11644
|
functionName: string;
|
|
@@ -11755,15 +11662,15 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11755
11662
|
sidecars?: undefined;
|
|
11756
11663
|
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
11757
11664
|
chainId?: number | undefined;
|
|
11758
|
-
connector?:
|
|
11665
|
+
connector?: wagmi0.Connector | undefined;
|
|
11759
11666
|
};
|
|
11760
11667
|
isIdle: false;
|
|
11761
11668
|
reset: () => void;
|
|
11762
11669
|
context: unknown;
|
|
11763
11670
|
submittedAt: number;
|
|
11764
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
11765
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
11766
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
11671
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
11672
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
11673
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
11767
11674
|
pauseMarket: (paused: boolean) => Promise<`0x${string}`>;
|
|
11768
11675
|
} | {
|
|
11769
11676
|
data: `0x${string}`;
|
|
@@ -11798,7 +11705,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11798
11705
|
sidecars?: undefined;
|
|
11799
11706
|
authorizationList?: undefined;
|
|
11800
11707
|
chainId?: number | undefined;
|
|
11801
|
-
connector?:
|
|
11708
|
+
connector?: wagmi0.Connector | undefined;
|
|
11802
11709
|
} | {
|
|
11803
11710
|
abi: abitype0.Abi;
|
|
11804
11711
|
functionName: string;
|
|
@@ -11822,7 +11729,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11822
11729
|
sidecars?: undefined;
|
|
11823
11730
|
authorizationList?: undefined;
|
|
11824
11731
|
chainId?: number | undefined;
|
|
11825
|
-
connector?:
|
|
11732
|
+
connector?: wagmi0.Connector | undefined;
|
|
11826
11733
|
} | {
|
|
11827
11734
|
abi: abitype0.Abi;
|
|
11828
11735
|
functionName: string;
|
|
@@ -11846,7 +11753,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11846
11753
|
sidecars?: undefined;
|
|
11847
11754
|
authorizationList?: undefined;
|
|
11848
11755
|
chainId?: number | undefined;
|
|
11849
|
-
connector?:
|
|
11756
|
+
connector?: wagmi0.Connector | undefined;
|
|
11850
11757
|
} | {
|
|
11851
11758
|
abi: abitype0.Abi;
|
|
11852
11759
|
functionName: string;
|
|
@@ -11870,7 +11777,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11870
11777
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
11871
11778
|
authorizationList?: undefined;
|
|
11872
11779
|
chainId?: number | undefined;
|
|
11873
|
-
connector?:
|
|
11780
|
+
connector?: wagmi0.Connector | undefined;
|
|
11874
11781
|
} | {
|
|
11875
11782
|
abi: abitype0.Abi;
|
|
11876
11783
|
functionName: string;
|
|
@@ -11894,7 +11801,7 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11894
11801
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
11895
11802
|
authorizationList?: undefined;
|
|
11896
11803
|
chainId?: number | undefined;
|
|
11897
|
-
connector?:
|
|
11804
|
+
connector?: wagmi0.Connector | undefined;
|
|
11898
11805
|
} | {
|
|
11899
11806
|
abi: abitype0.Abi;
|
|
11900
11807
|
functionName: string;
|
|
@@ -11918,20 +11825,20 @@ declare const usePauseMarket: (marketAddr: Address | undefined) => {
|
|
|
11918
11825
|
sidecars?: undefined;
|
|
11919
11826
|
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
11920
11827
|
chainId?: number | undefined;
|
|
11921
|
-
connector?:
|
|
11828
|
+
connector?: wagmi0.Connector | undefined;
|
|
11922
11829
|
};
|
|
11923
11830
|
isIdle: false;
|
|
11924
11831
|
reset: () => void;
|
|
11925
11832
|
context: unknown;
|
|
11926
11833
|
submittedAt: number;
|
|
11927
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
11928
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
11929
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
11834
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
11835
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
11836
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
11930
11837
|
pauseMarket: (paused: boolean) => Promise<`0x${string}`>;
|
|
11931
11838
|
};
|
|
11932
11839
|
//#endregion
|
|
11933
11840
|
//#region src/hooks/fees/useFeeRates.d.ts
|
|
11934
|
-
declare const useFeeRates: (feeStrategy?: Address) =>
|
|
11841
|
+
declare const useFeeRates: (feeStrategy?: Address) => wagmi0.UseReadContractReturnType<readonly [{
|
|
11935
11842
|
readonly type: "function";
|
|
11936
11843
|
readonly name: "batchGetRefTick";
|
|
11937
11844
|
readonly inputs: readonly [{
|
|
@@ -12929,9 +12836,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
12929
12836
|
reset: () => void;
|
|
12930
12837
|
context: unknown;
|
|
12931
12838
|
submittedAt: number;
|
|
12932
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
12933
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
12934
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
12839
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
12840
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
12841
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
12935
12842
|
updateMarketFees: (rates: {
|
|
12936
12843
|
openingFeeRate?: number;
|
|
12937
12844
|
baseFeeRate?: number;
|
|
@@ -12976,7 +12883,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
12976
12883
|
sidecars?: undefined;
|
|
12977
12884
|
authorizationList?: undefined;
|
|
12978
12885
|
chainId?: number | undefined;
|
|
12979
|
-
connector?:
|
|
12886
|
+
connector?: wagmi0.Connector | undefined;
|
|
12980
12887
|
} | {
|
|
12981
12888
|
abi: abitype0.Abi;
|
|
12982
12889
|
functionName: string;
|
|
@@ -13000,7 +12907,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13000
12907
|
sidecars?: undefined;
|
|
13001
12908
|
authorizationList?: undefined;
|
|
13002
12909
|
chainId?: number | undefined;
|
|
13003
|
-
connector?:
|
|
12910
|
+
connector?: wagmi0.Connector | undefined;
|
|
13004
12911
|
} | {
|
|
13005
12912
|
abi: abitype0.Abi;
|
|
13006
12913
|
functionName: string;
|
|
@@ -13024,7 +12931,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13024
12931
|
sidecars?: undefined;
|
|
13025
12932
|
authorizationList?: undefined;
|
|
13026
12933
|
chainId?: number | undefined;
|
|
13027
|
-
connector?:
|
|
12934
|
+
connector?: wagmi0.Connector | undefined;
|
|
13028
12935
|
} | {
|
|
13029
12936
|
abi: abitype0.Abi;
|
|
13030
12937
|
functionName: string;
|
|
@@ -13048,7 +12955,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13048
12955
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
13049
12956
|
authorizationList?: undefined;
|
|
13050
12957
|
chainId?: number | undefined;
|
|
13051
|
-
connector?:
|
|
12958
|
+
connector?: wagmi0.Connector | undefined;
|
|
13052
12959
|
} | {
|
|
13053
12960
|
abi: abitype0.Abi;
|
|
13054
12961
|
functionName: string;
|
|
@@ -13072,7 +12979,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13072
12979
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
13073
12980
|
authorizationList?: undefined;
|
|
13074
12981
|
chainId?: number | undefined;
|
|
13075
|
-
connector?:
|
|
12982
|
+
connector?: wagmi0.Connector | undefined;
|
|
13076
12983
|
} | {
|
|
13077
12984
|
abi: abitype0.Abi;
|
|
13078
12985
|
functionName: string;
|
|
@@ -13096,15 +13003,15 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13096
13003
|
sidecars?: undefined;
|
|
13097
13004
|
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
13098
13005
|
chainId?: number | undefined;
|
|
13099
|
-
connector?:
|
|
13006
|
+
connector?: wagmi0.Connector | undefined;
|
|
13100
13007
|
};
|
|
13101
13008
|
isIdle: false;
|
|
13102
13009
|
reset: () => void;
|
|
13103
13010
|
context: unknown;
|
|
13104
13011
|
submittedAt: number;
|
|
13105
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
13106
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
13107
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
13012
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
13013
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
13014
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
13108
13015
|
updateMarketFees: (rates: {
|
|
13109
13016
|
openingFeeRate?: number;
|
|
13110
13017
|
baseFeeRate?: number;
|
|
@@ -13149,7 +13056,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13149
13056
|
sidecars?: undefined;
|
|
13150
13057
|
authorizationList?: undefined;
|
|
13151
13058
|
chainId?: number | undefined;
|
|
13152
|
-
connector?:
|
|
13059
|
+
connector?: wagmi0.Connector | undefined;
|
|
13153
13060
|
} | {
|
|
13154
13061
|
abi: abitype0.Abi;
|
|
13155
13062
|
functionName: string;
|
|
@@ -13173,7 +13080,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13173
13080
|
sidecars?: undefined;
|
|
13174
13081
|
authorizationList?: undefined;
|
|
13175
13082
|
chainId?: number | undefined;
|
|
13176
|
-
connector?:
|
|
13083
|
+
connector?: wagmi0.Connector | undefined;
|
|
13177
13084
|
} | {
|
|
13178
13085
|
abi: abitype0.Abi;
|
|
13179
13086
|
functionName: string;
|
|
@@ -13197,7 +13104,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13197
13104
|
sidecars?: undefined;
|
|
13198
13105
|
authorizationList?: undefined;
|
|
13199
13106
|
chainId?: number | undefined;
|
|
13200
|
-
connector?:
|
|
13107
|
+
connector?: wagmi0.Connector | undefined;
|
|
13201
13108
|
} | {
|
|
13202
13109
|
abi: abitype0.Abi;
|
|
13203
13110
|
functionName: string;
|
|
@@ -13221,7 +13128,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13221
13128
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
13222
13129
|
authorizationList?: undefined;
|
|
13223
13130
|
chainId?: number | undefined;
|
|
13224
|
-
connector?:
|
|
13131
|
+
connector?: wagmi0.Connector | undefined;
|
|
13225
13132
|
} | {
|
|
13226
13133
|
abi: abitype0.Abi;
|
|
13227
13134
|
functionName: string;
|
|
@@ -13245,7 +13152,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13245
13152
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
13246
13153
|
authorizationList?: undefined;
|
|
13247
13154
|
chainId?: number | undefined;
|
|
13248
|
-
connector?:
|
|
13155
|
+
connector?: wagmi0.Connector | undefined;
|
|
13249
13156
|
} | {
|
|
13250
13157
|
abi: abitype0.Abi;
|
|
13251
13158
|
functionName: string;
|
|
@@ -13269,15 +13176,15 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13269
13176
|
sidecars?: undefined;
|
|
13270
13177
|
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
13271
13178
|
chainId?: number | undefined;
|
|
13272
|
-
connector?:
|
|
13179
|
+
connector?: wagmi0.Connector | undefined;
|
|
13273
13180
|
};
|
|
13274
13181
|
isIdle: false;
|
|
13275
13182
|
reset: () => void;
|
|
13276
13183
|
context: unknown;
|
|
13277
13184
|
submittedAt: number;
|
|
13278
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
13279
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
13280
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
13185
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
13186
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
13187
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
13281
13188
|
updateMarketFees: (rates: {
|
|
13282
13189
|
openingFeeRate?: number;
|
|
13283
13190
|
baseFeeRate?: number;
|
|
@@ -13322,7 +13229,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13322
13229
|
sidecars?: undefined;
|
|
13323
13230
|
authorizationList?: undefined;
|
|
13324
13231
|
chainId?: number | undefined;
|
|
13325
|
-
connector?:
|
|
13232
|
+
connector?: wagmi0.Connector | undefined;
|
|
13326
13233
|
} | {
|
|
13327
13234
|
abi: abitype0.Abi;
|
|
13328
13235
|
functionName: string;
|
|
@@ -13346,7 +13253,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13346
13253
|
sidecars?: undefined;
|
|
13347
13254
|
authorizationList?: undefined;
|
|
13348
13255
|
chainId?: number | undefined;
|
|
13349
|
-
connector?:
|
|
13256
|
+
connector?: wagmi0.Connector | undefined;
|
|
13350
13257
|
} | {
|
|
13351
13258
|
abi: abitype0.Abi;
|
|
13352
13259
|
functionName: string;
|
|
@@ -13370,7 +13277,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13370
13277
|
sidecars?: undefined;
|
|
13371
13278
|
authorizationList?: undefined;
|
|
13372
13279
|
chainId?: number | undefined;
|
|
13373
|
-
connector?:
|
|
13280
|
+
connector?: wagmi0.Connector | undefined;
|
|
13374
13281
|
} | {
|
|
13375
13282
|
abi: abitype0.Abi;
|
|
13376
13283
|
functionName: string;
|
|
@@ -13394,7 +13301,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13394
13301
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
13395
13302
|
authorizationList?: undefined;
|
|
13396
13303
|
chainId?: number | undefined;
|
|
13397
|
-
connector?:
|
|
13304
|
+
connector?: wagmi0.Connector | undefined;
|
|
13398
13305
|
} | {
|
|
13399
13306
|
abi: abitype0.Abi;
|
|
13400
13307
|
functionName: string;
|
|
@@ -13418,7 +13325,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13418
13325
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
13419
13326
|
authorizationList?: undefined;
|
|
13420
13327
|
chainId?: number | undefined;
|
|
13421
|
-
connector?:
|
|
13328
|
+
connector?: wagmi0.Connector | undefined;
|
|
13422
13329
|
} | {
|
|
13423
13330
|
abi: abitype0.Abi;
|
|
13424
13331
|
functionName: string;
|
|
@@ -13442,15 +13349,15 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
13442
13349
|
sidecars?: undefined;
|
|
13443
13350
|
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
13444
13351
|
chainId?: number | undefined;
|
|
13445
|
-
connector?:
|
|
13352
|
+
connector?: wagmi0.Connector | undefined;
|
|
13446
13353
|
};
|
|
13447
13354
|
isIdle: false;
|
|
13448
13355
|
reset: () => void;
|
|
13449
13356
|
context: unknown;
|
|
13450
13357
|
submittedAt: number;
|
|
13451
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
13452
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
13453
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
13358
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
13359
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
13360
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
13454
13361
|
updateMarketFees: (rates: {
|
|
13455
13362
|
openingFeeRate?: number;
|
|
13456
13363
|
baseFeeRate?: number;
|
|
@@ -13479,7 +13386,7 @@ type OptionPricingParams = {
|
|
|
13479
13386
|
minPremiumAmount: bigint;
|
|
13480
13387
|
};
|
|
13481
13388
|
type PricingParams = StaticPricingParams | OptionPricingParams;
|
|
13482
|
-
declare const usePricingParams: (pricingAddr: Address | undefined) =>
|
|
13389
|
+
declare const usePricingParams: (pricingAddr: Address | undefined) => wagmi0.UseReadContractReturnType<readonly [{
|
|
13483
13390
|
readonly type: "function";
|
|
13484
13391
|
readonly name: "batchGetRefTick";
|
|
13485
13392
|
readonly inputs: readonly [{
|
|
@@ -14486,9 +14393,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14486
14393
|
reset: () => void;
|
|
14487
14394
|
context: unknown;
|
|
14488
14395
|
submittedAt: number;
|
|
14489
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
14490
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
14491
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
14396
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
14397
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
14398
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
14492
14399
|
updateMarketPricing: <T extends "static" | "bsm">(data: T extends "static" ? Partial<StaticPricingParams> & {
|
|
14493
14400
|
model: "static";
|
|
14494
14401
|
} : Partial<OptionPricingParams> & {
|
|
@@ -14531,7 +14438,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14531
14438
|
sidecars?: undefined;
|
|
14532
14439
|
authorizationList?: undefined;
|
|
14533
14440
|
chainId?: number | undefined;
|
|
14534
|
-
connector?:
|
|
14441
|
+
connector?: wagmi0.Connector | undefined;
|
|
14535
14442
|
} | {
|
|
14536
14443
|
abi: abitype0.Abi;
|
|
14537
14444
|
functionName: string;
|
|
@@ -14555,7 +14462,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14555
14462
|
sidecars?: undefined;
|
|
14556
14463
|
authorizationList?: undefined;
|
|
14557
14464
|
chainId?: number | undefined;
|
|
14558
|
-
connector?:
|
|
14465
|
+
connector?: wagmi0.Connector | undefined;
|
|
14559
14466
|
} | {
|
|
14560
14467
|
abi: abitype0.Abi;
|
|
14561
14468
|
functionName: string;
|
|
@@ -14579,7 +14486,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14579
14486
|
sidecars?: undefined;
|
|
14580
14487
|
authorizationList?: undefined;
|
|
14581
14488
|
chainId?: number | undefined;
|
|
14582
|
-
connector?:
|
|
14489
|
+
connector?: wagmi0.Connector | undefined;
|
|
14583
14490
|
} | {
|
|
14584
14491
|
abi: abitype0.Abi;
|
|
14585
14492
|
functionName: string;
|
|
@@ -14603,7 +14510,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14603
14510
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
14604
14511
|
authorizationList?: undefined;
|
|
14605
14512
|
chainId?: number | undefined;
|
|
14606
|
-
connector?:
|
|
14513
|
+
connector?: wagmi0.Connector | undefined;
|
|
14607
14514
|
} | {
|
|
14608
14515
|
abi: abitype0.Abi;
|
|
14609
14516
|
functionName: string;
|
|
@@ -14627,7 +14534,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14627
14534
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
14628
14535
|
authorizationList?: undefined;
|
|
14629
14536
|
chainId?: number | undefined;
|
|
14630
|
-
connector?:
|
|
14537
|
+
connector?: wagmi0.Connector | undefined;
|
|
14631
14538
|
} | {
|
|
14632
14539
|
abi: abitype0.Abi;
|
|
14633
14540
|
functionName: string;
|
|
@@ -14651,15 +14558,15 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14651
14558
|
sidecars?: undefined;
|
|
14652
14559
|
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
14653
14560
|
chainId?: number | undefined;
|
|
14654
|
-
connector?:
|
|
14561
|
+
connector?: wagmi0.Connector | undefined;
|
|
14655
14562
|
};
|
|
14656
14563
|
isIdle: false;
|
|
14657
14564
|
reset: () => void;
|
|
14658
14565
|
context: unknown;
|
|
14659
14566
|
submittedAt: number;
|
|
14660
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
14661
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
14662
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
14567
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
14568
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
14569
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
14663
14570
|
updateMarketPricing: <T extends "static" | "bsm">(data: T extends "static" ? Partial<StaticPricingParams> & {
|
|
14664
14571
|
model: "static";
|
|
14665
14572
|
} : Partial<OptionPricingParams> & {
|
|
@@ -14702,7 +14609,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14702
14609
|
sidecars?: undefined;
|
|
14703
14610
|
authorizationList?: undefined;
|
|
14704
14611
|
chainId?: number | undefined;
|
|
14705
|
-
connector?:
|
|
14612
|
+
connector?: wagmi0.Connector | undefined;
|
|
14706
14613
|
} | {
|
|
14707
14614
|
abi: abitype0.Abi;
|
|
14708
14615
|
functionName: string;
|
|
@@ -14726,7 +14633,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14726
14633
|
sidecars?: undefined;
|
|
14727
14634
|
authorizationList?: undefined;
|
|
14728
14635
|
chainId?: number | undefined;
|
|
14729
|
-
connector?:
|
|
14636
|
+
connector?: wagmi0.Connector | undefined;
|
|
14730
14637
|
} | {
|
|
14731
14638
|
abi: abitype0.Abi;
|
|
14732
14639
|
functionName: string;
|
|
@@ -14750,7 +14657,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14750
14657
|
sidecars?: undefined;
|
|
14751
14658
|
authorizationList?: undefined;
|
|
14752
14659
|
chainId?: number | undefined;
|
|
14753
|
-
connector?:
|
|
14660
|
+
connector?: wagmi0.Connector | undefined;
|
|
14754
14661
|
} | {
|
|
14755
14662
|
abi: abitype0.Abi;
|
|
14756
14663
|
functionName: string;
|
|
@@ -14774,7 +14681,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14774
14681
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
14775
14682
|
authorizationList?: undefined;
|
|
14776
14683
|
chainId?: number | undefined;
|
|
14777
|
-
connector?:
|
|
14684
|
+
connector?: wagmi0.Connector | undefined;
|
|
14778
14685
|
} | {
|
|
14779
14686
|
abi: abitype0.Abi;
|
|
14780
14687
|
functionName: string;
|
|
@@ -14798,7 +14705,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14798
14705
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
14799
14706
|
authorizationList?: undefined;
|
|
14800
14707
|
chainId?: number | undefined;
|
|
14801
|
-
connector?:
|
|
14708
|
+
connector?: wagmi0.Connector | undefined;
|
|
14802
14709
|
} | {
|
|
14803
14710
|
abi: abitype0.Abi;
|
|
14804
14711
|
functionName: string;
|
|
@@ -14822,15 +14729,15 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14822
14729
|
sidecars?: undefined;
|
|
14823
14730
|
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
14824
14731
|
chainId?: number | undefined;
|
|
14825
|
-
connector?:
|
|
14732
|
+
connector?: wagmi0.Connector | undefined;
|
|
14826
14733
|
};
|
|
14827
14734
|
isIdle: false;
|
|
14828
14735
|
reset: () => void;
|
|
14829
14736
|
context: unknown;
|
|
14830
14737
|
submittedAt: number;
|
|
14831
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
14832
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
14833
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
14738
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
14739
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
14740
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
14834
14741
|
updateMarketPricing: <T extends "static" | "bsm">(data: T extends "static" ? Partial<StaticPricingParams> & {
|
|
14835
14742
|
model: "static";
|
|
14836
14743
|
} : Partial<OptionPricingParams> & {
|
|
@@ -14873,7 +14780,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14873
14780
|
sidecars?: undefined;
|
|
14874
14781
|
authorizationList?: undefined;
|
|
14875
14782
|
chainId?: number | undefined;
|
|
14876
|
-
connector?:
|
|
14783
|
+
connector?: wagmi0.Connector | undefined;
|
|
14877
14784
|
} | {
|
|
14878
14785
|
abi: abitype0.Abi;
|
|
14879
14786
|
functionName: string;
|
|
@@ -14897,7 +14804,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14897
14804
|
sidecars?: undefined;
|
|
14898
14805
|
authorizationList?: undefined;
|
|
14899
14806
|
chainId?: number | undefined;
|
|
14900
|
-
connector?:
|
|
14807
|
+
connector?: wagmi0.Connector | undefined;
|
|
14901
14808
|
} | {
|
|
14902
14809
|
abi: abitype0.Abi;
|
|
14903
14810
|
functionName: string;
|
|
@@ -14921,7 +14828,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14921
14828
|
sidecars?: undefined;
|
|
14922
14829
|
authorizationList?: undefined;
|
|
14923
14830
|
chainId?: number | undefined;
|
|
14924
|
-
connector?:
|
|
14831
|
+
connector?: wagmi0.Connector | undefined;
|
|
14925
14832
|
} | {
|
|
14926
14833
|
abi: abitype0.Abi;
|
|
14927
14834
|
functionName: string;
|
|
@@ -14945,7 +14852,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14945
14852
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
14946
14853
|
authorizationList?: undefined;
|
|
14947
14854
|
chainId?: number | undefined;
|
|
14948
|
-
connector?:
|
|
14855
|
+
connector?: wagmi0.Connector | undefined;
|
|
14949
14856
|
} | {
|
|
14950
14857
|
abi: abitype0.Abi;
|
|
14951
14858
|
functionName: string;
|
|
@@ -14969,7 +14876,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14969
14876
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
14970
14877
|
authorizationList?: undefined;
|
|
14971
14878
|
chainId?: number | undefined;
|
|
14972
|
-
connector?:
|
|
14879
|
+
connector?: wagmi0.Connector | undefined;
|
|
14973
14880
|
} | {
|
|
14974
14881
|
abi: abitype0.Abi;
|
|
14975
14882
|
functionName: string;
|
|
@@ -14993,15 +14900,15 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
14993
14900
|
sidecars?: undefined;
|
|
14994
14901
|
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
14995
14902
|
chainId?: number | undefined;
|
|
14996
|
-
connector?:
|
|
14903
|
+
connector?: wagmi0.Connector | undefined;
|
|
14997
14904
|
};
|
|
14998
14905
|
isIdle: false;
|
|
14999
14906
|
reset: () => void;
|
|
15000
14907
|
context: unknown;
|
|
15001
14908
|
submittedAt: number;
|
|
15002
|
-
mutate: wagmi_query0.WriteContractMutate<
|
|
15003
|
-
writeContract: wagmi_query0.WriteContractMutate<
|
|
15004
|
-
writeContractAsync: wagmi_query0.WriteContractMutateAsync<
|
|
14909
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
14910
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
14911
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
15005
14912
|
updateMarketPricing: <T extends "static" | "bsm">(data: T extends "static" ? Partial<StaticPricingParams> & {
|
|
15006
14913
|
model: "static";
|
|
15007
14914
|
} : Partial<OptionPricingParams> & {
|