wagmi 0.7.4 → 0.7.6

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.
@@ -14,4 +14,4 @@ export declare const queryKey: ({ addressOrName, chainId, formatUnits, token, }:
14
14
  readonly formatUnits: number | "wei" | "kwei" | "mwei" | "gwei" | "szabo" | "finney" | "ether" | undefined;
15
15
  readonly token: `0x${string}` | undefined;
16
16
  }];
17
- export declare function useBalance({ addressOrName, cacheTime, chainId: chainId_, enabled, formatUnits, staleTime, suspense, token, watch, onError, onSettled, onSuccess, }?: UseBalanceArgs & UseBalanceConfig): import("../utils/query/useQuery").UseQueryResult<FetchBalanceResult, Error>;
17
+ export declare function useBalance({ addressOrName, cacheTime, chainId: chainId_, enabled, formatUnits, staleTime, suspense, token, watch, onError, onSettled, onSuccess, }?: UseBalanceArgs & UseBalanceConfig): import("../utils").UseQueryResult<FetchBalanceResult, Error>;
@@ -6,4 +6,4 @@ export declare const queryKey: ({ chainId }: FetchSignerArgs) => readonly [{
6
6
  readonly chainId: number | undefined;
7
7
  readonly persist: false;
8
8
  }];
9
- export declare function useSigner<TSigner extends Signer>({ chainId: chainId_, suspense, onError, onSettled, onSuccess, }?: UseSignerConfig): import("../utils/query/useQuery").UseQueryResult<FetchSignerResult<TSigner>, Error>;
9
+ export declare function useSigner<TSigner extends Signer>({ chainId: chainId_, suspense, onError, onSettled, onSuccess, }?: UseSignerConfig): import("../utils").UseQueryResult<FetchSignerResult<TSigner>, Error>;
@@ -1,6 +1,6 @@
1
- import { AbiEventParametersToPrimitiveTypes, Event, IsNever, NotEqual, Or } from '@wagmi/core/internal';
2
- import { Abi, AbiEvent, ExtractAbiEvent, ExtractAbiEventNames, Narrow } from 'abitype';
3
- declare type GetListener<TAbiEvent extends AbiEvent, TAbi = unknown> = AbiEventParametersToPrimitiveTypes<TAbiEvent['inputs']> extends infer TArgs extends readonly unknown[] ? Or<IsNever<TArgs>, NotEqual<TAbi, Abi>> extends true ? {
1
+ import { Event, IsNever, NotEqual, Or } from '@wagmi/core/internal';
2
+ import { Abi, AbiEvent, AbiParametersToPrimitiveTypes, ExtractAbiEvent, ExtractAbiEventNames, Narrow } from 'abitype';
3
+ declare type GetListener<TAbiEvent extends AbiEvent, TAbi = unknown> = AbiParametersToPrimitiveTypes<TAbiEvent['inputs']> extends infer TArgs extends readonly unknown[] ? Or<IsNever<TArgs>, NotEqual<TAbi, Abi>> extends true ? {
4
4
  /**
5
5
  * Callback when event is emitted
6
6
  *
@@ -2,6 +2,7 @@ import { ReadContractsConfig, ReadContractsResult } from '@wagmi/core';
2
2
  import { ContractsConfig } from '@wagmi/core/internal';
3
3
  import { Abi } from 'abitype';
4
4
  import { InfiniteQueryConfig } from '../../types';
5
+ import { UseInfiniteQueryResult } from '../utils';
5
6
  export declare type UseContractInfiniteReadsConfig<TContracts extends unknown[] = unknown[], TPageParam = unknown> = Pick<ReadContractsConfig<TContracts>, 'allowFailure' | 'overrides'> & {
6
7
  cacheKey: string;
7
8
  contracts(pageParam: TPageParam): readonly [
@@ -14,121 +15,7 @@ export declare type UseContractInfiniteReadsConfig<TContracts extends unknown[]
14
15
  export declare function useContractInfiniteReads<TAbi extends Abi | readonly unknown[], TFunctionName extends string, TContracts extends {
15
16
  abi: TAbi;
16
17
  functionName: TFunctionName;
17
- }[], TPageParam = any>({ allowFailure, cacheKey, cacheTime, contracts, enabled: enabled_, getNextPageParam, isDataEqual, keepPreviousData, onError, onSettled, onSuccess, overrides, select, staleTime, suspense, }: UseContractInfiniteReadsConfig<TContracts, TPageParam>): Pick<import("@tanstack/react-query").InfiniteQueryObserverResult<TContracts extends [] ? [] : TContracts extends [infer Head] ? [import("@wagmi/core").GetReturnType<Head>] : TContracts extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T ? T extends [...Tail] ? T extends [] ? [] : T extends [infer Head] ? [import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head>] : T extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T_1 ? T_1 extends [...Tail] ? T_1 extends [] ? [] : T_1 extends [infer Head] ? [import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head>] : T_1 extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T_2 ? T_2 extends [...Tail] ? T_2 extends [] ? [] : T_2 extends [infer Head] ? [import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head>] : T_2 extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T_3 ? T_3 extends [...Tail] ? T_3 extends [] ? [] : T_3 extends [infer Head] ? [import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head>] : T_3 extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T_4 ? T_4 extends [...Tail] ? T_4 extends [] ? [] : T_4 extends [infer Head] ? [import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head>] : T_4 extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T_5 ? T_5 extends [...Tail] ? T_5 extends [] ? [] : T_5 extends [infer Head] ? [import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head>] : T_5 extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T_6 ? T_6 extends [...Tail] ? T_6 extends [] ? [] : T_6 extends [infer Head] ? [import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head>] : T_6 extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T_7 ? T_7 extends [...Tail] ? T_7 extends [] ? [] : T_7 extends [infer Head] ? [import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head>] : T_7 extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T_8 ? T_8 extends [...Tail] ? T_8 extends [] ? [] : T_8 extends [infer Head] ? [import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head>] : T_8 extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T_9 ? T_9 extends [...Tail] ? T_9 extends [] ? [] : T_9 extends [infer Head] ? [import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head>] : T_9 extends [infer Head_1, ...infer Tail] ? any : T_9 extends import("@wagmi/core").ContractConfig<infer _TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TAbi_1 extends readonly unknown[] | Abi extends Abi ? Extract<Extract<(infer TAbi_1 extends readonly unknown[] | Abi)[number], {
18
- type: "function";
19
- stateMutability: import("abitype").AbiStateMutability;
20
- }>, {
21
- name: infer TFunctionName_1 extends string;
22
- }> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
23
- abi: TAbi_1;
24
- functionName: TFunctionName_1;
25
- }>[] : ({
26
- [x: string]: unknown;
27
- } & readonly unknown[])[] : never : never : T_8 extends import("@wagmi/core").ContractConfig<infer _TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TAbi_1 extends readonly unknown[] | Abi extends Abi ? Extract<Extract<(infer TAbi_1 extends readonly unknown[] | Abi)[number], {
28
- type: "function";
29
- stateMutability: import("abitype").AbiStateMutability;
30
- }>, {
31
- name: infer TFunctionName_1 extends string;
32
- }> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
33
- abi: TAbi_1;
34
- functionName: TFunctionName_1;
35
- }>[] : ({
36
- [x: string]: unknown;
37
- } & readonly unknown[])[] : never : never : T_7 extends import("@wagmi/core").ContractConfig<infer _TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TAbi_1 extends readonly unknown[] | Abi extends Abi ? Extract<Extract<(infer TAbi_1 extends readonly unknown[] | Abi)[number], {
38
- type: "function";
39
- stateMutability: import("abitype").AbiStateMutability;
40
- }>, {
41
- name: infer TFunctionName_1 extends string;
42
- }> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
43
- abi: TAbi_1;
44
- functionName: TFunctionName_1;
45
- }>[] : ({
46
- [x: string]: unknown;
47
- } & readonly unknown[])[] : never : never : T_6 extends import("@wagmi/core").ContractConfig<infer _TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TAbi_1 extends readonly unknown[] | Abi extends Abi ? Extract<Extract<(infer TAbi_1 extends readonly unknown[] | Abi)[number], {
48
- type: "function";
49
- stateMutability: import("abitype").AbiStateMutability;
50
- }>, {
51
- name: infer TFunctionName_1 extends string;
52
- }> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
53
- abi: TAbi_1;
54
- functionName: TFunctionName_1;
55
- }>[] : ({
56
- [x: string]: unknown;
57
- } & readonly unknown[])[] : never : never : T_5 extends import("@wagmi/core").ContractConfig<infer _TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TAbi_1 extends readonly unknown[] | Abi extends Abi ? Extract<Extract<(infer TAbi_1 extends readonly unknown[] | Abi)[number], {
58
- type: "function";
59
- stateMutability: import("abitype").AbiStateMutability;
60
- }>, {
61
- name: infer TFunctionName_1 extends string;
62
- }> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
63
- abi: TAbi_1;
64
- functionName: TFunctionName_1;
65
- }>[] : ({
66
- [x: string]: unknown;
67
- } & readonly unknown[])[] : never : never : T_4 extends import("@wagmi/core").ContractConfig<infer _TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TAbi_1 extends readonly unknown[] | Abi extends Abi ? Extract<Extract<(infer TAbi_1 extends readonly unknown[] | Abi)[number], {
68
- type: "function";
69
- stateMutability: import("abitype").AbiStateMutability;
70
- }>, {
71
- name: infer TFunctionName_1 extends string;
72
- }> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
73
- abi: TAbi_1;
74
- functionName: TFunctionName_1;
75
- }>[] : ({
76
- [x: string]: unknown;
77
- } & readonly unknown[])[] : never : never : T_3 extends import("@wagmi/core").ContractConfig<infer _TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TAbi_1 extends readonly unknown[] | Abi extends Abi ? Extract<Extract<(infer TAbi_1 extends readonly unknown[] | Abi)[number], {
78
- type: "function";
79
- stateMutability: import("abitype").AbiStateMutability;
80
- }>, {
81
- name: infer TFunctionName_1 extends string;
82
- }> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
83
- abi: TAbi_1;
84
- functionName: TFunctionName_1;
85
- }>[] : ({
86
- [x: string]: unknown;
87
- } & readonly unknown[])[] : never : never : T_2 extends import("@wagmi/core").ContractConfig<infer _TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TAbi_1 extends readonly unknown[] | Abi extends Abi ? Extract<Extract<(infer TAbi_1 extends readonly unknown[] | Abi)[number], {
88
- type: "function";
89
- stateMutability: import("abitype").AbiStateMutability;
90
- }>, {
91
- name: infer TFunctionName_1 extends string;
92
- }> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
93
- abi: TAbi_1;
94
- functionName: TFunctionName_1;
95
- }>[] : ({
96
- [x: string]: unknown;
97
- } & readonly unknown[])[] : never : never : T_1 extends import("@wagmi/core").ContractConfig<infer _TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TAbi_1 extends readonly unknown[] | Abi extends Abi ? Extract<Extract<(infer TAbi_1 extends readonly unknown[] | Abi)[number], {
98
- type: "function";
99
- stateMutability: import("abitype").AbiStateMutability;
100
- }>, {
101
- name: infer TFunctionName_1 extends string;
102
- }> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
103
- abi: TAbi_1;
104
- functionName: TFunctionName_1;
105
- }>[] : ({
106
- [x: string]: unknown;
107
- } & readonly unknown[])[] : never : never : T extends import("@wagmi/core").ContractConfig<infer _TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TAbi_1 extends readonly unknown[] | Abi extends Abi ? Extract<Extract<(infer TAbi_1 extends readonly unknown[] | Abi)[number], {
108
- type: "function";
109
- stateMutability: import("abitype").AbiStateMutability;
110
- }>, {
111
- name: infer TFunctionName_1 extends string;
112
- }> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
113
- abi: TAbi_1;
114
- functionName: TFunctionName_1;
115
- }>[] : ({
116
- [x: string]: unknown;
117
- } & readonly unknown[])[] : never : never : TContracts extends import("@wagmi/core").ContractConfig<infer _TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TAbi_1 extends readonly unknown[] | Abi extends Abi ? Extract<Extract<(infer TAbi_1 extends readonly unknown[] | Abi)[number], {
118
- type: "function";
119
- stateMutability: import("abitype").AbiStateMutability;
120
- }>, {
121
- name: infer TFunctionName_1 extends string;
122
- }> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
123
- abi: TAbi_1;
124
- functionName: TFunctionName_1;
125
- }>[] : ({
126
- [x: string]: unknown;
127
- } & readonly unknown[])[], Error>, "error" | "data" | "fetchStatus" | "isError" | "isFetched" | "isFetchedAfterMount" | "isFetching" | "isLoading" | "isRefetching" | "isSuccess" | "refetch" | "fetchNextPage" | "hasNextPage" | "isFetchingNextPage"> & {
128
- isIdle: boolean;
129
- status: "error" | "success" | "idle" | "loading";
130
- internal: Pick<import("@tanstack/react-query").InfiniteQueryObserverResult<unknown, unknown>, "failureCount" | "isPaused" | "dataUpdatedAt" | "errorUpdatedAt" | "isLoadingError" | "isPlaceholderData" | "isPreviousData" | "isRefetchError" | "isStale" | "remove">;
131
- };
18
+ }[], TPageParam = any>({ allowFailure, cacheKey, cacheTime, contracts, enabled: enabled_, getNextPageParam, isDataEqual, keepPreviousData, onError, onSettled, onSuccess, overrides, select, staleTime, suspense, }: UseContractInfiniteReadsConfig<TContracts, TPageParam>): UseInfiniteQueryResult<ReadContractsResult<TContracts>, Error>;
132
19
  export declare function paginatedIndexesConfig<TAbi extends Abi | readonly unknown[], TFunctionName extends string, TContracts extends {
133
20
  abi: TAbi;
134
21
  functionName: TFunctionName;
@@ -137,402 +24,6 @@ export declare function paginatedIndexesConfig<TAbi extends Abi | readonly unkno
137
24
  start: number;
138
25
  direction: 'increment' | 'decrement';
139
26
  }): {
140
- contracts: (pageParam: unknown) => readonly [...TContracts extends [] ? [] : TContracts extends [infer Head] ? [import("@wagmi/core").GetConfig<Head & {
141
- /** Chain id to use for provider */
142
- chainId?: number | undefined;
143
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>] : TContracts extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T ? T extends [...Tail] ? T extends [] ? [] : T extends [infer Head] ? [import("@wagmi/core").GetConfig<Head_1 & {
144
- /** Chain id to use for provider */
145
- chainId?: number | undefined;
146
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head & {
147
- /** Chain id to use for provider */
148
- chainId?: number | undefined;
149
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>] : T extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T_1 ? T_1 extends [...Tail] ? T_1 extends [] ? [] : T_1 extends [infer Head] ? [import("@wagmi/core").GetConfig<Head_1 & {
150
- /** Chain id to use for provider */
151
- chainId?: number | undefined;
152
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
153
- /** Chain id to use for provider */
154
- chainId?: number | undefined;
155
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head & {
156
- /** Chain id to use for provider */
157
- chainId?: number | undefined;
158
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>] : T_1 extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T_2 ? T_2 extends [...Tail] ? T_2 extends [] ? [] : T_2 extends [infer Head] ? [import("@wagmi/core").GetConfig<Head_1 & {
159
- /** Chain id to use for provider */
160
- chainId?: number | undefined;
161
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
162
- /** Chain id to use for provider */
163
- chainId?: number | undefined;
164
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
165
- /** Chain id to use for provider */
166
- chainId?: number | undefined;
167
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head & {
168
- /** Chain id to use for provider */
169
- chainId?: number | undefined;
170
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>] : T_2 extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T_3 ? T_3 extends [...Tail] ? T_3 extends [] ? [] : T_3 extends [infer Head] ? [import("@wagmi/core").GetConfig<Head_1 & {
171
- /** Chain id to use for provider */
172
- chainId?: number | undefined;
173
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
174
- /** Chain id to use for provider */
175
- chainId?: number | undefined;
176
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
177
- /** Chain id to use for provider */
178
- chainId?: number | undefined;
179
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
180
- /** Chain id to use for provider */
181
- chainId?: number | undefined;
182
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head & {
183
- /** Chain id to use for provider */
184
- chainId?: number | undefined;
185
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>] : T_3 extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T_4 ? T_4 extends [...Tail] ? T_4 extends [] ? [] : T_4 extends [infer Head] ? [import("@wagmi/core").GetConfig<Head_1 & {
186
- /** Chain id to use for provider */
187
- chainId?: number | undefined;
188
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
189
- /** Chain id to use for provider */
190
- chainId?: number | undefined;
191
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
192
- /** Chain id to use for provider */
193
- chainId?: number | undefined;
194
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
195
- /** Chain id to use for provider */
196
- chainId?: number | undefined;
197
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
198
- /** Chain id to use for provider */
199
- chainId?: number | undefined;
200
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head & {
201
- /** Chain id to use for provider */
202
- chainId?: number | undefined;
203
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>] : T_4 extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T_5 ? T_5 extends [...Tail] ? T_5 extends [] ? [] : T_5 extends [infer Head] ? [import("@wagmi/core").GetConfig<Head_1 & {
204
- /** Chain id to use for provider */
205
- chainId?: number | undefined;
206
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
207
- /** Chain id to use for provider */
208
- chainId?: number | undefined;
209
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
210
- /** Chain id to use for provider */
211
- chainId?: number | undefined;
212
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
213
- /** Chain id to use for provider */
214
- chainId?: number | undefined;
215
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
216
- /** Chain id to use for provider */
217
- chainId?: number | undefined;
218
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
219
- /** Chain id to use for provider */
220
- chainId?: number | undefined;
221
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head & {
222
- /** Chain id to use for provider */
223
- chainId?: number | undefined;
224
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>] : T_5 extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T_6 ? T_6 extends [...Tail] ? T_6 extends [] ? [] : T_6 extends [infer Head] ? [import("@wagmi/core").GetConfig<Head_1 & {
225
- /** Chain id to use for provider */
226
- chainId?: number | undefined;
227
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
228
- /** Chain id to use for provider */
229
- chainId?: number | undefined;
230
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
231
- /** Chain id to use for provider */
232
- chainId?: number | undefined;
233
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
234
- /** Chain id to use for provider */
235
- chainId?: number | undefined;
236
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
237
- /** Chain id to use for provider */
238
- chainId?: number | undefined;
239
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
240
- /** Chain id to use for provider */
241
- chainId?: number | undefined;
242
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
243
- /** Chain id to use for provider */
244
- chainId?: number | undefined;
245
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head & {
246
- /** Chain id to use for provider */
247
- chainId?: number | undefined;
248
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>] : T_6 extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T_7 ? T_7 extends [...Tail] ? T_7 extends [] ? [] : T_7 extends [infer Head] ? [import("@wagmi/core").GetConfig<Head_1 & {
249
- /** Chain id to use for provider */
250
- chainId?: number | undefined;
251
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
252
- /** Chain id to use for provider */
253
- chainId?: number | undefined;
254
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
255
- /** Chain id to use for provider */
256
- chainId?: number | undefined;
257
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
258
- /** Chain id to use for provider */
259
- chainId?: number | undefined;
260
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
261
- /** Chain id to use for provider */
262
- chainId?: number | undefined;
263
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
264
- /** Chain id to use for provider */
265
- chainId?: number | undefined;
266
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
267
- /** Chain id to use for provider */
268
- chainId?: number | undefined;
269
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
270
- /** Chain id to use for provider */
271
- chainId?: number | undefined;
272
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head & {
273
- /** Chain id to use for provider */
274
- chainId?: number | undefined;
275
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>] : T_7 extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T_8 ? T_8 extends [...Tail] ? T_8 extends [] ? [] : T_8 extends [infer Head] ? [import("@wagmi/core").GetConfig<Head_1 & {
276
- /** Chain id to use for provider */
277
- chainId?: number | undefined;
278
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
279
- /** Chain id to use for provider */
280
- chainId?: number | undefined;
281
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
282
- /** Chain id to use for provider */
283
- chainId?: number | undefined;
284
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
285
- /** Chain id to use for provider */
286
- chainId?: number | undefined;
287
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
288
- /** Chain id to use for provider */
289
- chainId?: number | undefined;
290
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
291
- /** Chain id to use for provider */
292
- chainId?: number | undefined;
293
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
294
- /** Chain id to use for provider */
295
- chainId?: number | undefined;
296
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
297
- /** Chain id to use for provider */
298
- chainId?: number | undefined;
299
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
300
- /** Chain id to use for provider */
301
- chainId?: number | undefined;
302
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head & {
303
- /** Chain id to use for provider */
304
- chainId?: number | undefined;
305
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>] : T_8 extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T_9 ? T_9 extends [...Tail] ? T_9 extends [] ? [] : T_9 extends [infer Head] ? [import("@wagmi/core").GetConfig<Head_1 & {
306
- /** Chain id to use for provider */
307
- chainId?: number | undefined;
308
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
309
- /** Chain id to use for provider */
310
- chainId?: number | undefined;
311
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
312
- /** Chain id to use for provider */
313
- chainId?: number | undefined;
314
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
315
- /** Chain id to use for provider */
316
- chainId?: number | undefined;
317
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
318
- /** Chain id to use for provider */
319
- chainId?: number | undefined;
320
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
321
- /** Chain id to use for provider */
322
- chainId?: number | undefined;
323
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
324
- /** Chain id to use for provider */
325
- chainId?: number | undefined;
326
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
327
- /** Chain id to use for provider */
328
- chainId?: number | undefined;
329
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
330
- /** Chain id to use for provider */
331
- chainId?: number | undefined;
332
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
333
- /** Chain id to use for provider */
334
- chainId?: number | undefined;
335
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head & {
336
- /** Chain id to use for provider */
337
- chainId?: number | undefined;
338
- }, "pure" | "view", import("@wagmi/core").DefaultOptions>] : T_9 extends [infer Head_1, ...infer Tail] ? any : unknown[] extends T_9 ? T_9 : T_9 extends import("@wagmi/core").ContractConfig<infer TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TFunction extends {
339
- constant?: boolean | undefined;
340
- gas?: number | undefined;
341
- payable?: boolean | undefined;
342
- stateMutability: import("abitype").AbiStateMutability;
343
- } & {
344
- type: "function";
345
- inputs: readonly import("abitype").AbiParameter[];
346
- name: string;
347
- outputs: readonly import("abitype").AbiParameter[];
348
- } & {
349
- type: "function";
350
- }, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").ContractConfig<Omit<TContract & {
351
- /** Chain id to use for provider */
352
- chainId?: number | undefined;
353
- }, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core").DefaultOptions>[] : import("@wagmi/core").ContractConfig<Omit<{
354
- /** Chain id to use for provider */
355
- chainId?: number | undefined;
356
- }, "functionName" | "args" | "abi">, Abi, string, never, import("@wagmi/core").DefaultOptions>[] : never : never : unknown[] extends T_8 ? T_8 : T_8 extends import("@wagmi/core").ContractConfig<infer TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TFunction extends {
357
- constant?: boolean | undefined;
358
- gas?: number | undefined;
359
- payable?: boolean | undefined;
360
- stateMutability: import("abitype").AbiStateMutability;
361
- } & {
362
- type: "function";
363
- inputs: readonly import("abitype").AbiParameter[];
364
- name: string;
365
- outputs: readonly import("abitype").AbiParameter[];
366
- } & {
367
- type: "function";
368
- }, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").ContractConfig<Omit<TContract & {
369
- /** Chain id to use for provider */
370
- chainId?: number | undefined;
371
- }, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core").DefaultOptions>[] : import("@wagmi/core").ContractConfig<Omit<{
372
- /** Chain id to use for provider */
373
- chainId?: number | undefined;
374
- }, "functionName" | "args" | "abi">, Abi, string, never, import("@wagmi/core").DefaultOptions>[] : never : never : unknown[] extends T_7 ? T_7 : T_7 extends import("@wagmi/core").ContractConfig<infer TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TFunction extends {
375
- constant?: boolean | undefined;
376
- gas?: number | undefined;
377
- payable?: boolean | undefined;
378
- stateMutability: import("abitype").AbiStateMutability;
379
- } & {
380
- type: "function";
381
- inputs: readonly import("abitype").AbiParameter[];
382
- name: string;
383
- outputs: readonly import("abitype").AbiParameter[];
384
- } & {
385
- type: "function";
386
- }, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").ContractConfig<Omit<TContract & {
387
- /** Chain id to use for provider */
388
- chainId?: number | undefined;
389
- }, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core").DefaultOptions>[] : import("@wagmi/core").ContractConfig<Omit<{
390
- /** Chain id to use for provider */
391
- chainId?: number | undefined;
392
- }, "functionName" | "args" | "abi">, Abi, string, never, import("@wagmi/core").DefaultOptions>[] : never : never : unknown[] extends T_6 ? T_6 : T_6 extends import("@wagmi/core").ContractConfig<infer TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TFunction extends {
393
- constant?: boolean | undefined;
394
- gas?: number | undefined;
395
- payable?: boolean | undefined;
396
- stateMutability: import("abitype").AbiStateMutability;
397
- } & {
398
- type: "function";
399
- inputs: readonly import("abitype").AbiParameter[];
400
- name: string;
401
- outputs: readonly import("abitype").AbiParameter[];
402
- } & {
403
- type: "function";
404
- }, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").ContractConfig<Omit<TContract & {
405
- /** Chain id to use for provider */
406
- chainId?: number | undefined;
407
- }, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core").DefaultOptions>[] : import("@wagmi/core").ContractConfig<Omit<{
408
- /** Chain id to use for provider */
409
- chainId?: number | undefined;
410
- }, "functionName" | "args" | "abi">, Abi, string, never, import("@wagmi/core").DefaultOptions>[] : never : never : unknown[] extends T_5 ? T_5 : T_5 extends import("@wagmi/core").ContractConfig<infer TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TFunction extends {
411
- constant?: boolean | undefined;
412
- gas?: number | undefined;
413
- payable?: boolean | undefined;
414
- stateMutability: import("abitype").AbiStateMutability;
415
- } & {
416
- type: "function";
417
- inputs: readonly import("abitype").AbiParameter[];
418
- name: string;
419
- outputs: readonly import("abitype").AbiParameter[];
420
- } & {
421
- type: "function";
422
- }, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").ContractConfig<Omit<TContract & {
423
- /** Chain id to use for provider */
424
- chainId?: number | undefined;
425
- }, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core").DefaultOptions>[] : import("@wagmi/core").ContractConfig<Omit<{
426
- /** Chain id to use for provider */
427
- chainId?: number | undefined;
428
- }, "functionName" | "args" | "abi">, Abi, string, never, import("@wagmi/core").DefaultOptions>[] : never : never : unknown[] extends T_4 ? T_4 : T_4 extends import("@wagmi/core").ContractConfig<infer TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TFunction extends {
429
- constant?: boolean | undefined;
430
- gas?: number | undefined;
431
- payable?: boolean | undefined;
432
- stateMutability: import("abitype").AbiStateMutability;
433
- } & {
434
- type: "function";
435
- inputs: readonly import("abitype").AbiParameter[];
436
- name: string;
437
- outputs: readonly import("abitype").AbiParameter[];
438
- } & {
439
- type: "function";
440
- }, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").ContractConfig<Omit<TContract & {
441
- /** Chain id to use for provider */
442
- chainId?: number | undefined;
443
- }, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core").DefaultOptions>[] : import("@wagmi/core").ContractConfig<Omit<{
444
- /** Chain id to use for provider */
445
- chainId?: number | undefined;
446
- }, "functionName" | "args" | "abi">, Abi, string, never, import("@wagmi/core").DefaultOptions>[] : never : never : unknown[] extends T_3 ? T_3 : T_3 extends import("@wagmi/core").ContractConfig<infer TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TFunction extends {
447
- constant?: boolean | undefined;
448
- gas?: number | undefined;
449
- payable?: boolean | undefined;
450
- stateMutability: import("abitype").AbiStateMutability;
451
- } & {
452
- type: "function";
453
- inputs: readonly import("abitype").AbiParameter[];
454
- name: string;
455
- outputs: readonly import("abitype").AbiParameter[];
456
- } & {
457
- type: "function";
458
- }, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").ContractConfig<Omit<TContract & {
459
- /** Chain id to use for provider */
460
- chainId?: number | undefined;
461
- }, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core").DefaultOptions>[] : import("@wagmi/core").ContractConfig<Omit<{
462
- /** Chain id to use for provider */
463
- chainId?: number | undefined;
464
- }, "functionName" | "args" | "abi">, Abi, string, never, import("@wagmi/core").DefaultOptions>[] : never : never : unknown[] extends T_2 ? T_2 : T_2 extends import("@wagmi/core").ContractConfig<infer TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TFunction extends {
465
- constant?: boolean | undefined;
466
- gas?: number | undefined;
467
- payable?: boolean | undefined;
468
- stateMutability: import("abitype").AbiStateMutability;
469
- } & {
470
- type: "function";
471
- inputs: readonly import("abitype").AbiParameter[];
472
- name: string;
473
- outputs: readonly import("abitype").AbiParameter[];
474
- } & {
475
- type: "function";
476
- }, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").ContractConfig<Omit<TContract & {
477
- /** Chain id to use for provider */
478
- chainId?: number | undefined;
479
- }, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core").DefaultOptions>[] : import("@wagmi/core").ContractConfig<Omit<{
480
- /** Chain id to use for provider */
481
- chainId?: number | undefined;
482
- }, "functionName" | "args" | "abi">, Abi, string, never, import("@wagmi/core").DefaultOptions>[] : never : never : unknown[] extends T_1 ? T_1 : T_1 extends import("@wagmi/core").ContractConfig<infer TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TFunction extends {
483
- constant?: boolean | undefined;
484
- gas?: number | undefined;
485
- payable?: boolean | undefined;
486
- stateMutability: import("abitype").AbiStateMutability;
487
- } & {
488
- type: "function";
489
- inputs: readonly import("abitype").AbiParameter[];
490
- name: string;
491
- outputs: readonly import("abitype").AbiParameter[];
492
- } & {
493
- type: "function";
494
- }, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").ContractConfig<Omit<TContract & {
495
- /** Chain id to use for provider */
496
- chainId?: number | undefined;
497
- }, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core").DefaultOptions>[] : import("@wagmi/core").ContractConfig<Omit<{
498
- /** Chain id to use for provider */
499
- chainId?: number | undefined;
500
- }, "functionName" | "args" | "abi">, Abi, string, never, import("@wagmi/core").DefaultOptions>[] : never : never : unknown[] extends T ? T : T extends import("@wagmi/core").ContractConfig<infer TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TFunction extends {
501
- constant?: boolean | undefined;
502
- gas?: number | undefined;
503
- payable?: boolean | undefined;
504
- stateMutability: import("abitype").AbiStateMutability;
505
- } & {
506
- type: "function";
507
- inputs: readonly import("abitype").AbiParameter[];
508
- name: string;
509
- outputs: readonly import("abitype").AbiParameter[];
510
- } & {
511
- type: "function";
512
- }, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").ContractConfig<Omit<TContract & {
513
- /** Chain id to use for provider */
514
- chainId?: number | undefined;
515
- }, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core").DefaultOptions>[] : import("@wagmi/core").ContractConfig<Omit<{
516
- /** Chain id to use for provider */
517
- chainId?: number | undefined;
518
- }, "functionName" | "args" | "abi">, Abi, string, never, import("@wagmi/core").DefaultOptions>[] : never : never : unknown[] extends TContracts ? TContracts : TContracts extends import("@wagmi/core").ContractConfig<infer TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TFunction extends {
519
- constant?: boolean | undefined;
520
- gas?: number | undefined;
521
- payable?: boolean | undefined;
522
- stateMutability: import("abitype").AbiStateMutability;
523
- } & {
524
- type: "function";
525
- inputs: readonly import("abitype").AbiParameter[];
526
- name: string;
527
- outputs: readonly import("abitype").AbiParameter[];
528
- } & {
529
- type: "function";
530
- }, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").ContractConfig<Omit<TContract & {
531
- /** Chain id to use for provider */
532
- chainId?: number | undefined;
533
- }, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core").DefaultOptions>[] : import("@wagmi/core").ContractConfig<Omit<{
534
- /** Chain id to use for provider */
535
- chainId?: number | undefined;
536
- }, "functionName" | "args" | "abi">, Abi, string, never, import("@wagmi/core").DefaultOptions>[]];
537
- getNextPageParam(lastPage: unknown[], pages: unknown[]): number | undefined;
27
+ contracts: UseContractInfiniteReadsConfig<TContracts>['contracts'];
28
+ getNextPageParam: InfiniteQueryConfig<unknown[], Error>['getNextPageParam'];
538
29
  };
@@ -12,7 +12,7 @@ export declare type UseContractReadConfig<TAbi = Abi, TFunctionName = string> =
12
12
  /** Subscribe to changes */
13
13
  watch?: boolean;
14
14
  };
15
- export declare function useContractRead<TAbi extends Abi | readonly unknown[], TFunctionName extends string>({ abi, address, functionName, args, chainId: chainId_, overrides, cacheOnBlock, cacheTime, enabled: enabled_, isDataEqual, select, staleTime, suspense, watch, onError, onSettled, onSuccess, }?: UseContractReadConfig<TAbi, TFunctionName>): import("../utils/query/useQuery").UseQueryResult<import("@wagmi/core").GetReturnType<{
15
+ export declare function useContractRead<TAbi extends Abi | readonly unknown[], TFunctionName extends string>({ abi, address, functionName, args, chainId: chainId_, overrides, cacheOnBlock, cacheTime, enabled: enabled_, isDataEqual, select, staleTime, suspense, watch, onError, onSettled, onSuccess, }?: UseContractReadConfig<TAbi, TFunctionName>): import("../utils").UseQueryResult<import("@wagmi/core/internal").GetReturnType<{
16
16
  abi: TAbi;
17
17
  functionName: TFunctionName;
18
18
  }>, Error>;
@@ -1,6 +1,7 @@
1
1
  import { ReadContractsConfig, ReadContractsResult } from '@wagmi/core';
2
2
  import { Abi } from 'abitype';
3
3
  import { QueryConfig } from '../../types';
4
+ import { UseQueryResult } from '../utils';
4
5
  export declare type UseContractReadsConfig<TContracts extends unknown[]> = ReadContractsConfig<TContracts, {
5
6
  isAbiOptional: true;
6
7
  isAddressOptional: true;
@@ -16,114 +17,4 @@ export declare type UseContractReadsConfig<TContracts extends unknown[]> = ReadC
16
17
  export declare function useContractReads<TAbi extends Abi | readonly unknown[], TFunctionName extends string, TContracts extends {
17
18
  abi: TAbi;
18
19
  functionName: TFunctionName;
19
- }[]>({ allowFailure, cacheOnBlock, cacheTime, contracts, overrides, enabled: enabled_, isDataEqual, keepPreviousData, onError, onSettled, onSuccess, select, staleTime, suspense, watch, }?: UseContractReadsConfig<TContracts>): import("../utils/query/useQuery").UseQueryResult<TContracts extends [] ? [] : TContracts extends [infer Head] ? [import("@wagmi/core").GetReturnType<Head>] : TContracts extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T ? T extends [...Tail] ? T extends [] ? [] : T extends [infer Head] ? [import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head>] : T extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T_1 ? T_1 extends [...Tail] ? T_1 extends [] ? [] : T_1 extends [infer Head] ? [import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head>] : T_1 extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T_2 ? T_2 extends [...Tail] ? T_2 extends [] ? [] : T_2 extends [infer Head] ? [import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head>] : T_2 extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T_3 ? T_3 extends [...Tail] ? T_3 extends [] ? [] : T_3 extends [infer Head] ? [import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head>] : T_3 extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T_4 ? T_4 extends [...Tail] ? T_4 extends [] ? [] : T_4 extends [infer Head] ? [import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head>] : T_4 extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T_5 ? T_5 extends [...Tail] ? T_5 extends [] ? [] : T_5 extends [infer Head] ? [import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head>] : T_5 extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T_6 ? T_6 extends [...Tail] ? T_6 extends [] ? [] : T_6 extends [infer Head] ? [import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head>] : T_6 extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T_7 ? T_7 extends [...Tail] ? T_7 extends [] ? [] : T_7 extends [infer Head] ? [import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head>] : T_7 extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T_8 ? T_8 extends [...Tail] ? T_8 extends [] ? [] : T_8 extends [infer Head] ? [import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head>] : T_8 extends [infer Head_1, ...infer Tail] ? [...Tail] extends infer T_9 ? T_9 extends [...Tail] ? T_9 extends [] ? [] : T_9 extends [infer Head] ? [import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head_1>, import("@wagmi/core").GetReturnType<Head>] : T_9 extends [infer Head_1, ...infer Tail] ? any : T_9 extends import("@wagmi/core").ContractConfig<infer _TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TAbi_1 extends readonly unknown[] | Abi extends Abi ? Extract<Extract<(infer TAbi_1 extends readonly unknown[] | Abi)[number], {
20
- type: "function";
21
- stateMutability: import("abitype").AbiStateMutability;
22
- }>, {
23
- name: infer TFunctionName_1 extends string;
24
- }> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
25
- abi: TAbi_1;
26
- functionName: TFunctionName_1;
27
- }>[] : ({
28
- [x: string]: unknown;
29
- } & readonly unknown[])[] : never : never : T_8 extends import("@wagmi/core").ContractConfig<infer _TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TAbi_1 extends readonly unknown[] | Abi extends Abi ? Extract<Extract<(infer TAbi_1 extends readonly unknown[] | Abi)[number], {
30
- type: "function";
31
- stateMutability: import("abitype").AbiStateMutability;
32
- }>, {
33
- name: infer TFunctionName_1 extends string;
34
- }> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
35
- abi: TAbi_1;
36
- functionName: TFunctionName_1;
37
- }>[] : ({
38
- [x: string]: unknown;
39
- } & readonly unknown[])[] : never : never : T_7 extends import("@wagmi/core").ContractConfig<infer _TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TAbi_1 extends readonly unknown[] | Abi extends Abi ? Extract<Extract<(infer TAbi_1 extends readonly unknown[] | Abi)[number], {
40
- type: "function";
41
- stateMutability: import("abitype").AbiStateMutability;
42
- }>, {
43
- name: infer TFunctionName_1 extends string;
44
- }> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
45
- abi: TAbi_1;
46
- functionName: TFunctionName_1;
47
- }>[] : ({
48
- [x: string]: unknown;
49
- } & readonly unknown[])[] : never : never : T_6 extends import("@wagmi/core").ContractConfig<infer _TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TAbi_1 extends readonly unknown[] | Abi extends Abi ? Extract<Extract<(infer TAbi_1 extends readonly unknown[] | Abi)[number], {
50
- type: "function";
51
- stateMutability: import("abitype").AbiStateMutability;
52
- }>, {
53
- name: infer TFunctionName_1 extends string;
54
- }> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
55
- abi: TAbi_1;
56
- functionName: TFunctionName_1;
57
- }>[] : ({
58
- [x: string]: unknown;
59
- } & readonly unknown[])[] : never : never : T_5 extends import("@wagmi/core").ContractConfig<infer _TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TAbi_1 extends readonly unknown[] | Abi extends Abi ? Extract<Extract<(infer TAbi_1 extends readonly unknown[] | Abi)[number], {
60
- type: "function";
61
- stateMutability: import("abitype").AbiStateMutability;
62
- }>, {
63
- name: infer TFunctionName_1 extends string;
64
- }> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
65
- abi: TAbi_1;
66
- functionName: TFunctionName_1;
67
- }>[] : ({
68
- [x: string]: unknown;
69
- } & readonly unknown[])[] : never : never : T_4 extends import("@wagmi/core").ContractConfig<infer _TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TAbi_1 extends readonly unknown[] | Abi extends Abi ? Extract<Extract<(infer TAbi_1 extends readonly unknown[] | Abi)[number], {
70
- type: "function";
71
- stateMutability: import("abitype").AbiStateMutability;
72
- }>, {
73
- name: infer TFunctionName_1 extends string;
74
- }> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
75
- abi: TAbi_1;
76
- functionName: TFunctionName_1;
77
- }>[] : ({
78
- [x: string]: unknown;
79
- } & readonly unknown[])[] : never : never : T_3 extends import("@wagmi/core").ContractConfig<infer _TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TAbi_1 extends readonly unknown[] | Abi extends Abi ? Extract<Extract<(infer TAbi_1 extends readonly unknown[] | Abi)[number], {
80
- type: "function";
81
- stateMutability: import("abitype").AbiStateMutability;
82
- }>, {
83
- name: infer TFunctionName_1 extends string;
84
- }> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
85
- abi: TAbi_1;
86
- functionName: TFunctionName_1;
87
- }>[] : ({
88
- [x: string]: unknown;
89
- } & readonly unknown[])[] : never : never : T_2 extends import("@wagmi/core").ContractConfig<infer _TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TAbi_1 extends readonly unknown[] | Abi extends Abi ? Extract<Extract<(infer TAbi_1 extends readonly unknown[] | Abi)[number], {
90
- type: "function";
91
- stateMutability: import("abitype").AbiStateMutability;
92
- }>, {
93
- name: infer TFunctionName_1 extends string;
94
- }> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
95
- abi: TAbi_1;
96
- functionName: TFunctionName_1;
97
- }>[] : ({
98
- [x: string]: unknown;
99
- } & readonly unknown[])[] : never : never : T_1 extends import("@wagmi/core").ContractConfig<infer _TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TAbi_1 extends readonly unknown[] | Abi extends Abi ? Extract<Extract<(infer TAbi_1 extends readonly unknown[] | Abi)[number], {
100
- type: "function";
101
- stateMutability: import("abitype").AbiStateMutability;
102
- }>, {
103
- name: infer TFunctionName_1 extends string;
104
- }> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
105
- abi: TAbi_1;
106
- functionName: TFunctionName_1;
107
- }>[] : ({
108
- [x: string]: unknown;
109
- } & readonly unknown[])[] : never : never : T extends import("@wagmi/core").ContractConfig<infer _TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TAbi_1 extends readonly unknown[] | Abi extends Abi ? Extract<Extract<(infer TAbi_1 extends readonly unknown[] | Abi)[number], {
110
- type: "function";
111
- stateMutability: import("abitype").AbiStateMutability;
112
- }>, {
113
- name: infer TFunctionName_1 extends string;
114
- }> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
115
- abi: TAbi_1;
116
- functionName: TFunctionName_1;
117
- }>[] : ({
118
- [x: string]: unknown;
119
- } & readonly unknown[])[] : never : never : TContracts extends import("@wagmi/core").ContractConfig<infer _TContract, infer TAbi_1 extends readonly unknown[] | Abi, infer TFunctionName_1 extends string, infer TAbi_1 extends readonly unknown[] | Abi extends Abi ? Extract<Extract<(infer TAbi_1 extends readonly unknown[] | Abi)[number], {
120
- type: "function";
121
- stateMutability: import("abitype").AbiStateMutability;
122
- }>, {
123
- name: infer TFunctionName_1 extends string;
124
- }> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
125
- abi: TAbi_1;
126
- functionName: TFunctionName_1;
127
- }>[] : ({
128
- [x: string]: unknown;
129
- } & readonly unknown[])[], Error>;
20
+ }[]>({ allowFailure, cacheOnBlock, cacheTime, contracts, overrides, enabled: enabled_, isDataEqual, keepPreviousData, onError, onSettled, onSuccess, select, staleTime, suspense, watch, }?: UseContractReadsConfig<TContracts>): UseQueryResult<ReadContractsResult<TContracts>, Error>;
@@ -11,4 +11,4 @@ export declare const queryKey: ({ address, chainId, formatUnits, }: Partial<Fetc
11
11
  readonly formatUnits: number | "wei" | "kwei" | "mwei" | "gwei" | "szabo" | "finney" | "ether" | undefined;
12
12
  }];
13
13
  export declare function useToken({ address, chainId: chainId_, formatUnits, cacheTime, enabled, staleTime, // 24 hours
14
- suspense, onError, onSettled, onSuccess, }?: UseTokenArgs & UseTokenConfig): import("../utils/query/useQuery").UseQueryResult<FetchTokenResult, Error>;
14
+ suspense, onError, onSettled, onSuccess, }?: UseTokenArgs & UseTokenConfig): import("../utils").UseQueryResult<FetchTokenResult, Error>;
@@ -11,4 +11,4 @@ export declare const queryKey: ({ chainId, name, }: {
11
11
  readonly name: string | undefined;
12
12
  }];
13
13
  export declare function useEnsAddress({ cacheTime, chainId: chainId_, enabled, name, staleTime, // 24 hours
14
- suspense, onError, onSettled, onSuccess, }?: UseEnsAddressArgs & UseEnsAddressConfig): import("../utils/query/useQuery").UseQueryResult<FetchEnsAddressResult, Error>;
14
+ suspense, onError, onSettled, onSuccess, }?: UseEnsAddressArgs & UseEnsAddressConfig): import("../utils").UseQueryResult<FetchEnsAddressResult, Error>;
@@ -11,4 +11,4 @@ export declare const queryKey: ({ addressOrName, chainId, }: {
11
11
  readonly chainId: number | undefined;
12
12
  }];
13
13
  export declare function useEnsAvatar({ addressOrName, cacheTime, chainId: chainId_, enabled, staleTime, // 24 hours
14
- suspense, onError, onSettled, onSuccess, }?: UseEnsAvatarArgs & UseEnsLookupConfig): import("../utils/query/useQuery").UseQueryResult<FetchEnsAvatarResult, Error>;
14
+ suspense, onError, onSettled, onSuccess, }?: UseEnsAvatarArgs & UseEnsLookupConfig): import("../utils").UseQueryResult<FetchEnsAvatarResult, Error>;
@@ -8,4 +8,4 @@ export declare const queryKey: ({ address, chainId }: Partial<FetchEnsNameArgs>)
8
8
  readonly chainId: number | undefined;
9
9
  }];
10
10
  export declare function useEnsName({ address, cacheTime, chainId: chainId_, enabled, staleTime, // 24 hours
11
- suspense, onError, onSettled, onSuccess, }?: UseEnsNameArgs & UseEnsNameConfig): import("../utils/query/useQuery").UseQueryResult<FetchEnsNameResult, Error>;
11
+ suspense, onError, onSettled, onSuccess, }?: UseEnsNameArgs & UseEnsNameConfig): import("../utils").UseQueryResult<FetchEnsNameResult, Error>;
@@ -11,4 +11,4 @@ export declare const queryKey: ({ chainId, name, }: {
11
11
  readonly name: string | undefined;
12
12
  }];
13
13
  export declare function useEnsResolver({ cacheTime, chainId: chainId_, enabled, name, staleTime, // 24 hours
14
- suspense, onError, onSettled, onSuccess, }?: UseEnsResolverArgs & UseEnsResolverConfig): import("../utils/query/useQuery").UseQueryResult<FetchEnsResolverResult, Error>;
14
+ suspense, onError, onSettled, onSuccess, }?: UseEnsResolverArgs & UseEnsResolverConfig): import("../utils").UseQueryResult<FetchEnsResolverResult, Error>;
@@ -13,5 +13,5 @@ export declare const queryKey: ({ chainId }: {
13
13
  readonly entity: "blockNumber";
14
14
  readonly chainId: number | undefined;
15
15
  }];
16
- export declare function useBlockNumber({ cacheTime, chainId: chainId_, enabled, staleTime, suspense, watch, onBlock, onError, onSettled, onSuccess, }?: UseBlockNumberArgs & UseBlockNumberConfig): import("../utils/query/useQuery").UseQueryResult<number, Error>;
16
+ export declare function useBlockNumber({ cacheTime, chainId: chainId_, enabled, staleTime, suspense, watch, onBlock, onError, onSettled, onSuccess, }?: UseBlockNumberArgs & UseBlockNumberConfig): import("../utils").UseQueryResult<number, Error>;
17
17
  export {};
@@ -12,5 +12,5 @@ export declare const queryKey: ({ chainId, formatUnits, }: Partial<FetchFeeDataA
12
12
  readonly chainId: number | undefined;
13
13
  readonly formatUnits: number | "wei" | "kwei" | "mwei" | "gwei" | "szabo" | "finney" | "ether" | undefined;
14
14
  }];
15
- export declare function useFeeData({ cacheTime, chainId: chainId_, enabled, formatUnits, staleTime, suspense, watch, onError, onSettled, onSuccess, }?: UseFeeDataArgs & UseFeedDataConfig): import("../utils/query/useQuery").UseQueryResult<FetchFeeDataResult, Error>;
15
+ export declare function useFeeData({ cacheTime, chainId: chainId_, enabled, formatUnits, staleTime, suspense, watch, onError, onSettled, onSuccess, }?: UseFeeDataArgs & UseFeedDataConfig): import("../utils").UseQueryResult<FetchFeeDataResult, Error>;
16
16
  export {};
@@ -13,5 +13,5 @@ export declare type UseTransactionConfig = QueryConfig<FetchTransactionResult, E
13
13
  * hash: '0x...',
14
14
  * })
15
15
  */
16
- export declare function useTransaction({ cacheTime, chainId: chainId_, enabled, hash, staleTime, suspense, onError, onSettled, onSuccess, }?: UseTransactionArgs & UseTransactionConfig): import("../utils/query/useQuery").UseQueryResult<import("@ethersproject/providers").TransactionResponse, Error>;
16
+ export declare function useTransaction({ cacheTime, chainId: chainId_, enabled, hash, staleTime, suspense, onError, onSettled, onSuccess, }?: UseTransactionArgs & UseTransactionConfig): import("../utils").UseQueryResult<import("@ethersproject/providers").TransactionResponse, Error>;
17
17
  export {};
@@ -10,4 +10,4 @@ export declare const queryKey: ({ confirmations, chainId, hash, timeout, wait, }
10
10
  readonly timeout: number | undefined;
11
11
  readonly wait: ((confirmations?: number | undefined) => Promise<import("@ethersproject/providers").TransactionReceipt>) | undefined;
12
12
  }];
13
- export declare function useWaitForTransaction({ chainId: chainId_, confirmations, hash, timeout, wait, cacheTime, enabled, staleTime, suspense, onError, onSettled, onSuccess, }?: UseWaitForTransactionArgs & UseWaitForTransactionConfig): import("../utils/query/useQuery").UseQueryResult<import("@ethersproject/providers").TransactionReceipt, Error>;
13
+ export declare function useWaitForTransaction({ chainId: chainId_, confirmations, hash, timeout, wait, cacheTime, enabled, staleTime, suspense, onError, onSettled, onSuccess, }?: UseWaitForTransactionArgs & UseWaitForTransactionConfig): import("../utils").UseQueryResult<import("@ethersproject/providers").TransactionReceipt, Error>;
@@ -1,4 +1,4 @@
1
- export { useBaseQuery, useQuery, useInfiniteQuery, useMutation, useQueryClient, } from './query';
1
+ export { useBaseQuery, useQuery, useInfiniteQuery, useMutation, useQueryClient, type UseInfiniteQueryResult, type UseQueryResult, } from './query';
2
2
  export { useChainId } from './useChainId';
3
3
  export { useForceUpdate } from './useForceUpdate';
4
4
  export { useInvalidateOnBlock } from './useInvalidateOnBlock';
@@ -1,5 +1,5 @@
1
1
  export { useBaseQuery } from './useBaseQuery';
2
- export { useInfiniteQuery } from './useInfiniteQuery';
2
+ export { useInfiniteQuery, type UseInfiniteQueryResult, } from './useInfiniteQuery';
3
3
  export { useMutation } from './useMutation';
4
- export { useQuery } from './useQuery';
4
+ export { useQuery, type UseQueryResult } from './useQuery';
5
5
  export { useQueryClient } from './useQueryClient';
@@ -1,5 +1,5 @@
1
1
  import { InfiniteQueryObserverResult, QueryFunction, QueryKey, UseInfiniteQueryOptions } from '@tanstack/react-query';
2
- declare type UseInfiniteQueryResult<TData, TError> = Pick<InfiniteQueryObserverResult<TData, TError>, 'data' | 'error' | 'fetchNextPage' | 'fetchStatus' | 'hasNextPage' | 'isError' | 'isFetched' | 'isFetchedAfterMount' | 'isFetching' | 'isFetchingNextPage' | 'isLoading' | 'isRefetching' | 'isSuccess' | 'refetch'> & {
2
+ export declare type UseInfiniteQueryResult<TData, TError> = Pick<InfiniteQueryObserverResult<TData, TError>, 'data' | 'error' | 'fetchNextPage' | 'fetchStatus' | 'hasNextPage' | 'isError' | 'isFetched' | 'isFetchedAfterMount' | 'isFetching' | 'isFetchingNextPage' | 'isLoading' | 'isRefetching' | 'isSuccess' | 'refetch'> & {
3
3
  isIdle: boolean;
4
4
  status: 'idle' | 'loading' | 'success' | 'error';
5
5
  internal: Pick<InfiniteQueryObserverResult, 'dataUpdatedAt' | 'errorUpdatedAt' | 'failureCount' | 'isLoadingError' | 'isPaused' | 'isPlaceholderData' | 'isPreviousData' | 'isRefetchError' | 'isStale' | 'remove'>;
@@ -7,4 +7,3 @@ declare type UseInfiniteQueryResult<TData, TError> = Pick<InfiniteQueryObserverR
7
7
  export declare function useInfiniteQuery<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: UseInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryFnData, TQueryKey>): UseInfiniteQueryResult<TData, TError>;
8
8
  export declare function useInfiniteQuery<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(queryKey: TQueryKey, options?: Omit<UseInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryFnData, TQueryKey>, 'queryKey'>): UseInfiniteQueryResult<TData, TError>;
9
9
  export declare function useInfiniteQuery<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(queryKey: TQueryKey, queryFn: QueryFunction<TQueryFnData, TQueryKey>, options?: Omit<UseInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryFnData, TQueryKey>, 'queryKey' | 'queryFn'>): UseInfiniteQueryResult<TData, TError>;
10
- export {};
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "wagmi",
3
3
  "description": "React Hooks for Ethereum",
4
4
  "license": "WAGMIT",
5
- "version": "0.7.4",
5
+ "version": "0.7.6",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/wagmi-dev/wagmi.git",
@@ -108,9 +108,9 @@
108
108
  "@tanstack/query-sync-storage-persister": "^4.10.1",
109
109
  "@tanstack/react-query": "^4.10.1",
110
110
  "@tanstack/react-query-persist-client": "^4.10.1",
111
- "@wagmi/core": "^0.6.3",
111
+ "@wagmi/core": "^0.6.5",
112
112
  "@walletconnect/ethereum-provider": "^1.8.0",
113
- "abitype": "^0.1.6",
113
+ "abitype": "^0.1.7",
114
114
  "use-sync-external-store": "^1.2.0"
115
115
  },
116
116
  "devDependencies": {