@gitmyabi/kernel 1.0.15 → 1.0.17
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 +3 -3
- package/contracts/Kernel_json.d.ts +299 -888
- package/contracts/Kernel_json.js +322 -1057
- package/contracts/Kernel_json.ts +313 -1142
- package/package.json +3 -3
|
@@ -1,46 +1,36 @@
|
|
|
1
1
|
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Call struct type
|
|
4
4
|
*/
|
|
5
|
-
export type
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
callData: `0x${string}`;
|
|
10
|
-
accountGasLimits: `0x${string}`;
|
|
11
|
-
preVerificationGas: bigint;
|
|
12
|
-
gasFees: `0x${string}`;
|
|
13
|
-
paymasterAndData: `0x${string}`;
|
|
14
|
-
signature: `0x${string}`;
|
|
5
|
+
export type Call = {
|
|
6
|
+
to: `0x${string}`;
|
|
7
|
+
value: bigint;
|
|
8
|
+
data: `0x${string}`;
|
|
15
9
|
};
|
|
16
10
|
/**
|
|
17
|
-
*
|
|
11
|
+
* ExecutionDetail struct type
|
|
18
12
|
*/
|
|
19
|
-
export type
|
|
20
|
-
|
|
13
|
+
export type ExecutionDetail = {
|
|
14
|
+
validAfter: bigint;
|
|
15
|
+
validUntil: bigint;
|
|
16
|
+
executor: `0x${string}`;
|
|
17
|
+
validator: `0x${string}`;
|
|
21
18
|
};
|
|
22
19
|
/**
|
|
23
|
-
*
|
|
20
|
+
* UserOperation struct type
|
|
24
21
|
*/
|
|
25
|
-
export type
|
|
22
|
+
export type UserOperation = {
|
|
23
|
+
sender: `0x${string}`;
|
|
26
24
|
nonce: bigint;
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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}`;
|
|
25
|
+
initCode: `0x${string}`;
|
|
26
|
+
callData: `0x${string}`;
|
|
27
|
+
callGasLimit: bigint;
|
|
28
|
+
verificationGasLimit: bigint;
|
|
29
|
+
preVerificationGas: bigint;
|
|
30
|
+
maxFeePerGas: bigint;
|
|
31
|
+
maxPriorityFeePerGas: bigint;
|
|
32
|
+
paymasterAndData: `0x${string}`;
|
|
33
|
+
signature: `0x${string}`;
|
|
44
34
|
};
|
|
45
35
|
/**
|
|
46
36
|
* Kernel_json ABI
|
|
@@ -50,198 +40,65 @@ export type SelectorManager_SelectorConfig = {
|
|
|
50
40
|
export declare const Kernel_jsonAbi: readonly [{
|
|
51
41
|
readonly inputs: readonly [{
|
|
52
42
|
readonly internalType: "contract IEntryPoint";
|
|
53
|
-
readonly name: "
|
|
43
|
+
readonly name: "_entryPoint";
|
|
54
44
|
readonly type: "address";
|
|
55
45
|
}];
|
|
56
46
|
readonly stateMutability: "nonpayable";
|
|
57
47
|
readonly type: "constructor";
|
|
58
48
|
}, {
|
|
59
49
|
readonly inputs: readonly [];
|
|
60
|
-
readonly name: "
|
|
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";
|
|
71
|
-
}];
|
|
72
|
-
readonly name: "InitConfigError";
|
|
73
|
-
readonly type: "error";
|
|
74
|
-
}, {
|
|
75
|
-
readonly inputs: readonly [];
|
|
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";
|
|
50
|
+
readonly name: "AlreadyInitialized";
|
|
117
51
|
readonly type: "error";
|
|
118
52
|
}, {
|
|
119
53
|
readonly inputs: readonly [];
|
|
120
|
-
readonly name: "
|
|
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";
|
|
151
|
-
}];
|
|
152
|
-
readonly name: "PolicyFailed";
|
|
54
|
+
readonly name: "DeprecatedOperation";
|
|
153
55
|
readonly type: "error";
|
|
154
56
|
}, {
|
|
155
57
|
readonly inputs: readonly [];
|
|
156
|
-
readonly name: "
|
|
58
|
+
readonly name: "DisabledMode";
|
|
157
59
|
readonly type: "error";
|
|
158
60
|
}, {
|
|
159
61
|
readonly inputs: readonly [];
|
|
160
|
-
readonly name: "
|
|
62
|
+
readonly name: "NotAuthorizedCaller";
|
|
161
63
|
readonly type: "error";
|
|
162
64
|
}, {
|
|
163
65
|
readonly inputs: readonly [];
|
|
164
|
-
readonly name: "
|
|
66
|
+
readonly name: "NotEntryPoint";
|
|
165
67
|
readonly type: "error";
|
|
166
68
|
}, {
|
|
167
69
|
readonly anonymous: false;
|
|
168
70
|
readonly inputs: readonly [{
|
|
169
|
-
readonly indexed:
|
|
170
|
-
readonly internalType: "uint256";
|
|
171
|
-
readonly name: "moduleTypeId";
|
|
172
|
-
readonly type: "uint256";
|
|
173
|
-
}, {
|
|
174
|
-
readonly indexed: false;
|
|
71
|
+
readonly indexed: true;
|
|
175
72
|
readonly internalType: "address";
|
|
176
|
-
readonly name: "
|
|
73
|
+
readonly name: "oldValidator";
|
|
177
74
|
readonly type: "address";
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
readonly type: "event";
|
|
181
|
-
}, {
|
|
182
|
-
readonly anonymous: false;
|
|
183
|
-
readonly inputs: readonly [{
|
|
184
|
-
readonly indexed: false;
|
|
75
|
+
}, {
|
|
76
|
+
readonly indexed: true;
|
|
185
77
|
readonly internalType: "address";
|
|
186
|
-
readonly name: "
|
|
78
|
+
readonly name: "newValidator";
|
|
187
79
|
readonly type: "address";
|
|
188
|
-
}, {
|
|
189
|
-
readonly indexed: false;
|
|
190
|
-
readonly internalType: "bool";
|
|
191
|
-
readonly name: "result";
|
|
192
|
-
readonly type: "bool";
|
|
193
80
|
}];
|
|
194
|
-
readonly name: "
|
|
81
|
+
readonly name: "DefaultValidatorChanged";
|
|
195
82
|
readonly type: "event";
|
|
196
83
|
}, {
|
|
197
84
|
readonly anonymous: false;
|
|
198
85
|
readonly inputs: readonly [{
|
|
199
|
-
readonly indexed:
|
|
200
|
-
readonly internalType: "
|
|
201
|
-
readonly name: "
|
|
202
|
-
readonly type: "
|
|
86
|
+
readonly indexed: true;
|
|
87
|
+
readonly internalType: "bytes4";
|
|
88
|
+
readonly name: "selector";
|
|
89
|
+
readonly type: "bytes4";
|
|
203
90
|
}, {
|
|
204
|
-
readonly indexed:
|
|
91
|
+
readonly indexed: true;
|
|
205
92
|
readonly internalType: "address";
|
|
206
|
-
readonly name: "
|
|
93
|
+
readonly name: "executor";
|
|
207
94
|
readonly type: "address";
|
|
208
|
-
}];
|
|
209
|
-
readonly name: "ModuleUninstalled";
|
|
210
|
-
readonly type: "event";
|
|
211
|
-
}, {
|
|
212
|
-
readonly anonymous: false;
|
|
213
|
-
readonly inputs: 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";
|
|
228
95
|
}, {
|
|
229
|
-
readonly indexed:
|
|
230
|
-
readonly internalType: "
|
|
231
|
-
readonly name: "
|
|
232
|
-
readonly type: "
|
|
233
|
-
}];
|
|
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";
|
|
96
|
+
readonly indexed: true;
|
|
97
|
+
readonly internalType: "address";
|
|
98
|
+
readonly name: "validator";
|
|
99
|
+
readonly type: "address";
|
|
243
100
|
}];
|
|
244
|
-
readonly name: "
|
|
101
|
+
readonly name: "ExecutionChanged";
|
|
245
102
|
readonly type: "event";
|
|
246
103
|
}, {
|
|
247
104
|
readonly anonymous: false;
|
|
@@ -258,131 +115,29 @@ export declare const Kernel_jsonAbi: readonly [{
|
|
|
258
115
|
}];
|
|
259
116
|
readonly name: "Received";
|
|
260
117
|
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
118
|
}, {
|
|
307
119
|
readonly anonymous: false;
|
|
308
120
|
readonly inputs: readonly [{
|
|
309
121
|
readonly indexed: true;
|
|
310
122
|
readonly internalType: "address";
|
|
311
|
-
readonly name: "
|
|
123
|
+
readonly name: "newImplementation";
|
|
312
124
|
readonly type: "address";
|
|
313
125
|
}];
|
|
314
126
|
readonly name: "Upgraded";
|
|
315
127
|
readonly type: "event";
|
|
316
|
-
}, {
|
|
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";
|
|
328
|
-
}];
|
|
329
|
-
readonly name: "ValidatorInstalled";
|
|
330
|
-
readonly type: "event";
|
|
331
|
-
}, {
|
|
332
|
-
readonly anonymous: false;
|
|
333
|
-
readonly inputs: readonly [{
|
|
334
|
-
readonly indexed: false;
|
|
335
|
-
readonly internalType: "contract IValidator";
|
|
336
|
-
readonly name: "validator";
|
|
337
|
-
readonly type: "address";
|
|
338
|
-
}];
|
|
339
|
-
readonly name: "ValidatorUninstalled";
|
|
340
|
-
readonly type: "event";
|
|
341
128
|
}, {
|
|
342
129
|
readonly stateMutability: "payable";
|
|
343
130
|
readonly type: "fallback";
|
|
344
|
-
}, {
|
|
345
|
-
readonly inputs: readonly [];
|
|
346
|
-
readonly name: "accountId";
|
|
347
|
-
readonly outputs: readonly [{
|
|
348
|
-
readonly internalType: "string";
|
|
349
|
-
readonly name: "accountImplementationId";
|
|
350
|
-
readonly type: "string";
|
|
351
|
-
}];
|
|
352
|
-
readonly stateMutability: "pure";
|
|
353
|
-
readonly type: "function";
|
|
354
131
|
}, {
|
|
355
132
|
readonly inputs: readonly [{
|
|
356
|
-
readonly internalType: "
|
|
357
|
-
readonly name: "
|
|
358
|
-
readonly type: "
|
|
359
|
-
}, {
|
|
360
|
-
readonly internalType: "contract IHook";
|
|
361
|
-
readonly name: "hook";
|
|
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";
|
|
133
|
+
readonly internalType: "bytes4";
|
|
134
|
+
readonly name: "_disableFlag";
|
|
135
|
+
readonly type: "bytes4";
|
|
371
136
|
}];
|
|
372
|
-
readonly name: "
|
|
137
|
+
readonly name: "disableMode";
|
|
373
138
|
readonly outputs: readonly [];
|
|
374
139
|
readonly stateMutability: "payable";
|
|
375
140
|
readonly type: "function";
|
|
376
|
-
}, {
|
|
377
|
-
readonly inputs: readonly [];
|
|
378
|
-
readonly name: "currentNonce";
|
|
379
|
-
readonly outputs: readonly [{
|
|
380
|
-
readonly internalType: "uint32";
|
|
381
|
-
readonly name: "";
|
|
382
|
-
readonly type: "uint32";
|
|
383
|
-
}];
|
|
384
|
-
readonly stateMutability: "view";
|
|
385
|
-
readonly type: "function";
|
|
386
141
|
}, {
|
|
387
142
|
readonly inputs: readonly [];
|
|
388
143
|
readonly name: "eip712Domain";
|
|
@@ -419,7 +174,7 @@ export declare const Kernel_jsonAbi: readonly [{
|
|
|
419
174
|
readonly type: "function";
|
|
420
175
|
}, {
|
|
421
176
|
readonly inputs: readonly [];
|
|
422
|
-
readonly name: "
|
|
177
|
+
readonly name: "entryPoint";
|
|
423
178
|
readonly outputs: readonly [{
|
|
424
179
|
readonly internalType: "contract IEntryPoint";
|
|
425
180
|
readonly name: "";
|
|
@@ -429,230 +184,161 @@ export declare const Kernel_jsonAbi: readonly [{
|
|
|
429
184
|
readonly type: "function";
|
|
430
185
|
}, {
|
|
431
186
|
readonly inputs: readonly [{
|
|
432
|
-
readonly internalType: "
|
|
433
|
-
readonly name: "
|
|
434
|
-
readonly type: "
|
|
187
|
+
readonly internalType: "address";
|
|
188
|
+
readonly name: "to";
|
|
189
|
+
readonly type: "address";
|
|
190
|
+
}, {
|
|
191
|
+
readonly internalType: "uint256";
|
|
192
|
+
readonly name: "value";
|
|
193
|
+
readonly type: "uint256";
|
|
435
194
|
}, {
|
|
436
195
|
readonly internalType: "bytes";
|
|
437
|
-
readonly name: "
|
|
196
|
+
readonly name: "data";
|
|
438
197
|
readonly type: "bytes";
|
|
198
|
+
}, {
|
|
199
|
+
readonly internalType: "enum Operation";
|
|
200
|
+
readonly name: "_operation";
|
|
201
|
+
readonly type: "uint8";
|
|
439
202
|
}];
|
|
440
203
|
readonly name: "execute";
|
|
441
204
|
readonly outputs: readonly [];
|
|
442
205
|
readonly stateMutability: "payable";
|
|
443
206
|
readonly type: "function";
|
|
444
|
-
}, {
|
|
445
|
-
readonly inputs: readonly [{
|
|
446
|
-
readonly internalType: "ExecMode";
|
|
447
|
-
readonly name: "execMode";
|
|
448
|
-
readonly type: "bytes32";
|
|
449
|
-
}, {
|
|
450
|
-
readonly internalType: "bytes";
|
|
451
|
-
readonly name: "executionCalldata";
|
|
452
|
-
readonly type: "bytes";
|
|
453
|
-
}];
|
|
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";
|
|
461
|
-
readonly type: "function";
|
|
462
207
|
}, {
|
|
463
208
|
readonly inputs: readonly [{
|
|
464
209
|
readonly components: readonly [{
|
|
465
210
|
readonly internalType: "address";
|
|
466
|
-
readonly name: "
|
|
211
|
+
readonly name: "to";
|
|
467
212
|
readonly type: "address";
|
|
468
213
|
}, {
|
|
469
214
|
readonly internalType: "uint256";
|
|
470
|
-
readonly name: "
|
|
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";
|
|
215
|
+
readonly name: "value";
|
|
487
216
|
readonly type: "uint256";
|
|
488
|
-
}, {
|
|
489
|
-
readonly internalType: "bytes32";
|
|
490
|
-
readonly name: "gasFees";
|
|
491
|
-
readonly type: "bytes32";
|
|
492
217
|
}, {
|
|
493
218
|
readonly internalType: "bytes";
|
|
494
|
-
readonly name: "
|
|
495
|
-
readonly type: "bytes";
|
|
496
|
-
}, {
|
|
497
|
-
readonly internalType: "bytes";
|
|
498
|
-
readonly name: "signature";
|
|
219
|
+
readonly name: "data";
|
|
499
220
|
readonly type: "bytes";
|
|
500
221
|
}];
|
|
501
|
-
readonly internalType: "struct
|
|
502
|
-
readonly name: "
|
|
503
|
-
readonly type: "tuple";
|
|
504
|
-
}, {
|
|
505
|
-
readonly internalType: "bytes32";
|
|
506
|
-
readonly name: "userOpHash";
|
|
507
|
-
readonly type: "bytes32";
|
|
222
|
+
readonly internalType: "struct Call[]";
|
|
223
|
+
readonly name: "calls";
|
|
224
|
+
readonly type: "tuple[]";
|
|
508
225
|
}];
|
|
509
|
-
readonly name: "
|
|
226
|
+
readonly name: "executeBatch";
|
|
510
227
|
readonly outputs: readonly [];
|
|
511
228
|
readonly stateMutability: "payable";
|
|
512
229
|
readonly type: "function";
|
|
513
230
|
}, {
|
|
514
231
|
readonly inputs: readonly [{
|
|
515
|
-
readonly internalType: "
|
|
516
|
-
readonly name: "
|
|
517
|
-
readonly type: "address";
|
|
518
|
-
}];
|
|
519
|
-
readonly name: "executorConfig";
|
|
520
|
-
readonly outputs: 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";
|
|
232
|
+
readonly internalType: "address";
|
|
233
|
+
readonly name: "to";
|
|
540
234
|
readonly type: "address";
|
|
541
235
|
}, {
|
|
542
236
|
readonly internalType: "bytes";
|
|
543
|
-
readonly name: "
|
|
544
|
-
readonly type: "bytes";
|
|
545
|
-
}, {
|
|
546
|
-
readonly internalType: "bytes";
|
|
547
|
-
readonly name: "hookData";
|
|
237
|
+
readonly name: "data";
|
|
548
238
|
readonly type: "bytes";
|
|
549
|
-
}, {
|
|
550
|
-
readonly internalType: "bytes[]";
|
|
551
|
-
readonly name: "initConfig";
|
|
552
|
-
readonly type: "bytes[]";
|
|
553
239
|
}];
|
|
554
|
-
readonly name: "
|
|
240
|
+
readonly name: "executeDelegateCall";
|
|
555
241
|
readonly outputs: readonly [];
|
|
556
|
-
readonly stateMutability: "
|
|
242
|
+
readonly stateMutability: "payable";
|
|
557
243
|
readonly type: "function";
|
|
558
244
|
}, {
|
|
559
|
-
readonly inputs: readonly [
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
readonly
|
|
563
|
-
|
|
564
|
-
readonly internalType: "address";
|
|
565
|
-
readonly name: "module";
|
|
245
|
+
readonly inputs: readonly [];
|
|
246
|
+
readonly name: "getDefaultValidator";
|
|
247
|
+
readonly outputs: readonly [{
|
|
248
|
+
readonly internalType: "contract IKernelValidator";
|
|
249
|
+
readonly name: "validator";
|
|
566
250
|
readonly type: "address";
|
|
567
|
-
}, {
|
|
568
|
-
readonly internalType: "bytes";
|
|
569
|
-
readonly name: "initData";
|
|
570
|
-
readonly type: "bytes";
|
|
571
251
|
}];
|
|
572
|
-
readonly
|
|
573
|
-
readonly
|
|
574
|
-
|
|
252
|
+
readonly stateMutability: "view";
|
|
253
|
+
readonly type: "function";
|
|
254
|
+
}, {
|
|
255
|
+
readonly inputs: readonly [];
|
|
256
|
+
readonly name: "getDisabledMode";
|
|
257
|
+
readonly outputs: readonly [{
|
|
258
|
+
readonly internalType: "bytes4";
|
|
259
|
+
readonly name: "disabled";
|
|
260
|
+
readonly type: "bytes4";
|
|
261
|
+
}];
|
|
262
|
+
readonly stateMutability: "view";
|
|
575
263
|
readonly type: "function";
|
|
576
264
|
}, {
|
|
577
265
|
readonly inputs: readonly [{
|
|
578
|
-
readonly internalType: "
|
|
579
|
-
readonly name: "
|
|
580
|
-
readonly type: "
|
|
581
|
-
}
|
|
266
|
+
readonly internalType: "bytes4";
|
|
267
|
+
readonly name: "_selector";
|
|
268
|
+
readonly type: "bytes4";
|
|
269
|
+
}];
|
|
270
|
+
readonly name: "getExecution";
|
|
271
|
+
readonly outputs: readonly [{
|
|
582
272
|
readonly components: readonly [{
|
|
583
|
-
readonly internalType: "
|
|
584
|
-
readonly name: "
|
|
585
|
-
readonly type: "
|
|
273
|
+
readonly internalType: "ValidAfter";
|
|
274
|
+
readonly name: "validAfter";
|
|
275
|
+
readonly type: "uint48";
|
|
586
276
|
}, {
|
|
587
|
-
readonly internalType: "
|
|
588
|
-
readonly name: "
|
|
277
|
+
readonly internalType: "ValidUntil";
|
|
278
|
+
readonly name: "validUntil";
|
|
279
|
+
readonly type: "uint48";
|
|
280
|
+
}, {
|
|
281
|
+
readonly internalType: "address";
|
|
282
|
+
readonly name: "executor";
|
|
283
|
+
readonly type: "address";
|
|
284
|
+
}, {
|
|
285
|
+
readonly internalType: "contract IKernelValidator";
|
|
286
|
+
readonly name: "validator";
|
|
589
287
|
readonly type: "address";
|
|
590
288
|
}];
|
|
591
|
-
readonly internalType: "struct
|
|
592
|
-
readonly name: "
|
|
593
|
-
readonly type: "tuple
|
|
594
|
-
}, {
|
|
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[]";
|
|
289
|
+
readonly internalType: "struct ExecutionDetail";
|
|
290
|
+
readonly name: "";
|
|
291
|
+
readonly type: "tuple";
|
|
602
292
|
}];
|
|
603
|
-
readonly
|
|
604
|
-
readonly outputs: readonly [];
|
|
605
|
-
readonly stateMutability: "payable";
|
|
293
|
+
readonly stateMutability: "view";
|
|
606
294
|
readonly type: "function";
|
|
607
295
|
}, {
|
|
608
|
-
readonly inputs: readonly [
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
readonly
|
|
296
|
+
readonly inputs: readonly [];
|
|
297
|
+
readonly name: "getLastDisabledTime";
|
|
298
|
+
readonly outputs: readonly [{
|
|
299
|
+
readonly internalType: "uint48";
|
|
300
|
+
readonly name: "";
|
|
301
|
+
readonly type: "uint48";
|
|
612
302
|
}];
|
|
613
|
-
readonly
|
|
614
|
-
readonly outputs: readonly [];
|
|
615
|
-
readonly stateMutability: "payable";
|
|
303
|
+
readonly stateMutability: "view";
|
|
616
304
|
readonly type: "function";
|
|
617
305
|
}, {
|
|
618
306
|
readonly inputs: readonly [{
|
|
619
|
-
readonly internalType: "
|
|
620
|
-
readonly name: "
|
|
621
|
-
readonly type: "
|
|
622
|
-
}, {
|
|
623
|
-
readonly internalType: "bytes4";
|
|
624
|
-
readonly name: "selector";
|
|
625
|
-
readonly type: "bytes4";
|
|
307
|
+
readonly internalType: "uint192";
|
|
308
|
+
readonly name: "key";
|
|
309
|
+
readonly type: "uint192";
|
|
626
310
|
}];
|
|
627
|
-
readonly name: "
|
|
311
|
+
readonly name: "getNonce";
|
|
628
312
|
readonly outputs: readonly [{
|
|
629
|
-
readonly internalType: "
|
|
313
|
+
readonly internalType: "uint256";
|
|
630
314
|
readonly name: "";
|
|
631
|
-
readonly type: "
|
|
315
|
+
readonly type: "uint256";
|
|
632
316
|
}];
|
|
633
317
|
readonly stateMutability: "view";
|
|
634
318
|
readonly type: "function";
|
|
635
319
|
}, {
|
|
636
|
-
readonly inputs: readonly [
|
|
320
|
+
readonly inputs: readonly [];
|
|
321
|
+
readonly name: "getNonce";
|
|
322
|
+
readonly outputs: readonly [{
|
|
637
323
|
readonly internalType: "uint256";
|
|
638
|
-
readonly name: "
|
|
324
|
+
readonly name: "";
|
|
639
325
|
readonly type: "uint256";
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
|
|
326
|
+
}];
|
|
327
|
+
readonly stateMutability: "view";
|
|
328
|
+
readonly type: "function";
|
|
329
|
+
}, {
|
|
330
|
+
readonly inputs: readonly [{
|
|
331
|
+
readonly internalType: "contract IKernelValidator";
|
|
332
|
+
readonly name: "_defaultValidator";
|
|
643
333
|
readonly type: "address";
|
|
644
334
|
}, {
|
|
645
335
|
readonly internalType: "bytes";
|
|
646
|
-
readonly name: "
|
|
336
|
+
readonly name: "_data";
|
|
647
337
|
readonly type: "bytes";
|
|
648
338
|
}];
|
|
649
|
-
readonly name: "
|
|
650
|
-
readonly outputs: readonly [
|
|
651
|
-
|
|
652
|
-
readonly name: "";
|
|
653
|
-
readonly type: "bool";
|
|
654
|
-
}];
|
|
655
|
-
readonly stateMutability: "view";
|
|
339
|
+
readonly name: "initialize";
|
|
340
|
+
readonly outputs: readonly [];
|
|
341
|
+
readonly stateMutability: "payable";
|
|
656
342
|
readonly type: "function";
|
|
657
343
|
}, {
|
|
658
344
|
readonly inputs: readonly [{
|
|
@@ -672,6 +358,16 @@ export declare const Kernel_jsonAbi: readonly [{
|
|
|
672
358
|
}];
|
|
673
359
|
readonly stateMutability: "view";
|
|
674
360
|
readonly type: "function";
|
|
361
|
+
}, {
|
|
362
|
+
readonly inputs: readonly [];
|
|
363
|
+
readonly name: "name";
|
|
364
|
+
readonly outputs: readonly [{
|
|
365
|
+
readonly internalType: "string";
|
|
366
|
+
readonly name: "";
|
|
367
|
+
readonly type: "string";
|
|
368
|
+
}];
|
|
369
|
+
readonly stateMutability: "view";
|
|
370
|
+
readonly type: "function";
|
|
675
371
|
}, {
|
|
676
372
|
readonly inputs: readonly [{
|
|
677
373
|
readonly internalType: "address";
|
|
@@ -722,167 +418,83 @@ export declare const Kernel_jsonAbi: readonly [{
|
|
|
722
418
|
}, {
|
|
723
419
|
readonly internalType: "bytes";
|
|
724
420
|
readonly name: "";
|
|
725
|
-
readonly type: "bytes";
|
|
726
|
-
}];
|
|
727
|
-
readonly name: "onERC1155Received";
|
|
728
|
-
readonly outputs: readonly [{
|
|
729
|
-
readonly internalType: "bytes4";
|
|
730
|
-
readonly name: "";
|
|
731
|
-
readonly type: "bytes4";
|
|
732
|
-
}];
|
|
733
|
-
readonly stateMutability: "pure";
|
|
734
|
-
readonly type: "function";
|
|
735
|
-
}, {
|
|
736
|
-
readonly inputs: readonly [{
|
|
737
|
-
readonly internalType: "address";
|
|
738
|
-
readonly name: "";
|
|
739
|
-
readonly type: "address";
|
|
740
|
-
}, {
|
|
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";
|
|
752
|
-
}];
|
|
753
|
-
readonly name: "onERC721Received";
|
|
754
|
-
readonly outputs: readonly [{
|
|
755
|
-
readonly internalType: "bytes4";
|
|
756
|
-
readonly name: "";
|
|
757
|
-
readonly type: "bytes4";
|
|
758
|
-
}];
|
|
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";
|
|
787
|
-
readonly type: "function";
|
|
788
|
-
}, {
|
|
789
|
-
readonly inputs: readonly [];
|
|
790
|
-
readonly name: "rootValidator";
|
|
791
|
-
readonly outputs: readonly [{
|
|
792
|
-
readonly internalType: "ValidationId";
|
|
793
|
-
readonly name: "";
|
|
794
|
-
readonly type: "bytes21";
|
|
795
|
-
}];
|
|
796
|
-
readonly stateMutability: "view";
|
|
797
|
-
readonly type: "function";
|
|
798
|
-
}, {
|
|
799
|
-
readonly inputs: readonly [{
|
|
800
|
-
readonly internalType: "bytes4";
|
|
801
|
-
readonly name: "selector";
|
|
802
|
-
readonly type: "bytes4";
|
|
803
|
-
}];
|
|
804
|
-
readonly name: "selectorConfig";
|
|
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";
|
|
820
|
-
readonly name: "";
|
|
821
|
-
readonly type: "tuple";
|
|
822
|
-
}];
|
|
823
|
-
readonly stateMutability: "view";
|
|
824
|
-
readonly type: "function";
|
|
825
|
-
}, {
|
|
826
|
-
readonly inputs: readonly [{
|
|
827
|
-
readonly internalType: "ExecMode";
|
|
828
|
-
readonly name: "mode";
|
|
829
|
-
readonly type: "bytes32";
|
|
421
|
+
readonly type: "bytes";
|
|
830
422
|
}];
|
|
831
|
-
readonly name: "
|
|
423
|
+
readonly name: "onERC1155Received";
|
|
832
424
|
readonly outputs: readonly [{
|
|
833
|
-
readonly internalType: "
|
|
425
|
+
readonly internalType: "bytes4";
|
|
834
426
|
readonly name: "";
|
|
835
|
-
readonly type: "
|
|
427
|
+
readonly type: "bytes4";
|
|
836
428
|
}];
|
|
837
429
|
readonly stateMutability: "pure";
|
|
838
430
|
readonly type: "function";
|
|
839
431
|
}, {
|
|
840
432
|
readonly inputs: readonly [{
|
|
433
|
+
readonly internalType: "address";
|
|
434
|
+
readonly name: "";
|
|
435
|
+
readonly type: "address";
|
|
436
|
+
}, {
|
|
437
|
+
readonly internalType: "address";
|
|
438
|
+
readonly name: "";
|
|
439
|
+
readonly type: "address";
|
|
440
|
+
}, {
|
|
841
441
|
readonly internalType: "uint256";
|
|
842
|
-
readonly name: "
|
|
442
|
+
readonly name: "";
|
|
843
443
|
readonly type: "uint256";
|
|
444
|
+
}, {
|
|
445
|
+
readonly internalType: "bytes";
|
|
446
|
+
readonly name: "";
|
|
447
|
+
readonly type: "bytes";
|
|
844
448
|
}];
|
|
845
|
-
readonly name: "
|
|
449
|
+
readonly name: "onERC721Received";
|
|
846
450
|
readonly outputs: readonly [{
|
|
847
|
-
readonly internalType: "
|
|
451
|
+
readonly internalType: "bytes4";
|
|
848
452
|
readonly name: "";
|
|
849
|
-
readonly type: "
|
|
453
|
+
readonly type: "bytes4";
|
|
850
454
|
}];
|
|
851
455
|
readonly stateMutability: "pure";
|
|
852
456
|
readonly type: "function";
|
|
853
457
|
}, {
|
|
854
458
|
readonly inputs: readonly [{
|
|
855
|
-
readonly internalType: "
|
|
856
|
-
readonly name: "
|
|
857
|
-
readonly type: "uint256";
|
|
858
|
-
}, {
|
|
859
|
-
readonly internalType: "address";
|
|
860
|
-
readonly name: "module";
|
|
459
|
+
readonly internalType: "contract IKernelValidator";
|
|
460
|
+
readonly name: "_defaultValidator";
|
|
861
461
|
readonly type: "address";
|
|
862
462
|
}, {
|
|
863
463
|
readonly internalType: "bytes";
|
|
864
|
-
readonly name: "
|
|
464
|
+
readonly name: "_data";
|
|
865
465
|
readonly type: "bytes";
|
|
866
466
|
}];
|
|
867
|
-
readonly name: "
|
|
467
|
+
readonly name: "setDefaultValidator";
|
|
868
468
|
readonly outputs: readonly [];
|
|
869
469
|
readonly stateMutability: "payable";
|
|
870
470
|
readonly type: "function";
|
|
871
471
|
}, {
|
|
872
472
|
readonly inputs: readonly [{
|
|
873
|
-
readonly internalType: "
|
|
874
|
-
readonly name: "
|
|
875
|
-
readonly type: "
|
|
473
|
+
readonly internalType: "bytes4";
|
|
474
|
+
readonly name: "_selector";
|
|
475
|
+
readonly type: "bytes4";
|
|
876
476
|
}, {
|
|
877
|
-
readonly internalType: "
|
|
878
|
-
readonly name: "
|
|
879
|
-
readonly type: "
|
|
477
|
+
readonly internalType: "address";
|
|
478
|
+
readonly name: "_executor";
|
|
479
|
+
readonly type: "address";
|
|
480
|
+
}, {
|
|
481
|
+
readonly internalType: "contract IKernelValidator";
|
|
482
|
+
readonly name: "_validator";
|
|
483
|
+
readonly type: "address";
|
|
484
|
+
}, {
|
|
485
|
+
readonly internalType: "ValidUntil";
|
|
486
|
+
readonly name: "_validUntil";
|
|
487
|
+
readonly type: "uint48";
|
|
488
|
+
}, {
|
|
489
|
+
readonly internalType: "ValidAfter";
|
|
490
|
+
readonly name: "_validAfter";
|
|
491
|
+
readonly type: "uint48";
|
|
880
492
|
}, {
|
|
881
493
|
readonly internalType: "bytes";
|
|
882
|
-
readonly name: "
|
|
494
|
+
readonly name: "_enableData";
|
|
883
495
|
readonly type: "bytes";
|
|
884
496
|
}];
|
|
885
|
-
readonly name: "
|
|
497
|
+
readonly name: "setExecution";
|
|
886
498
|
readonly outputs: readonly [];
|
|
887
499
|
readonly stateMutability: "payable";
|
|
888
500
|
readonly type: "function";
|
|
@@ -897,12 +509,20 @@ export declare const Kernel_jsonAbi: readonly [{
|
|
|
897
509
|
readonly stateMutability: "payable";
|
|
898
510
|
readonly type: "function";
|
|
899
511
|
}, {
|
|
900
|
-
readonly inputs: readonly [
|
|
901
|
-
|
|
512
|
+
readonly inputs: readonly [{
|
|
513
|
+
readonly internalType: "bytes32";
|
|
514
|
+
readonly name: "hash";
|
|
515
|
+
readonly type: "bytes32";
|
|
516
|
+
}, {
|
|
517
|
+
readonly internalType: "bytes";
|
|
518
|
+
readonly name: "signature";
|
|
519
|
+
readonly type: "bytes";
|
|
520
|
+
}];
|
|
521
|
+
readonly name: "validateSignature";
|
|
902
522
|
readonly outputs: readonly [{
|
|
903
|
-
readonly internalType: "
|
|
523
|
+
readonly internalType: "ValidationData";
|
|
904
524
|
readonly name: "";
|
|
905
|
-
readonly type: "
|
|
525
|
+
readonly type: "uint256";
|
|
906
526
|
}];
|
|
907
527
|
readonly stateMutability: "view";
|
|
908
528
|
readonly type: "function";
|
|
@@ -925,17 +545,25 @@ export declare const Kernel_jsonAbi: readonly [{
|
|
|
925
545
|
readonly name: "callData";
|
|
926
546
|
readonly type: "bytes";
|
|
927
547
|
}, {
|
|
928
|
-
readonly internalType: "
|
|
929
|
-
readonly name: "
|
|
930
|
-
readonly type: "
|
|
548
|
+
readonly internalType: "uint256";
|
|
549
|
+
readonly name: "callGasLimit";
|
|
550
|
+
readonly type: "uint256";
|
|
551
|
+
}, {
|
|
552
|
+
readonly internalType: "uint256";
|
|
553
|
+
readonly name: "verificationGasLimit";
|
|
554
|
+
readonly type: "uint256";
|
|
931
555
|
}, {
|
|
932
556
|
readonly internalType: "uint256";
|
|
933
557
|
readonly name: "preVerificationGas";
|
|
934
558
|
readonly type: "uint256";
|
|
935
559
|
}, {
|
|
936
|
-
readonly internalType: "
|
|
937
|
-
readonly name: "
|
|
938
|
-
readonly type: "
|
|
560
|
+
readonly internalType: "uint256";
|
|
561
|
+
readonly name: "maxFeePerGas";
|
|
562
|
+
readonly type: "uint256";
|
|
563
|
+
}, {
|
|
564
|
+
readonly internalType: "uint256";
|
|
565
|
+
readonly name: "maxPriorityFeePerGas";
|
|
566
|
+
readonly type: "uint256";
|
|
939
567
|
}, {
|
|
940
568
|
readonly internalType: "bytes";
|
|
941
569
|
readonly name: "paymasterAndData";
|
|
@@ -945,8 +573,8 @@ export declare const Kernel_jsonAbi: readonly [{
|
|
|
945
573
|
readonly name: "signature";
|
|
946
574
|
readonly type: "bytes";
|
|
947
575
|
}];
|
|
948
|
-
readonly internalType: "struct
|
|
949
|
-
readonly name: "
|
|
576
|
+
readonly internalType: "struct UserOperation";
|
|
577
|
+
readonly name: "_userOp";
|
|
950
578
|
readonly type: "tuple";
|
|
951
579
|
}, {
|
|
952
580
|
readonly internalType: "bytes32";
|
|
@@ -966,25 +594,12 @@ export declare const Kernel_jsonAbi: readonly [{
|
|
|
966
594
|
readonly stateMutability: "payable";
|
|
967
595
|
readonly type: "function";
|
|
968
596
|
}, {
|
|
969
|
-
readonly inputs: readonly [
|
|
970
|
-
|
|
971
|
-
readonly name: "vId";
|
|
972
|
-
readonly type: "bytes21";
|
|
973
|
-
}];
|
|
974
|
-
readonly name: "validationConfig";
|
|
597
|
+
readonly inputs: readonly [];
|
|
598
|
+
readonly name: "version";
|
|
975
599
|
readonly outputs: readonly [{
|
|
976
|
-
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";
|
|
600
|
+
readonly internalType: "string";
|
|
986
601
|
readonly name: "";
|
|
987
|
-
readonly type: "
|
|
602
|
+
readonly type: "string";
|
|
988
603
|
}];
|
|
989
604
|
readonly stateMutability: "view";
|
|
990
605
|
readonly type: "function";
|
|
@@ -1049,45 +664,47 @@ export declare class Kernel_json {
|
|
|
1049
664
|
*/
|
|
1050
665
|
getContract(): Kernel_jsonContract;
|
|
1051
666
|
/**
|
|
1052
|
-
*
|
|
1053
|
-
* pure
|
|
1054
|
-
*/
|
|
1055
|
-
accountId(): Promise<string>;
|
|
1056
|
-
/**
|
|
1057
|
-
* currentNonce
|
|
667
|
+
* eip712Domain
|
|
1058
668
|
* view
|
|
1059
669
|
*/
|
|
1060
|
-
|
|
670
|
+
eip712Domain(): Promise<[`0x${string}`, string, string, bigint, `0x${string}`, `0x${string}`, bigint[]]>;
|
|
1061
671
|
/**
|
|
1062
|
-
*
|
|
672
|
+
* entryPoint
|
|
1063
673
|
* view
|
|
1064
674
|
*/
|
|
1065
|
-
|
|
675
|
+
entryPoint(): Promise<`0x${string}`>;
|
|
1066
676
|
/**
|
|
1067
|
-
*
|
|
677
|
+
* getDefaultValidator
|
|
1068
678
|
* view
|
|
1069
679
|
*/
|
|
1070
|
-
|
|
680
|
+
getDefaultValidator(): Promise<`0x${string}`>;
|
|
1071
681
|
/**
|
|
1072
|
-
*
|
|
682
|
+
* getDisabledMode
|
|
1073
683
|
* view
|
|
1074
684
|
*/
|
|
1075
|
-
|
|
685
|
+
getDisabledMode(): Promise<`0x${string}`>;
|
|
1076
686
|
/**
|
|
1077
|
-
*
|
|
687
|
+
* getExecution
|
|
1078
688
|
* view
|
|
1079
689
|
*/
|
|
1080
|
-
|
|
690
|
+
getExecution(_selector: `0x${string}`): Promise<ExecutionDetail>;
|
|
1081
691
|
/**
|
|
1082
|
-
*
|
|
692
|
+
* getLastDisabledTime
|
|
1083
693
|
* view
|
|
1084
694
|
*/
|
|
1085
|
-
|
|
695
|
+
getLastDisabledTime(): Promise<bigint>;
|
|
696
|
+
getNonce(key: bigint): Promise<bigint>;
|
|
697
|
+
getNonce(): Promise<bigint>;
|
|
1086
698
|
/**
|
|
1087
699
|
* isValidSignature
|
|
1088
700
|
* view
|
|
1089
701
|
*/
|
|
1090
702
|
isValidSignature(hash: `0x${string}`, signature: `0x${string}`): Promise<`0x${string}`>;
|
|
703
|
+
/**
|
|
704
|
+
* name
|
|
705
|
+
* view
|
|
706
|
+
*/
|
|
707
|
+
name(): Promise<string>;
|
|
1091
708
|
/**
|
|
1092
709
|
* onERC1155BatchReceived
|
|
1093
710
|
* pure
|
|
@@ -1104,46 +721,21 @@ export declare class Kernel_json {
|
|
|
1104
721
|
*/
|
|
1105
722
|
onERC721Received(arg0: `0x${string}`, arg1: `0x${string}`, arg2: bigint, arg3: `0x${string}`): Promise<`0x${string}`>;
|
|
1106
723
|
/**
|
|
1107
|
-
*
|
|
1108
|
-
* view
|
|
1109
|
-
*/
|
|
1110
|
-
permissionConfig(pId: `0x${string}`): Promise<ValidationManager_PermissionConfig>;
|
|
1111
|
-
/**
|
|
1112
|
-
* rootValidator
|
|
1113
|
-
* view
|
|
1114
|
-
*/
|
|
1115
|
-
rootValidator(): Promise<`0x${string}`>;
|
|
1116
|
-
/**
|
|
1117
|
-
* selectorConfig
|
|
1118
|
-
* view
|
|
1119
|
-
*/
|
|
1120
|
-
selectorConfig(selector: `0x${string}`): Promise<SelectorManager_SelectorConfig>;
|
|
1121
|
-
/**
|
|
1122
|
-
* supportsExecutionMode
|
|
1123
|
-
* pure
|
|
1124
|
-
*/
|
|
1125
|
-
supportsExecutionMode(mode: `0x${string}`): Promise<boolean>;
|
|
1126
|
-
/**
|
|
1127
|
-
* supportsModule
|
|
1128
|
-
* pure
|
|
1129
|
-
*/
|
|
1130
|
-
supportsModule(moduleTypeId: bigint): Promise<boolean>;
|
|
1131
|
-
/**
|
|
1132
|
-
* validNonceFrom
|
|
724
|
+
* validateSignature
|
|
1133
725
|
* view
|
|
1134
726
|
*/
|
|
1135
|
-
|
|
727
|
+
validateSignature(hash: `0x${string}`, signature: `0x${string}`): Promise<bigint>;
|
|
1136
728
|
/**
|
|
1137
|
-
*
|
|
729
|
+
* version
|
|
1138
730
|
* view
|
|
1139
731
|
*/
|
|
1140
|
-
|
|
732
|
+
version(): Promise<string>;
|
|
1141
733
|
/**
|
|
1142
|
-
*
|
|
734
|
+
* disableMode
|
|
1143
735
|
* payable
|
|
1144
736
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1145
737
|
*/
|
|
1146
|
-
|
|
738
|
+
disableMode(_disableFlag: `0x${string}`, options?: {
|
|
1147
739
|
accessList?: import('viem').AccessList;
|
|
1148
740
|
authorizationList?: import('viem').AuthorizationList;
|
|
1149
741
|
chain?: import('viem').Chain | null;
|
|
@@ -1160,7 +752,7 @@ export declare class Kernel_json {
|
|
|
1160
752
|
* payable
|
|
1161
753
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1162
754
|
*/
|
|
1163
|
-
execute(
|
|
755
|
+
execute(to: `0x${string}`, value: bigint, data: `0x${string}`, _operation: bigint, options?: {
|
|
1164
756
|
accessList?: import('viem').AccessList;
|
|
1165
757
|
authorizationList?: import('viem').AuthorizationList;
|
|
1166
758
|
chain?: import('viem').Chain | null;
|
|
@@ -1173,11 +765,11 @@ export declare class Kernel_json {
|
|
|
1173
765
|
value?: bigint;
|
|
1174
766
|
}): Promise<`0x${string}`>;
|
|
1175
767
|
/**
|
|
1176
|
-
*
|
|
768
|
+
* executeBatch
|
|
1177
769
|
* payable
|
|
1178
770
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1179
771
|
*/
|
|
1180
|
-
|
|
772
|
+
executeBatch(calls: Call[], options?: {
|
|
1181
773
|
accessList?: import('viem').AccessList;
|
|
1182
774
|
authorizationList?: import('viem').AuthorizationList;
|
|
1183
775
|
chain?: import('viem').Chain | null;
|
|
@@ -1190,11 +782,11 @@ export declare class Kernel_json {
|
|
|
1190
782
|
value?: bigint;
|
|
1191
783
|
}): Promise<`0x${string}`>;
|
|
1192
784
|
/**
|
|
1193
|
-
*
|
|
785
|
+
* executeDelegateCall
|
|
1194
786
|
* payable
|
|
1195
787
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1196
788
|
*/
|
|
1197
|
-
|
|
789
|
+
executeDelegateCall(to: `0x${string}`, data: `0x${string}`, options?: {
|
|
1198
790
|
accessList?: import('viem').AccessList;
|
|
1199
791
|
authorizationList?: import('viem').AuthorizationList;
|
|
1200
792
|
chain?: import('viem').Chain | null;
|
|
@@ -1208,44 +800,10 @@ export declare class Kernel_json {
|
|
|
1208
800
|
}): Promise<`0x${string}`>;
|
|
1209
801
|
/**
|
|
1210
802
|
* 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?: {
|
|
1215
|
-
accessList?: import('viem').AccessList;
|
|
1216
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
1217
|
-
chain?: import('viem').Chain | null;
|
|
1218
|
-
dataSuffix?: `0x${string}`;
|
|
1219
|
-
gas?: bigint;
|
|
1220
|
-
gasPrice?: bigint;
|
|
1221
|
-
maxFeePerGas?: bigint;
|
|
1222
|
-
maxPriorityFeePerGas?: bigint;
|
|
1223
|
-
nonce?: number;
|
|
1224
|
-
value?: bigint;
|
|
1225
|
-
}): Promise<`0x${string}`>;
|
|
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?: {
|
|
1232
|
-
accessList?: import('viem').AccessList;
|
|
1233
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
1234
|
-
chain?: import('viem').Chain | null;
|
|
1235
|
-
dataSuffix?: `0x${string}`;
|
|
1236
|
-
gas?: bigint;
|
|
1237
|
-
gasPrice?: bigint;
|
|
1238
|
-
maxFeePerGas?: bigint;
|
|
1239
|
-
maxPriorityFeePerGas?: bigint;
|
|
1240
|
-
nonce?: number;
|
|
1241
|
-
value?: bigint;
|
|
1242
|
-
}): Promise<`0x${string}`>;
|
|
1243
|
-
/**
|
|
1244
|
-
* installValidations
|
|
1245
803
|
* payable
|
|
1246
804
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1247
805
|
*/
|
|
1248
|
-
|
|
806
|
+
initialize(_defaultValidator: `0x${string}`, _data: `0x${string}`, options?: {
|
|
1249
807
|
accessList?: import('viem').AccessList;
|
|
1250
808
|
authorizationList?: import('viem').AuthorizationList;
|
|
1251
809
|
chain?: import('viem').Chain | null;
|
|
@@ -1258,11 +816,11 @@ export declare class Kernel_json {
|
|
|
1258
816
|
value?: bigint;
|
|
1259
817
|
}): Promise<`0x${string}`>;
|
|
1260
818
|
/**
|
|
1261
|
-
*
|
|
819
|
+
* setDefaultValidator
|
|
1262
820
|
* payable
|
|
1263
821
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1264
822
|
*/
|
|
1265
|
-
|
|
823
|
+
setDefaultValidator(_defaultValidator: `0x${string}`, _data: `0x${string}`, options?: {
|
|
1266
824
|
accessList?: import('viem').AccessList;
|
|
1267
825
|
authorizationList?: import('viem').AuthorizationList;
|
|
1268
826
|
chain?: import('viem').Chain | null;
|
|
@@ -1275,28 +833,11 @@ export declare class Kernel_json {
|
|
|
1275
833
|
value?: bigint;
|
|
1276
834
|
}): Promise<`0x${string}`>;
|
|
1277
835
|
/**
|
|
1278
|
-
*
|
|
836
|
+
* setExecution
|
|
1279
837
|
* payable
|
|
1280
838
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1281
839
|
*/
|
|
1282
|
-
|
|
1283
|
-
accessList?: import('viem').AccessList;
|
|
1284
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
1285
|
-
chain?: import('viem').Chain | null;
|
|
1286
|
-
dataSuffix?: `0x${string}`;
|
|
1287
|
-
gas?: bigint;
|
|
1288
|
-
gasPrice?: bigint;
|
|
1289
|
-
maxFeePerGas?: bigint;
|
|
1290
|
-
maxPriorityFeePerGas?: bigint;
|
|
1291
|
-
nonce?: number;
|
|
1292
|
-
value?: bigint;
|
|
1293
|
-
}): Promise<`0x${string}`>;
|
|
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?: {
|
|
840
|
+
setExecution(_selector: `0x${string}`, _executor: `0x${string}`, _validator: `0x${string}`, _validUntil: bigint, _validAfter: bigint, _enableData: `0x${string}`, options?: {
|
|
1300
841
|
accessList?: import('viem').AccessList;
|
|
1301
842
|
authorizationList?: import('viem').AuthorizationList;
|
|
1302
843
|
chain?: import('viem').Chain | null;
|
|
@@ -1330,7 +871,7 @@ export declare class Kernel_json {
|
|
|
1330
871
|
* payable
|
|
1331
872
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1332
873
|
*/
|
|
1333
|
-
validateUserOp(
|
|
874
|
+
validateUserOp(_userOp: UserOperation, userOpHash: `0x${string}`, missingAccountFunds: bigint, options?: {
|
|
1334
875
|
accessList?: import('viem').AccessList;
|
|
1335
876
|
authorizationList?: import('viem').AuthorizationList;
|
|
1336
877
|
chain?: import('viem').Chain | null;
|
|
@@ -1352,11 +893,11 @@ export declare class Kernel_json {
|
|
|
1352
893
|
*/
|
|
1353
894
|
get simulate(): {
|
|
1354
895
|
/**
|
|
1355
|
-
* Simulate
|
|
896
|
+
* Simulate disableMode
|
|
1356
897
|
* Returns gas estimate and result without sending transaction
|
|
1357
898
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1358
899
|
*/
|
|
1359
|
-
|
|
900
|
+
disableMode(_disableFlag: `0x${string}`, options?: {
|
|
1360
901
|
accessList?: import("viem").AccessList;
|
|
1361
902
|
authorizationList?: import("viem").AuthorizationList;
|
|
1362
903
|
chain?: import("viem").Chain | null;
|
|
@@ -1373,58 +914,7 @@ export declare class Kernel_json {
|
|
|
1373
914
|
* Returns gas estimate and result without sending transaction
|
|
1374
915
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1375
916
|
*/
|
|
1376
|
-
execute(
|
|
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
|
|
1407
|
-
* Returns gas estimate and result without sending transaction
|
|
1408
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1409
|
-
*/
|
|
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>;
|
|
1422
|
-
/**
|
|
1423
|
-
* Simulate initialize
|
|
1424
|
-
* Returns gas estimate and result without sending transaction
|
|
1425
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1426
|
-
*/
|
|
1427
|
-
initialize(_rootValidator: `0x${string}`, hook: `0x${string}`, validatorData: `0x${string}`, hookData: `0x${string}`, initConfig: `0x${string}`[], options?: {
|
|
917
|
+
execute(to: `0x${string}`, value: bigint, data: `0x${string}`, _operation: bigint, options?: {
|
|
1428
918
|
accessList?: import("viem").AccessList;
|
|
1429
919
|
authorizationList?: import("viem").AuthorizationList;
|
|
1430
920
|
chain?: import("viem").Chain | null;
|
|
@@ -1437,11 +927,11 @@ export declare class Kernel_json {
|
|
|
1437
927
|
value?: bigint;
|
|
1438
928
|
}): Promise<void>;
|
|
1439
929
|
/**
|
|
1440
|
-
* Simulate
|
|
930
|
+
* Simulate executeBatch
|
|
1441
931
|
* Returns gas estimate and result without sending transaction
|
|
1442
932
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1443
933
|
*/
|
|
1444
|
-
|
|
934
|
+
executeBatch(calls: Call[], options?: {
|
|
1445
935
|
accessList?: import("viem").AccessList;
|
|
1446
936
|
authorizationList?: import("viem").AuthorizationList;
|
|
1447
937
|
chain?: import("viem").Chain | null;
|
|
@@ -1454,11 +944,11 @@ export declare class Kernel_json {
|
|
|
1454
944
|
value?: bigint;
|
|
1455
945
|
}): Promise<void>;
|
|
1456
946
|
/**
|
|
1457
|
-
* Simulate
|
|
947
|
+
* Simulate executeDelegateCall
|
|
1458
948
|
* Returns gas estimate and result without sending transaction
|
|
1459
949
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1460
950
|
*/
|
|
1461
|
-
|
|
951
|
+
executeDelegateCall(to: `0x${string}`, data: `0x${string}`, options?: {
|
|
1462
952
|
accessList?: import("viem").AccessList;
|
|
1463
953
|
authorizationList?: import("viem").AuthorizationList;
|
|
1464
954
|
chain?: import("viem").Chain | null;
|
|
@@ -1471,11 +961,11 @@ export declare class Kernel_json {
|
|
|
1471
961
|
value?: bigint;
|
|
1472
962
|
}): Promise<void>;
|
|
1473
963
|
/**
|
|
1474
|
-
* Simulate
|
|
964
|
+
* Simulate initialize
|
|
1475
965
|
* Returns gas estimate and result without sending transaction
|
|
1476
966
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1477
967
|
*/
|
|
1478
|
-
|
|
968
|
+
initialize(_defaultValidator: `0x${string}`, _data: `0x${string}`, options?: {
|
|
1479
969
|
accessList?: import("viem").AccessList;
|
|
1480
970
|
authorizationList?: import("viem").AuthorizationList;
|
|
1481
971
|
chain?: import("viem").Chain | null;
|
|
@@ -1488,11 +978,11 @@ export declare class Kernel_json {
|
|
|
1488
978
|
value?: bigint;
|
|
1489
979
|
}): Promise<void>;
|
|
1490
980
|
/**
|
|
1491
|
-
* Simulate
|
|
981
|
+
* Simulate setDefaultValidator
|
|
1492
982
|
* Returns gas estimate and result without sending transaction
|
|
1493
983
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1494
984
|
*/
|
|
1495
|
-
|
|
985
|
+
setDefaultValidator(_defaultValidator: `0x${string}`, _data: `0x${string}`, options?: {
|
|
1496
986
|
accessList?: import("viem").AccessList;
|
|
1497
987
|
authorizationList?: import("viem").AuthorizationList;
|
|
1498
988
|
chain?: import("viem").Chain | null;
|
|
@@ -1505,11 +995,11 @@ export declare class Kernel_json {
|
|
|
1505
995
|
value?: bigint;
|
|
1506
996
|
}): Promise<void>;
|
|
1507
997
|
/**
|
|
1508
|
-
* Simulate
|
|
998
|
+
* Simulate setExecution
|
|
1509
999
|
* Returns gas estimate and result without sending transaction
|
|
1510
1000
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1511
1001
|
*/
|
|
1512
|
-
|
|
1002
|
+
setExecution(_selector: `0x${string}`, _executor: `0x${string}`, _validator: `0x${string}`, _validUntil: bigint, _validAfter: bigint, _enableData: `0x${string}`, options?: {
|
|
1513
1003
|
accessList?: import("viem").AccessList;
|
|
1514
1004
|
authorizationList?: import("viem").AuthorizationList;
|
|
1515
1005
|
chain?: import("viem").Chain | null;
|
|
@@ -1543,7 +1033,7 @@ export declare class Kernel_json {
|
|
|
1543
1033
|
* Returns gas estimate and result without sending transaction
|
|
1544
1034
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1545
1035
|
*/
|
|
1546
|
-
validateUserOp(
|
|
1036
|
+
validateUserOp(_userOp: UserOperation, userOpHash: `0x${string}`, missingAccountFunds: bigint, options?: {
|
|
1547
1037
|
accessList?: import("viem").AccessList;
|
|
1548
1038
|
authorizationList?: import("viem").AuthorizationList;
|
|
1549
1039
|
chain?: import("viem").Chain | null;
|
|
@@ -1570,63 +1060,33 @@ export declare class Kernel_json {
|
|
|
1570
1060
|
*/
|
|
1571
1061
|
get watch(): {
|
|
1572
1062
|
/**
|
|
1573
|
-
* Watch
|
|
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
|
|
1063
|
+
* Watch DefaultValidatorChanged events
|
|
1613
1064
|
* @param callback Function to call when event is emitted
|
|
1614
1065
|
* @param filter Optional filter for indexed parameters
|
|
1615
1066
|
* @returns Unwatch function to stop listening
|
|
1616
1067
|
*/
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
}) => void
|
|
1068
|
+
DefaultValidatorChanged: (callback: (event: {
|
|
1069
|
+
oldValidator: `0x${string}`;
|
|
1070
|
+
newValidator: `0x${string}`;
|
|
1071
|
+
}) => void, filter?: {
|
|
1072
|
+
oldValidator: `0x${string}`;
|
|
1073
|
+
newValidator: `0x${string}`;
|
|
1074
|
+
}) => () => void;
|
|
1621
1075
|
/**
|
|
1622
|
-
* Watch
|
|
1076
|
+
* Watch ExecutionChanged events
|
|
1623
1077
|
* @param callback Function to call when event is emitted
|
|
1624
1078
|
* @param filter Optional filter for indexed parameters
|
|
1625
1079
|
* @returns Unwatch function to stop listening
|
|
1626
1080
|
*/
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1081
|
+
ExecutionChanged: (callback: (event: {
|
|
1082
|
+
selector: `0x${string}`;
|
|
1083
|
+
executor: `0x${string}`;
|
|
1084
|
+
validator: `0x${string}`;
|
|
1085
|
+
}) => void, filter?: {
|
|
1086
|
+
selector: `0x${string}`;
|
|
1087
|
+
executor: `0x${string}`;
|
|
1088
|
+
validator: `0x${string}`;
|
|
1089
|
+
}) => () => void;
|
|
1630
1090
|
/**
|
|
1631
1091
|
* Watch Received events
|
|
1632
1092
|
* @param callback Function to call when event is emitted
|
|
@@ -1637,36 +1097,6 @@ export declare class Kernel_json {
|
|
|
1637
1097
|
sender: `0x${string}`;
|
|
1638
1098
|
amount: bigint;
|
|
1639
1099
|
}) => 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;
|
|
1670
1100
|
/**
|
|
1671
1101
|
* Watch Upgraded events
|
|
1672
1102
|
* @param callback Function to call when event is emitted
|
|
@@ -1674,28 +1104,9 @@ export declare class Kernel_json {
|
|
|
1674
1104
|
* @returns Unwatch function to stop listening
|
|
1675
1105
|
*/
|
|
1676
1106
|
Upgraded: (callback: (event: {
|
|
1677
|
-
|
|
1107
|
+
newImplementation: `0x${string}`;
|
|
1678
1108
|
}) => void, filter?: {
|
|
1679
|
-
|
|
1109
|
+
newImplementation: `0x${string}`;
|
|
1680
1110
|
}) => () => 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;
|
|
1700
1111
|
};
|
|
1701
1112
|
}
|