@zerodev/sdk 5.4.28 → 5.4.30

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 (52) hide show
  1. package/_cjs/accounts/kernel/createKernelAccount.js.map +1 -1
  2. package/_cjs/accounts/kernel/v1/createKernelAccountV1.js +1 -1
  3. package/_cjs/accounts/kernel/v1/createKernelAccountV1.js.map +1 -1
  4. package/_cjs/accounts/kernel/v2/createKernelAccountV0_2.js +1 -1
  5. package/_cjs/accounts/kernel/v2/createKernelAccountV0_2.js.map +1 -1
  6. package/_cjs/clients/kernelAccountClient.js +4 -4
  7. package/_cjs/clients/kernelAccountClient.js.map +1 -1
  8. package/_cjs/constants.js +6 -5
  9. package/_cjs/constants.js.map +1 -1
  10. package/_cjs/providers/KernelEIP1193Provider.js +5 -1
  11. package/_cjs/providers/KernelEIP1193Provider.js.map +1 -1
  12. package/_esm/accounts/kernel/createKernelAccount.js.map +1 -1
  13. package/_esm/accounts/kernel/v1/createKernelAccountV1.js +1 -1
  14. package/_esm/accounts/kernel/v1/createKernelAccountV1.js.map +1 -1
  15. package/_esm/accounts/kernel/v2/createKernelAccountV0_2.js +1 -1
  16. package/_esm/accounts/kernel/v2/createKernelAccountV0_2.js.map +1 -1
  17. package/_esm/clients/kernelAccountClient.js +4 -4
  18. package/_esm/clients/kernelAccountClient.js.map +1 -1
  19. package/_esm/constants.js +6 -4
  20. package/_esm/constants.js.map +1 -1
  21. package/_esm/providers/KernelEIP1193Provider.js +5 -1
  22. package/_esm/providers/KernelEIP1193Provider.js.map +1 -1
  23. package/_types/accounts/kernel/createKernelAccount.d.ts +3 -2
  24. package/_types/accounts/kernel/createKernelAccount.d.ts.map +1 -1
  25. package/_types/accounts/kernel/v1/createKernelAccountV1.d.ts +2 -2
  26. package/_types/accounts/kernel/v1/createKernelAccountV1.d.ts.map +1 -1
  27. package/_types/accounts/kernel/v2/createKernelAccountV0_2.d.ts +3 -3
  28. package/_types/accounts/kernel/v2/createKernelAccountV0_2.d.ts.map +1 -1
  29. package/_types/actions/paymaster/estimateGasInERC20.d.ts +2 -1267
  30. package/_types/actions/paymaster/estimateGasInERC20.d.ts.map +1 -1
  31. package/_types/actions/paymaster/sponsorUserOperation.d.ts +2 -1267
  32. package/_types/actions/paymaster/sponsorUserOperation.d.ts.map +1 -1
  33. package/_types/clients/decorators/kernel.d.ts +1 -507
  34. package/_types/clients/decorators/kernel.d.ts.map +1 -1
  35. package/_types/clients/fallbackKernelAccountClient.d.ts +2 -254
  36. package/_types/clients/fallbackKernelAccountClient.d.ts.map +1 -1
  37. package/_types/clients/kernelAccountClient.d.ts.map +1 -1
  38. package/_types/clients/paymasterClient.d.ts +1 -1
  39. package/_types/clients/paymasterClient.d.ts.map +1 -1
  40. package/_types/constants.d.ts +2 -1
  41. package/_types/constants.d.ts.map +1 -1
  42. package/_types/providers/KernelEIP1193Provider.d.ts.map +1 -1
  43. package/_types/utils.d.ts +2 -1267
  44. package/_types/utils.d.ts.map +1 -1
  45. package/accounts/kernel/createKernelAccount.ts +2 -2
  46. package/accounts/kernel/v1/createKernelAccountV1.ts +2 -3
  47. package/accounts/kernel/v2/createKernelAccountV0_2.ts +2 -3
  48. package/clients/kernelAccountClient.ts +82 -10
  49. package/clients/paymasterClient.ts +1 -1
  50. package/constants.ts +6 -4
  51. package/package.json +2 -2
  52. package/providers/KernelEIP1193Provider.ts +9 -2
@@ -18,260 +18,7 @@ export type SponsorUserOperationReturnType = Prettify<GetPaymasterStubDataReturn
18
18
  * Returns paymasterAndData & updated gas parameters required to sponsor a userOperation.
19
19
  */
20
20
  export declare const sponsorUserOperation: <entryPointVersion extends EntryPointVersion>(client: {
21
- account: (object & {
22
- client: import("viem").Client;
23
- entryPoint: {
24
- abi: import("viem").Abi;
25
- address: `0x${string}`;
26
- version: EntryPointVersion;
27
- };
28
- extend?: object | undefined;
29
- getAddress: () => Promise<`0x${string}`>;
30
- decodeCalls?: ((data: `0x${string}`) => Promise<readonly {
31
- to: `0x${string}`;
32
- data?: `0x${string}` | undefined;
33
- value?: bigint | undefined;
34
- }[]>) | undefined;
35
- encodeCalls: (calls: readonly {
36
- to: `0x${string}`;
37
- data?: `0x${string}` | undefined;
38
- value?: bigint | undefined;
39
- }[]) => Promise<`0x${string}`>;
40
- getFactoryArgs: () => Promise<{
41
- factory?: `0x${string}` | undefined;
42
- factoryData?: `0x${string}` | undefined;
43
- }>;
44
- getNonce?: ((parameters?: {
45
- key?: bigint | undefined;
46
- } | undefined) => Promise<bigint>) | undefined;
47
- getStubSignature: (parameters?: import("viem/account-abstraction").UserOperationRequest | undefined) => Promise<`0x${string}`>;
48
- nonceKeyManager?: import("viem").NonceManager | undefined;
49
- sign?: ((parameters: {
50
- hash: `0x${string}`;
51
- }) => Promise<`0x${string}`>) | undefined;
52
- signMessage: (parameters: {
53
- message: import("viem").SignableMessage;
54
- }) => Promise<`0x${string}`>;
55
- signTypedData: <const typedData extends {
56
- [x: string]: readonly import("viem").TypedDataParameter[];
57
- [x: `string[${string}]`]: undefined;
58
- [x: `function[${string}]`]: undefined;
59
- [x: `address[${string}]`]: undefined;
60
- [x: `bool[${string}]`]: undefined;
61
- [x: `bytes[${string}]`]: undefined;
62
- [x: `bytes1[${string}]`]: undefined;
63
- [x: `bytes3[${string}]`]: undefined;
64
- [x: `bytes2[${string}]`]: undefined;
65
- [x: `bytes4[${string}]`]: undefined;
66
- [x: `bytes5[${string}]`]: undefined;
67
- [x: `bytes6[${string}]`]: undefined;
68
- [x: `bytes7[${string}]`]: undefined;
69
- [x: `bytes8[${string}]`]: undefined;
70
- [x: `bytes9[${string}]`]: undefined;
71
- [x: `bytes10[${string}]`]: undefined;
72
- [x: `bytes11[${string}]`]: undefined;
73
- [x: `bytes12[${string}]`]: undefined;
74
- [x: `bytes13[${string}]`]: undefined;
75
- [x: `bytes14[${string}]`]: undefined;
76
- [x: `bytes15[${string}]`]: undefined;
77
- [x: `bytes16[${string}]`]: undefined;
78
- [x: `bytes17[${string}]`]: undefined;
79
- [x: `bytes18[${string}]`]: undefined;
80
- [x: `bytes19[${string}]`]: undefined;
81
- [x: `bytes20[${string}]`]: undefined;
82
- [x: `bytes21[${string}]`]: undefined;
83
- [x: `bytes22[${string}]`]: undefined;
84
- [x: `bytes23[${string}]`]: undefined;
85
- [x: `bytes24[${string}]`]: undefined;
86
- [x: `bytes25[${string}]`]: undefined;
87
- [x: `bytes26[${string}]`]: undefined;
88
- [x: `bytes27[${string}]`]: undefined;
89
- [x: `bytes28[${string}]`]: undefined;
90
- [x: `bytes29[${string}]`]: undefined;
91
- [x: `bytes30[${string}]`]: undefined;
92
- [x: `bytes31[${string}]`]: undefined;
93
- [x: `bytes32[${string}]`]: undefined;
94
- [x: `int[${string}]`]: undefined;
95
- [x: `int8[${string}]`]: undefined;
96
- [x: `int16[${string}]`]: undefined;
97
- [x: `int24[${string}]`]: undefined;
98
- [x: `int32[${string}]`]: undefined;
99
- [x: `int40[${string}]`]: undefined;
100
- [x: `int48[${string}]`]: undefined;
101
- [x: `int56[${string}]`]: undefined;
102
- [x: `int64[${string}]`]: undefined;
103
- [x: `int72[${string}]`]: undefined;
104
- [x: `int80[${string}]`]: undefined;
105
- [x: `int88[${string}]`]: undefined;
106
- [x: `int96[${string}]`]: undefined;
107
- [x: `int104[${string}]`]: undefined;
108
- [x: `int112[${string}]`]: undefined;
109
- [x: `int120[${string}]`]: undefined;
110
- [x: `int128[${string}]`]: undefined;
111
- [x: `int136[${string}]`]: undefined;
112
- [x: `int144[${string}]`]: undefined;
113
- [x: `int152[${string}]`]: undefined;
114
- [x: `int160[${string}]`]: undefined;
115
- [x: `int168[${string}]`]: undefined;
116
- [x: `int176[${string}]`]: undefined;
117
- [x: `int184[${string}]`]: undefined;
118
- [x: `int192[${string}]`]: undefined;
119
- [x: `int200[${string}]`]: undefined;
120
- [x: `int208[${string}]`]: undefined;
121
- [x: `int216[${string}]`]: undefined;
122
- [x: `int224[${string}]`]: undefined;
123
- [x: `int232[${string}]`]: undefined;
124
- [x: `int240[${string}]`]: undefined;
125
- [x: `int248[${string}]`]: undefined;
126
- [x: `int256[${string}]`]: undefined;
127
- [x: `uint[${string}]`]: undefined;
128
- [x: `uint8[${string}]`]: undefined;
129
- [x: `uint16[${string}]`]: undefined;
130
- [x: `uint24[${string}]`]: undefined;
131
- [x: `uint32[${string}]`]: undefined;
132
- [x: `uint40[${string}]`]: undefined;
133
- [x: `uint48[${string}]`]: undefined;
134
- [x: `uint56[${string}]`]: undefined;
135
- [x: `uint64[${string}]`]: undefined;
136
- [x: `uint72[${string}]`]: undefined;
137
- [x: `uint80[${string}]`]: undefined;
138
- [x: `uint88[${string}]`]: undefined;
139
- [x: `uint96[${string}]`]: undefined;
140
- [x: `uint104[${string}]`]: undefined;
141
- [x: `uint112[${string}]`]: undefined;
142
- [x: `uint120[${string}]`]: undefined;
143
- [x: `uint128[${string}]`]: undefined;
144
- [x: `uint136[${string}]`]: undefined;
145
- [x: `uint144[${string}]`]: undefined;
146
- [x: `uint152[${string}]`]: undefined;
147
- [x: `uint160[${string}]`]: undefined;
148
- [x: `uint168[${string}]`]: undefined;
149
- [x: `uint176[${string}]`]: undefined;
150
- [x: `uint184[${string}]`]: undefined;
151
- [x: `uint192[${string}]`]: undefined;
152
- [x: `uint200[${string}]`]: undefined;
153
- [x: `uint208[${string}]`]: undefined;
154
- [x: `uint216[${string}]`]: undefined;
155
- [x: `uint224[${string}]`]: undefined;
156
- [x: `uint232[${string}]`]: undefined;
157
- [x: `uint240[${string}]`]: undefined;
158
- [x: `uint248[${string}]`]: undefined;
159
- [x: `uint256[${string}]`]: undefined;
160
- string?: undefined;
161
- address?: undefined;
162
- bool?: undefined;
163
- bytes?: undefined;
164
- bytes1?: undefined;
165
- bytes3?: undefined;
166
- bytes2?: undefined;
167
- bytes4?: undefined;
168
- bytes5?: undefined;
169
- bytes6?: undefined;
170
- bytes7?: undefined;
171
- bytes8?: undefined;
172
- bytes9?: undefined;
173
- bytes10?: undefined;
174
- bytes11?: undefined;
175
- bytes12?: undefined;
176
- bytes13?: undefined;
177
- bytes14?: undefined;
178
- bytes15?: undefined;
179
- bytes16?: undefined;
180
- bytes17?: undefined;
181
- bytes18?: undefined;
182
- bytes19?: undefined;
183
- bytes20?: undefined;
184
- bytes21?: undefined;
185
- bytes22?: undefined;
186
- bytes23?: undefined;
187
- bytes24?: undefined;
188
- bytes25?: undefined;
189
- bytes26?: undefined;
190
- bytes27?: undefined;
191
- bytes28?: undefined;
192
- bytes29?: undefined;
193
- bytes30?: undefined;
194
- bytes31?: undefined;
195
- bytes32?: undefined;
196
- int8?: undefined;
197
- int16?: undefined;
198
- int24?: undefined;
199
- int32?: undefined;
200
- int40?: undefined;
201
- int48?: undefined;
202
- int56?: undefined;
203
- int64?: undefined;
204
- int72?: undefined;
205
- int80?: undefined;
206
- int88?: undefined;
207
- int96?: undefined;
208
- int104?: undefined;
209
- int112?: undefined;
210
- int120?: undefined;
211
- int128?: undefined;
212
- int136?: undefined;
213
- int144?: undefined;
214
- int152?: undefined;
215
- int160?: undefined;
216
- int168?: undefined;
217
- int176?: undefined;
218
- int184?: undefined;
219
- int192?: undefined;
220
- int200?: undefined;
221
- int208?: undefined;
222
- int216?: undefined;
223
- int224?: undefined;
224
- int232?: undefined;
225
- int240?: undefined;
226
- int248?: undefined;
227
- int256?: undefined;
228
- uint8?: undefined;
229
- uint16?: undefined;
230
- uint24?: undefined;
231
- uint32?: undefined;
232
- uint40?: undefined;
233
- uint48?: undefined;
234
- uint56?: undefined;
235
- uint64?: undefined;
236
- uint72?: undefined;
237
- uint80?: undefined;
238
- uint88?: undefined;
239
- uint96?: undefined;
240
- uint104?: undefined;
241
- uint112?: undefined;
242
- uint120?: undefined;
243
- uint128?: undefined;
244
- uint136?: undefined;
245
- uint144?: undefined;
246
- uint152?: undefined;
247
- uint160?: undefined;
248
- uint168?: undefined;
249
- uint176?: undefined;
250
- uint184?: undefined;
251
- uint192?: undefined;
252
- uint200?: undefined;
253
- uint208?: undefined;
254
- uint216?: undefined;
255
- uint224?: undefined;
256
- uint232?: undefined;
257
- uint240?: undefined;
258
- uint248?: undefined;
259
- uint256?: undefined;
260
- } | Record<string, unknown>, primaryType extends "EIP712Domain" | keyof typedData = keyof typedData>(parameters: import("viem").TypedDataDefinition<typedData, primaryType>) => Promise<`0x${string}`>;
261
- signUserOperation: (parameters: import("viem").UnionPartialBy<import("viem/account-abstraction").UserOperation, "sender"> & {
262
- chainId?: number | undefined;
263
- }) => Promise<`0x${string}`>;
264
- userOperation?: {
265
- estimateGas?: ((userOperation: import("viem/account-abstraction").UserOperationRequest) => Promise<import("viem").ExactPartial<import("viem/_types/account-abstraction/types/userOperation.js").EstimateUserOperationGasReturnType> | undefined>) | undefined;
266
- } | undefined;
267
- } & {
268
- address: `0x${string}`;
269
- getNonce: (parameters?: {
270
- key?: bigint | undefined;
271
- } | undefined) => Promise<bigint>;
272
- isDeployed: () => Promise<boolean>;
273
- type: "smart";
274
- }) | undefined;
21
+ account: import("viem/account-abstraction").SmartAccount | undefined;
275
22
  batch?: {
276
23
  multicall?: boolean | {
277
24
  batchSize?: number | undefined;
@@ -308,1018 +55,6 @@ export declare const sponsorUserOperation: <entryPointVersion extends EntryPoint
308
55
  transport?: undefined;
309
56
  type?: undefined;
310
57
  uid?: undefined;
311
- } & import("viem").ExactPartial<Pick<import("viem").PublicActions<import("viem").Transport, import("viem").Chain | undefined, (object & {
312
- client: import("viem").Client;
313
- entryPoint: {
314
- abi: import("viem").Abi;
315
- address: `0x${string}`;
316
- version: EntryPointVersion;
317
- };
318
- extend?: object | undefined;
319
- getAddress: () => Promise<`0x${string}`>;
320
- decodeCalls?: ((data: `0x${string}`) => Promise<readonly {
321
- to: `0x${string}`;
322
- data?: `0x${string}` | undefined;
323
- value?: bigint | undefined;
324
- }[]>) | undefined;
325
- encodeCalls: (calls: readonly {
326
- to: `0x${string}`;
327
- data?: `0x${string}` | undefined;
328
- value?: bigint | undefined;
329
- }[]) => Promise<`0x${string}`>;
330
- getFactoryArgs: () => Promise<{
331
- factory?: `0x${string}` | undefined;
332
- factoryData?: `0x${string}` | undefined;
333
- }>;
334
- getNonce?: ((parameters?: {
335
- key?: bigint | undefined;
336
- } | undefined) => Promise<bigint>) | undefined;
337
- getStubSignature: (parameters?: import("viem/account-abstraction").UserOperationRequest | undefined) => Promise<`0x${string}`>;
338
- nonceKeyManager?: import("viem").NonceManager | undefined;
339
- sign?: ((parameters: {
340
- hash: `0x${string}`;
341
- }) => Promise<`0x${string}`>) | undefined;
342
- signMessage: (parameters: {
343
- message: import("viem").SignableMessage;
344
- }) => Promise<`0x${string}`>;
345
- signTypedData: <const typedData extends {
346
- [x: string]: readonly import("viem").TypedDataParameter[];
347
- [x: `string[${string}]`]: undefined;
348
- [x: `function[${string}]`]: undefined;
349
- [x: `address[${string}]`]: undefined;
350
- [x: `bool[${string}]`]: undefined;
351
- [x: `bytes[${string}]`]: undefined;
352
- [x: `bytes1[${string}]`]: undefined;
353
- [x: `bytes3[${string}]`]: undefined;
354
- [x: `bytes2[${string}]`]: undefined;
355
- [x: `bytes4[${string}]`]: undefined;
356
- [x: `bytes5[${string}]`]: undefined;
357
- [x: `bytes6[${string}]`]: undefined;
358
- [x: `bytes7[${string}]`]: undefined;
359
- [x: `bytes8[${string}]`]: undefined;
360
- [x: `bytes9[${string}]`]: undefined;
361
- [x: `bytes10[${string}]`]: undefined;
362
- [x: `bytes11[${string}]`]: undefined;
363
- [x: `bytes12[${string}]`]: undefined;
364
- [x: `bytes13[${string}]`]: undefined;
365
- [x: `bytes14[${string}]`]: undefined;
366
- [x: `bytes15[${string}]`]: undefined;
367
- [x: `bytes16[${string}]`]: undefined;
368
- [x: `bytes17[${string}]`]: undefined;
369
- [x: `bytes18[${string}]`]: undefined;
370
- [x: `bytes19[${string}]`]: undefined;
371
- [x: `bytes20[${string}]`]: undefined;
372
- [x: `bytes21[${string}]`]: undefined;
373
- [x: `bytes22[${string}]`]: undefined;
374
- [x: `bytes23[${string}]`]: undefined;
375
- [x: `bytes24[${string}]`]: undefined;
376
- [x: `bytes25[${string}]`]: undefined;
377
- [x: `bytes26[${string}]`]: undefined;
378
- [x: `bytes27[${string}]`]: undefined;
379
- [x: `bytes28[${string}]`]: undefined;
380
- [x: `bytes29[${string}]`]: undefined;
381
- [x: `bytes30[${string}]`]: undefined;
382
- [x: `bytes31[${string}]`]: undefined;
383
- [x: `bytes32[${string}]`]: undefined;
384
- [x: `int[${string}]`]: undefined;
385
- [x: `int8[${string}]`]: undefined;
386
- [x: `int16[${string}]`]: undefined;
387
- [x: `int24[${string}]`]: undefined;
388
- [x: `int32[${string}]`]: undefined;
389
- [x: `int40[${string}]`]: undefined;
390
- [x: `int48[${string}]`]: undefined;
391
- [x: `int56[${string}]`]: undefined;
392
- [x: `int64[${string}]`]: undefined;
393
- [x: `int72[${string}]`]: undefined;
394
- [x: `int80[${string}]`]: undefined;
395
- [x: `int88[${string}]`]: undefined;
396
- [x: `int96[${string}]`]: undefined;
397
- [x: `int104[${string}]`]: undefined;
398
- [x: `int112[${string}]`]: undefined;
399
- [x: `int120[${string}]`]: undefined;
400
- [x: `int128[${string}]`]: undefined;
401
- [x: `int136[${string}]`]: undefined;
402
- [x: `int144[${string}]`]: undefined;
403
- [x: `int152[${string}]`]: undefined;
404
- [x: `int160[${string}]`]: undefined;
405
- [x: `int168[${string}]`]: undefined;
406
- [x: `int176[${string}]`]: undefined;
407
- [x: `int184[${string}]`]: undefined;
408
- [x: `int192[${string}]`]: undefined;
409
- [x: `int200[${string}]`]: undefined;
410
- [x: `int208[${string}]`]: undefined;
411
- [x: `int216[${string}]`]: undefined;
412
- [x: `int224[${string}]`]: undefined;
413
- [x: `int232[${string}]`]: undefined;
414
- [x: `int240[${string}]`]: undefined;
415
- [x: `int248[${string}]`]: undefined;
416
- [x: `int256[${string}]`]: undefined;
417
- [x: `uint[${string}]`]: undefined;
418
- [x: `uint8[${string}]`]: undefined;
419
- [x: `uint16[${string}]`]: undefined;
420
- [x: `uint24[${string}]`]: undefined;
421
- [x: `uint32[${string}]`]: undefined;
422
- [x: `uint40[${string}]`]: undefined;
423
- [x: `uint48[${string}]`]: undefined;
424
- [x: `uint56[${string}]`]: undefined;
425
- [x: `uint64[${string}]`]: undefined;
426
- [x: `uint72[${string}]`]: undefined;
427
- [x: `uint80[${string}]`]: undefined;
428
- [x: `uint88[${string}]`]: undefined;
429
- [x: `uint96[${string}]`]: undefined;
430
- [x: `uint104[${string}]`]: undefined;
431
- [x: `uint112[${string}]`]: undefined;
432
- [x: `uint120[${string}]`]: undefined;
433
- [x: `uint128[${string}]`]: undefined;
434
- [x: `uint136[${string}]`]: undefined;
435
- [x: `uint144[${string}]`]: undefined;
436
- [x: `uint152[${string}]`]: undefined;
437
- [x: `uint160[${string}]`]: undefined;
438
- [x: `uint168[${string}]`]: undefined;
439
- [x: `uint176[${string}]`]: undefined;
440
- [x: `uint184[${string}]`]: undefined;
441
- [x: `uint192[${string}]`]: undefined;
442
- [x: `uint200[${string}]`]: undefined;
443
- [x: `uint208[${string}]`]: undefined;
444
- [x: `uint216[${string}]`]: undefined;
445
- [x: `uint224[${string}]`]: undefined;
446
- [x: `uint232[${string}]`]: undefined;
447
- [x: `uint240[${string}]`]: undefined;
448
- [x: `uint248[${string}]`]: undefined;
449
- [x: `uint256[${string}]`]: undefined;
450
- string?: undefined;
451
- address?: undefined;
452
- bool?: undefined;
453
- bytes?: undefined;
454
- bytes1?: undefined;
455
- bytes3?: undefined;
456
- bytes2?: undefined;
457
- bytes4?: undefined;
458
- bytes5?: undefined;
459
- bytes6?: undefined;
460
- bytes7?: undefined;
461
- bytes8?: undefined;
462
- bytes9?: undefined;
463
- bytes10?: undefined;
464
- bytes11?: undefined;
465
- bytes12?: undefined;
466
- bytes13?: undefined;
467
- bytes14?: undefined;
468
- bytes15?: undefined;
469
- bytes16?: undefined;
470
- bytes17?: undefined;
471
- bytes18?: undefined;
472
- bytes19?: undefined;
473
- bytes20?: undefined;
474
- bytes21?: undefined;
475
- bytes22?: undefined;
476
- bytes23?: undefined;
477
- bytes24?: undefined;
478
- bytes25?: undefined;
479
- bytes26?: undefined;
480
- bytes27?: undefined;
481
- bytes28?: undefined;
482
- bytes29?: undefined;
483
- bytes30?: undefined;
484
- bytes31?: undefined;
485
- bytes32?: undefined;
486
- int8?: undefined;
487
- int16?: undefined;
488
- int24?: undefined;
489
- int32?: undefined;
490
- int40?: undefined;
491
- int48?: undefined;
492
- int56?: undefined;
493
- int64?: undefined;
494
- int72?: undefined;
495
- int80?: undefined;
496
- int88?: undefined;
497
- int96?: undefined;
498
- int104?: undefined;
499
- int112?: undefined;
500
- int120?: undefined;
501
- int128?: undefined;
502
- int136?: undefined;
503
- int144?: undefined;
504
- int152?: undefined;
505
- int160?: undefined;
506
- int168?: undefined;
507
- int176?: undefined;
508
- int184?: undefined;
509
- int192?: undefined;
510
- int200?: undefined;
511
- int208?: undefined;
512
- int216?: undefined;
513
- int224?: undefined;
514
- int232?: undefined;
515
- int240?: undefined;
516
- int248?: undefined;
517
- int256?: undefined;
518
- uint8?: undefined;
519
- uint16?: undefined;
520
- uint24?: undefined;
521
- uint32?: undefined;
522
- uint40?: undefined;
523
- uint48?: undefined;
524
- uint56?: undefined;
525
- uint64?: undefined;
526
- uint72?: undefined;
527
- uint80?: undefined;
528
- uint88?: undefined;
529
- uint96?: undefined;
530
- uint104?: undefined;
531
- uint112?: undefined;
532
- uint120?: undefined;
533
- uint128?: undefined;
534
- uint136?: undefined;
535
- uint144?: undefined;
536
- uint152?: undefined;
537
- uint160?: undefined;
538
- uint168?: undefined;
539
- uint176?: undefined;
540
- uint184?: undefined;
541
- uint192?: undefined;
542
- uint200?: undefined;
543
- uint208?: undefined;
544
- uint216?: undefined;
545
- uint224?: undefined;
546
- uint232?: undefined;
547
- uint240?: undefined;
548
- uint248?: undefined;
549
- uint256?: undefined;
550
- } | Record<string, unknown>, primaryType extends "EIP712Domain" | keyof typedData = keyof typedData>(parameters: import("viem").TypedDataDefinition<typedData, primaryType>) => Promise<`0x${string}`>;
551
- signUserOperation: (parameters: import("viem").UnionPartialBy<import("viem/account-abstraction").UserOperation, "sender"> & {
552
- chainId?: number | undefined;
553
- }) => Promise<`0x${string}`>;
554
- userOperation?: {
555
- estimateGas?: ((userOperation: import("viem/account-abstraction").UserOperationRequest) => Promise<import("viem").ExactPartial<import("viem/_types/account-abstraction/types/userOperation.js").EstimateUserOperationGasReturnType> | undefined>) | undefined;
556
- } | undefined;
557
- } & {
558
- address: `0x${string}`;
559
- getNonce: (parameters?: {
560
- key?: bigint | undefined;
561
- } | undefined) => Promise<bigint>;
562
- isDeployed: () => Promise<boolean>;
563
- type: "smart";
564
- }) | undefined>, "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getChainId" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "prepareTransactionRequest" | "readContract" | "sendRawTransaction" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<import("viem").WalletActions<import("viem").Chain | undefined, (object & {
565
- client: import("viem").Client;
566
- entryPoint: {
567
- abi: import("viem").Abi;
568
- address: `0x${string}`;
569
- version: EntryPointVersion;
570
- };
571
- extend?: object | undefined;
572
- getAddress: () => Promise<`0x${string}`>;
573
- decodeCalls?: ((data: `0x${string}`) => Promise<readonly {
574
- to: `0x${string}`;
575
- data?: `0x${string}` | undefined;
576
- value?: bigint | undefined;
577
- }[]>) | undefined;
578
- encodeCalls: (calls: readonly {
579
- to: `0x${string}`;
580
- data?: `0x${string}` | undefined;
581
- value?: bigint | undefined;
582
- }[]) => Promise<`0x${string}`>;
583
- getFactoryArgs: () => Promise<{
584
- factory?: `0x${string}` | undefined;
585
- factoryData?: `0x${string}` | undefined;
586
- }>;
587
- getNonce?: ((parameters?: {
588
- key?: bigint | undefined;
589
- } | undefined) => Promise<bigint>) | undefined;
590
- getStubSignature: (parameters?: import("viem/account-abstraction").UserOperationRequest | undefined) => Promise<`0x${string}`>;
591
- nonceKeyManager?: import("viem").NonceManager | undefined;
592
- sign?: ((parameters: {
593
- hash: `0x${string}`;
594
- }) => Promise<`0x${string}`>) | undefined;
595
- signMessage: (parameters: {
596
- message: import("viem").SignableMessage;
597
- }) => Promise<`0x${string}`>;
598
- signTypedData: <const typedData extends {
599
- [x: string]: readonly import("viem").TypedDataParameter[];
600
- [x: `string[${string}]`]: undefined;
601
- [x: `function[${string}]`]: undefined;
602
- [x: `address[${string}]`]: undefined;
603
- [x: `bool[${string}]`]: undefined;
604
- [x: `bytes[${string}]`]: undefined;
605
- [x: `bytes1[${string}]`]: undefined;
606
- [x: `bytes3[${string}]`]: undefined;
607
- [x: `bytes2[${string}]`]: undefined;
608
- [x: `bytes4[${string}]`]: undefined;
609
- [x: `bytes5[${string}]`]: undefined;
610
- [x: `bytes6[${string}]`]: undefined;
611
- [x: `bytes7[${string}]`]: undefined;
612
- [x: `bytes8[${string}]`]: undefined;
613
- [x: `bytes9[${string}]`]: undefined;
614
- [x: `bytes10[${string}]`]: undefined;
615
- [x: `bytes11[${string}]`]: undefined;
616
- [x: `bytes12[${string}]`]: undefined;
617
- [x: `bytes13[${string}]`]: undefined;
618
- [x: `bytes14[${string}]`]: undefined;
619
- [x: `bytes15[${string}]`]: undefined;
620
- [x: `bytes16[${string}]`]: undefined;
621
- [x: `bytes17[${string}]`]: undefined;
622
- [x: `bytes18[${string}]`]: undefined;
623
- [x: `bytes19[${string}]`]: undefined;
624
- [x: `bytes20[${string}]`]: undefined;
625
- [x: `bytes21[${string}]`]: undefined;
626
- [x: `bytes22[${string}]`]: undefined;
627
- [x: `bytes23[${string}]`]: undefined;
628
- [x: `bytes24[${string}]`]: undefined;
629
- [x: `bytes25[${string}]`]: undefined;
630
- [x: `bytes26[${string}]`]: undefined;
631
- [x: `bytes27[${string}]`]: undefined;
632
- [x: `bytes28[${string}]`]: undefined;
633
- [x: `bytes29[${string}]`]: undefined;
634
- [x: `bytes30[${string}]`]: undefined;
635
- [x: `bytes31[${string}]`]: undefined;
636
- [x: `bytes32[${string}]`]: undefined;
637
- [x: `int[${string}]`]: undefined;
638
- [x: `int8[${string}]`]: undefined;
639
- [x: `int16[${string}]`]: undefined;
640
- [x: `int24[${string}]`]: undefined;
641
- [x: `int32[${string}]`]: undefined;
642
- [x: `int40[${string}]`]: undefined;
643
- [x: `int48[${string}]`]: undefined;
644
- [x: `int56[${string}]`]: undefined;
645
- [x: `int64[${string}]`]: undefined;
646
- [x: `int72[${string}]`]: undefined;
647
- [x: `int80[${string}]`]: undefined;
648
- [x: `int88[${string}]`]: undefined;
649
- [x: `int96[${string}]`]: undefined;
650
- [x: `int104[${string}]`]: undefined;
651
- [x: `int112[${string}]`]: undefined;
652
- [x: `int120[${string}]`]: undefined;
653
- [x: `int128[${string}]`]: undefined;
654
- [x: `int136[${string}]`]: undefined;
655
- [x: `int144[${string}]`]: undefined;
656
- [x: `int152[${string}]`]: undefined;
657
- [x: `int160[${string}]`]: undefined;
658
- [x: `int168[${string}]`]: undefined;
659
- [x: `int176[${string}]`]: undefined;
660
- [x: `int184[${string}]`]: undefined;
661
- [x: `int192[${string}]`]: undefined;
662
- [x: `int200[${string}]`]: undefined;
663
- [x: `int208[${string}]`]: undefined;
664
- [x: `int216[${string}]`]: undefined;
665
- [x: `int224[${string}]`]: undefined;
666
- [x: `int232[${string}]`]: undefined;
667
- [x: `int240[${string}]`]: undefined;
668
- [x: `int248[${string}]`]: undefined;
669
- [x: `int256[${string}]`]: undefined;
670
- [x: `uint[${string}]`]: undefined;
671
- [x: `uint8[${string}]`]: undefined;
672
- [x: `uint16[${string}]`]: undefined;
673
- [x: `uint24[${string}]`]: undefined;
674
- [x: `uint32[${string}]`]: undefined;
675
- [x: `uint40[${string}]`]: undefined;
676
- [x: `uint48[${string}]`]: undefined;
677
- [x: `uint56[${string}]`]: undefined;
678
- [x: `uint64[${string}]`]: undefined;
679
- [x: `uint72[${string}]`]: undefined;
680
- [x: `uint80[${string}]`]: undefined;
681
- [x: `uint88[${string}]`]: undefined;
682
- [x: `uint96[${string}]`]: undefined;
683
- [x: `uint104[${string}]`]: undefined;
684
- [x: `uint112[${string}]`]: undefined;
685
- [x: `uint120[${string}]`]: undefined;
686
- [x: `uint128[${string}]`]: undefined;
687
- [x: `uint136[${string}]`]: undefined;
688
- [x: `uint144[${string}]`]: undefined;
689
- [x: `uint152[${string}]`]: undefined;
690
- [x: `uint160[${string}]`]: undefined;
691
- [x: `uint168[${string}]`]: undefined;
692
- [x: `uint176[${string}]`]: undefined;
693
- [x: `uint184[${string}]`]: undefined;
694
- [x: `uint192[${string}]`]: undefined;
695
- [x: `uint200[${string}]`]: undefined;
696
- [x: `uint208[${string}]`]: undefined;
697
- [x: `uint216[${string}]`]: undefined;
698
- [x: `uint224[${string}]`]: undefined;
699
- [x: `uint232[${string}]`]: undefined;
700
- [x: `uint240[${string}]`]: undefined;
701
- [x: `uint248[${string}]`]: undefined;
702
- [x: `uint256[${string}]`]: undefined;
703
- string?: undefined;
704
- address?: undefined;
705
- bool?: undefined;
706
- bytes?: undefined;
707
- bytes1?: undefined;
708
- bytes3?: undefined;
709
- bytes2?: undefined;
710
- bytes4?: undefined;
711
- bytes5?: undefined;
712
- bytes6?: undefined;
713
- bytes7?: undefined;
714
- bytes8?: undefined;
715
- bytes9?: undefined;
716
- bytes10?: undefined;
717
- bytes11?: undefined;
718
- bytes12?: undefined;
719
- bytes13?: undefined;
720
- bytes14?: undefined;
721
- bytes15?: undefined;
722
- bytes16?: undefined;
723
- bytes17?: undefined;
724
- bytes18?: undefined;
725
- bytes19?: undefined;
726
- bytes20?: undefined;
727
- bytes21?: undefined;
728
- bytes22?: undefined;
729
- bytes23?: undefined;
730
- bytes24?: undefined;
731
- bytes25?: undefined;
732
- bytes26?: undefined;
733
- bytes27?: undefined;
734
- bytes28?: undefined;
735
- bytes29?: undefined;
736
- bytes30?: undefined;
737
- bytes31?: undefined;
738
- bytes32?: undefined;
739
- int8?: undefined;
740
- int16?: undefined;
741
- int24?: undefined;
742
- int32?: undefined;
743
- int40?: undefined;
744
- int48?: undefined;
745
- int56?: undefined;
746
- int64?: undefined;
747
- int72?: undefined;
748
- int80?: undefined;
749
- int88?: undefined;
750
- int96?: undefined;
751
- int104?: undefined;
752
- int112?: undefined;
753
- int120?: undefined;
754
- int128?: undefined;
755
- int136?: undefined;
756
- int144?: undefined;
757
- int152?: undefined;
758
- int160?: undefined;
759
- int168?: undefined;
760
- int176?: undefined;
761
- int184?: undefined;
762
- int192?: undefined;
763
- int200?: undefined;
764
- int208?: undefined;
765
- int216?: undefined;
766
- int224?: undefined;
767
- int232?: undefined;
768
- int240?: undefined;
769
- int248?: undefined;
770
- int256?: undefined;
771
- uint8?: undefined;
772
- uint16?: undefined;
773
- uint24?: undefined;
774
- uint32?: undefined;
775
- uint40?: undefined;
776
- uint48?: undefined;
777
- uint56?: undefined;
778
- uint64?: undefined;
779
- uint72?: undefined;
780
- uint80?: undefined;
781
- uint88?: undefined;
782
- uint96?: undefined;
783
- uint104?: undefined;
784
- uint112?: undefined;
785
- uint120?: undefined;
786
- uint128?: undefined;
787
- uint136?: undefined;
788
- uint144?: undefined;
789
- uint152?: undefined;
790
- uint160?: undefined;
791
- uint168?: undefined;
792
- uint176?: undefined;
793
- uint184?: undefined;
794
- uint192?: undefined;
795
- uint200?: undefined;
796
- uint208?: undefined;
797
- uint216?: undefined;
798
- uint224?: undefined;
799
- uint232?: undefined;
800
- uint240?: undefined;
801
- uint248?: undefined;
802
- uint256?: undefined;
803
- } | Record<string, unknown>, primaryType extends "EIP712Domain" | keyof typedData = keyof typedData>(parameters: import("viem").TypedDataDefinition<typedData, primaryType>) => Promise<`0x${string}`>;
804
- signUserOperation: (parameters: import("viem").UnionPartialBy<import("viem/account-abstraction").UserOperation, "sender"> & {
805
- chainId?: number | undefined;
806
- }) => Promise<`0x${string}`>;
807
- userOperation?: {
808
- estimateGas?: ((userOperation: import("viem/account-abstraction").UserOperationRequest) => Promise<import("viem").ExactPartial<import("viem/_types/account-abstraction/types/userOperation.js").EstimateUserOperationGasReturnType> | undefined>) | undefined;
809
- } | undefined;
810
- } & {
811
- address: `0x${string}`;
812
- getNonce: (parameters?: {
813
- key?: bigint | undefined;
814
- } | undefined) => Promise<bigint>;
815
- isDeployed: () => Promise<boolean>;
816
- type: "smart";
817
- }) | undefined>, "sendTransaction" | "writeContract">>>(fn: (client: import("viem").Client<import("viem").Transport, import("viem").Chain | undefined, (object & {
818
- client: import("viem").Client;
819
- entryPoint: {
820
- abi: import("viem").Abi;
821
- address: `0x${string}`;
822
- version: EntryPointVersion;
823
- };
824
- extend?: object | undefined;
825
- getAddress: () => Promise<`0x${string}`>;
826
- decodeCalls?: ((data: `0x${string}`) => Promise<readonly {
827
- to: `0x${string}`;
828
- data?: `0x${string}` | undefined;
829
- value?: bigint | undefined;
830
- }[]>) | undefined;
831
- encodeCalls: (calls: readonly {
832
- to: `0x${string}`;
833
- data?: `0x${string}` | undefined;
834
- value?: bigint | undefined;
835
- }[]) => Promise<`0x${string}`>;
836
- getFactoryArgs: () => Promise<{
837
- factory?: `0x${string}` | undefined;
838
- factoryData?: `0x${string}` | undefined;
839
- }>;
840
- getNonce?: ((parameters?: {
841
- key?: bigint | undefined;
842
- } | undefined) => Promise<bigint>) | undefined;
843
- getStubSignature: (parameters?: import("viem/account-abstraction").UserOperationRequest | undefined) => Promise<`0x${string}`>;
844
- nonceKeyManager?: import("viem").NonceManager | undefined;
845
- sign?: ((parameters: {
846
- hash: `0x${string}`;
847
- }) => Promise<`0x${string}`>) | undefined;
848
- signMessage: (parameters: {
849
- message: import("viem").SignableMessage;
850
- }) => Promise<`0x${string}`>;
851
- signTypedData: <const typedData extends {
852
- [x: string]: readonly import("viem").TypedDataParameter[];
853
- [x: `string[${string}]`]: undefined;
854
- [x: `function[${string}]`]: undefined;
855
- [x: `address[${string}]`]: undefined;
856
- [x: `bool[${string}]`]: undefined;
857
- [x: `bytes[${string}]`]: undefined;
858
- [x: `bytes1[${string}]`]: undefined;
859
- [x: `bytes3[${string}]`]: undefined;
860
- [x: `bytes2[${string}]`]: undefined;
861
- [x: `bytes4[${string}]`]: undefined;
862
- [x: `bytes5[${string}]`]: undefined;
863
- [x: `bytes6[${string}]`]: undefined;
864
- [x: `bytes7[${string}]`]: undefined;
865
- [x: `bytes8[${string}]`]: undefined;
866
- [x: `bytes9[${string}]`]: undefined;
867
- [x: `bytes10[${string}]`]: undefined;
868
- [x: `bytes11[${string}]`]: undefined;
869
- [x: `bytes12[${string}]`]: undefined;
870
- [x: `bytes13[${string}]`]: undefined;
871
- [x: `bytes14[${string}]`]: undefined;
872
- [x: `bytes15[${string}]`]: undefined;
873
- [x: `bytes16[${string}]`]: undefined;
874
- [x: `bytes17[${string}]`]: undefined;
875
- [x: `bytes18[${string}]`]: undefined;
876
- [x: `bytes19[${string}]`]: undefined;
877
- [x: `bytes20[${string}]`]: undefined;
878
- [x: `bytes21[${string}]`]: undefined;
879
- [x: `bytes22[${string}]`]: undefined;
880
- [x: `bytes23[${string}]`]: undefined;
881
- [x: `bytes24[${string}]`]: undefined;
882
- [x: `bytes25[${string}]`]: undefined;
883
- [x: `bytes26[${string}]`]: undefined;
884
- [x: `bytes27[${string}]`]: undefined;
885
- [x: `bytes28[${string}]`]: undefined;
886
- [x: `bytes29[${string}]`]: undefined;
887
- [x: `bytes30[${string}]`]: undefined;
888
- [x: `bytes31[${string}]`]: undefined;
889
- [x: `bytes32[${string}]`]: undefined;
890
- [x: `int[${string}]`]: undefined;
891
- [x: `int8[${string}]`]: undefined;
892
- [x: `int16[${string}]`]: undefined;
893
- [x: `int24[${string}]`]: undefined;
894
- [x: `int32[${string}]`]: undefined;
895
- [x: `int40[${string}]`]: undefined;
896
- [x: `int48[${string}]`]: undefined;
897
- [x: `int56[${string}]`]: undefined;
898
- [x: `int64[${string}]`]: undefined;
899
- [x: `int72[${string}]`]: undefined;
900
- [x: `int80[${string}]`]: undefined;
901
- [x: `int88[${string}]`]: undefined;
902
- [x: `int96[${string}]`]: undefined;
903
- [x: `int104[${string}]`]: undefined;
904
- [x: `int112[${string}]`]: undefined;
905
- [x: `int120[${string}]`]: undefined;
906
- [x: `int128[${string}]`]: undefined;
907
- [x: `int136[${string}]`]: undefined;
908
- [x: `int144[${string}]`]: undefined;
909
- [x: `int152[${string}]`]: undefined;
910
- [x: `int160[${string}]`]: undefined;
911
- [x: `int168[${string}]`]: undefined;
912
- [x: `int176[${string}]`]: undefined;
913
- [x: `int184[${string}]`]: undefined;
914
- [x: `int192[${string}]`]: undefined;
915
- [x: `int200[${string}]`]: undefined;
916
- [x: `int208[${string}]`]: undefined;
917
- [x: `int216[${string}]`]: undefined;
918
- [x: `int224[${string}]`]: undefined;
919
- [x: `int232[${string}]`]: undefined;
920
- [x: `int240[${string}]`]: undefined;
921
- [x: `int248[${string}]`]: undefined;
922
- [x: `int256[${string}]`]: undefined;
923
- [x: `uint[${string}]`]: undefined;
924
- [x: `uint8[${string}]`]: undefined;
925
- [x: `uint16[${string}]`]: undefined;
926
- [x: `uint24[${string}]`]: undefined;
927
- [x: `uint32[${string}]`]: undefined;
928
- [x: `uint40[${string}]`]: undefined;
929
- [x: `uint48[${string}]`]: undefined;
930
- [x: `uint56[${string}]`]: undefined;
931
- [x: `uint64[${string}]`]: undefined;
932
- [x: `uint72[${string}]`]: undefined;
933
- [x: `uint80[${string}]`]: undefined;
934
- [x: `uint88[${string}]`]: undefined;
935
- [x: `uint96[${string}]`]: undefined;
936
- [x: `uint104[${string}]`]: undefined;
937
- [x: `uint112[${string}]`]: undefined;
938
- [x: `uint120[${string}]`]: undefined;
939
- [x: `uint128[${string}]`]: undefined;
940
- [x: `uint136[${string}]`]: undefined;
941
- [x: `uint144[${string}]`]: undefined;
942
- [x: `uint152[${string}]`]: undefined;
943
- [x: `uint160[${string}]`]: undefined;
944
- [x: `uint168[${string}]`]: undefined;
945
- [x: `uint176[${string}]`]: undefined;
946
- [x: `uint184[${string}]`]: undefined;
947
- [x: `uint192[${string}]`]: undefined;
948
- [x: `uint200[${string}]`]: undefined;
949
- [x: `uint208[${string}]`]: undefined;
950
- [x: `uint216[${string}]`]: undefined;
951
- [x: `uint224[${string}]`]: undefined;
952
- [x: `uint232[${string}]`]: undefined;
953
- [x: `uint240[${string}]`]: undefined;
954
- [x: `uint248[${string}]`]: undefined;
955
- [x: `uint256[${string}]`]: undefined;
956
- string?: undefined;
957
- address?: undefined;
958
- bool?: undefined;
959
- bytes?: undefined;
960
- bytes1?: undefined;
961
- bytes3?: undefined;
962
- bytes2?: undefined;
963
- bytes4?: undefined;
964
- bytes5?: undefined;
965
- bytes6?: undefined;
966
- bytes7?: undefined;
967
- bytes8?: undefined;
968
- bytes9?: undefined;
969
- bytes10?: undefined;
970
- bytes11?: undefined;
971
- bytes12?: undefined;
972
- bytes13?: undefined;
973
- bytes14?: undefined;
974
- bytes15?: undefined;
975
- bytes16?: undefined;
976
- bytes17?: undefined;
977
- bytes18?: undefined;
978
- bytes19?: undefined;
979
- bytes20?: undefined;
980
- bytes21?: undefined;
981
- bytes22?: undefined;
982
- bytes23?: undefined;
983
- bytes24?: undefined;
984
- bytes25?: undefined;
985
- bytes26?: undefined;
986
- bytes27?: undefined;
987
- bytes28?: undefined;
988
- bytes29?: undefined;
989
- bytes30?: undefined;
990
- bytes31?: undefined;
991
- bytes32?: undefined;
992
- int8?: undefined;
993
- int16?: undefined;
994
- int24?: undefined;
995
- int32?: undefined;
996
- int40?: undefined;
997
- int48?: undefined;
998
- int56?: undefined;
999
- int64?: undefined;
1000
- int72?: undefined;
1001
- int80?: undefined;
1002
- int88?: undefined;
1003
- int96?: undefined;
1004
- int104?: undefined;
1005
- int112?: undefined;
1006
- int120?: undefined;
1007
- int128?: undefined;
1008
- int136?: undefined;
1009
- int144?: undefined;
1010
- int152?: undefined;
1011
- int160?: undefined;
1012
- int168?: undefined;
1013
- int176?: undefined;
1014
- int184?: undefined;
1015
- int192?: undefined;
1016
- int200?: undefined;
1017
- int208?: undefined;
1018
- int216?: undefined;
1019
- int224?: undefined;
1020
- int232?: undefined;
1021
- int240?: undefined;
1022
- int248?: undefined;
1023
- int256?: undefined;
1024
- uint8?: undefined;
1025
- uint16?: undefined;
1026
- uint24?: undefined;
1027
- uint32?: undefined;
1028
- uint40?: undefined;
1029
- uint48?: undefined;
1030
- uint56?: undefined;
1031
- uint64?: undefined;
1032
- uint72?: undefined;
1033
- uint80?: undefined;
1034
- uint88?: undefined;
1035
- uint96?: undefined;
1036
- uint104?: undefined;
1037
- uint112?: undefined;
1038
- uint120?: undefined;
1039
- uint128?: undefined;
1040
- uint136?: undefined;
1041
- uint144?: undefined;
1042
- uint152?: undefined;
1043
- uint160?: undefined;
1044
- uint168?: undefined;
1045
- uint176?: undefined;
1046
- uint184?: undefined;
1047
- uint192?: undefined;
1048
- uint200?: undefined;
1049
- uint208?: undefined;
1050
- uint216?: undefined;
1051
- uint224?: undefined;
1052
- uint232?: undefined;
1053
- uint240?: undefined;
1054
- uint248?: undefined;
1055
- uint256?: undefined;
1056
- } | Record<string, unknown>, primaryType extends "EIP712Domain" | keyof typedData = keyof typedData>(parameters: import("viem").TypedDataDefinition<typedData, primaryType>) => Promise<`0x${string}`>;
1057
- signUserOperation: (parameters: import("viem").UnionPartialBy<import("viem/account-abstraction").UserOperation, "sender"> & {
1058
- chainId?: number | undefined;
1059
- }) => Promise<`0x${string}`>;
1060
- userOperation?: {
1061
- estimateGas?: ((userOperation: import("viem/account-abstraction").UserOperationRequest) => Promise<import("viem").ExactPartial<import("viem/_types/account-abstraction/types/userOperation.js").EstimateUserOperationGasReturnType> | undefined>) | undefined;
1062
- } | undefined;
1063
- } & {
1064
- address: `0x${string}`;
1065
- getNonce: (parameters?: {
1066
- key?: bigint | undefined;
1067
- } | undefined) => Promise<bigint>;
1068
- isDeployed: () => Promise<boolean>;
1069
- type: "smart";
1070
- }) | undefined, import("../../index.js").ZeroDevPaymasterRpcSchema<entryPointVersion>, import("viem/account-abstraction").PaymasterActions & import("../../index.js").ZeroDevPaymasterClientActions>) => client) => import("viem").Client<import("viem").Transport, import("viem").Chain | undefined, (object & {
1071
- client: import("viem").Client;
1072
- entryPoint: {
1073
- abi: import("viem").Abi;
1074
- address: `0x${string}`;
1075
- version: EntryPointVersion;
1076
- };
1077
- extend?: object | undefined;
1078
- getAddress: () => Promise<`0x${string}`>;
1079
- decodeCalls?: ((data: `0x${string}`) => Promise<readonly {
1080
- to: `0x${string}`;
1081
- data?: `0x${string}` | undefined;
1082
- value?: bigint | undefined;
1083
- }[]>) | undefined;
1084
- encodeCalls: (calls: readonly {
1085
- to: `0x${string}`;
1086
- data?: `0x${string}` | undefined;
1087
- value?: bigint | undefined;
1088
- }[]) => Promise<`0x${string}`>;
1089
- getFactoryArgs: () => Promise<{
1090
- factory?: `0x${string}` | undefined;
1091
- factoryData?: `0x${string}` | undefined;
1092
- }>;
1093
- getNonce?: ((parameters?: {
1094
- key?: bigint | undefined;
1095
- } | undefined) => Promise<bigint>) | undefined;
1096
- getStubSignature: (parameters?: import("viem/account-abstraction").UserOperationRequest | undefined) => Promise<`0x${string}`>;
1097
- nonceKeyManager?: import("viem").NonceManager | undefined;
1098
- sign?: ((parameters: {
1099
- hash: `0x${string}`;
1100
- }) => Promise<`0x${string}`>) | undefined;
1101
- signMessage: (parameters: {
1102
- message: import("viem").SignableMessage;
1103
- }) => Promise<`0x${string}`>;
1104
- signTypedData: <const typedData extends {
1105
- [x: string]: readonly import("viem").TypedDataParameter[];
1106
- [x: `string[${string}]`]: undefined;
1107
- [x: `function[${string}]`]: undefined;
1108
- [x: `address[${string}]`]: undefined;
1109
- [x: `bool[${string}]`]: undefined;
1110
- [x: `bytes[${string}]`]: undefined;
1111
- [x: `bytes1[${string}]`]: undefined;
1112
- [x: `bytes3[${string}]`]: undefined;
1113
- [x: `bytes2[${string}]`]: undefined;
1114
- [x: `bytes4[${string}]`]: undefined;
1115
- [x: `bytes5[${string}]`]: undefined;
1116
- [x: `bytes6[${string}]`]: undefined;
1117
- [x: `bytes7[${string}]`]: undefined;
1118
- [x: `bytes8[${string}]`]: undefined;
1119
- [x: `bytes9[${string}]`]: undefined;
1120
- [x: `bytes10[${string}]`]: undefined;
1121
- [x: `bytes11[${string}]`]: undefined;
1122
- [x: `bytes12[${string}]`]: undefined;
1123
- [x: `bytes13[${string}]`]: undefined;
1124
- [x: `bytes14[${string}]`]: undefined;
1125
- [x: `bytes15[${string}]`]: undefined;
1126
- [x: `bytes16[${string}]`]: undefined;
1127
- [x: `bytes17[${string}]`]: undefined;
1128
- [x: `bytes18[${string}]`]: undefined;
1129
- [x: `bytes19[${string}]`]: undefined;
1130
- [x: `bytes20[${string}]`]: undefined;
1131
- [x: `bytes21[${string}]`]: undefined;
1132
- [x: `bytes22[${string}]`]: undefined;
1133
- [x: `bytes23[${string}]`]: undefined;
1134
- [x: `bytes24[${string}]`]: undefined;
1135
- [x: `bytes25[${string}]`]: undefined;
1136
- [x: `bytes26[${string}]`]: undefined;
1137
- [x: `bytes27[${string}]`]: undefined;
1138
- [x: `bytes28[${string}]`]: undefined;
1139
- [x: `bytes29[${string}]`]: undefined;
1140
- [x: `bytes30[${string}]`]: undefined;
1141
- [x: `bytes31[${string}]`]: undefined;
1142
- [x: `bytes32[${string}]`]: undefined;
1143
- [x: `int[${string}]`]: undefined;
1144
- [x: `int8[${string}]`]: undefined;
1145
- [x: `int16[${string}]`]: undefined;
1146
- [x: `int24[${string}]`]: undefined;
1147
- [x: `int32[${string}]`]: undefined;
1148
- [x: `int40[${string}]`]: undefined;
1149
- [x: `int48[${string}]`]: undefined;
1150
- [x: `int56[${string}]`]: undefined;
1151
- [x: `int64[${string}]`]: undefined;
1152
- [x: `int72[${string}]`]: undefined;
1153
- [x: `int80[${string}]`]: undefined;
1154
- [x: `int88[${string}]`]: undefined;
1155
- [x: `int96[${string}]`]: undefined;
1156
- [x: `int104[${string}]`]: undefined;
1157
- [x: `int112[${string}]`]: undefined;
1158
- [x: `int120[${string}]`]: undefined;
1159
- [x: `int128[${string}]`]: undefined;
1160
- [x: `int136[${string}]`]: undefined;
1161
- [x: `int144[${string}]`]: undefined;
1162
- [x: `int152[${string}]`]: undefined;
1163
- [x: `int160[${string}]`]: undefined;
1164
- [x: `int168[${string}]`]: undefined;
1165
- [x: `int176[${string}]`]: undefined;
1166
- [x: `int184[${string}]`]: undefined;
1167
- [x: `int192[${string}]`]: undefined;
1168
- [x: `int200[${string}]`]: undefined;
1169
- [x: `int208[${string}]`]: undefined;
1170
- [x: `int216[${string}]`]: undefined;
1171
- [x: `int224[${string}]`]: undefined;
1172
- [x: `int232[${string}]`]: undefined;
1173
- [x: `int240[${string}]`]: undefined;
1174
- [x: `int248[${string}]`]: undefined;
1175
- [x: `int256[${string}]`]: undefined;
1176
- [x: `uint[${string}]`]: undefined;
1177
- [x: `uint8[${string}]`]: undefined;
1178
- [x: `uint16[${string}]`]: undefined;
1179
- [x: `uint24[${string}]`]: undefined;
1180
- [x: `uint32[${string}]`]: undefined;
1181
- [x: `uint40[${string}]`]: undefined;
1182
- [x: `uint48[${string}]`]: undefined;
1183
- [x: `uint56[${string}]`]: undefined;
1184
- [x: `uint64[${string}]`]: undefined;
1185
- [x: `uint72[${string}]`]: undefined;
1186
- [x: `uint80[${string}]`]: undefined;
1187
- [x: `uint88[${string}]`]: undefined;
1188
- [x: `uint96[${string}]`]: undefined;
1189
- [x: `uint104[${string}]`]: undefined;
1190
- [x: `uint112[${string}]`]: undefined;
1191
- [x: `uint120[${string}]`]: undefined;
1192
- [x: `uint128[${string}]`]: undefined;
1193
- [x: `uint136[${string}]`]: undefined;
1194
- [x: `uint144[${string}]`]: undefined;
1195
- [x: `uint152[${string}]`]: undefined;
1196
- [x: `uint160[${string}]`]: undefined;
1197
- [x: `uint168[${string}]`]: undefined;
1198
- [x: `uint176[${string}]`]: undefined;
1199
- [x: `uint184[${string}]`]: undefined;
1200
- [x: `uint192[${string}]`]: undefined;
1201
- [x: `uint200[${string}]`]: undefined;
1202
- [x: `uint208[${string}]`]: undefined;
1203
- [x: `uint216[${string}]`]: undefined;
1204
- [x: `uint224[${string}]`]: undefined;
1205
- [x: `uint232[${string}]`]: undefined;
1206
- [x: `uint240[${string}]`]: undefined;
1207
- [x: `uint248[${string}]`]: undefined;
1208
- [x: `uint256[${string}]`]: undefined;
1209
- string?: undefined;
1210
- address?: undefined;
1211
- bool?: undefined;
1212
- bytes?: undefined;
1213
- bytes1?: undefined;
1214
- bytes3?: undefined;
1215
- bytes2?: undefined;
1216
- bytes4?: undefined;
1217
- bytes5?: undefined;
1218
- bytes6?: undefined;
1219
- bytes7?: undefined;
1220
- bytes8?: undefined;
1221
- bytes9?: undefined;
1222
- bytes10?: undefined;
1223
- bytes11?: undefined;
1224
- bytes12?: undefined;
1225
- bytes13?: undefined;
1226
- bytes14?: undefined;
1227
- bytes15?: undefined;
1228
- bytes16?: undefined;
1229
- bytes17?: undefined;
1230
- bytes18?: undefined;
1231
- bytes19?: undefined;
1232
- bytes20?: undefined;
1233
- bytes21?: undefined;
1234
- bytes22?: undefined;
1235
- bytes23?: undefined;
1236
- bytes24?: undefined;
1237
- bytes25?: undefined;
1238
- bytes26?: undefined;
1239
- bytes27?: undefined;
1240
- bytes28?: undefined;
1241
- bytes29?: undefined;
1242
- bytes30?: undefined;
1243
- bytes31?: undefined;
1244
- bytes32?: undefined;
1245
- int8?: undefined;
1246
- int16?: undefined;
1247
- int24?: undefined;
1248
- int32?: undefined;
1249
- int40?: undefined;
1250
- int48?: undefined;
1251
- int56?: undefined;
1252
- int64?: undefined;
1253
- int72?: undefined;
1254
- int80?: undefined;
1255
- int88?: undefined;
1256
- int96?: undefined;
1257
- int104?: undefined;
1258
- int112?: undefined;
1259
- int120?: undefined;
1260
- int128?: undefined;
1261
- int136?: undefined;
1262
- int144?: undefined;
1263
- int152?: undefined;
1264
- int160?: undefined;
1265
- int168?: undefined;
1266
- int176?: undefined;
1267
- int184?: undefined;
1268
- int192?: undefined;
1269
- int200?: undefined;
1270
- int208?: undefined;
1271
- int216?: undefined;
1272
- int224?: undefined;
1273
- int232?: undefined;
1274
- int240?: undefined;
1275
- int248?: undefined;
1276
- int256?: undefined;
1277
- uint8?: undefined;
1278
- uint16?: undefined;
1279
- uint24?: undefined;
1280
- uint32?: undefined;
1281
- uint40?: undefined;
1282
- uint48?: undefined;
1283
- uint56?: undefined;
1284
- uint64?: undefined;
1285
- uint72?: undefined;
1286
- uint80?: undefined;
1287
- uint88?: undefined;
1288
- uint96?: undefined;
1289
- uint104?: undefined;
1290
- uint112?: undefined;
1291
- uint120?: undefined;
1292
- uint128?: undefined;
1293
- uint136?: undefined;
1294
- uint144?: undefined;
1295
- uint152?: undefined;
1296
- uint160?: undefined;
1297
- uint168?: undefined;
1298
- uint176?: undefined;
1299
- uint184?: undefined;
1300
- uint192?: undefined;
1301
- uint200?: undefined;
1302
- uint208?: undefined;
1303
- uint216?: undefined;
1304
- uint224?: undefined;
1305
- uint232?: undefined;
1306
- uint240?: undefined;
1307
- uint248?: undefined;
1308
- uint256?: undefined;
1309
- } | Record<string, unknown>, primaryType extends "EIP712Domain" | keyof typedData = keyof typedData>(parameters: import("viem").TypedDataDefinition<typedData, primaryType>) => Promise<`0x${string}`>;
1310
- signUserOperation: (parameters: import("viem").UnionPartialBy<import("viem/account-abstraction").UserOperation, "sender"> & {
1311
- chainId?: number | undefined;
1312
- }) => Promise<`0x${string}`>;
1313
- userOperation?: {
1314
- estimateGas?: ((userOperation: import("viem/account-abstraction").UserOperationRequest) => Promise<import("viem").ExactPartial<import("viem/_types/account-abstraction/types/userOperation.js").EstimateUserOperationGasReturnType> | undefined>) | undefined;
1315
- } | undefined;
1316
- } & {
1317
- address: `0x${string}`;
1318
- getNonce: (parameters?: {
1319
- key?: bigint | undefined;
1320
- } | undefined) => Promise<bigint>;
1321
- isDeployed: () => Promise<boolean>;
1322
- type: "smart";
1323
- }) | undefined, import("../../index.js").ZeroDevPaymasterRpcSchema<entryPointVersion>, { [K in keyof client]: client[K]; } & import("viem/account-abstraction").PaymasterActions & import("../../index.js").ZeroDevPaymasterClientActions>;
58
+ } & import("viem").ExactPartial<Pick<import("viem").PublicActions<import("viem").Transport, import("viem").Chain | undefined, import("viem/account-abstraction").SmartAccount | undefined>, "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getChainId" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "prepareTransactionRequest" | "readContract" | "sendRawTransaction" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<import("viem").WalletActions<import("viem").Chain | undefined, import("viem/account-abstraction").SmartAccount | undefined>, "sendTransaction" | "writeContract">>>(fn: (client: import("viem").Client<import("viem").Transport, import("viem").Chain | undefined, import("viem/account-abstraction").SmartAccount | undefined, import("../../index.js").ZeroDevPaymasterRpcSchema<entryPointVersion>, import("viem/account-abstraction").PaymasterActions & import("../../index.js").ZeroDevPaymasterClientActions>) => client) => import("viem").Client<import("viem").Transport, import("viem").Chain | undefined, import("viem/account-abstraction").SmartAccount | undefined, import("../../index.js").ZeroDevPaymasterRpcSchema<entryPointVersion>, { [K in keyof client]: client[K]; } & import("viem/account-abstraction").PaymasterActions & import("../../index.js").ZeroDevPaymasterClientActions>;
1324
59
  }, args: SponsorUserOperationParameters) => Promise<SponsorUserOperationReturnType>;
1325
60
  //# sourceMappingURL=sponsorUserOperation.d.ts.map