MultisigModularAccountFactoryAbi

1const MultisigModularAccountFactoryAbi: readonly [
2 {
3 inputs: readonly [
4 {
5 internalType: "address";
6 name: "owner";
7 type: "address";
8 },
9 {
10 internalType: "address";
11 name: "multisigPlugin";
12 type: "address";
13 },
14 {
15 internalType: "address";
16 name: "implementation";
17 type: "address";
18 },
19 {
20 internalType: "bytes32";
21 name: "multisigPluginManifestHash";
22 type: "bytes32";
23 },
24 {
25 internalType: "contract IEntryPoint";
26 name: "entryPoint";
27 type: "address";
28 },
29 ];
30 stateMutability: "nonpayable";
31 type: "constructor";
32 },
33 {
34 stateMutability: "payable";
35 type: "receive";
36 },
37 {
38 inputs: readonly [];
39 name: "ENTRYPOINT";
40 outputs: readonly [
41 {
42 internalType: "contract IEntryPoint";
43 name: "";
44 type: "address";
45 },
46 ];
47 stateMutability: "view";
48 type: "function";
49 },
50 {
51 inputs: readonly [];
52 name: "IMPL";
53 outputs: readonly [
54 {
55 internalType: "address";
56 name: "";
57 type: "address";
58 },
59 ];
60 stateMutability: "view";
61 type: "function";
62 },
63 {
64 inputs: readonly [];
65 name: "MULTISIG_PLUGIN";
66 outputs: readonly [
67 {
68 internalType: "address";
69 name: "";
70 type: "address";
71 },
72 ];
73 stateMutability: "view";
74 type: "function";
75 },
76 {
77 inputs: readonly [];
78 name: "acceptOwnership";
79 outputs: readonly [];
80 stateMutability: "nonpayable";
81 type: "function";
82 },
83 {
84 inputs: readonly [
85 {
86 internalType: "uint32";
87 name: "unstakeDelay";
88 type: "uint32";
89 },
90 {
91 internalType: "uint256";
92 name: "amount";
93 type: "uint256";
94 },
95 ];
96 name: "addStake";
97 outputs: readonly [];
98 stateMutability: "payable";
99 type: "function";
100 },
101 {
102 inputs: readonly [
103 {
104 internalType: "uint256";
105 name: "salt";
106 type: "uint256";
107 },
108 {
109 internalType: "address[]";
110 name: "owners";
111 type: "address[]";
112 },
113 {
114 internalType: "uint128";
115 name: "threshold";
116 type: "uint128";
117 },
118 ];
119 name: "createAccount";
120 outputs: readonly [
121 {
122 internalType: "address";
123 name: "addr";
124 type: "address";
125 },
126 ];
127 stateMutability: "nonpayable";
128 type: "function";
129 },
130 {
131 inputs: readonly [
132 {
133 internalType: "uint256";
134 name: "salt";
135 type: "uint256";
136 },
137 {
138 internalType: "address[]";
139 name: "owners";
140 type: "address[]";
141 },
142 {
143 internalType: "uint256";
144 name: "threshold";
145 type: "uint256";
146 },
147 ];
148 name: "getAddress";
149 outputs: readonly [
150 {
151 internalType: "address";
152 name: "";
153 type: "address";
154 },
155 ];
156 stateMutability: "view";
157 type: "function";
158 },
159 {
160 inputs: readonly [];
161 name: "owner";
162 outputs: readonly [
163 {
164 internalType: "address";
165 name: "";
166 type: "address";
167 },
168 ];
169 stateMutability: "view";
170 type: "function";
171 },
172 {
173 inputs: readonly [];
174 name: "pendingOwner";
175 outputs: readonly [
176 {
177 internalType: "address";
178 name: "";
179 type: "address";
180 },
181 ];
182 stateMutability: "view";
183 type: "function";
184 },
185 {
186 inputs: readonly [];
187 name: "renounceOwnership";
188 outputs: readonly [];
189 stateMutability: "view";
190 type: "function";
191 },
192 {
193 inputs: readonly [
194 {
195 internalType: "address";
196 name: "newOwner";
197 type: "address";
198 },
199 ];
200 name: "transferOwnership";
201 outputs: readonly [];
202 stateMutability: "nonpayable";
203 type: "function";
204 },
205 {
206 inputs: readonly [];
207 name: "unlockStake";
208 outputs: readonly [];
209 stateMutability: "nonpayable";
210 type: "function";
211 },
212 {
213 inputs: readonly [
214 {
215 internalType: "address payable";
216 name: "to";
217 type: "address";
218 },
219 {
220 internalType: "address";
221 name: "token";
222 type: "address";
223 },
224 {
225 internalType: "uint256";
226 name: "amount";
227 type: "uint256";
228 },
229 ];
230 name: "withdraw";
231 outputs: readonly [];
232 stateMutability: "nonpayable";
233 type: "function";
234 },
235 {
236 inputs: readonly [
237 {
238 internalType: "address payable";
239 name: "to";
240 type: "address";
241 },
242 ];
243 name: "withdrawStake";
244 outputs: readonly [];
245 stateMutability: "nonpayable";
246 type: "function";
247 },
248 {
249 anonymous: false;
250 inputs: readonly [
251 {
252 indexed: true;
253 internalType: "address";
254 name: "previousOwner";
255 type: "address";
256 },
257 {
258 indexed: true;
259 internalType: "address";
260 name: "newOwner";
261 type: "address";
262 },
263 ];
264 name: "OwnershipTransferStarted";
265 type: "event";
266 },
267 {
268 anonymous: false;
269 inputs: readonly [
270 {
271 indexed: true;
272 internalType: "address";
273 name: "previousOwner";
274 type: "address";
275 },
276 {
277 indexed: true;
278 internalType: "address";
279 name: "newOwner";
280 type: "address";
281 },
282 ];
283 name: "OwnershipTransferred";
284 type: "event";
285 },
286 {
287 inputs: readonly [];
288 name: "InvalidAction";
289 type: "error";
290 },
291 {
292 inputs: readonly [];
293 name: "InvalidOwner";
294 type: "error";
295 },
296 {
297 inputs: readonly [];
298 name: "InvalidThreshold";
299 type: "error";
300 },
301 {
302 inputs: readonly [];
303 name: "OwnersArrayEmpty";
304 type: "error";
305 },
306 {
307 inputs: readonly [];
308 name: "OwnersLimitExceeded";
309 type: "error";
310 },
311 {
312 inputs: readonly [];
313 name: "TransferFailed";
314 type: "error";
315 },
316];

Defined in: account-kit/smart-contracts/src/msca/abis/MultisigModularAccountFactory.ts:1