MultisigPluginAbi

1const MultisigPluginAbi: readonly [{
2 inputs: readonly [{
3 internalType: "address";
4 name: "entryPoint";
5 type: "address";
6 }];
7 stateMutability: "nonpayable";
8 type: "constructor";
9}, {
10 inputs: readonly [];
11 name: "ENTRYPOINT";
12 outputs: readonly [{
13 internalType: "address";
14 name: "";
15 type: "address";
16 }];
17 stateMutability: "view";
18 type: "function";
19}, {
20 inputs: readonly [{
21 internalType: "bytes32";
22 name: "actualDigest";
23 type: "bytes32";
24 }, {
25 internalType: "bytes32";
26 name: "upperLimitGasDigest";
27 type: "bytes32";
28 }, {
29 internalType: "address";
30 name: "account";
31 type: "address";
32 }, {
33 internalType: "bytes";
34 name: "signatures";
35 type: "bytes";
36 }];
37 name: "checkNSignatures";
38 outputs: readonly [{
39 internalType: "bool";
40 name: "success";
41 type: "bool";
42 }, {
43 internalType: "uint256";
44 name: "firstFailure";
45 type: "uint256";
46 }];
47 stateMutability: "view";
48 type: "function";
49}, {
50 inputs: readonly [];
51 name: "eip712Domain";
52 outputs: readonly [{
53 internalType: "bytes1";
54 name: "fields";
55 type: "bytes1";
56 }, {
57 internalType: "string";
58 name: "name";
59 type: "string";
60 }, {
61 internalType: "string";
62 name: "version";
63 type: "string";
64 }, {
65 internalType: "uint256";
66 name: "chainId";
67 type: "uint256";
68 }, {
69 internalType: "address";
70 name: "verifyingContract";
71 type: "address";
72 }, {
73 internalType: "bytes32";
74 name: "salt";
75 type: "bytes32";
76 }, {
77 internalType: "uint256[]";
78 name: "extensions";
79 type: "uint256[]";
80 }];
81 stateMutability: "view";
82 type: "function";
83}, {
84 inputs: readonly [{
85 internalType: "address";
86 name: "account";
87 type: "address";
88 }, {
89 internalType: "bytes";
90 name: "message";
91 type: "bytes";
92 }];
93 name: "encodeMessageData";
94 outputs: readonly [{
95 internalType: "bytes";
96 name: "";
97 type: "bytes";
98 }];
99 stateMutability: "view";
100 type: "function";
101}, {
102 inputs: readonly [{
103 internalType: "address";
104 name: "account";
105 type: "address";
106 }, {
107 internalType: "bytes";
108 name: "message";
109 type: "bytes";
110 }];
111 name: "getMessageHash";
112 outputs: readonly [{
113 internalType: "bytes32";
114 name: "";
115 type: "bytes32";
116 }];
117 stateMutability: "view";
118 type: "function";
119}, {
120 inputs: readonly [{
121 internalType: "address";
122 name: "account";
123 type: "address";
124 }, {
125 internalType: "address";
126 name: "ownerToCheck";
127 type: "address";
128 }];
129 name: "isOwnerOf";
130 outputs: readonly [{
131 internalType: "bool";
132 name: "";
133 type: "bool";
134 }];
135 stateMutability: "view";
136 type: "function";
137}, {
138 inputs: readonly [{
139 internalType: "bytes32";
140 name: "digest";
141 type: "bytes32";
142 }, {
143 internalType: "bytes";
144 name: "signature";
145 type: "bytes";
146 }];
147 name: "isValidSignature";
148 outputs: readonly [{
149 internalType: "bytes4";
150 name: "";
151 type: "bytes4";
152 }];
153 stateMutability: "view";
154 type: "function";
155}, {
156 inputs: readonly [{
157 internalType: "bytes";
158 name: "data";
159 type: "bytes";
160 }];
161 name: "onInstall";
162 outputs: readonly [];
163 stateMutability: "nonpayable";
164 type: "function";
165}, {
166 inputs: readonly [{
167 internalType: "bytes";
168 name: "";
169 type: "bytes";
170 }];
171 name: "onUninstall";
172 outputs: readonly [];
173 stateMutability: "nonpayable";
174 type: "function";
175}, {
176 inputs: readonly [{
177 internalType: "address";
178 name: "account";
179 type: "address";
180 }];
181 name: "ownershipInfoOf";
182 outputs: readonly [{
183 internalType: "address[]";
184 name: "";
185 type: "address[]";
186 }, {
187 internalType: "uint256";
188 name: "";
189 type: "uint256";
190 }];
191 stateMutability: "view";
192 type: "function";
193}, {
194 inputs: readonly [];
195 name: "pluginManifest";
196 outputs: readonly [{
197 components: readonly [{
198 internalType: "bytes4[]";
199 name: "interfaceIds";
200 type: "bytes4[]";
201 }, {
202 internalType: "bytes4[]";
203 name: "dependencyInterfaceIds";
204 type: "bytes4[]";
205 }, {
206 internalType: "bytes4[]";
207 name: "executionFunctions";
208 type: "bytes4[]";
209 }, {
210 internalType: "bytes4[]";
211 name: "permittedExecutionSelectors";
212 type: "bytes4[]";
213 }, {
214 internalType: "bool";
215 name: "permitAnyExternalAddress";
216 type: "bool";
217 }, {
218 internalType: "bool";
219 name: "canSpendNativeToken";
220 type: "bool";
221 }, {
222 components: readonly [..., ..., ...];
223 internalType: "struct ManifestExternalCallPermission[]";
224 name: "permittedExternalCalls";
225 type: "tuple[]";
226 }, {
227 components: readonly [..., ...];
228 internalType: "struct ManifestAssociatedFunction[]";
229 name: "userOpValidationFunctions";
230 type: "tuple[]";
231 }, {
232 components: readonly [..., ...];
233 internalType: "struct ManifestAssociatedFunction[]";
234 name: "runtimeValidationFunctions";
235 type: "tuple[]";
236 }, {
237 components: readonly [..., ...];
238 internalType: "struct ManifestAssociatedFunction[]";
239 name: "preUserOpValidationHooks";
240 type: "tuple[]";
241 }, {
242 components: readonly [..., ...];
243 internalType: "struct ManifestAssociatedFunction[]";
244 name: "preRuntimeValidationHooks";
245 type: "tuple[]";
246 }, {
247 components: readonly [..., ..., ...];
248 internalType: "struct ManifestExecutionHook[]";
249 name: "executionHooks";
250 type: "tuple[]";
251 }];
252 internalType: "struct PluginManifest";
253 name: "";
254 type: "tuple";
255 }];
256 stateMutability: "pure";
257 type: "function";
258}, {
259 inputs: readonly [];
260 name: "pluginMetadata";
261 outputs: readonly [{
262 components: readonly [{
263 internalType: "string";
264 name: "name";
265 type: "string";
266 }, {
267 internalType: "string";
268 name: "version";
269 type: "string";
270 }, {
271 internalType: "string";
272 name: "author";
273 type: "string";
274 }, {
275 components: readonly [..., ...];
276 internalType: "struct SelectorPermission[]";
277 name: "permissionDescriptors";
278 type: "tuple[]";
279 }];
280 internalType: "struct PluginMetadata";
281 name: "";
282 type: "tuple";
283 }];
284 stateMutability: "pure";
285 type: "function";
286}, {
287 inputs: readonly [{
288 internalType: "uint8";
289 name: "functionId";
290 type: "uint8";
291 }, {
292 internalType: "bytes";
293 name: "preExecHookData";
294 type: "bytes";
295 }];
296 name: "postExecutionHook";
297 outputs: readonly [];
298 stateMutability: "nonpayable";
299 type: "function";
300}, {
301 inputs: readonly [{
302 internalType: "uint8";
303 name: "functionId";
304 type: "uint8";
305 }, {
306 internalType: "address";
307 name: "sender";
308 type: "address";
309 }, {
310 internalType: "uint256";
311 name: "value";
312 type: "uint256";
313 }, {
314 internalType: "bytes";
315 name: "data";
316 type: "bytes";
317 }];
318 name: "preExecutionHook";
319 outputs: readonly [{
320 internalType: "bytes";
321 name: "";
322 type: "bytes";
323 }];
324 stateMutability: "nonpayable";
325 type: "function";
326}, {
327 inputs: readonly [{
328 internalType: "uint8";
329 name: "functionId";
330 type: "uint8";
331 }, {
332 internalType: "address";
333 name: "sender";
334 type: "address";
335 }, {
336 internalType: "uint256";
337 name: "value";
338 type: "uint256";
339 }, {
340 internalType: "bytes";
341 name: "data";
342 type: "bytes";
343 }];
344 name: "preRuntimeValidationHook";
345 outputs: readonly [];
346 stateMutability: "nonpayable";
347 type: "function";
348}, {
349 inputs: readonly [{
350 internalType: "uint8";
351 name: "functionId";
352 type: "uint8";
353 }, {
354 components: readonly [{
355 internalType: "address";
356 name: "sender";
357 type: "address";
358 }, {
359 internalType: "uint256";
360 name: "nonce";
361 type: "uint256";
362 }, {
363 internalType: "bytes";
364 name: "initCode";
365 type: "bytes";
366 }, {
367 internalType: "bytes";
368 name: "callData";
369 type: "bytes";
370 }, {
371 internalType: "uint256";
372 name: "callGasLimit";
373 type: "uint256";
374 }, {
375 internalType: "uint256";
376 name: "verificationGasLimit";
377 type: "uint256";
378 }, {
379 internalType: "uint256";
380 name: "preVerificationGas";
381 type: "uint256";
382 }, {
383 internalType: "uint256";
384 name: "maxFeePerGas";
385 type: "uint256";
386 }, {
387 internalType: "uint256";
388 name: "maxPriorityFeePerGas";
389 type: "uint256";
390 }, {
391 internalType: "bytes";
392 name: "paymasterAndData";
393 type: "bytes";
394 }, {
395 internalType: "bytes";
396 name: "signature";
397 type: "bytes";
398 }];
399 internalType: "struct UserOperation";
400 name: "userOp";
401 type: "tuple";
402 }, {
403 internalType: "bytes32";
404 name: "userOpHash";
405 type: "bytes32";
406 }];
407 name: "preUserOpValidationHook";
408 outputs: readonly [{
409 internalType: "uint256";
410 name: "";
411 type: "uint256";
412 }];
413 stateMutability: "nonpayable";
414 type: "function";
415}, {
416 inputs: readonly [{
417 internalType: "uint8";
418 name: "functionId";
419 type: "uint8";
420 }, {
421 internalType: "address";
422 name: "sender";
423 type: "address";
424 }, {
425 internalType: "uint256";
426 name: "value";
427 type: "uint256";
428 }, {
429 internalType: "bytes";
430 name: "data";
431 type: "bytes";
432 }];
433 name: "runtimeValidationFunction";
434 outputs: readonly [];
435 stateMutability: "nonpayable";
436 type: "function";
437}, {
438 inputs: readonly [{
439 internalType: "bytes4";
440 name: "interfaceId";
441 type: "bytes4";
442 }];
443 name: "supportsInterface";
444 outputs: readonly [{
445 internalType: "bool";
446 name: "";
447 type: "bool";
448 }];
449 stateMutability: "view";
450 type: "function";
451}, {
452 inputs: readonly [{
453 internalType: "address[]";
454 name: "ownersToAdd";
455 type: "address[]";
456 }, {
457 internalType: "address[]";
458 name: "ownersToRemove";
459 type: "address[]";
460 }, {
461 internalType: "uint128";
462 name: "newThreshold";
463 type: "uint128";
464 }];
465 name: "updateOwnership";
466 outputs: readonly [];
467 stateMutability: "nonpayable";
468 type: "function";
469}, {
470 inputs: readonly [{
471 internalType: "uint8";
472 name: "functionId";
473 type: "uint8";
474 }, {
475 components: readonly [{
476 internalType: "address";
477 name: "sender";
478 type: "address";
479 }, {
480 internalType: "uint256";
481 name: "nonce";
482 type: "uint256";
483 }, {
484 internalType: "bytes";
485 name: "initCode";
486 type: "bytes";
487 }, {
488 internalType: "bytes";
489 name: "callData";
490 type: "bytes";
491 }, {
492 internalType: "uint256";
493 name: "callGasLimit";
494 type: "uint256";
495 }, {
496 internalType: "uint256";
497 name: "verificationGasLimit";
498 type: "uint256";
499 }, {
500 internalType: "uint256";
501 name: "preVerificationGas";
502 type: "uint256";
503 }, {
504 internalType: "uint256";
505 name: "maxFeePerGas";
506 type: "uint256";
507 }, {
508 internalType: "uint256";
509 name: "maxPriorityFeePerGas";
510 type: "uint256";
511 }, {
512 internalType: "bytes";
513 name: "paymasterAndData";
514 type: "bytes";
515 }, {
516 internalType: "bytes";
517 name: "signature";
518 type: "bytes";
519 }];
520 internalType: "struct UserOperation";
521 name: "userOp";
522 type: "tuple";
523 }, {
524 internalType: "bytes32";
525 name: "userOpHash";
526 type: "bytes32";
527 }];
528 name: "userOpValidationFunction";
529 outputs: readonly [{
530 internalType: "uint256";
531 name: "";
532 type: "uint256";
533 }];
534 stateMutability: "view";
535 type: "function";
536}, {
537 anonymous: false;
538 inputs: readonly [{
539 indexed: true;
540 internalType: "address";
541 name: "account";
542 type: "address";
543 }, {
544 indexed: false;
545 internalType: "address[]";
546 name: "addedOwners";
547 type: "address[]";
548 }, {
549 indexed: false;
550 internalType: "address[]";
551 name: "removedOwners";
552 type: "address[]";
553 }, {
554 indexed: false;
555 internalType: "uint256";
556 name: "threshold";
557 type: "uint256";
558 }];
559 name: "OwnerUpdated";
560 type: "event";
561}, {
562 inputs: readonly [];
563 name: "AlreadyInitialized";
564 type: "error";
565}, {
566 inputs: readonly [];
567 name: "ECDSARecoverFailure";
568 type: "error";
569}, {
570 inputs: readonly [];
571 name: "EmptyOwnersNotAllowed";
572 type: "error";
573}, {
574 inputs: readonly [];
575 name: "InvalidAction";
576 type: "error";
577}, {
578 inputs: readonly [];
579 name: "InvalidAddress";
580 type: "error";
581}, {
582 inputs: readonly [];
583 name: "InvalidMaxFeePerGas";
584 type: "error";
585}, {
586 inputs: readonly [];
587 name: "InvalidMaxPriorityFeePerGas";
588 type: "error";
589}, {
590 inputs: readonly [];
591 name: "InvalidNumSigsOnActualGas";
592 type: "error";
593}, {
594 inputs: readonly [{
595 internalType: "address";
596 name: "owner";
597 type: "address";
598 }];
599 name: "InvalidOwner";
600 type: "error";
601}, {
602 inputs: readonly [];
603 name: "InvalidPreVerificationGas";
604 type: "error";
605}, {
606 inputs: readonly [];
607 name: "InvalidSigLength";
608 type: "error";
609}, {
610 inputs: readonly [];
611 name: "InvalidSigOffset";
612 type: "error";
613}, {
614 inputs: readonly [];
615 name: "InvalidThreshold";
616 type: "error";
617}, {
618 inputs: readonly [{
619 internalType: "address";
620 name: "caller";
621 type: "address";
622 }];
623 name: "NotContractCaller";
624 type: "error";
625}, {
626 inputs: readonly [{
627 internalType: "bytes4";
628 name: "selector";
629 type: "bytes4";
630 }, {
631 internalType: "uint8";
632 name: "functionId";
633 type: "uint8";
634 }];
635 name: "NotImplemented";
636 type: "error";
637}, {
638 inputs: readonly [];
639 name: "NotInitialized";
640 type: "error";
641}, {
642 inputs: readonly [{
643 internalType: "address";
644 name: "owner";
645 type: "address";
646 }];
647 name: "OwnerDoesNotExist";
648 type: "error";
649}];

Defined in: account-kit/smart-contracts/dist/types/src/msca/plugins/multisig/plugin.d.ts:101