@getpara/wagmi-v2-connector 2.0.0-dev.4 → 2.0.0-dev.7

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.
@@ -21,920 +21,82 @@ export declare const createParaConnector: ({ para, chains: _chains, disableModal
21
21
  renderModal?: (onClose: () => void) => {
22
22
  openModal: () => void;
23
23
  };
24
- }) => import("wagmi").CreateConnectorFn<unknown, {
24
+ }) => (config: {
25
+ chains: readonly [Chain, ...Chain[]];
26
+ emitter: import("@wagmi/core/internal").Emitter<import("wagmi").ConnectorEventMap>;
27
+ storage?: {
28
+ key: string;
29
+ getItem: <key_1 extends string, value extends (import("@wagmi/core").StorageItemMap & Record<string, unknown>)[key_1], defaultValue_1 extends value>(key: key_1, defaultValue?: defaultValue_1) => (defaultValue_1 extends null ? value : value) | Promise<defaultValue_1 extends null ? value : value>;
30
+ setItem: <key_1 extends string, value_1 extends (import("@wagmi/core").StorageItemMap & Record<string, unknown>)[key_1]>(key: key_1, value: value_1) => void | Promise<void>;
31
+ removeItem: (key: string) => void | Promise<void>;
32
+ };
33
+ transports?: Record<number, import("wagmi").Transport> | undefined;
34
+ }) => {
25
35
  type: string;
26
36
  name: string;
27
37
  icon: string;
28
38
  disconnect: () => Promise<void>;
29
39
  id: string;
30
- supportsSimulation?: boolean;
40
+ rdns?: string | readonly string[] | undefined;
41
+ supportsSimulation?: boolean | undefined;
31
42
  setup?: () => Promise<void>;
32
43
  connect: (parameters?: {
33
- chainId?: number;
34
- isReconnecting?: boolean;
35
- }) => Promise<{
36
- accounts: readonly `0x${string}`[];
44
+ chainId?: number | undefined;
45
+ isReconnecting?: boolean | undefined;
46
+ } | undefined) => Promise<{
47
+ accounts: readonly import("viem").Address[];
37
48
  chainId: number;
38
49
  }>;
39
- getAccounts: () => Promise<readonly `0x${string}`[]>;
50
+ getAccounts: () => Promise<readonly import("viem").Address[]>;
40
51
  getChainId: () => Promise<number>;
41
52
  getProvider: (parameters?: {
42
- chainId?: number;
43
- }) => Promise<{
44
- on: <TEvent extends keyof import("viem").EIP1193EventMap>(event: TEvent, listener: import("viem").EIP1193EventMap[TEvent]) => void;
45
- removeListener: <TEvent_1 extends keyof import("viem").EIP1193EventMap>(event: TEvent_1, listener: import("viem").EIP1193EventMap[TEvent_1]) => void;
46
- request: import("viem").EIP1193RequestFn<[{
47
- Method: "web3_clientVersion";
48
- Parameters?: undefined;
49
- ReturnType: string;
50
- }, {
51
- Method: "web3_sha3";
52
- Parameters: [data: `0x${string}`];
53
- ReturnType: string;
54
- }, {
55
- Method: "net_listening";
56
- Parameters?: undefined;
57
- ReturnType: boolean;
58
- }, {
59
- Method: "net_peerCount";
60
- Parameters?: undefined;
61
- ReturnType: `0x${string}`;
62
- }, {
63
- Method: "net_version";
64
- Parameters?: undefined;
65
- ReturnType: `0x${string}`;
66
- }, {
67
- Method: "eth_blobBaseFee";
68
- Parameters?: undefined;
69
- ReturnType: `0x${string}`;
70
- }, {
71
- Method: "eth_blockNumber";
72
- Parameters?: undefined;
73
- ReturnType: `0x${string}`;
74
- }, {
75
- Method: "eth_call";
76
- Parameters: [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>] | [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier] | [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier, stateOverrideSet: import("viem").RpcStateOverride];
77
- ReturnType: `0x${string}`;
78
- }, {
79
- Method: "eth_chainId";
80
- Parameters?: undefined;
81
- ReturnType: `0x${string}`;
82
- }, {
83
- Method: "eth_coinbase";
84
- Parameters?: undefined;
85
- ReturnType: `0x${string}`;
86
- }, {
87
- Method: "eth_estimateGas";
88
- Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag, stateOverride: import("viem").RpcStateOverride];
89
- ReturnType: `0x${string}`;
90
- }, {
91
- Method: "eth_feeHistory";
92
- Parameters: [blockCount: `0x${string}`, newestBlock: `0x${string}` | import("viem").BlockTag, rewardPercentiles: number[]];
93
- ReturnType: import("viem").RpcFeeHistory;
94
- }, {
95
- Method: "eth_gasPrice";
96
- Parameters?: undefined;
97
- ReturnType: `0x${string}`;
98
- }, {
99
- Method: "eth_getBalance";
100
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
101
- ReturnType: `0x${string}`;
102
- }, {
103
- Method: "eth_getBlockByHash";
104
- Parameters: [hash: `0x${string}`, includeTransactionObjects: boolean];
105
- ReturnType: import("viem").RpcBlock;
106
- }, {
107
- Method: "eth_getBlockByNumber";
108
- Parameters: [block: `0x${string}` | import("viem").BlockTag, includeTransactionObjects: boolean];
109
- ReturnType: import("viem").RpcBlock;
110
- }, {
111
- Method: "eth_getBlockTransactionCountByHash";
112
- Parameters: [hash: `0x${string}`];
113
- ReturnType: `0x${string}`;
114
- }, {
115
- Method: "eth_getBlockTransactionCountByNumber";
116
- Parameters: [block: `0x${string}` | import("viem").BlockTag];
117
- ReturnType: `0x${string}`;
118
- }, {
119
- Method: "eth_getCode";
120
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
121
- ReturnType: `0x${string}`;
122
- }, {
123
- Method: "eth_getFilterChanges";
124
- Parameters: [filterId: `0x${string}`];
125
- ReturnType: `0x${string}`[] | {
126
- address: `0x${string}`;
127
- blockHash: `0x${string}`;
128
- blockNumber: `0x${string}`;
129
- data: `0x${string}`;
130
- logIndex: `0x${string}`;
131
- transactionHash: `0x${string}`;
132
- transactionIndex: `0x${string}`;
133
- removed: boolean;
134
- }[];
135
- }, {
136
- Method: "eth_getFilterLogs";
137
- Parameters: [filterId: `0x${string}`];
138
- ReturnType: {
139
- address: `0x${string}`;
140
- blockHash: `0x${string}`;
141
- blockNumber: `0x${string}`;
142
- data: `0x${string}`;
143
- logIndex: `0x${string}`;
144
- transactionHash: `0x${string}`;
145
- transactionIndex: `0x${string}`;
146
- removed: boolean;
147
- }[];
148
- }, {
149
- Method: "eth_getLogs";
150
- Parameters: [{
151
- address?: `0x${string}` | `0x${string}`[];
152
- topics?: import("viem").LogTopic[];
153
- } & ({
154
- fromBlock?: `0x${string}` | import("viem").BlockTag;
155
- toBlock?: `0x${string}` | import("viem").BlockTag;
156
- blockHash?: undefined;
157
- } | {
158
- fromBlock?: undefined;
159
- toBlock?: undefined;
160
- blockHash?: `0x${string}`;
161
- })];
162
- ReturnType: {
163
- address: `0x${string}`;
164
- blockHash: `0x${string}`;
165
- blockNumber: `0x${string}`;
166
- data: `0x${string}`;
167
- logIndex: `0x${string}`;
168
- transactionHash: `0x${string}`;
169
- transactionIndex: `0x${string}`;
170
- removed: boolean;
171
- }[];
172
- }, {
173
- Method: "eth_getProof";
174
- Parameters: [address: `0x${string}`, storageKeys: `0x${string}`[], block: `0x${string}` | import("viem").BlockTag];
175
- ReturnType: import("viem").RpcProof;
176
- }, {
177
- Method: "eth_getStorageAt";
178
- Parameters: [address: `0x${string}`, index: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
179
- ReturnType: `0x${string}`;
180
- }, {
181
- Method: "eth_getTransactionByBlockHashAndIndex";
182
- Parameters: [hash: `0x${string}`, index: `0x${string}`];
183
- ReturnType: import("viem").RpcTransaction;
184
- }, {
185
- Method: "eth_getTransactionByBlockNumberAndIndex";
186
- Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
187
- ReturnType: import("viem").RpcTransaction;
188
- }, {
189
- Method: "eth_getTransactionByHash";
190
- Parameters: [hash: `0x${string}`];
191
- ReturnType: import("viem").RpcTransaction;
192
- }, {
193
- Method: "eth_getTransactionCount";
194
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
195
- ReturnType: `0x${string}`;
196
- }, {
197
- Method: "eth_getTransactionReceipt";
198
- Parameters: [hash: `0x${string}`];
199
- ReturnType: import("viem").RpcTransactionReceipt;
200
- }, {
201
- Method: "eth_getUncleByBlockHashAndIndex";
202
- Parameters: [hash: `0x${string}`, index: `0x${string}`];
203
- ReturnType: import("viem").RpcUncle;
204
- }, {
205
- Method: "eth_getUncleByBlockNumberAndIndex";
206
- Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
207
- ReturnType: import("viem").RpcUncle;
208
- }, {
209
- Method: "eth_getUncleCountByBlockHash";
210
- Parameters: [hash: `0x${string}`];
211
- ReturnType: `0x${string}`;
212
- }, {
213
- Method: "eth_getUncleCountByBlockNumber";
214
- Parameters: [block: `0x${string}` | import("viem").BlockTag];
215
- ReturnType: `0x${string}`;
216
- }, {
217
- Method: "eth_maxPriorityFeePerGas";
218
- Parameters?: undefined;
219
- ReturnType: `0x${string}`;
220
- }, {
221
- Method: "eth_newBlockFilter";
222
- Parameters?: undefined;
223
- ReturnType: `0x${string}`;
224
- }, {
225
- Method: "eth_newFilter";
226
- Parameters: [filter: {
227
- fromBlock?: `0x${string}` | import("viem").BlockTag;
228
- toBlock?: `0x${string}` | import("viem").BlockTag;
229
- address?: `0x${string}` | `0x${string}`[];
230
- topics?: import("viem").LogTopic[];
231
- }];
232
- ReturnType: `0x${string}`;
233
- }, {
234
- Method: "eth_newPendingTransactionFilter";
235
- Parameters?: undefined;
236
- ReturnType: `0x${string}`;
237
- }, {
238
- Method: "eth_protocolVersion";
239
- Parameters?: undefined;
240
- ReturnType: string;
241
- }, {
242
- Method: "eth_sendRawTransaction";
243
- Parameters: [signedTransaction: `0x${string}`];
244
- ReturnType: `0x${string}`;
245
- }, {
246
- Method: "eth_uninstallFilter";
247
- Parameters: [filterId: `0x${string}`];
248
- ReturnType: boolean;
249
- }, {
250
- Method: "eth_accounts";
251
- Parameters?: undefined;
252
- ReturnType: `0x${string}`[];
253
- }, {
254
- Method: "eth_chainId";
255
- Parameters?: undefined;
256
- ReturnType: `0x${string}`;
257
- }, {
258
- Method: "eth_estimateGas";
259
- Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag, stateOverride: import("viem").RpcStateOverride];
260
- ReturnType: `0x${string}`;
261
- }, {
262
- Method: "eth_requestAccounts";
263
- Parameters?: undefined;
264
- ReturnType: `0x${string}`[];
265
- }, {
266
- Method: "eth_sendTransaction";
267
- Parameters: [transaction: import("viem").RpcTransactionRequest];
268
- ReturnType: `0x${string}`;
269
- }, {
270
- Method: "eth_sendRawTransaction";
271
- Parameters: [signedTransaction: `0x${string}`];
272
- ReturnType: `0x${string}`;
273
- }, {
274
- Method: "eth_sign";
275
- Parameters: [address: `0x${string}`, data: `0x${string}`];
276
- ReturnType: `0x${string}`;
277
- }, {
278
- Method: "eth_signTransaction";
279
- Parameters: [request: import("viem").RpcTransactionRequest];
280
- ReturnType: `0x${string}`;
281
- }, {
282
- Method: "eth_signTypedData_v4";
283
- Parameters: [address: `0x${string}`, message: string];
284
- ReturnType: `0x${string}`;
285
- }, {
286
- Method: "eth_syncing";
287
- Parameters?: undefined;
288
- ReturnType: false | import("viem").NetworkSync;
289
- }, {
290
- Method: "personal_sign";
291
- Parameters: [data: `0x${string}`, address: `0x${string}`];
292
- ReturnType: `0x${string}`;
293
- }, {
294
- Method: "wallet_addEthereumChain";
295
- Parameters: [chain: import("viem").AddEthereumChainParameter];
296
- ReturnType: null;
297
- }, {
298
- Method: "wallet_getCallsStatus";
299
- Parameters?: [string];
300
- ReturnType: import("viem").WalletGetCallsStatusReturnType<`0x${string}`, `0x${string}`>;
301
- }, {
302
- Method: "wallet_getCapabilities";
303
- Parameters?: [`0x${string}`];
304
- ReturnType: {
305
- [x: `0x${string}`]: import("viem").WalletCapabilities;
306
- };
307
- }, {
308
- Method: "wallet_getPermissions";
309
- Parameters?: undefined;
310
- ReturnType: import("viem").WalletPermission[];
311
- }, {
312
- Method: "wallet_grantPermissions";
313
- Parameters?: [import("viem").WalletGrantPermissionsParameters];
314
- ReturnType: {
315
- expiry: number;
316
- factory?: `0x${string}`;
317
- factoryData?: string;
318
- grantedPermissions: readonly {
319
- data: unknown;
320
- policies: readonly {
321
- data: unknown;
322
- type: string;
323
- }[];
324
- required?: boolean;
325
- type: string;
326
- }[];
327
- permissionsContext: string;
328
- signerData?: {
329
- userOpBuilder?: `0x${string}`;
330
- submitToAddress?: `0x${string}`;
331
- };
332
- };
333
- }, {
334
- Method: "wallet_requestPermissions";
335
- Parameters: [permissions: {
336
- eth_accounts: Record<string, any>;
337
- }];
338
- ReturnType: import("viem").WalletPermission[];
339
- }, {
340
- Method: "wallet_revokePermissions";
341
- Parameters: [permissions: {
342
- eth_accounts: Record<string, any>;
343
- }];
344
- ReturnType: null;
345
- }, {
346
- Method: "wallet_sendCalls";
347
- Parameters?: import("viem").WalletSendCallsParameters<import("viem").WalletCapabilities, `0x${string}`, `0x${string}`>;
348
- ReturnType: string;
349
- }, {
350
- Method: "wallet_showCallsStatus";
351
- Parameters?: [string];
352
- ReturnType: void;
353
- }, {
354
- Method: "wallet_switchEthereumChain";
355
- Parameters: [chain: {
356
- chainId: string;
357
- }];
358
- ReturnType: null;
359
- }, {
360
- Method: "wallet_watchAsset";
361
- Parameters: import("viem").WatchAssetParams;
362
- ReturnType: boolean;
363
- }, {
364
- Method: "eth_chainId";
365
- Parameters?: undefined;
366
- ReturnType: `0x${string}`;
367
- }, {
368
- Method: "eth_estimateUserOperationGas";
369
- Parameters: [userOperation: import("viem").RpcUserOperation, entrypoint: `0x${string}`] | [userOperation: import("viem").RpcUserOperation, entrypoint: `0x${string}`, stateOverrideSet: import("viem").RpcStateOverride];
370
- ReturnType: import("viem").RpcEstimateUserOperationGasReturnType;
371
- }, {
372
- Method: "eth_getUserOperationByHash";
373
- Parameters: [hash: `0x${string}`];
374
- ReturnType: import("viem").RpcGetUserOperationByHashReturnType;
375
- }, {
376
- Method: "eth_getUserOperationReceipt";
377
- Parameters: [hash: `0x${string}`];
378
- ReturnType: import("viem").RpcUserOperationReceipt;
379
- }, {
380
- Method: "eth_sendUserOperation";
381
- Parameters: [userOperation: import("viem").RpcUserOperation, entrypoint: `0x${string}`];
382
- ReturnType: `0x${string}`;
383
- }, {
384
- Method: "eth_supportedEntryPoints";
385
- Parameters?: undefined;
386
- ReturnType: readonly `0x${string}`[];
387
- }, {
388
- Method: "pm_getPaymasterStubData";
389
- Parameters?: [userOperation: import("viem").OneOf<import("wagmi/chains").PartialBy<Pick<{
390
- callData: `0x${string}`;
391
- callGasLimit: `0x${string}`;
392
- initCode?: `0x${string}`;
393
- maxFeePerGas: `0x${string}`;
394
- maxPriorityFeePerGas: `0x${string}`;
395
- nonce: `0x${string}`;
396
- paymasterAndData?: `0x${string}`;
397
- preVerificationGas: `0x${string}`;
398
- sender: `0x${string}`;
399
- signature: `0x${string}`;
400
- verificationGasLimit: `0x${string}`;
401
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "preVerificationGas" | "sender" | "verificationGasLimit" | "initCode">, "maxFeePerGas" | "maxPriorityFeePerGas" | "callGasLimit" | "preVerificationGas" | "verificationGasLimit" | "initCode"> | import("wagmi/chains").PartialBy<Pick<{
402
- callData: `0x${string}`;
403
- callGasLimit: `0x${string}`;
404
- factory?: `0x${string}`;
405
- factoryData?: `0x${string}`;
406
- maxFeePerGas: `0x${string}`;
407
- maxPriorityFeePerGas: `0x${string}`;
408
- nonce: `0x${string}`;
409
- paymaster?: `0x${string}`;
410
- paymasterData?: `0x${string}`;
411
- paymasterPostOpGasLimit?: `0x${string}`;
412
- paymasterVerificationGasLimit?: `0x${string}`;
413
- preVerificationGas: `0x${string}`;
414
- sender: `0x${string}`;
415
- signature: `0x${string}`;
416
- verificationGasLimit: `0x${string}`;
417
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "factory" | "factoryData" | "preVerificationGas" | "sender" | "verificationGasLimit">, "maxFeePerGas" | "maxPriorityFeePerGas" | "callGasLimit" | "factory" | "factoryData" | "preVerificationGas" | "verificationGasLimit">>, entrypoint: `0x${string}`, chainId: `0x${string}`, context: unknown];
418
- ReturnType: import("viem").OneOf<{
419
- paymasterAndData: `0x${string}`;
420
- } | {
421
- paymaster: `0x${string}`;
422
- paymasterData: `0x${string}`;
423
- paymasterVerificationGasLimit: `0x${string}`;
424
- paymasterPostOpGasLimit: `0x${string}`;
425
- }> & {
426
- sponsor?: {
427
- name: string;
428
- icon?: string;
429
- };
430
- isFinal?: boolean;
431
- };
432
- }, {
433
- Method: "pm_getPaymasterData";
434
- Parameters?: [userOperation: Pick<{
435
- callData: `0x${string}`;
436
- callGasLimit: `0x${string}`;
437
- initCode?: `0x${string}`;
438
- maxFeePerGas: `0x${string}`;
439
- maxPriorityFeePerGas: `0x${string}`;
440
- nonce: `0x${string}`;
441
- paymasterAndData?: `0x${string}`;
442
- preVerificationGas: `0x${string}`;
443
- sender: `0x${string}`;
444
- signature: `0x${string}`;
445
- verificationGasLimit: `0x${string}`;
446
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "preVerificationGas" | "sender" | "verificationGasLimit" | "initCode"> | Pick<{
447
- callData: `0x${string}`;
448
- callGasLimit: `0x${string}`;
449
- factory?: `0x${string}`;
450
- factoryData?: `0x${string}`;
451
- maxFeePerGas: `0x${string}`;
452
- maxPriorityFeePerGas: `0x${string}`;
453
- nonce: `0x${string}`;
454
- paymaster?: `0x${string}`;
455
- paymasterData?: `0x${string}`;
456
- paymasterPostOpGasLimit?: `0x${string}`;
457
- paymasterVerificationGasLimit?: `0x${string}`;
458
- preVerificationGas: `0x${string}`;
459
- sender: `0x${string}`;
460
- signature: `0x${string}`;
461
- verificationGasLimit: `0x${string}`;
462
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "factory" | "factoryData" | "preVerificationGas" | "sender" | "verificationGasLimit">, entrypoint: `0x${string}`, chainId: `0x${string}`, context: unknown];
463
- ReturnType: import("viem").OneOf<{
464
- paymasterAndData: `0x${string}`;
465
- } | {
466
- paymaster: `0x${string}`;
467
- paymasterData: `0x${string}`;
468
- paymasterVerificationGasLimit: `0x${string}`;
469
- paymasterPostOpGasLimit: `0x${string}`;
470
- }>;
471
- }]>;
472
- isApexWallet?: true;
473
- isAvalanche?: true;
474
- isBackpack?: true;
475
- isBifrost?: true;
476
- isBitKeep?: true;
477
- isBitski?: true;
478
- isBlockWallet?: true;
479
- isBraveWallet?: true;
480
- isCoinbaseWallet?: true;
481
- isDawn?: true;
482
- isEnkrypt?: true;
483
- isExodus?: true;
484
- isFrame?: true;
485
- isFrontier?: true;
486
- isGamestop?: true;
487
- isHyperPay?: true;
488
- isImToken?: true;
489
- isKuCoinWallet?: true;
490
- isMathWallet?: true;
491
- isMetaMask?: true;
492
- isOkxWallet?: true;
493
- isOKExWallet?: true;
494
- isOneInchAndroidWallet?: true;
495
- isOneInchIOSWallet?: true;
496
- isOpera?: true;
497
- isPhantom?: true;
498
- isPortal?: true;
499
- isRabby?: true;
500
- isRainbow?: true;
501
- isStatus?: true;
502
- isTally?: true;
503
- isTokenPocket?: true;
504
- isTokenary?: true;
505
- isTrust?: true;
506
- isTrustWallet?: true;
507
- isXDEFI?: true;
508
- isZerion?: true;
53
+ chainId?: number | undefined;
54
+ } | undefined) => Promise<{
55
+ on: <event extends keyof import("viem").EIP1193EventMap>(event: event, listener: import("viem").EIP1193EventMap[event]) => void;
56
+ removeListener: <event extends keyof import("viem").EIP1193EventMap>(event: event, listener: import("viem").EIP1193EventMap[event]) => void;
57
+ request: import("viem").EIP1193RequestFn<import("viem").EIP1474Methods>;
58
+ isApexWallet?: true | undefined;
59
+ isAvalanche?: true | undefined;
60
+ isBackpack?: true | undefined;
61
+ isBifrost?: true | undefined;
62
+ isBitKeep?: true | undefined;
63
+ isBitski?: true | undefined;
64
+ isBlockWallet?: true | undefined;
65
+ isBraveWallet?: true | undefined;
66
+ isCoinbaseWallet?: true | undefined;
67
+ isDawn?: true | undefined;
68
+ isEnkrypt?: true | undefined;
69
+ isExodus?: true | undefined;
70
+ isFrame?: true | undefined;
71
+ isFrontier?: true | undefined;
72
+ isGamestop?: true | undefined;
73
+ isHyperPay?: true | undefined;
74
+ isImToken?: true | undefined;
75
+ isKuCoinWallet?: true | undefined;
76
+ isMathWallet?: true | undefined;
77
+ isMetaMask?: true | undefined;
78
+ isOkxWallet?: true | undefined;
79
+ isOKExWallet?: true | undefined;
80
+ isOneInchAndroidWallet?: true | undefined;
81
+ isOneInchIOSWallet?: true | undefined;
82
+ isOpera?: true | undefined;
83
+ isPhantom?: true | undefined;
84
+ isPortal?: true | undefined;
85
+ isRabby?: true | undefined;
86
+ isRainbow?: true | undefined;
87
+ isStatus?: true | undefined;
88
+ isTally?: true | undefined;
89
+ isTokenPocket?: true | undefined;
90
+ isTokenary?: true | undefined;
91
+ isTrust?: true | undefined;
92
+ isTrustWallet?: true | undefined;
93
+ isUniswapWallet?: true | undefined;
94
+ isXDEFI?: true | undefined;
95
+ isZerion?: true | undefined;
509
96
  providers?: {
510
97
  on: <event extends keyof import("viem").EIP1193EventMap>(event: event, listener: import("viem").EIP1193EventMap[event]) => void;
511
- removeListener: <event_1 extends keyof import("viem").EIP1193EventMap>(event: event, listener: import("viem").EIP1193EventMap[event]) => void;
512
- request: import("viem").EIP1193RequestFn<[{
513
- Method: "web3_clientVersion";
514
- Parameters?: undefined;
515
- ReturnType: string;
516
- }, {
517
- Method: "web3_sha3";
518
- Parameters: [data: `0x${string}`];
519
- ReturnType: string;
520
- }, {
521
- Method: "net_listening";
522
- Parameters?: undefined;
523
- ReturnType: boolean;
524
- }, {
525
- Method: "net_peerCount";
526
- Parameters?: undefined;
527
- ReturnType: `0x${string}`;
528
- }, {
529
- Method: "net_version";
530
- Parameters?: undefined;
531
- ReturnType: `0x${string}`;
532
- }, {
533
- Method: "eth_blobBaseFee";
534
- Parameters?: undefined;
535
- ReturnType: `0x${string}`;
536
- }, {
537
- Method: "eth_blockNumber";
538
- Parameters?: undefined;
539
- ReturnType: `0x${string}`;
540
- }, {
541
- Method: "eth_call";
542
- Parameters: [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>] | [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier] | [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier, stateOverrideSet: import("viem").RpcStateOverride];
543
- ReturnType: `0x${string}`;
544
- }, {
545
- Method: "eth_chainId";
546
- Parameters?: undefined;
547
- ReturnType: `0x${string}`;
548
- }, {
549
- Method: "eth_coinbase";
550
- Parameters?: undefined;
551
- ReturnType: `0x${string}`;
552
- }, {
553
- Method: "eth_estimateGas";
554
- Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag, stateOverride: import("viem").RpcStateOverride];
555
- ReturnType: `0x${string}`;
556
- }, {
557
- Method: "eth_feeHistory";
558
- Parameters: [blockCount: `0x${string}`, newestBlock: `0x${string}` | import("viem").BlockTag, rewardPercentiles: number[]];
559
- ReturnType: import("viem").RpcFeeHistory;
560
- }, {
561
- Method: "eth_gasPrice";
562
- Parameters?: undefined;
563
- ReturnType: `0x${string}`;
564
- }, {
565
- Method: "eth_getBalance";
566
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
567
- ReturnType: `0x${string}`;
568
- }, {
569
- Method: "eth_getBlockByHash";
570
- Parameters: [hash: `0x${string}`, includeTransactionObjects: boolean];
571
- ReturnType: import("viem").RpcBlock;
572
- }, {
573
- Method: "eth_getBlockByNumber";
574
- Parameters: [block: `0x${string}` | import("viem").BlockTag, includeTransactionObjects: boolean];
575
- ReturnType: import("viem").RpcBlock;
576
- }, {
577
- Method: "eth_getBlockTransactionCountByHash";
578
- Parameters: [hash: `0x${string}`];
579
- ReturnType: `0x${string}`;
580
- }, {
581
- Method: "eth_getBlockTransactionCountByNumber";
582
- Parameters: [block: `0x${string}` | import("viem").BlockTag];
583
- ReturnType: `0x${string}`;
584
- }, {
585
- Method: "eth_getCode";
586
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
587
- ReturnType: `0x${string}`;
588
- }, {
589
- Method: "eth_getFilterChanges";
590
- Parameters: [filterId: `0x${string}`];
591
- ReturnType: `0x${string}`[] | {
592
- address: `0x${string}`;
593
- blockHash: `0x${string}`;
594
- blockNumber: `0x${string}`;
595
- data: `0x${string}`;
596
- logIndex: `0x${string}`;
597
- transactionHash: `0x${string}`;
598
- transactionIndex: `0x${string}`;
599
- removed: boolean;
600
- }[];
601
- }, {
602
- Method: "eth_getFilterLogs";
603
- Parameters: [filterId: `0x${string}`];
604
- ReturnType: {
605
- address: `0x${string}`;
606
- blockHash: `0x${string}`;
607
- blockNumber: `0x${string}`;
608
- data: `0x${string}`;
609
- logIndex: `0x${string}`;
610
- transactionHash: `0x${string}`;
611
- transactionIndex: `0x${string}`;
612
- removed: boolean;
613
- }[];
614
- }, {
615
- Method: "eth_getLogs";
616
- Parameters: [{
617
- address?: `0x${string}` | `0x${string}`[];
618
- topics?: import("viem").LogTopic[];
619
- } & ({
620
- fromBlock?: `0x${string}` | import("viem").BlockTag;
621
- toBlock?: `0x${string}` | import("viem").BlockTag;
622
- blockHash?: undefined;
623
- } | {
624
- fromBlock?: undefined;
625
- toBlock?: undefined;
626
- blockHash?: `0x${string}`;
627
- })];
628
- ReturnType: {
629
- address: `0x${string}`;
630
- blockHash: `0x${string}`;
631
- blockNumber: `0x${string}`;
632
- data: `0x${string}`;
633
- logIndex: `0x${string}`;
634
- transactionHash: `0x${string}`;
635
- transactionIndex: `0x${string}`;
636
- removed: boolean;
637
- }[];
638
- }, {
639
- Method: "eth_getProof";
640
- Parameters: [address: `0x${string}`, storageKeys: `0x${string}`[], block: `0x${string}` | import("viem").BlockTag];
641
- ReturnType: import("viem").RpcProof;
642
- }, {
643
- Method: "eth_getStorageAt";
644
- Parameters: [address: `0x${string}`, index: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
645
- ReturnType: `0x${string}`;
646
- }, {
647
- Method: "eth_getTransactionByBlockHashAndIndex";
648
- Parameters: [hash: `0x${string}`, index: `0x${string}`];
649
- ReturnType: import("viem").RpcTransaction;
650
- }, {
651
- Method: "eth_getTransactionByBlockNumberAndIndex";
652
- Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
653
- ReturnType: import("viem").RpcTransaction;
654
- }, {
655
- Method: "eth_getTransactionByHash";
656
- Parameters: [hash: `0x${string}`];
657
- ReturnType: import("viem").RpcTransaction;
658
- }, {
659
- Method: "eth_getTransactionCount";
660
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
661
- ReturnType: `0x${string}`;
662
- }, {
663
- Method: "eth_getTransactionReceipt";
664
- Parameters: [hash: `0x${string}`];
665
- ReturnType: import("viem").RpcTransactionReceipt;
666
- }, {
667
- Method: "eth_getUncleByBlockHashAndIndex";
668
- Parameters: [hash: `0x${string}`, index: `0x${string}`];
669
- ReturnType: import("viem").RpcUncle;
670
- }, {
671
- Method: "eth_getUncleByBlockNumberAndIndex";
672
- Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
673
- ReturnType: import("viem").RpcUncle;
674
- }, {
675
- Method: "eth_getUncleCountByBlockHash";
676
- Parameters: [hash: `0x${string}`];
677
- ReturnType: `0x${string}`;
678
- }, {
679
- Method: "eth_getUncleCountByBlockNumber";
680
- Parameters: [block: `0x${string}` | import("viem").BlockTag];
681
- ReturnType: `0x${string}`;
682
- }, {
683
- Method: "eth_maxPriorityFeePerGas";
684
- Parameters?: undefined;
685
- ReturnType: `0x${string}`;
686
- }, {
687
- Method: "eth_newBlockFilter";
688
- Parameters?: undefined;
689
- ReturnType: `0x${string}`;
690
- }, {
691
- Method: "eth_newFilter";
692
- Parameters: [filter: {
693
- fromBlock?: `0x${string}` | import("viem").BlockTag;
694
- toBlock?: `0x${string}` | import("viem").BlockTag;
695
- address?: `0x${string}` | `0x${string}`[];
696
- topics?: import("viem").LogTopic[];
697
- }];
698
- ReturnType: `0x${string}`;
699
- }, {
700
- Method: "eth_newPendingTransactionFilter";
701
- Parameters?: undefined;
702
- ReturnType: `0x${string}`;
703
- }, {
704
- Method: "eth_protocolVersion";
705
- Parameters?: undefined;
706
- ReturnType: string;
707
- }, {
708
- Method: "eth_sendRawTransaction";
709
- Parameters: [signedTransaction: `0x${string}`];
710
- ReturnType: `0x${string}`;
711
- }, {
712
- Method: "eth_uninstallFilter";
713
- Parameters: [filterId: `0x${string}`];
714
- ReturnType: boolean;
715
- }, {
716
- Method: "eth_accounts";
717
- Parameters?: undefined;
718
- ReturnType: `0x${string}`[];
719
- }, {
720
- Method: "eth_chainId";
721
- Parameters?: undefined;
722
- ReturnType: `0x${string}`;
723
- }, {
724
- Method: "eth_estimateGas";
725
- Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag, stateOverride: import("viem").RpcStateOverride];
726
- ReturnType: `0x${string}`;
727
- }, {
728
- Method: "eth_requestAccounts";
729
- Parameters?: undefined;
730
- ReturnType: `0x${string}`[];
731
- }, {
732
- Method: "eth_sendTransaction";
733
- Parameters: [transaction: import("viem").RpcTransactionRequest];
734
- ReturnType: `0x${string}`;
735
- }, {
736
- Method: "eth_sendRawTransaction";
737
- Parameters: [signedTransaction: `0x${string}`];
738
- ReturnType: `0x${string}`;
739
- }, {
740
- Method: "eth_sign";
741
- Parameters: [address: `0x${string}`, data: `0x${string}`];
742
- ReturnType: `0x${string}`;
743
- }, {
744
- Method: "eth_signTransaction";
745
- Parameters: [request: import("viem").RpcTransactionRequest];
746
- ReturnType: `0x${string}`;
747
- }, {
748
- Method: "eth_signTypedData_v4";
749
- Parameters: [address: `0x${string}`, message: string];
750
- ReturnType: `0x${string}`;
751
- }, {
752
- Method: "eth_syncing";
753
- Parameters?: undefined;
754
- ReturnType: false | import("viem").NetworkSync;
755
- }, {
756
- Method: "personal_sign";
757
- Parameters: [data: `0x${string}`, address: `0x${string}`];
758
- ReturnType: `0x${string}`;
759
- }, {
760
- Method: "wallet_addEthereumChain";
761
- Parameters: [chain: import("viem").AddEthereumChainParameter];
762
- ReturnType: null;
763
- }, {
764
- Method: "wallet_getCallsStatus";
765
- Parameters?: [string];
766
- ReturnType: import("viem").WalletGetCallsStatusReturnType<`0x${string}`, `0x${string}`>;
767
- }, {
768
- Method: "wallet_getCapabilities";
769
- Parameters?: [`0x${string}`];
770
- ReturnType: {
771
- [x: `0x${string}`]: import("viem").WalletCapabilities;
772
- };
773
- }, {
774
- Method: "wallet_getPermissions";
775
- Parameters?: undefined;
776
- ReturnType: import("viem").WalletPermission[];
777
- }, {
778
- Method: "wallet_grantPermissions";
779
- Parameters?: [import("viem").WalletGrantPermissionsParameters];
780
- ReturnType: {
781
- expiry: number;
782
- factory?: `0x${string}`;
783
- factoryData?: string;
784
- grantedPermissions: readonly {
785
- data: unknown;
786
- policies: readonly {
787
- data: unknown;
788
- type: string;
789
- }[];
790
- required?: boolean;
791
- type: string;
792
- }[];
793
- permissionsContext: string;
794
- signerData?: {
795
- userOpBuilder?: `0x${string}`;
796
- submitToAddress?: `0x${string}`;
797
- };
798
- };
799
- }, {
800
- Method: "wallet_requestPermissions";
801
- Parameters: [permissions: {
802
- eth_accounts: Record<string, any>;
803
- }];
804
- ReturnType: import("viem").WalletPermission[];
805
- }, {
806
- Method: "wallet_revokePermissions";
807
- Parameters: [permissions: {
808
- eth_accounts: Record<string, any>;
809
- }];
810
- ReturnType: null;
811
- }, {
812
- Method: "wallet_sendCalls";
813
- Parameters?: import("viem").WalletSendCallsParameters<import("viem").WalletCapabilities, `0x${string}`, `0x${string}`>;
814
- ReturnType: string;
815
- }, {
816
- Method: "wallet_showCallsStatus";
817
- Parameters?: [string];
818
- ReturnType: void;
819
- }, {
820
- Method: "wallet_switchEthereumChain";
821
- Parameters: [chain: {
822
- chainId: string;
823
- }];
824
- ReturnType: null;
825
- }, {
826
- Method: "wallet_watchAsset";
827
- Parameters: import("viem").WatchAssetParams;
828
- ReturnType: boolean;
829
- }, {
830
- Method: "eth_chainId";
831
- Parameters?: undefined;
832
- ReturnType: `0x${string}`;
833
- }, {
834
- Method: "eth_estimateUserOperationGas";
835
- Parameters: [userOperation: import("viem").RpcUserOperation, entrypoint: `0x${string}`] | [userOperation: import("viem").RpcUserOperation, entrypoint: `0x${string}`, stateOverrideSet: import("viem").RpcStateOverride];
836
- ReturnType: import("viem").RpcEstimateUserOperationGasReturnType;
837
- }, {
838
- Method: "eth_getUserOperationByHash";
839
- Parameters: [hash: `0x${string}`];
840
- ReturnType: import("viem").RpcGetUserOperationByHashReturnType;
841
- }, {
842
- Method: "eth_getUserOperationReceipt";
843
- Parameters: [hash: `0x${string}`];
844
- ReturnType: import("viem").RpcUserOperationReceipt;
845
- }, {
846
- Method: "eth_sendUserOperation";
847
- Parameters: [userOperation: import("viem").RpcUserOperation, entrypoint: `0x${string}`];
848
- ReturnType: `0x${string}`;
849
- }, {
850
- Method: "eth_supportedEntryPoints";
851
- Parameters?: undefined;
852
- ReturnType: readonly `0x${string}`[];
853
- }, {
854
- Method: "pm_getPaymasterStubData";
855
- Parameters?: [userOperation: import("viem").OneOf<import("wagmi/chains").PartialBy<Pick<{
856
- callData: `0x${string}`;
857
- callGasLimit: `0x${string}`;
858
- initCode?: `0x${string}`;
859
- maxFeePerGas: `0x${string}`;
860
- maxPriorityFeePerGas: `0x${string}`;
861
- nonce: `0x${string}`;
862
- paymasterAndData?: `0x${string}`;
863
- preVerificationGas: `0x${string}`;
864
- sender: `0x${string}`;
865
- signature: `0x${string}`;
866
- verificationGasLimit: `0x${string}`;
867
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "preVerificationGas" | "sender" | "verificationGasLimit" | "initCode">, "maxFeePerGas" | "maxPriorityFeePerGas" | "callGasLimit" | "preVerificationGas" | "verificationGasLimit" | "initCode"> | import("wagmi/chains").PartialBy<Pick<{
868
- callData: `0x${string}`;
869
- callGasLimit: `0x${string}`;
870
- factory?: `0x${string}`;
871
- factoryData?: `0x${string}`;
872
- maxFeePerGas: `0x${string}`;
873
- maxPriorityFeePerGas: `0x${string}`;
874
- nonce: `0x${string}`;
875
- paymaster?: `0x${string}`;
876
- paymasterData?: `0x${string}`;
877
- paymasterPostOpGasLimit?: `0x${string}`;
878
- paymasterVerificationGasLimit?: `0x${string}`;
879
- preVerificationGas: `0x${string}`;
880
- sender: `0x${string}`;
881
- signature: `0x${string}`;
882
- verificationGasLimit: `0x${string}`;
883
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "factory" | "factoryData" | "preVerificationGas" | "sender" | "verificationGasLimit">, "maxFeePerGas" | "maxPriorityFeePerGas" | "callGasLimit" | "factory" | "factoryData" | "preVerificationGas" | "verificationGasLimit">>, entrypoint: `0x${string}`, chainId: `0x${string}`, context: unknown];
884
- ReturnType: import("viem").OneOf<{
885
- paymasterAndData: `0x${string}`;
886
- } | {
887
- paymaster: `0x${string}`;
888
- paymasterData: `0x${string}`;
889
- paymasterVerificationGasLimit: `0x${string}`;
890
- paymasterPostOpGasLimit: `0x${string}`;
891
- }> & {
892
- sponsor?: {
893
- name: string;
894
- icon?: string;
895
- };
896
- isFinal?: boolean;
897
- };
898
- }, {
899
- Method: "pm_getPaymasterData";
900
- Parameters?: [userOperation: Pick<{
901
- callData: `0x${string}`;
902
- callGasLimit: `0x${string}`;
903
- initCode?: `0x${string}`;
904
- maxFeePerGas: `0x${string}`;
905
- maxPriorityFeePerGas: `0x${string}`;
906
- nonce: `0x${string}`;
907
- paymasterAndData?: `0x${string}`;
908
- preVerificationGas: `0x${string}`;
909
- sender: `0x${string}`;
910
- signature: `0x${string}`;
911
- verificationGasLimit: `0x${string}`;
912
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "preVerificationGas" | "sender" | "verificationGasLimit" | "initCode"> | Pick<{
913
- callData: `0x${string}`;
914
- callGasLimit: `0x${string}`;
915
- factory?: `0x${string}`;
916
- factoryData?: `0x${string}`;
917
- maxFeePerGas: `0x${string}`;
918
- maxPriorityFeePerGas: `0x${string}`;
919
- nonce: `0x${string}`;
920
- paymaster?: `0x${string}`;
921
- paymasterData?: `0x${string}`;
922
- paymasterPostOpGasLimit?: `0x${string}`;
923
- paymasterVerificationGasLimit?: `0x${string}`;
924
- preVerificationGas: `0x${string}`;
925
- sender: `0x${string}`;
926
- signature: `0x${string}`;
927
- verificationGasLimit: `0x${string}`;
928
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "factory" | "factoryData" | "preVerificationGas" | "sender" | "verificationGasLimit">, entrypoint: `0x${string}`, chainId: `0x${string}`, context: unknown];
929
- ReturnType: import("viem").OneOf<{
930
- paymasterAndData: `0x${string}`;
931
- } | {
932
- paymaster: `0x${string}`;
933
- paymasterData: `0x${string}`;
934
- paymasterVerificationGasLimit: `0x${string}`;
935
- paymasterPostOpGasLimit: `0x${string}`;
936
- }>;
937
- }]>;
98
+ removeListener: <event extends keyof import("viem").EIP1193EventMap>(event: event, listener: import("viem").EIP1193EventMap[event]) => void;
99
+ request: import("viem").EIP1193RequestFn<import("viem").EIP1474Methods>;
938
100
  isApexWallet?: true;
939
101
  isAvalanche?: true;
940
102
  isBackpack?: true;
@@ -970,959 +132,122 @@ export declare const createParaConnector: ({ para, chains: _chains, disableModal
970
132
  isTokenary?: true;
971
133
  isTrust?: true;
972
134
  isTrustWallet?: true;
135
+ isUniswapWallet?: true;
973
136
  isXDEFI?: true;
974
137
  isZerion?: true;
975
- providers?: any[];
138
+ providers?: /*elided*/ any[];
976
139
  _events?: {
977
- connect?: () => void;
978
- };
140
+ connect?: (() => void) | undefined;
141
+ } | undefined;
979
142
  _state?: {
980
143
  accounts?: string[];
981
144
  initialized?: boolean;
982
145
  isConnected?: boolean;
983
146
  isPermanentlyDisconnected?: boolean;
984
147
  isUnlocked?: boolean;
985
- };
148
+ } | undefined;
986
149
  }[];
987
150
  _events?: {
988
- connect?: () => void;
989
- };
151
+ connect?: (() => void) | undefined;
152
+ } | undefined;
990
153
  _state?: {
991
154
  accounts?: string[];
992
155
  initialized?: boolean;
993
156
  isConnected?: boolean;
994
157
  isPermanentlyDisconnected?: boolean;
995
158
  isUnlocked?: boolean;
996
- };
159
+ } | undefined;
997
160
  }>;
998
161
  getClient?: (parameters?: {
999
- chainId?: number;
1000
- }) => Promise<never>;
162
+ chainId?: number | undefined;
163
+ } | undefined) => Promise<import("viem").Client>;
1001
164
  isAuthorized: () => Promise<boolean>;
1002
- switchChain?: (parameters: {
1003
- addEthereumChainParameter?: import("@wagmi/core/internal").ExactPartial<import("@wagmi/core/internal").Omit<import("viem").AddEthereumChainParameter, "chainId">>;
165
+ switchChain?: (parameters: import("@wagmi/core/internal").Compute<{
166
+ addEthereumChainParameter?: import("@wagmi/core/internal").ExactPartial<import("@wagmi/core/internal").Omit<import("viem").AddEthereumChainParameter, "chainId">> | undefined;
1004
167
  chainId: number;
1005
- }) => Promise<Chain>;
168
+ }>) => Promise<Chain>;
1006
169
  onAccountsChanged: (accounts: string[]) => void;
1007
170
  onChainChanged: (chainId: string) => void;
1008
171
  onConnect: ((connectInfo: import("viem").ProviderConnectInfo) => void) & ((connectInfo: import("viem").ProviderConnectInfo) => void);
1009
- onDisconnect: (error?: Error) => void;
172
+ onDisconnect: (error?: Error | undefined) => void;
1010
173
  onMessage?: (message: import("viem").ProviderMessage) => void;
1011
- }, Record<string, unknown>>;
1012
- export declare const paraConnector: (opts: ParaConnectorOpts) => import("wagmi").CreateConnectorFn<unknown, {
174
+ };
175
+ export declare const paraConnector: (opts: ParaConnectorOpts) => (config: {
176
+ chains: readonly [Chain, ...Chain[]];
177
+ emitter: import("@wagmi/core/internal").Emitter<import("wagmi").ConnectorEventMap>;
178
+ storage?: {
179
+ key: string;
180
+ getItem: <key_1 extends string, value extends (import("@wagmi/core").StorageItemMap & Record<string, unknown>)[key_1], defaultValue_1 extends value>(key: key_1, defaultValue?: defaultValue_1) => (defaultValue_1 extends null ? value : value) | Promise<defaultValue_1 extends null ? value : value>;
181
+ setItem: <key_1 extends string, value_1 extends (import("@wagmi/core").StorageItemMap & Record<string, unknown>)[key_1]>(key: key_1, value: value_1) => void | Promise<void>;
182
+ removeItem: (key: string) => void | Promise<void>;
183
+ };
184
+ transports?: Record<number, import("wagmi").Transport> | undefined;
185
+ }) => {
1013
186
  type: string;
1014
187
  name: string;
1015
188
  icon: string;
1016
189
  disconnect: () => Promise<void>;
1017
190
  id: string;
1018
- supportsSimulation?: boolean;
191
+ rdns?: string | readonly string[] | undefined;
192
+ supportsSimulation?: boolean | undefined;
1019
193
  setup?: () => Promise<void>;
1020
194
  connect: (parameters?: {
1021
- chainId?: number;
1022
- isReconnecting?: boolean;
1023
- }) => Promise<{
1024
- accounts: readonly `0x${string}`[];
195
+ chainId?: number | undefined;
196
+ isReconnecting?: boolean | undefined;
197
+ } | undefined) => Promise<{
198
+ accounts: readonly import("viem").Address[];
1025
199
  chainId: number;
1026
200
  }>;
1027
- getAccounts: () => Promise<readonly `0x${string}`[]>;
201
+ getAccounts: () => Promise<readonly import("viem").Address[]>;
1028
202
  getChainId: () => Promise<number>;
1029
203
  getProvider: (parameters?: {
1030
- chainId?: number;
1031
- }) => Promise<{
1032
- on: <TEvent extends keyof import("viem").EIP1193EventMap>(event: TEvent, listener: import("viem").EIP1193EventMap[TEvent]) => void;
1033
- removeListener: <TEvent_1 extends keyof import("viem").EIP1193EventMap>(event: TEvent_1, listener: import("viem").EIP1193EventMap[TEvent_1]) => void;
1034
- request: import("viem").EIP1193RequestFn<[{
1035
- Method: "web3_clientVersion";
1036
- Parameters?: undefined;
1037
- ReturnType: string;
1038
- }, {
1039
- Method: "web3_sha3";
1040
- Parameters: [data: `0x${string}`];
1041
- ReturnType: string;
1042
- }, {
1043
- Method: "net_listening";
1044
- Parameters?: undefined;
1045
- ReturnType: boolean;
1046
- }, {
1047
- Method: "net_peerCount";
1048
- Parameters?: undefined;
1049
- ReturnType: `0x${string}`;
1050
- }, {
1051
- Method: "net_version";
1052
- Parameters?: undefined;
1053
- ReturnType: `0x${string}`;
1054
- }, {
1055
- Method: "eth_blobBaseFee";
1056
- Parameters?: undefined;
1057
- ReturnType: `0x${string}`;
1058
- }, {
1059
- Method: "eth_blockNumber";
1060
- Parameters?: undefined;
1061
- ReturnType: `0x${string}`;
1062
- }, {
1063
- Method: "eth_call";
1064
- Parameters: [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>] | [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier] | [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier, stateOverrideSet: import("viem").RpcStateOverride];
1065
- ReturnType: `0x${string}`;
1066
- }, {
1067
- Method: "eth_chainId";
1068
- Parameters?: undefined;
1069
- ReturnType: `0x${string}`;
1070
- }, {
1071
- Method: "eth_coinbase";
1072
- Parameters?: undefined;
1073
- ReturnType: `0x${string}`;
1074
- }, {
1075
- Method: "eth_estimateGas";
1076
- Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag, stateOverride: import("viem").RpcStateOverride];
1077
- ReturnType: `0x${string}`;
1078
- }, {
1079
- Method: "eth_feeHistory";
1080
- Parameters: [blockCount: `0x${string}`, newestBlock: `0x${string}` | import("viem").BlockTag, rewardPercentiles: number[]];
1081
- ReturnType: import("viem").RpcFeeHistory;
1082
- }, {
1083
- Method: "eth_gasPrice";
1084
- Parameters?: undefined;
1085
- ReturnType: `0x${string}`;
1086
- }, {
1087
- Method: "eth_getBalance";
1088
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
1089
- ReturnType: `0x${string}`;
1090
- }, {
1091
- Method: "eth_getBlockByHash";
1092
- Parameters: [hash: `0x${string}`, includeTransactionObjects: boolean];
1093
- ReturnType: import("viem").RpcBlock;
1094
- }, {
1095
- Method: "eth_getBlockByNumber";
1096
- Parameters: [block: `0x${string}` | import("viem").BlockTag, includeTransactionObjects: boolean];
1097
- ReturnType: import("viem").RpcBlock;
1098
- }, {
1099
- Method: "eth_getBlockTransactionCountByHash";
1100
- Parameters: [hash: `0x${string}`];
1101
- ReturnType: `0x${string}`;
1102
- }, {
1103
- Method: "eth_getBlockTransactionCountByNumber";
1104
- Parameters: [block: `0x${string}` | import("viem").BlockTag];
1105
- ReturnType: `0x${string}`;
1106
- }, {
1107
- Method: "eth_getCode";
1108
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
1109
- ReturnType: `0x${string}`;
1110
- }, {
1111
- Method: "eth_getFilterChanges";
1112
- Parameters: [filterId: `0x${string}`];
1113
- ReturnType: `0x${string}`[] | {
1114
- address: `0x${string}`;
1115
- blockHash: `0x${string}`;
1116
- blockNumber: `0x${string}`;
1117
- data: `0x${string}`;
1118
- logIndex: `0x${string}`;
1119
- transactionHash: `0x${string}`;
1120
- transactionIndex: `0x${string}`;
1121
- removed: boolean;
1122
- }[];
1123
- }, {
1124
- Method: "eth_getFilterLogs";
1125
- Parameters: [filterId: `0x${string}`];
1126
- ReturnType: {
1127
- address: `0x${string}`;
1128
- blockHash: `0x${string}`;
1129
- blockNumber: `0x${string}`;
1130
- data: `0x${string}`;
1131
- logIndex: `0x${string}`;
1132
- transactionHash: `0x${string}`;
1133
- transactionIndex: `0x${string}`;
1134
- removed: boolean;
1135
- }[];
1136
- }, {
1137
- Method: "eth_getLogs";
1138
- Parameters: [{
1139
- address?: `0x${string}` | `0x${string}`[];
1140
- topics?: import("viem").LogTopic[];
1141
- } & ({
1142
- fromBlock?: `0x${string}` | import("viem").BlockTag;
1143
- toBlock?: `0x${string}` | import("viem").BlockTag;
1144
- blockHash?: undefined;
1145
- } | {
1146
- fromBlock?: undefined;
1147
- toBlock?: undefined;
1148
- blockHash?: `0x${string}`;
1149
- })];
1150
- ReturnType: {
1151
- address: `0x${string}`;
1152
- blockHash: `0x${string}`;
1153
- blockNumber: `0x${string}`;
1154
- data: `0x${string}`;
1155
- logIndex: `0x${string}`;
1156
- transactionHash: `0x${string}`;
1157
- transactionIndex: `0x${string}`;
1158
- removed: boolean;
1159
- }[];
1160
- }, {
1161
- Method: "eth_getProof";
1162
- Parameters: [address: `0x${string}`, storageKeys: `0x${string}`[], block: `0x${string}` | import("viem").BlockTag];
1163
- ReturnType: import("viem").RpcProof;
1164
- }, {
1165
- Method: "eth_getStorageAt";
1166
- Parameters: [address: `0x${string}`, index: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
1167
- ReturnType: `0x${string}`;
1168
- }, {
1169
- Method: "eth_getTransactionByBlockHashAndIndex";
1170
- Parameters: [hash: `0x${string}`, index: `0x${string}`];
1171
- ReturnType: import("viem").RpcTransaction;
1172
- }, {
1173
- Method: "eth_getTransactionByBlockNumberAndIndex";
1174
- Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
1175
- ReturnType: import("viem").RpcTransaction;
1176
- }, {
1177
- Method: "eth_getTransactionByHash";
1178
- Parameters: [hash: `0x${string}`];
1179
- ReturnType: import("viem").RpcTransaction;
1180
- }, {
1181
- Method: "eth_getTransactionCount";
1182
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
1183
- ReturnType: `0x${string}`;
1184
- }, {
1185
- Method: "eth_getTransactionReceipt";
1186
- Parameters: [hash: `0x${string}`];
1187
- ReturnType: import("viem").RpcTransactionReceipt;
1188
- }, {
1189
- Method: "eth_getUncleByBlockHashAndIndex";
1190
- Parameters: [hash: `0x${string}`, index: `0x${string}`];
1191
- ReturnType: import("viem").RpcUncle;
1192
- }, {
1193
- Method: "eth_getUncleByBlockNumberAndIndex";
1194
- Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
1195
- ReturnType: import("viem").RpcUncle;
1196
- }, {
1197
- Method: "eth_getUncleCountByBlockHash";
1198
- Parameters: [hash: `0x${string}`];
1199
- ReturnType: `0x${string}`;
1200
- }, {
1201
- Method: "eth_getUncleCountByBlockNumber";
1202
- Parameters: [block: `0x${string}` | import("viem").BlockTag];
1203
- ReturnType: `0x${string}`;
1204
- }, {
1205
- Method: "eth_maxPriorityFeePerGas";
1206
- Parameters?: undefined;
1207
- ReturnType: `0x${string}`;
1208
- }, {
1209
- Method: "eth_newBlockFilter";
1210
- Parameters?: undefined;
1211
- ReturnType: `0x${string}`;
1212
- }, {
1213
- Method: "eth_newFilter";
1214
- Parameters: [filter: {
1215
- fromBlock?: `0x${string}` | import("viem").BlockTag;
1216
- toBlock?: `0x${string}` | import("viem").BlockTag;
1217
- address?: `0x${string}` | `0x${string}`[];
1218
- topics?: import("viem").LogTopic[];
1219
- }];
1220
- ReturnType: `0x${string}`;
1221
- }, {
1222
- Method: "eth_newPendingTransactionFilter";
1223
- Parameters?: undefined;
1224
- ReturnType: `0x${string}`;
1225
- }, {
1226
- Method: "eth_protocolVersion";
1227
- Parameters?: undefined;
1228
- ReturnType: string;
1229
- }, {
1230
- Method: "eth_sendRawTransaction";
1231
- Parameters: [signedTransaction: `0x${string}`];
1232
- ReturnType: `0x${string}`;
1233
- }, {
1234
- Method: "eth_uninstallFilter";
1235
- Parameters: [filterId: `0x${string}`];
1236
- ReturnType: boolean;
1237
- }, {
1238
- Method: "eth_accounts";
1239
- Parameters?: undefined;
1240
- ReturnType: `0x${string}`[];
1241
- }, {
1242
- Method: "eth_chainId";
1243
- Parameters?: undefined;
1244
- ReturnType: `0x${string}`;
1245
- }, {
1246
- Method: "eth_estimateGas";
1247
- Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag, stateOverride: import("viem").RpcStateOverride];
1248
- ReturnType: `0x${string}`;
1249
- }, {
1250
- Method: "eth_requestAccounts";
1251
- Parameters?: undefined;
1252
- ReturnType: `0x${string}`[];
1253
- }, {
1254
- Method: "eth_sendTransaction";
1255
- Parameters: [transaction: import("viem").RpcTransactionRequest];
1256
- ReturnType: `0x${string}`;
1257
- }, {
1258
- Method: "eth_sendRawTransaction";
1259
- Parameters: [signedTransaction: `0x${string}`];
1260
- ReturnType: `0x${string}`;
1261
- }, {
1262
- Method: "eth_sign";
1263
- Parameters: [address: `0x${string}`, data: `0x${string}`];
1264
- ReturnType: `0x${string}`;
1265
- }, {
1266
- Method: "eth_signTransaction";
1267
- Parameters: [request: import("viem").RpcTransactionRequest];
1268
- ReturnType: `0x${string}`;
1269
- }, {
1270
- Method: "eth_signTypedData_v4";
1271
- Parameters: [address: `0x${string}`, message: string];
1272
- ReturnType: `0x${string}`;
1273
- }, {
1274
- Method: "eth_syncing";
1275
- Parameters?: undefined;
1276
- ReturnType: false | import("viem").NetworkSync;
1277
- }, {
1278
- Method: "personal_sign";
1279
- Parameters: [data: `0x${string}`, address: `0x${string}`];
1280
- ReturnType: `0x${string}`;
1281
- }, {
1282
- Method: "wallet_addEthereumChain";
1283
- Parameters: [chain: import("viem").AddEthereumChainParameter];
1284
- ReturnType: null;
1285
- }, {
1286
- Method: "wallet_getCallsStatus";
1287
- Parameters?: [string];
1288
- ReturnType: import("viem").WalletGetCallsStatusReturnType<`0x${string}`, `0x${string}`>;
1289
- }, {
1290
- Method: "wallet_getCapabilities";
1291
- Parameters?: [`0x${string}`];
1292
- ReturnType: {
1293
- [x: `0x${string}`]: import("viem").WalletCapabilities;
1294
- };
1295
- }, {
1296
- Method: "wallet_getPermissions";
1297
- Parameters?: undefined;
1298
- ReturnType: import("viem").WalletPermission[];
1299
- }, {
1300
- Method: "wallet_grantPermissions";
1301
- Parameters?: [import("viem").WalletGrantPermissionsParameters];
1302
- ReturnType: {
1303
- expiry: number;
1304
- factory?: `0x${string}`;
1305
- factoryData?: string;
1306
- grantedPermissions: readonly {
1307
- data: unknown;
1308
- policies: readonly {
1309
- data: unknown;
1310
- type: string;
1311
- }[];
1312
- required?: boolean;
1313
- type: string;
1314
- }[];
1315
- permissionsContext: string;
1316
- signerData?: {
1317
- userOpBuilder?: `0x${string}`;
1318
- submitToAddress?: `0x${string}`;
1319
- };
1320
- };
1321
- }, {
1322
- Method: "wallet_requestPermissions";
1323
- Parameters: [permissions: {
1324
- eth_accounts: Record<string, any>;
1325
- }];
1326
- ReturnType: import("viem").WalletPermission[];
1327
- }, {
1328
- Method: "wallet_revokePermissions";
1329
- Parameters: [permissions: {
1330
- eth_accounts: Record<string, any>;
1331
- }];
1332
- ReturnType: null;
1333
- }, {
1334
- Method: "wallet_sendCalls";
1335
- Parameters?: import("viem").WalletSendCallsParameters<import("viem").WalletCapabilities, `0x${string}`, `0x${string}`>;
1336
- ReturnType: string;
1337
- }, {
1338
- Method: "wallet_showCallsStatus";
1339
- Parameters?: [string];
1340
- ReturnType: void;
1341
- }, {
1342
- Method: "wallet_switchEthereumChain";
1343
- Parameters: [chain: {
1344
- chainId: string;
1345
- }];
1346
- ReturnType: null;
1347
- }, {
1348
- Method: "wallet_watchAsset";
1349
- Parameters: import("viem").WatchAssetParams;
1350
- ReturnType: boolean;
1351
- }, {
1352
- Method: "eth_chainId";
1353
- Parameters?: undefined;
1354
- ReturnType: `0x${string}`;
1355
- }, {
1356
- Method: "eth_estimateUserOperationGas";
1357
- Parameters: [userOperation: import("viem").RpcUserOperation, entrypoint: `0x${string}`] | [userOperation: import("viem").RpcUserOperation, entrypoint: `0x${string}`, stateOverrideSet: import("viem").RpcStateOverride];
1358
- ReturnType: import("viem").RpcEstimateUserOperationGasReturnType;
1359
- }, {
1360
- Method: "eth_getUserOperationByHash";
1361
- Parameters: [hash: `0x${string}`];
1362
- ReturnType: import("viem").RpcGetUserOperationByHashReturnType;
1363
- }, {
1364
- Method: "eth_getUserOperationReceipt";
1365
- Parameters: [hash: `0x${string}`];
1366
- ReturnType: import("viem").RpcUserOperationReceipt;
1367
- }, {
1368
- Method: "eth_sendUserOperation";
1369
- Parameters: [userOperation: import("viem").RpcUserOperation, entrypoint: `0x${string}`];
1370
- ReturnType: `0x${string}`;
1371
- }, {
1372
- Method: "eth_supportedEntryPoints";
1373
- Parameters?: undefined;
1374
- ReturnType: readonly `0x${string}`[];
1375
- }, {
1376
- Method: "pm_getPaymasterStubData";
1377
- Parameters?: [userOperation: import("viem").OneOf<import("wagmi/chains").PartialBy<Pick<{
1378
- callData: `0x${string}`;
1379
- callGasLimit: `0x${string}`;
1380
- initCode?: `0x${string}`;
1381
- maxFeePerGas: `0x${string}`;
1382
- maxPriorityFeePerGas: `0x${string}`;
1383
- nonce: `0x${string}`;
1384
- paymasterAndData?: `0x${string}`;
1385
- preVerificationGas: `0x${string}`;
1386
- sender: `0x${string}`;
1387
- signature: `0x${string}`;
1388
- verificationGasLimit: `0x${string}`;
1389
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "preVerificationGas" | "sender" | "verificationGasLimit" | "initCode">, "maxFeePerGas" | "maxPriorityFeePerGas" | "callGasLimit" | "preVerificationGas" | "verificationGasLimit" | "initCode"> | import("wagmi/chains").PartialBy<Pick<{
1390
- callData: `0x${string}`;
1391
- callGasLimit: `0x${string}`;
1392
- factory?: `0x${string}`;
1393
- factoryData?: `0x${string}`;
1394
- maxFeePerGas: `0x${string}`;
1395
- maxPriorityFeePerGas: `0x${string}`;
1396
- nonce: `0x${string}`;
1397
- paymaster?: `0x${string}`;
1398
- paymasterData?: `0x${string}`;
1399
- paymasterPostOpGasLimit?: `0x${string}`;
1400
- paymasterVerificationGasLimit?: `0x${string}`;
1401
- preVerificationGas: `0x${string}`;
1402
- sender: `0x${string}`;
1403
- signature: `0x${string}`;
1404
- verificationGasLimit: `0x${string}`;
1405
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "factory" | "factoryData" | "preVerificationGas" | "sender" | "verificationGasLimit">, "maxFeePerGas" | "maxPriorityFeePerGas" | "callGasLimit" | "factory" | "factoryData" | "preVerificationGas" | "verificationGasLimit">>, entrypoint: `0x${string}`, chainId: `0x${string}`, context: unknown];
1406
- ReturnType: import("viem").OneOf<{
1407
- paymasterAndData: `0x${string}`;
1408
- } | {
1409
- paymaster: `0x${string}`;
1410
- paymasterData: `0x${string}`;
1411
- paymasterVerificationGasLimit: `0x${string}`;
1412
- paymasterPostOpGasLimit: `0x${string}`;
1413
- }> & {
1414
- sponsor?: {
1415
- name: string;
1416
- icon?: string;
1417
- };
1418
- isFinal?: boolean;
1419
- };
1420
- }, {
1421
- Method: "pm_getPaymasterData";
1422
- Parameters?: [userOperation: Pick<{
1423
- callData: `0x${string}`;
1424
- callGasLimit: `0x${string}`;
1425
- initCode?: `0x${string}`;
1426
- maxFeePerGas: `0x${string}`;
1427
- maxPriorityFeePerGas: `0x${string}`;
1428
- nonce: `0x${string}`;
1429
- paymasterAndData?: `0x${string}`;
1430
- preVerificationGas: `0x${string}`;
1431
- sender: `0x${string}`;
1432
- signature: `0x${string}`;
1433
- verificationGasLimit: `0x${string}`;
1434
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "preVerificationGas" | "sender" | "verificationGasLimit" | "initCode"> | Pick<{
1435
- callData: `0x${string}`;
1436
- callGasLimit: `0x${string}`;
1437
- factory?: `0x${string}`;
1438
- factoryData?: `0x${string}`;
1439
- maxFeePerGas: `0x${string}`;
1440
- maxPriorityFeePerGas: `0x${string}`;
1441
- nonce: `0x${string}`;
1442
- paymaster?: `0x${string}`;
1443
- paymasterData?: `0x${string}`;
1444
- paymasterPostOpGasLimit?: `0x${string}`;
1445
- paymasterVerificationGasLimit?: `0x${string}`;
1446
- preVerificationGas: `0x${string}`;
1447
- sender: `0x${string}`;
1448
- signature: `0x${string}`;
1449
- verificationGasLimit: `0x${string}`;
1450
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "factory" | "factoryData" | "preVerificationGas" | "sender" | "verificationGasLimit">, entrypoint: `0x${string}`, chainId: `0x${string}`, context: unknown];
1451
- ReturnType: import("viem").OneOf<{
1452
- paymasterAndData: `0x${string}`;
1453
- } | {
1454
- paymaster: `0x${string}`;
1455
- paymasterData: `0x${string}`;
1456
- paymasterVerificationGasLimit: `0x${string}`;
1457
- paymasterPostOpGasLimit: `0x${string}`;
1458
- }>;
1459
- }]>;
1460
- isApexWallet?: true;
1461
- isAvalanche?: true;
1462
- isBackpack?: true;
1463
- isBifrost?: true;
1464
- isBitKeep?: true;
1465
- isBitski?: true;
1466
- isBlockWallet?: true;
1467
- isBraveWallet?: true;
1468
- isCoinbaseWallet?: true;
1469
- isDawn?: true;
1470
- isEnkrypt?: true;
1471
- isExodus?: true;
1472
- isFrame?: true;
1473
- isFrontier?: true;
1474
- isGamestop?: true;
1475
- isHyperPay?: true;
1476
- isImToken?: true;
1477
- isKuCoinWallet?: true;
1478
- isMathWallet?: true;
1479
- isMetaMask?: true;
1480
- isOkxWallet?: true;
1481
- isOKExWallet?: true;
1482
- isOneInchAndroidWallet?: true;
1483
- isOneInchIOSWallet?: true;
1484
- isOpera?: true;
1485
- isPhantom?: true;
1486
- isPortal?: true;
1487
- isRabby?: true;
1488
- isRainbow?: true;
1489
- isStatus?: true;
1490
- isTally?: true;
1491
- isTokenPocket?: true;
1492
- isTokenary?: true;
1493
- isTrust?: true;
1494
- isTrustWallet?: true;
1495
- isXDEFI?: true;
1496
- isZerion?: true;
204
+ chainId?: number | undefined;
205
+ } | undefined) => Promise<{
206
+ on: <event extends keyof import("viem").EIP1193EventMap>(event: event, listener: import("viem").EIP1193EventMap[event]) => void;
207
+ removeListener: <event extends keyof import("viem").EIP1193EventMap>(event: event, listener: import("viem").EIP1193EventMap[event]) => void;
208
+ request: import("viem").EIP1193RequestFn<import("viem").EIP1474Methods>;
209
+ isApexWallet?: true | undefined;
210
+ isAvalanche?: true | undefined;
211
+ isBackpack?: true | undefined;
212
+ isBifrost?: true | undefined;
213
+ isBitKeep?: true | undefined;
214
+ isBitski?: true | undefined;
215
+ isBlockWallet?: true | undefined;
216
+ isBraveWallet?: true | undefined;
217
+ isCoinbaseWallet?: true | undefined;
218
+ isDawn?: true | undefined;
219
+ isEnkrypt?: true | undefined;
220
+ isExodus?: true | undefined;
221
+ isFrame?: true | undefined;
222
+ isFrontier?: true | undefined;
223
+ isGamestop?: true | undefined;
224
+ isHyperPay?: true | undefined;
225
+ isImToken?: true | undefined;
226
+ isKuCoinWallet?: true | undefined;
227
+ isMathWallet?: true | undefined;
228
+ isMetaMask?: true | undefined;
229
+ isOkxWallet?: true | undefined;
230
+ isOKExWallet?: true | undefined;
231
+ isOneInchAndroidWallet?: true | undefined;
232
+ isOneInchIOSWallet?: true | undefined;
233
+ isOpera?: true | undefined;
234
+ isPhantom?: true | undefined;
235
+ isPortal?: true | undefined;
236
+ isRabby?: true | undefined;
237
+ isRainbow?: true | undefined;
238
+ isStatus?: true | undefined;
239
+ isTally?: true | undefined;
240
+ isTokenPocket?: true | undefined;
241
+ isTokenary?: true | undefined;
242
+ isTrust?: true | undefined;
243
+ isTrustWallet?: true | undefined;
244
+ isUniswapWallet?: true | undefined;
245
+ isXDEFI?: true | undefined;
246
+ isZerion?: true | undefined;
1497
247
  providers?: {
1498
248
  on: <event extends keyof import("viem").EIP1193EventMap>(event: event, listener: import("viem").EIP1193EventMap[event]) => void;
1499
- removeListener: <event_1 extends keyof import("viem").EIP1193EventMap>(event: event, listener: import("viem").EIP1193EventMap[event]) => void;
1500
- request: import("viem").EIP1193RequestFn<[{
1501
- Method: "web3_clientVersion";
1502
- Parameters?: undefined;
1503
- ReturnType: string;
1504
- }, {
1505
- Method: "web3_sha3";
1506
- Parameters: [data: `0x${string}`];
1507
- ReturnType: string;
1508
- }, {
1509
- Method: "net_listening";
1510
- Parameters?: undefined;
1511
- ReturnType: boolean;
1512
- }, {
1513
- Method: "net_peerCount";
1514
- Parameters?: undefined;
1515
- ReturnType: `0x${string}`;
1516
- }, {
1517
- Method: "net_version";
1518
- Parameters?: undefined;
1519
- ReturnType: `0x${string}`;
1520
- }, {
1521
- Method: "eth_blobBaseFee";
1522
- Parameters?: undefined;
1523
- ReturnType: `0x${string}`;
1524
- }, {
1525
- Method: "eth_blockNumber";
1526
- Parameters?: undefined;
1527
- ReturnType: `0x${string}`;
1528
- }, {
1529
- Method: "eth_call";
1530
- Parameters: [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>] | [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier] | [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier, stateOverrideSet: import("viem").RpcStateOverride];
1531
- ReturnType: `0x${string}`;
1532
- }, {
1533
- Method: "eth_chainId";
1534
- Parameters?: undefined;
1535
- ReturnType: `0x${string}`;
1536
- }, {
1537
- Method: "eth_coinbase";
1538
- Parameters?: undefined;
1539
- ReturnType: `0x${string}`;
1540
- }, {
1541
- Method: "eth_estimateGas";
1542
- Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag, stateOverride: import("viem").RpcStateOverride];
1543
- ReturnType: `0x${string}`;
1544
- }, {
1545
- Method: "eth_feeHistory";
1546
- Parameters: [blockCount: `0x${string}`, newestBlock: `0x${string}` | import("viem").BlockTag, rewardPercentiles: number[]];
1547
- ReturnType: import("viem").RpcFeeHistory;
1548
- }, {
1549
- Method: "eth_gasPrice";
1550
- Parameters?: undefined;
1551
- ReturnType: `0x${string}`;
1552
- }, {
1553
- Method: "eth_getBalance";
1554
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
1555
- ReturnType: `0x${string}`;
1556
- }, {
1557
- Method: "eth_getBlockByHash";
1558
- Parameters: [hash: `0x${string}`, includeTransactionObjects: boolean];
1559
- ReturnType: import("viem").RpcBlock;
1560
- }, {
1561
- Method: "eth_getBlockByNumber";
1562
- Parameters: [block: `0x${string}` | import("viem").BlockTag, includeTransactionObjects: boolean];
1563
- ReturnType: import("viem").RpcBlock;
1564
- }, {
1565
- Method: "eth_getBlockTransactionCountByHash";
1566
- Parameters: [hash: `0x${string}`];
1567
- ReturnType: `0x${string}`;
1568
- }, {
1569
- Method: "eth_getBlockTransactionCountByNumber";
1570
- Parameters: [block: `0x${string}` | import("viem").BlockTag];
1571
- ReturnType: `0x${string}`;
1572
- }, {
1573
- Method: "eth_getCode";
1574
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
1575
- ReturnType: `0x${string}`;
1576
- }, {
1577
- Method: "eth_getFilterChanges";
1578
- Parameters: [filterId: `0x${string}`];
1579
- ReturnType: `0x${string}`[] | {
1580
- address: `0x${string}`;
1581
- blockHash: `0x${string}`;
1582
- blockNumber: `0x${string}`;
1583
- data: `0x${string}`;
1584
- logIndex: `0x${string}`;
1585
- transactionHash: `0x${string}`;
1586
- transactionIndex: `0x${string}`;
1587
- removed: boolean;
1588
- }[];
1589
- }, {
1590
- Method: "eth_getFilterLogs";
1591
- Parameters: [filterId: `0x${string}`];
1592
- ReturnType: {
1593
- address: `0x${string}`;
1594
- blockHash: `0x${string}`;
1595
- blockNumber: `0x${string}`;
1596
- data: `0x${string}`;
1597
- logIndex: `0x${string}`;
1598
- transactionHash: `0x${string}`;
1599
- transactionIndex: `0x${string}`;
1600
- removed: boolean;
1601
- }[];
1602
- }, {
1603
- Method: "eth_getLogs";
1604
- Parameters: [{
1605
- address?: `0x${string}` | `0x${string}`[];
1606
- topics?: import("viem").LogTopic[];
1607
- } & ({
1608
- fromBlock?: `0x${string}` | import("viem").BlockTag;
1609
- toBlock?: `0x${string}` | import("viem").BlockTag;
1610
- blockHash?: undefined;
1611
- } | {
1612
- fromBlock?: undefined;
1613
- toBlock?: undefined;
1614
- blockHash?: `0x${string}`;
1615
- })];
1616
- ReturnType: {
1617
- address: `0x${string}`;
1618
- blockHash: `0x${string}`;
1619
- blockNumber: `0x${string}`;
1620
- data: `0x${string}`;
1621
- logIndex: `0x${string}`;
1622
- transactionHash: `0x${string}`;
1623
- transactionIndex: `0x${string}`;
1624
- removed: boolean;
1625
- }[];
1626
- }, {
1627
- Method: "eth_getProof";
1628
- Parameters: [address: `0x${string}`, storageKeys: `0x${string}`[], block: `0x${string}` | import("viem").BlockTag];
1629
- ReturnType: import("viem").RpcProof;
1630
- }, {
1631
- Method: "eth_getStorageAt";
1632
- Parameters: [address: `0x${string}`, index: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
1633
- ReturnType: `0x${string}`;
1634
- }, {
1635
- Method: "eth_getTransactionByBlockHashAndIndex";
1636
- Parameters: [hash: `0x${string}`, index: `0x${string}`];
1637
- ReturnType: import("viem").RpcTransaction;
1638
- }, {
1639
- Method: "eth_getTransactionByBlockNumberAndIndex";
1640
- Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
1641
- ReturnType: import("viem").RpcTransaction;
1642
- }, {
1643
- Method: "eth_getTransactionByHash";
1644
- Parameters: [hash: `0x${string}`];
1645
- ReturnType: import("viem").RpcTransaction;
1646
- }, {
1647
- Method: "eth_getTransactionCount";
1648
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
1649
- ReturnType: `0x${string}`;
1650
- }, {
1651
- Method: "eth_getTransactionReceipt";
1652
- Parameters: [hash: `0x${string}`];
1653
- ReturnType: import("viem").RpcTransactionReceipt;
1654
- }, {
1655
- Method: "eth_getUncleByBlockHashAndIndex";
1656
- Parameters: [hash: `0x${string}`, index: `0x${string}`];
1657
- ReturnType: import("viem").RpcUncle;
1658
- }, {
1659
- Method: "eth_getUncleByBlockNumberAndIndex";
1660
- Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
1661
- ReturnType: import("viem").RpcUncle;
1662
- }, {
1663
- Method: "eth_getUncleCountByBlockHash";
1664
- Parameters: [hash: `0x${string}`];
1665
- ReturnType: `0x${string}`;
1666
- }, {
1667
- Method: "eth_getUncleCountByBlockNumber";
1668
- Parameters: [block: `0x${string}` | import("viem").BlockTag];
1669
- ReturnType: `0x${string}`;
1670
- }, {
1671
- Method: "eth_maxPriorityFeePerGas";
1672
- Parameters?: undefined;
1673
- ReturnType: `0x${string}`;
1674
- }, {
1675
- Method: "eth_newBlockFilter";
1676
- Parameters?: undefined;
1677
- ReturnType: `0x${string}`;
1678
- }, {
1679
- Method: "eth_newFilter";
1680
- Parameters: [filter: {
1681
- fromBlock?: `0x${string}` | import("viem").BlockTag;
1682
- toBlock?: `0x${string}` | import("viem").BlockTag;
1683
- address?: `0x${string}` | `0x${string}`[];
1684
- topics?: import("viem").LogTopic[];
1685
- }];
1686
- ReturnType: `0x${string}`;
1687
- }, {
1688
- Method: "eth_newPendingTransactionFilter";
1689
- Parameters?: undefined;
1690
- ReturnType: `0x${string}`;
1691
- }, {
1692
- Method: "eth_protocolVersion";
1693
- Parameters?: undefined;
1694
- ReturnType: string;
1695
- }, {
1696
- Method: "eth_sendRawTransaction";
1697
- Parameters: [signedTransaction: `0x${string}`];
1698
- ReturnType: `0x${string}`;
1699
- }, {
1700
- Method: "eth_uninstallFilter";
1701
- Parameters: [filterId: `0x${string}`];
1702
- ReturnType: boolean;
1703
- }, {
1704
- Method: "eth_accounts";
1705
- Parameters?: undefined;
1706
- ReturnType: `0x${string}`[];
1707
- }, {
1708
- Method: "eth_chainId";
1709
- Parameters?: undefined;
1710
- ReturnType: `0x${string}`;
1711
- }, {
1712
- Method: "eth_estimateGas";
1713
- Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag, stateOverride: import("viem").RpcStateOverride];
1714
- ReturnType: `0x${string}`;
1715
- }, {
1716
- Method: "eth_requestAccounts";
1717
- Parameters?: undefined;
1718
- ReturnType: `0x${string}`[];
1719
- }, {
1720
- Method: "eth_sendTransaction";
1721
- Parameters: [transaction: import("viem").RpcTransactionRequest];
1722
- ReturnType: `0x${string}`;
1723
- }, {
1724
- Method: "eth_sendRawTransaction";
1725
- Parameters: [signedTransaction: `0x${string}`];
1726
- ReturnType: `0x${string}`;
1727
- }, {
1728
- Method: "eth_sign";
1729
- Parameters: [address: `0x${string}`, data: `0x${string}`];
1730
- ReturnType: `0x${string}`;
1731
- }, {
1732
- Method: "eth_signTransaction";
1733
- Parameters: [request: import("viem").RpcTransactionRequest];
1734
- ReturnType: `0x${string}`;
1735
- }, {
1736
- Method: "eth_signTypedData_v4";
1737
- Parameters: [address: `0x${string}`, message: string];
1738
- ReturnType: `0x${string}`;
1739
- }, {
1740
- Method: "eth_syncing";
1741
- Parameters?: undefined;
1742
- ReturnType: false | import("viem").NetworkSync;
1743
- }, {
1744
- Method: "personal_sign";
1745
- Parameters: [data: `0x${string}`, address: `0x${string}`];
1746
- ReturnType: `0x${string}`;
1747
- }, {
1748
- Method: "wallet_addEthereumChain";
1749
- Parameters: [chain: import("viem").AddEthereumChainParameter];
1750
- ReturnType: null;
1751
- }, {
1752
- Method: "wallet_getCallsStatus";
1753
- Parameters?: [string];
1754
- ReturnType: import("viem").WalletGetCallsStatusReturnType<`0x${string}`, `0x${string}`>;
1755
- }, {
1756
- Method: "wallet_getCapabilities";
1757
- Parameters?: [`0x${string}`];
1758
- ReturnType: {
1759
- [x: `0x${string}`]: import("viem").WalletCapabilities;
1760
- };
1761
- }, {
1762
- Method: "wallet_getPermissions";
1763
- Parameters?: undefined;
1764
- ReturnType: import("viem").WalletPermission[];
1765
- }, {
1766
- Method: "wallet_grantPermissions";
1767
- Parameters?: [import("viem").WalletGrantPermissionsParameters];
1768
- ReturnType: {
1769
- expiry: number;
1770
- factory?: `0x${string}`;
1771
- factoryData?: string;
1772
- grantedPermissions: readonly {
1773
- data: unknown;
1774
- policies: readonly {
1775
- data: unknown;
1776
- type: string;
1777
- }[];
1778
- required?: boolean;
1779
- type: string;
1780
- }[];
1781
- permissionsContext: string;
1782
- signerData?: {
1783
- userOpBuilder?: `0x${string}`;
1784
- submitToAddress?: `0x${string}`;
1785
- };
1786
- };
1787
- }, {
1788
- Method: "wallet_requestPermissions";
1789
- Parameters: [permissions: {
1790
- eth_accounts: Record<string, any>;
1791
- }];
1792
- ReturnType: import("viem").WalletPermission[];
1793
- }, {
1794
- Method: "wallet_revokePermissions";
1795
- Parameters: [permissions: {
1796
- eth_accounts: Record<string, any>;
1797
- }];
1798
- ReturnType: null;
1799
- }, {
1800
- Method: "wallet_sendCalls";
1801
- Parameters?: import("viem").WalletSendCallsParameters<import("viem").WalletCapabilities, `0x${string}`, `0x${string}`>;
1802
- ReturnType: string;
1803
- }, {
1804
- Method: "wallet_showCallsStatus";
1805
- Parameters?: [string];
1806
- ReturnType: void;
1807
- }, {
1808
- Method: "wallet_switchEthereumChain";
1809
- Parameters: [chain: {
1810
- chainId: string;
1811
- }];
1812
- ReturnType: null;
1813
- }, {
1814
- Method: "wallet_watchAsset";
1815
- Parameters: import("viem").WatchAssetParams;
1816
- ReturnType: boolean;
1817
- }, {
1818
- Method: "eth_chainId";
1819
- Parameters?: undefined;
1820
- ReturnType: `0x${string}`;
1821
- }, {
1822
- Method: "eth_estimateUserOperationGas";
1823
- Parameters: [userOperation: import("viem").RpcUserOperation, entrypoint: `0x${string}`] | [userOperation: import("viem").RpcUserOperation, entrypoint: `0x${string}`, stateOverrideSet: import("viem").RpcStateOverride];
1824
- ReturnType: import("viem").RpcEstimateUserOperationGasReturnType;
1825
- }, {
1826
- Method: "eth_getUserOperationByHash";
1827
- Parameters: [hash: `0x${string}`];
1828
- ReturnType: import("viem").RpcGetUserOperationByHashReturnType;
1829
- }, {
1830
- Method: "eth_getUserOperationReceipt";
1831
- Parameters: [hash: `0x${string}`];
1832
- ReturnType: import("viem").RpcUserOperationReceipt;
1833
- }, {
1834
- Method: "eth_sendUserOperation";
1835
- Parameters: [userOperation: import("viem").RpcUserOperation, entrypoint: `0x${string}`];
1836
- ReturnType: `0x${string}`;
1837
- }, {
1838
- Method: "eth_supportedEntryPoints";
1839
- Parameters?: undefined;
1840
- ReturnType: readonly `0x${string}`[];
1841
- }, {
1842
- Method: "pm_getPaymasterStubData";
1843
- Parameters?: [userOperation: import("viem").OneOf<import("wagmi/chains").PartialBy<Pick<{
1844
- callData: `0x${string}`;
1845
- callGasLimit: `0x${string}`;
1846
- initCode?: `0x${string}`;
1847
- maxFeePerGas: `0x${string}`;
1848
- maxPriorityFeePerGas: `0x${string}`;
1849
- nonce: `0x${string}`;
1850
- paymasterAndData?: `0x${string}`;
1851
- preVerificationGas: `0x${string}`;
1852
- sender: `0x${string}`;
1853
- signature: `0x${string}`;
1854
- verificationGasLimit: `0x${string}`;
1855
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "preVerificationGas" | "sender" | "verificationGasLimit" | "initCode">, "maxFeePerGas" | "maxPriorityFeePerGas" | "callGasLimit" | "preVerificationGas" | "verificationGasLimit" | "initCode"> | import("wagmi/chains").PartialBy<Pick<{
1856
- callData: `0x${string}`;
1857
- callGasLimit: `0x${string}`;
1858
- factory?: `0x${string}`;
1859
- factoryData?: `0x${string}`;
1860
- maxFeePerGas: `0x${string}`;
1861
- maxPriorityFeePerGas: `0x${string}`;
1862
- nonce: `0x${string}`;
1863
- paymaster?: `0x${string}`;
1864
- paymasterData?: `0x${string}`;
1865
- paymasterPostOpGasLimit?: `0x${string}`;
1866
- paymasterVerificationGasLimit?: `0x${string}`;
1867
- preVerificationGas: `0x${string}`;
1868
- sender: `0x${string}`;
1869
- signature: `0x${string}`;
1870
- verificationGasLimit: `0x${string}`;
1871
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "factory" | "factoryData" | "preVerificationGas" | "sender" | "verificationGasLimit">, "maxFeePerGas" | "maxPriorityFeePerGas" | "callGasLimit" | "factory" | "factoryData" | "preVerificationGas" | "verificationGasLimit">>, entrypoint: `0x${string}`, chainId: `0x${string}`, context: unknown];
1872
- ReturnType: import("viem").OneOf<{
1873
- paymasterAndData: `0x${string}`;
1874
- } | {
1875
- paymaster: `0x${string}`;
1876
- paymasterData: `0x${string}`;
1877
- paymasterVerificationGasLimit: `0x${string}`;
1878
- paymasterPostOpGasLimit: `0x${string}`;
1879
- }> & {
1880
- sponsor?: {
1881
- name: string;
1882
- icon?: string;
1883
- };
1884
- isFinal?: boolean;
1885
- };
1886
- }, {
1887
- Method: "pm_getPaymasterData";
1888
- Parameters?: [userOperation: Pick<{
1889
- callData: `0x${string}`;
1890
- callGasLimit: `0x${string}`;
1891
- initCode?: `0x${string}`;
1892
- maxFeePerGas: `0x${string}`;
1893
- maxPriorityFeePerGas: `0x${string}`;
1894
- nonce: `0x${string}`;
1895
- paymasterAndData?: `0x${string}`;
1896
- preVerificationGas: `0x${string}`;
1897
- sender: `0x${string}`;
1898
- signature: `0x${string}`;
1899
- verificationGasLimit: `0x${string}`;
1900
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "preVerificationGas" | "sender" | "verificationGasLimit" | "initCode"> | Pick<{
1901
- callData: `0x${string}`;
1902
- callGasLimit: `0x${string}`;
1903
- factory?: `0x${string}`;
1904
- factoryData?: `0x${string}`;
1905
- maxFeePerGas: `0x${string}`;
1906
- maxPriorityFeePerGas: `0x${string}`;
1907
- nonce: `0x${string}`;
1908
- paymaster?: `0x${string}`;
1909
- paymasterData?: `0x${string}`;
1910
- paymasterPostOpGasLimit?: `0x${string}`;
1911
- paymasterVerificationGasLimit?: `0x${string}`;
1912
- preVerificationGas: `0x${string}`;
1913
- sender: `0x${string}`;
1914
- signature: `0x${string}`;
1915
- verificationGasLimit: `0x${string}`;
1916
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "factory" | "factoryData" | "preVerificationGas" | "sender" | "verificationGasLimit">, entrypoint: `0x${string}`, chainId: `0x${string}`, context: unknown];
1917
- ReturnType: import("viem").OneOf<{
1918
- paymasterAndData: `0x${string}`;
1919
- } | {
1920
- paymaster: `0x${string}`;
1921
- paymasterData: `0x${string}`;
1922
- paymasterVerificationGasLimit: `0x${string}`;
1923
- paymasterPostOpGasLimit: `0x${string}`;
1924
- }>;
1925
- }]>;
249
+ removeListener: <event extends keyof import("viem").EIP1193EventMap>(event: event, listener: import("viem").EIP1193EventMap[event]) => void;
250
+ request: import("viem").EIP1193RequestFn<import("viem").EIP1474Methods>;
1926
251
  isApexWallet?: true;
1927
252
  isAvalanche?: true;
1928
253
  isBackpack?: true;
@@ -1958,42 +283,43 @@ export declare const paraConnector: (opts: ParaConnectorOpts) => import("wagmi")
1958
283
  isTokenary?: true;
1959
284
  isTrust?: true;
1960
285
  isTrustWallet?: true;
286
+ isUniswapWallet?: true;
1961
287
  isXDEFI?: true;
1962
288
  isZerion?: true;
1963
- providers?: any[];
289
+ providers?: /*elided*/ any[];
1964
290
  _events?: {
1965
- connect?: () => void;
1966
- };
291
+ connect?: (() => void) | undefined;
292
+ } | undefined;
1967
293
  _state?: {
1968
294
  accounts?: string[];
1969
295
  initialized?: boolean;
1970
296
  isConnected?: boolean;
1971
297
  isPermanentlyDisconnected?: boolean;
1972
298
  isUnlocked?: boolean;
1973
- };
299
+ } | undefined;
1974
300
  }[];
1975
301
  _events?: {
1976
- connect?: () => void;
1977
- };
302
+ connect?: (() => void) | undefined;
303
+ } | undefined;
1978
304
  _state?: {
1979
305
  accounts?: string[];
1980
306
  initialized?: boolean;
1981
307
  isConnected?: boolean;
1982
308
  isPermanentlyDisconnected?: boolean;
1983
309
  isUnlocked?: boolean;
1984
- };
310
+ } | undefined;
1985
311
  }>;
1986
312
  getClient?: (parameters?: {
1987
- chainId?: number;
1988
- }) => Promise<never>;
313
+ chainId?: number | undefined;
314
+ } | undefined) => Promise<import("viem").Client>;
1989
315
  isAuthorized: () => Promise<boolean>;
1990
- switchChain?: (parameters: {
1991
- addEthereumChainParameter?: import("@wagmi/core/internal").ExactPartial<import("@wagmi/core/internal").Omit<import("viem").AddEthereumChainParameter, "chainId">>;
316
+ switchChain?: (parameters: import("@wagmi/core/internal").Compute<{
317
+ addEthereumChainParameter?: import("@wagmi/core/internal").ExactPartial<import("@wagmi/core/internal").Omit<import("viem").AddEthereumChainParameter, "chainId">> | undefined;
1992
318
  chainId: number;
1993
- }) => Promise<Chain>;
319
+ }>) => Promise<Chain>;
1994
320
  onAccountsChanged: (accounts: string[]) => void;
1995
321
  onChainChanged: (chainId: string) => void;
1996
322
  onConnect: ((connectInfo: import("viem").ProviderConnectInfo) => void) & ((connectInfo: import("viem").ProviderConnectInfo) => void);
1997
- onDisconnect: (error?: Error) => void;
323
+ onDisconnect: (error?: Error | undefined) => void;
1998
324
  onMessage?: (message: import("viem").ProviderMessage) => void;
1999
- }, Record<string, unknown>>;
325
+ };