SimpleAccountAbi_v6

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

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