semiModularAccountBytecodeAbi

1const semiModularAccountBytecodeAbi: readonly [{
2 inputs: readonly [{
3 internalType: "contract IEntryPoint";
4 name: "entryPoint";
5 type: "address";
6 }, {
7 internalType: "contract ExecutionInstallDelegate";
8 name: "executionInstallDelegate";
9 type: "address";
10 }];
11 stateMutability: "nonpayable";
12 type: "constructor";
13}, {
14 stateMutability: "payable";
15 type: "fallback";
16}, {
17 stateMutability: "payable";
18 type: "receive";
19}, {
20 inputs: readonly [];
21 name: "accountId";
22 outputs: readonly [{
23 internalType: "string";
24 name: "";
25 type: "string";
26 }];
27 stateMutability: "pure";
28 type: "function";
29}, {
30 inputs: readonly [];
31 name: "entryPoint";
32 outputs: readonly [{
33 internalType: "contract IEntryPoint";
34 name: "";
35 type: "address";
36 }];
37 stateMutability: "view";
38 type: "function";
39}, {
40 inputs: readonly [{
41 internalType: "address";
42 name: "target";
43 type: "address";
44 }, {
45 internalType: "uint256";
46 name: "value";
47 type: "uint256";
48 }, {
49 internalType: "bytes";
50 name: "data";
51 type: "bytes";
52 }];
53 name: "execute";
54 outputs: readonly [{
55 internalType: "bytes";
56 name: "result";
57 type: "bytes";
58 }];
59 stateMutability: "payable";
60 type: "function";
61}, {
62 inputs: readonly [{
63 components: readonly [{
64 internalType: "address";
65 name: "target";
66 type: "address";
67 }, {
68 internalType: "uint256";
69 name: "value";
70 type: "uint256";
71 }, {
72 internalType: "bytes";
73 name: "data";
74 type: "bytes";
75 }];
76 internalType: "struct Call[]";
77 name: "calls";
78 type: "tuple[]";
79 }];
80 name: "executeBatch";
81 outputs: readonly [{
82 internalType: "bytes[]";
83 name: "results";
84 type: "bytes[]";
85 }];
86 stateMutability: "payable";
87 type: "function";
88}, {
89 inputs: readonly [{
90 components: readonly [{
91 internalType: "address";
92 name: "sender";
93 type: "address";
94 }, {
95 internalType: "uint256";
96 name: "nonce";
97 type: "uint256";
98 }, {
99 internalType: "bytes";
100 name: "initCode";
101 type: "bytes";
102 }, {
103 internalType: "bytes";
104 name: "callData";
105 type: "bytes";
106 }, {
107 internalType: "bytes32";
108 name: "accountGasLimits";
109 type: "bytes32";
110 }, {
111 internalType: "uint256";
112 name: "preVerificationGas";
113 type: "uint256";
114 }, {
115 internalType: "bytes32";
116 name: "gasFees";
117 type: "bytes32";
118 }, {
119 internalType: "bytes";
120 name: "paymasterAndData";
121 type: "bytes";
122 }, {
123 internalType: "bytes";
124 name: "signature";
125 type: "bytes";
126 }];
127 internalType: "struct PackedUserOperation";
128 name: "userOp";
129 type: "tuple";
130 }, {
131 internalType: "bytes32";
132 name: "";
133 type: "bytes32";
134 }];
135 name: "executeUserOp";
136 outputs: readonly [];
137 stateMutability: "nonpayable";
138 type: "function";
139}, {
140 inputs: readonly [{
141 internalType: "bytes";
142 name: "data";
143 type: "bytes";
144 }, {
145 internalType: "bytes";
146 name: "authorization";
147 type: "bytes";
148 }];
149 name: "executeWithRuntimeValidation";
150 outputs: readonly [{
151 internalType: "bytes";
152 name: "";
153 type: "bytes";
154 }];
155 stateMutability: "payable";
156 type: "function";
157}, {
158 inputs: readonly [{
159 internalType: "bytes4";
160 name: "selector";
161 type: "bytes4";
162 }];
163 name: "getExecutionData";
164 outputs: readonly [{
165 components: readonly [{
166 internalType: "address";
167 name: "module";
168 type: "address";
169 }, {
170 internalType: "bool";
171 name: "skipRuntimeValidation";
172 type: "bool";
173 }, {
174 internalType: "bool";
175 name: "allowGlobalValidation";
176 type: "bool";
177 }, {
178 internalType: "HookConfig[]";
179 name: "executionHooks";
180 type: "bytes25[]";
181 }];
182 internalType: "struct ExecutionDataView";
183 name: "data";
184 type: "tuple";
185 }];
186 stateMutability: "view";
187 type: "function";
188}, {
189 inputs: readonly [];
190 name: "getFallbackSignerData";
191 outputs: readonly [{
192 internalType: "address";
193 name: "";
194 type: "address";
195 }, {
196 internalType: "bool";
197 name: "";
198 type: "bool";
199 }];
200 stateMutability: "view";
201 type: "function";
202}, {
203 inputs: readonly [{
204 internalType: "ModuleEntity";
205 name: "validationFunction";
206 type: "bytes24";
207 }];
208 name: "getValidationData";
209 outputs: readonly [{
210 components: readonly [{
211 internalType: "ValidationFlags";
212 name: "validationFlags";
213 type: "uint8";
214 }, {
215 internalType: "HookConfig[]";
216 name: "validationHooks";
217 type: "bytes25[]";
218 }, {
219 internalType: "HookConfig[]";
220 name: "executionHooks";
221 type: "bytes25[]";
222 }, {
223 internalType: "bytes4[]";
224 name: "selectors";
225 type: "bytes4[]";
226 }];
227 internalType: "struct ValidationDataView";
228 name: "data";
229 type: "tuple";
230 }];
231 stateMutability: "view";
232 type: "function";
233}, {
234 inputs: readonly [{
235 internalType: "address";
236 name: "module";
237 type: "address";
238 }, {
239 components: readonly [{
240 components: readonly [..., ..., ...];
241 internalType: "struct ManifestExecutionFunction[]";
242 name: "executionFunctions";
243 type: "tuple[]";
244 }, {
245 components: readonly [..., ..., ..., ...];
246 internalType: "struct ManifestExecutionHook[]";
247 name: "executionHooks";
248 type: "tuple[]";
249 }, {
250 internalType: "bytes4[]";
251 name: "interfaceIds";
252 type: "bytes4[]";
253 }];
254 internalType: "struct ExecutionManifest";
255 name: "manifest";
256 type: "tuple";
257 }, {
258 internalType: "bytes";
259 name: "moduleInstallData";
260 type: "bytes";
261 }];
262 name: "installExecution";
263 outputs: readonly [];
264 stateMutability: "nonpayable";
265 type: "function";
266}, {
267 inputs: readonly [{
268 internalType: "ValidationConfig";
269 name: "validationConfig";
270 type: "bytes25";
271 }, {
272 internalType: "bytes4[]";
273 name: "selectors";
274 type: "bytes4[]";
275 }, {
276 internalType: "bytes";
277 name: "installData";
278 type: "bytes";
279 }, {
280 internalType: "bytes[]";
281 name: "hooks";
282 type: "bytes[]";
283 }];
284 name: "installValidation";
285 outputs: readonly [];
286 stateMutability: "nonpayable";
287 type: "function";
288}, {
289 inputs: readonly [{
290 internalType: "bytes32";
291 name: "hash";
292 type: "bytes32";
293 }, {
294 internalType: "bytes";
295 name: "signature";
296 type: "bytes";
297 }];
298 name: "isValidSignature";
299 outputs: readonly [{
300 internalType: "bytes4";
301 name: "";
302 type: "bytes4";
303 }];
304 stateMutability: "view";
305 type: "function";
306}, {
307 inputs: readonly [{
308 internalType: "address";
309 name: "";
310 type: "address";
311 }, {
312 internalType: "address";
313 name: "";
314 type: "address";
315 }, {
316 internalType: "uint256[]";
317 name: "";
318 type: "uint256[]";
319 }, {
320 internalType: "uint256[]";
321 name: "";
322 type: "uint256[]";
323 }, {
324 internalType: "bytes";
325 name: "";
326 type: "bytes";
327 }];
328 name: "onERC1155BatchReceived";
329 outputs: readonly [{
330 internalType: "bytes4";
331 name: "";
332 type: "bytes4";
333 }];
334 stateMutability: "pure";
335 type: "function";
336}, {
337 inputs: readonly [{
338 internalType: "address";
339 name: "";
340 type: "address";
341 }, {
342 internalType: "address";
343 name: "";
344 type: "address";
345 }, {
346 internalType: "uint256";
347 name: "";
348 type: "uint256";
349 }, {
350 internalType: "uint256";
351 name: "";
352 type: "uint256";
353 }, {
354 internalType: "bytes";
355 name: "";
356 type: "bytes";
357 }];
358 name: "onERC1155Received";
359 outputs: readonly [{
360 internalType: "bytes4";
361 name: "";
362 type: "bytes4";
363 }];
364 stateMutability: "pure";
365 type: "function";
366}, {
367 inputs: readonly [{
368 internalType: "address";
369 name: "";
370 type: "address";
371 }, {
372 internalType: "address";
373 name: "";
374 type: "address";
375 }, {
376 internalType: "uint256";
377 name: "";
378 type: "uint256";
379 }, {
380 internalType: "bytes";
381 name: "";
382 type: "bytes";
383 }];
384 name: "onERC721Received";
385 outputs: readonly [{
386 internalType: "bytes4";
387 name: "";
388 type: "bytes4";
389 }];
390 stateMutability: "pure";
391 type: "function";
392}, {
393 inputs: readonly [{
394 internalType: "uint256";
395 name: "value";
396 type: "uint256";
397 }, {
398 internalType: "bytes";
399 name: "initCode";
400 type: "bytes";
401 }, {
402 internalType: "bool";
403 name: "isCreate2";
404 type: "bool";
405 }, {
406 internalType: "bytes32";
407 name: "salt";
408 type: "bytes32";
409 }];
410 name: "performCreate";
411 outputs: readonly [{
412 internalType: "address";
413 name: "createdAddr";
414 type: "address";
415 }];
416 stateMutability: "payable";
417 type: "function";
418}, {
419 inputs: readonly [];
420 name: "proxiableUUID";
421 outputs: readonly [{
422 internalType: "bytes32";
423 name: "";
424 type: "bytes32";
425 }];
426 stateMutability: "view";
427 type: "function";
428}, {
429 inputs: readonly [{
430 internalType: "bytes4";
431 name: "interfaceId";
432 type: "bytes4";
433 }];
434 name: "supportsInterface";
435 outputs: readonly [{
436 internalType: "bool";
437 name: "";
438 type: "bool";
439 }];
440 stateMutability: "view";
441 type: "function";
442}, {
443 inputs: readonly [{
444 internalType: "address";
445 name: "module";
446 type: "address";
447 }, {
448 components: readonly [{
449 components: readonly [..., ..., ...];
450 internalType: "struct ManifestExecutionFunction[]";
451 name: "executionFunctions";
452 type: "tuple[]";
453 }, {
454 components: readonly [..., ..., ..., ...];
455 internalType: "struct ManifestExecutionHook[]";
456 name: "executionHooks";
457 type: "tuple[]";
458 }, {
459 internalType: "bytes4[]";
460 name: "interfaceIds";
461 type: "bytes4[]";
462 }];
463 internalType: "struct ExecutionManifest";
464 name: "manifest";
465 type: "tuple";
466 }, {
467 internalType: "bytes";
468 name: "moduleUninstallData";
469 type: "bytes";
470 }];
471 name: "uninstallExecution";
472 outputs: readonly [];
473 stateMutability: "nonpayable";
474 type: "function";
475}, {
476 inputs: readonly [{
477 internalType: "ModuleEntity";
478 name: "validationFunction";
479 type: "bytes24";
480 }, {
481 internalType: "bytes";
482 name: "uninstallData";
483 type: "bytes";
484 }, {
485 internalType: "bytes[]";
486 name: "hookUninstallData";
487 type: "bytes[]";
488 }];
489 name: "uninstallValidation";
490 outputs: readonly [];
491 stateMutability: "nonpayable";
492 type: "function";
493}, {
494 inputs: readonly [{
495 internalType: "address";
496 name: "fallbackSigner";
497 type: "address";
498 }, {
499 internalType: "bool";
500 name: "isDisabled";
501 type: "bool";
502 }];
503 name: "updateFallbackSignerData";
504 outputs: readonly [];
505 stateMutability: "nonpayable";
506 type: "function";
507}, {
508 inputs: readonly [{
509 internalType: "address";
510 name: "newImplementation";
511 type: "address";
512 }, {
513 internalType: "bytes";
514 name: "data";
515 type: "bytes";
516 }];
517 name: "upgradeToAndCall";
518 outputs: readonly [];
519 stateMutability: "payable";
520 type: "function";
521}, {
522 inputs: readonly [{
523 components: readonly [{
524 internalType: "address";
525 name: "sender";
526 type: "address";
527 }, {
528 internalType: "uint256";
529 name: "nonce";
530 type: "uint256";
531 }, {
532 internalType: "bytes";
533 name: "initCode";
534 type: "bytes";
535 }, {
536 internalType: "bytes";
537 name: "callData";
538 type: "bytes";
539 }, {
540 internalType: "bytes32";
541 name: "accountGasLimits";
542 type: "bytes32";
543 }, {
544 internalType: "uint256";
545 name: "preVerificationGas";
546 type: "uint256";
547 }, {
548 internalType: "bytes32";
549 name: "gasFees";
550 type: "bytes32";
551 }, {
552 internalType: "bytes";
553 name: "paymasterAndData";
554 type: "bytes";
555 }, {
556 internalType: "bytes";
557 name: "signature";
558 type: "bytes";
559 }];
560 internalType: "struct PackedUserOperation";
561 name: "userOp";
562 type: "tuple";
563 }, {
564 internalType: "bytes32";
565 name: "userOpHash";
566 type: "bytes32";
567 }, {
568 internalType: "uint256";
569 name: "missingAccountFunds";
570 type: "uint256";
571 }];
572 name: "validateUserOp";
573 outputs: readonly [{
574 internalType: "uint256";
575 name: "validationData";
576 type: "uint256";
577 }];
578 stateMutability: "nonpayable";
579 type: "function";
580}, {
581 anonymous: false;
582 inputs: readonly [{
583 indexed: true;
584 internalType: "address";
585 name: "module";
586 type: "address";
587 }, {
588 components: readonly [{
589 components: readonly [..., ..., ...];
590 internalType: "struct ManifestExecutionFunction[]";
591 name: "executionFunctions";
592 type: "tuple[]";
593 }, {
594 components: readonly [..., ..., ..., ...];
595 internalType: "struct ManifestExecutionHook[]";
596 name: "executionHooks";
597 type: "tuple[]";
598 }, {
599 internalType: "bytes4[]";
600 name: "interfaceIds";
601 type: "bytes4[]";
602 }];
603 indexed: false;
604 internalType: "struct ExecutionManifest";
605 name: "manifest";
606 type: "tuple";
607 }];
608 name: "ExecutionInstalled";
609 type: "event";
610}, {
611 anonymous: false;
612 inputs: readonly [{
613 indexed: true;
614 internalType: "address";
615 name: "module";
616 type: "address";
617 }, {
618 indexed: false;
619 internalType: "bool";
620 name: "onUninstallSucceeded";
621 type: "bool";
622 }, {
623 components: readonly [{
624 components: readonly [..., ..., ...];
625 internalType: "struct ManifestExecutionFunction[]";
626 name: "executionFunctions";
627 type: "tuple[]";
628 }, {
629 components: readonly [..., ..., ..., ...];
630 internalType: "struct ManifestExecutionHook[]";
631 name: "executionHooks";
632 type: "tuple[]";
633 }, {
634 internalType: "bytes4[]";
635 name: "interfaceIds";
636 type: "bytes4[]";
637 }];
638 indexed: false;
639 internalType: "struct ExecutionManifest";
640 name: "manifest";
641 type: "tuple";
642 }];
643 name: "ExecutionUninstalled";
644 type: "event";
645}, {
646 anonymous: false;
647 inputs: readonly [{
648 indexed: true;
649 internalType: "address";
650 name: "newFallbackSigner";
651 type: "address";
652 }, {
653 indexed: false;
654 internalType: "bool";
655 name: "isDisabled";
656 type: "bool";
657 }];
658 name: "FallbackSignerUpdated";
659 type: "event";
660}, {
661 anonymous: false;
662 inputs: readonly [{
663 indexed: false;
664 internalType: "uint64";
665 name: "version";
666 type: "uint64";
667 }];
668 name: "Initialized";
669 type: "event";
670}, {
671 anonymous: false;
672 inputs: readonly [{
673 indexed: true;
674 internalType: "address";
675 name: "implementation";
676 type: "address";
677 }];
678 name: "Upgraded";
679 type: "event";
680}, {
681 anonymous: false;
682 inputs: readonly [{
683 indexed: true;
684 internalType: "address";
685 name: "module";
686 type: "address";
687 }, {
688 indexed: true;
689 internalType: "uint32";
690 name: "entityId";
691 type: "uint32";
692 }];
693 name: "ValidationInstalled";
694 type: "event";
695}, {
696 anonymous: false;
697 inputs: readonly [{
698 indexed: true;
699 internalType: "address";
700 name: "module";
701 type: "address";
702 }, {
703 indexed: true;
704 internalType: "uint32";
705 name: "entityId";
706 type: "uint32";
707 }, {
708 indexed: false;
709 internalType: "bool";
710 name: "onUninstallSucceeded";
711 type: "bool";
712 }];
713 name: "ValidationUninstalled";
714 type: "event";
715}, {
716 inputs: readonly [];
717 name: "ArrayLengthMismatch";
718 type: "error";
719}, {
720 inputs: readonly [];
721 name: "CreateFailed";
722 type: "error";
723}, {
724 inputs: readonly [];
725 name: "DeferredActionSignatureInvalid";
726 type: "error";
727}, {
728 inputs: readonly [];
729 name: "DeferredValidationHasValidationHooks";
730 type: "error";
731}, {
732 inputs: readonly [{
733 internalType: "HookConfig";
734 name: "hookConfig";
735 type: "bytes25";
736 }];
737 name: "ExecutionHookAlreadySet";
738 type: "error";
739}, {
740 inputs: readonly [];
741 name: "FallbackSignerDisabled";
742 type: "error";
743}, {
744 inputs: readonly [];
745 name: "FallbackSignerMismatch";
746 type: "error";
747}, {
748 inputs: readonly [];
749 name: "FallbackValidationInstallationNotAllowed";
750 type: "error";
751}, {
752 inputs: readonly [{
753 internalType: "address";
754 name: "module";
755 type: "address";
756 }];
757 name: "InterfaceNotSupported";
758 type: "error";
759}, {
760 inputs: readonly [];
761 name: "InvalidInitialization";
762 type: "error";
763}, {
764 inputs: readonly [];
765 name: "InvalidSignatureType";
766 type: "error";
767}, {
768 inputs: readonly [{
769 internalType: "address";
770 name: "module";
771 type: "address";
772 }, {
773 internalType: "bytes";
774 name: "revertReason";
775 type: "bytes";
776 }];
777 name: "ModuleInstallCallbackFailed";
778 type: "error";
779}, {
780 inputs: readonly [];
781 name: "NonCanonicalEncoding";
782 type: "error";
783}, {
784 inputs: readonly [];
785 name: "NotEntryPoint";
786 type: "error";
787}, {
788 inputs: readonly [];
789 name: "PreValidationHookDuplicate";
790 type: "error";
791}, {
792 inputs: readonly [];
793 name: "RequireUserOperationContext";
794 type: "error";
795}, {
796 inputs: readonly [];
797 name: "SegmentOutOfOrder";
798 type: "error";
799}, {
800 inputs: readonly [];
801 name: "SelfCallRecursionDepthExceeded";
802 type: "error";
803}, {
804 inputs: readonly [{
805 internalType: "ModuleEntity";
806 name: "validationFunction";
807 type: "bytes24";
808 }];
809 name: "SignatureValidationInvalid";
810 type: "error";
811}, {
812 inputs: readonly [];
813 name: "UnauthorizedCallContext";
814 type: "error";
815}, {
816 inputs: readonly [{
817 internalType: "ModuleEntity";
818 name: "validationFunction";
819 type: "bytes24";
820 }, {
821 internalType: "address";
822 name: "aggregator";
823 type: "address";
824 }];
825 name: "UnexpectedAggregator";
826 type: "error";
827}, {
828 inputs: readonly [{
829 internalType: "bytes4";
830 name: "selector";
831 type: "bytes4";
832 }];
833 name: "UnrecognizedFunction";
834 type: "error";
835}, {
836 inputs: readonly [];
837 name: "UpgradeFailed";
838 type: "error";
839}, {
840 inputs: readonly [{
841 internalType: "ModuleEntity";
842 name: "validationFunction";
843 type: "bytes24";
844 }];
845 name: "UserOpValidationInvalid";
846 type: "error";
847}, {
848 inputs: readonly [{
849 internalType: "bytes4";
850 name: "selector";
851 type: "bytes4";
852 }, {
853 internalType: "ModuleEntity";
854 name: "validationFunction";
855 type: "bytes24";
856 }];
857 name: "ValidationAlreadySet";
858 type: "error";
859}, {
860 inputs: readonly [];
861 name: "ValidationAssocHookLimitExceeded";
862 type: "error";
863}, {
864 inputs: readonly [];
865 name: "ValidationEntityIdInUse";
866 type: "error";
867}, {
868 inputs: readonly [{
869 internalType: "bytes4";
870 name: "selector";
871 type: "bytes4";
872 }];
873 name: "ValidationFunctionMissing";
874 type: "error";
875}, {
876 inputs: readonly [];
877 name: "ValidationSignatureSegmentMissing";
878 type: "error";
879}];

Defined in: account-kit/smart-contracts/dist/types/src/ma-v2/abis/semiModularAccountBytecodeAbi.d.ts:1