@zerodev/sdk 5.4.27 → 5.4.29

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