@reown/appkit-wallet 0.0.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.
Files changed (34) hide show
  1. package/LICENSE +190 -0
  2. package/dist/esm/index.js +8 -0
  3. package/dist/esm/index.js.map +1 -0
  4. package/dist/esm/src/RegexUtil.js +6 -0
  5. package/dist/esm/src/RegexUtil.js.map +1 -0
  6. package/dist/esm/src/W3mFrame.js +137 -0
  7. package/dist/esm/src/W3mFrame.js.map +1 -0
  8. package/dist/esm/src/W3mFrameConstants.js +150 -0
  9. package/dist/esm/src/W3mFrameConstants.js.map +1 -0
  10. package/dist/esm/src/W3mFrameHelpers.js +44 -0
  11. package/dist/esm/src/W3mFrameHelpers.js.map +1 -0
  12. package/dist/esm/src/W3mFrameLogger.js +27 -0
  13. package/dist/esm/src/W3mFrameLogger.js.map +1 -0
  14. package/dist/esm/src/W3mFrameProvider.js +430 -0
  15. package/dist/esm/src/W3mFrameProvider.js.map +1 -0
  16. package/dist/esm/src/W3mFrameSchema.js +532 -0
  17. package/dist/esm/src/W3mFrameSchema.js.map +1 -0
  18. package/dist/esm/src/W3mFrameStorage.js +26 -0
  19. package/dist/esm/src/W3mFrameStorage.js.map +1 -0
  20. package/dist/esm/src/W3mFrameTypes.js +3 -0
  21. package/dist/esm/src/W3mFrameTypes.js.map +1 -0
  22. package/dist/esm/tsconfig.tsbuildinfo +1 -0
  23. package/dist/types/index.d.ts +9 -0
  24. package/dist/types/src/RegexUtil.d.ts +5 -0
  25. package/dist/types/src/W3mFrame.d.ts +20 -0
  26. package/dist/types/src/W3mFrameConstants.d.ts +98 -0
  27. package/dist/types/src/W3mFrameHelpers.d.ts +9 -0
  28. package/dist/types/src/W3mFrameLogger.d.ts +6 -0
  29. package/dist/types/src/W3mFrameProvider.d.ts +112 -0
  30. package/dist/types/src/W3mFrameSchema.d.ts +3127 -0
  31. package/dist/types/src/W3mFrameStorage.d.ts +5 -0
  32. package/dist/types/src/W3mFrameTypes.d.ts +63 -0
  33. package/package.json +40 -0
  34. package/readme.md +11 -0
@@ -0,0 +1,3127 @@
1
+ import { z } from 'zod';
2
+ export declare const GetTransactionByHashResponse: z.ZodObject<{
3
+ accessList: z.ZodArray<z.ZodString, "many">;
4
+ blockHash: z.ZodNullable<z.ZodString>;
5
+ blockNumber: z.ZodNullable<z.ZodString>;
6
+ chainId: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
7
+ from: z.ZodString;
8
+ gas: z.ZodString;
9
+ hash: z.ZodString;
10
+ input: z.ZodNullable<z.ZodString>;
11
+ maxFeePerGas: z.ZodString;
12
+ maxPriorityFeePerGas: z.ZodString;
13
+ nonce: z.ZodString;
14
+ r: z.ZodString;
15
+ s: z.ZodString;
16
+ to: z.ZodString;
17
+ transactionIndex: z.ZodNullable<z.ZodString>;
18
+ type: z.ZodString;
19
+ v: z.ZodString;
20
+ value: z.ZodString;
21
+ }, "strip", z.ZodTypeAny, {
22
+ type: string;
23
+ value: string;
24
+ accessList: string[];
25
+ blockHash: string | null;
26
+ blockNumber: string | null;
27
+ chainId: string | number;
28
+ from: string;
29
+ gas: string;
30
+ hash: string;
31
+ input: string | null;
32
+ maxFeePerGas: string;
33
+ maxPriorityFeePerGas: string;
34
+ nonce: string;
35
+ r: string;
36
+ s: string;
37
+ to: string;
38
+ transactionIndex: string | null;
39
+ v: string;
40
+ }, {
41
+ type: string;
42
+ value: string;
43
+ accessList: string[];
44
+ blockHash: string | null;
45
+ blockNumber: string | null;
46
+ chainId: string | number;
47
+ from: string;
48
+ gas: string;
49
+ hash: string;
50
+ input: string | null;
51
+ maxFeePerGas: string;
52
+ maxPriorityFeePerGas: string;
53
+ nonce: string;
54
+ r: string;
55
+ s: string;
56
+ to: string;
57
+ transactionIndex: string | null;
58
+ v: string;
59
+ }>;
60
+ export declare const AppSwitchNetworkRequest: z.ZodObject<{
61
+ chainId: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
62
+ }, "strip", z.ZodTypeAny, {
63
+ chainId: string | number;
64
+ }, {
65
+ chainId: string | number;
66
+ }>;
67
+ export declare const AppConnectEmailRequest: z.ZodObject<{
68
+ email: z.ZodString;
69
+ }, "strip", z.ZodTypeAny, {
70
+ email: string;
71
+ }, {
72
+ email: string;
73
+ }>;
74
+ export declare const AppConnectOtpRequest: z.ZodObject<{
75
+ otp: z.ZodString;
76
+ }, "strip", z.ZodTypeAny, {
77
+ otp: string;
78
+ }, {
79
+ otp: string;
80
+ }>;
81
+ export declare const AppConnectSocialRequest: z.ZodObject<{
82
+ uri: z.ZodString;
83
+ }, "strip", z.ZodTypeAny, {
84
+ uri: string;
85
+ }, {
86
+ uri: string;
87
+ }>;
88
+ export declare const AppGetUserRequest: z.ZodObject<{
89
+ chainId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
90
+ preferredAccountType: z.ZodOptional<z.ZodString>;
91
+ }, "strip", z.ZodTypeAny, {
92
+ chainId?: string | number | undefined;
93
+ preferredAccountType?: string | undefined;
94
+ }, {
95
+ chainId?: string | number | undefined;
96
+ preferredAccountType?: string | undefined;
97
+ }>;
98
+ export declare const AppGetSocialRedirectUriRequest: z.ZodObject<{
99
+ provider: z.ZodEnum<["google", "github", "apple", "facebook", "x", "discord"]>;
100
+ }, "strip", z.ZodTypeAny, {
101
+ provider: "google" | "github" | "apple" | "facebook" | "x" | "discord";
102
+ }, {
103
+ provider: "google" | "github" | "apple" | "facebook" | "x" | "discord";
104
+ }>;
105
+ export declare const AppUpdateEmailRequest: z.ZodObject<{
106
+ email: z.ZodString;
107
+ }, "strip", z.ZodTypeAny, {
108
+ email: string;
109
+ }, {
110
+ email: string;
111
+ }>;
112
+ export declare const AppUpdateEmailPrimaryOtpRequest: z.ZodObject<{
113
+ otp: z.ZodString;
114
+ }, "strip", z.ZodTypeAny, {
115
+ otp: string;
116
+ }, {
117
+ otp: string;
118
+ }>;
119
+ export declare const AppUpdateEmailSecondaryOtpRequest: z.ZodObject<{
120
+ otp: z.ZodString;
121
+ }, "strip", z.ZodTypeAny, {
122
+ otp: string;
123
+ }, {
124
+ otp: string;
125
+ }>;
126
+ export declare const AppSyncThemeRequest: z.ZodObject<{
127
+ themeMode: z.ZodOptional<z.ZodEnum<["light", "dark"]>>;
128
+ themeVariables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
129
+ w3mThemeVariables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
130
+ }, "strip", z.ZodTypeAny, {
131
+ themeMode?: "light" | "dark" | undefined;
132
+ themeVariables?: Record<string, string | number> | undefined;
133
+ w3mThemeVariables?: Record<string, string> | undefined;
134
+ }, {
135
+ themeMode?: "light" | "dark" | undefined;
136
+ themeVariables?: Record<string, string | number> | undefined;
137
+ w3mThemeVariables?: Record<string, string> | undefined;
138
+ }>;
139
+ export declare const AppSyncDappDataRequest: z.ZodObject<{
140
+ metadata: z.ZodOptional<z.ZodObject<{
141
+ name: z.ZodString;
142
+ description: z.ZodString;
143
+ url: z.ZodString;
144
+ icons: z.ZodArray<z.ZodString, "many">;
145
+ }, "strip", z.ZodTypeAny, {
146
+ url: string;
147
+ name: string;
148
+ description: string;
149
+ icons: string[];
150
+ }, {
151
+ url: string;
152
+ name: string;
153
+ description: string;
154
+ icons: string[];
155
+ }>>;
156
+ sdkVersion: z.ZodType<`html-wagmi-${string}` | `react-wagmi-${string}` | `vue-wagmi-${string}` | `html-ethers5-${string}` | `react-ethers5-${string}` | `vue-ethers5-${string}` | `html-ethers-${string}` | `react-ethers-${string}` | `vue-ethers-${string}` | `html-solana-${string}` | `react-solana-${string}` | `vue-solana-${string}` | `html-multichain-${string}` | `react-multichain-${string}` | `vue-multichain-${string}`, z.ZodTypeDef, `html-wagmi-${string}` | `react-wagmi-${string}` | `vue-wagmi-${string}` | `html-ethers5-${string}` | `react-ethers5-${string}` | `vue-ethers5-${string}` | `html-ethers-${string}` | `react-ethers-${string}` | `vue-ethers-${string}` | `html-solana-${string}` | `react-solana-${string}` | `vue-solana-${string}` | `html-multichain-${string}` | `react-multichain-${string}` | `vue-multichain-${string}`>;
157
+ projectId: z.ZodString;
158
+ }, "strip", z.ZodTypeAny, {
159
+ projectId: string;
160
+ sdkVersion: (`html-wagmi-${string}` | `react-wagmi-${string}` | `vue-wagmi-${string}` | `html-ethers5-${string}` | `react-ethers5-${string}` | `vue-ethers5-${string}` | `html-ethers-${string}` | `react-ethers-${string}` | `vue-ethers-${string}` | `html-solana-${string}` | `react-solana-${string}` | `vue-solana-${string}` | `html-multichain-${string}` | `react-multichain-${string}` | `vue-multichain-${string}`) & (`html-wagmi-${string}` | `react-wagmi-${string}` | `vue-wagmi-${string}` | `html-ethers5-${string}` | `react-ethers5-${string}` | `vue-ethers5-${string}` | `html-ethers-${string}` | `react-ethers-${string}` | `vue-ethers-${string}` | `html-solana-${string}` | `react-solana-${string}` | `vue-solana-${string}` | `html-multichain-${string}` | `react-multichain-${string}` | `vue-multichain-${string}` | undefined);
161
+ metadata?: {
162
+ url: string;
163
+ name: string;
164
+ description: string;
165
+ icons: string[];
166
+ } | undefined;
167
+ }, {
168
+ projectId: string;
169
+ sdkVersion: (`html-wagmi-${string}` | `react-wagmi-${string}` | `vue-wagmi-${string}` | `html-ethers5-${string}` | `react-ethers5-${string}` | `vue-ethers5-${string}` | `html-ethers-${string}` | `react-ethers-${string}` | `vue-ethers-${string}` | `html-solana-${string}` | `react-solana-${string}` | `vue-solana-${string}` | `html-multichain-${string}` | `react-multichain-${string}` | `vue-multichain-${string}`) & (`html-wagmi-${string}` | `react-wagmi-${string}` | `vue-wagmi-${string}` | `html-ethers5-${string}` | `react-ethers5-${string}` | `vue-ethers5-${string}` | `html-ethers-${string}` | `react-ethers-${string}` | `vue-ethers-${string}` | `html-solana-${string}` | `react-solana-${string}` | `vue-solana-${string}` | `html-multichain-${string}` | `react-multichain-${string}` | `vue-multichain-${string}` | undefined);
170
+ metadata?: {
171
+ url: string;
172
+ name: string;
173
+ description: string;
174
+ icons: string[];
175
+ } | undefined;
176
+ }>;
177
+ export declare const AppSetPreferredAccountRequest: z.ZodObject<{
178
+ type: z.ZodString;
179
+ }, "strip", z.ZodTypeAny, {
180
+ type: string;
181
+ }, {
182
+ type: string;
183
+ }>;
184
+ export declare const FrameConnectEmailResponse: z.ZodObject<{
185
+ action: z.ZodEnum<["VERIFY_DEVICE", "VERIFY_OTP"]>;
186
+ }, "strip", z.ZodTypeAny, {
187
+ action: "VERIFY_DEVICE" | "VERIFY_OTP";
188
+ }, {
189
+ action: "VERIFY_DEVICE" | "VERIFY_OTP";
190
+ }>;
191
+ export declare const FrameGetFarcasterUriResponse: z.ZodObject<{
192
+ url: z.ZodString;
193
+ }, "strip", z.ZodTypeAny, {
194
+ url: string;
195
+ }, {
196
+ url: string;
197
+ }>;
198
+ export declare const FrameConnectFarcasterResponse: z.ZodObject<{
199
+ userName: z.ZodString;
200
+ }, "strip", z.ZodTypeAny, {
201
+ userName: string;
202
+ }, {
203
+ userName: string;
204
+ }>;
205
+ export declare const FrameConnectSocialResponse: z.ZodObject<{
206
+ email: z.ZodString;
207
+ address: z.ZodString;
208
+ chainId: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
209
+ accounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
210
+ address: z.ZodString;
211
+ type: z.ZodEnum<["eoa", "smartAccount"]>;
212
+ }, "strip", z.ZodTypeAny, {
213
+ type: "eoa" | "smartAccount";
214
+ address: string;
215
+ }, {
216
+ type: "eoa" | "smartAccount";
217
+ address: string;
218
+ }>, "many">>;
219
+ userName: z.ZodOptional<z.ZodString>;
220
+ }, "strip", z.ZodTypeAny, {
221
+ chainId: string | number;
222
+ email: string;
223
+ address: string;
224
+ accounts?: {
225
+ type: "eoa" | "smartAccount";
226
+ address: string;
227
+ }[] | undefined;
228
+ userName?: string | undefined;
229
+ }, {
230
+ chainId: string | number;
231
+ email: string;
232
+ address: string;
233
+ accounts?: {
234
+ type: "eoa" | "smartAccount";
235
+ address: string;
236
+ }[] | undefined;
237
+ userName?: string | undefined;
238
+ }>;
239
+ export declare const FrameUpdateEmailResponse: z.ZodObject<{
240
+ action: z.ZodEnum<["VERIFY_PRIMARY_OTP", "VERIFY_SECONDARY_OTP"]>;
241
+ }, "strip", z.ZodTypeAny, {
242
+ action: "VERIFY_PRIMARY_OTP" | "VERIFY_SECONDARY_OTP";
243
+ }, {
244
+ action: "VERIFY_PRIMARY_OTP" | "VERIFY_SECONDARY_OTP";
245
+ }>;
246
+ export declare const FrameGetUserResponse: z.ZodObject<{
247
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
248
+ address: z.ZodString;
249
+ chainId: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
250
+ smartAccountDeployed: z.ZodOptional<z.ZodBoolean>;
251
+ accounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
252
+ address: z.ZodString;
253
+ type: z.ZodEnum<["eoa", "smartAccount"]>;
254
+ }, "strip", z.ZodTypeAny, {
255
+ type: "eoa" | "smartAccount";
256
+ address: string;
257
+ }, {
258
+ type: "eoa" | "smartAccount";
259
+ address: string;
260
+ }>, "many">>;
261
+ preferredAccountType: z.ZodOptional<z.ZodString>;
262
+ }, "strip", z.ZodTypeAny, {
263
+ chainId: string | number;
264
+ address: string;
265
+ email?: string | null | undefined;
266
+ smartAccountDeployed?: boolean | undefined;
267
+ accounts?: {
268
+ type: "eoa" | "smartAccount";
269
+ address: string;
270
+ }[] | undefined;
271
+ preferredAccountType?: string | undefined;
272
+ }, {
273
+ chainId: string | number;
274
+ address: string;
275
+ email?: string | null | undefined;
276
+ smartAccountDeployed?: boolean | undefined;
277
+ accounts?: {
278
+ type: "eoa" | "smartAccount";
279
+ address: string;
280
+ }[] | undefined;
281
+ preferredAccountType?: string | undefined;
282
+ }>;
283
+ export declare const FrameGetSocialRedirectUriResponse: z.ZodObject<{
284
+ uri: z.ZodString;
285
+ }, "strip", z.ZodTypeAny, {
286
+ uri: string;
287
+ }, {
288
+ uri: string;
289
+ }>;
290
+ export declare const FrameIsConnectedResponse: z.ZodObject<{
291
+ isConnected: z.ZodBoolean;
292
+ }, "strip", z.ZodTypeAny, {
293
+ isConnected: boolean;
294
+ }, {
295
+ isConnected: boolean;
296
+ }>;
297
+ export declare const FrameGetChainIdResponse: z.ZodObject<{
298
+ chainId: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
299
+ }, "strip", z.ZodTypeAny, {
300
+ chainId: string | number;
301
+ }, {
302
+ chainId: string | number;
303
+ }>;
304
+ export declare const FrameSwitchNetworkResponse: z.ZodObject<{
305
+ chainId: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
306
+ }, "strip", z.ZodTypeAny, {
307
+ chainId: string | number;
308
+ }, {
309
+ chainId: string | number;
310
+ }>;
311
+ export declare const FrameUpdateEmailSecondaryOtpResponse: z.ZodObject<{
312
+ newEmail: z.ZodString;
313
+ }, "strip", z.ZodTypeAny, {
314
+ newEmail: string;
315
+ }, {
316
+ newEmail: string;
317
+ }>;
318
+ export declare const FrameGetSmartAccountEnabledNetworksResponse: z.ZodObject<{
319
+ smartAccountEnabledNetworks: z.ZodArray<z.ZodNumber, "many">;
320
+ }, "strip", z.ZodTypeAny, {
321
+ smartAccountEnabledNetworks: number[];
322
+ }, {
323
+ smartAccountEnabledNetworks: number[];
324
+ }>;
325
+ export declare const FrameInitSmartAccountResponse: z.ZodObject<{
326
+ address: z.ZodString;
327
+ isDeployed: z.ZodBoolean;
328
+ }, "strip", z.ZodTypeAny, {
329
+ address: string;
330
+ isDeployed: boolean;
331
+ }, {
332
+ address: string;
333
+ isDeployed: boolean;
334
+ }>;
335
+ export declare const FrameSetPreferredAccountResponse: z.ZodObject<{
336
+ type: z.ZodString;
337
+ address: z.ZodString;
338
+ }, "strip", z.ZodTypeAny, {
339
+ type: string;
340
+ address: string;
341
+ }, {
342
+ type: string;
343
+ address: string;
344
+ }>;
345
+ export declare const RpcResponse: z.ZodAny;
346
+ export declare const RpcEthAccountsRequest: z.ZodObject<{
347
+ method: z.ZodLiteral<"eth_accounts">;
348
+ }, "strip", z.ZodTypeAny, {
349
+ method: "eth_accounts";
350
+ }, {
351
+ method: "eth_accounts";
352
+ }>;
353
+ export declare const RpcEthBlockNumber: z.ZodObject<{
354
+ method: z.ZodLiteral<"eth_blockNumber">;
355
+ }, "strip", z.ZodTypeAny, {
356
+ method: "eth_blockNumber";
357
+ }, {
358
+ method: "eth_blockNumber";
359
+ }>;
360
+ export declare const RpcEthCall: z.ZodObject<{
361
+ method: z.ZodLiteral<"eth_call">;
362
+ params: z.ZodArray<z.ZodAny, "many">;
363
+ }, "strip", z.ZodTypeAny, {
364
+ params: any[];
365
+ method: "eth_call";
366
+ }, {
367
+ params: any[];
368
+ method: "eth_call";
369
+ }>;
370
+ export declare const RpcEthChainId: z.ZodObject<{
371
+ method: z.ZodLiteral<"eth_chainId">;
372
+ }, "strip", z.ZodTypeAny, {
373
+ method: "eth_chainId";
374
+ }, {
375
+ method: "eth_chainId";
376
+ }>;
377
+ export declare const RpcEthEstimateGas: z.ZodObject<{
378
+ method: z.ZodLiteral<"eth_estimateGas">;
379
+ params: z.ZodArray<z.ZodAny, "many">;
380
+ }, "strip", z.ZodTypeAny, {
381
+ params: any[];
382
+ method: "eth_estimateGas";
383
+ }, {
384
+ params: any[];
385
+ method: "eth_estimateGas";
386
+ }>;
387
+ export declare const RpcEthFeeHistory: z.ZodObject<{
388
+ method: z.ZodLiteral<"eth_feeHistory">;
389
+ params: z.ZodArray<z.ZodAny, "many">;
390
+ }, "strip", z.ZodTypeAny, {
391
+ params: any[];
392
+ method: "eth_feeHistory";
393
+ }, {
394
+ params: any[];
395
+ method: "eth_feeHistory";
396
+ }>;
397
+ export declare const RpcEthGasPrice: z.ZodObject<{
398
+ method: z.ZodLiteral<"eth_gasPrice">;
399
+ }, "strip", z.ZodTypeAny, {
400
+ method: "eth_gasPrice";
401
+ }, {
402
+ method: "eth_gasPrice";
403
+ }>;
404
+ export declare const RpcEthGetAccount: z.ZodObject<{
405
+ method: z.ZodLiteral<"eth_getAccount">;
406
+ params: z.ZodArray<z.ZodAny, "many">;
407
+ }, "strip", z.ZodTypeAny, {
408
+ params: any[];
409
+ method: "eth_getAccount";
410
+ }, {
411
+ params: any[];
412
+ method: "eth_getAccount";
413
+ }>;
414
+ export declare const RpcEthGetBalance: z.ZodObject<{
415
+ method: z.ZodLiteral<"eth_getBalance">;
416
+ params: z.ZodArray<z.ZodAny, "many">;
417
+ }, "strip", z.ZodTypeAny, {
418
+ params: any[];
419
+ method: "eth_getBalance";
420
+ }, {
421
+ params: any[];
422
+ method: "eth_getBalance";
423
+ }>;
424
+ export declare const RpcEthGetBlockyByHash: z.ZodObject<{
425
+ method: z.ZodLiteral<"eth_getBlockByHash">;
426
+ params: z.ZodArray<z.ZodAny, "many">;
427
+ }, "strip", z.ZodTypeAny, {
428
+ params: any[];
429
+ method: "eth_getBlockByHash";
430
+ }, {
431
+ params: any[];
432
+ method: "eth_getBlockByHash";
433
+ }>;
434
+ export declare const RpcEthGetBlockByNumber: z.ZodObject<{
435
+ method: z.ZodLiteral<"eth_getBlockByNumber">;
436
+ params: z.ZodArray<z.ZodAny, "many">;
437
+ }, "strip", z.ZodTypeAny, {
438
+ params: any[];
439
+ method: "eth_getBlockByNumber";
440
+ }, {
441
+ params: any[];
442
+ method: "eth_getBlockByNumber";
443
+ }>;
444
+ export declare const RpcEthGetBlockReceipts: z.ZodObject<{
445
+ method: z.ZodLiteral<"eth_getBlockReceipts">;
446
+ params: z.ZodArray<z.ZodAny, "many">;
447
+ }, "strip", z.ZodTypeAny, {
448
+ params: any[];
449
+ method: "eth_getBlockReceipts";
450
+ }, {
451
+ params: any[];
452
+ method: "eth_getBlockReceipts";
453
+ }>;
454
+ export declare const RcpEthGetBlockTransactionCountByHash: z.ZodObject<{
455
+ method: z.ZodLiteral<"eth_getBlockTransactionCountByHash">;
456
+ params: z.ZodArray<z.ZodAny, "many">;
457
+ }, "strip", z.ZodTypeAny, {
458
+ params: any[];
459
+ method: "eth_getBlockTransactionCountByHash";
460
+ }, {
461
+ params: any[];
462
+ method: "eth_getBlockTransactionCountByHash";
463
+ }>;
464
+ export declare const RcpEthGetBlockTransactionCountByNumber: z.ZodObject<{
465
+ method: z.ZodLiteral<"eth_getBlockTransactionCountByNumber">;
466
+ params: z.ZodArray<z.ZodAny, "many">;
467
+ }, "strip", z.ZodTypeAny, {
468
+ params: any[];
469
+ method: "eth_getBlockTransactionCountByNumber";
470
+ }, {
471
+ params: any[];
472
+ method: "eth_getBlockTransactionCountByNumber";
473
+ }>;
474
+ export declare const RpcEthGetCode: z.ZodObject<{
475
+ method: z.ZodLiteral<"eth_getCode">;
476
+ params: z.ZodArray<z.ZodAny, "many">;
477
+ }, "strip", z.ZodTypeAny, {
478
+ params: any[];
479
+ method: "eth_getCode";
480
+ }, {
481
+ params: any[];
482
+ method: "eth_getCode";
483
+ }>;
484
+ export declare const RpcEthGetFilter: z.ZodObject<{
485
+ method: z.ZodLiteral<"eth_getFilterChanges">;
486
+ params: z.ZodArray<z.ZodAny, "many">;
487
+ }, "strip", z.ZodTypeAny, {
488
+ params: any[];
489
+ method: "eth_getFilterChanges";
490
+ }, {
491
+ params: any[];
492
+ method: "eth_getFilterChanges";
493
+ }>;
494
+ export declare const RpcEthGetFilterLogs: z.ZodObject<{
495
+ method: z.ZodLiteral<"eth_getFilterLogs">;
496
+ params: z.ZodArray<z.ZodAny, "many">;
497
+ }, "strip", z.ZodTypeAny, {
498
+ params: any[];
499
+ method: "eth_getFilterLogs";
500
+ }, {
501
+ params: any[];
502
+ method: "eth_getFilterLogs";
503
+ }>;
504
+ export declare const RpcEthGetLogs: z.ZodObject<{
505
+ method: z.ZodLiteral<"eth_getLogs">;
506
+ params: z.ZodArray<z.ZodAny, "many">;
507
+ }, "strip", z.ZodTypeAny, {
508
+ params: any[];
509
+ method: "eth_getLogs";
510
+ }, {
511
+ params: any[];
512
+ method: "eth_getLogs";
513
+ }>;
514
+ export declare const RpcEthGetProof: z.ZodObject<{
515
+ method: z.ZodLiteral<"eth_getProof">;
516
+ params: z.ZodArray<z.ZodAny, "many">;
517
+ }, "strip", z.ZodTypeAny, {
518
+ params: any[];
519
+ method: "eth_getProof";
520
+ }, {
521
+ params: any[];
522
+ method: "eth_getProof";
523
+ }>;
524
+ export declare const RpcEthGetStorageAt: z.ZodObject<{
525
+ method: z.ZodLiteral<"eth_getStorageAt">;
526
+ params: z.ZodArray<z.ZodAny, "many">;
527
+ }, "strip", z.ZodTypeAny, {
528
+ params: any[];
529
+ method: "eth_getStorageAt";
530
+ }, {
531
+ params: any[];
532
+ method: "eth_getStorageAt";
533
+ }>;
534
+ export declare const RpcEthGetTransactionByBlockHashAndIndex: z.ZodObject<{
535
+ method: z.ZodLiteral<"eth_getTransactionByBlockHashAndIndex">;
536
+ params: z.ZodArray<z.ZodAny, "many">;
537
+ }, "strip", z.ZodTypeAny, {
538
+ params: any[];
539
+ method: "eth_getTransactionByBlockHashAndIndex";
540
+ }, {
541
+ params: any[];
542
+ method: "eth_getTransactionByBlockHashAndIndex";
543
+ }>;
544
+ export declare const RpcEthGetTransactionByBlockNumberAndIndex: z.ZodObject<{
545
+ method: z.ZodLiteral<"eth_getTransactionByBlockNumberAndIndex">;
546
+ params: z.ZodArray<z.ZodAny, "many">;
547
+ }, "strip", z.ZodTypeAny, {
548
+ params: any[];
549
+ method: "eth_getTransactionByBlockNumberAndIndex";
550
+ }, {
551
+ params: any[];
552
+ method: "eth_getTransactionByBlockNumberAndIndex";
553
+ }>;
554
+ export declare const RpcEthGetTransactionByHash: z.ZodObject<{
555
+ method: z.ZodLiteral<"eth_getTransactionByHash">;
556
+ params: z.ZodArray<z.ZodAny, "many">;
557
+ }, "strip", z.ZodTypeAny, {
558
+ params: any[];
559
+ method: "eth_getTransactionByHash";
560
+ }, {
561
+ params: any[];
562
+ method: "eth_getTransactionByHash";
563
+ }>;
564
+ export declare const RpcEthGetTransactionCount: z.ZodObject<{
565
+ method: z.ZodLiteral<"eth_getTransactionCount">;
566
+ params: z.ZodArray<z.ZodAny, "many">;
567
+ }, "strip", z.ZodTypeAny, {
568
+ params: any[];
569
+ method: "eth_getTransactionCount";
570
+ }, {
571
+ params: any[];
572
+ method: "eth_getTransactionCount";
573
+ }>;
574
+ export declare const RpcEthGetTransactionReceipt: z.ZodObject<{
575
+ method: z.ZodLiteral<"eth_getTransactionReceipt">;
576
+ params: z.ZodArray<z.ZodAny, "many">;
577
+ }, "strip", z.ZodTypeAny, {
578
+ params: any[];
579
+ method: "eth_getTransactionReceipt";
580
+ }, {
581
+ params: any[];
582
+ method: "eth_getTransactionReceipt";
583
+ }>;
584
+ export declare const RpcEthGetUncleCountByBlockHash: z.ZodObject<{
585
+ method: z.ZodLiteral<"eth_getUncleCountByBlockHash">;
586
+ params: z.ZodArray<z.ZodAny, "many">;
587
+ }, "strip", z.ZodTypeAny, {
588
+ params: any[];
589
+ method: "eth_getUncleCountByBlockHash";
590
+ }, {
591
+ params: any[];
592
+ method: "eth_getUncleCountByBlockHash";
593
+ }>;
594
+ export declare const RpcEthGetUncleCountByBlockNumber: z.ZodObject<{
595
+ method: z.ZodLiteral<"eth_getUncleCountByBlockNumber">;
596
+ params: z.ZodArray<z.ZodAny, "many">;
597
+ }, "strip", z.ZodTypeAny, {
598
+ params: any[];
599
+ method: "eth_getUncleCountByBlockNumber";
600
+ }, {
601
+ params: any[];
602
+ method: "eth_getUncleCountByBlockNumber";
603
+ }>;
604
+ export declare const RpcEthMaxPriorityFeePerGas: z.ZodObject<{
605
+ method: z.ZodLiteral<"eth_maxPriorityFeePerGas">;
606
+ }, "strip", z.ZodTypeAny, {
607
+ method: "eth_maxPriorityFeePerGas";
608
+ }, {
609
+ method: "eth_maxPriorityFeePerGas";
610
+ }>;
611
+ export declare const RpcEthNewBlockFilter: z.ZodObject<{
612
+ method: z.ZodLiteral<"eth_newBlockFilter">;
613
+ }, "strip", z.ZodTypeAny, {
614
+ method: "eth_newBlockFilter";
615
+ }, {
616
+ method: "eth_newBlockFilter";
617
+ }>;
618
+ export declare const RpcEthNewFilter: z.ZodObject<{
619
+ method: z.ZodLiteral<"eth_newFilter">;
620
+ params: z.ZodArray<z.ZodAny, "many">;
621
+ }, "strip", z.ZodTypeAny, {
622
+ params: any[];
623
+ method: "eth_newFilter";
624
+ }, {
625
+ params: any[];
626
+ method: "eth_newFilter";
627
+ }>;
628
+ export declare const RpcEthNewPendingTransactionFilter: z.ZodObject<{
629
+ method: z.ZodLiteral<"eth_newPendingTransactionFilter">;
630
+ }, "strip", z.ZodTypeAny, {
631
+ method: "eth_newPendingTransactionFilter";
632
+ }, {
633
+ method: "eth_newPendingTransactionFilter";
634
+ }>;
635
+ export declare const RpcEthSendRawTransaction: z.ZodObject<{
636
+ method: z.ZodLiteral<"eth_sendRawTransaction">;
637
+ params: z.ZodArray<z.ZodAny, "many">;
638
+ }, "strip", z.ZodTypeAny, {
639
+ params: any[];
640
+ method: "eth_sendRawTransaction";
641
+ }, {
642
+ params: any[];
643
+ method: "eth_sendRawTransaction";
644
+ }>;
645
+ export declare const RpcEthSyncing: z.ZodObject<{
646
+ method: z.ZodLiteral<"eth_syncing">;
647
+ params: z.ZodArray<z.ZodAny, "many">;
648
+ }, "strip", z.ZodTypeAny, {
649
+ params: any[];
650
+ method: "eth_syncing";
651
+ }, {
652
+ params: any[];
653
+ method: "eth_syncing";
654
+ }>;
655
+ export declare const RpcUnistallFilter: z.ZodObject<{
656
+ method: z.ZodLiteral<"eth_uninstallFilter">;
657
+ params: z.ZodArray<z.ZodAny, "many">;
658
+ }, "strip", z.ZodTypeAny, {
659
+ params: any[];
660
+ method: "eth_uninstallFilter";
661
+ }, {
662
+ params: any[];
663
+ method: "eth_uninstallFilter";
664
+ }>;
665
+ export declare const RpcPersonalSignRequest: z.ZodObject<{
666
+ method: z.ZodLiteral<"personal_sign">;
667
+ params: z.ZodArray<z.ZodAny, "many">;
668
+ }, "strip", z.ZodTypeAny, {
669
+ params: any[];
670
+ method: "personal_sign";
671
+ }, {
672
+ params: any[];
673
+ method: "personal_sign";
674
+ }>;
675
+ export declare const RpcEthSignTypedDataV4: z.ZodObject<{
676
+ method: z.ZodLiteral<"eth_signTypedData_v4">;
677
+ params: z.ZodArray<z.ZodAny, "many">;
678
+ }, "strip", z.ZodTypeAny, {
679
+ params: any[];
680
+ method: "eth_signTypedData_v4";
681
+ }, {
682
+ params: any[];
683
+ method: "eth_signTypedData_v4";
684
+ }>;
685
+ export declare const RpcEthSendTransactionRequest: z.ZodObject<{
686
+ method: z.ZodLiteral<"eth_sendTransaction">;
687
+ params: z.ZodArray<z.ZodAny, "many">;
688
+ }, "strip", z.ZodTypeAny, {
689
+ params: any[];
690
+ method: "eth_sendTransaction";
691
+ }, {
692
+ params: any[];
693
+ method: "eth_sendTransaction";
694
+ }>;
695
+ export declare const RpcSolanaSignMessageRequest: z.ZodObject<{
696
+ method: z.ZodLiteral<"solana_signMessage">;
697
+ params: z.ZodObject<{
698
+ message: z.ZodString;
699
+ pubkey: z.ZodString;
700
+ }, "strip", z.ZodTypeAny, {
701
+ message: string;
702
+ pubkey: string;
703
+ }, {
704
+ message: string;
705
+ pubkey: string;
706
+ }>;
707
+ }, "strip", z.ZodTypeAny, {
708
+ params: {
709
+ message: string;
710
+ pubkey: string;
711
+ };
712
+ method: "solana_signMessage";
713
+ }, {
714
+ params: {
715
+ message: string;
716
+ pubkey: string;
717
+ };
718
+ method: "solana_signMessage";
719
+ }>;
720
+ export declare const RpcSolanaSignTransactionRequest: z.ZodObject<{
721
+ method: z.ZodLiteral<"solana_signTransaction">;
722
+ params: z.ZodObject<{
723
+ transaction: z.ZodString;
724
+ }, "strip", z.ZodTypeAny, {
725
+ transaction: string;
726
+ }, {
727
+ transaction: string;
728
+ }>;
729
+ }, "strip", z.ZodTypeAny, {
730
+ params: {
731
+ transaction: string;
732
+ };
733
+ method: "solana_signTransaction";
734
+ }, {
735
+ params: {
736
+ transaction: string;
737
+ };
738
+ method: "solana_signTransaction";
739
+ }>;
740
+ export declare const RpcSolanaSignAllTransactionsRequest: z.ZodObject<{
741
+ method: z.ZodLiteral<"solana_signAllTransactions">;
742
+ params: z.ZodObject<{
743
+ transactions: z.ZodArray<z.ZodString, "many">;
744
+ }, "strip", z.ZodTypeAny, {
745
+ transactions: string[];
746
+ }, {
747
+ transactions: string[];
748
+ }>;
749
+ }, "strip", z.ZodTypeAny, {
750
+ params: {
751
+ transactions: string[];
752
+ };
753
+ method: "solana_signAllTransactions";
754
+ }, {
755
+ params: {
756
+ transactions: string[];
757
+ };
758
+ method: "solana_signAllTransactions";
759
+ }>;
760
+ export declare const RpcSolanaSignAndSendTransactionRequest: z.ZodObject<{
761
+ method: z.ZodLiteral<"solana_signAndSendTransaction">;
762
+ params: z.ZodObject<{
763
+ transaction: z.ZodString;
764
+ options: z.ZodOptional<z.ZodObject<{
765
+ skipPreflight: z.ZodOptional<z.ZodBoolean>;
766
+ preflightCommitment: z.ZodOptional<z.ZodEnum<["processed", "confirmed", "finalized", "recent", "single", "singleGossip", "root", "max"]>>;
767
+ maxRetries: z.ZodOptional<z.ZodNumber>;
768
+ minContextSlot: z.ZodOptional<z.ZodNumber>;
769
+ }, "strip", z.ZodTypeAny, {
770
+ skipPreflight?: boolean | undefined;
771
+ preflightCommitment?: "max" | "processed" | "confirmed" | "finalized" | "recent" | "single" | "singleGossip" | "root" | undefined;
772
+ maxRetries?: number | undefined;
773
+ minContextSlot?: number | undefined;
774
+ }, {
775
+ skipPreflight?: boolean | undefined;
776
+ preflightCommitment?: "max" | "processed" | "confirmed" | "finalized" | "recent" | "single" | "singleGossip" | "root" | undefined;
777
+ maxRetries?: number | undefined;
778
+ minContextSlot?: number | undefined;
779
+ }>>;
780
+ }, "strip", z.ZodTypeAny, {
781
+ transaction: string;
782
+ options?: {
783
+ skipPreflight?: boolean | undefined;
784
+ preflightCommitment?: "max" | "processed" | "confirmed" | "finalized" | "recent" | "single" | "singleGossip" | "root" | undefined;
785
+ maxRetries?: number | undefined;
786
+ minContextSlot?: number | undefined;
787
+ } | undefined;
788
+ }, {
789
+ transaction: string;
790
+ options?: {
791
+ skipPreflight?: boolean | undefined;
792
+ preflightCommitment?: "max" | "processed" | "confirmed" | "finalized" | "recent" | "single" | "singleGossip" | "root" | undefined;
793
+ maxRetries?: number | undefined;
794
+ minContextSlot?: number | undefined;
795
+ } | undefined;
796
+ }>;
797
+ }, "strip", z.ZodTypeAny, {
798
+ params: {
799
+ transaction: string;
800
+ options?: {
801
+ skipPreflight?: boolean | undefined;
802
+ preflightCommitment?: "max" | "processed" | "confirmed" | "finalized" | "recent" | "single" | "singleGossip" | "root" | undefined;
803
+ maxRetries?: number | undefined;
804
+ minContextSlot?: number | undefined;
805
+ } | undefined;
806
+ };
807
+ method: "solana_signAndSendTransaction";
808
+ }, {
809
+ params: {
810
+ transaction: string;
811
+ options?: {
812
+ skipPreflight?: boolean | undefined;
813
+ preflightCommitment?: "max" | "processed" | "confirmed" | "finalized" | "recent" | "single" | "singleGossip" | "root" | undefined;
814
+ maxRetries?: number | undefined;
815
+ minContextSlot?: number | undefined;
816
+ } | undefined;
817
+ };
818
+ method: "solana_signAndSendTransaction";
819
+ }>;
820
+ export declare const WalletSendCallsRequest: z.ZodObject<{
821
+ method: z.ZodLiteral<"wallet_sendCalls">;
822
+ params: z.ZodArray<z.ZodObject<{
823
+ chainId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
824
+ from: z.ZodOptional<z.ZodString>;
825
+ version: z.ZodOptional<z.ZodString>;
826
+ capabilities: z.ZodOptional<z.ZodAny>;
827
+ calls: z.ZodArray<z.ZodObject<{
828
+ to: z.ZodString;
829
+ data: z.ZodOptional<z.ZodString>;
830
+ value: z.ZodOptional<z.ZodString>;
831
+ }, "strip", z.ZodTypeAny, {
832
+ to: string;
833
+ data?: string | undefined;
834
+ value?: string | undefined;
835
+ }, {
836
+ to: string;
837
+ data?: string | undefined;
838
+ value?: string | undefined;
839
+ }>, "many">;
840
+ }, "strip", z.ZodTypeAny, {
841
+ calls: {
842
+ to: string;
843
+ data?: string | undefined;
844
+ value?: string | undefined;
845
+ }[];
846
+ chainId?: string | number | undefined;
847
+ from?: string | undefined;
848
+ version?: string | undefined;
849
+ capabilities?: any;
850
+ }, {
851
+ calls: {
852
+ to: string;
853
+ data?: string | undefined;
854
+ value?: string | undefined;
855
+ }[];
856
+ chainId?: string | number | undefined;
857
+ from?: string | undefined;
858
+ version?: string | undefined;
859
+ capabilities?: any;
860
+ }>, "many">;
861
+ }, "strip", z.ZodTypeAny, {
862
+ params: {
863
+ calls: {
864
+ to: string;
865
+ data?: string | undefined;
866
+ value?: string | undefined;
867
+ }[];
868
+ chainId?: string | number | undefined;
869
+ from?: string | undefined;
870
+ version?: string | undefined;
871
+ capabilities?: any;
872
+ }[];
873
+ method: "wallet_sendCalls";
874
+ }, {
875
+ params: {
876
+ calls: {
877
+ to: string;
878
+ data?: string | undefined;
879
+ value?: string | undefined;
880
+ }[];
881
+ chainId?: string | number | undefined;
882
+ from?: string | undefined;
883
+ version?: string | undefined;
884
+ capabilities?: any;
885
+ }[];
886
+ method: "wallet_sendCalls";
887
+ }>;
888
+ export declare const WalletGetCallsReceiptRequest: z.ZodObject<{
889
+ method: z.ZodLiteral<"wallet_getCallsStatus">;
890
+ params: z.ZodArray<z.ZodString, "many">;
891
+ }, "strip", z.ZodTypeAny, {
892
+ params: string[];
893
+ method: "wallet_getCallsStatus";
894
+ }, {
895
+ params: string[];
896
+ method: "wallet_getCallsStatus";
897
+ }>;
898
+ export declare const WalletGetCapabilitiesRequest: z.ZodObject<{
899
+ method: z.ZodLiteral<"wallet_getCapabilities">;
900
+ }, "strip", z.ZodTypeAny, {
901
+ method: "wallet_getCapabilities";
902
+ }, {
903
+ method: "wallet_getCapabilities";
904
+ }>;
905
+ export declare const WalletGrantPermissionsRequest: z.ZodObject<{
906
+ method: z.ZodLiteral<"wallet_grantPermissions">;
907
+ params: z.ZodArray<z.ZodAny, "many">;
908
+ }, "strip", z.ZodTypeAny, {
909
+ params: any[];
910
+ method: "wallet_grantPermissions";
911
+ }, {
912
+ params: any[];
913
+ method: "wallet_grantPermissions";
914
+ }>;
915
+ export declare const FrameSession: z.ZodObject<{
916
+ token: z.ZodString;
917
+ }, "strip", z.ZodTypeAny, {
918
+ token: string;
919
+ }, {
920
+ token: string;
921
+ }>;
922
+ export declare const EventSchema: z.ZodObject<{
923
+ id: z.ZodOptional<z.ZodString>;
924
+ }, "strip", z.ZodTypeAny, {
925
+ id?: string | undefined;
926
+ }, {
927
+ id?: string | undefined;
928
+ }>;
929
+ export declare const W3mFrameSchema: {
930
+ appEvent: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
931
+ id: z.ZodOptional<z.ZodString>;
932
+ type: z.ZodLiteral<"@w3m-app/SWITCH_NETWORK">;
933
+ payload: z.ZodObject<{
934
+ chainId: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
935
+ }, "strip", z.ZodTypeAny, {
936
+ chainId: string | number;
937
+ }, {
938
+ chainId: string | number;
939
+ }>;
940
+ }, "strip", z.ZodTypeAny, {
941
+ type: "@w3m-app/SWITCH_NETWORK";
942
+ payload: {
943
+ chainId: string | number;
944
+ };
945
+ id?: string | undefined;
946
+ }, {
947
+ type: "@w3m-app/SWITCH_NETWORK";
948
+ payload: {
949
+ chainId: string | number;
950
+ };
951
+ id?: string | undefined;
952
+ }>, z.ZodObject<{
953
+ id: z.ZodOptional<z.ZodString>;
954
+ type: z.ZodLiteral<"@w3m-app/CONNECT_EMAIL">;
955
+ payload: z.ZodObject<{
956
+ email: z.ZodString;
957
+ }, "strip", z.ZodTypeAny, {
958
+ email: string;
959
+ }, {
960
+ email: string;
961
+ }>;
962
+ }, "strip", z.ZodTypeAny, {
963
+ type: "@w3m-app/CONNECT_EMAIL";
964
+ payload: {
965
+ email: string;
966
+ };
967
+ id?: string | undefined;
968
+ }, {
969
+ type: "@w3m-app/CONNECT_EMAIL";
970
+ payload: {
971
+ email: string;
972
+ };
973
+ id?: string | undefined;
974
+ }>]>, z.ZodObject<{
975
+ id: z.ZodOptional<z.ZodString>;
976
+ type: z.ZodLiteral<"@w3m-app/CONNECT_DEVICE">;
977
+ }, "strip", z.ZodTypeAny, {
978
+ type: "@w3m-app/CONNECT_DEVICE";
979
+ id?: string | undefined;
980
+ }, {
981
+ type: "@w3m-app/CONNECT_DEVICE";
982
+ id?: string | undefined;
983
+ }>]>, z.ZodObject<{
984
+ id: z.ZodOptional<z.ZodString>;
985
+ type: z.ZodLiteral<"@w3m-app/CONNECT_OTP">;
986
+ payload: z.ZodObject<{
987
+ otp: z.ZodString;
988
+ }, "strip", z.ZodTypeAny, {
989
+ otp: string;
990
+ }, {
991
+ otp: string;
992
+ }>;
993
+ }, "strip", z.ZodTypeAny, {
994
+ type: "@w3m-app/CONNECT_OTP";
995
+ payload: {
996
+ otp: string;
997
+ };
998
+ id?: string | undefined;
999
+ }, {
1000
+ type: "@w3m-app/CONNECT_OTP";
1001
+ payload: {
1002
+ otp: string;
1003
+ };
1004
+ id?: string | undefined;
1005
+ }>]>, z.ZodObject<{
1006
+ id: z.ZodOptional<z.ZodString>;
1007
+ type: z.ZodLiteral<"@w3m-app/CONNECT_SOCIAL">;
1008
+ payload: z.ZodObject<{
1009
+ uri: z.ZodString;
1010
+ }, "strip", z.ZodTypeAny, {
1011
+ uri: string;
1012
+ }, {
1013
+ uri: string;
1014
+ }>;
1015
+ }, "strip", z.ZodTypeAny, {
1016
+ type: "@w3m-app/CONNECT_SOCIAL";
1017
+ payload: {
1018
+ uri: string;
1019
+ };
1020
+ id?: string | undefined;
1021
+ }, {
1022
+ type: "@w3m-app/CONNECT_SOCIAL";
1023
+ payload: {
1024
+ uri: string;
1025
+ };
1026
+ id?: string | undefined;
1027
+ }>]>, z.ZodObject<{
1028
+ id: z.ZodOptional<z.ZodString>;
1029
+ type: z.ZodLiteral<"@w3m-app/GET_FARCASTER_URI">;
1030
+ }, "strip", z.ZodTypeAny, {
1031
+ type: "@w3m-app/GET_FARCASTER_URI";
1032
+ id?: string | undefined;
1033
+ }, {
1034
+ type: "@w3m-app/GET_FARCASTER_URI";
1035
+ id?: string | undefined;
1036
+ }>]>, z.ZodObject<{
1037
+ id: z.ZodOptional<z.ZodString>;
1038
+ type: z.ZodLiteral<"@w3m-app/CONNECT_FARCASTER">;
1039
+ }, "strip", z.ZodTypeAny, {
1040
+ type: "@w3m-app/CONNECT_FARCASTER";
1041
+ id?: string | undefined;
1042
+ }, {
1043
+ type: "@w3m-app/CONNECT_FARCASTER";
1044
+ id?: string | undefined;
1045
+ }>]>, z.ZodObject<{
1046
+ id: z.ZodOptional<z.ZodString>;
1047
+ type: z.ZodLiteral<"@w3m-app/GET_USER">;
1048
+ payload: z.ZodOptional<z.ZodObject<{
1049
+ chainId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
1050
+ preferredAccountType: z.ZodOptional<z.ZodString>;
1051
+ }, "strip", z.ZodTypeAny, {
1052
+ chainId?: string | number | undefined;
1053
+ preferredAccountType?: string | undefined;
1054
+ }, {
1055
+ chainId?: string | number | undefined;
1056
+ preferredAccountType?: string | undefined;
1057
+ }>>;
1058
+ }, "strip", z.ZodTypeAny, {
1059
+ type: "@w3m-app/GET_USER";
1060
+ id?: string | undefined;
1061
+ payload?: {
1062
+ chainId?: string | number | undefined;
1063
+ preferredAccountType?: string | undefined;
1064
+ } | undefined;
1065
+ }, {
1066
+ type: "@w3m-app/GET_USER";
1067
+ id?: string | undefined;
1068
+ payload?: {
1069
+ chainId?: string | number | undefined;
1070
+ preferredAccountType?: string | undefined;
1071
+ } | undefined;
1072
+ }>]>, z.ZodObject<{
1073
+ id: z.ZodOptional<z.ZodString>;
1074
+ type: z.ZodLiteral<"@w3m-app/GET_SOCIAL_REDIRECT_URI">;
1075
+ payload: z.ZodObject<{
1076
+ provider: z.ZodEnum<["google", "github", "apple", "facebook", "x", "discord"]>;
1077
+ }, "strip", z.ZodTypeAny, {
1078
+ provider: "google" | "github" | "apple" | "facebook" | "x" | "discord";
1079
+ }, {
1080
+ provider: "google" | "github" | "apple" | "facebook" | "x" | "discord";
1081
+ }>;
1082
+ }, "strip", z.ZodTypeAny, {
1083
+ type: "@w3m-app/GET_SOCIAL_REDIRECT_URI";
1084
+ payload: {
1085
+ provider: "google" | "github" | "apple" | "facebook" | "x" | "discord";
1086
+ };
1087
+ id?: string | undefined;
1088
+ }, {
1089
+ type: "@w3m-app/GET_SOCIAL_REDIRECT_URI";
1090
+ payload: {
1091
+ provider: "google" | "github" | "apple" | "facebook" | "x" | "discord";
1092
+ };
1093
+ id?: string | undefined;
1094
+ }>]>, z.ZodObject<{
1095
+ id: z.ZodOptional<z.ZodString>;
1096
+ type: z.ZodLiteral<"@w3m-app/SIGN_OUT">;
1097
+ }, "strip", z.ZodTypeAny, {
1098
+ type: "@w3m-app/SIGN_OUT";
1099
+ id?: string | undefined;
1100
+ }, {
1101
+ type: "@w3m-app/SIGN_OUT";
1102
+ id?: string | undefined;
1103
+ }>]>, z.ZodObject<{
1104
+ id: z.ZodOptional<z.ZodString>;
1105
+ type: z.ZodLiteral<"@w3m-app/IS_CONNECTED">;
1106
+ payload: z.ZodOptional<z.ZodObject<{
1107
+ token: z.ZodString;
1108
+ }, "strip", z.ZodTypeAny, {
1109
+ token: string;
1110
+ }, {
1111
+ token: string;
1112
+ }>>;
1113
+ }, "strip", z.ZodTypeAny, {
1114
+ type: "@w3m-app/IS_CONNECTED";
1115
+ id?: string | undefined;
1116
+ payload?: {
1117
+ token: string;
1118
+ } | undefined;
1119
+ }, {
1120
+ type: "@w3m-app/IS_CONNECTED";
1121
+ id?: string | undefined;
1122
+ payload?: {
1123
+ token: string;
1124
+ } | undefined;
1125
+ }>]>, z.ZodObject<{
1126
+ id: z.ZodOptional<z.ZodString>;
1127
+ type: z.ZodLiteral<"@w3m-app/GET_CHAIN_ID">;
1128
+ }, "strip", z.ZodTypeAny, {
1129
+ type: "@w3m-app/GET_CHAIN_ID";
1130
+ id?: string | undefined;
1131
+ }, {
1132
+ type: "@w3m-app/GET_CHAIN_ID";
1133
+ id?: string | undefined;
1134
+ }>]>, z.ZodObject<{
1135
+ id: z.ZodOptional<z.ZodString>;
1136
+ type: z.ZodLiteral<"@w3m-app/GET_SMART_ACCOUNT_ENABLED_NETWORKS">;
1137
+ }, "strip", z.ZodTypeAny, {
1138
+ type: "@w3m-app/GET_SMART_ACCOUNT_ENABLED_NETWORKS";
1139
+ id?: string | undefined;
1140
+ }, {
1141
+ type: "@w3m-app/GET_SMART_ACCOUNT_ENABLED_NETWORKS";
1142
+ id?: string | undefined;
1143
+ }>]>, z.ZodObject<{
1144
+ id: z.ZodOptional<z.ZodString>;
1145
+ type: z.ZodLiteral<"@w3m-app/INIT_SMART_ACCOUNT">;
1146
+ }, "strip", z.ZodTypeAny, {
1147
+ type: "@w3m-app/INIT_SMART_ACCOUNT";
1148
+ id?: string | undefined;
1149
+ }, {
1150
+ type: "@w3m-app/INIT_SMART_ACCOUNT";
1151
+ id?: string | undefined;
1152
+ }>]>, z.ZodObject<{
1153
+ id: z.ZodOptional<z.ZodString>;
1154
+ type: z.ZodLiteral<"@w3m-app/SET_PREFERRED_ACCOUNT">;
1155
+ payload: z.ZodObject<{
1156
+ type: z.ZodString;
1157
+ }, "strip", z.ZodTypeAny, {
1158
+ type: string;
1159
+ }, {
1160
+ type: string;
1161
+ }>;
1162
+ }, "strip", z.ZodTypeAny, {
1163
+ type: "@w3m-app/SET_PREFERRED_ACCOUNT";
1164
+ payload: {
1165
+ type: string;
1166
+ };
1167
+ id?: string | undefined;
1168
+ }, {
1169
+ type: "@w3m-app/SET_PREFERRED_ACCOUNT";
1170
+ payload: {
1171
+ type: string;
1172
+ };
1173
+ id?: string | undefined;
1174
+ }>]>, z.ZodObject<{
1175
+ id: z.ZodOptional<z.ZodString>;
1176
+ type: z.ZodLiteral<"@w3m-app/RPC_REQUEST">;
1177
+ payload: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1178
+ method: z.ZodLiteral<"personal_sign">;
1179
+ params: z.ZodArray<z.ZodAny, "many">;
1180
+ }, "strip", z.ZodTypeAny, {
1181
+ params: any[];
1182
+ method: "personal_sign";
1183
+ }, {
1184
+ params: any[];
1185
+ method: "personal_sign";
1186
+ }>, z.ZodObject<{
1187
+ method: z.ZodLiteral<"eth_sendTransaction">;
1188
+ params: z.ZodArray<z.ZodAny, "many">;
1189
+ }, "strip", z.ZodTypeAny, {
1190
+ params: any[];
1191
+ method: "eth_sendTransaction";
1192
+ }, {
1193
+ params: any[];
1194
+ method: "eth_sendTransaction";
1195
+ }>]>, z.ZodObject<{
1196
+ method: z.ZodLiteral<"eth_accounts">;
1197
+ }, "strip", z.ZodTypeAny, {
1198
+ method: "eth_accounts";
1199
+ }, {
1200
+ method: "eth_accounts";
1201
+ }>]>, z.ZodObject<{
1202
+ method: z.ZodLiteral<"eth_blockNumber">;
1203
+ }, "strip", z.ZodTypeAny, {
1204
+ method: "eth_blockNumber";
1205
+ }, {
1206
+ method: "eth_blockNumber";
1207
+ }>]>, z.ZodObject<{
1208
+ method: z.ZodLiteral<"eth_call">;
1209
+ params: z.ZodArray<z.ZodAny, "many">;
1210
+ }, "strip", z.ZodTypeAny, {
1211
+ params: any[];
1212
+ method: "eth_call";
1213
+ }, {
1214
+ params: any[];
1215
+ method: "eth_call";
1216
+ }>]>, z.ZodObject<{
1217
+ method: z.ZodLiteral<"eth_chainId">;
1218
+ }, "strip", z.ZodTypeAny, {
1219
+ method: "eth_chainId";
1220
+ }, {
1221
+ method: "eth_chainId";
1222
+ }>]>, z.ZodObject<{
1223
+ method: z.ZodLiteral<"eth_estimateGas">;
1224
+ params: z.ZodArray<z.ZodAny, "many">;
1225
+ }, "strip", z.ZodTypeAny, {
1226
+ params: any[];
1227
+ method: "eth_estimateGas";
1228
+ }, {
1229
+ params: any[];
1230
+ method: "eth_estimateGas";
1231
+ }>]>, z.ZodObject<{
1232
+ method: z.ZodLiteral<"eth_feeHistory">;
1233
+ params: z.ZodArray<z.ZodAny, "many">;
1234
+ }, "strip", z.ZodTypeAny, {
1235
+ params: any[];
1236
+ method: "eth_feeHistory";
1237
+ }, {
1238
+ params: any[];
1239
+ method: "eth_feeHistory";
1240
+ }>]>, z.ZodObject<{
1241
+ method: z.ZodLiteral<"eth_gasPrice">;
1242
+ }, "strip", z.ZodTypeAny, {
1243
+ method: "eth_gasPrice";
1244
+ }, {
1245
+ method: "eth_gasPrice";
1246
+ }>]>, z.ZodObject<{
1247
+ method: z.ZodLiteral<"eth_getAccount">;
1248
+ params: z.ZodArray<z.ZodAny, "many">;
1249
+ }, "strip", z.ZodTypeAny, {
1250
+ params: any[];
1251
+ method: "eth_getAccount";
1252
+ }, {
1253
+ params: any[];
1254
+ method: "eth_getAccount";
1255
+ }>]>, z.ZodObject<{
1256
+ method: z.ZodLiteral<"eth_getBalance">;
1257
+ params: z.ZodArray<z.ZodAny, "many">;
1258
+ }, "strip", z.ZodTypeAny, {
1259
+ params: any[];
1260
+ method: "eth_getBalance";
1261
+ }, {
1262
+ params: any[];
1263
+ method: "eth_getBalance";
1264
+ }>]>, z.ZodObject<{
1265
+ method: z.ZodLiteral<"eth_getBlockByHash">;
1266
+ params: z.ZodArray<z.ZodAny, "many">;
1267
+ }, "strip", z.ZodTypeAny, {
1268
+ params: any[];
1269
+ method: "eth_getBlockByHash";
1270
+ }, {
1271
+ params: any[];
1272
+ method: "eth_getBlockByHash";
1273
+ }>]>, z.ZodObject<{
1274
+ method: z.ZodLiteral<"eth_getBlockByNumber">;
1275
+ params: z.ZodArray<z.ZodAny, "many">;
1276
+ }, "strip", z.ZodTypeAny, {
1277
+ params: any[];
1278
+ method: "eth_getBlockByNumber";
1279
+ }, {
1280
+ params: any[];
1281
+ method: "eth_getBlockByNumber";
1282
+ }>]>, z.ZodObject<{
1283
+ method: z.ZodLiteral<"eth_getBlockReceipts">;
1284
+ params: z.ZodArray<z.ZodAny, "many">;
1285
+ }, "strip", z.ZodTypeAny, {
1286
+ params: any[];
1287
+ method: "eth_getBlockReceipts";
1288
+ }, {
1289
+ params: any[];
1290
+ method: "eth_getBlockReceipts";
1291
+ }>]>, z.ZodObject<{
1292
+ method: z.ZodLiteral<"eth_getBlockTransactionCountByHash">;
1293
+ params: z.ZodArray<z.ZodAny, "many">;
1294
+ }, "strip", z.ZodTypeAny, {
1295
+ params: any[];
1296
+ method: "eth_getBlockTransactionCountByHash";
1297
+ }, {
1298
+ params: any[];
1299
+ method: "eth_getBlockTransactionCountByHash";
1300
+ }>]>, z.ZodObject<{
1301
+ method: z.ZodLiteral<"eth_getBlockTransactionCountByNumber">;
1302
+ params: z.ZodArray<z.ZodAny, "many">;
1303
+ }, "strip", z.ZodTypeAny, {
1304
+ params: any[];
1305
+ method: "eth_getBlockTransactionCountByNumber";
1306
+ }, {
1307
+ params: any[];
1308
+ method: "eth_getBlockTransactionCountByNumber";
1309
+ }>]>, z.ZodObject<{
1310
+ method: z.ZodLiteral<"eth_getCode">;
1311
+ params: z.ZodArray<z.ZodAny, "many">;
1312
+ }, "strip", z.ZodTypeAny, {
1313
+ params: any[];
1314
+ method: "eth_getCode";
1315
+ }, {
1316
+ params: any[];
1317
+ method: "eth_getCode";
1318
+ }>]>, z.ZodObject<{
1319
+ method: z.ZodLiteral<"eth_getFilterChanges">;
1320
+ params: z.ZodArray<z.ZodAny, "many">;
1321
+ }, "strip", z.ZodTypeAny, {
1322
+ params: any[];
1323
+ method: "eth_getFilterChanges";
1324
+ }, {
1325
+ params: any[];
1326
+ method: "eth_getFilterChanges";
1327
+ }>]>, z.ZodObject<{
1328
+ method: z.ZodLiteral<"eth_getFilterLogs">;
1329
+ params: z.ZodArray<z.ZodAny, "many">;
1330
+ }, "strip", z.ZodTypeAny, {
1331
+ params: any[];
1332
+ method: "eth_getFilterLogs";
1333
+ }, {
1334
+ params: any[];
1335
+ method: "eth_getFilterLogs";
1336
+ }>]>, z.ZodObject<{
1337
+ method: z.ZodLiteral<"eth_getLogs">;
1338
+ params: z.ZodArray<z.ZodAny, "many">;
1339
+ }, "strip", z.ZodTypeAny, {
1340
+ params: any[];
1341
+ method: "eth_getLogs";
1342
+ }, {
1343
+ params: any[];
1344
+ method: "eth_getLogs";
1345
+ }>]>, z.ZodObject<{
1346
+ method: z.ZodLiteral<"eth_getProof">;
1347
+ params: z.ZodArray<z.ZodAny, "many">;
1348
+ }, "strip", z.ZodTypeAny, {
1349
+ params: any[];
1350
+ method: "eth_getProof";
1351
+ }, {
1352
+ params: any[];
1353
+ method: "eth_getProof";
1354
+ }>]>, z.ZodObject<{
1355
+ method: z.ZodLiteral<"eth_getStorageAt">;
1356
+ params: z.ZodArray<z.ZodAny, "many">;
1357
+ }, "strip", z.ZodTypeAny, {
1358
+ params: any[];
1359
+ method: "eth_getStorageAt";
1360
+ }, {
1361
+ params: any[];
1362
+ method: "eth_getStorageAt";
1363
+ }>]>, z.ZodObject<{
1364
+ method: z.ZodLiteral<"eth_getTransactionByBlockHashAndIndex">;
1365
+ params: z.ZodArray<z.ZodAny, "many">;
1366
+ }, "strip", z.ZodTypeAny, {
1367
+ params: any[];
1368
+ method: "eth_getTransactionByBlockHashAndIndex";
1369
+ }, {
1370
+ params: any[];
1371
+ method: "eth_getTransactionByBlockHashAndIndex";
1372
+ }>]>, z.ZodObject<{
1373
+ method: z.ZodLiteral<"eth_getTransactionByBlockNumberAndIndex">;
1374
+ params: z.ZodArray<z.ZodAny, "many">;
1375
+ }, "strip", z.ZodTypeAny, {
1376
+ params: any[];
1377
+ method: "eth_getTransactionByBlockNumberAndIndex";
1378
+ }, {
1379
+ params: any[];
1380
+ method: "eth_getTransactionByBlockNumberAndIndex";
1381
+ }>]>, z.ZodObject<{
1382
+ method: z.ZodLiteral<"eth_getTransactionByHash">;
1383
+ params: z.ZodArray<z.ZodAny, "many">;
1384
+ }, "strip", z.ZodTypeAny, {
1385
+ params: any[];
1386
+ method: "eth_getTransactionByHash";
1387
+ }, {
1388
+ params: any[];
1389
+ method: "eth_getTransactionByHash";
1390
+ }>]>, z.ZodObject<{
1391
+ method: z.ZodLiteral<"eth_getTransactionCount">;
1392
+ params: z.ZodArray<z.ZodAny, "many">;
1393
+ }, "strip", z.ZodTypeAny, {
1394
+ params: any[];
1395
+ method: "eth_getTransactionCount";
1396
+ }, {
1397
+ params: any[];
1398
+ method: "eth_getTransactionCount";
1399
+ }>]>, z.ZodObject<{
1400
+ method: z.ZodLiteral<"eth_getTransactionReceipt">;
1401
+ params: z.ZodArray<z.ZodAny, "many">;
1402
+ }, "strip", z.ZodTypeAny, {
1403
+ params: any[];
1404
+ method: "eth_getTransactionReceipt";
1405
+ }, {
1406
+ params: any[];
1407
+ method: "eth_getTransactionReceipt";
1408
+ }>]>, z.ZodObject<{
1409
+ method: z.ZodLiteral<"eth_getUncleCountByBlockHash">;
1410
+ params: z.ZodArray<z.ZodAny, "many">;
1411
+ }, "strip", z.ZodTypeAny, {
1412
+ params: any[];
1413
+ method: "eth_getUncleCountByBlockHash";
1414
+ }, {
1415
+ params: any[];
1416
+ method: "eth_getUncleCountByBlockHash";
1417
+ }>]>, z.ZodObject<{
1418
+ method: z.ZodLiteral<"eth_getUncleCountByBlockNumber">;
1419
+ params: z.ZodArray<z.ZodAny, "many">;
1420
+ }, "strip", z.ZodTypeAny, {
1421
+ params: any[];
1422
+ method: "eth_getUncleCountByBlockNumber";
1423
+ }, {
1424
+ params: any[];
1425
+ method: "eth_getUncleCountByBlockNumber";
1426
+ }>]>, z.ZodObject<{
1427
+ method: z.ZodLiteral<"eth_maxPriorityFeePerGas">;
1428
+ }, "strip", z.ZodTypeAny, {
1429
+ method: "eth_maxPriorityFeePerGas";
1430
+ }, {
1431
+ method: "eth_maxPriorityFeePerGas";
1432
+ }>]>, z.ZodObject<{
1433
+ method: z.ZodLiteral<"eth_newBlockFilter">;
1434
+ }, "strip", z.ZodTypeAny, {
1435
+ method: "eth_newBlockFilter";
1436
+ }, {
1437
+ method: "eth_newBlockFilter";
1438
+ }>]>, z.ZodObject<{
1439
+ method: z.ZodLiteral<"eth_newFilter">;
1440
+ params: z.ZodArray<z.ZodAny, "many">;
1441
+ }, "strip", z.ZodTypeAny, {
1442
+ params: any[];
1443
+ method: "eth_newFilter";
1444
+ }, {
1445
+ params: any[];
1446
+ method: "eth_newFilter";
1447
+ }>]>, z.ZodObject<{
1448
+ method: z.ZodLiteral<"eth_newPendingTransactionFilter">;
1449
+ }, "strip", z.ZodTypeAny, {
1450
+ method: "eth_newPendingTransactionFilter";
1451
+ }, {
1452
+ method: "eth_newPendingTransactionFilter";
1453
+ }>]>, z.ZodObject<{
1454
+ method: z.ZodLiteral<"eth_sendRawTransaction">;
1455
+ params: z.ZodArray<z.ZodAny, "many">;
1456
+ }, "strip", z.ZodTypeAny, {
1457
+ params: any[];
1458
+ method: "eth_sendRawTransaction";
1459
+ }, {
1460
+ params: any[];
1461
+ method: "eth_sendRawTransaction";
1462
+ }>]>, z.ZodObject<{
1463
+ method: z.ZodLiteral<"eth_syncing">;
1464
+ params: z.ZodArray<z.ZodAny, "many">;
1465
+ }, "strip", z.ZodTypeAny, {
1466
+ params: any[];
1467
+ method: "eth_syncing";
1468
+ }, {
1469
+ params: any[];
1470
+ method: "eth_syncing";
1471
+ }>]>, z.ZodObject<{
1472
+ method: z.ZodLiteral<"eth_uninstallFilter">;
1473
+ params: z.ZodArray<z.ZodAny, "many">;
1474
+ }, "strip", z.ZodTypeAny, {
1475
+ params: any[];
1476
+ method: "eth_uninstallFilter";
1477
+ }, {
1478
+ params: any[];
1479
+ method: "eth_uninstallFilter";
1480
+ }>]>, z.ZodObject<{
1481
+ method: z.ZodLiteral<"personal_sign">;
1482
+ params: z.ZodArray<z.ZodAny, "many">;
1483
+ }, "strip", z.ZodTypeAny, {
1484
+ params: any[];
1485
+ method: "personal_sign";
1486
+ }, {
1487
+ params: any[];
1488
+ method: "personal_sign";
1489
+ }>]>, z.ZodObject<{
1490
+ method: z.ZodLiteral<"eth_signTypedData_v4">;
1491
+ params: z.ZodArray<z.ZodAny, "many">;
1492
+ }, "strip", z.ZodTypeAny, {
1493
+ params: any[];
1494
+ method: "eth_signTypedData_v4";
1495
+ }, {
1496
+ params: any[];
1497
+ method: "eth_signTypedData_v4";
1498
+ }>]>, z.ZodObject<{
1499
+ method: z.ZodLiteral<"eth_sendTransaction">;
1500
+ params: z.ZodArray<z.ZodAny, "many">;
1501
+ }, "strip", z.ZodTypeAny, {
1502
+ params: any[];
1503
+ method: "eth_sendTransaction";
1504
+ }, {
1505
+ params: any[];
1506
+ method: "eth_sendTransaction";
1507
+ }>]>, z.ZodObject<{
1508
+ method: z.ZodLiteral<"solana_signMessage">;
1509
+ params: z.ZodObject<{
1510
+ message: z.ZodString;
1511
+ pubkey: z.ZodString;
1512
+ }, "strip", z.ZodTypeAny, {
1513
+ message: string;
1514
+ pubkey: string;
1515
+ }, {
1516
+ message: string;
1517
+ pubkey: string;
1518
+ }>;
1519
+ }, "strip", z.ZodTypeAny, {
1520
+ params: {
1521
+ message: string;
1522
+ pubkey: string;
1523
+ };
1524
+ method: "solana_signMessage";
1525
+ }, {
1526
+ params: {
1527
+ message: string;
1528
+ pubkey: string;
1529
+ };
1530
+ method: "solana_signMessage";
1531
+ }>]>, z.ZodObject<{
1532
+ method: z.ZodLiteral<"solana_signTransaction">;
1533
+ params: z.ZodObject<{
1534
+ transaction: z.ZodString;
1535
+ }, "strip", z.ZodTypeAny, {
1536
+ transaction: string;
1537
+ }, {
1538
+ transaction: string;
1539
+ }>;
1540
+ }, "strip", z.ZodTypeAny, {
1541
+ params: {
1542
+ transaction: string;
1543
+ };
1544
+ method: "solana_signTransaction";
1545
+ }, {
1546
+ params: {
1547
+ transaction: string;
1548
+ };
1549
+ method: "solana_signTransaction";
1550
+ }>]>, z.ZodObject<{
1551
+ method: z.ZodLiteral<"solana_signAllTransactions">;
1552
+ params: z.ZodObject<{
1553
+ transactions: z.ZodArray<z.ZodString, "many">;
1554
+ }, "strip", z.ZodTypeAny, {
1555
+ transactions: string[];
1556
+ }, {
1557
+ transactions: string[];
1558
+ }>;
1559
+ }, "strip", z.ZodTypeAny, {
1560
+ params: {
1561
+ transactions: string[];
1562
+ };
1563
+ method: "solana_signAllTransactions";
1564
+ }, {
1565
+ params: {
1566
+ transactions: string[];
1567
+ };
1568
+ method: "solana_signAllTransactions";
1569
+ }>]>, z.ZodObject<{
1570
+ method: z.ZodLiteral<"solana_signAndSendTransaction">;
1571
+ params: z.ZodObject<{
1572
+ transaction: z.ZodString;
1573
+ options: z.ZodOptional<z.ZodObject<{
1574
+ skipPreflight: z.ZodOptional<z.ZodBoolean>;
1575
+ preflightCommitment: z.ZodOptional<z.ZodEnum<["processed", "confirmed", "finalized", "recent", "single", "singleGossip", "root", "max"]>>;
1576
+ maxRetries: z.ZodOptional<z.ZodNumber>;
1577
+ minContextSlot: z.ZodOptional<z.ZodNumber>;
1578
+ }, "strip", z.ZodTypeAny, {
1579
+ skipPreflight?: boolean | undefined;
1580
+ preflightCommitment?: "max" | "processed" | "confirmed" | "finalized" | "recent" | "single" | "singleGossip" | "root" | undefined;
1581
+ maxRetries?: number | undefined;
1582
+ minContextSlot?: number | undefined;
1583
+ }, {
1584
+ skipPreflight?: boolean | undefined;
1585
+ preflightCommitment?: "max" | "processed" | "confirmed" | "finalized" | "recent" | "single" | "singleGossip" | "root" | undefined;
1586
+ maxRetries?: number | undefined;
1587
+ minContextSlot?: number | undefined;
1588
+ }>>;
1589
+ }, "strip", z.ZodTypeAny, {
1590
+ transaction: string;
1591
+ options?: {
1592
+ skipPreflight?: boolean | undefined;
1593
+ preflightCommitment?: "max" | "processed" | "confirmed" | "finalized" | "recent" | "single" | "singleGossip" | "root" | undefined;
1594
+ maxRetries?: number | undefined;
1595
+ minContextSlot?: number | undefined;
1596
+ } | undefined;
1597
+ }, {
1598
+ transaction: string;
1599
+ options?: {
1600
+ skipPreflight?: boolean | undefined;
1601
+ preflightCommitment?: "max" | "processed" | "confirmed" | "finalized" | "recent" | "single" | "singleGossip" | "root" | undefined;
1602
+ maxRetries?: number | undefined;
1603
+ minContextSlot?: number | undefined;
1604
+ } | undefined;
1605
+ }>;
1606
+ }, "strip", z.ZodTypeAny, {
1607
+ params: {
1608
+ transaction: string;
1609
+ options?: {
1610
+ skipPreflight?: boolean | undefined;
1611
+ preflightCommitment?: "max" | "processed" | "confirmed" | "finalized" | "recent" | "single" | "singleGossip" | "root" | undefined;
1612
+ maxRetries?: number | undefined;
1613
+ minContextSlot?: number | undefined;
1614
+ } | undefined;
1615
+ };
1616
+ method: "solana_signAndSendTransaction";
1617
+ }, {
1618
+ params: {
1619
+ transaction: string;
1620
+ options?: {
1621
+ skipPreflight?: boolean | undefined;
1622
+ preflightCommitment?: "max" | "processed" | "confirmed" | "finalized" | "recent" | "single" | "singleGossip" | "root" | undefined;
1623
+ maxRetries?: number | undefined;
1624
+ minContextSlot?: number | undefined;
1625
+ } | undefined;
1626
+ };
1627
+ method: "solana_signAndSendTransaction";
1628
+ }>]>, z.ZodObject<{
1629
+ method: z.ZodLiteral<"wallet_getCallsStatus">;
1630
+ params: z.ZodArray<z.ZodString, "many">;
1631
+ }, "strip", z.ZodTypeAny, {
1632
+ params: string[];
1633
+ method: "wallet_getCallsStatus";
1634
+ }, {
1635
+ params: string[];
1636
+ method: "wallet_getCallsStatus";
1637
+ }>]>, z.ZodObject<{
1638
+ method: z.ZodLiteral<"wallet_sendCalls">;
1639
+ params: z.ZodArray<z.ZodObject<{
1640
+ chainId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
1641
+ from: z.ZodOptional<z.ZodString>;
1642
+ version: z.ZodOptional<z.ZodString>;
1643
+ capabilities: z.ZodOptional<z.ZodAny>;
1644
+ calls: z.ZodArray<z.ZodObject<{
1645
+ to: z.ZodString;
1646
+ data: z.ZodOptional<z.ZodString>;
1647
+ value: z.ZodOptional<z.ZodString>;
1648
+ }, "strip", z.ZodTypeAny, {
1649
+ to: string;
1650
+ data?: string | undefined;
1651
+ value?: string | undefined;
1652
+ }, {
1653
+ to: string;
1654
+ data?: string | undefined;
1655
+ value?: string | undefined;
1656
+ }>, "many">;
1657
+ }, "strip", z.ZodTypeAny, {
1658
+ calls: {
1659
+ to: string;
1660
+ data?: string | undefined;
1661
+ value?: string | undefined;
1662
+ }[];
1663
+ chainId?: string | number | undefined;
1664
+ from?: string | undefined;
1665
+ version?: string | undefined;
1666
+ capabilities?: any;
1667
+ }, {
1668
+ calls: {
1669
+ to: string;
1670
+ data?: string | undefined;
1671
+ value?: string | undefined;
1672
+ }[];
1673
+ chainId?: string | number | undefined;
1674
+ from?: string | undefined;
1675
+ version?: string | undefined;
1676
+ capabilities?: any;
1677
+ }>, "many">;
1678
+ }, "strip", z.ZodTypeAny, {
1679
+ params: {
1680
+ calls: {
1681
+ to: string;
1682
+ data?: string | undefined;
1683
+ value?: string | undefined;
1684
+ }[];
1685
+ chainId?: string | number | undefined;
1686
+ from?: string | undefined;
1687
+ version?: string | undefined;
1688
+ capabilities?: any;
1689
+ }[];
1690
+ method: "wallet_sendCalls";
1691
+ }, {
1692
+ params: {
1693
+ calls: {
1694
+ to: string;
1695
+ data?: string | undefined;
1696
+ value?: string | undefined;
1697
+ }[];
1698
+ chainId?: string | number | undefined;
1699
+ from?: string | undefined;
1700
+ version?: string | undefined;
1701
+ capabilities?: any;
1702
+ }[];
1703
+ method: "wallet_sendCalls";
1704
+ }>]>, z.ZodObject<{
1705
+ method: z.ZodLiteral<"wallet_getCapabilities">;
1706
+ }, "strip", z.ZodTypeAny, {
1707
+ method: "wallet_getCapabilities";
1708
+ }, {
1709
+ method: "wallet_getCapabilities";
1710
+ }>]>, z.ZodObject<{
1711
+ method: z.ZodLiteral<"wallet_grantPermissions">;
1712
+ params: z.ZodArray<z.ZodAny, "many">;
1713
+ }, "strip", z.ZodTypeAny, {
1714
+ params: any[];
1715
+ method: "wallet_grantPermissions";
1716
+ }, {
1717
+ params: any[];
1718
+ method: "wallet_grantPermissions";
1719
+ }>]>;
1720
+ }, "strip", z.ZodTypeAny, {
1721
+ type: "@w3m-app/RPC_REQUEST";
1722
+ payload: {
1723
+ method: "eth_accounts";
1724
+ } | {
1725
+ method: "eth_blockNumber";
1726
+ } | {
1727
+ params: any[];
1728
+ method: "eth_call";
1729
+ } | {
1730
+ method: "eth_chainId";
1731
+ } | {
1732
+ params: any[];
1733
+ method: "eth_estimateGas";
1734
+ } | {
1735
+ params: any[];
1736
+ method: "eth_feeHistory";
1737
+ } | {
1738
+ method: "eth_gasPrice";
1739
+ } | {
1740
+ params: any[];
1741
+ method: "eth_getAccount";
1742
+ } | {
1743
+ params: any[];
1744
+ method: "eth_getBalance";
1745
+ } | {
1746
+ params: any[];
1747
+ method: "eth_getBlockByHash";
1748
+ } | {
1749
+ params: any[];
1750
+ method: "eth_getBlockByNumber";
1751
+ } | {
1752
+ params: any[];
1753
+ method: "eth_getBlockReceipts";
1754
+ } | {
1755
+ params: any[];
1756
+ method: "eth_getBlockTransactionCountByHash";
1757
+ } | {
1758
+ params: any[];
1759
+ method: "eth_getBlockTransactionCountByNumber";
1760
+ } | {
1761
+ params: any[];
1762
+ method: "eth_getCode";
1763
+ } | {
1764
+ params: any[];
1765
+ method: "eth_getFilterChanges";
1766
+ } | {
1767
+ params: any[];
1768
+ method: "eth_getFilterLogs";
1769
+ } | {
1770
+ params: any[];
1771
+ method: "eth_getLogs";
1772
+ } | {
1773
+ params: any[];
1774
+ method: "eth_getProof";
1775
+ } | {
1776
+ params: any[];
1777
+ method: "eth_getStorageAt";
1778
+ } | {
1779
+ params: any[];
1780
+ method: "eth_getTransactionByBlockHashAndIndex";
1781
+ } | {
1782
+ params: any[];
1783
+ method: "eth_getTransactionByBlockNumberAndIndex";
1784
+ } | {
1785
+ params: any[];
1786
+ method: "eth_getTransactionByHash";
1787
+ } | {
1788
+ params: any[];
1789
+ method: "eth_getTransactionCount";
1790
+ } | {
1791
+ params: any[];
1792
+ method: "eth_getTransactionReceipt";
1793
+ } | {
1794
+ params: any[];
1795
+ method: "eth_getUncleCountByBlockHash";
1796
+ } | {
1797
+ params: any[];
1798
+ method: "eth_getUncleCountByBlockNumber";
1799
+ } | {
1800
+ method: "eth_maxPriorityFeePerGas";
1801
+ } | {
1802
+ method: "eth_newBlockFilter";
1803
+ } | {
1804
+ params: any[];
1805
+ method: "eth_newFilter";
1806
+ } | {
1807
+ method: "eth_newPendingTransactionFilter";
1808
+ } | {
1809
+ params: any[];
1810
+ method: "eth_sendRawTransaction";
1811
+ } | {
1812
+ params: any[];
1813
+ method: "eth_syncing";
1814
+ } | {
1815
+ params: any[];
1816
+ method: "eth_uninstallFilter";
1817
+ } | {
1818
+ params: any[];
1819
+ method: "personal_sign";
1820
+ } | {
1821
+ params: any[];
1822
+ method: "eth_signTypedData_v4";
1823
+ } | {
1824
+ params: any[];
1825
+ method: "eth_sendTransaction";
1826
+ } | {
1827
+ params: {
1828
+ message: string;
1829
+ pubkey: string;
1830
+ };
1831
+ method: "solana_signMessage";
1832
+ } | {
1833
+ params: {
1834
+ transaction: string;
1835
+ };
1836
+ method: "solana_signTransaction";
1837
+ } | {
1838
+ params: {
1839
+ transactions: string[];
1840
+ };
1841
+ method: "solana_signAllTransactions";
1842
+ } | {
1843
+ params: {
1844
+ transaction: string;
1845
+ options?: {
1846
+ skipPreflight?: boolean | undefined;
1847
+ preflightCommitment?: "max" | "processed" | "confirmed" | "finalized" | "recent" | "single" | "singleGossip" | "root" | undefined;
1848
+ maxRetries?: number | undefined;
1849
+ minContextSlot?: number | undefined;
1850
+ } | undefined;
1851
+ };
1852
+ method: "solana_signAndSendTransaction";
1853
+ } | {
1854
+ params: {
1855
+ calls: {
1856
+ to: string;
1857
+ data?: string | undefined;
1858
+ value?: string | undefined;
1859
+ }[];
1860
+ chainId?: string | number | undefined;
1861
+ from?: string | undefined;
1862
+ version?: string | undefined;
1863
+ capabilities?: any;
1864
+ }[];
1865
+ method: "wallet_sendCalls";
1866
+ } | {
1867
+ params: string[];
1868
+ method: "wallet_getCallsStatus";
1869
+ } | {
1870
+ method: "wallet_getCapabilities";
1871
+ } | {
1872
+ params: any[];
1873
+ method: "wallet_grantPermissions";
1874
+ };
1875
+ id?: string | undefined;
1876
+ }, {
1877
+ type: "@w3m-app/RPC_REQUEST";
1878
+ payload: {
1879
+ method: "eth_accounts";
1880
+ } | {
1881
+ method: "eth_blockNumber";
1882
+ } | {
1883
+ params: any[];
1884
+ method: "eth_call";
1885
+ } | {
1886
+ method: "eth_chainId";
1887
+ } | {
1888
+ params: any[];
1889
+ method: "eth_estimateGas";
1890
+ } | {
1891
+ params: any[];
1892
+ method: "eth_feeHistory";
1893
+ } | {
1894
+ method: "eth_gasPrice";
1895
+ } | {
1896
+ params: any[];
1897
+ method: "eth_getAccount";
1898
+ } | {
1899
+ params: any[];
1900
+ method: "eth_getBalance";
1901
+ } | {
1902
+ params: any[];
1903
+ method: "eth_getBlockByHash";
1904
+ } | {
1905
+ params: any[];
1906
+ method: "eth_getBlockByNumber";
1907
+ } | {
1908
+ params: any[];
1909
+ method: "eth_getBlockReceipts";
1910
+ } | {
1911
+ params: any[];
1912
+ method: "eth_getBlockTransactionCountByHash";
1913
+ } | {
1914
+ params: any[];
1915
+ method: "eth_getBlockTransactionCountByNumber";
1916
+ } | {
1917
+ params: any[];
1918
+ method: "eth_getCode";
1919
+ } | {
1920
+ params: any[];
1921
+ method: "eth_getFilterChanges";
1922
+ } | {
1923
+ params: any[];
1924
+ method: "eth_getFilterLogs";
1925
+ } | {
1926
+ params: any[];
1927
+ method: "eth_getLogs";
1928
+ } | {
1929
+ params: any[];
1930
+ method: "eth_getProof";
1931
+ } | {
1932
+ params: any[];
1933
+ method: "eth_getStorageAt";
1934
+ } | {
1935
+ params: any[];
1936
+ method: "eth_getTransactionByBlockHashAndIndex";
1937
+ } | {
1938
+ params: any[];
1939
+ method: "eth_getTransactionByBlockNumberAndIndex";
1940
+ } | {
1941
+ params: any[];
1942
+ method: "eth_getTransactionByHash";
1943
+ } | {
1944
+ params: any[];
1945
+ method: "eth_getTransactionCount";
1946
+ } | {
1947
+ params: any[];
1948
+ method: "eth_getTransactionReceipt";
1949
+ } | {
1950
+ params: any[];
1951
+ method: "eth_getUncleCountByBlockHash";
1952
+ } | {
1953
+ params: any[];
1954
+ method: "eth_getUncleCountByBlockNumber";
1955
+ } | {
1956
+ method: "eth_maxPriorityFeePerGas";
1957
+ } | {
1958
+ method: "eth_newBlockFilter";
1959
+ } | {
1960
+ params: any[];
1961
+ method: "eth_newFilter";
1962
+ } | {
1963
+ method: "eth_newPendingTransactionFilter";
1964
+ } | {
1965
+ params: any[];
1966
+ method: "eth_sendRawTransaction";
1967
+ } | {
1968
+ params: any[];
1969
+ method: "eth_syncing";
1970
+ } | {
1971
+ params: any[];
1972
+ method: "eth_uninstallFilter";
1973
+ } | {
1974
+ params: any[];
1975
+ method: "personal_sign";
1976
+ } | {
1977
+ params: any[];
1978
+ method: "eth_signTypedData_v4";
1979
+ } | {
1980
+ params: any[];
1981
+ method: "eth_sendTransaction";
1982
+ } | {
1983
+ params: {
1984
+ message: string;
1985
+ pubkey: string;
1986
+ };
1987
+ method: "solana_signMessage";
1988
+ } | {
1989
+ params: {
1990
+ transaction: string;
1991
+ };
1992
+ method: "solana_signTransaction";
1993
+ } | {
1994
+ params: {
1995
+ transactions: string[];
1996
+ };
1997
+ method: "solana_signAllTransactions";
1998
+ } | {
1999
+ params: {
2000
+ transaction: string;
2001
+ options?: {
2002
+ skipPreflight?: boolean | undefined;
2003
+ preflightCommitment?: "max" | "processed" | "confirmed" | "finalized" | "recent" | "single" | "singleGossip" | "root" | undefined;
2004
+ maxRetries?: number | undefined;
2005
+ minContextSlot?: number | undefined;
2006
+ } | undefined;
2007
+ };
2008
+ method: "solana_signAndSendTransaction";
2009
+ } | {
2010
+ params: {
2011
+ calls: {
2012
+ to: string;
2013
+ data?: string | undefined;
2014
+ value?: string | undefined;
2015
+ }[];
2016
+ chainId?: string | number | undefined;
2017
+ from?: string | undefined;
2018
+ version?: string | undefined;
2019
+ capabilities?: any;
2020
+ }[];
2021
+ method: "wallet_sendCalls";
2022
+ } | {
2023
+ params: string[];
2024
+ method: "wallet_getCallsStatus";
2025
+ } | {
2026
+ method: "wallet_getCapabilities";
2027
+ } | {
2028
+ params: any[];
2029
+ method: "wallet_grantPermissions";
2030
+ };
2031
+ id?: string | undefined;
2032
+ }>]>, z.ZodObject<{
2033
+ id: z.ZodOptional<z.ZodString>;
2034
+ type: z.ZodLiteral<"@w3m-app/UPDATE_EMAIL">;
2035
+ payload: z.ZodObject<{
2036
+ email: z.ZodString;
2037
+ }, "strip", z.ZodTypeAny, {
2038
+ email: string;
2039
+ }, {
2040
+ email: string;
2041
+ }>;
2042
+ }, "strip", z.ZodTypeAny, {
2043
+ type: "@w3m-app/UPDATE_EMAIL";
2044
+ payload: {
2045
+ email: string;
2046
+ };
2047
+ id?: string | undefined;
2048
+ }, {
2049
+ type: "@w3m-app/UPDATE_EMAIL";
2050
+ payload: {
2051
+ email: string;
2052
+ };
2053
+ id?: string | undefined;
2054
+ }>]>, z.ZodObject<{
2055
+ id: z.ZodOptional<z.ZodString>;
2056
+ type: z.ZodLiteral<"@w3m-app/UPDATE_EMAIL_PRIMARY_OTP">;
2057
+ payload: z.ZodObject<{
2058
+ otp: z.ZodString;
2059
+ }, "strip", z.ZodTypeAny, {
2060
+ otp: string;
2061
+ }, {
2062
+ otp: string;
2063
+ }>;
2064
+ }, "strip", z.ZodTypeAny, {
2065
+ type: "@w3m-app/UPDATE_EMAIL_PRIMARY_OTP";
2066
+ payload: {
2067
+ otp: string;
2068
+ };
2069
+ id?: string | undefined;
2070
+ }, {
2071
+ type: "@w3m-app/UPDATE_EMAIL_PRIMARY_OTP";
2072
+ payload: {
2073
+ otp: string;
2074
+ };
2075
+ id?: string | undefined;
2076
+ }>]>, z.ZodObject<{
2077
+ id: z.ZodOptional<z.ZodString>;
2078
+ type: z.ZodLiteral<"@w3m-app/UPDATE_EMAIL_SECONDARY_OTP">;
2079
+ payload: z.ZodObject<{
2080
+ otp: z.ZodString;
2081
+ }, "strip", z.ZodTypeAny, {
2082
+ otp: string;
2083
+ }, {
2084
+ otp: string;
2085
+ }>;
2086
+ }, "strip", z.ZodTypeAny, {
2087
+ type: "@w3m-app/UPDATE_EMAIL_SECONDARY_OTP";
2088
+ payload: {
2089
+ otp: string;
2090
+ };
2091
+ id?: string | undefined;
2092
+ }, {
2093
+ type: "@w3m-app/UPDATE_EMAIL_SECONDARY_OTP";
2094
+ payload: {
2095
+ otp: string;
2096
+ };
2097
+ id?: string | undefined;
2098
+ }>]>, z.ZodObject<{
2099
+ id: z.ZodOptional<z.ZodString>;
2100
+ type: z.ZodLiteral<"@w3m-app/SYNC_THEME">;
2101
+ payload: z.ZodObject<{
2102
+ themeMode: z.ZodOptional<z.ZodEnum<["light", "dark"]>>;
2103
+ themeVariables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
2104
+ w3mThemeVariables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2105
+ }, "strip", z.ZodTypeAny, {
2106
+ themeMode?: "light" | "dark" | undefined;
2107
+ themeVariables?: Record<string, string | number> | undefined;
2108
+ w3mThemeVariables?: Record<string, string> | undefined;
2109
+ }, {
2110
+ themeMode?: "light" | "dark" | undefined;
2111
+ themeVariables?: Record<string, string | number> | undefined;
2112
+ w3mThemeVariables?: Record<string, string> | undefined;
2113
+ }>;
2114
+ }, "strip", z.ZodTypeAny, {
2115
+ type: "@w3m-app/SYNC_THEME";
2116
+ payload: {
2117
+ themeMode?: "light" | "dark" | undefined;
2118
+ themeVariables?: Record<string, string | number> | undefined;
2119
+ w3mThemeVariables?: Record<string, string> | undefined;
2120
+ };
2121
+ id?: string | undefined;
2122
+ }, {
2123
+ type: "@w3m-app/SYNC_THEME";
2124
+ payload: {
2125
+ themeMode?: "light" | "dark" | undefined;
2126
+ themeVariables?: Record<string, string | number> | undefined;
2127
+ w3mThemeVariables?: Record<string, string> | undefined;
2128
+ };
2129
+ id?: string | undefined;
2130
+ }>]>, z.ZodObject<{
2131
+ id: z.ZodOptional<z.ZodString>;
2132
+ type: z.ZodLiteral<"@w3m-app/SYNC_DAPP_DATA">;
2133
+ payload: z.ZodObject<{
2134
+ metadata: z.ZodOptional<z.ZodObject<{
2135
+ name: z.ZodString;
2136
+ description: z.ZodString;
2137
+ url: z.ZodString;
2138
+ icons: z.ZodArray<z.ZodString, "many">;
2139
+ }, "strip", z.ZodTypeAny, {
2140
+ url: string;
2141
+ name: string;
2142
+ description: string;
2143
+ icons: string[];
2144
+ }, {
2145
+ url: string;
2146
+ name: string;
2147
+ description: string;
2148
+ icons: string[];
2149
+ }>>;
2150
+ sdkVersion: z.ZodType<`html-wagmi-${string}` | `react-wagmi-${string}` | `vue-wagmi-${string}` | `html-ethers5-${string}` | `react-ethers5-${string}` | `vue-ethers5-${string}` | `html-ethers-${string}` | `react-ethers-${string}` | `vue-ethers-${string}` | `html-solana-${string}` | `react-solana-${string}` | `vue-solana-${string}` | `html-multichain-${string}` | `react-multichain-${string}` | `vue-multichain-${string}`, z.ZodTypeDef, `html-wagmi-${string}` | `react-wagmi-${string}` | `vue-wagmi-${string}` | `html-ethers5-${string}` | `react-ethers5-${string}` | `vue-ethers5-${string}` | `html-ethers-${string}` | `react-ethers-${string}` | `vue-ethers-${string}` | `html-solana-${string}` | `react-solana-${string}` | `vue-solana-${string}` | `html-multichain-${string}` | `react-multichain-${string}` | `vue-multichain-${string}`>;
2151
+ projectId: z.ZodString;
2152
+ }, "strip", z.ZodTypeAny, {
2153
+ projectId: string;
2154
+ sdkVersion: (`html-wagmi-${string}` | `react-wagmi-${string}` | `vue-wagmi-${string}` | `html-ethers5-${string}` | `react-ethers5-${string}` | `vue-ethers5-${string}` | `html-ethers-${string}` | `react-ethers-${string}` | `vue-ethers-${string}` | `html-solana-${string}` | `react-solana-${string}` | `vue-solana-${string}` | `html-multichain-${string}` | `react-multichain-${string}` | `vue-multichain-${string}`) & (`html-wagmi-${string}` | `react-wagmi-${string}` | `vue-wagmi-${string}` | `html-ethers5-${string}` | `react-ethers5-${string}` | `vue-ethers5-${string}` | `html-ethers-${string}` | `react-ethers-${string}` | `vue-ethers-${string}` | `html-solana-${string}` | `react-solana-${string}` | `vue-solana-${string}` | `html-multichain-${string}` | `react-multichain-${string}` | `vue-multichain-${string}` | undefined);
2155
+ metadata?: {
2156
+ url: string;
2157
+ name: string;
2158
+ description: string;
2159
+ icons: string[];
2160
+ } | undefined;
2161
+ }, {
2162
+ projectId: string;
2163
+ sdkVersion: (`html-wagmi-${string}` | `react-wagmi-${string}` | `vue-wagmi-${string}` | `html-ethers5-${string}` | `react-ethers5-${string}` | `vue-ethers5-${string}` | `html-ethers-${string}` | `react-ethers-${string}` | `vue-ethers-${string}` | `html-solana-${string}` | `react-solana-${string}` | `vue-solana-${string}` | `html-multichain-${string}` | `react-multichain-${string}` | `vue-multichain-${string}`) & (`html-wagmi-${string}` | `react-wagmi-${string}` | `vue-wagmi-${string}` | `html-ethers5-${string}` | `react-ethers5-${string}` | `vue-ethers5-${string}` | `html-ethers-${string}` | `react-ethers-${string}` | `vue-ethers-${string}` | `html-solana-${string}` | `react-solana-${string}` | `vue-solana-${string}` | `html-multichain-${string}` | `react-multichain-${string}` | `vue-multichain-${string}` | undefined);
2164
+ metadata?: {
2165
+ url: string;
2166
+ name: string;
2167
+ description: string;
2168
+ icons: string[];
2169
+ } | undefined;
2170
+ }>;
2171
+ }, "strip", z.ZodTypeAny, {
2172
+ type: "@w3m-app/SYNC_DAPP_DATA";
2173
+ payload: {
2174
+ projectId: string;
2175
+ sdkVersion: (`html-wagmi-${string}` | `react-wagmi-${string}` | `vue-wagmi-${string}` | `html-ethers5-${string}` | `react-ethers5-${string}` | `vue-ethers5-${string}` | `html-ethers-${string}` | `react-ethers-${string}` | `vue-ethers-${string}` | `html-solana-${string}` | `react-solana-${string}` | `vue-solana-${string}` | `html-multichain-${string}` | `react-multichain-${string}` | `vue-multichain-${string}`) & (`html-wagmi-${string}` | `react-wagmi-${string}` | `vue-wagmi-${string}` | `html-ethers5-${string}` | `react-ethers5-${string}` | `vue-ethers5-${string}` | `html-ethers-${string}` | `react-ethers-${string}` | `vue-ethers-${string}` | `html-solana-${string}` | `react-solana-${string}` | `vue-solana-${string}` | `html-multichain-${string}` | `react-multichain-${string}` | `vue-multichain-${string}` | undefined);
2176
+ metadata?: {
2177
+ url: string;
2178
+ name: string;
2179
+ description: string;
2180
+ icons: string[];
2181
+ } | undefined;
2182
+ };
2183
+ id?: string | undefined;
2184
+ }, {
2185
+ type: "@w3m-app/SYNC_DAPP_DATA";
2186
+ payload: {
2187
+ projectId: string;
2188
+ sdkVersion: (`html-wagmi-${string}` | `react-wagmi-${string}` | `vue-wagmi-${string}` | `html-ethers5-${string}` | `react-ethers5-${string}` | `vue-ethers5-${string}` | `html-ethers-${string}` | `react-ethers-${string}` | `vue-ethers-${string}` | `html-solana-${string}` | `react-solana-${string}` | `vue-solana-${string}` | `html-multichain-${string}` | `react-multichain-${string}` | `vue-multichain-${string}`) & (`html-wagmi-${string}` | `react-wagmi-${string}` | `vue-wagmi-${string}` | `html-ethers5-${string}` | `react-ethers5-${string}` | `vue-ethers5-${string}` | `html-ethers-${string}` | `react-ethers-${string}` | `vue-ethers-${string}` | `html-solana-${string}` | `react-solana-${string}` | `vue-solana-${string}` | `html-multichain-${string}` | `react-multichain-${string}` | `vue-multichain-${string}` | undefined);
2189
+ metadata?: {
2190
+ url: string;
2191
+ name: string;
2192
+ description: string;
2193
+ icons: string[];
2194
+ } | undefined;
2195
+ };
2196
+ id?: string | undefined;
2197
+ }>]>;
2198
+ frameEvent: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2199
+ id: z.ZodOptional<z.ZodString>;
2200
+ type: z.ZodLiteral<"@w3m-frame/SWITCH_NETWORK_ERROR">;
2201
+ payload: z.ZodObject<{
2202
+ message: z.ZodString;
2203
+ }, "strip", z.ZodTypeAny, {
2204
+ message: string;
2205
+ }, {
2206
+ message: string;
2207
+ }>;
2208
+ }, "strip", z.ZodTypeAny, {
2209
+ type: "@w3m-frame/SWITCH_NETWORK_ERROR";
2210
+ payload: {
2211
+ message: string;
2212
+ };
2213
+ id?: string | undefined;
2214
+ }, {
2215
+ type: "@w3m-frame/SWITCH_NETWORK_ERROR";
2216
+ payload: {
2217
+ message: string;
2218
+ };
2219
+ id?: string | undefined;
2220
+ }>, z.ZodObject<{
2221
+ id: z.ZodOptional<z.ZodString>;
2222
+ type: z.ZodLiteral<"@w3m-frame/SWITCH_NETWORK_SUCCESS">;
2223
+ payload: z.ZodObject<{
2224
+ chainId: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
2225
+ }, "strip", z.ZodTypeAny, {
2226
+ chainId: string | number;
2227
+ }, {
2228
+ chainId: string | number;
2229
+ }>;
2230
+ }, "strip", z.ZodTypeAny, {
2231
+ type: "@w3m-frame/SWITCH_NETWORK_SUCCESS";
2232
+ payload: {
2233
+ chainId: string | number;
2234
+ };
2235
+ id?: string | undefined;
2236
+ }, {
2237
+ type: "@w3m-frame/SWITCH_NETWORK_SUCCESS";
2238
+ payload: {
2239
+ chainId: string | number;
2240
+ };
2241
+ id?: string | undefined;
2242
+ }>]>, z.ZodObject<{
2243
+ id: z.ZodOptional<z.ZodString>;
2244
+ type: z.ZodLiteral<"@w3m-frame/CONNECT_EMAIL_SUCCESS">;
2245
+ payload: z.ZodObject<{
2246
+ action: z.ZodEnum<["VERIFY_DEVICE", "VERIFY_OTP"]>;
2247
+ }, "strip", z.ZodTypeAny, {
2248
+ action: "VERIFY_DEVICE" | "VERIFY_OTP";
2249
+ }, {
2250
+ action: "VERIFY_DEVICE" | "VERIFY_OTP";
2251
+ }>;
2252
+ }, "strip", z.ZodTypeAny, {
2253
+ type: "@w3m-frame/CONNECT_EMAIL_SUCCESS";
2254
+ payload: {
2255
+ action: "VERIFY_DEVICE" | "VERIFY_OTP";
2256
+ };
2257
+ id?: string | undefined;
2258
+ }, {
2259
+ type: "@w3m-frame/CONNECT_EMAIL_SUCCESS";
2260
+ payload: {
2261
+ action: "VERIFY_DEVICE" | "VERIFY_OTP";
2262
+ };
2263
+ id?: string | undefined;
2264
+ }>]>, z.ZodObject<{
2265
+ id: z.ZodOptional<z.ZodString>;
2266
+ type: z.ZodLiteral<"@w3m-frame/CONNECT_EMAIL_ERROR">;
2267
+ payload: z.ZodObject<{
2268
+ message: z.ZodString;
2269
+ }, "strip", z.ZodTypeAny, {
2270
+ message: string;
2271
+ }, {
2272
+ message: string;
2273
+ }>;
2274
+ }, "strip", z.ZodTypeAny, {
2275
+ type: "@w3m-frame/CONNECT_EMAIL_ERROR";
2276
+ payload: {
2277
+ message: string;
2278
+ };
2279
+ id?: string | undefined;
2280
+ }, {
2281
+ type: "@w3m-frame/CONNECT_EMAIL_ERROR";
2282
+ payload: {
2283
+ message: string;
2284
+ };
2285
+ id?: string | undefined;
2286
+ }>]>, z.ZodObject<{
2287
+ id: z.ZodOptional<z.ZodString>;
2288
+ type: z.ZodLiteral<"@w3m-frame/GET_FARCASTER_URI_SUCCESS">;
2289
+ payload: z.ZodObject<{
2290
+ url: z.ZodString;
2291
+ }, "strip", z.ZodTypeAny, {
2292
+ url: string;
2293
+ }, {
2294
+ url: string;
2295
+ }>;
2296
+ }, "strip", z.ZodTypeAny, {
2297
+ type: "@w3m-frame/GET_FARCASTER_URI_SUCCESS";
2298
+ payload: {
2299
+ url: string;
2300
+ };
2301
+ id?: string | undefined;
2302
+ }, {
2303
+ type: "@w3m-frame/GET_FARCASTER_URI_SUCCESS";
2304
+ payload: {
2305
+ url: string;
2306
+ };
2307
+ id?: string | undefined;
2308
+ }>]>, z.ZodObject<{
2309
+ id: z.ZodOptional<z.ZodString>;
2310
+ type: z.ZodLiteral<"@w3m-frame/GET_FARCASTER_URI_ERROR">;
2311
+ payload: z.ZodObject<{
2312
+ message: z.ZodString;
2313
+ }, "strip", z.ZodTypeAny, {
2314
+ message: string;
2315
+ }, {
2316
+ message: string;
2317
+ }>;
2318
+ }, "strip", z.ZodTypeAny, {
2319
+ type: "@w3m-frame/GET_FARCASTER_URI_ERROR";
2320
+ payload: {
2321
+ message: string;
2322
+ };
2323
+ id?: string | undefined;
2324
+ }, {
2325
+ type: "@w3m-frame/GET_FARCASTER_URI_ERROR";
2326
+ payload: {
2327
+ message: string;
2328
+ };
2329
+ id?: string | undefined;
2330
+ }>]>, z.ZodObject<{
2331
+ id: z.ZodOptional<z.ZodString>;
2332
+ type: z.ZodLiteral<"@w3m-frame/CONNECT_FARCASTER_SUCCESS">;
2333
+ payload: z.ZodObject<{
2334
+ userName: z.ZodString;
2335
+ }, "strip", z.ZodTypeAny, {
2336
+ userName: string;
2337
+ }, {
2338
+ userName: string;
2339
+ }>;
2340
+ }, "strip", z.ZodTypeAny, {
2341
+ type: "@w3m-frame/CONNECT_FARCASTER_SUCCESS";
2342
+ payload: {
2343
+ userName: string;
2344
+ };
2345
+ id?: string | undefined;
2346
+ }, {
2347
+ type: "@w3m-frame/CONNECT_FARCASTER_SUCCESS";
2348
+ payload: {
2349
+ userName: string;
2350
+ };
2351
+ id?: string | undefined;
2352
+ }>]>, z.ZodObject<{
2353
+ id: z.ZodOptional<z.ZodString>;
2354
+ type: z.ZodLiteral<"@w3m-frame/CONNECT_FARCASTER_ERROR">;
2355
+ payload: z.ZodObject<{
2356
+ message: z.ZodString;
2357
+ }, "strip", z.ZodTypeAny, {
2358
+ message: string;
2359
+ }, {
2360
+ message: string;
2361
+ }>;
2362
+ }, "strip", z.ZodTypeAny, {
2363
+ type: "@w3m-frame/CONNECT_FARCASTER_ERROR";
2364
+ payload: {
2365
+ message: string;
2366
+ };
2367
+ id?: string | undefined;
2368
+ }, {
2369
+ type: "@w3m-frame/CONNECT_FARCASTER_ERROR";
2370
+ payload: {
2371
+ message: string;
2372
+ };
2373
+ id?: string | undefined;
2374
+ }>]>, z.ZodObject<{
2375
+ id: z.ZodOptional<z.ZodString>;
2376
+ type: z.ZodLiteral<"@w3m-frame/CONNECT_OTP_ERROR">;
2377
+ payload: z.ZodObject<{
2378
+ message: z.ZodString;
2379
+ }, "strip", z.ZodTypeAny, {
2380
+ message: string;
2381
+ }, {
2382
+ message: string;
2383
+ }>;
2384
+ }, "strip", z.ZodTypeAny, {
2385
+ type: "@w3m-frame/CONNECT_OTP_ERROR";
2386
+ payload: {
2387
+ message: string;
2388
+ };
2389
+ id?: string | undefined;
2390
+ }, {
2391
+ type: "@w3m-frame/CONNECT_OTP_ERROR";
2392
+ payload: {
2393
+ message: string;
2394
+ };
2395
+ id?: string | undefined;
2396
+ }>]>, z.ZodObject<{
2397
+ id: z.ZodOptional<z.ZodString>;
2398
+ type: z.ZodLiteral<"@w3m-frame/CONNECT_OTP_SUCCESS">;
2399
+ }, "strip", z.ZodTypeAny, {
2400
+ type: "@w3m-frame/CONNECT_OTP_SUCCESS";
2401
+ id?: string | undefined;
2402
+ }, {
2403
+ type: "@w3m-frame/CONNECT_OTP_SUCCESS";
2404
+ id?: string | undefined;
2405
+ }>]>, z.ZodObject<{
2406
+ id: z.ZodOptional<z.ZodString>;
2407
+ type: z.ZodLiteral<"@w3m-frame/CONNECT_DEVICE_ERROR">;
2408
+ payload: z.ZodObject<{
2409
+ message: z.ZodString;
2410
+ }, "strip", z.ZodTypeAny, {
2411
+ message: string;
2412
+ }, {
2413
+ message: string;
2414
+ }>;
2415
+ }, "strip", z.ZodTypeAny, {
2416
+ type: "@w3m-frame/CONNECT_DEVICE_ERROR";
2417
+ payload: {
2418
+ message: string;
2419
+ };
2420
+ id?: string | undefined;
2421
+ }, {
2422
+ type: "@w3m-frame/CONNECT_DEVICE_ERROR";
2423
+ payload: {
2424
+ message: string;
2425
+ };
2426
+ id?: string | undefined;
2427
+ }>]>, z.ZodObject<{
2428
+ id: z.ZodOptional<z.ZodString>;
2429
+ type: z.ZodLiteral<"@w3m-frame/CONNECT_DEVICE_SUCCESS">;
2430
+ }, "strip", z.ZodTypeAny, {
2431
+ type: "@w3m-frame/CONNECT_DEVICE_SUCCESS";
2432
+ id?: string | undefined;
2433
+ }, {
2434
+ type: "@w3m-frame/CONNECT_DEVICE_SUCCESS";
2435
+ id?: string | undefined;
2436
+ }>]>, z.ZodObject<{
2437
+ id: z.ZodOptional<z.ZodString>;
2438
+ type: z.ZodLiteral<"@w3m-frame/CONNECT_SOCIAL_SUCCESS">;
2439
+ payload: z.ZodObject<{
2440
+ email: z.ZodString;
2441
+ address: z.ZodString;
2442
+ chainId: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
2443
+ accounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
2444
+ address: z.ZodString;
2445
+ type: z.ZodEnum<["eoa", "smartAccount"]>;
2446
+ }, "strip", z.ZodTypeAny, {
2447
+ type: "eoa" | "smartAccount";
2448
+ address: string;
2449
+ }, {
2450
+ type: "eoa" | "smartAccount";
2451
+ address: string;
2452
+ }>, "many">>;
2453
+ userName: z.ZodOptional<z.ZodString>;
2454
+ }, "strip", z.ZodTypeAny, {
2455
+ chainId: string | number;
2456
+ email: string;
2457
+ address: string;
2458
+ accounts?: {
2459
+ type: "eoa" | "smartAccount";
2460
+ address: string;
2461
+ }[] | undefined;
2462
+ userName?: string | undefined;
2463
+ }, {
2464
+ chainId: string | number;
2465
+ email: string;
2466
+ address: string;
2467
+ accounts?: {
2468
+ type: "eoa" | "smartAccount";
2469
+ address: string;
2470
+ }[] | undefined;
2471
+ userName?: string | undefined;
2472
+ }>;
2473
+ }, "strip", z.ZodTypeAny, {
2474
+ type: "@w3m-frame/CONNECT_SOCIAL_SUCCESS";
2475
+ payload: {
2476
+ chainId: string | number;
2477
+ email: string;
2478
+ address: string;
2479
+ accounts?: {
2480
+ type: "eoa" | "smartAccount";
2481
+ address: string;
2482
+ }[] | undefined;
2483
+ userName?: string | undefined;
2484
+ };
2485
+ id?: string | undefined;
2486
+ }, {
2487
+ type: "@w3m-frame/CONNECT_SOCIAL_SUCCESS";
2488
+ payload: {
2489
+ chainId: string | number;
2490
+ email: string;
2491
+ address: string;
2492
+ accounts?: {
2493
+ type: "eoa" | "smartAccount";
2494
+ address: string;
2495
+ }[] | undefined;
2496
+ userName?: string | undefined;
2497
+ };
2498
+ id?: string | undefined;
2499
+ }>]>, z.ZodObject<{
2500
+ id: z.ZodOptional<z.ZodString>;
2501
+ type: z.ZodLiteral<"@w3m-frame/CONNECT_SOCIAL_ERROR">;
2502
+ payload: z.ZodObject<{
2503
+ message: z.ZodString;
2504
+ }, "strip", z.ZodTypeAny, {
2505
+ message: string;
2506
+ }, {
2507
+ message: string;
2508
+ }>;
2509
+ }, "strip", z.ZodTypeAny, {
2510
+ type: "@w3m-frame/CONNECT_SOCIAL_ERROR";
2511
+ payload: {
2512
+ message: string;
2513
+ };
2514
+ id?: string | undefined;
2515
+ }, {
2516
+ type: "@w3m-frame/CONNECT_SOCIAL_ERROR";
2517
+ payload: {
2518
+ message: string;
2519
+ };
2520
+ id?: string | undefined;
2521
+ }>]>, z.ZodObject<{
2522
+ id: z.ZodOptional<z.ZodString>;
2523
+ type: z.ZodLiteral<"@w3m-frame/GET_USER_ERROR">;
2524
+ payload: z.ZodObject<{
2525
+ message: z.ZodString;
2526
+ }, "strip", z.ZodTypeAny, {
2527
+ message: string;
2528
+ }, {
2529
+ message: string;
2530
+ }>;
2531
+ }, "strip", z.ZodTypeAny, {
2532
+ type: "@w3m-frame/GET_USER_ERROR";
2533
+ payload: {
2534
+ message: string;
2535
+ };
2536
+ id?: string | undefined;
2537
+ }, {
2538
+ type: "@w3m-frame/GET_USER_ERROR";
2539
+ payload: {
2540
+ message: string;
2541
+ };
2542
+ id?: string | undefined;
2543
+ }>]>, z.ZodObject<{
2544
+ id: z.ZodOptional<z.ZodString>;
2545
+ type: z.ZodLiteral<"@w3m-frame/GET_USER_SUCCESS">;
2546
+ payload: z.ZodObject<{
2547
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2548
+ address: z.ZodString;
2549
+ chainId: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
2550
+ smartAccountDeployed: z.ZodOptional<z.ZodBoolean>;
2551
+ accounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
2552
+ address: z.ZodString;
2553
+ type: z.ZodEnum<["eoa", "smartAccount"]>;
2554
+ }, "strip", z.ZodTypeAny, {
2555
+ type: "eoa" | "smartAccount";
2556
+ address: string;
2557
+ }, {
2558
+ type: "eoa" | "smartAccount";
2559
+ address: string;
2560
+ }>, "many">>;
2561
+ preferredAccountType: z.ZodOptional<z.ZodString>;
2562
+ }, "strip", z.ZodTypeAny, {
2563
+ chainId: string | number;
2564
+ address: string;
2565
+ email?: string | null | undefined;
2566
+ smartAccountDeployed?: boolean | undefined;
2567
+ accounts?: {
2568
+ type: "eoa" | "smartAccount";
2569
+ address: string;
2570
+ }[] | undefined;
2571
+ preferredAccountType?: string | undefined;
2572
+ }, {
2573
+ chainId: string | number;
2574
+ address: string;
2575
+ email?: string | null | undefined;
2576
+ smartAccountDeployed?: boolean | undefined;
2577
+ accounts?: {
2578
+ type: "eoa" | "smartAccount";
2579
+ address: string;
2580
+ }[] | undefined;
2581
+ preferredAccountType?: string | undefined;
2582
+ }>;
2583
+ }, "strip", z.ZodTypeAny, {
2584
+ type: "@w3m-frame/GET_USER_SUCCESS";
2585
+ payload: {
2586
+ chainId: string | number;
2587
+ address: string;
2588
+ email?: string | null | undefined;
2589
+ smartAccountDeployed?: boolean | undefined;
2590
+ accounts?: {
2591
+ type: "eoa" | "smartAccount";
2592
+ address: string;
2593
+ }[] | undefined;
2594
+ preferredAccountType?: string | undefined;
2595
+ };
2596
+ id?: string | undefined;
2597
+ }, {
2598
+ type: "@w3m-frame/GET_USER_SUCCESS";
2599
+ payload: {
2600
+ chainId: string | number;
2601
+ address: string;
2602
+ email?: string | null | undefined;
2603
+ smartAccountDeployed?: boolean | undefined;
2604
+ accounts?: {
2605
+ type: "eoa" | "smartAccount";
2606
+ address: string;
2607
+ }[] | undefined;
2608
+ preferredAccountType?: string | undefined;
2609
+ };
2610
+ id?: string | undefined;
2611
+ }>]>, z.ZodObject<{
2612
+ id: z.ZodOptional<z.ZodString>;
2613
+ type: z.ZodLiteral<"@w3m-frame/GET_SOCIAL_REDIRECT_URI_ERROR">;
2614
+ payload: z.ZodObject<{
2615
+ message: z.ZodString;
2616
+ }, "strip", z.ZodTypeAny, {
2617
+ message: string;
2618
+ }, {
2619
+ message: string;
2620
+ }>;
2621
+ }, "strip", z.ZodTypeAny, {
2622
+ type: "@w3m-frame/GET_SOCIAL_REDIRECT_URI_ERROR";
2623
+ payload: {
2624
+ message: string;
2625
+ };
2626
+ id?: string | undefined;
2627
+ }, {
2628
+ type: "@w3m-frame/GET_SOCIAL_REDIRECT_URI_ERROR";
2629
+ payload: {
2630
+ message: string;
2631
+ };
2632
+ id?: string | undefined;
2633
+ }>]>, z.ZodObject<{
2634
+ id: z.ZodOptional<z.ZodString>;
2635
+ type: z.ZodLiteral<"@w3m-frame/GET_SOCIAL_REDIRECT_URI_SUCCESS">;
2636
+ payload: z.ZodObject<{
2637
+ uri: z.ZodString;
2638
+ }, "strip", z.ZodTypeAny, {
2639
+ uri: string;
2640
+ }, {
2641
+ uri: string;
2642
+ }>;
2643
+ }, "strip", z.ZodTypeAny, {
2644
+ type: "@w3m-frame/GET_SOCIAL_REDIRECT_URI_SUCCESS";
2645
+ payload: {
2646
+ uri: string;
2647
+ };
2648
+ id?: string | undefined;
2649
+ }, {
2650
+ type: "@w3m-frame/GET_SOCIAL_REDIRECT_URI_SUCCESS";
2651
+ payload: {
2652
+ uri: string;
2653
+ };
2654
+ id?: string | undefined;
2655
+ }>]>, z.ZodObject<{
2656
+ id: z.ZodOptional<z.ZodString>;
2657
+ type: z.ZodLiteral<"@w3m-frame/SIGN_OUT_ERROR">;
2658
+ payload: z.ZodObject<{
2659
+ message: z.ZodString;
2660
+ }, "strip", z.ZodTypeAny, {
2661
+ message: string;
2662
+ }, {
2663
+ message: string;
2664
+ }>;
2665
+ }, "strip", z.ZodTypeAny, {
2666
+ type: "@w3m-frame/SIGN_OUT_ERROR";
2667
+ payload: {
2668
+ message: string;
2669
+ };
2670
+ id?: string | undefined;
2671
+ }, {
2672
+ type: "@w3m-frame/SIGN_OUT_ERROR";
2673
+ payload: {
2674
+ message: string;
2675
+ };
2676
+ id?: string | undefined;
2677
+ }>]>, z.ZodObject<{
2678
+ id: z.ZodOptional<z.ZodString>;
2679
+ type: z.ZodLiteral<"@w3m-frame/SIGN_OUT_SUCCESS">;
2680
+ }, "strip", z.ZodTypeAny, {
2681
+ type: "@w3m-frame/SIGN_OUT_SUCCESS";
2682
+ id?: string | undefined;
2683
+ }, {
2684
+ type: "@w3m-frame/SIGN_OUT_SUCCESS";
2685
+ id?: string | undefined;
2686
+ }>]>, z.ZodObject<{
2687
+ id: z.ZodOptional<z.ZodString>;
2688
+ type: z.ZodLiteral<"@w3m-frame/IS_CONNECTED_ERROR">;
2689
+ payload: z.ZodObject<{
2690
+ message: z.ZodString;
2691
+ }, "strip", z.ZodTypeAny, {
2692
+ message: string;
2693
+ }, {
2694
+ message: string;
2695
+ }>;
2696
+ }, "strip", z.ZodTypeAny, {
2697
+ type: "@w3m-frame/IS_CONNECTED_ERROR";
2698
+ payload: {
2699
+ message: string;
2700
+ };
2701
+ id?: string | undefined;
2702
+ }, {
2703
+ type: "@w3m-frame/IS_CONNECTED_ERROR";
2704
+ payload: {
2705
+ message: string;
2706
+ };
2707
+ id?: string | undefined;
2708
+ }>]>, z.ZodObject<{
2709
+ id: z.ZodOptional<z.ZodString>;
2710
+ type: z.ZodLiteral<"@w3m-frame/IS_CONNECTED_SUCCESS">;
2711
+ payload: z.ZodObject<{
2712
+ isConnected: z.ZodBoolean;
2713
+ }, "strip", z.ZodTypeAny, {
2714
+ isConnected: boolean;
2715
+ }, {
2716
+ isConnected: boolean;
2717
+ }>;
2718
+ }, "strip", z.ZodTypeAny, {
2719
+ type: "@w3m-frame/IS_CONNECTED_SUCCESS";
2720
+ payload: {
2721
+ isConnected: boolean;
2722
+ };
2723
+ id?: string | undefined;
2724
+ }, {
2725
+ type: "@w3m-frame/IS_CONNECTED_SUCCESS";
2726
+ payload: {
2727
+ isConnected: boolean;
2728
+ };
2729
+ id?: string | undefined;
2730
+ }>]>, z.ZodObject<{
2731
+ id: z.ZodOptional<z.ZodString>;
2732
+ type: z.ZodLiteral<"@w3m-frame/GET_CHAIN_ID_ERROR">;
2733
+ payload: z.ZodObject<{
2734
+ message: z.ZodString;
2735
+ }, "strip", z.ZodTypeAny, {
2736
+ message: string;
2737
+ }, {
2738
+ message: string;
2739
+ }>;
2740
+ }, "strip", z.ZodTypeAny, {
2741
+ type: "@w3m-frame/GET_CHAIN_ID_ERROR";
2742
+ payload: {
2743
+ message: string;
2744
+ };
2745
+ id?: string | undefined;
2746
+ }, {
2747
+ type: "@w3m-frame/GET_CHAIN_ID_ERROR";
2748
+ payload: {
2749
+ message: string;
2750
+ };
2751
+ id?: string | undefined;
2752
+ }>]>, z.ZodObject<{
2753
+ id: z.ZodOptional<z.ZodString>;
2754
+ type: z.ZodLiteral<"@w3m-frame/GET_CHAIN_ID_SUCCESS">;
2755
+ payload: z.ZodObject<{
2756
+ chainId: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
2757
+ }, "strip", z.ZodTypeAny, {
2758
+ chainId: string | number;
2759
+ }, {
2760
+ chainId: string | number;
2761
+ }>;
2762
+ }, "strip", z.ZodTypeAny, {
2763
+ type: "@w3m-frame/GET_CHAIN_ID_SUCCESS";
2764
+ payload: {
2765
+ chainId: string | number;
2766
+ };
2767
+ id?: string | undefined;
2768
+ }, {
2769
+ type: "@w3m-frame/GET_CHAIN_ID_SUCCESS";
2770
+ payload: {
2771
+ chainId: string | number;
2772
+ };
2773
+ id?: string | undefined;
2774
+ }>]>, z.ZodObject<{
2775
+ id: z.ZodOptional<z.ZodString>;
2776
+ type: z.ZodLiteral<"@w3m-frame/RPC_REQUEST_ERROR">;
2777
+ payload: z.ZodObject<{
2778
+ message: z.ZodString;
2779
+ }, "strip", z.ZodTypeAny, {
2780
+ message: string;
2781
+ }, {
2782
+ message: string;
2783
+ }>;
2784
+ }, "strip", z.ZodTypeAny, {
2785
+ type: "@w3m-frame/RPC_REQUEST_ERROR";
2786
+ payload: {
2787
+ message: string;
2788
+ };
2789
+ id?: string | undefined;
2790
+ }, {
2791
+ type: "@w3m-frame/RPC_REQUEST_ERROR";
2792
+ payload: {
2793
+ message: string;
2794
+ };
2795
+ id?: string | undefined;
2796
+ }>]>, z.ZodObject<{
2797
+ id: z.ZodOptional<z.ZodString>;
2798
+ type: z.ZodLiteral<"@w3m-frame/RPC_REQUEST_SUCCESS">;
2799
+ payload: z.ZodAny;
2800
+ }, "strip", z.ZodTypeAny, {
2801
+ type: "@w3m-frame/RPC_REQUEST_SUCCESS";
2802
+ id?: string | undefined;
2803
+ payload?: any;
2804
+ }, {
2805
+ type: "@w3m-frame/RPC_REQUEST_SUCCESS";
2806
+ id?: string | undefined;
2807
+ payload?: any;
2808
+ }>]>, z.ZodObject<{
2809
+ id: z.ZodOptional<z.ZodString>;
2810
+ type: z.ZodLiteral<"@w3m-frame/SESSION_UPDATE">;
2811
+ payload: z.ZodObject<{
2812
+ token: z.ZodString;
2813
+ }, "strip", z.ZodTypeAny, {
2814
+ token: string;
2815
+ }, {
2816
+ token: string;
2817
+ }>;
2818
+ }, "strip", z.ZodTypeAny, {
2819
+ type: "@w3m-frame/SESSION_UPDATE";
2820
+ payload: {
2821
+ token: string;
2822
+ };
2823
+ id?: string | undefined;
2824
+ }, {
2825
+ type: "@w3m-frame/SESSION_UPDATE";
2826
+ payload: {
2827
+ token: string;
2828
+ };
2829
+ id?: string | undefined;
2830
+ }>]>, z.ZodObject<{
2831
+ id: z.ZodOptional<z.ZodString>;
2832
+ type: z.ZodLiteral<"@w3m-frame/UPDATE_EMAIL_ERROR">;
2833
+ payload: z.ZodObject<{
2834
+ message: z.ZodString;
2835
+ }, "strip", z.ZodTypeAny, {
2836
+ message: string;
2837
+ }, {
2838
+ message: string;
2839
+ }>;
2840
+ }, "strip", z.ZodTypeAny, {
2841
+ type: "@w3m-frame/UPDATE_EMAIL_ERROR";
2842
+ payload: {
2843
+ message: string;
2844
+ };
2845
+ id?: string | undefined;
2846
+ }, {
2847
+ type: "@w3m-frame/UPDATE_EMAIL_ERROR";
2848
+ payload: {
2849
+ message: string;
2850
+ };
2851
+ id?: string | undefined;
2852
+ }>]>, z.ZodObject<{
2853
+ id: z.ZodOptional<z.ZodString>;
2854
+ type: z.ZodLiteral<"@w3m-frame/UPDATE_EMAIL_SUCCESS">;
2855
+ payload: z.ZodObject<{
2856
+ action: z.ZodEnum<["VERIFY_PRIMARY_OTP", "VERIFY_SECONDARY_OTP"]>;
2857
+ }, "strip", z.ZodTypeAny, {
2858
+ action: "VERIFY_PRIMARY_OTP" | "VERIFY_SECONDARY_OTP";
2859
+ }, {
2860
+ action: "VERIFY_PRIMARY_OTP" | "VERIFY_SECONDARY_OTP";
2861
+ }>;
2862
+ }, "strip", z.ZodTypeAny, {
2863
+ type: "@w3m-frame/UPDATE_EMAIL_SUCCESS";
2864
+ payload: {
2865
+ action: "VERIFY_PRIMARY_OTP" | "VERIFY_SECONDARY_OTP";
2866
+ };
2867
+ id?: string | undefined;
2868
+ }, {
2869
+ type: "@w3m-frame/UPDATE_EMAIL_SUCCESS";
2870
+ payload: {
2871
+ action: "VERIFY_PRIMARY_OTP" | "VERIFY_SECONDARY_OTP";
2872
+ };
2873
+ id?: string | undefined;
2874
+ }>]>, z.ZodObject<{
2875
+ id: z.ZodOptional<z.ZodString>;
2876
+ type: z.ZodLiteral<"@w3m-frame/UPDATE_EMAIL_PRIMARY_OTP_ERROR">;
2877
+ payload: z.ZodObject<{
2878
+ message: z.ZodString;
2879
+ }, "strip", z.ZodTypeAny, {
2880
+ message: string;
2881
+ }, {
2882
+ message: string;
2883
+ }>;
2884
+ }, "strip", z.ZodTypeAny, {
2885
+ type: "@w3m-frame/UPDATE_EMAIL_PRIMARY_OTP_ERROR";
2886
+ payload: {
2887
+ message: string;
2888
+ };
2889
+ id?: string | undefined;
2890
+ }, {
2891
+ type: "@w3m-frame/UPDATE_EMAIL_PRIMARY_OTP_ERROR";
2892
+ payload: {
2893
+ message: string;
2894
+ };
2895
+ id?: string | undefined;
2896
+ }>]>, z.ZodObject<{
2897
+ id: z.ZodOptional<z.ZodString>;
2898
+ type: z.ZodLiteral<"@w3m-frame/UPDATE_EMAIL_PRIMARY_OTP_SUCCESS">;
2899
+ }, "strip", z.ZodTypeAny, {
2900
+ type: "@w3m-frame/UPDATE_EMAIL_PRIMARY_OTP_SUCCESS";
2901
+ id?: string | undefined;
2902
+ }, {
2903
+ type: "@w3m-frame/UPDATE_EMAIL_PRIMARY_OTP_SUCCESS";
2904
+ id?: string | undefined;
2905
+ }>]>, z.ZodObject<{
2906
+ id: z.ZodOptional<z.ZodString>;
2907
+ type: z.ZodLiteral<"@w3m-frame/UPDATE_EMAIL_SECONDARY_OTP_ERROR">;
2908
+ payload: z.ZodObject<{
2909
+ message: z.ZodString;
2910
+ }, "strip", z.ZodTypeAny, {
2911
+ message: string;
2912
+ }, {
2913
+ message: string;
2914
+ }>;
2915
+ }, "strip", z.ZodTypeAny, {
2916
+ type: "@w3m-frame/UPDATE_EMAIL_SECONDARY_OTP_ERROR";
2917
+ payload: {
2918
+ message: string;
2919
+ };
2920
+ id?: string | undefined;
2921
+ }, {
2922
+ type: "@w3m-frame/UPDATE_EMAIL_SECONDARY_OTP_ERROR";
2923
+ payload: {
2924
+ message: string;
2925
+ };
2926
+ id?: string | undefined;
2927
+ }>]>, z.ZodObject<{
2928
+ id: z.ZodOptional<z.ZodString>;
2929
+ type: z.ZodLiteral<"@w3m-frame/UPDATE_EMAIL_SECONDARY_OTP_SUCCESS">;
2930
+ payload: z.ZodObject<{
2931
+ newEmail: z.ZodString;
2932
+ }, "strip", z.ZodTypeAny, {
2933
+ newEmail: string;
2934
+ }, {
2935
+ newEmail: string;
2936
+ }>;
2937
+ }, "strip", z.ZodTypeAny, {
2938
+ type: "@w3m-frame/UPDATE_EMAIL_SECONDARY_OTP_SUCCESS";
2939
+ payload: {
2940
+ newEmail: string;
2941
+ };
2942
+ id?: string | undefined;
2943
+ }, {
2944
+ type: "@w3m-frame/UPDATE_EMAIL_SECONDARY_OTP_SUCCESS";
2945
+ payload: {
2946
+ newEmail: string;
2947
+ };
2948
+ id?: string | undefined;
2949
+ }>]>, z.ZodObject<{
2950
+ id: z.ZodOptional<z.ZodString>;
2951
+ type: z.ZodLiteral<"@w3m-frame/SYNC_THEME_ERROR">;
2952
+ payload: z.ZodObject<{
2953
+ message: z.ZodString;
2954
+ }, "strip", z.ZodTypeAny, {
2955
+ message: string;
2956
+ }, {
2957
+ message: string;
2958
+ }>;
2959
+ }, "strip", z.ZodTypeAny, {
2960
+ type: "@w3m-frame/SYNC_THEME_ERROR";
2961
+ payload: {
2962
+ message: string;
2963
+ };
2964
+ id?: string | undefined;
2965
+ }, {
2966
+ type: "@w3m-frame/SYNC_THEME_ERROR";
2967
+ payload: {
2968
+ message: string;
2969
+ };
2970
+ id?: string | undefined;
2971
+ }>]>, z.ZodObject<{
2972
+ id: z.ZodOptional<z.ZodString>;
2973
+ type: z.ZodLiteral<"@w3m-frame/SYNC_THEME_SUCCESS">;
2974
+ }, "strip", z.ZodTypeAny, {
2975
+ type: "@w3m-frame/SYNC_THEME_SUCCESS";
2976
+ id?: string | undefined;
2977
+ }, {
2978
+ type: "@w3m-frame/SYNC_THEME_SUCCESS";
2979
+ id?: string | undefined;
2980
+ }>]>, z.ZodObject<{
2981
+ id: z.ZodOptional<z.ZodString>;
2982
+ type: z.ZodLiteral<"@w3m-frame/SYNC_DAPP_DATA_ERROR">;
2983
+ payload: z.ZodObject<{
2984
+ message: z.ZodString;
2985
+ }, "strip", z.ZodTypeAny, {
2986
+ message: string;
2987
+ }, {
2988
+ message: string;
2989
+ }>;
2990
+ }, "strip", z.ZodTypeAny, {
2991
+ type: "@w3m-frame/SYNC_DAPP_DATA_ERROR";
2992
+ payload: {
2993
+ message: string;
2994
+ };
2995
+ id?: string | undefined;
2996
+ }, {
2997
+ type: "@w3m-frame/SYNC_DAPP_DATA_ERROR";
2998
+ payload: {
2999
+ message: string;
3000
+ };
3001
+ id?: string | undefined;
3002
+ }>]>, z.ZodObject<{
3003
+ id: z.ZodOptional<z.ZodString>;
3004
+ type: z.ZodLiteral<"@w3m-frame/SYNC_DAPP_DATA_SUCCESS">;
3005
+ }, "strip", z.ZodTypeAny, {
3006
+ type: "@w3m-frame/SYNC_DAPP_DATA_SUCCESS";
3007
+ id?: string | undefined;
3008
+ }, {
3009
+ type: "@w3m-frame/SYNC_DAPP_DATA_SUCCESS";
3010
+ id?: string | undefined;
3011
+ }>]>, z.ZodObject<{
3012
+ id: z.ZodOptional<z.ZodString>;
3013
+ type: z.ZodLiteral<"@w3m-frame/GET_SMART_ACCOUNT_ENABLED_NETWORKS_SUCCESS">;
3014
+ payload: z.ZodObject<{
3015
+ smartAccountEnabledNetworks: z.ZodArray<z.ZodNumber, "many">;
3016
+ }, "strip", z.ZodTypeAny, {
3017
+ smartAccountEnabledNetworks: number[];
3018
+ }, {
3019
+ smartAccountEnabledNetworks: number[];
3020
+ }>;
3021
+ }, "strip", z.ZodTypeAny, {
3022
+ type: "@w3m-frame/GET_SMART_ACCOUNT_ENABLED_NETWORKS_SUCCESS";
3023
+ payload: {
3024
+ smartAccountEnabledNetworks: number[];
3025
+ };
3026
+ id?: string | undefined;
3027
+ }, {
3028
+ type: "@w3m-frame/GET_SMART_ACCOUNT_ENABLED_NETWORKS_SUCCESS";
3029
+ payload: {
3030
+ smartAccountEnabledNetworks: number[];
3031
+ };
3032
+ id?: string | undefined;
3033
+ }>]>, z.ZodObject<{
3034
+ id: z.ZodOptional<z.ZodString>;
3035
+ type: z.ZodLiteral<"@w3m-frame/GET_SMART_ACCOUNT_ENABLED_NETWORKS_ERROR">;
3036
+ payload: z.ZodObject<{
3037
+ message: z.ZodString;
3038
+ }, "strip", z.ZodTypeAny, {
3039
+ message: string;
3040
+ }, {
3041
+ message: string;
3042
+ }>;
3043
+ }, "strip", z.ZodTypeAny, {
3044
+ type: "@w3m-frame/GET_SMART_ACCOUNT_ENABLED_NETWORKS_ERROR";
3045
+ payload: {
3046
+ message: string;
3047
+ };
3048
+ id?: string | undefined;
3049
+ }, {
3050
+ type: "@w3m-frame/GET_SMART_ACCOUNT_ENABLED_NETWORKS_ERROR";
3051
+ payload: {
3052
+ message: string;
3053
+ };
3054
+ id?: string | undefined;
3055
+ }>]>, z.ZodObject<{
3056
+ id: z.ZodOptional<z.ZodString>;
3057
+ type: z.ZodLiteral<"@w3m-frame/INIT_SMART_ACCOUNT_ERROR">;
3058
+ payload: z.ZodObject<{
3059
+ message: z.ZodString;
3060
+ }, "strip", z.ZodTypeAny, {
3061
+ message: string;
3062
+ }, {
3063
+ message: string;
3064
+ }>;
3065
+ }, "strip", z.ZodTypeAny, {
3066
+ type: "@w3m-frame/INIT_SMART_ACCOUNT_ERROR";
3067
+ payload: {
3068
+ message: string;
3069
+ };
3070
+ id?: string | undefined;
3071
+ }, {
3072
+ type: "@w3m-frame/INIT_SMART_ACCOUNT_ERROR";
3073
+ payload: {
3074
+ message: string;
3075
+ };
3076
+ id?: string | undefined;
3077
+ }>]>, z.ZodObject<{
3078
+ id: z.ZodOptional<z.ZodString>;
3079
+ type: z.ZodLiteral<"@w3m-frame/SET_PREFERRED_ACCOUNT_SUCCESS">;
3080
+ payload: z.ZodObject<{
3081
+ type: z.ZodString;
3082
+ address: z.ZodString;
3083
+ }, "strip", z.ZodTypeAny, {
3084
+ type: string;
3085
+ address: string;
3086
+ }, {
3087
+ type: string;
3088
+ address: string;
3089
+ }>;
3090
+ }, "strip", z.ZodTypeAny, {
3091
+ type: "@w3m-frame/SET_PREFERRED_ACCOUNT_SUCCESS";
3092
+ payload: {
3093
+ type: string;
3094
+ address: string;
3095
+ };
3096
+ id?: string | undefined;
3097
+ }, {
3098
+ type: "@w3m-frame/SET_PREFERRED_ACCOUNT_SUCCESS";
3099
+ payload: {
3100
+ type: string;
3101
+ address: string;
3102
+ };
3103
+ id?: string | undefined;
3104
+ }>]>, z.ZodObject<{
3105
+ id: z.ZodOptional<z.ZodString>;
3106
+ type: z.ZodLiteral<"@w3m-frame/SET_PREFERRED_ACCOUNT_ERROR">;
3107
+ payload: z.ZodObject<{
3108
+ message: z.ZodString;
3109
+ }, "strip", z.ZodTypeAny, {
3110
+ message: string;
3111
+ }, {
3112
+ message: string;
3113
+ }>;
3114
+ }, "strip", z.ZodTypeAny, {
3115
+ type: "@w3m-frame/SET_PREFERRED_ACCOUNT_ERROR";
3116
+ payload: {
3117
+ message: string;
3118
+ };
3119
+ id?: string | undefined;
3120
+ }, {
3121
+ type: "@w3m-frame/SET_PREFERRED_ACCOUNT_ERROR";
3122
+ payload: {
3123
+ message: string;
3124
+ };
3125
+ id?: string | undefined;
3126
+ }>]>;
3127
+ };