@gitmyabi/kernel 1.0.3 → 1.0.5
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 +990 -394
- package/contracts/Kernel_json.js +1111 -417
- package/contracts/Kernel_json.ts +1260 -447
- 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,876 @@
|
|
|
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
|
-
readonly name: "";
|
|
24
|
-
readonly type: "bytes32";
|
|
25
|
-
}];
|
|
26
|
-
readonly payable: false;
|
|
27
|
-
readonly stateMutability: "pure";
|
|
28
|
-
readonly type: "function";
|
|
60
|
+
readonly name: "EnableNotApproved";
|
|
61
|
+
readonly type: "error";
|
|
29
62
|
}, {
|
|
30
|
-
readonly constant: true;
|
|
31
63
|
readonly inputs: readonly [];
|
|
32
|
-
readonly name: "
|
|
33
|
-
readonly
|
|
34
|
-
|
|
35
|
-
|
|
64
|
+
readonly name: "ExecutionReverted";
|
|
65
|
+
readonly type: "error";
|
|
66
|
+
}, {
|
|
67
|
+
readonly inputs: readonly [];
|
|
68
|
+
readonly name: "InvalidCallType";
|
|
69
|
+
readonly type: "error";
|
|
70
|
+
}, {
|
|
71
|
+
readonly inputs: readonly [];
|
|
72
|
+
readonly name: "InvalidCaller";
|
|
73
|
+
readonly type: "error";
|
|
74
|
+
}, {
|
|
75
|
+
readonly inputs: readonly [];
|
|
76
|
+
readonly name: "InvalidExecutor";
|
|
77
|
+
readonly type: "error";
|
|
78
|
+
}, {
|
|
79
|
+
readonly inputs: readonly [];
|
|
80
|
+
readonly name: "InvalidFallback";
|
|
81
|
+
readonly type: "error";
|
|
82
|
+
}, {
|
|
83
|
+
readonly inputs: readonly [];
|
|
84
|
+
readonly name: "InvalidMode";
|
|
85
|
+
readonly type: "error";
|
|
86
|
+
}, {
|
|
87
|
+
readonly inputs: readonly [];
|
|
88
|
+
readonly name: "InvalidModuleType";
|
|
89
|
+
readonly type: "error";
|
|
90
|
+
}, {
|
|
91
|
+
readonly inputs: readonly [];
|
|
92
|
+
readonly name: "InvalidNonce";
|
|
93
|
+
readonly type: "error";
|
|
94
|
+
}, {
|
|
95
|
+
readonly inputs: readonly [];
|
|
96
|
+
readonly name: "InvalidSelector";
|
|
97
|
+
readonly type: "error";
|
|
98
|
+
}, {
|
|
99
|
+
readonly inputs: readonly [];
|
|
100
|
+
readonly name: "InvalidSignature";
|
|
101
|
+
readonly type: "error";
|
|
102
|
+
}, {
|
|
103
|
+
readonly inputs: readonly [];
|
|
104
|
+
readonly name: "InvalidValidationType";
|
|
105
|
+
readonly type: "error";
|
|
106
|
+
}, {
|
|
107
|
+
readonly inputs: readonly [];
|
|
108
|
+
readonly name: "InvalidValidator";
|
|
109
|
+
readonly type: "error";
|
|
110
|
+
}, {
|
|
111
|
+
readonly inputs: readonly [];
|
|
112
|
+
readonly name: "NonceInvalidationError";
|
|
113
|
+
readonly type: "error";
|
|
114
|
+
}, {
|
|
115
|
+
readonly inputs: readonly [];
|
|
116
|
+
readonly name: "NotSupportedCallType";
|
|
117
|
+
readonly type: "error";
|
|
118
|
+
}, {
|
|
119
|
+
readonly inputs: readonly [];
|
|
120
|
+
readonly name: "OnlyExecuteUserOp";
|
|
121
|
+
readonly type: "error";
|
|
122
|
+
}, {
|
|
123
|
+
readonly inputs: readonly [];
|
|
124
|
+
readonly name: "PermissionDataLengthMismatch";
|
|
125
|
+
readonly type: "error";
|
|
126
|
+
}, {
|
|
127
|
+
readonly inputs: readonly [];
|
|
128
|
+
readonly name: "PermissionNotAlllowedForSignature";
|
|
129
|
+
readonly type: "error";
|
|
130
|
+
}, {
|
|
131
|
+
readonly inputs: readonly [];
|
|
132
|
+
readonly name: "PermissionNotAlllowedForUserOp";
|
|
133
|
+
readonly type: "error";
|
|
134
|
+
}, {
|
|
135
|
+
readonly inputs: readonly [];
|
|
136
|
+
readonly name: "PolicyDataTooLarge";
|
|
137
|
+
readonly type: "error";
|
|
138
|
+
}, {
|
|
139
|
+
readonly inputs: readonly [{
|
|
140
|
+
readonly internalType: "uint256";
|
|
141
|
+
readonly name: "i";
|
|
142
|
+
readonly type: "uint256";
|
|
36
143
|
}];
|
|
37
|
-
readonly
|
|
38
|
-
readonly
|
|
39
|
-
readonly type: "function";
|
|
144
|
+
readonly name: "PolicyFailed";
|
|
145
|
+
readonly type: "error";
|
|
40
146
|
}, {
|
|
41
|
-
readonly constant: true;
|
|
42
147
|
readonly inputs: readonly [];
|
|
43
|
-
readonly name: "
|
|
44
|
-
readonly
|
|
45
|
-
|
|
148
|
+
readonly name: "PolicySignatureOrderError";
|
|
149
|
+
readonly type: "error";
|
|
150
|
+
}, {
|
|
151
|
+
readonly inputs: readonly [];
|
|
152
|
+
readonly name: "RootValidatorCannotBeRemoved";
|
|
153
|
+
readonly type: "error";
|
|
154
|
+
}, {
|
|
155
|
+
readonly inputs: readonly [];
|
|
156
|
+
readonly name: "SignerPrefixNotPresent";
|
|
157
|
+
readonly type: "error";
|
|
158
|
+
}, {
|
|
159
|
+
readonly anonymous: false;
|
|
160
|
+
readonly inputs: readonly [{
|
|
161
|
+
readonly indexed: false;
|
|
162
|
+
readonly internalType: "uint256";
|
|
163
|
+
readonly name: "moduleTypeId";
|
|
164
|
+
readonly type: "uint256";
|
|
165
|
+
}, {
|
|
166
|
+
readonly indexed: false;
|
|
167
|
+
readonly internalType: "address";
|
|
168
|
+
readonly name: "module";
|
|
46
169
|
readonly type: "address";
|
|
47
170
|
}];
|
|
48
|
-
readonly
|
|
49
|
-
readonly
|
|
50
|
-
readonly type: "function";
|
|
171
|
+
readonly name: "ModuleInstalled";
|
|
172
|
+
readonly type: "event";
|
|
51
173
|
}, {
|
|
52
|
-
readonly
|
|
174
|
+
readonly anonymous: false;
|
|
53
175
|
readonly inputs: readonly [{
|
|
54
|
-
readonly
|
|
55
|
-
readonly
|
|
56
|
-
|
|
57
|
-
readonly name: "_appBase";
|
|
176
|
+
readonly indexed: false;
|
|
177
|
+
readonly internalType: "address";
|
|
178
|
+
readonly name: "module";
|
|
58
179
|
readonly type: "address";
|
|
59
180
|
}, {
|
|
60
|
-
readonly
|
|
61
|
-
readonly
|
|
62
|
-
|
|
63
|
-
readonly name: "_setDefault";
|
|
181
|
+
readonly indexed: false;
|
|
182
|
+
readonly internalType: "bool";
|
|
183
|
+
readonly name: "result";
|
|
64
184
|
readonly type: "bool";
|
|
65
185
|
}];
|
|
66
|
-
readonly name: "
|
|
67
|
-
readonly
|
|
68
|
-
|
|
186
|
+
readonly name: "ModuleUninstallResult";
|
|
187
|
+
readonly type: "event";
|
|
188
|
+
}, {
|
|
189
|
+
readonly anonymous: false;
|
|
190
|
+
readonly inputs: readonly [{
|
|
191
|
+
readonly indexed: false;
|
|
192
|
+
readonly internalType: "uint256";
|
|
193
|
+
readonly name: "moduleTypeId";
|
|
194
|
+
readonly type: "uint256";
|
|
195
|
+
}, {
|
|
196
|
+
readonly indexed: false;
|
|
197
|
+
readonly internalType: "address";
|
|
198
|
+
readonly name: "module";
|
|
69
199
|
readonly type: "address";
|
|
70
200
|
}];
|
|
71
|
-
readonly
|
|
72
|
-
readonly
|
|
73
|
-
readonly type: "function";
|
|
201
|
+
readonly name: "ModuleUninstalled";
|
|
202
|
+
readonly type: "event";
|
|
74
203
|
}, {
|
|
75
|
-
readonly
|
|
204
|
+
readonly anonymous: false;
|
|
76
205
|
readonly inputs: readonly [{
|
|
77
|
-
readonly
|
|
78
|
-
readonly
|
|
206
|
+
readonly indexed: false;
|
|
207
|
+
readonly internalType: "uint32";
|
|
208
|
+
readonly name: "nonce";
|
|
209
|
+
readonly type: "uint32";
|
|
210
|
+
}];
|
|
211
|
+
readonly name: "NonceInvalidated";
|
|
212
|
+
readonly type: "event";
|
|
213
|
+
}, {
|
|
214
|
+
readonly anonymous: false;
|
|
215
|
+
readonly inputs: readonly [{
|
|
216
|
+
readonly indexed: false;
|
|
217
|
+
readonly internalType: "PermissionId";
|
|
218
|
+
readonly name: "permission";
|
|
219
|
+
readonly type: "bytes4";
|
|
79
220
|
}, {
|
|
80
|
-
readonly
|
|
81
|
-
readonly
|
|
221
|
+
readonly indexed: false;
|
|
222
|
+
readonly internalType: "uint32";
|
|
223
|
+
readonly name: "nonce";
|
|
224
|
+
readonly type: "uint32";
|
|
82
225
|
}];
|
|
83
|
-
readonly name: "
|
|
84
|
-
readonly
|
|
85
|
-
|
|
86
|
-
|
|
226
|
+
readonly name: "PermissionInstalled";
|
|
227
|
+
readonly type: "event";
|
|
228
|
+
}, {
|
|
229
|
+
readonly anonymous: false;
|
|
230
|
+
readonly inputs: readonly [{
|
|
231
|
+
readonly indexed: false;
|
|
232
|
+
readonly internalType: "PermissionId";
|
|
233
|
+
readonly name: "permission";
|
|
234
|
+
readonly type: "bytes4";
|
|
87
235
|
}];
|
|
88
|
-
readonly
|
|
89
|
-
readonly
|
|
90
|
-
readonly type: "function";
|
|
236
|
+
readonly name: "PermissionUninstalled";
|
|
237
|
+
readonly type: "event";
|
|
91
238
|
}, {
|
|
92
|
-
readonly
|
|
239
|
+
readonly anonymous: false;
|
|
93
240
|
readonly inputs: readonly [{
|
|
94
|
-
readonly
|
|
241
|
+
readonly indexed: false;
|
|
242
|
+
readonly internalType: "address";
|
|
243
|
+
readonly name: "sender";
|
|
95
244
|
readonly type: "address";
|
|
96
245
|
}, {
|
|
97
|
-
readonly
|
|
98
|
-
readonly
|
|
246
|
+
readonly indexed: false;
|
|
247
|
+
readonly internalType: "uint256";
|
|
248
|
+
readonly name: "amount";
|
|
249
|
+
readonly type: "uint256";
|
|
99
250
|
}];
|
|
100
|
-
readonly name: "
|
|
101
|
-
readonly
|
|
102
|
-
readonly payable: false;
|
|
103
|
-
readonly stateMutability: "nonpayable";
|
|
104
|
-
readonly type: "function";
|
|
251
|
+
readonly name: "Received";
|
|
252
|
+
readonly type: "event";
|
|
105
253
|
}, {
|
|
106
|
-
readonly
|
|
107
|
-
readonly inputs: readonly [
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
readonly name: "";
|
|
111
|
-
readonly type: "
|
|
254
|
+
readonly anonymous: false;
|
|
255
|
+
readonly inputs: readonly [{
|
|
256
|
+
readonly indexed: false;
|
|
257
|
+
readonly internalType: "ValidationId";
|
|
258
|
+
readonly name: "rootValidator";
|
|
259
|
+
readonly type: "bytes21";
|
|
112
260
|
}];
|
|
113
|
-
readonly
|
|
114
|
-
readonly
|
|
115
|
-
readonly type: "function";
|
|
261
|
+
readonly name: "RootValidatorUpdated";
|
|
262
|
+
readonly type: "event";
|
|
116
263
|
}, {
|
|
117
|
-
readonly
|
|
264
|
+
readonly anonymous: false;
|
|
118
265
|
readonly inputs: readonly [{
|
|
119
|
-
readonly
|
|
120
|
-
readonly
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
readonly
|
|
266
|
+
readonly indexed: false;
|
|
267
|
+
readonly internalType: "bytes4";
|
|
268
|
+
readonly name: "selector";
|
|
269
|
+
readonly type: "bytes4";
|
|
270
|
+
}, {
|
|
271
|
+
readonly indexed: false;
|
|
272
|
+
readonly internalType: "ValidationId";
|
|
273
|
+
readonly name: "vId";
|
|
274
|
+
readonly type: "bytes21";
|
|
275
|
+
}, {
|
|
276
|
+
readonly indexed: false;
|
|
277
|
+
readonly internalType: "bool";
|
|
278
|
+
readonly name: "allowed";
|
|
125
279
|
readonly type: "bool";
|
|
126
280
|
}];
|
|
127
|
-
readonly
|
|
128
|
-
readonly
|
|
129
|
-
readonly type: "function";
|
|
281
|
+
readonly name: "SelectorSet";
|
|
282
|
+
readonly type: "event";
|
|
130
283
|
}, {
|
|
131
|
-
readonly
|
|
284
|
+
readonly anonymous: false;
|
|
132
285
|
readonly inputs: readonly [{
|
|
133
|
-
readonly
|
|
134
|
-
readonly
|
|
286
|
+
readonly indexed: false;
|
|
287
|
+
readonly internalType: "uint256";
|
|
288
|
+
readonly name: "batchExecutionindex";
|
|
289
|
+
readonly type: "uint256";
|
|
135
290
|
}, {
|
|
136
|
-
readonly
|
|
291
|
+
readonly indexed: false;
|
|
292
|
+
readonly internalType: "bytes";
|
|
293
|
+
readonly name: "result";
|
|
294
|
+
readonly type: "bytes";
|
|
295
|
+
}];
|
|
296
|
+
readonly name: "TryExecuteUnsuccessful";
|
|
297
|
+
readonly type: "event";
|
|
298
|
+
}, {
|
|
299
|
+
readonly anonymous: false;
|
|
300
|
+
readonly inputs: readonly [{
|
|
301
|
+
readonly indexed: true;
|
|
302
|
+
readonly internalType: "address";
|
|
303
|
+
readonly name: "implementation";
|
|
137
304
|
readonly type: "address";
|
|
138
305
|
}];
|
|
139
|
-
readonly name: "
|
|
140
|
-
readonly
|
|
141
|
-
|
|
306
|
+
readonly name: "Upgraded";
|
|
307
|
+
readonly type: "event";
|
|
308
|
+
}, {
|
|
309
|
+
readonly anonymous: false;
|
|
310
|
+
readonly inputs: readonly [{
|
|
311
|
+
readonly indexed: false;
|
|
312
|
+
readonly internalType: "contract IValidator";
|
|
313
|
+
readonly name: "validator";
|
|
142
314
|
readonly type: "address";
|
|
315
|
+
}, {
|
|
316
|
+
readonly indexed: false;
|
|
317
|
+
readonly internalType: "uint32";
|
|
318
|
+
readonly name: "nonce";
|
|
319
|
+
readonly type: "uint32";
|
|
143
320
|
}];
|
|
144
|
-
readonly
|
|
145
|
-
readonly
|
|
321
|
+
readonly name: "ValidatorInstalled";
|
|
322
|
+
readonly type: "event";
|
|
323
|
+
}, {
|
|
324
|
+
readonly anonymous: false;
|
|
325
|
+
readonly inputs: readonly [{
|
|
326
|
+
readonly indexed: false;
|
|
327
|
+
readonly internalType: "contract IValidator";
|
|
328
|
+
readonly name: "validator";
|
|
329
|
+
readonly type: "address";
|
|
330
|
+
}];
|
|
331
|
+
readonly name: "ValidatorUninstalled";
|
|
332
|
+
readonly type: "event";
|
|
333
|
+
}, {
|
|
334
|
+
readonly stateMutability: "payable";
|
|
335
|
+
readonly type: "fallback";
|
|
336
|
+
}, {
|
|
337
|
+
readonly inputs: readonly [];
|
|
338
|
+
readonly name: "accountId";
|
|
339
|
+
readonly outputs: readonly [{
|
|
340
|
+
readonly internalType: "string";
|
|
341
|
+
readonly name: "accountImplementationId";
|
|
342
|
+
readonly type: "string";
|
|
343
|
+
}];
|
|
344
|
+
readonly stateMutability: "pure";
|
|
146
345
|
readonly type: "function";
|
|
147
346
|
}, {
|
|
148
|
-
readonly constant: true;
|
|
149
347
|
readonly inputs: readonly [];
|
|
150
|
-
readonly name: "
|
|
348
|
+
readonly name: "currentNonce";
|
|
151
349
|
readonly outputs: readonly [{
|
|
350
|
+
readonly internalType: "uint32";
|
|
152
351
|
readonly name: "";
|
|
352
|
+
readonly type: "uint32";
|
|
353
|
+
}];
|
|
354
|
+
readonly stateMutability: "view";
|
|
355
|
+
readonly type: "function";
|
|
356
|
+
}, {
|
|
357
|
+
readonly inputs: readonly [];
|
|
358
|
+
readonly name: "eip712Domain";
|
|
359
|
+
readonly outputs: readonly [{
|
|
360
|
+
readonly internalType: "bytes1";
|
|
361
|
+
readonly name: "fields";
|
|
362
|
+
readonly type: "bytes1";
|
|
363
|
+
}, {
|
|
364
|
+
readonly internalType: "string";
|
|
365
|
+
readonly name: "name";
|
|
366
|
+
readonly type: "string";
|
|
367
|
+
}, {
|
|
368
|
+
readonly internalType: "string";
|
|
369
|
+
readonly name: "version";
|
|
370
|
+
readonly type: "string";
|
|
371
|
+
}, {
|
|
372
|
+
readonly internalType: "uint256";
|
|
373
|
+
readonly name: "chainId";
|
|
374
|
+
readonly type: "uint256";
|
|
375
|
+
}, {
|
|
376
|
+
readonly internalType: "address";
|
|
377
|
+
readonly name: "verifyingContract";
|
|
378
|
+
readonly type: "address";
|
|
379
|
+
}, {
|
|
380
|
+
readonly internalType: "bytes32";
|
|
381
|
+
readonly name: "salt";
|
|
153
382
|
readonly type: "bytes32";
|
|
383
|
+
}, {
|
|
384
|
+
readonly internalType: "uint256[]";
|
|
385
|
+
readonly name: "extensions";
|
|
386
|
+
readonly type: "uint256[]";
|
|
154
387
|
}];
|
|
155
|
-
readonly payable: false;
|
|
156
388
|
readonly stateMutability: "view";
|
|
157
389
|
readonly type: "function";
|
|
158
390
|
}, {
|
|
159
|
-
readonly constant: true;
|
|
160
391
|
readonly inputs: readonly [];
|
|
161
|
-
readonly name: "
|
|
392
|
+
readonly name: "entrypoint";
|
|
162
393
|
readonly outputs: readonly [{
|
|
394
|
+
readonly internalType: "contract IEntryPoint";
|
|
163
395
|
readonly name: "";
|
|
164
|
-
readonly type: "
|
|
396
|
+
readonly type: "address";
|
|
165
397
|
}];
|
|
166
|
-
readonly payable: false;
|
|
167
398
|
readonly stateMutability: "view";
|
|
168
399
|
readonly type: "function";
|
|
169
400
|
}, {
|
|
170
|
-
readonly constant: false;
|
|
171
401
|
readonly inputs: readonly [{
|
|
172
|
-
readonly
|
|
402
|
+
readonly internalType: "ExecMode";
|
|
403
|
+
readonly name: "execMode";
|
|
173
404
|
readonly type: "bytes32";
|
|
405
|
+
}, {
|
|
406
|
+
readonly internalType: "bytes";
|
|
407
|
+
readonly name: "executionCalldata";
|
|
408
|
+
readonly type: "bytes";
|
|
174
409
|
}];
|
|
175
|
-
readonly name: "
|
|
410
|
+
readonly name: "execute";
|
|
176
411
|
readonly outputs: readonly [];
|
|
177
|
-
readonly
|
|
178
|
-
readonly stateMutability: "nonpayable";
|
|
412
|
+
readonly stateMutability: "payable";
|
|
179
413
|
readonly type: "function";
|
|
180
414
|
}, {
|
|
181
|
-
readonly
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
readonly outputs: readonly [{
|
|
185
|
-
readonly name: "";
|
|
415
|
+
readonly inputs: readonly [{
|
|
416
|
+
readonly internalType: "ExecMode";
|
|
417
|
+
readonly name: "execMode";
|
|
186
418
|
readonly type: "bytes32";
|
|
419
|
+
}, {
|
|
420
|
+
readonly internalType: "bytes";
|
|
421
|
+
readonly name: "executionCalldata";
|
|
422
|
+
readonly type: "bytes";
|
|
187
423
|
}];
|
|
188
|
-
readonly
|
|
189
|
-
readonly
|
|
424
|
+
readonly name: "executeFromExecutor";
|
|
425
|
+
readonly outputs: readonly [{
|
|
426
|
+
readonly internalType: "bytes[]";
|
|
427
|
+
readonly name: "returnData";
|
|
428
|
+
readonly type: "bytes[]";
|
|
429
|
+
}];
|
|
430
|
+
readonly stateMutability: "payable";
|
|
190
431
|
readonly type: "function";
|
|
191
432
|
}, {
|
|
192
|
-
readonly constant: false;
|
|
193
433
|
readonly inputs: readonly [{
|
|
194
|
-
readonly
|
|
195
|
-
|
|
434
|
+
readonly components: readonly [{
|
|
435
|
+
readonly internalType: "address";
|
|
436
|
+
readonly name: "sender";
|
|
437
|
+
readonly type: "address";
|
|
438
|
+
}, {
|
|
439
|
+
readonly internalType: "uint256";
|
|
440
|
+
readonly name: "nonce";
|
|
441
|
+
readonly type: "uint256";
|
|
442
|
+
}, {
|
|
443
|
+
readonly internalType: "bytes";
|
|
444
|
+
readonly name: "initCode";
|
|
445
|
+
readonly type: "bytes";
|
|
446
|
+
}, {
|
|
447
|
+
readonly internalType: "bytes";
|
|
448
|
+
readonly name: "callData";
|
|
449
|
+
readonly type: "bytes";
|
|
450
|
+
}, {
|
|
451
|
+
readonly internalType: "bytes32";
|
|
452
|
+
readonly name: "accountGasLimits";
|
|
453
|
+
readonly type: "bytes32";
|
|
454
|
+
}, {
|
|
455
|
+
readonly internalType: "uint256";
|
|
456
|
+
readonly name: "preVerificationGas";
|
|
457
|
+
readonly type: "uint256";
|
|
458
|
+
}, {
|
|
459
|
+
readonly internalType: "bytes32";
|
|
460
|
+
readonly name: "gasFees";
|
|
461
|
+
readonly type: "bytes32";
|
|
462
|
+
}, {
|
|
463
|
+
readonly internalType: "bytes";
|
|
464
|
+
readonly name: "paymasterAndData";
|
|
465
|
+
readonly type: "bytes";
|
|
466
|
+
}, {
|
|
467
|
+
readonly internalType: "bytes";
|
|
468
|
+
readonly name: "signature";
|
|
469
|
+
readonly type: "bytes";
|
|
470
|
+
}];
|
|
471
|
+
readonly internalType: "struct PackedUserOperation";
|
|
472
|
+
readonly name: "userOp";
|
|
473
|
+
readonly type: "tuple";
|
|
196
474
|
}, {
|
|
197
|
-
readonly
|
|
475
|
+
readonly internalType: "bytes32";
|
|
476
|
+
readonly name: "userOpHash";
|
|
477
|
+
readonly type: "bytes32";
|
|
478
|
+
}];
|
|
479
|
+
readonly name: "executeUserOp";
|
|
480
|
+
readonly outputs: readonly [];
|
|
481
|
+
readonly stateMutability: "payable";
|
|
482
|
+
readonly type: "function";
|
|
483
|
+
}, {
|
|
484
|
+
readonly inputs: readonly [{
|
|
485
|
+
readonly internalType: "contract IExecutor";
|
|
486
|
+
readonly name: "executor";
|
|
198
487
|
readonly type: "address";
|
|
199
488
|
}];
|
|
200
|
-
readonly name: "
|
|
489
|
+
readonly name: "executorConfig";
|
|
201
490
|
readonly outputs: readonly [{
|
|
202
|
-
readonly
|
|
491
|
+
readonly components: readonly [{
|
|
492
|
+
readonly internalType: "contract IHook";
|
|
493
|
+
readonly name: "hook";
|
|
494
|
+
readonly type: "address";
|
|
495
|
+
}];
|
|
496
|
+
readonly internalType: "struct ExecutorManager.ExecutorConfig";
|
|
497
|
+
readonly name: "";
|
|
498
|
+
readonly type: "tuple";
|
|
499
|
+
}];
|
|
500
|
+
readonly stateMutability: "view";
|
|
501
|
+
readonly type: "function";
|
|
502
|
+
}, {
|
|
503
|
+
readonly inputs: readonly [{
|
|
504
|
+
readonly internalType: "ValidationId";
|
|
505
|
+
readonly name: "_rootValidator";
|
|
506
|
+
readonly type: "bytes21";
|
|
507
|
+
}, {
|
|
508
|
+
readonly internalType: "contract IHook";
|
|
509
|
+
readonly name: "hook";
|
|
203
510
|
readonly type: "address";
|
|
511
|
+
}, {
|
|
512
|
+
readonly internalType: "bytes";
|
|
513
|
+
readonly name: "validatorData";
|
|
514
|
+
readonly type: "bytes";
|
|
515
|
+
}, {
|
|
516
|
+
readonly internalType: "bytes";
|
|
517
|
+
readonly name: "hookData";
|
|
518
|
+
readonly type: "bytes";
|
|
204
519
|
}];
|
|
205
|
-
readonly
|
|
520
|
+
readonly name: "initialize";
|
|
521
|
+
readonly outputs: readonly [];
|
|
206
522
|
readonly stateMutability: "nonpayable";
|
|
207
523
|
readonly type: "function";
|
|
208
524
|
}, {
|
|
209
|
-
readonly constant: false;
|
|
210
525
|
readonly inputs: readonly [{
|
|
211
|
-
readonly
|
|
526
|
+
readonly internalType: "uint256";
|
|
527
|
+
readonly name: "moduleType";
|
|
528
|
+
readonly type: "uint256";
|
|
529
|
+
}, {
|
|
530
|
+
readonly internalType: "address";
|
|
531
|
+
readonly name: "module";
|
|
212
532
|
readonly type: "address";
|
|
533
|
+
}, {
|
|
534
|
+
readonly internalType: "bytes";
|
|
535
|
+
readonly name: "initData";
|
|
536
|
+
readonly type: "bytes";
|
|
213
537
|
}];
|
|
214
|
-
readonly name: "
|
|
538
|
+
readonly name: "installModule";
|
|
215
539
|
readonly outputs: readonly [];
|
|
216
|
-
readonly
|
|
217
|
-
readonly stateMutability: "nonpayable";
|
|
540
|
+
readonly stateMutability: "payable";
|
|
218
541
|
readonly type: "function";
|
|
219
542
|
}, {
|
|
220
|
-
readonly constant: false;
|
|
221
543
|
readonly inputs: readonly [{
|
|
222
|
-
readonly
|
|
223
|
-
readonly
|
|
544
|
+
readonly internalType: "ValidationId[]";
|
|
545
|
+
readonly name: "vIds";
|
|
546
|
+
readonly type: "bytes21[]";
|
|
224
547
|
}, {
|
|
225
|
-
readonly
|
|
226
|
-
|
|
548
|
+
readonly components: readonly [{
|
|
549
|
+
readonly internalType: "uint32";
|
|
550
|
+
readonly name: "nonce";
|
|
551
|
+
readonly type: "uint32";
|
|
552
|
+
}, {
|
|
553
|
+
readonly internalType: "contract IHook";
|
|
554
|
+
readonly name: "hook";
|
|
555
|
+
readonly type: "address";
|
|
556
|
+
}];
|
|
557
|
+
readonly internalType: "struct ValidationManager.ValidationConfig[]";
|
|
558
|
+
readonly name: "configs";
|
|
559
|
+
readonly type: "tuple[]";
|
|
227
560
|
}, {
|
|
228
|
-
readonly
|
|
229
|
-
readonly
|
|
561
|
+
readonly internalType: "bytes[]";
|
|
562
|
+
readonly name: "validationData";
|
|
563
|
+
readonly type: "bytes[]";
|
|
564
|
+
}, {
|
|
565
|
+
readonly internalType: "bytes[]";
|
|
566
|
+
readonly name: "hookData";
|
|
567
|
+
readonly type: "bytes[]";
|
|
230
568
|
}];
|
|
231
|
-
readonly name: "
|
|
569
|
+
readonly name: "installValidations";
|
|
232
570
|
readonly outputs: readonly [];
|
|
233
|
-
readonly
|
|
234
|
-
readonly stateMutability: "nonpayable";
|
|
571
|
+
readonly stateMutability: "payable";
|
|
235
572
|
readonly type: "function";
|
|
236
573
|
}, {
|
|
237
|
-
readonly constant: true;
|
|
238
574
|
readonly inputs: readonly [{
|
|
239
|
-
readonly
|
|
240
|
-
readonly
|
|
575
|
+
readonly internalType: "uint32";
|
|
576
|
+
readonly name: "nonce";
|
|
577
|
+
readonly type: "uint32";
|
|
578
|
+
}];
|
|
579
|
+
readonly name: "invalidateNonce";
|
|
580
|
+
readonly outputs: readonly [];
|
|
581
|
+
readonly stateMutability: "payable";
|
|
582
|
+
readonly type: "function";
|
|
583
|
+
}, {
|
|
584
|
+
readonly inputs: readonly [{
|
|
585
|
+
readonly internalType: "ValidationId";
|
|
586
|
+
readonly name: "vId";
|
|
587
|
+
readonly type: "bytes21";
|
|
241
588
|
}, {
|
|
242
|
-
readonly
|
|
243
|
-
readonly
|
|
589
|
+
readonly internalType: "bytes4";
|
|
590
|
+
readonly name: "selector";
|
|
591
|
+
readonly type: "bytes4";
|
|
244
592
|
}];
|
|
245
|
-
readonly name: "
|
|
593
|
+
readonly name: "isAllowedSelector";
|
|
246
594
|
readonly outputs: readonly [{
|
|
595
|
+
readonly internalType: "bool";
|
|
247
596
|
readonly name: "";
|
|
248
|
-
readonly type: "
|
|
597
|
+
readonly type: "bool";
|
|
249
598
|
}];
|
|
250
|
-
readonly payable: false;
|
|
251
599
|
readonly stateMutability: "view";
|
|
252
600
|
readonly type: "function";
|
|
253
601
|
}, {
|
|
254
|
-
readonly constant: false;
|
|
255
602
|
readonly inputs: readonly [{
|
|
256
|
-
readonly
|
|
257
|
-
readonly
|
|
603
|
+
readonly internalType: "uint256";
|
|
604
|
+
readonly name: "moduleType";
|
|
605
|
+
readonly type: "uint256";
|
|
258
606
|
}, {
|
|
259
|
-
readonly
|
|
607
|
+
readonly internalType: "address";
|
|
608
|
+
readonly name: "module";
|
|
260
609
|
readonly type: "address";
|
|
261
610
|
}, {
|
|
262
|
-
readonly
|
|
611
|
+
readonly internalType: "bytes";
|
|
612
|
+
readonly name: "additionalContext";
|
|
263
613
|
readonly type: "bytes";
|
|
264
|
-
}, {
|
|
265
|
-
readonly name: "_setDefault";
|
|
266
|
-
readonly type: "bool";
|
|
267
614
|
}];
|
|
268
|
-
readonly name: "
|
|
615
|
+
readonly name: "isModuleInstalled";
|
|
269
616
|
readonly outputs: readonly [{
|
|
270
|
-
readonly
|
|
271
|
-
readonly
|
|
617
|
+
readonly internalType: "bool";
|
|
618
|
+
readonly name: "";
|
|
619
|
+
readonly type: "bool";
|
|
272
620
|
}];
|
|
273
|
-
readonly
|
|
274
|
-
readonly stateMutability: "nonpayable";
|
|
621
|
+
readonly stateMutability: "view";
|
|
275
622
|
readonly type: "function";
|
|
276
623
|
}, {
|
|
277
|
-
readonly constant: false;
|
|
278
624
|
readonly inputs: readonly [{
|
|
279
|
-
readonly
|
|
280
|
-
readonly
|
|
281
|
-
}, {
|
|
282
|
-
readonly name: "_appId";
|
|
625
|
+
readonly internalType: "bytes32";
|
|
626
|
+
readonly name: "hash";
|
|
283
627
|
readonly type: "bytes32";
|
|
284
628
|
}, {
|
|
285
|
-
readonly
|
|
629
|
+
readonly internalType: "bytes";
|
|
630
|
+
readonly name: "signature";
|
|
286
631
|
readonly type: "bytes";
|
|
287
632
|
}];
|
|
288
|
-
readonly name: "
|
|
633
|
+
readonly name: "isValidSignature";
|
|
289
634
|
readonly outputs: readonly [{
|
|
635
|
+
readonly internalType: "bytes4";
|
|
290
636
|
readonly name: "";
|
|
291
|
-
readonly type: "
|
|
637
|
+
readonly type: "bytes4";
|
|
292
638
|
}];
|
|
293
|
-
readonly
|
|
294
|
-
readonly stateMutability: "nonpayable";
|
|
639
|
+
readonly stateMutability: "view";
|
|
295
640
|
readonly type: "function";
|
|
296
641
|
}, {
|
|
297
|
-
readonly
|
|
298
|
-
|
|
299
|
-
|
|
642
|
+
readonly inputs: readonly [{
|
|
643
|
+
readonly internalType: "PermissionId";
|
|
644
|
+
readonly name: "pId";
|
|
645
|
+
readonly type: "bytes4";
|
|
646
|
+
}];
|
|
647
|
+
readonly name: "permissionConfig";
|
|
300
648
|
readonly outputs: readonly [{
|
|
649
|
+
readonly components: readonly [{
|
|
650
|
+
readonly internalType: "PassFlag";
|
|
651
|
+
readonly name: "permissionFlag";
|
|
652
|
+
readonly type: "bytes2";
|
|
653
|
+
}, {
|
|
654
|
+
readonly internalType: "contract ISigner";
|
|
655
|
+
readonly name: "signer";
|
|
656
|
+
readonly type: "address";
|
|
657
|
+
}, {
|
|
658
|
+
readonly internalType: "PolicyData[]";
|
|
659
|
+
readonly name: "policyData";
|
|
660
|
+
readonly type: "bytes22[]";
|
|
661
|
+
}];
|
|
662
|
+
readonly internalType: "struct ValidationManager.PermissionConfig";
|
|
301
663
|
readonly name: "";
|
|
302
|
-
readonly type: "
|
|
664
|
+
readonly type: "tuple";
|
|
303
665
|
}];
|
|
304
|
-
readonly
|
|
305
|
-
readonly stateMutability: "pure";
|
|
666
|
+
readonly stateMutability: "view";
|
|
306
667
|
readonly type: "function";
|
|
307
668
|
}, {
|
|
308
|
-
readonly constant: true;
|
|
309
669
|
readonly inputs: readonly [];
|
|
310
|
-
readonly name: "
|
|
670
|
+
readonly name: "rootValidator";
|
|
311
671
|
readonly outputs: readonly [{
|
|
672
|
+
readonly internalType: "ValidationId";
|
|
312
673
|
readonly name: "";
|
|
313
|
-
readonly type: "
|
|
674
|
+
readonly type: "bytes21";
|
|
314
675
|
}];
|
|
315
|
-
readonly payable: false;
|
|
316
676
|
readonly stateMutability: "view";
|
|
317
677
|
readonly type: "function";
|
|
318
678
|
}, {
|
|
319
|
-
readonly
|
|
320
|
-
|
|
321
|
-
|
|
679
|
+
readonly inputs: readonly [{
|
|
680
|
+
readonly internalType: "bytes4";
|
|
681
|
+
readonly name: "selector";
|
|
682
|
+
readonly type: "bytes4";
|
|
683
|
+
}];
|
|
684
|
+
readonly name: "selectorConfig";
|
|
322
685
|
readonly outputs: readonly [{
|
|
686
|
+
readonly components: readonly [{
|
|
687
|
+
readonly internalType: "contract IHook";
|
|
688
|
+
readonly name: "hook";
|
|
689
|
+
readonly type: "address";
|
|
690
|
+
}, {
|
|
691
|
+
readonly internalType: "address";
|
|
692
|
+
readonly name: "target";
|
|
693
|
+
readonly type: "address";
|
|
694
|
+
}, {
|
|
695
|
+
readonly internalType: "CallType";
|
|
696
|
+
readonly name: "callType";
|
|
697
|
+
readonly type: "bytes1";
|
|
698
|
+
}];
|
|
699
|
+
readonly internalType: "struct SelectorManager.SelectorConfig";
|
|
323
700
|
readonly name: "";
|
|
324
|
-
readonly type: "
|
|
701
|
+
readonly type: "tuple";
|
|
325
702
|
}];
|
|
326
|
-
readonly payable: false;
|
|
327
703
|
readonly stateMutability: "view";
|
|
328
704
|
readonly type: "function";
|
|
329
705
|
}, {
|
|
330
|
-
readonly constant: false;
|
|
331
706
|
readonly inputs: readonly [{
|
|
332
|
-
readonly
|
|
333
|
-
readonly
|
|
334
|
-
}, {
|
|
335
|
-
readonly name: "_appId";
|
|
707
|
+
readonly internalType: "ExecMode";
|
|
708
|
+
readonly name: "mode";
|
|
336
709
|
readonly type: "bytes32";
|
|
337
710
|
}];
|
|
338
|
-
readonly name: "
|
|
711
|
+
readonly name: "supportsExecutionMode";
|
|
339
712
|
readonly outputs: readonly [{
|
|
713
|
+
readonly internalType: "bool";
|
|
340
714
|
readonly name: "";
|
|
341
|
-
readonly type: "
|
|
715
|
+
readonly type: "bool";
|
|
342
716
|
}];
|
|
343
|
-
readonly
|
|
344
|
-
readonly stateMutability: "nonpayable";
|
|
717
|
+
readonly stateMutability: "pure";
|
|
345
718
|
readonly type: "function";
|
|
346
719
|
}, {
|
|
347
|
-
readonly
|
|
348
|
-
|
|
349
|
-
|
|
720
|
+
readonly inputs: readonly [{
|
|
721
|
+
readonly internalType: "uint256";
|
|
722
|
+
readonly name: "moduleTypeId";
|
|
723
|
+
readonly type: "uint256";
|
|
724
|
+
}];
|
|
725
|
+
readonly name: "supportsModule";
|
|
350
726
|
readonly outputs: readonly [{
|
|
727
|
+
readonly internalType: "bool";
|
|
351
728
|
readonly name: "";
|
|
352
|
-
readonly type: "
|
|
729
|
+
readonly type: "bool";
|
|
353
730
|
}];
|
|
354
|
-
readonly payable: false;
|
|
355
731
|
readonly stateMutability: "pure";
|
|
356
732
|
readonly type: "function";
|
|
357
733
|
}, {
|
|
358
|
-
readonly constant: false;
|
|
359
734
|
readonly inputs: readonly [{
|
|
360
|
-
readonly
|
|
361
|
-
readonly
|
|
735
|
+
readonly internalType: "uint256";
|
|
736
|
+
readonly name: "moduleType";
|
|
737
|
+
readonly type: "uint256";
|
|
362
738
|
}, {
|
|
363
|
-
readonly
|
|
364
|
-
readonly
|
|
739
|
+
readonly internalType: "address";
|
|
740
|
+
readonly name: "module";
|
|
741
|
+
readonly type: "address";
|
|
365
742
|
}, {
|
|
366
|
-
readonly
|
|
743
|
+
readonly internalType: "bytes";
|
|
744
|
+
readonly name: "deInitData";
|
|
367
745
|
readonly type: "bytes";
|
|
368
746
|
}];
|
|
369
|
-
readonly name: "
|
|
370
|
-
readonly outputs: readonly [
|
|
371
|
-
|
|
372
|
-
readonly type: "address";
|
|
373
|
-
}];
|
|
374
|
-
readonly payable: false;
|
|
375
|
-
readonly stateMutability: "nonpayable";
|
|
747
|
+
readonly name: "uninstallModule";
|
|
748
|
+
readonly outputs: readonly [];
|
|
749
|
+
readonly stateMutability: "payable";
|
|
376
750
|
readonly type: "function";
|
|
377
751
|
}, {
|
|
378
|
-
readonly constant: true;
|
|
379
752
|
readonly inputs: readonly [{
|
|
380
|
-
readonly
|
|
381
|
-
readonly
|
|
382
|
-
|
|
383
|
-
readonly name: "_where";
|
|
384
|
-
readonly type: "address";
|
|
385
|
-
}, {
|
|
386
|
-
readonly name: "_what";
|
|
387
|
-
readonly type: "bytes32";
|
|
753
|
+
readonly internalType: "ValidationId";
|
|
754
|
+
readonly name: "vId";
|
|
755
|
+
readonly type: "bytes21";
|
|
388
756
|
}, {
|
|
389
|
-
readonly
|
|
757
|
+
readonly internalType: "bytes";
|
|
758
|
+
readonly name: "deinitData";
|
|
759
|
+
readonly type: "bytes";
|
|
760
|
+
}, {
|
|
761
|
+
readonly internalType: "bytes";
|
|
762
|
+
readonly name: "hookDeinitData";
|
|
390
763
|
readonly type: "bytes";
|
|
391
764
|
}];
|
|
392
|
-
readonly name: "
|
|
393
|
-
readonly outputs: readonly [
|
|
394
|
-
|
|
395
|
-
readonly type: "bool";
|
|
396
|
-
}];
|
|
397
|
-
readonly payable: false;
|
|
398
|
-
readonly stateMutability: "view";
|
|
765
|
+
readonly name: "uninstallValidation";
|
|
766
|
+
readonly outputs: readonly [];
|
|
767
|
+
readonly stateMutability: "payable";
|
|
399
768
|
readonly type: "function";
|
|
400
769
|
}, {
|
|
401
|
-
readonly constant: false;
|
|
402
770
|
readonly inputs: readonly [{
|
|
403
|
-
readonly
|
|
771
|
+
readonly internalType: "address";
|
|
772
|
+
readonly name: "_newImplementation";
|
|
404
773
|
readonly type: "address";
|
|
405
|
-
}, {
|
|
406
|
-
readonly name: "_appId";
|
|
407
|
-
readonly type: "bytes32";
|
|
408
774
|
}];
|
|
409
|
-
readonly name: "
|
|
775
|
+
readonly name: "upgradeTo";
|
|
776
|
+
readonly outputs: readonly [];
|
|
777
|
+
readonly stateMutability: "payable";
|
|
778
|
+
readonly type: "function";
|
|
779
|
+
}, {
|
|
780
|
+
readonly inputs: readonly [];
|
|
781
|
+
readonly name: "validNonceFrom";
|
|
410
782
|
readonly outputs: readonly [{
|
|
783
|
+
readonly internalType: "uint32";
|
|
411
784
|
readonly name: "";
|
|
412
|
-
readonly type: "
|
|
785
|
+
readonly type: "uint32";
|
|
413
786
|
}];
|
|
414
|
-
readonly
|
|
415
|
-
readonly stateMutability: "nonpayable";
|
|
787
|
+
readonly stateMutability: "view";
|
|
416
788
|
readonly type: "function";
|
|
417
789
|
}, {
|
|
418
790
|
readonly inputs: readonly [{
|
|
419
|
-
readonly
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
791
|
+
readonly components: readonly [{
|
|
792
|
+
readonly internalType: "address";
|
|
793
|
+
readonly name: "sender";
|
|
794
|
+
readonly type: "address";
|
|
795
|
+
}, {
|
|
796
|
+
readonly internalType: "uint256";
|
|
797
|
+
readonly name: "nonce";
|
|
798
|
+
readonly type: "uint256";
|
|
799
|
+
}, {
|
|
800
|
+
readonly internalType: "bytes";
|
|
801
|
+
readonly name: "initCode";
|
|
802
|
+
readonly type: "bytes";
|
|
803
|
+
}, {
|
|
804
|
+
readonly internalType: "bytes";
|
|
805
|
+
readonly name: "callData";
|
|
806
|
+
readonly type: "bytes";
|
|
807
|
+
}, {
|
|
808
|
+
readonly internalType: "bytes32";
|
|
809
|
+
readonly name: "accountGasLimits";
|
|
810
|
+
readonly type: "bytes32";
|
|
811
|
+
}, {
|
|
812
|
+
readonly internalType: "uint256";
|
|
813
|
+
readonly name: "preVerificationGas";
|
|
814
|
+
readonly type: "uint256";
|
|
815
|
+
}, {
|
|
816
|
+
readonly internalType: "bytes32";
|
|
817
|
+
readonly name: "gasFees";
|
|
818
|
+
readonly type: "bytes32";
|
|
819
|
+
}, {
|
|
820
|
+
readonly internalType: "bytes";
|
|
821
|
+
readonly name: "paymasterAndData";
|
|
822
|
+
readonly type: "bytes";
|
|
823
|
+
}, {
|
|
824
|
+
readonly internalType: "bytes";
|
|
825
|
+
readonly name: "signature";
|
|
826
|
+
readonly type: "bytes";
|
|
827
|
+
}];
|
|
828
|
+
readonly internalType: "struct PackedUserOperation";
|
|
829
|
+
readonly name: "userOp";
|
|
830
|
+
readonly type: "tuple";
|
|
435
831
|
}, {
|
|
436
|
-
readonly
|
|
437
|
-
readonly name: "
|
|
832
|
+
readonly internalType: "bytes32";
|
|
833
|
+
readonly name: "userOpHash";
|
|
438
834
|
readonly type: "bytes32";
|
|
439
|
-
}];
|
|
440
|
-
readonly name: "NewAppProxy";
|
|
441
|
-
readonly type: "event";
|
|
442
|
-
}, {
|
|
443
|
-
readonly anonymous: false;
|
|
444
|
-
readonly inputs: readonly [{
|
|
445
|
-
readonly indexed: true;
|
|
446
|
-
readonly name: "vault";
|
|
447
|
-
readonly type: "address";
|
|
448
835
|
}, {
|
|
449
|
-
readonly
|
|
450
|
-
readonly name: "
|
|
451
|
-
readonly type: "address";
|
|
452
|
-
}, {
|
|
453
|
-
readonly indexed: false;
|
|
454
|
-
readonly name: "amount";
|
|
836
|
+
readonly internalType: "uint256";
|
|
837
|
+
readonly name: "missingAccountFunds";
|
|
455
838
|
readonly type: "uint256";
|
|
456
839
|
}];
|
|
457
|
-
readonly name: "
|
|
458
|
-
readonly
|
|
840
|
+
readonly name: "validateUserOp";
|
|
841
|
+
readonly outputs: readonly [{
|
|
842
|
+
readonly internalType: "ValidationData";
|
|
843
|
+
readonly name: "validationData";
|
|
844
|
+
readonly type: "uint256";
|
|
845
|
+
}];
|
|
846
|
+
readonly stateMutability: "payable";
|
|
847
|
+
readonly type: "function";
|
|
459
848
|
}, {
|
|
460
|
-
readonly anonymous: false;
|
|
461
849
|
readonly inputs: readonly [{
|
|
462
|
-
readonly
|
|
463
|
-
readonly name: "
|
|
464
|
-
readonly type: "
|
|
465
|
-
}, {
|
|
466
|
-
readonly indexed: true;
|
|
467
|
-
readonly name: "appId";
|
|
468
|
-
readonly type: "bytes32";
|
|
469
|
-
}, {
|
|
470
|
-
readonly indexed: false;
|
|
471
|
-
readonly name: "app";
|
|
472
|
-
readonly type: "address";
|
|
850
|
+
readonly internalType: "ValidationId";
|
|
851
|
+
readonly name: "vId";
|
|
852
|
+
readonly type: "bytes21";
|
|
473
853
|
}];
|
|
474
|
-
readonly name: "
|
|
475
|
-
readonly
|
|
854
|
+
readonly name: "validationConfig";
|
|
855
|
+
readonly outputs: readonly [{
|
|
856
|
+
readonly components: readonly [{
|
|
857
|
+
readonly internalType: "uint32";
|
|
858
|
+
readonly name: "nonce";
|
|
859
|
+
readonly type: "uint32";
|
|
860
|
+
}, {
|
|
861
|
+
readonly internalType: "contract IHook";
|
|
862
|
+
readonly name: "hook";
|
|
863
|
+
readonly type: "address";
|
|
864
|
+
}];
|
|
865
|
+
readonly internalType: "struct ValidationManager.ValidationConfig";
|
|
866
|
+
readonly name: "";
|
|
867
|
+
readonly type: "tuple";
|
|
868
|
+
}];
|
|
869
|
+
readonly stateMutability: "view";
|
|
870
|
+
readonly type: "function";
|
|
871
|
+
}, {
|
|
872
|
+
readonly stateMutability: "payable";
|
|
873
|
+
readonly type: "receive";
|
|
476
874
|
}];
|
|
477
875
|
/**
|
|
478
876
|
* Type-safe ABI for Kernel_json
|
|
@@ -531,86 +929,86 @@ export declare class Kernel_json {
|
|
|
531
929
|
*/
|
|
532
930
|
getContract(): Kernel_jsonContract;
|
|
533
931
|
/**
|
|
534
|
-
*
|
|
535
|
-
*
|
|
932
|
+
* accountId
|
|
933
|
+
* pure
|
|
536
934
|
*/
|
|
537
|
-
|
|
935
|
+
accountId(): Promise<string>;
|
|
538
936
|
/**
|
|
539
|
-
*
|
|
540
|
-
*
|
|
937
|
+
* currentNonce
|
|
938
|
+
* view
|
|
541
939
|
*/
|
|
542
|
-
|
|
940
|
+
currentNonce(): Promise<bigint>;
|
|
543
941
|
/**
|
|
544
|
-
*
|
|
545
|
-
*
|
|
942
|
+
* eip712Domain
|
|
943
|
+
* view
|
|
546
944
|
*/
|
|
547
|
-
|
|
945
|
+
eip712Domain(): Promise<[`0x${string}`, string, string, bigint, `0x${string}`, `0x${string}`, bigint[]]>;
|
|
548
946
|
/**
|
|
549
|
-
*
|
|
947
|
+
* entrypoint
|
|
550
948
|
* view
|
|
551
949
|
*/
|
|
552
|
-
|
|
950
|
+
entrypoint(): Promise<`0x${string}`>;
|
|
553
951
|
/**
|
|
554
|
-
*
|
|
952
|
+
* executorConfig
|
|
555
953
|
* view
|
|
556
954
|
*/
|
|
557
|
-
|
|
955
|
+
executorConfig(executor: `0x${string}`): Promise<ExecutorManager_ExecutorConfig>;
|
|
558
956
|
/**
|
|
559
|
-
*
|
|
560
|
-
*
|
|
957
|
+
* isAllowedSelector
|
|
958
|
+
* view
|
|
561
959
|
*/
|
|
562
|
-
|
|
960
|
+
isAllowedSelector(vId: `0x${string}`, selector: `0x${string}`): Promise<boolean>;
|
|
563
961
|
/**
|
|
564
|
-
*
|
|
962
|
+
* isModuleInstalled
|
|
565
963
|
* view
|
|
566
964
|
*/
|
|
567
|
-
|
|
965
|
+
isModuleInstalled(moduleType: bigint, module: `0x${string}`, additionalContext: `0x${string}`): Promise<boolean>;
|
|
568
966
|
/**
|
|
569
|
-
*
|
|
967
|
+
* isValidSignature
|
|
570
968
|
* view
|
|
571
969
|
*/
|
|
572
|
-
|
|
970
|
+
isValidSignature(hash: `0x${string}`, signature: `0x${string}`): Promise<`0x${string}`>;
|
|
573
971
|
/**
|
|
574
|
-
*
|
|
972
|
+
* permissionConfig
|
|
575
973
|
* view
|
|
576
974
|
*/
|
|
577
|
-
|
|
975
|
+
permissionConfig(pId: `0x${string}`): Promise<ValidationManager_PermissionConfig>;
|
|
578
976
|
/**
|
|
579
|
-
*
|
|
977
|
+
* rootValidator
|
|
580
978
|
* view
|
|
581
979
|
*/
|
|
582
|
-
|
|
980
|
+
rootValidator(): Promise<`0x${string}`>;
|
|
583
981
|
/**
|
|
584
|
-
*
|
|
982
|
+
* selectorConfig
|
|
585
983
|
* view
|
|
586
984
|
*/
|
|
587
|
-
|
|
985
|
+
selectorConfig(selector: `0x${string}`): Promise<SelectorManager_SelectorConfig>;
|
|
588
986
|
/**
|
|
589
|
-
*
|
|
987
|
+
* supportsExecutionMode
|
|
590
988
|
* pure
|
|
591
989
|
*/
|
|
592
|
-
|
|
990
|
+
supportsExecutionMode(mode: `0x${string}`): Promise<boolean>;
|
|
593
991
|
/**
|
|
594
|
-
*
|
|
595
|
-
*
|
|
992
|
+
* supportsModule
|
|
993
|
+
* pure
|
|
596
994
|
*/
|
|
597
|
-
|
|
995
|
+
supportsModule(moduleTypeId: bigint): Promise<boolean>;
|
|
598
996
|
/**
|
|
599
|
-
*
|
|
997
|
+
* validNonceFrom
|
|
600
998
|
* view
|
|
601
999
|
*/
|
|
602
|
-
|
|
1000
|
+
validNonceFrom(): Promise<bigint>;
|
|
603
1001
|
/**
|
|
604
|
-
*
|
|
605
|
-
*
|
|
1002
|
+
* validationConfig
|
|
1003
|
+
* view
|
|
606
1004
|
*/
|
|
607
|
-
|
|
1005
|
+
validationConfig(vId: `0x${string}`): Promise<ValidationManager_ValidationConfig>;
|
|
608
1006
|
/**
|
|
609
|
-
*
|
|
610
|
-
*
|
|
1007
|
+
* execute
|
|
1008
|
+
* payable
|
|
1009
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
611
1010
|
*/
|
|
612
|
-
|
|
613
|
-
newAppInstance(_appId: `0x${string}`, _appBase: `0x${string}`, _initializePayload: `0x${string}`, _setDefault: boolean, options?: {
|
|
1011
|
+
execute(execMode: `0x${string}`, executionCalldata: `0x${string}`, options?: {
|
|
614
1012
|
accessList?: import('viem').AccessList;
|
|
615
1013
|
authorizationList?: import('viem').AuthorizationList;
|
|
616
1014
|
chain?: import('viem').Chain | null;
|
|
@@ -622,7 +1020,12 @@ export declare class Kernel_json {
|
|
|
622
1020
|
nonce?: number;
|
|
623
1021
|
value?: bigint;
|
|
624
1022
|
}): Promise<`0x${string}`>;
|
|
625
|
-
|
|
1023
|
+
/**
|
|
1024
|
+
* executeFromExecutor
|
|
1025
|
+
* payable
|
|
1026
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1027
|
+
*/
|
|
1028
|
+
executeFromExecutor(execMode: `0x${string}`, executionCalldata: `0x${string}`, options?: {
|
|
626
1029
|
accessList?: import('viem').AccessList;
|
|
627
1030
|
authorizationList?: import('viem').AuthorizationList;
|
|
628
1031
|
chain?: import('viem').Chain | null;
|
|
@@ -635,11 +1038,11 @@ export declare class Kernel_json {
|
|
|
635
1038
|
value?: bigint;
|
|
636
1039
|
}): Promise<`0x${string}`>;
|
|
637
1040
|
/**
|
|
638
|
-
*
|
|
639
|
-
*
|
|
1041
|
+
* executeUserOp
|
|
1042
|
+
* payable
|
|
640
1043
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
641
1044
|
*/
|
|
642
|
-
|
|
1045
|
+
executeUserOp(userOp: PackedUserOperation, userOpHash: `0x${string}`, options?: {
|
|
643
1046
|
accessList?: import('viem').AccessList;
|
|
644
1047
|
authorizationList?: import('viem').AuthorizationList;
|
|
645
1048
|
chain?: import('viem').Chain | null;
|
|
@@ -652,23 +1055,11 @@ export declare class Kernel_json {
|
|
|
652
1055
|
value?: bigint;
|
|
653
1056
|
}): Promise<`0x${string}`>;
|
|
654
1057
|
/**
|
|
655
|
-
*
|
|
1058
|
+
* initialize
|
|
656
1059
|
* nonpayable
|
|
657
1060
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
658
1061
|
*/
|
|
659
|
-
|
|
660
|
-
accessList?: import('viem').AccessList;
|
|
661
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
662
|
-
chain?: import('viem').Chain | null;
|
|
663
|
-
dataSuffix?: `0x${string}`;
|
|
664
|
-
gas?: bigint;
|
|
665
|
-
gasPrice?: bigint;
|
|
666
|
-
maxFeePerGas?: bigint;
|
|
667
|
-
maxPriorityFeePerGas?: bigint;
|
|
668
|
-
nonce?: number;
|
|
669
|
-
value?: bigint;
|
|
670
|
-
}): Promise<`0x${string}`>;
|
|
671
|
-
newPinnedAppInstance(_appId: `0x${string}`, _appBase: `0x${string}`, options?: {
|
|
1062
|
+
initialize(_rootValidator: `0x${string}`, hook: `0x${string}`, validatorData: `0x${string}`, hookData: `0x${string}`, options?: {
|
|
672
1063
|
accessList?: import('viem').AccessList;
|
|
673
1064
|
authorizationList?: import('viem').AuthorizationList;
|
|
674
1065
|
chain?: import('viem').Chain | null;
|
|
@@ -680,7 +1071,12 @@ export declare class Kernel_json {
|
|
|
680
1071
|
nonce?: number;
|
|
681
1072
|
value?: bigint;
|
|
682
1073
|
}): Promise<`0x${string}`>;
|
|
683
|
-
|
|
1074
|
+
/**
|
|
1075
|
+
* installModule
|
|
1076
|
+
* payable
|
|
1077
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1078
|
+
*/
|
|
1079
|
+
installModule(moduleType: bigint, module: `0x${string}`, initData: `0x${string}`, options?: {
|
|
684
1080
|
accessList?: import('viem').AccessList;
|
|
685
1081
|
authorizationList?: import('viem').AuthorizationList;
|
|
686
1082
|
chain?: import('viem').Chain | null;
|
|
@@ -693,11 +1089,11 @@ export declare class Kernel_json {
|
|
|
693
1089
|
value?: bigint;
|
|
694
1090
|
}): Promise<`0x${string}`>;
|
|
695
1091
|
/**
|
|
696
|
-
*
|
|
697
|
-
*
|
|
1092
|
+
* installValidations
|
|
1093
|
+
* payable
|
|
698
1094
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
699
1095
|
*/
|
|
700
|
-
|
|
1096
|
+
installValidations(vIds: `0x${string}`[], configs: ValidationManager_ValidationConfig[], validationData: `0x${string}`[], hookData: `0x${string}`[], options?: {
|
|
701
1097
|
accessList?: import('viem').AccessList;
|
|
702
1098
|
authorizationList?: import('viem').AuthorizationList;
|
|
703
1099
|
chain?: import('viem').Chain | null;
|
|
@@ -710,11 +1106,11 @@ export declare class Kernel_json {
|
|
|
710
1106
|
value?: bigint;
|
|
711
1107
|
}): Promise<`0x${string}`>;
|
|
712
1108
|
/**
|
|
713
|
-
*
|
|
714
|
-
*
|
|
1109
|
+
* invalidateNonce
|
|
1110
|
+
* payable
|
|
715
1111
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
716
1112
|
*/
|
|
717
|
-
|
|
1113
|
+
invalidateNonce(nonce: bigint, options?: {
|
|
718
1114
|
accessList?: import('viem').AccessList;
|
|
719
1115
|
authorizationList?: import('viem').AuthorizationList;
|
|
720
1116
|
chain?: import('viem').Chain | null;
|
|
@@ -726,7 +1122,12 @@ export declare class Kernel_json {
|
|
|
726
1122
|
nonce?: number;
|
|
727
1123
|
value?: bigint;
|
|
728
1124
|
}): Promise<`0x${string}`>;
|
|
729
|
-
|
|
1125
|
+
/**
|
|
1126
|
+
* uninstallModule
|
|
1127
|
+
* payable
|
|
1128
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1129
|
+
*/
|
|
1130
|
+
uninstallModule(moduleType: bigint, module: `0x${string}`, deInitData: `0x${string}`, options?: {
|
|
730
1131
|
accessList?: import('viem').AccessList;
|
|
731
1132
|
authorizationList?: import('viem').AuthorizationList;
|
|
732
1133
|
chain?: import('viem').Chain | null;
|
|
@@ -738,7 +1139,12 @@ export declare class Kernel_json {
|
|
|
738
1139
|
nonce?: number;
|
|
739
1140
|
value?: bigint;
|
|
740
1141
|
}): Promise<`0x${string}`>;
|
|
741
|
-
|
|
1142
|
+
/**
|
|
1143
|
+
* uninstallValidation
|
|
1144
|
+
* payable
|
|
1145
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1146
|
+
*/
|
|
1147
|
+
uninstallValidation(vId: `0x${string}`, deinitData: `0x${string}`, hookDeinitData: `0x${string}`, options?: {
|
|
742
1148
|
accessList?: import('viem').AccessList;
|
|
743
1149
|
authorizationList?: import('viem').AuthorizationList;
|
|
744
1150
|
chain?: import('viem').Chain | null;
|
|
@@ -750,7 +1156,12 @@ export declare class Kernel_json {
|
|
|
750
1156
|
nonce?: number;
|
|
751
1157
|
value?: bigint;
|
|
752
1158
|
}): Promise<`0x${string}`>;
|
|
753
|
-
|
|
1159
|
+
/**
|
|
1160
|
+
* upgradeTo
|
|
1161
|
+
* payable
|
|
1162
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1163
|
+
*/
|
|
1164
|
+
upgradeTo(_newImplementation: `0x${string}`, options?: {
|
|
754
1165
|
accessList?: import('viem').AccessList;
|
|
755
1166
|
authorizationList?: import('viem').AuthorizationList;
|
|
756
1167
|
chain?: import('viem').Chain | null;
|
|
@@ -762,7 +1173,12 @@ export declare class Kernel_json {
|
|
|
762
1173
|
nonce?: number;
|
|
763
1174
|
value?: bigint;
|
|
764
1175
|
}): Promise<`0x${string}`>;
|
|
765
|
-
|
|
1176
|
+
/**
|
|
1177
|
+
* validateUserOp
|
|
1178
|
+
* payable
|
|
1179
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1180
|
+
*/
|
|
1181
|
+
validateUserOp(userOp: PackedUserOperation, userOpHash: `0x${string}`, missingAccountFunds: bigint, options?: {
|
|
766
1182
|
accessList?: import('viem').AccessList;
|
|
767
1183
|
authorizationList?: import('viem').AuthorizationList;
|
|
768
1184
|
chain?: import('viem').Chain | null;
|
|
@@ -784,18 +1200,79 @@ export declare class Kernel_json {
|
|
|
784
1200
|
*/
|
|
785
1201
|
get simulate(): {
|
|
786
1202
|
/**
|
|
787
|
-
* Simulate
|
|
1203
|
+
* Simulate execute
|
|
1204
|
+
* Returns gas estimate and result without sending transaction
|
|
1205
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1206
|
+
*/
|
|
1207
|
+
execute(execMode: `0x${string}`, executionCalldata: `0x${string}`, options?: {
|
|
1208
|
+
accessList?: import("viem").AccessList;
|
|
1209
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1210
|
+
chain?: import("viem").Chain | null;
|
|
1211
|
+
dataSuffix?: `0x${string}`;
|
|
1212
|
+
gas?: bigint;
|
|
1213
|
+
gasPrice?: bigint;
|
|
1214
|
+
maxFeePerGas?: bigint;
|
|
1215
|
+
maxPriorityFeePerGas?: bigint;
|
|
1216
|
+
nonce?: number;
|
|
1217
|
+
value?: bigint;
|
|
1218
|
+
}): Promise<void>;
|
|
1219
|
+
/**
|
|
1220
|
+
* Simulate executeFromExecutor
|
|
1221
|
+
* Returns gas estimate and result without sending transaction
|
|
1222
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1223
|
+
*/
|
|
1224
|
+
executeFromExecutor(execMode: `0x${string}`, executionCalldata: `0x${string}`, options?: {
|
|
1225
|
+
accessList?: import("viem").AccessList;
|
|
1226
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1227
|
+
chain?: import("viem").Chain | null;
|
|
1228
|
+
dataSuffix?: `0x${string}`;
|
|
1229
|
+
gas?: bigint;
|
|
1230
|
+
gasPrice?: bigint;
|
|
1231
|
+
maxFeePerGas?: bigint;
|
|
1232
|
+
maxPriorityFeePerGas?: bigint;
|
|
1233
|
+
nonce?: number;
|
|
1234
|
+
value?: bigint;
|
|
1235
|
+
}): Promise<`0x${string}`[]>;
|
|
1236
|
+
/**
|
|
1237
|
+
* Simulate executeUserOp
|
|
788
1238
|
* Returns gas estimate and result without sending transaction
|
|
789
|
-
* Supports multiple overloads: (bytes32, address, bytes, bool), (bytes32, address)
|
|
790
1239
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
791
1240
|
*/
|
|
792
|
-
|
|
1241
|
+
executeUserOp(userOp: PackedUserOperation, userOpHash: `0x${string}`, options?: {
|
|
1242
|
+
accessList?: import("viem").AccessList;
|
|
1243
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1244
|
+
chain?: import("viem").Chain | null;
|
|
1245
|
+
dataSuffix?: `0x${string}`;
|
|
1246
|
+
gas?: bigint;
|
|
1247
|
+
gasPrice?: bigint;
|
|
1248
|
+
maxFeePerGas?: bigint;
|
|
1249
|
+
maxPriorityFeePerGas?: bigint;
|
|
1250
|
+
nonce?: number;
|
|
1251
|
+
value?: bigint;
|
|
1252
|
+
}): Promise<void>;
|
|
793
1253
|
/**
|
|
794
1254
|
* Simulate initialize
|
|
795
1255
|
* Returns gas estimate and result without sending transaction
|
|
796
1256
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
797
1257
|
*/
|
|
798
|
-
initialize(
|
|
1258
|
+
initialize(_rootValidator: `0x${string}`, hook: `0x${string}`, validatorData: `0x${string}`, hookData: `0x${string}`, options?: {
|
|
1259
|
+
accessList?: import("viem").AccessList;
|
|
1260
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1261
|
+
chain?: import("viem").Chain | null;
|
|
1262
|
+
dataSuffix?: `0x${string}`;
|
|
1263
|
+
gas?: bigint;
|
|
1264
|
+
gasPrice?: bigint;
|
|
1265
|
+
maxFeePerGas?: bigint;
|
|
1266
|
+
maxPriorityFeePerGas?: bigint;
|
|
1267
|
+
nonce?: number;
|
|
1268
|
+
value?: bigint;
|
|
1269
|
+
}): Promise<void>;
|
|
1270
|
+
/**
|
|
1271
|
+
* Simulate installModule
|
|
1272
|
+
* Returns gas estimate and result without sending transaction
|
|
1273
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1274
|
+
*/
|
|
1275
|
+
installModule(moduleType: bigint, module: `0x${string}`, initData: `0x${string}`, options?: {
|
|
799
1276
|
accessList?: import("viem").AccessList;
|
|
800
1277
|
authorizationList?: import("viem").AuthorizationList;
|
|
801
1278
|
chain?: import("viem").Chain | null;
|
|
@@ -808,11 +1285,11 @@ export declare class Kernel_json {
|
|
|
808
1285
|
value?: bigint;
|
|
809
1286
|
}): Promise<void>;
|
|
810
1287
|
/**
|
|
811
|
-
* Simulate
|
|
1288
|
+
* Simulate installValidations
|
|
812
1289
|
* Returns gas estimate and result without sending transaction
|
|
813
1290
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
814
1291
|
*/
|
|
815
|
-
|
|
1292
|
+
installValidations(vIds: `0x${string}`[], configs: ValidationManager_ValidationConfig[], validationData: `0x${string}`[], hookData: `0x${string}`[], options?: {
|
|
816
1293
|
accessList?: import("viem").AccessList;
|
|
817
1294
|
authorizationList?: import("viem").AuthorizationList;
|
|
818
1295
|
chain?: import("viem").Chain | null;
|
|
@@ -825,18 +1302,28 @@ export declare class Kernel_json {
|
|
|
825
1302
|
value?: bigint;
|
|
826
1303
|
}): Promise<void>;
|
|
827
1304
|
/**
|
|
828
|
-
* Simulate
|
|
1305
|
+
* Simulate invalidateNonce
|
|
829
1306
|
* Returns gas estimate and result without sending transaction
|
|
830
|
-
* Supports multiple overloads: (bytes32, address), (bytes32, address, bytes, bool)
|
|
831
1307
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
832
1308
|
*/
|
|
833
|
-
|
|
1309
|
+
invalidateNonce(nonce: bigint, options?: {
|
|
1310
|
+
accessList?: import("viem").AccessList;
|
|
1311
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1312
|
+
chain?: import("viem").Chain | null;
|
|
1313
|
+
dataSuffix?: `0x${string}`;
|
|
1314
|
+
gas?: bigint;
|
|
1315
|
+
gasPrice?: bigint;
|
|
1316
|
+
maxFeePerGas?: bigint;
|
|
1317
|
+
maxPriorityFeePerGas?: bigint;
|
|
1318
|
+
nonce?: number;
|
|
1319
|
+
value?: bigint;
|
|
1320
|
+
}): Promise<void>;
|
|
834
1321
|
/**
|
|
835
|
-
* Simulate
|
|
1322
|
+
* Simulate uninstallModule
|
|
836
1323
|
* Returns gas estimate and result without sending transaction
|
|
837
1324
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
838
1325
|
*/
|
|
839
|
-
|
|
1326
|
+
uninstallModule(moduleType: bigint, module: `0x${string}`, deInitData: `0x${string}`, options?: {
|
|
840
1327
|
accessList?: import("viem").AccessList;
|
|
841
1328
|
authorizationList?: import("viem").AuthorizationList;
|
|
842
1329
|
chain?: import("viem").Chain | null;
|
|
@@ -849,11 +1336,11 @@ export declare class Kernel_json {
|
|
|
849
1336
|
value?: bigint;
|
|
850
1337
|
}): Promise<void>;
|
|
851
1338
|
/**
|
|
852
|
-
* Simulate
|
|
1339
|
+
* Simulate uninstallValidation
|
|
853
1340
|
* Returns gas estimate and result without sending transaction
|
|
854
1341
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
855
1342
|
*/
|
|
856
|
-
|
|
1343
|
+
uninstallValidation(vId: `0x${string}`, deinitData: `0x${string}`, hookDeinitData: `0x${string}`, options?: {
|
|
857
1344
|
accessList?: import("viem").AccessList;
|
|
858
1345
|
authorizationList?: import("viem").AuthorizationList;
|
|
859
1346
|
chain?: import("viem").Chain | null;
|
|
@@ -866,19 +1353,39 @@ export declare class Kernel_json {
|
|
|
866
1353
|
value?: bigint;
|
|
867
1354
|
}): Promise<void>;
|
|
868
1355
|
/**
|
|
869
|
-
* Simulate
|
|
1356
|
+
* Simulate upgradeTo
|
|
870
1357
|
* Returns gas estimate and result without sending transaction
|
|
871
|
-
* Supports multiple overloads: (address, bytes32, bytes), (address, bytes32)
|
|
872
1358
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
873
1359
|
*/
|
|
874
|
-
|
|
1360
|
+
upgradeTo(_newImplementation: `0x${string}`, options?: {
|
|
1361
|
+
accessList?: import("viem").AccessList;
|
|
1362
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1363
|
+
chain?: import("viem").Chain | null;
|
|
1364
|
+
dataSuffix?: `0x${string}`;
|
|
1365
|
+
gas?: bigint;
|
|
1366
|
+
gasPrice?: bigint;
|
|
1367
|
+
maxFeePerGas?: bigint;
|
|
1368
|
+
maxPriorityFeePerGas?: bigint;
|
|
1369
|
+
nonce?: number;
|
|
1370
|
+
value?: bigint;
|
|
1371
|
+
}): Promise<void>;
|
|
875
1372
|
/**
|
|
876
|
-
* Simulate
|
|
1373
|
+
* Simulate validateUserOp
|
|
877
1374
|
* Returns gas estimate and result without sending transaction
|
|
878
|
-
* Supports multiple overloads: (address, bytes32), (address, bytes32, bytes)
|
|
879
1375
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
880
1376
|
*/
|
|
881
|
-
|
|
1377
|
+
validateUserOp(userOp: PackedUserOperation, userOpHash: `0x${string}`, missingAccountFunds: bigint, options?: {
|
|
1378
|
+
accessList?: import("viem").AccessList;
|
|
1379
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1380
|
+
chain?: import("viem").Chain | null;
|
|
1381
|
+
dataSuffix?: `0x${string}`;
|
|
1382
|
+
gas?: bigint;
|
|
1383
|
+
gasPrice?: bigint;
|
|
1384
|
+
maxFeePerGas?: bigint;
|
|
1385
|
+
maxPriorityFeePerGas?: bigint;
|
|
1386
|
+
nonce?: number;
|
|
1387
|
+
value?: bigint;
|
|
1388
|
+
}): Promise<bigint>;
|
|
882
1389
|
};
|
|
883
1390
|
/**
|
|
884
1391
|
* Watch contract events
|
|
@@ -894,43 +1401,132 @@ export declare class Kernel_json {
|
|
|
894
1401
|
*/
|
|
895
1402
|
get watch(): {
|
|
896
1403
|
/**
|
|
897
|
-
* Watch
|
|
1404
|
+
* Watch ModuleInstalled events
|
|
1405
|
+
* @param callback Function to call when event is emitted
|
|
1406
|
+
* @param filter Optional filter for indexed parameters
|
|
1407
|
+
* @returns Unwatch function to stop listening
|
|
1408
|
+
*/
|
|
1409
|
+
ModuleInstalled: (callback: (event: {
|
|
1410
|
+
moduleTypeId: bigint;
|
|
1411
|
+
module: `0x${string}`;
|
|
1412
|
+
}) => void) => () => void;
|
|
1413
|
+
/**
|
|
1414
|
+
* Watch ModuleUninstallResult events
|
|
1415
|
+
* @param callback Function to call when event is emitted
|
|
1416
|
+
* @param filter Optional filter for indexed parameters
|
|
1417
|
+
* @returns Unwatch function to stop listening
|
|
1418
|
+
*/
|
|
1419
|
+
ModuleUninstallResult: (callback: (event: {
|
|
1420
|
+
module: `0x${string}`;
|
|
1421
|
+
result: boolean;
|
|
1422
|
+
}) => void) => () => void;
|
|
1423
|
+
/**
|
|
1424
|
+
* Watch ModuleUninstalled events
|
|
1425
|
+
* @param callback Function to call when event is emitted
|
|
1426
|
+
* @param filter Optional filter for indexed parameters
|
|
1427
|
+
* @returns Unwatch function to stop listening
|
|
1428
|
+
*/
|
|
1429
|
+
ModuleUninstalled: (callback: (event: {
|
|
1430
|
+
moduleTypeId: bigint;
|
|
1431
|
+
module: `0x${string}`;
|
|
1432
|
+
}) => void) => () => void;
|
|
1433
|
+
/**
|
|
1434
|
+
* Watch NonceInvalidated events
|
|
1435
|
+
* @param callback Function to call when event is emitted
|
|
1436
|
+
* @param filter Optional filter for indexed parameters
|
|
1437
|
+
* @returns Unwatch function to stop listening
|
|
1438
|
+
*/
|
|
1439
|
+
NonceInvalidated: (callback: (event: {
|
|
1440
|
+
nonce: bigint;
|
|
1441
|
+
}) => void) => () => void;
|
|
1442
|
+
/**
|
|
1443
|
+
* Watch PermissionInstalled events
|
|
1444
|
+
* @param callback Function to call when event is emitted
|
|
1445
|
+
* @param filter Optional filter for indexed parameters
|
|
1446
|
+
* @returns Unwatch function to stop listening
|
|
1447
|
+
*/
|
|
1448
|
+
PermissionInstalled: (callback: (event: {
|
|
1449
|
+
permission: `0x${string}`;
|
|
1450
|
+
nonce: bigint;
|
|
1451
|
+
}) => void) => () => void;
|
|
1452
|
+
/**
|
|
1453
|
+
* Watch PermissionUninstalled events
|
|
898
1454
|
* @param callback Function to call when event is emitted
|
|
899
1455
|
* @param filter Optional filter for indexed parameters
|
|
900
1456
|
* @returns Unwatch function to stop listening
|
|
901
1457
|
*/
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
isUpgradeable: boolean;
|
|
905
|
-
appId: `0x${string}`;
|
|
1458
|
+
PermissionUninstalled: (callback: (event: {
|
|
1459
|
+
permission: `0x${string}`;
|
|
906
1460
|
}) => void) => () => void;
|
|
907
1461
|
/**
|
|
908
|
-
* Watch
|
|
1462
|
+
* Watch Received events
|
|
909
1463
|
* @param callback Function to call when event is emitted
|
|
910
1464
|
* @param filter Optional filter for indexed parameters
|
|
911
1465
|
* @returns Unwatch function to stop listening
|
|
912
1466
|
*/
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
token: `0x${string}`;
|
|
1467
|
+
Received: (callback: (event: {
|
|
1468
|
+
sender: `0x${string}`;
|
|
916
1469
|
amount: bigint;
|
|
917
|
-
}) => void
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
1470
|
+
}) => void) => () => void;
|
|
1471
|
+
/**
|
|
1472
|
+
* Watch RootValidatorUpdated events
|
|
1473
|
+
* @param callback Function to call when event is emitted
|
|
1474
|
+
* @param filter Optional filter for indexed parameters
|
|
1475
|
+
* @returns Unwatch function to stop listening
|
|
1476
|
+
*/
|
|
1477
|
+
RootValidatorUpdated: (callback: (event: {
|
|
1478
|
+
rootValidator: `0x${string}`;
|
|
1479
|
+
}) => void) => () => void;
|
|
1480
|
+
/**
|
|
1481
|
+
* Watch SelectorSet events
|
|
1482
|
+
* @param callback Function to call when event is emitted
|
|
1483
|
+
* @param filter Optional filter for indexed parameters
|
|
1484
|
+
* @returns Unwatch function to stop listening
|
|
1485
|
+
*/
|
|
1486
|
+
SelectorSet: (callback: (event: {
|
|
1487
|
+
selector: `0x${string}`;
|
|
1488
|
+
vId: `0x${string}`;
|
|
1489
|
+
allowed: boolean;
|
|
1490
|
+
}) => void) => () => void;
|
|
1491
|
+
/**
|
|
1492
|
+
* Watch TryExecuteUnsuccessful events
|
|
1493
|
+
* @param callback Function to call when event is emitted
|
|
1494
|
+
* @param filter Optional filter for indexed parameters
|
|
1495
|
+
* @returns Unwatch function to stop listening
|
|
1496
|
+
*/
|
|
1497
|
+
TryExecuteUnsuccessful: (callback: (event: {
|
|
1498
|
+
batchExecutionindex: bigint;
|
|
1499
|
+
result: `0x${string}`;
|
|
1500
|
+
}) => void) => () => void;
|
|
921
1501
|
/**
|
|
922
|
-
* Watch
|
|
1502
|
+
* Watch Upgraded events
|
|
923
1503
|
* @param callback Function to call when event is emitted
|
|
924
1504
|
* @param filter Optional filter for indexed parameters
|
|
925
1505
|
* @returns Unwatch function to stop listening
|
|
926
1506
|
*/
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
appId: `0x${string}`;
|
|
930
|
-
app: `0x${string}`;
|
|
1507
|
+
Upgraded: (callback: (event: {
|
|
1508
|
+
implementation: `0x${string}`;
|
|
931
1509
|
}) => void, filter?: {
|
|
932
|
-
|
|
933
|
-
appId: `0x${string}`;
|
|
1510
|
+
implementation: `0x${string}`;
|
|
934
1511
|
}) => () => void;
|
|
1512
|
+
/**
|
|
1513
|
+
* Watch ValidatorInstalled events
|
|
1514
|
+
* @param callback Function to call when event is emitted
|
|
1515
|
+
* @param filter Optional filter for indexed parameters
|
|
1516
|
+
* @returns Unwatch function to stop listening
|
|
1517
|
+
*/
|
|
1518
|
+
ValidatorInstalled: (callback: (event: {
|
|
1519
|
+
validator: `0x${string}`;
|
|
1520
|
+
nonce: bigint;
|
|
1521
|
+
}) => void) => () => void;
|
|
1522
|
+
/**
|
|
1523
|
+
* Watch ValidatorUninstalled events
|
|
1524
|
+
* @param callback Function to call when event is emitted
|
|
1525
|
+
* @param filter Optional filter for indexed parameters
|
|
1526
|
+
* @returns Unwatch function to stop listening
|
|
1527
|
+
*/
|
|
1528
|
+
ValidatorUninstalled: (callback: (event: {
|
|
1529
|
+
validator: `0x${string}`;
|
|
1530
|
+
}) => void) => () => void;
|
|
935
1531
|
};
|
|
936
1532
|
}
|