@gitmyabi/kernel 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/contracts/Kernel_json.d.ts +1138 -373
- package/contracts/Kernel_json.js +1303 -413
- package/contracts/Kernel_json.ts +1463 -428
- package/contracts/index.d.ts +0 -2
- package/contracts/index.js +1 -4
- package/contracts/index.ts +0 -2
- package/package.json +3 -3
- package/contracts/KernelProxy_json.d.ts +0 -236
- package/contracts/KernelProxy_json.js +0 -301
- package/contracts/KernelProxy_json.ts +0 -335
|
@@ -1,478 +1,996 @@
|
|
|
1
1
|
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
|
+
/**
|
|
3
|
+
* PackedUserOperation struct type
|
|
4
|
+
*/
|
|
5
|
+
export type PackedUserOperation = {
|
|
6
|
+
sender: `0x${string}`;
|
|
7
|
+
nonce: bigint;
|
|
8
|
+
initCode: `0x${string}`;
|
|
9
|
+
callData: `0x${string}`;
|
|
10
|
+
accountGasLimits: `0x${string}`;
|
|
11
|
+
preVerificationGas: bigint;
|
|
12
|
+
gasFees: `0x${string}`;
|
|
13
|
+
paymasterAndData: `0x${string}`;
|
|
14
|
+
signature: `0x${string}`;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* ExecutorManager.ExecutorConfig struct type
|
|
18
|
+
*/
|
|
19
|
+
export type ExecutorManager_ExecutorConfig = {
|
|
20
|
+
hook: `0x${string}`;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* ValidationManager.ValidationConfig struct type
|
|
24
|
+
*/
|
|
25
|
+
export type ValidationManager_ValidationConfig = {
|
|
26
|
+
nonce: bigint;
|
|
27
|
+
hook: `0x${string}`;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* ValidationManager.PermissionConfig struct type
|
|
31
|
+
*/
|
|
32
|
+
export type ValidationManager_PermissionConfig = {
|
|
33
|
+
permissionFlag: `0x${string}`;
|
|
34
|
+
signer: `0x${string}`;
|
|
35
|
+
policyData: `0x${string}`[];
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* SelectorManager.SelectorConfig struct type
|
|
39
|
+
*/
|
|
40
|
+
export type SelectorManager_SelectorConfig = {
|
|
41
|
+
hook: `0x${string}`;
|
|
42
|
+
target: `0x${string}`;
|
|
43
|
+
callType: `0x${string}`;
|
|
44
|
+
};
|
|
2
45
|
/**
|
|
3
46
|
* Kernel_json ABI
|
|
4
47
|
*
|
|
5
48
|
* This ABI is typed using viem's type system for full type safety.
|
|
6
49
|
*/
|
|
7
50
|
export declare const Kernel_jsonAbi: readonly [{
|
|
8
|
-
readonly
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
readonly name: "";
|
|
13
|
-
readonly type: "bool";
|
|
51
|
+
readonly inputs: readonly [{
|
|
52
|
+
readonly internalType: "contract IEntryPoint";
|
|
53
|
+
readonly name: "_entrypoint";
|
|
54
|
+
readonly type: "address";
|
|
14
55
|
}];
|
|
15
|
-
readonly
|
|
16
|
-
readonly
|
|
17
|
-
readonly type: "function";
|
|
56
|
+
readonly stateMutability: "nonpayable";
|
|
57
|
+
readonly type: "constructor";
|
|
18
58
|
}, {
|
|
19
|
-
readonly constant: true;
|
|
20
59
|
readonly inputs: readonly [];
|
|
21
|
-
readonly name: "
|
|
22
|
-
readonly
|
|
23
|
-
|
|
24
|
-
|
|
60
|
+
readonly name: "EnableNotApproved";
|
|
61
|
+
readonly type: "error";
|
|
62
|
+
}, {
|
|
63
|
+
readonly inputs: readonly [];
|
|
64
|
+
readonly name: "ExecutionReverted";
|
|
65
|
+
readonly type: "error";
|
|
66
|
+
}, {
|
|
67
|
+
readonly inputs: readonly [{
|
|
68
|
+
readonly internalType: "uint256";
|
|
69
|
+
readonly name: "idx";
|
|
70
|
+
readonly type: "uint256";
|
|
25
71
|
}];
|
|
26
|
-
readonly
|
|
27
|
-
readonly
|
|
28
|
-
readonly type: "function";
|
|
72
|
+
readonly name: "InitConfigError";
|
|
73
|
+
readonly type: "error";
|
|
29
74
|
}, {
|
|
30
|
-
readonly constant: true;
|
|
31
75
|
readonly inputs: readonly [];
|
|
32
|
-
readonly name: "
|
|
33
|
-
readonly
|
|
34
|
-
|
|
35
|
-
|
|
76
|
+
readonly name: "InvalidCallType";
|
|
77
|
+
readonly type: "error";
|
|
78
|
+
}, {
|
|
79
|
+
readonly inputs: readonly [];
|
|
80
|
+
readonly name: "InvalidCaller";
|
|
81
|
+
readonly type: "error";
|
|
82
|
+
}, {
|
|
83
|
+
readonly inputs: readonly [];
|
|
84
|
+
readonly name: "InvalidExecutor";
|
|
85
|
+
readonly type: "error";
|
|
86
|
+
}, {
|
|
87
|
+
readonly inputs: readonly [];
|
|
88
|
+
readonly name: "InvalidFallback";
|
|
89
|
+
readonly type: "error";
|
|
90
|
+
}, {
|
|
91
|
+
readonly inputs: readonly [];
|
|
92
|
+
readonly name: "InvalidMode";
|
|
93
|
+
readonly type: "error";
|
|
94
|
+
}, {
|
|
95
|
+
readonly inputs: readonly [];
|
|
96
|
+
readonly name: "InvalidModuleType";
|
|
97
|
+
readonly type: "error";
|
|
98
|
+
}, {
|
|
99
|
+
readonly inputs: readonly [];
|
|
100
|
+
readonly name: "InvalidNonce";
|
|
101
|
+
readonly type: "error";
|
|
102
|
+
}, {
|
|
103
|
+
readonly inputs: readonly [];
|
|
104
|
+
readonly name: "InvalidSelector";
|
|
105
|
+
readonly type: "error";
|
|
106
|
+
}, {
|
|
107
|
+
readonly inputs: readonly [];
|
|
108
|
+
readonly name: "InvalidSignature";
|
|
109
|
+
readonly type: "error";
|
|
110
|
+
}, {
|
|
111
|
+
readonly inputs: readonly [];
|
|
112
|
+
readonly name: "InvalidValidationType";
|
|
113
|
+
readonly type: "error";
|
|
114
|
+
}, {
|
|
115
|
+
readonly inputs: readonly [];
|
|
116
|
+
readonly name: "InvalidValidator";
|
|
117
|
+
readonly type: "error";
|
|
118
|
+
}, {
|
|
119
|
+
readonly inputs: readonly [];
|
|
120
|
+
readonly name: "NonceInvalidationError";
|
|
121
|
+
readonly type: "error";
|
|
122
|
+
}, {
|
|
123
|
+
readonly inputs: readonly [];
|
|
124
|
+
readonly name: "NotSupportedCallType";
|
|
125
|
+
readonly type: "error";
|
|
126
|
+
}, {
|
|
127
|
+
readonly inputs: readonly [];
|
|
128
|
+
readonly name: "OnlyExecuteUserOp";
|
|
129
|
+
readonly type: "error";
|
|
130
|
+
}, {
|
|
131
|
+
readonly inputs: readonly [];
|
|
132
|
+
readonly name: "PermissionDataLengthMismatch";
|
|
133
|
+
readonly type: "error";
|
|
134
|
+
}, {
|
|
135
|
+
readonly inputs: readonly [];
|
|
136
|
+
readonly name: "PermissionNotAlllowedForSignature";
|
|
137
|
+
readonly type: "error";
|
|
138
|
+
}, {
|
|
139
|
+
readonly inputs: readonly [];
|
|
140
|
+
readonly name: "PermissionNotAlllowedForUserOp";
|
|
141
|
+
readonly type: "error";
|
|
142
|
+
}, {
|
|
143
|
+
readonly inputs: readonly [];
|
|
144
|
+
readonly name: "PolicyDataTooLarge";
|
|
145
|
+
readonly type: "error";
|
|
146
|
+
}, {
|
|
147
|
+
readonly inputs: readonly [{
|
|
148
|
+
readonly internalType: "uint256";
|
|
149
|
+
readonly name: "i";
|
|
150
|
+
readonly type: "uint256";
|
|
36
151
|
}];
|
|
37
|
-
readonly
|
|
38
|
-
readonly
|
|
39
|
-
readonly type: "function";
|
|
152
|
+
readonly name: "PolicyFailed";
|
|
153
|
+
readonly type: "error";
|
|
40
154
|
}, {
|
|
41
|
-
readonly constant: true;
|
|
42
155
|
readonly inputs: readonly [];
|
|
43
|
-
readonly name: "
|
|
44
|
-
readonly
|
|
45
|
-
|
|
156
|
+
readonly name: "PolicySignatureOrderError";
|
|
157
|
+
readonly type: "error";
|
|
158
|
+
}, {
|
|
159
|
+
readonly inputs: readonly [];
|
|
160
|
+
readonly name: "RootValidatorCannotBeRemoved";
|
|
161
|
+
readonly type: "error";
|
|
162
|
+
}, {
|
|
163
|
+
readonly inputs: readonly [];
|
|
164
|
+
readonly name: "SignerPrefixNotPresent";
|
|
165
|
+
readonly type: "error";
|
|
166
|
+
}, {
|
|
167
|
+
readonly anonymous: false;
|
|
168
|
+
readonly inputs: readonly [{
|
|
169
|
+
readonly indexed: false;
|
|
170
|
+
readonly internalType: "uint256";
|
|
171
|
+
readonly name: "moduleTypeId";
|
|
172
|
+
readonly type: "uint256";
|
|
173
|
+
}, {
|
|
174
|
+
readonly indexed: false;
|
|
175
|
+
readonly internalType: "address";
|
|
176
|
+
readonly name: "module";
|
|
46
177
|
readonly type: "address";
|
|
47
178
|
}];
|
|
48
|
-
readonly
|
|
49
|
-
readonly
|
|
50
|
-
readonly type: "function";
|
|
179
|
+
readonly name: "ModuleInstalled";
|
|
180
|
+
readonly type: "event";
|
|
51
181
|
}, {
|
|
52
|
-
readonly
|
|
182
|
+
readonly anonymous: false;
|
|
53
183
|
readonly inputs: readonly [{
|
|
54
|
-
readonly
|
|
55
|
-
readonly
|
|
56
|
-
|
|
57
|
-
readonly name: "_appBase";
|
|
184
|
+
readonly indexed: false;
|
|
185
|
+
readonly internalType: "address";
|
|
186
|
+
readonly name: "module";
|
|
58
187
|
readonly type: "address";
|
|
59
188
|
}, {
|
|
60
|
-
readonly
|
|
61
|
-
readonly
|
|
62
|
-
|
|
63
|
-
readonly name: "_setDefault";
|
|
189
|
+
readonly indexed: false;
|
|
190
|
+
readonly internalType: "bool";
|
|
191
|
+
readonly name: "result";
|
|
64
192
|
readonly type: "bool";
|
|
65
193
|
}];
|
|
66
|
-
readonly name: "
|
|
67
|
-
readonly
|
|
68
|
-
|
|
194
|
+
readonly name: "ModuleUninstallResult";
|
|
195
|
+
readonly type: "event";
|
|
196
|
+
}, {
|
|
197
|
+
readonly anonymous: false;
|
|
198
|
+
readonly inputs: readonly [{
|
|
199
|
+
readonly indexed: false;
|
|
200
|
+
readonly internalType: "uint256";
|
|
201
|
+
readonly name: "moduleTypeId";
|
|
202
|
+
readonly type: "uint256";
|
|
203
|
+
}, {
|
|
204
|
+
readonly indexed: false;
|
|
205
|
+
readonly internalType: "address";
|
|
206
|
+
readonly name: "module";
|
|
69
207
|
readonly type: "address";
|
|
70
208
|
}];
|
|
71
|
-
readonly
|
|
72
|
-
readonly
|
|
73
|
-
readonly type: "function";
|
|
209
|
+
readonly name: "ModuleUninstalled";
|
|
210
|
+
readonly type: "event";
|
|
74
211
|
}, {
|
|
75
|
-
readonly
|
|
212
|
+
readonly anonymous: false;
|
|
76
213
|
readonly inputs: readonly [{
|
|
77
|
-
readonly
|
|
78
|
-
readonly
|
|
214
|
+
readonly indexed: false;
|
|
215
|
+
readonly internalType: "uint32";
|
|
216
|
+
readonly name: "nonce";
|
|
217
|
+
readonly type: "uint32";
|
|
218
|
+
}];
|
|
219
|
+
readonly name: "NonceInvalidated";
|
|
220
|
+
readonly type: "event";
|
|
221
|
+
}, {
|
|
222
|
+
readonly anonymous: false;
|
|
223
|
+
readonly inputs: readonly [{
|
|
224
|
+
readonly indexed: false;
|
|
225
|
+
readonly internalType: "PermissionId";
|
|
226
|
+
readonly name: "permission";
|
|
227
|
+
readonly type: "bytes4";
|
|
79
228
|
}, {
|
|
80
|
-
readonly
|
|
81
|
-
readonly
|
|
229
|
+
readonly indexed: false;
|
|
230
|
+
readonly internalType: "uint32";
|
|
231
|
+
readonly name: "nonce";
|
|
232
|
+
readonly type: "uint32";
|
|
82
233
|
}];
|
|
83
|
-
readonly name: "
|
|
84
|
-
readonly
|
|
85
|
-
|
|
86
|
-
|
|
234
|
+
readonly name: "PermissionInstalled";
|
|
235
|
+
readonly type: "event";
|
|
236
|
+
}, {
|
|
237
|
+
readonly anonymous: false;
|
|
238
|
+
readonly inputs: readonly [{
|
|
239
|
+
readonly indexed: false;
|
|
240
|
+
readonly internalType: "PermissionId";
|
|
241
|
+
readonly name: "permission";
|
|
242
|
+
readonly type: "bytes4";
|
|
87
243
|
}];
|
|
88
|
-
readonly
|
|
89
|
-
readonly
|
|
90
|
-
readonly type: "function";
|
|
244
|
+
readonly name: "PermissionUninstalled";
|
|
245
|
+
readonly type: "event";
|
|
91
246
|
}, {
|
|
92
|
-
readonly
|
|
247
|
+
readonly anonymous: false;
|
|
93
248
|
readonly inputs: readonly [{
|
|
94
|
-
readonly
|
|
249
|
+
readonly indexed: false;
|
|
250
|
+
readonly internalType: "address";
|
|
251
|
+
readonly name: "sender";
|
|
95
252
|
readonly type: "address";
|
|
96
253
|
}, {
|
|
97
|
-
readonly
|
|
254
|
+
readonly indexed: false;
|
|
255
|
+
readonly internalType: "uint256";
|
|
256
|
+
readonly name: "amount";
|
|
257
|
+
readonly type: "uint256";
|
|
258
|
+
}];
|
|
259
|
+
readonly name: "Received";
|
|
260
|
+
readonly type: "event";
|
|
261
|
+
}, {
|
|
262
|
+
readonly anonymous: false;
|
|
263
|
+
readonly inputs: readonly [{
|
|
264
|
+
readonly indexed: false;
|
|
265
|
+
readonly internalType: "ValidationId";
|
|
266
|
+
readonly name: "rootValidator";
|
|
267
|
+
readonly type: "bytes21";
|
|
268
|
+
}];
|
|
269
|
+
readonly name: "RootValidatorUpdated";
|
|
270
|
+
readonly type: "event";
|
|
271
|
+
}, {
|
|
272
|
+
readonly anonymous: false;
|
|
273
|
+
readonly inputs: readonly [{
|
|
274
|
+
readonly indexed: false;
|
|
275
|
+
readonly internalType: "bytes4";
|
|
276
|
+
readonly name: "selector";
|
|
277
|
+
readonly type: "bytes4";
|
|
278
|
+
}, {
|
|
279
|
+
readonly indexed: false;
|
|
280
|
+
readonly internalType: "ValidationId";
|
|
281
|
+
readonly name: "vId";
|
|
282
|
+
readonly type: "bytes21";
|
|
283
|
+
}, {
|
|
284
|
+
readonly indexed: false;
|
|
285
|
+
readonly internalType: "bool";
|
|
286
|
+
readonly name: "allowed";
|
|
287
|
+
readonly type: "bool";
|
|
288
|
+
}];
|
|
289
|
+
readonly name: "SelectorSet";
|
|
290
|
+
readonly type: "event";
|
|
291
|
+
}, {
|
|
292
|
+
readonly anonymous: false;
|
|
293
|
+
readonly inputs: readonly [{
|
|
294
|
+
readonly indexed: false;
|
|
295
|
+
readonly internalType: "uint256";
|
|
296
|
+
readonly name: "batchExecutionindex";
|
|
297
|
+
readonly type: "uint256";
|
|
298
|
+
}, {
|
|
299
|
+
readonly indexed: false;
|
|
300
|
+
readonly internalType: "bytes";
|
|
301
|
+
readonly name: "result";
|
|
302
|
+
readonly type: "bytes";
|
|
303
|
+
}];
|
|
304
|
+
readonly name: "TryExecuteUnsuccessful";
|
|
305
|
+
readonly type: "event";
|
|
306
|
+
}, {
|
|
307
|
+
readonly anonymous: false;
|
|
308
|
+
readonly inputs: readonly [{
|
|
309
|
+
readonly indexed: true;
|
|
310
|
+
readonly internalType: "address";
|
|
311
|
+
readonly name: "implementation";
|
|
98
312
|
readonly type: "address";
|
|
99
313
|
}];
|
|
100
|
-
readonly name: "
|
|
101
|
-
readonly
|
|
102
|
-
readonly payable: false;
|
|
103
|
-
readonly stateMutability: "nonpayable";
|
|
104
|
-
readonly type: "function";
|
|
314
|
+
readonly name: "Upgraded";
|
|
315
|
+
readonly type: "event";
|
|
105
316
|
}, {
|
|
106
|
-
readonly
|
|
107
|
-
readonly inputs: readonly [
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
readonly name: "";
|
|
111
|
-
readonly type: "
|
|
317
|
+
readonly anonymous: false;
|
|
318
|
+
readonly inputs: readonly [{
|
|
319
|
+
readonly indexed: false;
|
|
320
|
+
readonly internalType: "contract IValidator";
|
|
321
|
+
readonly name: "validator";
|
|
322
|
+
readonly type: "address";
|
|
323
|
+
}, {
|
|
324
|
+
readonly indexed: false;
|
|
325
|
+
readonly internalType: "uint32";
|
|
326
|
+
readonly name: "nonce";
|
|
327
|
+
readonly type: "uint32";
|
|
112
328
|
}];
|
|
113
|
-
readonly
|
|
114
|
-
readonly
|
|
115
|
-
readonly type: "function";
|
|
329
|
+
readonly name: "ValidatorInstalled";
|
|
330
|
+
readonly type: "event";
|
|
116
331
|
}, {
|
|
117
|
-
readonly
|
|
332
|
+
readonly anonymous: false;
|
|
118
333
|
readonly inputs: readonly [{
|
|
119
|
-
readonly
|
|
334
|
+
readonly indexed: false;
|
|
335
|
+
readonly internalType: "contract IValidator";
|
|
336
|
+
readonly name: "validator";
|
|
120
337
|
readonly type: "address";
|
|
121
338
|
}];
|
|
122
|
-
readonly name: "
|
|
339
|
+
readonly name: "ValidatorUninstalled";
|
|
340
|
+
readonly type: "event";
|
|
341
|
+
}, {
|
|
342
|
+
readonly stateMutability: "payable";
|
|
343
|
+
readonly type: "fallback";
|
|
344
|
+
}, {
|
|
345
|
+
readonly inputs: readonly [];
|
|
346
|
+
readonly name: "accountId";
|
|
123
347
|
readonly outputs: readonly [{
|
|
124
|
-
readonly
|
|
125
|
-
readonly
|
|
348
|
+
readonly internalType: "string";
|
|
349
|
+
readonly name: "accountImplementationId";
|
|
350
|
+
readonly type: "string";
|
|
126
351
|
}];
|
|
127
|
-
readonly
|
|
128
|
-
readonly stateMutability: "view";
|
|
352
|
+
readonly stateMutability: "pure";
|
|
129
353
|
readonly type: "function";
|
|
130
354
|
}, {
|
|
131
|
-
readonly constant: false;
|
|
132
355
|
readonly inputs: readonly [{
|
|
133
|
-
readonly
|
|
134
|
-
readonly
|
|
356
|
+
readonly internalType: "ValidationId";
|
|
357
|
+
readonly name: "_rootValidator";
|
|
358
|
+
readonly type: "bytes21";
|
|
135
359
|
}, {
|
|
136
|
-
readonly
|
|
360
|
+
readonly internalType: "contract IHook";
|
|
361
|
+
readonly name: "hook";
|
|
137
362
|
readonly type: "address";
|
|
363
|
+
}, {
|
|
364
|
+
readonly internalType: "bytes";
|
|
365
|
+
readonly name: "validatorData";
|
|
366
|
+
readonly type: "bytes";
|
|
367
|
+
}, {
|
|
368
|
+
readonly internalType: "bytes";
|
|
369
|
+
readonly name: "hookData";
|
|
370
|
+
readonly type: "bytes";
|
|
138
371
|
}];
|
|
139
|
-
readonly name: "
|
|
372
|
+
readonly name: "changeRootValidator";
|
|
373
|
+
readonly outputs: readonly [];
|
|
374
|
+
readonly stateMutability: "payable";
|
|
375
|
+
readonly type: "function";
|
|
376
|
+
}, {
|
|
377
|
+
readonly inputs: readonly [];
|
|
378
|
+
readonly name: "currentNonce";
|
|
140
379
|
readonly outputs: readonly [{
|
|
141
|
-
readonly
|
|
142
|
-
readonly
|
|
380
|
+
readonly internalType: "uint32";
|
|
381
|
+
readonly name: "";
|
|
382
|
+
readonly type: "uint32";
|
|
143
383
|
}];
|
|
144
|
-
readonly
|
|
145
|
-
readonly stateMutability: "nonpayable";
|
|
384
|
+
readonly stateMutability: "view";
|
|
146
385
|
readonly type: "function";
|
|
147
386
|
}, {
|
|
148
|
-
readonly constant: true;
|
|
149
387
|
readonly inputs: readonly [];
|
|
150
|
-
readonly name: "
|
|
388
|
+
readonly name: "eip712Domain";
|
|
151
389
|
readonly outputs: readonly [{
|
|
152
|
-
readonly
|
|
390
|
+
readonly internalType: "bytes1";
|
|
391
|
+
readonly name: "fields";
|
|
392
|
+
readonly type: "bytes1";
|
|
393
|
+
}, {
|
|
394
|
+
readonly internalType: "string";
|
|
395
|
+
readonly name: "name";
|
|
396
|
+
readonly type: "string";
|
|
397
|
+
}, {
|
|
398
|
+
readonly internalType: "string";
|
|
399
|
+
readonly name: "version";
|
|
400
|
+
readonly type: "string";
|
|
401
|
+
}, {
|
|
402
|
+
readonly internalType: "uint256";
|
|
403
|
+
readonly name: "chainId";
|
|
404
|
+
readonly type: "uint256";
|
|
405
|
+
}, {
|
|
406
|
+
readonly internalType: "address";
|
|
407
|
+
readonly name: "verifyingContract";
|
|
408
|
+
readonly type: "address";
|
|
409
|
+
}, {
|
|
410
|
+
readonly internalType: "bytes32";
|
|
411
|
+
readonly name: "salt";
|
|
153
412
|
readonly type: "bytes32";
|
|
413
|
+
}, {
|
|
414
|
+
readonly internalType: "uint256[]";
|
|
415
|
+
readonly name: "extensions";
|
|
416
|
+
readonly type: "uint256[]";
|
|
154
417
|
}];
|
|
155
|
-
readonly payable: false;
|
|
156
418
|
readonly stateMutability: "view";
|
|
157
419
|
readonly type: "function";
|
|
158
420
|
}, {
|
|
159
|
-
readonly constant: true;
|
|
160
421
|
readonly inputs: readonly [];
|
|
161
|
-
readonly name: "
|
|
422
|
+
readonly name: "entrypoint";
|
|
162
423
|
readonly outputs: readonly [{
|
|
424
|
+
readonly internalType: "contract IEntryPoint";
|
|
163
425
|
readonly name: "";
|
|
164
|
-
readonly type: "
|
|
426
|
+
readonly type: "address";
|
|
165
427
|
}];
|
|
166
|
-
readonly payable: false;
|
|
167
428
|
readonly stateMutability: "view";
|
|
168
429
|
readonly type: "function";
|
|
169
430
|
}, {
|
|
170
|
-
readonly constant: false;
|
|
171
431
|
readonly inputs: readonly [{
|
|
172
|
-
readonly
|
|
432
|
+
readonly internalType: "ExecMode";
|
|
433
|
+
readonly name: "execMode";
|
|
173
434
|
readonly type: "bytes32";
|
|
435
|
+
}, {
|
|
436
|
+
readonly internalType: "bytes";
|
|
437
|
+
readonly name: "executionCalldata";
|
|
438
|
+
readonly type: "bytes";
|
|
174
439
|
}];
|
|
175
|
-
readonly name: "
|
|
440
|
+
readonly name: "execute";
|
|
176
441
|
readonly outputs: readonly [];
|
|
177
|
-
readonly
|
|
178
|
-
readonly stateMutability: "nonpayable";
|
|
442
|
+
readonly stateMutability: "payable";
|
|
179
443
|
readonly type: "function";
|
|
180
444
|
}, {
|
|
181
|
-
readonly
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
readonly outputs: readonly [{
|
|
185
|
-
readonly name: "";
|
|
445
|
+
readonly inputs: readonly [{
|
|
446
|
+
readonly internalType: "ExecMode";
|
|
447
|
+
readonly name: "execMode";
|
|
186
448
|
readonly type: "bytes32";
|
|
449
|
+
}, {
|
|
450
|
+
readonly internalType: "bytes";
|
|
451
|
+
readonly name: "executionCalldata";
|
|
452
|
+
readonly type: "bytes";
|
|
187
453
|
}];
|
|
188
|
-
readonly
|
|
189
|
-
readonly
|
|
454
|
+
readonly name: "executeFromExecutor";
|
|
455
|
+
readonly outputs: readonly [{
|
|
456
|
+
readonly internalType: "bytes[]";
|
|
457
|
+
readonly name: "returnData";
|
|
458
|
+
readonly type: "bytes[]";
|
|
459
|
+
}];
|
|
460
|
+
readonly stateMutability: "payable";
|
|
190
461
|
readonly type: "function";
|
|
191
462
|
}, {
|
|
192
|
-
readonly constant: false;
|
|
193
463
|
readonly inputs: readonly [{
|
|
194
|
-
readonly
|
|
195
|
-
|
|
464
|
+
readonly components: readonly [{
|
|
465
|
+
readonly internalType: "address";
|
|
466
|
+
readonly name: "sender";
|
|
467
|
+
readonly type: "address";
|
|
468
|
+
}, {
|
|
469
|
+
readonly internalType: "uint256";
|
|
470
|
+
readonly name: "nonce";
|
|
471
|
+
readonly type: "uint256";
|
|
472
|
+
}, {
|
|
473
|
+
readonly internalType: "bytes";
|
|
474
|
+
readonly name: "initCode";
|
|
475
|
+
readonly type: "bytes";
|
|
476
|
+
}, {
|
|
477
|
+
readonly internalType: "bytes";
|
|
478
|
+
readonly name: "callData";
|
|
479
|
+
readonly type: "bytes";
|
|
480
|
+
}, {
|
|
481
|
+
readonly internalType: "bytes32";
|
|
482
|
+
readonly name: "accountGasLimits";
|
|
483
|
+
readonly type: "bytes32";
|
|
484
|
+
}, {
|
|
485
|
+
readonly internalType: "uint256";
|
|
486
|
+
readonly name: "preVerificationGas";
|
|
487
|
+
readonly type: "uint256";
|
|
488
|
+
}, {
|
|
489
|
+
readonly internalType: "bytes32";
|
|
490
|
+
readonly name: "gasFees";
|
|
491
|
+
readonly type: "bytes32";
|
|
492
|
+
}, {
|
|
493
|
+
readonly internalType: "bytes";
|
|
494
|
+
readonly name: "paymasterAndData";
|
|
495
|
+
readonly type: "bytes";
|
|
496
|
+
}, {
|
|
497
|
+
readonly internalType: "bytes";
|
|
498
|
+
readonly name: "signature";
|
|
499
|
+
readonly type: "bytes";
|
|
500
|
+
}];
|
|
501
|
+
readonly internalType: "struct PackedUserOperation";
|
|
502
|
+
readonly name: "userOp";
|
|
503
|
+
readonly type: "tuple";
|
|
196
504
|
}, {
|
|
197
|
-
readonly
|
|
505
|
+
readonly internalType: "bytes32";
|
|
506
|
+
readonly name: "userOpHash";
|
|
507
|
+
readonly type: "bytes32";
|
|
508
|
+
}];
|
|
509
|
+
readonly name: "executeUserOp";
|
|
510
|
+
readonly outputs: readonly [];
|
|
511
|
+
readonly stateMutability: "payable";
|
|
512
|
+
readonly type: "function";
|
|
513
|
+
}, {
|
|
514
|
+
readonly inputs: readonly [{
|
|
515
|
+
readonly internalType: "contract IExecutor";
|
|
516
|
+
readonly name: "executor";
|
|
198
517
|
readonly type: "address";
|
|
199
518
|
}];
|
|
200
|
-
readonly name: "
|
|
519
|
+
readonly name: "executorConfig";
|
|
201
520
|
readonly outputs: readonly [{
|
|
202
|
-
readonly
|
|
521
|
+
readonly components: readonly [{
|
|
522
|
+
readonly internalType: "contract IHook";
|
|
523
|
+
readonly name: "hook";
|
|
524
|
+
readonly type: "address";
|
|
525
|
+
}];
|
|
526
|
+
readonly internalType: "struct ExecutorManager.ExecutorConfig";
|
|
527
|
+
readonly name: "";
|
|
528
|
+
readonly type: "tuple";
|
|
529
|
+
}];
|
|
530
|
+
readonly stateMutability: "view";
|
|
531
|
+
readonly type: "function";
|
|
532
|
+
}, {
|
|
533
|
+
readonly inputs: readonly [{
|
|
534
|
+
readonly internalType: "ValidationId";
|
|
535
|
+
readonly name: "_rootValidator";
|
|
536
|
+
readonly type: "bytes21";
|
|
537
|
+
}, {
|
|
538
|
+
readonly internalType: "contract IHook";
|
|
539
|
+
readonly name: "hook";
|
|
203
540
|
readonly type: "address";
|
|
541
|
+
}, {
|
|
542
|
+
readonly internalType: "bytes";
|
|
543
|
+
readonly name: "validatorData";
|
|
544
|
+
readonly type: "bytes";
|
|
545
|
+
}, {
|
|
546
|
+
readonly internalType: "bytes";
|
|
547
|
+
readonly name: "hookData";
|
|
548
|
+
readonly type: "bytes";
|
|
549
|
+
}, {
|
|
550
|
+
readonly internalType: "bytes[]";
|
|
551
|
+
readonly name: "initConfig";
|
|
552
|
+
readonly type: "bytes[]";
|
|
204
553
|
}];
|
|
205
|
-
readonly
|
|
554
|
+
readonly name: "initialize";
|
|
555
|
+
readonly outputs: readonly [];
|
|
206
556
|
readonly stateMutability: "nonpayable";
|
|
207
557
|
readonly type: "function";
|
|
208
558
|
}, {
|
|
209
|
-
readonly constant: false;
|
|
210
559
|
readonly inputs: readonly [{
|
|
211
|
-
readonly
|
|
560
|
+
readonly internalType: "uint256";
|
|
561
|
+
readonly name: "moduleType";
|
|
562
|
+
readonly type: "uint256";
|
|
563
|
+
}, {
|
|
564
|
+
readonly internalType: "address";
|
|
565
|
+
readonly name: "module";
|
|
212
566
|
readonly type: "address";
|
|
567
|
+
}, {
|
|
568
|
+
readonly internalType: "bytes";
|
|
569
|
+
readonly name: "initData";
|
|
570
|
+
readonly type: "bytes";
|
|
213
571
|
}];
|
|
214
|
-
readonly name: "
|
|
572
|
+
readonly name: "installModule";
|
|
215
573
|
readonly outputs: readonly [];
|
|
216
|
-
readonly
|
|
217
|
-
readonly stateMutability: "nonpayable";
|
|
574
|
+
readonly stateMutability: "payable";
|
|
218
575
|
readonly type: "function";
|
|
219
576
|
}, {
|
|
220
|
-
readonly constant: false;
|
|
221
577
|
readonly inputs: readonly [{
|
|
222
|
-
readonly
|
|
223
|
-
readonly
|
|
578
|
+
readonly internalType: "ValidationId[]";
|
|
579
|
+
readonly name: "vIds";
|
|
580
|
+
readonly type: "bytes21[]";
|
|
224
581
|
}, {
|
|
225
|
-
readonly
|
|
226
|
-
|
|
582
|
+
readonly components: readonly [{
|
|
583
|
+
readonly internalType: "uint32";
|
|
584
|
+
readonly name: "nonce";
|
|
585
|
+
readonly type: "uint32";
|
|
586
|
+
}, {
|
|
587
|
+
readonly internalType: "contract IHook";
|
|
588
|
+
readonly name: "hook";
|
|
589
|
+
readonly type: "address";
|
|
590
|
+
}];
|
|
591
|
+
readonly internalType: "struct ValidationManager.ValidationConfig[]";
|
|
592
|
+
readonly name: "configs";
|
|
593
|
+
readonly type: "tuple[]";
|
|
227
594
|
}, {
|
|
228
|
-
readonly
|
|
229
|
-
readonly
|
|
595
|
+
readonly internalType: "bytes[]";
|
|
596
|
+
readonly name: "validationData";
|
|
597
|
+
readonly type: "bytes[]";
|
|
598
|
+
}, {
|
|
599
|
+
readonly internalType: "bytes[]";
|
|
600
|
+
readonly name: "hookData";
|
|
601
|
+
readonly type: "bytes[]";
|
|
230
602
|
}];
|
|
231
|
-
readonly name: "
|
|
603
|
+
readonly name: "installValidations";
|
|
232
604
|
readonly outputs: readonly [];
|
|
233
|
-
readonly
|
|
234
|
-
readonly stateMutability: "nonpayable";
|
|
605
|
+
readonly stateMutability: "payable";
|
|
235
606
|
readonly type: "function";
|
|
236
607
|
}, {
|
|
237
|
-
readonly constant: true;
|
|
238
608
|
readonly inputs: readonly [{
|
|
239
|
-
readonly
|
|
240
|
-
readonly
|
|
609
|
+
readonly internalType: "uint32";
|
|
610
|
+
readonly name: "nonce";
|
|
611
|
+
readonly type: "uint32";
|
|
612
|
+
}];
|
|
613
|
+
readonly name: "invalidateNonce";
|
|
614
|
+
readonly outputs: readonly [];
|
|
615
|
+
readonly stateMutability: "payable";
|
|
616
|
+
readonly type: "function";
|
|
617
|
+
}, {
|
|
618
|
+
readonly inputs: readonly [{
|
|
619
|
+
readonly internalType: "ValidationId";
|
|
620
|
+
readonly name: "vId";
|
|
621
|
+
readonly type: "bytes21";
|
|
241
622
|
}, {
|
|
242
|
-
readonly
|
|
243
|
-
readonly
|
|
623
|
+
readonly internalType: "bytes4";
|
|
624
|
+
readonly name: "selector";
|
|
625
|
+
readonly type: "bytes4";
|
|
244
626
|
}];
|
|
245
|
-
readonly name: "
|
|
627
|
+
readonly name: "isAllowedSelector";
|
|
246
628
|
readonly outputs: readonly [{
|
|
629
|
+
readonly internalType: "bool";
|
|
247
630
|
readonly name: "";
|
|
248
|
-
readonly type: "
|
|
631
|
+
readonly type: "bool";
|
|
249
632
|
}];
|
|
250
|
-
readonly payable: false;
|
|
251
633
|
readonly stateMutability: "view";
|
|
252
634
|
readonly type: "function";
|
|
253
635
|
}, {
|
|
254
|
-
readonly constant: false;
|
|
255
636
|
readonly inputs: readonly [{
|
|
256
|
-
readonly
|
|
257
|
-
readonly
|
|
637
|
+
readonly internalType: "uint256";
|
|
638
|
+
readonly name: "moduleType";
|
|
639
|
+
readonly type: "uint256";
|
|
258
640
|
}, {
|
|
259
|
-
readonly
|
|
641
|
+
readonly internalType: "address";
|
|
642
|
+
readonly name: "module";
|
|
260
643
|
readonly type: "address";
|
|
261
644
|
}, {
|
|
262
|
-
readonly
|
|
645
|
+
readonly internalType: "bytes";
|
|
646
|
+
readonly name: "additionalContext";
|
|
263
647
|
readonly type: "bytes";
|
|
264
|
-
}, {
|
|
265
|
-
readonly name: "_setDefault";
|
|
266
|
-
readonly type: "bool";
|
|
267
648
|
}];
|
|
268
|
-
readonly name: "
|
|
649
|
+
readonly name: "isModuleInstalled";
|
|
269
650
|
readonly outputs: readonly [{
|
|
270
|
-
readonly
|
|
271
|
-
readonly
|
|
651
|
+
readonly internalType: "bool";
|
|
652
|
+
readonly name: "";
|
|
653
|
+
readonly type: "bool";
|
|
272
654
|
}];
|
|
273
|
-
readonly
|
|
274
|
-
readonly stateMutability: "nonpayable";
|
|
655
|
+
readonly stateMutability: "view";
|
|
275
656
|
readonly type: "function";
|
|
276
657
|
}, {
|
|
277
|
-
readonly constant: false;
|
|
278
658
|
readonly inputs: readonly [{
|
|
279
|
-
readonly
|
|
280
|
-
readonly
|
|
281
|
-
}, {
|
|
282
|
-
readonly name: "_appId";
|
|
659
|
+
readonly internalType: "bytes32";
|
|
660
|
+
readonly name: "hash";
|
|
283
661
|
readonly type: "bytes32";
|
|
284
662
|
}, {
|
|
285
|
-
readonly
|
|
663
|
+
readonly internalType: "bytes";
|
|
664
|
+
readonly name: "signature";
|
|
286
665
|
readonly type: "bytes";
|
|
287
666
|
}];
|
|
288
|
-
readonly name: "
|
|
667
|
+
readonly name: "isValidSignature";
|
|
289
668
|
readonly outputs: readonly [{
|
|
669
|
+
readonly internalType: "bytes4";
|
|
290
670
|
readonly name: "";
|
|
291
|
-
readonly type: "
|
|
671
|
+
readonly type: "bytes4";
|
|
292
672
|
}];
|
|
293
|
-
readonly
|
|
294
|
-
readonly stateMutability: "nonpayable";
|
|
673
|
+
readonly stateMutability: "view";
|
|
295
674
|
readonly type: "function";
|
|
296
675
|
}, {
|
|
297
|
-
readonly
|
|
298
|
-
|
|
299
|
-
|
|
676
|
+
readonly inputs: readonly [{
|
|
677
|
+
readonly internalType: "address";
|
|
678
|
+
readonly name: "";
|
|
679
|
+
readonly type: "address";
|
|
680
|
+
}, {
|
|
681
|
+
readonly internalType: "address";
|
|
682
|
+
readonly name: "";
|
|
683
|
+
readonly type: "address";
|
|
684
|
+
}, {
|
|
685
|
+
readonly internalType: "uint256[]";
|
|
686
|
+
readonly name: "";
|
|
687
|
+
readonly type: "uint256[]";
|
|
688
|
+
}, {
|
|
689
|
+
readonly internalType: "uint256[]";
|
|
690
|
+
readonly name: "";
|
|
691
|
+
readonly type: "uint256[]";
|
|
692
|
+
}, {
|
|
693
|
+
readonly internalType: "bytes";
|
|
694
|
+
readonly name: "";
|
|
695
|
+
readonly type: "bytes";
|
|
696
|
+
}];
|
|
697
|
+
readonly name: "onERC1155BatchReceived";
|
|
300
698
|
readonly outputs: readonly [{
|
|
699
|
+
readonly internalType: "bytes4";
|
|
301
700
|
readonly name: "";
|
|
302
|
-
readonly type: "
|
|
701
|
+
readonly type: "bytes4";
|
|
303
702
|
}];
|
|
304
|
-
readonly payable: false;
|
|
305
703
|
readonly stateMutability: "pure";
|
|
306
704
|
readonly type: "function";
|
|
307
705
|
}, {
|
|
308
|
-
readonly
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
706
|
+
readonly inputs: readonly [{
|
|
707
|
+
readonly internalType: "address";
|
|
708
|
+
readonly name: "";
|
|
709
|
+
readonly type: "address";
|
|
710
|
+
}, {
|
|
711
|
+
readonly internalType: "address";
|
|
312
712
|
readonly name: "";
|
|
313
713
|
readonly type: "address";
|
|
714
|
+
}, {
|
|
715
|
+
readonly internalType: "uint256";
|
|
716
|
+
readonly name: "";
|
|
717
|
+
readonly type: "uint256";
|
|
718
|
+
}, {
|
|
719
|
+
readonly internalType: "uint256";
|
|
720
|
+
readonly name: "";
|
|
721
|
+
readonly type: "uint256";
|
|
722
|
+
}, {
|
|
723
|
+
readonly internalType: "bytes";
|
|
724
|
+
readonly name: "";
|
|
725
|
+
readonly type: "bytes";
|
|
314
726
|
}];
|
|
315
|
-
readonly
|
|
316
|
-
readonly stateMutability: "view";
|
|
317
|
-
readonly type: "function";
|
|
318
|
-
}, {
|
|
319
|
-
readonly constant: true;
|
|
320
|
-
readonly inputs: readonly [];
|
|
321
|
-
readonly name: "isPetrified";
|
|
727
|
+
readonly name: "onERC1155Received";
|
|
322
728
|
readonly outputs: readonly [{
|
|
729
|
+
readonly internalType: "bytes4";
|
|
323
730
|
readonly name: "";
|
|
324
|
-
readonly type: "
|
|
731
|
+
readonly type: "bytes4";
|
|
325
732
|
}];
|
|
326
|
-
readonly
|
|
327
|
-
readonly stateMutability: "view";
|
|
733
|
+
readonly stateMutability: "pure";
|
|
328
734
|
readonly type: "function";
|
|
329
735
|
}, {
|
|
330
|
-
readonly constant: false;
|
|
331
736
|
readonly inputs: readonly [{
|
|
332
|
-
readonly
|
|
737
|
+
readonly internalType: "address";
|
|
738
|
+
readonly name: "";
|
|
333
739
|
readonly type: "address";
|
|
334
740
|
}, {
|
|
335
|
-
readonly
|
|
336
|
-
readonly
|
|
741
|
+
readonly internalType: "address";
|
|
742
|
+
readonly name: "";
|
|
743
|
+
readonly type: "address";
|
|
744
|
+
}, {
|
|
745
|
+
readonly internalType: "uint256";
|
|
746
|
+
readonly name: "";
|
|
747
|
+
readonly type: "uint256";
|
|
748
|
+
}, {
|
|
749
|
+
readonly internalType: "bytes";
|
|
750
|
+
readonly name: "";
|
|
751
|
+
readonly type: "bytes";
|
|
337
752
|
}];
|
|
338
|
-
readonly name: "
|
|
753
|
+
readonly name: "onERC721Received";
|
|
339
754
|
readonly outputs: readonly [{
|
|
755
|
+
readonly internalType: "bytes4";
|
|
340
756
|
readonly name: "";
|
|
341
|
-
readonly type: "
|
|
757
|
+
readonly type: "bytes4";
|
|
342
758
|
}];
|
|
343
|
-
readonly
|
|
344
|
-
readonly
|
|
759
|
+
readonly stateMutability: "pure";
|
|
760
|
+
readonly type: "function";
|
|
761
|
+
}, {
|
|
762
|
+
readonly inputs: readonly [{
|
|
763
|
+
readonly internalType: "PermissionId";
|
|
764
|
+
readonly name: "pId";
|
|
765
|
+
readonly type: "bytes4";
|
|
766
|
+
}];
|
|
767
|
+
readonly name: "permissionConfig";
|
|
768
|
+
readonly outputs: readonly [{
|
|
769
|
+
readonly components: readonly [{
|
|
770
|
+
readonly internalType: "PassFlag";
|
|
771
|
+
readonly name: "permissionFlag";
|
|
772
|
+
readonly type: "bytes2";
|
|
773
|
+
}, {
|
|
774
|
+
readonly internalType: "contract ISigner";
|
|
775
|
+
readonly name: "signer";
|
|
776
|
+
readonly type: "address";
|
|
777
|
+
}, {
|
|
778
|
+
readonly internalType: "PolicyData[]";
|
|
779
|
+
readonly name: "policyData";
|
|
780
|
+
readonly type: "bytes22[]";
|
|
781
|
+
}];
|
|
782
|
+
readonly internalType: "struct ValidationManager.PermissionConfig";
|
|
783
|
+
readonly name: "";
|
|
784
|
+
readonly type: "tuple";
|
|
785
|
+
}];
|
|
786
|
+
readonly stateMutability: "view";
|
|
345
787
|
readonly type: "function";
|
|
346
788
|
}, {
|
|
347
|
-
readonly constant: true;
|
|
348
789
|
readonly inputs: readonly [];
|
|
349
|
-
readonly name: "
|
|
790
|
+
readonly name: "rootValidator";
|
|
350
791
|
readonly outputs: readonly [{
|
|
792
|
+
readonly internalType: "ValidationId";
|
|
351
793
|
readonly name: "";
|
|
352
|
-
readonly type: "
|
|
794
|
+
readonly type: "bytes21";
|
|
353
795
|
}];
|
|
354
|
-
readonly
|
|
355
|
-
readonly stateMutability: "pure";
|
|
796
|
+
readonly stateMutability: "view";
|
|
356
797
|
readonly type: "function";
|
|
357
798
|
}, {
|
|
358
|
-
readonly constant: false;
|
|
359
799
|
readonly inputs: readonly [{
|
|
360
|
-
readonly
|
|
361
|
-
readonly
|
|
362
|
-
|
|
363
|
-
readonly name: "_appId";
|
|
364
|
-
readonly type: "bytes32";
|
|
365
|
-
}, {
|
|
366
|
-
readonly name: "_initializePayload";
|
|
367
|
-
readonly type: "bytes";
|
|
800
|
+
readonly internalType: "bytes4";
|
|
801
|
+
readonly name: "selector";
|
|
802
|
+
readonly type: "bytes4";
|
|
368
803
|
}];
|
|
369
|
-
readonly name: "
|
|
804
|
+
readonly name: "selectorConfig";
|
|
370
805
|
readonly outputs: readonly [{
|
|
806
|
+
readonly components: readonly [{
|
|
807
|
+
readonly internalType: "contract IHook";
|
|
808
|
+
readonly name: "hook";
|
|
809
|
+
readonly type: "address";
|
|
810
|
+
}, {
|
|
811
|
+
readonly internalType: "address";
|
|
812
|
+
readonly name: "target";
|
|
813
|
+
readonly type: "address";
|
|
814
|
+
}, {
|
|
815
|
+
readonly internalType: "CallType";
|
|
816
|
+
readonly name: "callType";
|
|
817
|
+
readonly type: "bytes1";
|
|
818
|
+
}];
|
|
819
|
+
readonly internalType: "struct SelectorManager.SelectorConfig";
|
|
371
820
|
readonly name: "";
|
|
372
|
-
readonly type: "
|
|
821
|
+
readonly type: "tuple";
|
|
373
822
|
}];
|
|
374
|
-
readonly
|
|
375
|
-
readonly stateMutability: "nonpayable";
|
|
823
|
+
readonly stateMutability: "view";
|
|
376
824
|
readonly type: "function";
|
|
377
825
|
}, {
|
|
378
|
-
readonly constant: true;
|
|
379
826
|
readonly inputs: readonly [{
|
|
380
|
-
readonly
|
|
381
|
-
readonly
|
|
382
|
-
}, {
|
|
383
|
-
readonly name: "_where";
|
|
384
|
-
readonly type: "address";
|
|
385
|
-
}, {
|
|
386
|
-
readonly name: "_what";
|
|
827
|
+
readonly internalType: "ExecMode";
|
|
828
|
+
readonly name: "mode";
|
|
387
829
|
readonly type: "bytes32";
|
|
388
|
-
}, {
|
|
389
|
-
readonly name: "_how";
|
|
390
|
-
readonly type: "bytes";
|
|
391
830
|
}];
|
|
392
|
-
readonly name: "
|
|
831
|
+
readonly name: "supportsExecutionMode";
|
|
393
832
|
readonly outputs: readonly [{
|
|
833
|
+
readonly internalType: "bool";
|
|
394
834
|
readonly name: "";
|
|
395
835
|
readonly type: "bool";
|
|
396
836
|
}];
|
|
397
|
-
readonly
|
|
398
|
-
readonly stateMutability: "view";
|
|
837
|
+
readonly stateMutability: "pure";
|
|
399
838
|
readonly type: "function";
|
|
400
839
|
}, {
|
|
401
|
-
readonly constant: false;
|
|
402
840
|
readonly inputs: readonly [{
|
|
403
|
-
readonly
|
|
404
|
-
readonly
|
|
405
|
-
|
|
406
|
-
readonly name: "_appId";
|
|
407
|
-
readonly type: "bytes32";
|
|
841
|
+
readonly internalType: "uint256";
|
|
842
|
+
readonly name: "moduleTypeId";
|
|
843
|
+
readonly type: "uint256";
|
|
408
844
|
}];
|
|
409
|
-
readonly name: "
|
|
845
|
+
readonly name: "supportsModule";
|
|
410
846
|
readonly outputs: readonly [{
|
|
847
|
+
readonly internalType: "bool";
|
|
411
848
|
readonly name: "";
|
|
412
|
-
readonly type: "
|
|
849
|
+
readonly type: "bool";
|
|
413
850
|
}];
|
|
414
|
-
readonly
|
|
415
|
-
readonly stateMutability: "nonpayable";
|
|
851
|
+
readonly stateMutability: "pure";
|
|
416
852
|
readonly type: "function";
|
|
417
853
|
}, {
|
|
418
854
|
readonly inputs: readonly [{
|
|
419
|
-
readonly
|
|
420
|
-
readonly
|
|
855
|
+
readonly internalType: "uint256";
|
|
856
|
+
readonly name: "moduleType";
|
|
857
|
+
readonly type: "uint256";
|
|
858
|
+
}, {
|
|
859
|
+
readonly internalType: "address";
|
|
860
|
+
readonly name: "module";
|
|
861
|
+
readonly type: "address";
|
|
862
|
+
}, {
|
|
863
|
+
readonly internalType: "bytes";
|
|
864
|
+
readonly name: "deInitData";
|
|
865
|
+
readonly type: "bytes";
|
|
421
866
|
}];
|
|
422
|
-
readonly
|
|
423
|
-
readonly
|
|
424
|
-
readonly
|
|
867
|
+
readonly name: "uninstallModule";
|
|
868
|
+
readonly outputs: readonly [];
|
|
869
|
+
readonly stateMutability: "payable";
|
|
870
|
+
readonly type: "function";
|
|
425
871
|
}, {
|
|
426
|
-
readonly anonymous: false;
|
|
427
872
|
readonly inputs: readonly [{
|
|
428
|
-
readonly
|
|
429
|
-
readonly name: "
|
|
430
|
-
readonly type: "
|
|
873
|
+
readonly internalType: "ValidationId";
|
|
874
|
+
readonly name: "vId";
|
|
875
|
+
readonly type: "bytes21";
|
|
431
876
|
}, {
|
|
432
|
-
readonly
|
|
433
|
-
readonly name: "
|
|
434
|
-
readonly type: "
|
|
877
|
+
readonly internalType: "bytes";
|
|
878
|
+
readonly name: "deinitData";
|
|
879
|
+
readonly type: "bytes";
|
|
435
880
|
}, {
|
|
436
|
-
readonly
|
|
437
|
-
readonly name: "
|
|
438
|
-
readonly type: "
|
|
881
|
+
readonly internalType: "bytes";
|
|
882
|
+
readonly name: "hookDeinitData";
|
|
883
|
+
readonly type: "bytes";
|
|
439
884
|
}];
|
|
440
|
-
readonly name: "
|
|
441
|
-
readonly
|
|
885
|
+
readonly name: "uninstallValidation";
|
|
886
|
+
readonly outputs: readonly [];
|
|
887
|
+
readonly stateMutability: "payable";
|
|
888
|
+
readonly type: "function";
|
|
442
889
|
}, {
|
|
443
|
-
readonly anonymous: false;
|
|
444
890
|
readonly inputs: readonly [{
|
|
445
|
-
readonly
|
|
446
|
-
readonly name: "
|
|
447
|
-
readonly type: "address";
|
|
448
|
-
}, {
|
|
449
|
-
readonly indexed: true;
|
|
450
|
-
readonly name: "token";
|
|
891
|
+
readonly internalType: "address";
|
|
892
|
+
readonly name: "_newImplementation";
|
|
451
893
|
readonly type: "address";
|
|
452
|
-
}, {
|
|
453
|
-
readonly indexed: false;
|
|
454
|
-
readonly name: "amount";
|
|
455
|
-
readonly type: "uint256";
|
|
456
894
|
}];
|
|
457
|
-
readonly name: "
|
|
458
|
-
readonly
|
|
895
|
+
readonly name: "upgradeTo";
|
|
896
|
+
readonly outputs: readonly [];
|
|
897
|
+
readonly stateMutability: "payable";
|
|
898
|
+
readonly type: "function";
|
|
899
|
+
}, {
|
|
900
|
+
readonly inputs: readonly [];
|
|
901
|
+
readonly name: "validNonceFrom";
|
|
902
|
+
readonly outputs: readonly [{
|
|
903
|
+
readonly internalType: "uint32";
|
|
904
|
+
readonly name: "";
|
|
905
|
+
readonly type: "uint32";
|
|
906
|
+
}];
|
|
907
|
+
readonly stateMutability: "view";
|
|
908
|
+
readonly type: "function";
|
|
459
909
|
}, {
|
|
460
|
-
readonly anonymous: false;
|
|
461
910
|
readonly inputs: readonly [{
|
|
462
|
-
readonly
|
|
463
|
-
|
|
464
|
-
|
|
911
|
+
readonly components: readonly [{
|
|
912
|
+
readonly internalType: "address";
|
|
913
|
+
readonly name: "sender";
|
|
914
|
+
readonly type: "address";
|
|
915
|
+
}, {
|
|
916
|
+
readonly internalType: "uint256";
|
|
917
|
+
readonly name: "nonce";
|
|
918
|
+
readonly type: "uint256";
|
|
919
|
+
}, {
|
|
920
|
+
readonly internalType: "bytes";
|
|
921
|
+
readonly name: "initCode";
|
|
922
|
+
readonly type: "bytes";
|
|
923
|
+
}, {
|
|
924
|
+
readonly internalType: "bytes";
|
|
925
|
+
readonly name: "callData";
|
|
926
|
+
readonly type: "bytes";
|
|
927
|
+
}, {
|
|
928
|
+
readonly internalType: "bytes32";
|
|
929
|
+
readonly name: "accountGasLimits";
|
|
930
|
+
readonly type: "bytes32";
|
|
931
|
+
}, {
|
|
932
|
+
readonly internalType: "uint256";
|
|
933
|
+
readonly name: "preVerificationGas";
|
|
934
|
+
readonly type: "uint256";
|
|
935
|
+
}, {
|
|
936
|
+
readonly internalType: "bytes32";
|
|
937
|
+
readonly name: "gasFees";
|
|
938
|
+
readonly type: "bytes32";
|
|
939
|
+
}, {
|
|
940
|
+
readonly internalType: "bytes";
|
|
941
|
+
readonly name: "paymasterAndData";
|
|
942
|
+
readonly type: "bytes";
|
|
943
|
+
}, {
|
|
944
|
+
readonly internalType: "bytes";
|
|
945
|
+
readonly name: "signature";
|
|
946
|
+
readonly type: "bytes";
|
|
947
|
+
}];
|
|
948
|
+
readonly internalType: "struct PackedUserOperation";
|
|
949
|
+
readonly name: "userOp";
|
|
950
|
+
readonly type: "tuple";
|
|
465
951
|
}, {
|
|
466
|
-
readonly
|
|
467
|
-
readonly name: "
|
|
952
|
+
readonly internalType: "bytes32";
|
|
953
|
+
readonly name: "userOpHash";
|
|
468
954
|
readonly type: "bytes32";
|
|
469
955
|
}, {
|
|
470
|
-
readonly
|
|
471
|
-
readonly name: "
|
|
472
|
-
readonly type: "
|
|
956
|
+
readonly internalType: "uint256";
|
|
957
|
+
readonly name: "missingAccountFunds";
|
|
958
|
+
readonly type: "uint256";
|
|
473
959
|
}];
|
|
474
|
-
readonly name: "
|
|
475
|
-
readonly
|
|
960
|
+
readonly name: "validateUserOp";
|
|
961
|
+
readonly outputs: readonly [{
|
|
962
|
+
readonly internalType: "ValidationData";
|
|
963
|
+
readonly name: "validationData";
|
|
964
|
+
readonly type: "uint256";
|
|
965
|
+
}];
|
|
966
|
+
readonly stateMutability: "payable";
|
|
967
|
+
readonly type: "function";
|
|
968
|
+
}, {
|
|
969
|
+
readonly inputs: readonly [{
|
|
970
|
+
readonly internalType: "ValidationId";
|
|
971
|
+
readonly name: "vId";
|
|
972
|
+
readonly type: "bytes21";
|
|
973
|
+
}];
|
|
974
|
+
readonly name: "validationConfig";
|
|
975
|
+
readonly outputs: readonly [{
|
|
976
|
+
readonly components: readonly [{
|
|
977
|
+
readonly internalType: "uint32";
|
|
978
|
+
readonly name: "nonce";
|
|
979
|
+
readonly type: "uint32";
|
|
980
|
+
}, {
|
|
981
|
+
readonly internalType: "contract IHook";
|
|
982
|
+
readonly name: "hook";
|
|
983
|
+
readonly type: "address";
|
|
984
|
+
}];
|
|
985
|
+
readonly internalType: "struct ValidationManager.ValidationConfig";
|
|
986
|
+
readonly name: "";
|
|
987
|
+
readonly type: "tuple";
|
|
988
|
+
}];
|
|
989
|
+
readonly stateMutability: "view";
|
|
990
|
+
readonly type: "function";
|
|
991
|
+
}, {
|
|
992
|
+
readonly stateMutability: "payable";
|
|
993
|
+
readonly type: "receive";
|
|
476
994
|
}];
|
|
477
995
|
/**
|
|
478
996
|
* Type-safe ABI for Kernel_json
|
|
@@ -531,86 +1049,101 @@ export declare class Kernel_json {
|
|
|
531
1049
|
*/
|
|
532
1050
|
getContract(): Kernel_jsonContract;
|
|
533
1051
|
/**
|
|
534
|
-
*
|
|
535
|
-
* view
|
|
536
|
-
*/
|
|
537
|
-
hasInitialized(): Promise<boolean>;
|
|
538
|
-
/**
|
|
539
|
-
* KERNEL_APP_ID
|
|
1052
|
+
* accountId
|
|
540
1053
|
* pure
|
|
541
1054
|
*/
|
|
542
|
-
|
|
1055
|
+
accountId(): Promise<string>;
|
|
543
1056
|
/**
|
|
544
|
-
*
|
|
545
|
-
*
|
|
1057
|
+
* currentNonce
|
|
1058
|
+
* view
|
|
546
1059
|
*/
|
|
547
|
-
|
|
1060
|
+
currentNonce(): Promise<bigint>;
|
|
548
1061
|
/**
|
|
549
|
-
*
|
|
1062
|
+
* eip712Domain
|
|
550
1063
|
* view
|
|
551
1064
|
*/
|
|
552
|
-
|
|
1065
|
+
eip712Domain(): Promise<[`0x${string}`, string, string, bigint, `0x${string}`, `0x${string}`, bigint[]]>;
|
|
553
1066
|
/**
|
|
554
|
-
*
|
|
1067
|
+
* entrypoint
|
|
555
1068
|
* view
|
|
556
1069
|
*/
|
|
557
|
-
|
|
1070
|
+
entrypoint(): Promise<`0x${string}`>;
|
|
558
1071
|
/**
|
|
559
|
-
*
|
|
560
|
-
*
|
|
1072
|
+
* executorConfig
|
|
1073
|
+
* view
|
|
561
1074
|
*/
|
|
562
|
-
|
|
1075
|
+
executorConfig(executor: `0x${string}`): Promise<ExecutorManager_ExecutorConfig>;
|
|
563
1076
|
/**
|
|
564
|
-
*
|
|
1077
|
+
* isAllowedSelector
|
|
565
1078
|
* view
|
|
566
1079
|
*/
|
|
567
|
-
|
|
1080
|
+
isAllowedSelector(vId: `0x${string}`, selector: `0x${string}`): Promise<boolean>;
|
|
568
1081
|
/**
|
|
569
|
-
*
|
|
1082
|
+
* isModuleInstalled
|
|
570
1083
|
* view
|
|
571
1084
|
*/
|
|
572
|
-
|
|
1085
|
+
isModuleInstalled(moduleType: bigint, module: `0x${string}`, additionalContext: `0x${string}`): Promise<boolean>;
|
|
573
1086
|
/**
|
|
574
|
-
*
|
|
1087
|
+
* isValidSignature
|
|
575
1088
|
* view
|
|
576
1089
|
*/
|
|
577
|
-
|
|
1090
|
+
isValidSignature(hash: `0x${string}`, signature: `0x${string}`): Promise<`0x${string}`>;
|
|
578
1091
|
/**
|
|
579
|
-
*
|
|
580
|
-
*
|
|
1092
|
+
* onERC1155BatchReceived
|
|
1093
|
+
* pure
|
|
581
1094
|
*/
|
|
582
|
-
|
|
1095
|
+
onERC1155BatchReceived(arg0: `0x${string}`, arg1: `0x${string}`, arg2: bigint[], arg3: bigint[], arg4: `0x${string}`): Promise<`0x${string}`>;
|
|
583
1096
|
/**
|
|
584
|
-
*
|
|
585
|
-
*
|
|
1097
|
+
* onERC1155Received
|
|
1098
|
+
* pure
|
|
586
1099
|
*/
|
|
587
|
-
|
|
1100
|
+
onERC1155Received(arg0: `0x${string}`, arg1: `0x${string}`, arg2: bigint, arg3: bigint, arg4: `0x${string}`): Promise<`0x${string}`>;
|
|
588
1101
|
/**
|
|
589
|
-
*
|
|
1102
|
+
* onERC721Received
|
|
590
1103
|
* pure
|
|
591
1104
|
*/
|
|
592
|
-
|
|
1105
|
+
onERC721Received(arg0: `0x${string}`, arg1: `0x${string}`, arg2: bigint, arg3: `0x${string}`): Promise<`0x${string}`>;
|
|
1106
|
+
/**
|
|
1107
|
+
* permissionConfig
|
|
1108
|
+
* view
|
|
1109
|
+
*/
|
|
1110
|
+
permissionConfig(pId: `0x${string}`): Promise<ValidationManager_PermissionConfig>;
|
|
593
1111
|
/**
|
|
594
|
-
*
|
|
1112
|
+
* rootValidator
|
|
595
1113
|
* view
|
|
596
1114
|
*/
|
|
597
|
-
|
|
1115
|
+
rootValidator(): Promise<`0x${string}`>;
|
|
598
1116
|
/**
|
|
599
|
-
*
|
|
1117
|
+
* selectorConfig
|
|
600
1118
|
* view
|
|
601
1119
|
*/
|
|
602
|
-
|
|
1120
|
+
selectorConfig(selector: `0x${string}`): Promise<SelectorManager_SelectorConfig>;
|
|
1121
|
+
/**
|
|
1122
|
+
* supportsExecutionMode
|
|
1123
|
+
* pure
|
|
1124
|
+
*/
|
|
1125
|
+
supportsExecutionMode(mode: `0x${string}`): Promise<boolean>;
|
|
603
1126
|
/**
|
|
604
|
-
*
|
|
1127
|
+
* supportsModule
|
|
605
1128
|
* pure
|
|
606
1129
|
*/
|
|
607
|
-
|
|
1130
|
+
supportsModule(moduleTypeId: bigint): Promise<boolean>;
|
|
1131
|
+
/**
|
|
1132
|
+
* validNonceFrom
|
|
1133
|
+
* view
|
|
1134
|
+
*/
|
|
1135
|
+
validNonceFrom(): Promise<bigint>;
|
|
608
1136
|
/**
|
|
609
|
-
*
|
|
1137
|
+
* validationConfig
|
|
610
1138
|
* view
|
|
611
1139
|
*/
|
|
612
|
-
|
|
613
|
-
|
|
1140
|
+
validationConfig(vId: `0x${string}`): Promise<ValidationManager_ValidationConfig>;
|
|
1141
|
+
/**
|
|
1142
|
+
* changeRootValidator
|
|
1143
|
+
* payable
|
|
1144
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1145
|
+
*/
|
|
1146
|
+
changeRootValidator(_rootValidator: `0x${string}`, hook: `0x${string}`, validatorData: `0x${string}`, hookData: `0x${string}`, options?: {
|
|
614
1147
|
accessList?: import('viem').AccessList;
|
|
615
1148
|
authorizationList?: import('viem').AuthorizationList;
|
|
616
1149
|
chain?: import('viem').Chain | null;
|
|
@@ -622,7 +1155,12 @@ export declare class Kernel_json {
|
|
|
622
1155
|
nonce?: number;
|
|
623
1156
|
value?: bigint;
|
|
624
1157
|
}): Promise<`0x${string}`>;
|
|
625
|
-
|
|
1158
|
+
/**
|
|
1159
|
+
* execute
|
|
1160
|
+
* payable
|
|
1161
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1162
|
+
*/
|
|
1163
|
+
execute(execMode: `0x${string}`, executionCalldata: `0x${string}`, options?: {
|
|
626
1164
|
accessList?: import('viem').AccessList;
|
|
627
1165
|
authorizationList?: import('viem').AuthorizationList;
|
|
628
1166
|
chain?: import('viem').Chain | null;
|
|
@@ -635,11 +1173,11 @@ export declare class Kernel_json {
|
|
|
635
1173
|
value?: bigint;
|
|
636
1174
|
}): Promise<`0x${string}`>;
|
|
637
1175
|
/**
|
|
638
|
-
*
|
|
639
|
-
*
|
|
1176
|
+
* executeFromExecutor
|
|
1177
|
+
* payable
|
|
640
1178
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
641
1179
|
*/
|
|
642
|
-
|
|
1180
|
+
executeFromExecutor(execMode: `0x${string}`, executionCalldata: `0x${string}`, options?: {
|
|
643
1181
|
accessList?: import('viem').AccessList;
|
|
644
1182
|
authorizationList?: import('viem').AuthorizationList;
|
|
645
1183
|
chain?: import('viem').Chain | null;
|
|
@@ -652,11 +1190,11 @@ export declare class Kernel_json {
|
|
|
652
1190
|
value?: bigint;
|
|
653
1191
|
}): Promise<`0x${string}`>;
|
|
654
1192
|
/**
|
|
655
|
-
*
|
|
656
|
-
*
|
|
1193
|
+
* executeUserOp
|
|
1194
|
+
* payable
|
|
657
1195
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
658
1196
|
*/
|
|
659
|
-
|
|
1197
|
+
executeUserOp(userOp: PackedUserOperation, userOpHash: `0x${string}`, options?: {
|
|
660
1198
|
accessList?: import('viem').AccessList;
|
|
661
1199
|
authorizationList?: import('viem').AuthorizationList;
|
|
662
1200
|
chain?: import('viem').Chain | null;
|
|
@@ -668,7 +1206,12 @@ export declare class Kernel_json {
|
|
|
668
1206
|
nonce?: number;
|
|
669
1207
|
value?: bigint;
|
|
670
1208
|
}): Promise<`0x${string}`>;
|
|
671
|
-
|
|
1209
|
+
/**
|
|
1210
|
+
* initialize
|
|
1211
|
+
* nonpayable
|
|
1212
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1213
|
+
*/
|
|
1214
|
+
initialize(_rootValidator: `0x${string}`, hook: `0x${string}`, validatorData: `0x${string}`, hookData: `0x${string}`, initConfig: `0x${string}`[], options?: {
|
|
672
1215
|
accessList?: import('viem').AccessList;
|
|
673
1216
|
authorizationList?: import('viem').AuthorizationList;
|
|
674
1217
|
chain?: import('viem').Chain | null;
|
|
@@ -680,7 +1223,12 @@ export declare class Kernel_json {
|
|
|
680
1223
|
nonce?: number;
|
|
681
1224
|
value?: bigint;
|
|
682
1225
|
}): Promise<`0x${string}`>;
|
|
683
|
-
|
|
1226
|
+
/**
|
|
1227
|
+
* installModule
|
|
1228
|
+
* payable
|
|
1229
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1230
|
+
*/
|
|
1231
|
+
installModule(moduleType: bigint, module: `0x${string}`, initData: `0x${string}`, options?: {
|
|
684
1232
|
accessList?: import('viem').AccessList;
|
|
685
1233
|
authorizationList?: import('viem').AuthorizationList;
|
|
686
1234
|
chain?: import('viem').Chain | null;
|
|
@@ -693,11 +1241,11 @@ export declare class Kernel_json {
|
|
|
693
1241
|
value?: bigint;
|
|
694
1242
|
}): Promise<`0x${string}`>;
|
|
695
1243
|
/**
|
|
696
|
-
*
|
|
697
|
-
*
|
|
1244
|
+
* installValidations
|
|
1245
|
+
* payable
|
|
698
1246
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
699
1247
|
*/
|
|
700
|
-
|
|
1248
|
+
installValidations(vIds: `0x${string}`[], configs: ValidationManager_ValidationConfig[], validationData: `0x${string}`[], hookData: `0x${string}`[], options?: {
|
|
701
1249
|
accessList?: import('viem').AccessList;
|
|
702
1250
|
authorizationList?: import('viem').AuthorizationList;
|
|
703
1251
|
chain?: import('viem').Chain | null;
|
|
@@ -710,11 +1258,11 @@ export declare class Kernel_json {
|
|
|
710
1258
|
value?: bigint;
|
|
711
1259
|
}): Promise<`0x${string}`>;
|
|
712
1260
|
/**
|
|
713
|
-
*
|
|
714
|
-
*
|
|
1261
|
+
* invalidateNonce
|
|
1262
|
+
* payable
|
|
715
1263
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
716
1264
|
*/
|
|
717
|
-
|
|
1265
|
+
invalidateNonce(nonce: bigint, options?: {
|
|
718
1266
|
accessList?: import('viem').AccessList;
|
|
719
1267
|
authorizationList?: import('viem').AuthorizationList;
|
|
720
1268
|
chain?: import('viem').Chain | null;
|
|
@@ -726,7 +1274,12 @@ export declare class Kernel_json {
|
|
|
726
1274
|
nonce?: number;
|
|
727
1275
|
value?: bigint;
|
|
728
1276
|
}): Promise<`0x${string}`>;
|
|
729
|
-
|
|
1277
|
+
/**
|
|
1278
|
+
* uninstallModule
|
|
1279
|
+
* payable
|
|
1280
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1281
|
+
*/
|
|
1282
|
+
uninstallModule(moduleType: bigint, module: `0x${string}`, deInitData: `0x${string}`, options?: {
|
|
730
1283
|
accessList?: import('viem').AccessList;
|
|
731
1284
|
authorizationList?: import('viem').AuthorizationList;
|
|
732
1285
|
chain?: import('viem').Chain | null;
|
|
@@ -738,7 +1291,12 @@ export declare class Kernel_json {
|
|
|
738
1291
|
nonce?: number;
|
|
739
1292
|
value?: bigint;
|
|
740
1293
|
}): Promise<`0x${string}`>;
|
|
741
|
-
|
|
1294
|
+
/**
|
|
1295
|
+
* uninstallValidation
|
|
1296
|
+
* payable
|
|
1297
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1298
|
+
*/
|
|
1299
|
+
uninstallValidation(vId: `0x${string}`, deinitData: `0x${string}`, hookDeinitData: `0x${string}`, options?: {
|
|
742
1300
|
accessList?: import('viem').AccessList;
|
|
743
1301
|
authorizationList?: import('viem').AuthorizationList;
|
|
744
1302
|
chain?: import('viem').Chain | null;
|
|
@@ -750,7 +1308,12 @@ export declare class Kernel_json {
|
|
|
750
1308
|
nonce?: number;
|
|
751
1309
|
value?: bigint;
|
|
752
1310
|
}): Promise<`0x${string}`>;
|
|
753
|
-
|
|
1311
|
+
/**
|
|
1312
|
+
* upgradeTo
|
|
1313
|
+
* payable
|
|
1314
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1315
|
+
*/
|
|
1316
|
+
upgradeTo(_newImplementation: `0x${string}`, options?: {
|
|
754
1317
|
accessList?: import('viem').AccessList;
|
|
755
1318
|
authorizationList?: import('viem').AuthorizationList;
|
|
756
1319
|
chain?: import('viem').Chain | null;
|
|
@@ -762,7 +1325,12 @@ export declare class Kernel_json {
|
|
|
762
1325
|
nonce?: number;
|
|
763
1326
|
value?: bigint;
|
|
764
1327
|
}): Promise<`0x${string}`>;
|
|
765
|
-
|
|
1328
|
+
/**
|
|
1329
|
+
* validateUserOp
|
|
1330
|
+
* payable
|
|
1331
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1332
|
+
*/
|
|
1333
|
+
validateUserOp(userOp: PackedUserOperation, userOpHash: `0x${string}`, missingAccountFunds: bigint, options?: {
|
|
766
1334
|
accessList?: import('viem').AccessList;
|
|
767
1335
|
authorizationList?: import('viem').AuthorizationList;
|
|
768
1336
|
chain?: import('viem').Chain | null;
|
|
@@ -784,18 +1352,96 @@ export declare class Kernel_json {
|
|
|
784
1352
|
*/
|
|
785
1353
|
get simulate(): {
|
|
786
1354
|
/**
|
|
787
|
-
* Simulate
|
|
1355
|
+
* Simulate changeRootValidator
|
|
1356
|
+
* Returns gas estimate and result without sending transaction
|
|
1357
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1358
|
+
*/
|
|
1359
|
+
changeRootValidator(_rootValidator: `0x${string}`, hook: `0x${string}`, validatorData: `0x${string}`, hookData: `0x${string}`, options?: {
|
|
1360
|
+
accessList?: import("viem").AccessList;
|
|
1361
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1362
|
+
chain?: import("viem").Chain | null;
|
|
1363
|
+
dataSuffix?: `0x${string}`;
|
|
1364
|
+
gas?: bigint;
|
|
1365
|
+
gasPrice?: bigint;
|
|
1366
|
+
maxFeePerGas?: bigint;
|
|
1367
|
+
maxPriorityFeePerGas?: bigint;
|
|
1368
|
+
nonce?: number;
|
|
1369
|
+
value?: bigint;
|
|
1370
|
+
}): Promise<void>;
|
|
1371
|
+
/**
|
|
1372
|
+
* Simulate execute
|
|
1373
|
+
* Returns gas estimate and result without sending transaction
|
|
1374
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1375
|
+
*/
|
|
1376
|
+
execute(execMode: `0x${string}`, executionCalldata: `0x${string}`, options?: {
|
|
1377
|
+
accessList?: import("viem").AccessList;
|
|
1378
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1379
|
+
chain?: import("viem").Chain | null;
|
|
1380
|
+
dataSuffix?: `0x${string}`;
|
|
1381
|
+
gas?: bigint;
|
|
1382
|
+
gasPrice?: bigint;
|
|
1383
|
+
maxFeePerGas?: bigint;
|
|
1384
|
+
maxPriorityFeePerGas?: bigint;
|
|
1385
|
+
nonce?: number;
|
|
1386
|
+
value?: bigint;
|
|
1387
|
+
}): Promise<void>;
|
|
1388
|
+
/**
|
|
1389
|
+
* Simulate executeFromExecutor
|
|
1390
|
+
* Returns gas estimate and result without sending transaction
|
|
1391
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1392
|
+
*/
|
|
1393
|
+
executeFromExecutor(execMode: `0x${string}`, executionCalldata: `0x${string}`, options?: {
|
|
1394
|
+
accessList?: import("viem").AccessList;
|
|
1395
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1396
|
+
chain?: import("viem").Chain | null;
|
|
1397
|
+
dataSuffix?: `0x${string}`;
|
|
1398
|
+
gas?: bigint;
|
|
1399
|
+
gasPrice?: bigint;
|
|
1400
|
+
maxFeePerGas?: bigint;
|
|
1401
|
+
maxPriorityFeePerGas?: bigint;
|
|
1402
|
+
nonce?: number;
|
|
1403
|
+
value?: bigint;
|
|
1404
|
+
}): Promise<`0x${string}`[]>;
|
|
1405
|
+
/**
|
|
1406
|
+
* Simulate executeUserOp
|
|
788
1407
|
* Returns gas estimate and result without sending transaction
|
|
789
|
-
* Supports multiple overloads: (bytes32, address, bytes, bool), (bytes32, address)
|
|
790
1408
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
791
1409
|
*/
|
|
792
|
-
|
|
1410
|
+
executeUserOp(userOp: PackedUserOperation, userOpHash: `0x${string}`, options?: {
|
|
1411
|
+
accessList?: import("viem").AccessList;
|
|
1412
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1413
|
+
chain?: import("viem").Chain | null;
|
|
1414
|
+
dataSuffix?: `0x${string}`;
|
|
1415
|
+
gas?: bigint;
|
|
1416
|
+
gasPrice?: bigint;
|
|
1417
|
+
maxFeePerGas?: bigint;
|
|
1418
|
+
maxPriorityFeePerGas?: bigint;
|
|
1419
|
+
nonce?: number;
|
|
1420
|
+
value?: bigint;
|
|
1421
|
+
}): Promise<void>;
|
|
793
1422
|
/**
|
|
794
1423
|
* Simulate initialize
|
|
795
1424
|
* Returns gas estimate and result without sending transaction
|
|
796
1425
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
797
1426
|
*/
|
|
798
|
-
initialize(
|
|
1427
|
+
initialize(_rootValidator: `0x${string}`, hook: `0x${string}`, validatorData: `0x${string}`, hookData: `0x${string}`, initConfig: `0x${string}`[], options?: {
|
|
1428
|
+
accessList?: import("viem").AccessList;
|
|
1429
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1430
|
+
chain?: import("viem").Chain | null;
|
|
1431
|
+
dataSuffix?: `0x${string}`;
|
|
1432
|
+
gas?: bigint;
|
|
1433
|
+
gasPrice?: bigint;
|
|
1434
|
+
maxFeePerGas?: bigint;
|
|
1435
|
+
maxPriorityFeePerGas?: bigint;
|
|
1436
|
+
nonce?: number;
|
|
1437
|
+
value?: bigint;
|
|
1438
|
+
}): Promise<void>;
|
|
1439
|
+
/**
|
|
1440
|
+
* Simulate installModule
|
|
1441
|
+
* Returns gas estimate and result without sending transaction
|
|
1442
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1443
|
+
*/
|
|
1444
|
+
installModule(moduleType: bigint, module: `0x${string}`, initData: `0x${string}`, options?: {
|
|
799
1445
|
accessList?: import("viem").AccessList;
|
|
800
1446
|
authorizationList?: import("viem").AuthorizationList;
|
|
801
1447
|
chain?: import("viem").Chain | null;
|
|
@@ -808,11 +1454,11 @@ export declare class Kernel_json {
|
|
|
808
1454
|
value?: bigint;
|
|
809
1455
|
}): Promise<void>;
|
|
810
1456
|
/**
|
|
811
|
-
* Simulate
|
|
1457
|
+
* Simulate installValidations
|
|
812
1458
|
* Returns gas estimate and result without sending transaction
|
|
813
1459
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
814
1460
|
*/
|
|
815
|
-
|
|
1461
|
+
installValidations(vIds: `0x${string}`[], configs: ValidationManager_ValidationConfig[], validationData: `0x${string}`[], hookData: `0x${string}`[], options?: {
|
|
816
1462
|
accessList?: import("viem").AccessList;
|
|
817
1463
|
authorizationList?: import("viem").AuthorizationList;
|
|
818
1464
|
chain?: import("viem").Chain | null;
|
|
@@ -825,18 +1471,28 @@ export declare class Kernel_json {
|
|
|
825
1471
|
value?: bigint;
|
|
826
1472
|
}): Promise<void>;
|
|
827
1473
|
/**
|
|
828
|
-
* Simulate
|
|
1474
|
+
* Simulate invalidateNonce
|
|
829
1475
|
* Returns gas estimate and result without sending transaction
|
|
830
|
-
* Supports multiple overloads: (bytes32, address), (bytes32, address, bytes, bool)
|
|
831
1476
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
832
1477
|
*/
|
|
833
|
-
|
|
1478
|
+
invalidateNonce(nonce: bigint, options?: {
|
|
1479
|
+
accessList?: import("viem").AccessList;
|
|
1480
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1481
|
+
chain?: import("viem").Chain | null;
|
|
1482
|
+
dataSuffix?: `0x${string}`;
|
|
1483
|
+
gas?: bigint;
|
|
1484
|
+
gasPrice?: bigint;
|
|
1485
|
+
maxFeePerGas?: bigint;
|
|
1486
|
+
maxPriorityFeePerGas?: bigint;
|
|
1487
|
+
nonce?: number;
|
|
1488
|
+
value?: bigint;
|
|
1489
|
+
}): Promise<void>;
|
|
834
1490
|
/**
|
|
835
|
-
* Simulate
|
|
1491
|
+
* Simulate uninstallModule
|
|
836
1492
|
* Returns gas estimate and result without sending transaction
|
|
837
1493
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
838
1494
|
*/
|
|
839
|
-
|
|
1495
|
+
uninstallModule(moduleType: bigint, module: `0x${string}`, deInitData: `0x${string}`, options?: {
|
|
840
1496
|
accessList?: import("viem").AccessList;
|
|
841
1497
|
authorizationList?: import("viem").AuthorizationList;
|
|
842
1498
|
chain?: import("viem").Chain | null;
|
|
@@ -849,11 +1505,11 @@ export declare class Kernel_json {
|
|
|
849
1505
|
value?: bigint;
|
|
850
1506
|
}): Promise<void>;
|
|
851
1507
|
/**
|
|
852
|
-
* Simulate
|
|
1508
|
+
* Simulate uninstallValidation
|
|
853
1509
|
* Returns gas estimate and result without sending transaction
|
|
854
1510
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
855
1511
|
*/
|
|
856
|
-
|
|
1512
|
+
uninstallValidation(vId: `0x${string}`, deinitData: `0x${string}`, hookDeinitData: `0x${string}`, options?: {
|
|
857
1513
|
accessList?: import("viem").AccessList;
|
|
858
1514
|
authorizationList?: import("viem").AuthorizationList;
|
|
859
1515
|
chain?: import("viem").Chain | null;
|
|
@@ -866,19 +1522,39 @@ export declare class Kernel_json {
|
|
|
866
1522
|
value?: bigint;
|
|
867
1523
|
}): Promise<void>;
|
|
868
1524
|
/**
|
|
869
|
-
* Simulate
|
|
1525
|
+
* Simulate upgradeTo
|
|
870
1526
|
* Returns gas estimate and result without sending transaction
|
|
871
|
-
* Supports multiple overloads: (address, bytes32, bytes), (address, bytes32)
|
|
872
1527
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
873
1528
|
*/
|
|
874
|
-
|
|
1529
|
+
upgradeTo(_newImplementation: `0x${string}`, options?: {
|
|
1530
|
+
accessList?: import("viem").AccessList;
|
|
1531
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1532
|
+
chain?: import("viem").Chain | null;
|
|
1533
|
+
dataSuffix?: `0x${string}`;
|
|
1534
|
+
gas?: bigint;
|
|
1535
|
+
gasPrice?: bigint;
|
|
1536
|
+
maxFeePerGas?: bigint;
|
|
1537
|
+
maxPriorityFeePerGas?: bigint;
|
|
1538
|
+
nonce?: number;
|
|
1539
|
+
value?: bigint;
|
|
1540
|
+
}): Promise<void>;
|
|
875
1541
|
/**
|
|
876
|
-
* Simulate
|
|
1542
|
+
* Simulate validateUserOp
|
|
877
1543
|
* Returns gas estimate and result without sending transaction
|
|
878
|
-
* Supports multiple overloads: (address, bytes32), (address, bytes32, bytes)
|
|
879
1544
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
880
1545
|
*/
|
|
881
|
-
|
|
1546
|
+
validateUserOp(userOp: PackedUserOperation, userOpHash: `0x${string}`, missingAccountFunds: bigint, options?: {
|
|
1547
|
+
accessList?: import("viem").AccessList;
|
|
1548
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1549
|
+
chain?: import("viem").Chain | null;
|
|
1550
|
+
dataSuffix?: `0x${string}`;
|
|
1551
|
+
gas?: bigint;
|
|
1552
|
+
gasPrice?: bigint;
|
|
1553
|
+
maxFeePerGas?: bigint;
|
|
1554
|
+
maxPriorityFeePerGas?: bigint;
|
|
1555
|
+
nonce?: number;
|
|
1556
|
+
value?: bigint;
|
|
1557
|
+
}): Promise<bigint>;
|
|
882
1558
|
};
|
|
883
1559
|
/**
|
|
884
1560
|
* Watch contract events
|
|
@@ -894,43 +1570,132 @@ export declare class Kernel_json {
|
|
|
894
1570
|
*/
|
|
895
1571
|
get watch(): {
|
|
896
1572
|
/**
|
|
897
|
-
* Watch
|
|
1573
|
+
* Watch ModuleInstalled events
|
|
1574
|
+
* @param callback Function to call when event is emitted
|
|
1575
|
+
* @param filter Optional filter for indexed parameters
|
|
1576
|
+
* @returns Unwatch function to stop listening
|
|
1577
|
+
*/
|
|
1578
|
+
ModuleInstalled: (callback: (event: {
|
|
1579
|
+
moduleTypeId: bigint;
|
|
1580
|
+
module: `0x${string}`;
|
|
1581
|
+
}) => void) => () => void;
|
|
1582
|
+
/**
|
|
1583
|
+
* Watch ModuleUninstallResult events
|
|
1584
|
+
* @param callback Function to call when event is emitted
|
|
1585
|
+
* @param filter Optional filter for indexed parameters
|
|
1586
|
+
* @returns Unwatch function to stop listening
|
|
1587
|
+
*/
|
|
1588
|
+
ModuleUninstallResult: (callback: (event: {
|
|
1589
|
+
module: `0x${string}`;
|
|
1590
|
+
result: boolean;
|
|
1591
|
+
}) => void) => () => void;
|
|
1592
|
+
/**
|
|
1593
|
+
* Watch ModuleUninstalled events
|
|
1594
|
+
* @param callback Function to call when event is emitted
|
|
1595
|
+
* @param filter Optional filter for indexed parameters
|
|
1596
|
+
* @returns Unwatch function to stop listening
|
|
1597
|
+
*/
|
|
1598
|
+
ModuleUninstalled: (callback: (event: {
|
|
1599
|
+
moduleTypeId: bigint;
|
|
1600
|
+
module: `0x${string}`;
|
|
1601
|
+
}) => void) => () => void;
|
|
1602
|
+
/**
|
|
1603
|
+
* Watch NonceInvalidated events
|
|
1604
|
+
* @param callback Function to call when event is emitted
|
|
1605
|
+
* @param filter Optional filter for indexed parameters
|
|
1606
|
+
* @returns Unwatch function to stop listening
|
|
1607
|
+
*/
|
|
1608
|
+
NonceInvalidated: (callback: (event: {
|
|
1609
|
+
nonce: bigint;
|
|
1610
|
+
}) => void) => () => void;
|
|
1611
|
+
/**
|
|
1612
|
+
* Watch PermissionInstalled events
|
|
1613
|
+
* @param callback Function to call when event is emitted
|
|
1614
|
+
* @param filter Optional filter for indexed parameters
|
|
1615
|
+
* @returns Unwatch function to stop listening
|
|
1616
|
+
*/
|
|
1617
|
+
PermissionInstalled: (callback: (event: {
|
|
1618
|
+
permission: `0x${string}`;
|
|
1619
|
+
nonce: bigint;
|
|
1620
|
+
}) => void) => () => void;
|
|
1621
|
+
/**
|
|
1622
|
+
* Watch PermissionUninstalled events
|
|
898
1623
|
* @param callback Function to call when event is emitted
|
|
899
1624
|
* @param filter Optional filter for indexed parameters
|
|
900
1625
|
* @returns Unwatch function to stop listening
|
|
901
1626
|
*/
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
isUpgradeable: boolean;
|
|
905
|
-
appId: `0x${string}`;
|
|
1627
|
+
PermissionUninstalled: (callback: (event: {
|
|
1628
|
+
permission: `0x${string}`;
|
|
906
1629
|
}) => void) => () => void;
|
|
907
1630
|
/**
|
|
908
|
-
* Watch
|
|
1631
|
+
* Watch Received events
|
|
909
1632
|
* @param callback Function to call when event is emitted
|
|
910
1633
|
* @param filter Optional filter for indexed parameters
|
|
911
1634
|
* @returns Unwatch function to stop listening
|
|
912
1635
|
*/
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
token: `0x${string}`;
|
|
1636
|
+
Received: (callback: (event: {
|
|
1637
|
+
sender: `0x${string}`;
|
|
916
1638
|
amount: bigint;
|
|
917
|
-
}) => void
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
1639
|
+
}) => void) => () => void;
|
|
1640
|
+
/**
|
|
1641
|
+
* Watch RootValidatorUpdated events
|
|
1642
|
+
* @param callback Function to call when event is emitted
|
|
1643
|
+
* @param filter Optional filter for indexed parameters
|
|
1644
|
+
* @returns Unwatch function to stop listening
|
|
1645
|
+
*/
|
|
1646
|
+
RootValidatorUpdated: (callback: (event: {
|
|
1647
|
+
rootValidator: `0x${string}`;
|
|
1648
|
+
}) => void) => () => void;
|
|
1649
|
+
/**
|
|
1650
|
+
* Watch SelectorSet events
|
|
1651
|
+
* @param callback Function to call when event is emitted
|
|
1652
|
+
* @param filter Optional filter for indexed parameters
|
|
1653
|
+
* @returns Unwatch function to stop listening
|
|
1654
|
+
*/
|
|
1655
|
+
SelectorSet: (callback: (event: {
|
|
1656
|
+
selector: `0x${string}`;
|
|
1657
|
+
vId: `0x${string}`;
|
|
1658
|
+
allowed: boolean;
|
|
1659
|
+
}) => void) => () => void;
|
|
1660
|
+
/**
|
|
1661
|
+
* Watch TryExecuteUnsuccessful events
|
|
1662
|
+
* @param callback Function to call when event is emitted
|
|
1663
|
+
* @param filter Optional filter for indexed parameters
|
|
1664
|
+
* @returns Unwatch function to stop listening
|
|
1665
|
+
*/
|
|
1666
|
+
TryExecuteUnsuccessful: (callback: (event: {
|
|
1667
|
+
batchExecutionindex: bigint;
|
|
1668
|
+
result: `0x${string}`;
|
|
1669
|
+
}) => void) => () => void;
|
|
921
1670
|
/**
|
|
922
|
-
* Watch
|
|
1671
|
+
* Watch Upgraded events
|
|
923
1672
|
* @param callback Function to call when event is emitted
|
|
924
1673
|
* @param filter Optional filter for indexed parameters
|
|
925
1674
|
* @returns Unwatch function to stop listening
|
|
926
1675
|
*/
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
appId: `0x${string}`;
|
|
930
|
-
app: `0x${string}`;
|
|
1676
|
+
Upgraded: (callback: (event: {
|
|
1677
|
+
implementation: `0x${string}`;
|
|
931
1678
|
}) => void, filter?: {
|
|
932
|
-
|
|
933
|
-
appId: `0x${string}`;
|
|
1679
|
+
implementation: `0x${string}`;
|
|
934
1680
|
}) => () => void;
|
|
1681
|
+
/**
|
|
1682
|
+
* Watch ValidatorInstalled events
|
|
1683
|
+
* @param callback Function to call when event is emitted
|
|
1684
|
+
* @param filter Optional filter for indexed parameters
|
|
1685
|
+
* @returns Unwatch function to stop listening
|
|
1686
|
+
*/
|
|
1687
|
+
ValidatorInstalled: (callback: (event: {
|
|
1688
|
+
validator: `0x${string}`;
|
|
1689
|
+
nonce: bigint;
|
|
1690
|
+
}) => void) => () => void;
|
|
1691
|
+
/**
|
|
1692
|
+
* Watch ValidatorUninstalled events
|
|
1693
|
+
* @param callback Function to call when event is emitted
|
|
1694
|
+
* @param filter Optional filter for indexed parameters
|
|
1695
|
+
* @returns Unwatch function to stop listening
|
|
1696
|
+
*/
|
|
1697
|
+
ValidatorUninstalled: (callback: (event: {
|
|
1698
|
+
validator: `0x${string}`;
|
|
1699
|
+
}) => void) => () => void;
|
|
935
1700
|
};
|
|
936
1701
|
}
|