wagmi 0.7.2 → 0.7.3
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,112 +14,112 @@ export declare type UseContractInfiniteReadsConfig<TContracts extends unknown[]
|
|
|
14
14
|
export declare function useContractInfiniteReads<TAbi extends Abi | readonly unknown[], TFunctionName extends string, TContracts extends {
|
|
15
15
|
abi: TAbi;
|
|
16
16
|
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
|
|
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
18
|
type: "function";
|
|
19
19
|
stateMutability: import("abitype").AbiStateMutability;
|
|
20
20
|
}>, {
|
|
21
21
|
name: infer TFunctionName_1 extends string;
|
|
22
|
-
}> : never, import("@wagmi/core
|
|
22
|
+
}> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
|
|
23
23
|
abi: TAbi_1;
|
|
24
24
|
functionName: TFunctionName_1;
|
|
25
25
|
}>[] : ({
|
|
26
26
|
[x: string]: unknown;
|
|
27
|
-
} & readonly unknown[])[] : never : never : T_8 extends import("@wagmi/core
|
|
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
28
|
type: "function";
|
|
29
29
|
stateMutability: import("abitype").AbiStateMutability;
|
|
30
30
|
}>, {
|
|
31
31
|
name: infer TFunctionName_1 extends string;
|
|
32
|
-
}> : never, import("@wagmi/core
|
|
32
|
+
}> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
|
|
33
33
|
abi: TAbi_1;
|
|
34
34
|
functionName: TFunctionName_1;
|
|
35
35
|
}>[] : ({
|
|
36
36
|
[x: string]: unknown;
|
|
37
|
-
} & readonly unknown[])[] : never : never : T_7 extends import("@wagmi/core
|
|
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
38
|
type: "function";
|
|
39
39
|
stateMutability: import("abitype").AbiStateMutability;
|
|
40
40
|
}>, {
|
|
41
41
|
name: infer TFunctionName_1 extends string;
|
|
42
|
-
}> : never, import("@wagmi/core
|
|
42
|
+
}> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
|
|
43
43
|
abi: TAbi_1;
|
|
44
44
|
functionName: TFunctionName_1;
|
|
45
45
|
}>[] : ({
|
|
46
46
|
[x: string]: unknown;
|
|
47
|
-
} & readonly unknown[])[] : never : never : T_6 extends import("@wagmi/core
|
|
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
48
|
type: "function";
|
|
49
49
|
stateMutability: import("abitype").AbiStateMutability;
|
|
50
50
|
}>, {
|
|
51
51
|
name: infer TFunctionName_1 extends string;
|
|
52
|
-
}> : never, import("@wagmi/core
|
|
52
|
+
}> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
|
|
53
53
|
abi: TAbi_1;
|
|
54
54
|
functionName: TFunctionName_1;
|
|
55
55
|
}>[] : ({
|
|
56
56
|
[x: string]: unknown;
|
|
57
|
-
} & readonly unknown[])[] : never : never : T_5 extends import("@wagmi/core
|
|
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
58
|
type: "function";
|
|
59
59
|
stateMutability: import("abitype").AbiStateMutability;
|
|
60
60
|
}>, {
|
|
61
61
|
name: infer TFunctionName_1 extends string;
|
|
62
|
-
}> : never, import("@wagmi/core
|
|
62
|
+
}> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
|
|
63
63
|
abi: TAbi_1;
|
|
64
64
|
functionName: TFunctionName_1;
|
|
65
65
|
}>[] : ({
|
|
66
66
|
[x: string]: unknown;
|
|
67
|
-
} & readonly unknown[])[] : never : never : T_4 extends import("@wagmi/core
|
|
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
68
|
type: "function";
|
|
69
69
|
stateMutability: import("abitype").AbiStateMutability;
|
|
70
70
|
}>, {
|
|
71
71
|
name: infer TFunctionName_1 extends string;
|
|
72
|
-
}> : never, import("@wagmi/core
|
|
72
|
+
}> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
|
|
73
73
|
abi: TAbi_1;
|
|
74
74
|
functionName: TFunctionName_1;
|
|
75
75
|
}>[] : ({
|
|
76
76
|
[x: string]: unknown;
|
|
77
|
-
} & readonly unknown[])[] : never : never : T_3 extends import("@wagmi/core
|
|
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
78
|
type: "function";
|
|
79
79
|
stateMutability: import("abitype").AbiStateMutability;
|
|
80
80
|
}>, {
|
|
81
81
|
name: infer TFunctionName_1 extends string;
|
|
82
|
-
}> : never, import("@wagmi/core
|
|
82
|
+
}> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
|
|
83
83
|
abi: TAbi_1;
|
|
84
84
|
functionName: TFunctionName_1;
|
|
85
85
|
}>[] : ({
|
|
86
86
|
[x: string]: unknown;
|
|
87
|
-
} & readonly unknown[])[] : never : never : T_2 extends import("@wagmi/core
|
|
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
88
|
type: "function";
|
|
89
89
|
stateMutability: import("abitype").AbiStateMutability;
|
|
90
90
|
}>, {
|
|
91
91
|
name: infer TFunctionName_1 extends string;
|
|
92
|
-
}> : never, import("@wagmi/core
|
|
92
|
+
}> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
|
|
93
93
|
abi: TAbi_1;
|
|
94
94
|
functionName: TFunctionName_1;
|
|
95
95
|
}>[] : ({
|
|
96
96
|
[x: string]: unknown;
|
|
97
|
-
} & readonly unknown[])[] : never : never : T_1 extends import("@wagmi/core
|
|
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
98
|
type: "function";
|
|
99
99
|
stateMutability: import("abitype").AbiStateMutability;
|
|
100
100
|
}>, {
|
|
101
101
|
name: infer TFunctionName_1 extends string;
|
|
102
|
-
}> : never, import("@wagmi/core
|
|
102
|
+
}> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
|
|
103
103
|
abi: TAbi_1;
|
|
104
104
|
functionName: TFunctionName_1;
|
|
105
105
|
}>[] : ({
|
|
106
106
|
[x: string]: unknown;
|
|
107
|
-
} & readonly unknown[])[] : never : never : T extends import("@wagmi/core
|
|
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
108
|
type: "function";
|
|
109
109
|
stateMutability: import("abitype").AbiStateMutability;
|
|
110
110
|
}>, {
|
|
111
111
|
name: infer TFunctionName_1 extends string;
|
|
112
|
-
}> : never, import("@wagmi/core
|
|
112
|
+
}> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
|
|
113
113
|
abi: TAbi_1;
|
|
114
114
|
functionName: TFunctionName_1;
|
|
115
115
|
}>[] : ({
|
|
116
116
|
[x: string]: unknown;
|
|
117
|
-
} & readonly unknown[])[] : never : never : TContracts extends import("@wagmi/core
|
|
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
118
|
type: "function";
|
|
119
119
|
stateMutability: import("abitype").AbiStateMutability;
|
|
120
120
|
}>, {
|
|
121
121
|
name: infer TFunctionName_1 extends string;
|
|
122
|
-
}> : never, import("@wagmi/core
|
|
122
|
+
}> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
|
|
123
123
|
abi: TAbi_1;
|
|
124
124
|
functionName: TFunctionName_1;
|
|
125
125
|
}>[] : ({
|
|
@@ -137,205 +137,205 @@ export declare function paginatedIndexesConfig<TAbi extends Abi | readonly unkno
|
|
|
137
137
|
start: number;
|
|
138
138
|
direction: 'increment' | 'decrement';
|
|
139
139
|
}): {
|
|
140
|
-
contracts: (pageParam: unknown) => readonly [...TContracts extends [] ? [] : TContracts extends [infer Head] ? [import("@wagmi/core
|
|
140
|
+
contracts: (pageParam: unknown) => readonly [...TContracts extends [] ? [] : TContracts extends [infer Head] ? [import("@wagmi/core").GetConfig<Head & {
|
|
141
141
|
/** Chain id to use for provider */
|
|
142
142
|
chainId?: number | undefined;
|
|
143
|
-
}, "
|
|
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
144
|
/** Chain id to use for provider */
|
|
145
145
|
chainId?: number | undefined;
|
|
146
|
-
}, "
|
|
146
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head & {
|
|
147
147
|
/** Chain id to use for provider */
|
|
148
148
|
chainId?: number | undefined;
|
|
149
|
-
}, "
|
|
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
150
|
/** Chain id to use for provider */
|
|
151
151
|
chainId?: number | undefined;
|
|
152
|
-
}, "
|
|
152
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
153
153
|
/** Chain id to use for provider */
|
|
154
154
|
chainId?: number | undefined;
|
|
155
|
-
}, "
|
|
155
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head & {
|
|
156
156
|
/** Chain id to use for provider */
|
|
157
157
|
chainId?: number | undefined;
|
|
158
|
-
}, "
|
|
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
159
|
/** Chain id to use for provider */
|
|
160
160
|
chainId?: number | undefined;
|
|
161
|
-
}, "
|
|
161
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
162
162
|
/** Chain id to use for provider */
|
|
163
163
|
chainId?: number | undefined;
|
|
164
|
-
}, "
|
|
164
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
165
165
|
/** Chain id to use for provider */
|
|
166
166
|
chainId?: number | undefined;
|
|
167
|
-
}, "
|
|
167
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head & {
|
|
168
168
|
/** Chain id to use for provider */
|
|
169
169
|
chainId?: number | undefined;
|
|
170
|
-
}, "
|
|
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
171
|
/** Chain id to use for provider */
|
|
172
172
|
chainId?: number | undefined;
|
|
173
|
-
}, "
|
|
173
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
174
174
|
/** Chain id to use for provider */
|
|
175
175
|
chainId?: number | undefined;
|
|
176
|
-
}, "
|
|
176
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
177
177
|
/** Chain id to use for provider */
|
|
178
178
|
chainId?: number | undefined;
|
|
179
|
-
}, "
|
|
179
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
180
180
|
/** Chain id to use for provider */
|
|
181
181
|
chainId?: number | undefined;
|
|
182
|
-
}, "
|
|
182
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head & {
|
|
183
183
|
/** Chain id to use for provider */
|
|
184
184
|
chainId?: number | undefined;
|
|
185
|
-
}, "
|
|
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
186
|
/** Chain id to use for provider */
|
|
187
187
|
chainId?: number | undefined;
|
|
188
|
-
}, "
|
|
188
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
189
189
|
/** Chain id to use for provider */
|
|
190
190
|
chainId?: number | undefined;
|
|
191
|
-
}, "
|
|
191
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
192
192
|
/** Chain id to use for provider */
|
|
193
193
|
chainId?: number | undefined;
|
|
194
|
-
}, "
|
|
194
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
195
195
|
/** Chain id to use for provider */
|
|
196
196
|
chainId?: number | undefined;
|
|
197
|
-
}, "
|
|
197
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
198
198
|
/** Chain id to use for provider */
|
|
199
199
|
chainId?: number | undefined;
|
|
200
|
-
}, "
|
|
200
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head & {
|
|
201
201
|
/** Chain id to use for provider */
|
|
202
202
|
chainId?: number | undefined;
|
|
203
|
-
}, "
|
|
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
204
|
/** Chain id to use for provider */
|
|
205
205
|
chainId?: number | undefined;
|
|
206
|
-
}, "
|
|
206
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
207
207
|
/** Chain id to use for provider */
|
|
208
208
|
chainId?: number | undefined;
|
|
209
|
-
}, "
|
|
209
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
210
210
|
/** Chain id to use for provider */
|
|
211
211
|
chainId?: number | undefined;
|
|
212
|
-
}, "
|
|
212
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
213
213
|
/** Chain id to use for provider */
|
|
214
214
|
chainId?: number | undefined;
|
|
215
|
-
}, "
|
|
215
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
216
216
|
/** Chain id to use for provider */
|
|
217
217
|
chainId?: number | undefined;
|
|
218
|
-
}, "
|
|
218
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
219
219
|
/** Chain id to use for provider */
|
|
220
220
|
chainId?: number | undefined;
|
|
221
|
-
}, "
|
|
221
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head & {
|
|
222
222
|
/** Chain id to use for provider */
|
|
223
223
|
chainId?: number | undefined;
|
|
224
|
-
}, "
|
|
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
225
|
/** Chain id to use for provider */
|
|
226
226
|
chainId?: number | undefined;
|
|
227
|
-
}, "
|
|
227
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
228
228
|
/** Chain id to use for provider */
|
|
229
229
|
chainId?: number | undefined;
|
|
230
|
-
}, "
|
|
230
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
231
231
|
/** Chain id to use for provider */
|
|
232
232
|
chainId?: number | undefined;
|
|
233
|
-
}, "
|
|
233
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
234
234
|
/** Chain id to use for provider */
|
|
235
235
|
chainId?: number | undefined;
|
|
236
|
-
}, "
|
|
236
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
237
237
|
/** Chain id to use for provider */
|
|
238
238
|
chainId?: number | undefined;
|
|
239
|
-
}, "
|
|
239
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
240
240
|
/** Chain id to use for provider */
|
|
241
241
|
chainId?: number | undefined;
|
|
242
|
-
}, "
|
|
242
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
243
243
|
/** Chain id to use for provider */
|
|
244
244
|
chainId?: number | undefined;
|
|
245
|
-
}, "
|
|
245
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head & {
|
|
246
246
|
/** Chain id to use for provider */
|
|
247
247
|
chainId?: number | undefined;
|
|
248
|
-
}, "
|
|
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
249
|
/** Chain id to use for provider */
|
|
250
250
|
chainId?: number | undefined;
|
|
251
|
-
}, "
|
|
251
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
252
252
|
/** Chain id to use for provider */
|
|
253
253
|
chainId?: number | undefined;
|
|
254
|
-
}, "
|
|
254
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
255
255
|
/** Chain id to use for provider */
|
|
256
256
|
chainId?: number | undefined;
|
|
257
|
-
}, "
|
|
257
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
258
258
|
/** Chain id to use for provider */
|
|
259
259
|
chainId?: number | undefined;
|
|
260
|
-
}, "
|
|
260
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
261
261
|
/** Chain id to use for provider */
|
|
262
262
|
chainId?: number | undefined;
|
|
263
|
-
}, "
|
|
263
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
264
264
|
/** Chain id to use for provider */
|
|
265
265
|
chainId?: number | undefined;
|
|
266
|
-
}, "
|
|
266
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
267
267
|
/** Chain id to use for provider */
|
|
268
268
|
chainId?: number | undefined;
|
|
269
|
-
}, "
|
|
269
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
270
270
|
/** Chain id to use for provider */
|
|
271
271
|
chainId?: number | undefined;
|
|
272
|
-
}, "
|
|
272
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head & {
|
|
273
273
|
/** Chain id to use for provider */
|
|
274
274
|
chainId?: number | undefined;
|
|
275
|
-
}, "
|
|
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
276
|
/** Chain id to use for provider */
|
|
277
277
|
chainId?: number | undefined;
|
|
278
|
-
}, "
|
|
278
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
279
279
|
/** Chain id to use for provider */
|
|
280
280
|
chainId?: number | undefined;
|
|
281
|
-
}, "
|
|
281
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
282
282
|
/** Chain id to use for provider */
|
|
283
283
|
chainId?: number | undefined;
|
|
284
|
-
}, "
|
|
284
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
285
285
|
/** Chain id to use for provider */
|
|
286
286
|
chainId?: number | undefined;
|
|
287
|
-
}, "
|
|
287
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
288
288
|
/** Chain id to use for provider */
|
|
289
289
|
chainId?: number | undefined;
|
|
290
|
-
}, "
|
|
290
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
291
291
|
/** Chain id to use for provider */
|
|
292
292
|
chainId?: number | undefined;
|
|
293
|
-
}, "
|
|
293
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
294
294
|
/** Chain id to use for provider */
|
|
295
295
|
chainId?: number | undefined;
|
|
296
|
-
}, "
|
|
296
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
297
297
|
/** Chain id to use for provider */
|
|
298
298
|
chainId?: number | undefined;
|
|
299
|
-
}, "
|
|
299
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
300
300
|
/** Chain id to use for provider */
|
|
301
301
|
chainId?: number | undefined;
|
|
302
|
-
}, "
|
|
302
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head & {
|
|
303
303
|
/** Chain id to use for provider */
|
|
304
304
|
chainId?: number | undefined;
|
|
305
|
-
}, "
|
|
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
306
|
/** Chain id to use for provider */
|
|
307
307
|
chainId?: number | undefined;
|
|
308
|
-
}, "
|
|
308
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
309
309
|
/** Chain id to use for provider */
|
|
310
310
|
chainId?: number | undefined;
|
|
311
|
-
}, "
|
|
311
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
312
312
|
/** Chain id to use for provider */
|
|
313
313
|
chainId?: number | undefined;
|
|
314
|
-
}, "
|
|
314
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
315
315
|
/** Chain id to use for provider */
|
|
316
316
|
chainId?: number | undefined;
|
|
317
|
-
}, "
|
|
317
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
318
318
|
/** Chain id to use for provider */
|
|
319
319
|
chainId?: number | undefined;
|
|
320
|
-
}, "
|
|
320
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
321
321
|
/** Chain id to use for provider */
|
|
322
322
|
chainId?: number | undefined;
|
|
323
|
-
}, "
|
|
323
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
324
324
|
/** Chain id to use for provider */
|
|
325
325
|
chainId?: number | undefined;
|
|
326
|
-
}, "
|
|
326
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
327
327
|
/** Chain id to use for provider */
|
|
328
328
|
chainId?: number | undefined;
|
|
329
|
-
}, "
|
|
329
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
330
330
|
/** Chain id to use for provider */
|
|
331
331
|
chainId?: number | undefined;
|
|
332
|
-
}, "
|
|
332
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head_1 & {
|
|
333
333
|
/** Chain id to use for provider */
|
|
334
334
|
chainId?: number | undefined;
|
|
335
|
-
}, "
|
|
335
|
+
}, "pure" | "view", import("@wagmi/core").DefaultOptions>, import("@wagmi/core").GetConfig<Head & {
|
|
336
336
|
/** Chain id to use for provider */
|
|
337
337
|
chainId?: number | undefined;
|
|
338
|
-
}, "
|
|
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
339
|
constant?: boolean | undefined;
|
|
340
340
|
gas?: number | undefined;
|
|
341
341
|
payable?: boolean | undefined;
|
|
@@ -347,13 +347,13 @@ export declare function paginatedIndexesConfig<TAbi extends Abi | readonly unkno
|
|
|
347
347
|
outputs: readonly import("abitype").AbiParameter[];
|
|
348
348
|
} & {
|
|
349
349
|
type: "function";
|
|
350
|
-
}, import("@wagmi/core
|
|
350
|
+
}, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").ContractConfig<Omit<TContract & {
|
|
351
351
|
/** Chain id to use for provider */
|
|
352
352
|
chainId?: number | undefined;
|
|
353
|
-
}, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core
|
|
353
|
+
}, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core").DefaultOptions>[] : import("@wagmi/core").ContractConfig<Omit<{
|
|
354
354
|
/** Chain id to use for provider */
|
|
355
355
|
chainId?: number | undefined;
|
|
356
|
-
}, "functionName" | "args" | "abi">, Abi, string, never, import("@wagmi/core
|
|
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
357
|
constant?: boolean | undefined;
|
|
358
358
|
gas?: number | undefined;
|
|
359
359
|
payable?: boolean | undefined;
|
|
@@ -365,13 +365,13 @@ export declare function paginatedIndexesConfig<TAbi extends Abi | readonly unkno
|
|
|
365
365
|
outputs: readonly import("abitype").AbiParameter[];
|
|
366
366
|
} & {
|
|
367
367
|
type: "function";
|
|
368
|
-
}, import("@wagmi/core
|
|
368
|
+
}, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").ContractConfig<Omit<TContract & {
|
|
369
369
|
/** Chain id to use for provider */
|
|
370
370
|
chainId?: number | undefined;
|
|
371
|
-
}, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core
|
|
371
|
+
}, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core").DefaultOptions>[] : import("@wagmi/core").ContractConfig<Omit<{
|
|
372
372
|
/** Chain id to use for provider */
|
|
373
373
|
chainId?: number | undefined;
|
|
374
|
-
}, "functionName" | "args" | "abi">, Abi, string, never, import("@wagmi/core
|
|
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
375
|
constant?: boolean | undefined;
|
|
376
376
|
gas?: number | undefined;
|
|
377
377
|
payable?: boolean | undefined;
|
|
@@ -383,13 +383,13 @@ export declare function paginatedIndexesConfig<TAbi extends Abi | readonly unkno
|
|
|
383
383
|
outputs: readonly import("abitype").AbiParameter[];
|
|
384
384
|
} & {
|
|
385
385
|
type: "function";
|
|
386
|
-
}, import("@wagmi/core
|
|
386
|
+
}, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").ContractConfig<Omit<TContract & {
|
|
387
387
|
/** Chain id to use for provider */
|
|
388
388
|
chainId?: number | undefined;
|
|
389
|
-
}, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core
|
|
389
|
+
}, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core").DefaultOptions>[] : import("@wagmi/core").ContractConfig<Omit<{
|
|
390
390
|
/** Chain id to use for provider */
|
|
391
391
|
chainId?: number | undefined;
|
|
392
|
-
}, "functionName" | "args" | "abi">, Abi, string, never, import("@wagmi/core
|
|
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
393
|
constant?: boolean | undefined;
|
|
394
394
|
gas?: number | undefined;
|
|
395
395
|
payable?: boolean | undefined;
|
|
@@ -401,13 +401,13 @@ export declare function paginatedIndexesConfig<TAbi extends Abi | readonly unkno
|
|
|
401
401
|
outputs: readonly import("abitype").AbiParameter[];
|
|
402
402
|
} & {
|
|
403
403
|
type: "function";
|
|
404
|
-
}, import("@wagmi/core
|
|
404
|
+
}, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").ContractConfig<Omit<TContract & {
|
|
405
405
|
/** Chain id to use for provider */
|
|
406
406
|
chainId?: number | undefined;
|
|
407
|
-
}, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core
|
|
407
|
+
}, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core").DefaultOptions>[] : import("@wagmi/core").ContractConfig<Omit<{
|
|
408
408
|
/** Chain id to use for provider */
|
|
409
409
|
chainId?: number | undefined;
|
|
410
|
-
}, "functionName" | "args" | "abi">, Abi, string, never, import("@wagmi/core
|
|
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
411
|
constant?: boolean | undefined;
|
|
412
412
|
gas?: number | undefined;
|
|
413
413
|
payable?: boolean | undefined;
|
|
@@ -419,13 +419,13 @@ export declare function paginatedIndexesConfig<TAbi extends Abi | readonly unkno
|
|
|
419
419
|
outputs: readonly import("abitype").AbiParameter[];
|
|
420
420
|
} & {
|
|
421
421
|
type: "function";
|
|
422
|
-
}, import("@wagmi/core
|
|
422
|
+
}, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").ContractConfig<Omit<TContract & {
|
|
423
423
|
/** Chain id to use for provider */
|
|
424
424
|
chainId?: number | undefined;
|
|
425
|
-
}, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core
|
|
425
|
+
}, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core").DefaultOptions>[] : import("@wagmi/core").ContractConfig<Omit<{
|
|
426
426
|
/** Chain id to use for provider */
|
|
427
427
|
chainId?: number | undefined;
|
|
428
|
-
}, "functionName" | "args" | "abi">, Abi, string, never, import("@wagmi/core
|
|
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
429
|
constant?: boolean | undefined;
|
|
430
430
|
gas?: number | undefined;
|
|
431
431
|
payable?: boolean | undefined;
|
|
@@ -437,13 +437,13 @@ export declare function paginatedIndexesConfig<TAbi extends Abi | readonly unkno
|
|
|
437
437
|
outputs: readonly import("abitype").AbiParameter[];
|
|
438
438
|
} & {
|
|
439
439
|
type: "function";
|
|
440
|
-
}, import("@wagmi/core
|
|
440
|
+
}, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").ContractConfig<Omit<TContract & {
|
|
441
441
|
/** Chain id to use for provider */
|
|
442
442
|
chainId?: number | undefined;
|
|
443
|
-
}, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core
|
|
443
|
+
}, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core").DefaultOptions>[] : import("@wagmi/core").ContractConfig<Omit<{
|
|
444
444
|
/** Chain id to use for provider */
|
|
445
445
|
chainId?: number | undefined;
|
|
446
|
-
}, "functionName" | "args" | "abi">, Abi, string, never, import("@wagmi/core
|
|
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
447
|
constant?: boolean | undefined;
|
|
448
448
|
gas?: number | undefined;
|
|
449
449
|
payable?: boolean | undefined;
|
|
@@ -455,13 +455,13 @@ export declare function paginatedIndexesConfig<TAbi extends Abi | readonly unkno
|
|
|
455
455
|
outputs: readonly import("abitype").AbiParameter[];
|
|
456
456
|
} & {
|
|
457
457
|
type: "function";
|
|
458
|
-
}, import("@wagmi/core
|
|
458
|
+
}, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").ContractConfig<Omit<TContract & {
|
|
459
459
|
/** Chain id to use for provider */
|
|
460
460
|
chainId?: number | undefined;
|
|
461
|
-
}, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core
|
|
461
|
+
}, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core").DefaultOptions>[] : import("@wagmi/core").ContractConfig<Omit<{
|
|
462
462
|
/** Chain id to use for provider */
|
|
463
463
|
chainId?: number | undefined;
|
|
464
|
-
}, "functionName" | "args" | "abi">, Abi, string, never, import("@wagmi/core
|
|
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
465
|
constant?: boolean | undefined;
|
|
466
466
|
gas?: number | undefined;
|
|
467
467
|
payable?: boolean | undefined;
|
|
@@ -473,13 +473,13 @@ export declare function paginatedIndexesConfig<TAbi extends Abi | readonly unkno
|
|
|
473
473
|
outputs: readonly import("abitype").AbiParameter[];
|
|
474
474
|
} & {
|
|
475
475
|
type: "function";
|
|
476
|
-
}, import("@wagmi/core
|
|
476
|
+
}, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").ContractConfig<Omit<TContract & {
|
|
477
477
|
/** Chain id to use for provider */
|
|
478
478
|
chainId?: number | undefined;
|
|
479
|
-
}, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core
|
|
479
|
+
}, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core").DefaultOptions>[] : import("@wagmi/core").ContractConfig<Omit<{
|
|
480
480
|
/** Chain id to use for provider */
|
|
481
481
|
chainId?: number | undefined;
|
|
482
|
-
}, "functionName" | "args" | "abi">, Abi, string, never, import("@wagmi/core
|
|
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
483
|
constant?: boolean | undefined;
|
|
484
484
|
gas?: number | undefined;
|
|
485
485
|
payable?: boolean | undefined;
|
|
@@ -491,13 +491,13 @@ export declare function paginatedIndexesConfig<TAbi extends Abi | readonly unkno
|
|
|
491
491
|
outputs: readonly import("abitype").AbiParameter[];
|
|
492
492
|
} & {
|
|
493
493
|
type: "function";
|
|
494
|
-
}, import("@wagmi/core
|
|
494
|
+
}, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").ContractConfig<Omit<TContract & {
|
|
495
495
|
/** Chain id to use for provider */
|
|
496
496
|
chainId?: number | undefined;
|
|
497
|
-
}, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core
|
|
497
|
+
}, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core").DefaultOptions>[] : import("@wagmi/core").ContractConfig<Omit<{
|
|
498
498
|
/** Chain id to use for provider */
|
|
499
499
|
chainId?: number | undefined;
|
|
500
|
-
}, "functionName" | "args" | "abi">, Abi, string, never, import("@wagmi/core
|
|
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
501
|
constant?: boolean | undefined;
|
|
502
502
|
gas?: number | undefined;
|
|
503
503
|
payable?: boolean | undefined;
|
|
@@ -509,13 +509,13 @@ export declare function paginatedIndexesConfig<TAbi extends Abi | readonly unkno
|
|
|
509
509
|
outputs: readonly import("abitype").AbiParameter[];
|
|
510
510
|
} & {
|
|
511
511
|
type: "function";
|
|
512
|
-
}, import("@wagmi/core
|
|
512
|
+
}, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").ContractConfig<Omit<TContract & {
|
|
513
513
|
/** Chain id to use for provider */
|
|
514
514
|
chainId?: number | undefined;
|
|
515
|
-
}, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core
|
|
515
|
+
}, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core").DefaultOptions>[] : import("@wagmi/core").ContractConfig<Omit<{
|
|
516
516
|
/** Chain id to use for provider */
|
|
517
517
|
chainId?: number | undefined;
|
|
518
|
-
}, "functionName" | "args" | "abi">, Abi, string, never, import("@wagmi/core
|
|
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
519
|
constant?: boolean | undefined;
|
|
520
520
|
gas?: number | undefined;
|
|
521
521
|
payable?: boolean | undefined;
|
|
@@ -527,12 +527,12 @@ export declare function paginatedIndexesConfig<TAbi extends Abi | readonly unkno
|
|
|
527
527
|
outputs: readonly import("abitype").AbiParameter[];
|
|
528
528
|
} & {
|
|
529
529
|
type: "function";
|
|
530
|
-
}, import("@wagmi/core
|
|
530
|
+
}, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").ContractConfig<Omit<TContract & {
|
|
531
531
|
/** Chain id to use for provider */
|
|
532
532
|
chainId?: number | undefined;
|
|
533
|
-
}, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core
|
|
533
|
+
}, "functionName" | "args" | "abi">, TAbi_1, TFunctionName_1, TFunction, import("@wagmi/core").DefaultOptions>[] : import("@wagmi/core").ContractConfig<Omit<{
|
|
534
534
|
/** Chain id to use for provider */
|
|
535
535
|
chainId?: number | undefined;
|
|
536
|
-
}, "functionName" | "args" | "abi">, Abi, string, never, import("@wagmi/core
|
|
536
|
+
}, "functionName" | "args" | "abi">, Abi, string, never, import("@wagmi/core").DefaultOptions>[]];
|
|
537
537
|
getNextPageParam(lastPage: unknown[], pages: unknown[]): number | undefined;
|
|
538
538
|
};
|
|
@@ -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
|
|
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<{
|
|
16
16
|
abi: TAbi;
|
|
17
17
|
functionName: TFunctionName;
|
|
18
18
|
}>, Error>;
|
|
@@ -16,112 +16,112 @@ export declare type UseContractReadsConfig<TContracts extends unknown[]> = ReadC
|
|
|
16
16
|
export declare function useContractReads<TAbi extends Abi | readonly unknown[], TFunctionName extends string, TContracts extends {
|
|
17
17
|
abi: TAbi;
|
|
18
18
|
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
|
|
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
20
|
type: "function";
|
|
21
21
|
stateMutability: import("abitype").AbiStateMutability;
|
|
22
22
|
}>, {
|
|
23
23
|
name: infer TFunctionName_1 extends string;
|
|
24
|
-
}> : never, import("@wagmi/core
|
|
24
|
+
}> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
|
|
25
25
|
abi: TAbi_1;
|
|
26
26
|
functionName: TFunctionName_1;
|
|
27
27
|
}>[] : ({
|
|
28
28
|
[x: string]: unknown;
|
|
29
|
-
} & readonly unknown[])[] : never : never : T_8 extends import("@wagmi/core
|
|
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
30
|
type: "function";
|
|
31
31
|
stateMutability: import("abitype").AbiStateMutability;
|
|
32
32
|
}>, {
|
|
33
33
|
name: infer TFunctionName_1 extends string;
|
|
34
|
-
}> : never, import("@wagmi/core
|
|
34
|
+
}> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
|
|
35
35
|
abi: TAbi_1;
|
|
36
36
|
functionName: TFunctionName_1;
|
|
37
37
|
}>[] : ({
|
|
38
38
|
[x: string]: unknown;
|
|
39
|
-
} & readonly unknown[])[] : never : never : T_7 extends import("@wagmi/core
|
|
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
40
|
type: "function";
|
|
41
41
|
stateMutability: import("abitype").AbiStateMutability;
|
|
42
42
|
}>, {
|
|
43
43
|
name: infer TFunctionName_1 extends string;
|
|
44
|
-
}> : never, import("@wagmi/core
|
|
44
|
+
}> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
|
|
45
45
|
abi: TAbi_1;
|
|
46
46
|
functionName: TFunctionName_1;
|
|
47
47
|
}>[] : ({
|
|
48
48
|
[x: string]: unknown;
|
|
49
|
-
} & readonly unknown[])[] : never : never : T_6 extends import("@wagmi/core
|
|
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
50
|
type: "function";
|
|
51
51
|
stateMutability: import("abitype").AbiStateMutability;
|
|
52
52
|
}>, {
|
|
53
53
|
name: infer TFunctionName_1 extends string;
|
|
54
|
-
}> : never, import("@wagmi/core
|
|
54
|
+
}> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
|
|
55
55
|
abi: TAbi_1;
|
|
56
56
|
functionName: TFunctionName_1;
|
|
57
57
|
}>[] : ({
|
|
58
58
|
[x: string]: unknown;
|
|
59
|
-
} & readonly unknown[])[] : never : never : T_5 extends import("@wagmi/core
|
|
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
60
|
type: "function";
|
|
61
61
|
stateMutability: import("abitype").AbiStateMutability;
|
|
62
62
|
}>, {
|
|
63
63
|
name: infer TFunctionName_1 extends string;
|
|
64
|
-
}> : never, import("@wagmi/core
|
|
64
|
+
}> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
|
|
65
65
|
abi: TAbi_1;
|
|
66
66
|
functionName: TFunctionName_1;
|
|
67
67
|
}>[] : ({
|
|
68
68
|
[x: string]: unknown;
|
|
69
|
-
} & readonly unknown[])[] : never : never : T_4 extends import("@wagmi/core
|
|
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
70
|
type: "function";
|
|
71
71
|
stateMutability: import("abitype").AbiStateMutability;
|
|
72
72
|
}>, {
|
|
73
73
|
name: infer TFunctionName_1 extends string;
|
|
74
|
-
}> : never, import("@wagmi/core
|
|
74
|
+
}> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
|
|
75
75
|
abi: TAbi_1;
|
|
76
76
|
functionName: TFunctionName_1;
|
|
77
77
|
}>[] : ({
|
|
78
78
|
[x: string]: unknown;
|
|
79
|
-
} & readonly unknown[])[] : never : never : T_3 extends import("@wagmi/core
|
|
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
80
|
type: "function";
|
|
81
81
|
stateMutability: import("abitype").AbiStateMutability;
|
|
82
82
|
}>, {
|
|
83
83
|
name: infer TFunctionName_1 extends string;
|
|
84
|
-
}> : never, import("@wagmi/core
|
|
84
|
+
}> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
|
|
85
85
|
abi: TAbi_1;
|
|
86
86
|
functionName: TFunctionName_1;
|
|
87
87
|
}>[] : ({
|
|
88
88
|
[x: string]: unknown;
|
|
89
|
-
} & readonly unknown[])[] : never : never : T_2 extends import("@wagmi/core
|
|
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
90
|
type: "function";
|
|
91
91
|
stateMutability: import("abitype").AbiStateMutability;
|
|
92
92
|
}>, {
|
|
93
93
|
name: infer TFunctionName_1 extends string;
|
|
94
|
-
}> : never, import("@wagmi/core
|
|
94
|
+
}> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
|
|
95
95
|
abi: TAbi_1;
|
|
96
96
|
functionName: TFunctionName_1;
|
|
97
97
|
}>[] : ({
|
|
98
98
|
[x: string]: unknown;
|
|
99
|
-
} & readonly unknown[])[] : never : never : T_1 extends import("@wagmi/core
|
|
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
100
|
type: "function";
|
|
101
101
|
stateMutability: import("abitype").AbiStateMutability;
|
|
102
102
|
}>, {
|
|
103
103
|
name: infer TFunctionName_1 extends string;
|
|
104
|
-
}> : never, import("@wagmi/core
|
|
104
|
+
}> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
|
|
105
105
|
abi: TAbi_1;
|
|
106
106
|
functionName: TFunctionName_1;
|
|
107
107
|
}>[] : ({
|
|
108
108
|
[x: string]: unknown;
|
|
109
|
-
} & readonly unknown[])[] : never : never : T extends import("@wagmi/core
|
|
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
110
|
type: "function";
|
|
111
111
|
stateMutability: import("abitype").AbiStateMutability;
|
|
112
112
|
}>, {
|
|
113
113
|
name: infer TFunctionName_1 extends string;
|
|
114
|
-
}> : never, import("@wagmi/core
|
|
114
|
+
}> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
|
|
115
115
|
abi: TAbi_1;
|
|
116
116
|
functionName: TFunctionName_1;
|
|
117
117
|
}>[] : ({
|
|
118
118
|
[x: string]: unknown;
|
|
119
|
-
} & readonly unknown[])[] : never : never : TContracts extends import("@wagmi/core
|
|
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
120
|
type: "function";
|
|
121
121
|
stateMutability: import("abitype").AbiStateMutability;
|
|
122
122
|
}>, {
|
|
123
123
|
name: infer TFunctionName_1 extends string;
|
|
124
|
-
}> : never, import("@wagmi/core
|
|
124
|
+
}> : never, import("@wagmi/core").DefaultOptions>[] ? import("@wagmi/core").GetReturnType<{
|
|
125
125
|
abi: TAbi_1;
|
|
126
126
|
functionName: TFunctionName_1;
|
|
127
127
|
}>[] : ({
|
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.
|
|
5
|
+
"version": "0.7.3",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/wagmi-dev/wagmi.git",
|
|
@@ -25,22 +25,37 @@
|
|
|
25
25
|
"module": "dist/wagmi.esm.js",
|
|
26
26
|
"types": "dist/wagmi.cjs.d.ts",
|
|
27
27
|
"exports": {
|
|
28
|
-
"./package.json": "./package.json",
|
|
29
28
|
".": {
|
|
30
29
|
"module": "./dist/wagmi.esm.js",
|
|
31
30
|
"default": "./dist/wagmi.cjs.js"
|
|
32
31
|
},
|
|
32
|
+
"./chains": {
|
|
33
|
+
"module": "./chains/dist/wagmi-chains.esm.js",
|
|
34
|
+
"default": "./chains/dist/wagmi-chains.cjs.js"
|
|
35
|
+
},
|
|
33
36
|
"./actions": {
|
|
34
37
|
"module": "./actions/dist/wagmi-actions.esm.js",
|
|
35
38
|
"default": "./actions/dist/wagmi-actions.cjs.js"
|
|
36
39
|
},
|
|
37
|
-
"./
|
|
38
|
-
"module": "./
|
|
39
|
-
"default": "./
|
|
40
|
+
"./connectors/mock": {
|
|
41
|
+
"module": "./connectors/mock/dist/wagmi-connectors-mock.esm.js",
|
|
42
|
+
"default": "./connectors/mock/dist/wagmi-connectors-mock.cjs.js"
|
|
40
43
|
},
|
|
41
|
-
"./
|
|
42
|
-
"module": "./
|
|
43
|
-
"default": "./
|
|
44
|
+
"./providers/infura": {
|
|
45
|
+
"module": "./providers/infura/dist/wagmi-providers-infura.esm.js",
|
|
46
|
+
"default": "./providers/infura/dist/wagmi-providers-infura.cjs.js"
|
|
47
|
+
},
|
|
48
|
+
"./providers/public": {
|
|
49
|
+
"module": "./providers/public/dist/wagmi-providers-public.esm.js",
|
|
50
|
+
"default": "./providers/public/dist/wagmi-providers-public.cjs.js"
|
|
51
|
+
},
|
|
52
|
+
"./providers/alchemy": {
|
|
53
|
+
"module": "./providers/alchemy/dist/wagmi-providers-alchemy.esm.js",
|
|
54
|
+
"default": "./providers/alchemy/dist/wagmi-providers-alchemy.cjs.js"
|
|
55
|
+
},
|
|
56
|
+
"./providers/jsonRpc": {
|
|
57
|
+
"module": "./providers/jsonRpc/dist/wagmi-providers-jsonRpc.esm.js",
|
|
58
|
+
"default": "./providers/jsonRpc/dist/wagmi-providers-jsonRpc.cjs.js"
|
|
44
59
|
},
|
|
45
60
|
"./connectors/injected": {
|
|
46
61
|
"module": "./connectors/injected/dist/wagmi-connectors-injected.esm.js",
|
|
@@ -50,30 +65,15 @@
|
|
|
50
65
|
"module": "./connectors/metaMask/dist/wagmi-connectors-metaMask.esm.js",
|
|
51
66
|
"default": "./connectors/metaMask/dist/wagmi-connectors-metaMask.cjs.js"
|
|
52
67
|
},
|
|
53
|
-
"./connectors/mock": {
|
|
54
|
-
"module": "./connectors/mock/dist/wagmi-connectors-mock.esm.js",
|
|
55
|
-
"default": "./connectors/mock/dist/wagmi-connectors-mock.cjs.js"
|
|
56
|
-
},
|
|
57
68
|
"./connectors/walletConnect": {
|
|
58
69
|
"module": "./connectors/walletConnect/dist/wagmi-connectors-walletConnect.esm.js",
|
|
59
70
|
"default": "./connectors/walletConnect/dist/wagmi-connectors-walletConnect.cjs.js"
|
|
60
71
|
},
|
|
61
|
-
"./
|
|
62
|
-
"module": "./
|
|
63
|
-
"default": "./
|
|
64
|
-
},
|
|
65
|
-
"./providers/infura": {
|
|
66
|
-
"module": "./providers/infura/dist/wagmi-providers-infura.esm.js",
|
|
67
|
-
"default": "./providers/infura/dist/wagmi-providers-infura.cjs.js"
|
|
68
|
-
},
|
|
69
|
-
"./providers/jsonRpc": {
|
|
70
|
-
"module": "./providers/jsonRpc/dist/wagmi-providers-jsonRpc.esm.js",
|
|
71
|
-
"default": "./providers/jsonRpc/dist/wagmi-providers-jsonRpc.cjs.js"
|
|
72
|
+
"./connectors/coinbaseWallet": {
|
|
73
|
+
"module": "./connectors/coinbaseWallet/dist/wagmi-connectors-coinbaseWallet.esm.js",
|
|
74
|
+
"default": "./connectors/coinbaseWallet/dist/wagmi-connectors-coinbaseWallet.cjs.js"
|
|
72
75
|
},
|
|
73
|
-
"./
|
|
74
|
-
"module": "./providers/public/dist/wagmi-providers-public.esm.js",
|
|
75
|
-
"default": "./providers/public/dist/wagmi-providers-public.cjs.js"
|
|
76
|
-
}
|
|
76
|
+
"./package.json": "./package.json"
|
|
77
77
|
},
|
|
78
78
|
"sideEffects": false,
|
|
79
79
|
"files": [
|
|
@@ -108,7 +108,7 @@
|
|
|
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.
|
|
111
|
+
"@wagmi/core": "^0.6.3",
|
|
112
112
|
"@walletconnect/ethereum-provider": "^1.8.0",
|
|
113
113
|
"abitype": "^0.1.6",
|
|
114
114
|
"use-sync-external-store": "^1.2.0"
|