SimpleAccountAbi_v7

1const SimpleAccountAbi_v7: readonly [
2 {
3 inputs: readonly [
4 {
5 internalType: "contract IEntryPoint";
6 name: "anEntryPoint";
7 type: "address";
8 },
9 ];
10 stateMutability: "nonpayable";
11 type: "constructor";
12 },
13 {
14 inputs: readonly [
15 {
16 internalType: "address";
17 name: "target";
18 type: "address";
19 },
20 ];
21 name: "AddressEmptyCode";
22 type: "error";
23 },
24 {
25 inputs: readonly [];
26 name: "ECDSAInvalidSignature";
27 type: "error";
28 },
29 {
30 inputs: readonly [
31 {
32 internalType: "uint256";
33 name: "length";
34 type: "uint256";
35 },
36 ];
37 name: "ECDSAInvalidSignatureLength";
38 type: "error";
39 },
40 {
41 inputs: readonly [
42 {
43 internalType: "bytes32";
44 name: "s";
45 type: "bytes32";
46 },
47 ];
48 name: "ECDSAInvalidSignatureS";
49 type: "error";
50 },
51 {
52 inputs: readonly [
53 {
54 internalType: "address";
55 name: "implementation";
56 type: "address";
57 },
58 ];
59 name: "ERC1967InvalidImplementation";
60 type: "error";
61 },
62 {
63 inputs: readonly [];
64 name: "ERC1967NonPayable";
65 type: "error";
66 },
67 {
68 inputs: readonly [];
69 name: "FailedInnerCall";
70 type: "error";
71 },
72 {
73 inputs: readonly [];
74 name: "InvalidInitialization";
75 type: "error";
76 },
77 {
78 inputs: readonly [];
79 name: "NotInitializing";
80 type: "error";
81 },
82 {
83 inputs: readonly [];
84 name: "UUPSUnauthorizedCallContext";
85 type: "error";
86 },
87 {
88 inputs: readonly [
89 {
90 internalType: "bytes32";
91 name: "slot";
92 type: "bytes32";
93 },
94 ];
95 name: "UUPSUnsupportedProxiableUUID";
96 type: "error";
97 },
98 {
99 anonymous: false;
100 inputs: readonly [
101 {
102 indexed: false;
103 internalType: "uint64";
104 name: "version";
105 type: "uint64";
106 },
107 ];
108 name: "Initialized";
109 type: "event";
110 },
111 {
112 anonymous: false;
113 inputs: readonly [
114 {
115 indexed: true;
116 internalType: "contract IEntryPoint";
117 name: "entryPoint";
118 type: "address";
119 },
120 {
121 indexed: true;
122 internalType: "address";
123 name: "owner";
124 type: "address";
125 },
126 ];
127 name: "SimpleAccountInitialized";
128 type: "event";
129 },
130 {
131 anonymous: false;
132 inputs: readonly [
133 {
134 indexed: true;
135 internalType: "address";
136 name: "implementation";
137 type: "address";
138 },
139 ];
140 name: "Upgraded";
141 type: "event";
142 },
143 {
144 inputs: readonly [];
145 name: "UPGRADE_INTERFACE_VERSION";
146 outputs: readonly [
147 {
148 internalType: "string";
149 name: "";
150 type: "string";
151 },
152 ];
153 stateMutability: "view";
154 type: "function";
155 },
156 {
157 inputs: readonly [];
158 name: "addDeposit";
159 outputs: readonly [];
160 stateMutability: "payable";
161 type: "function";
162 },
163 {
164 inputs: readonly [];
165 name: "entryPoint";
166 outputs: readonly [
167 {
168 internalType: "contract IEntryPoint";
169 name: "";
170 type: "address";
171 },
172 ];
173 stateMutability: "view";
174 type: "function";
175 },
176 {
177 inputs: readonly [
178 {
179 internalType: "address";
180 name: "dest";
181 type: "address";
182 },
183 {
184 internalType: "uint256";
185 name: "value";
186 type: "uint256";
187 },
188 {
189 internalType: "bytes";
190 name: "func";
191 type: "bytes";
192 },
193 ];
194 name: "execute";
195 outputs: readonly [];
196 stateMutability: "nonpayable";
197 type: "function";
198 },
199 {
200 inputs: readonly [
201 {
202 internalType: "address[]";
203 name: "dest";
204 type: "address[]";
205 },
206 {
207 internalType: "uint256[]";
208 name: "value";
209 type: "uint256[]";
210 },
211 {
212 internalType: "bytes[]";
213 name: "func";
214 type: "bytes[]";
215 },
216 ];
217 name: "executeBatch";
218 outputs: readonly [];
219 stateMutability: "nonpayable";
220 type: "function";
221 },
222 {
223 inputs: readonly [];
224 name: "getDeposit";
225 outputs: readonly [
226 {
227 internalType: "uint256";
228 name: "";
229 type: "uint256";
230 },
231 ];
232 stateMutability: "view";
233 type: "function";
234 },
235 {
236 inputs: readonly [];
237 name: "getNonce";
238 outputs: readonly [
239 {
240 internalType: "uint256";
241 name: "";
242 type: "uint256";
243 },
244 ];
245 stateMutability: "view";
246 type: "function";
247 },
248 {
249 inputs: readonly [
250 {
251 internalType: "address";
252 name: "anOwner";
253 type: "address";
254 },
255 ];
256 name: "initialize";
257 outputs: readonly [];
258 stateMutability: "nonpayable";
259 type: "function";
260 },
261 {
262 inputs: readonly [
263 {
264 internalType: "address";
265 name: "";
266 type: "address";
267 },
268 {
269 internalType: "address";
270 name: "";
271 type: "address";
272 },
273 {
274 internalType: "uint256[]";
275 name: "";
276 type: "uint256[]";
277 },
278 {
279 internalType: "uint256[]";
280 name: "";
281 type: "uint256[]";
282 },
283 {
284 internalType: "bytes";
285 name: "";
286 type: "bytes";
287 },
288 ];
289 name: "onERC1155BatchReceived";
290 outputs: readonly [
291 {
292 internalType: "bytes4";
293 name: "";
294 type: "bytes4";
295 },
296 ];
297 stateMutability: "pure";
298 type: "function";
299 },
300 {
301 inputs: readonly [
302 {
303 internalType: "address";
304 name: "";
305 type: "address";
306 },
307 {
308 internalType: "address";
309 name: "";
310 type: "address";
311 },
312 {
313 internalType: "uint256";
314 name: "";
315 type: "uint256";
316 },
317 {
318 internalType: "uint256";
319 name: "";
320 type: "uint256";
321 },
322 {
323 internalType: "bytes";
324 name: "";
325 type: "bytes";
326 },
327 ];
328 name: "onERC1155Received";
329 outputs: readonly [
330 {
331 internalType: "bytes4";
332 name: "";
333 type: "bytes4";
334 },
335 ];
336 stateMutability: "pure";
337 type: "function";
338 },
339 {
340 inputs: readonly [
341 {
342 internalType: "address";
343 name: "";
344 type: "address";
345 },
346 {
347 internalType: "address";
348 name: "";
349 type: "address";
350 },
351 {
352 internalType: "uint256";
353 name: "";
354 type: "uint256";
355 },
356 {
357 internalType: "bytes";
358 name: "";
359 type: "bytes";
360 },
361 ];
362 name: "onERC721Received";
363 outputs: readonly [
364 {
365 internalType: "bytes4";
366 name: "";
367 type: "bytes4";
368 },
369 ];
370 stateMutability: "pure";
371 type: "function";
372 },
373 {
374 inputs: readonly [];
375 name: "owner";
376 outputs: readonly [
377 {
378 internalType: "address";
379 name: "";
380 type: "address";
381 },
382 ];
383 stateMutability: "view";
384 type: "function";
385 },
386 {
387 inputs: readonly [];
388 name: "proxiableUUID";
389 outputs: readonly [
390 {
391 internalType: "bytes32";
392 name: "";
393 type: "bytes32";
394 },
395 ];
396 stateMutability: "view";
397 type: "function";
398 },
399 {
400 inputs: readonly [
401 {
402 internalType: "bytes4";
403 name: "interfaceId";
404 type: "bytes4";
405 },
406 ];
407 name: "supportsInterface";
408 outputs: readonly [
409 {
410 internalType: "bool";
411 name: "";
412 type: "bool";
413 },
414 ];
415 stateMutability: "view";
416 type: "function";
417 },
418 {
419 inputs: readonly [
420 {
421 internalType: "address";
422 name: "newImplementation";
423 type: "address";
424 },
425 {
426 internalType: "bytes";
427 name: "data";
428 type: "bytes";
429 },
430 ];
431 name: "upgradeToAndCall";
432 outputs: readonly [];
433 stateMutability: "payable";
434 type: "function";
435 },
436 {
437 inputs: readonly [
438 {
439 components: readonly [
440 {
441 internalType: "address";
442 name: "sender";
443 type: "address";
444 },
445 {
446 internalType: "uint256";
447 name: "nonce";
448 type: "uint256";
449 },
450 {
451 internalType: "bytes";
452 name: "initCode";
453 type: "bytes";
454 },
455 {
456 internalType: "bytes";
457 name: "callData";
458 type: "bytes";
459 },
460 {
461 internalType: "bytes32";
462 name: "accountGasLimits";
463 type: "bytes32";
464 },
465 {
466 internalType: "uint256";
467 name: "preVerificationGas";
468 type: "uint256";
469 },
470 {
471 internalType: "bytes32";
472 name: "gasFees";
473 type: "bytes32";
474 },
475 {
476 internalType: "bytes";
477 name: "paymasterAndData";
478 type: "bytes";
479 },
480 {
481 internalType: "bytes";
482 name: "signature";
483 type: "bytes";
484 },
485 ];
486 internalType: "struct PackedUserOperation";
487 name: "userOp";
488 type: "tuple";
489 },
490 {
491 internalType: "bytes32";
492 name: "userOpHash";
493 type: "bytes32";
494 },
495 {
496 internalType: "uint256";
497 name: "missingAccountFunds";
498 type: "uint256";
499 },
500 ];
501 name: "validateUserOp";
502 outputs: readonly [
503 {
504 internalType: "uint256";
505 name: "validationData";
506 type: "uint256";
507 },
508 ];
509 stateMutability: "nonpayable";
510 type: "function";
511 },
512 {
513 inputs: readonly [
514 {
515 internalType: "address payable";
516 name: "withdrawAddress";
517 type: "address";
518 },
519 {
520 internalType: "uint256";
521 name: "amount";
522 type: "uint256";
523 },
524 ];
525 name: "withdrawDepositTo";
526 outputs: readonly [];
527 stateMutability: "nonpayable";
528 type: "function";
529 },
530 {
531 stateMutability: "payable";
532 type: "receive";
533 },
534];

Defined in: aa-sdk/core/src/abis/SimpleAccountAbi_v7.ts:1