@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
package/contracts/Kernel_json.js
CHANGED
|
@@ -12,7 +12,7 @@ exports.Kernel_jsonAbi = [
|
|
|
12
12
|
"inputs": [
|
|
13
13
|
{
|
|
14
14
|
"internalType": "contract IEntryPoint",
|
|
15
|
-
"name": "
|
|
15
|
+
"name": "_entryPoint",
|
|
16
16
|
"type": "address"
|
|
17
17
|
}
|
|
18
18
|
],
|
|
@@ -21,241 +21,71 @@ exports.Kernel_jsonAbi = [
|
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"inputs": [],
|
|
24
|
-
"name": "
|
|
24
|
+
"name": "AlreadyInitialized",
|
|
25
25
|
"type": "error"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"inputs": [],
|
|
29
|
-
"name": "
|
|
30
|
-
"type": "error"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"inputs": [
|
|
34
|
-
{
|
|
35
|
-
"internalType": "uint256",
|
|
36
|
-
"name": "idx",
|
|
37
|
-
"type": "uint256"
|
|
38
|
-
}
|
|
39
|
-
],
|
|
40
|
-
"name": "InitConfigError",
|
|
41
|
-
"type": "error"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"inputs": [],
|
|
45
|
-
"name": "InvalidCallType",
|
|
46
|
-
"type": "error"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"inputs": [],
|
|
50
|
-
"name": "InvalidCaller",
|
|
51
|
-
"type": "error"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"inputs": [],
|
|
55
|
-
"name": "InvalidExecutor",
|
|
56
|
-
"type": "error"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"inputs": [],
|
|
60
|
-
"name": "InvalidFallback",
|
|
61
|
-
"type": "error"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"inputs": [],
|
|
65
|
-
"name": "InvalidMode",
|
|
66
|
-
"type": "error"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"inputs": [],
|
|
70
|
-
"name": "InvalidModuleType",
|
|
71
|
-
"type": "error"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"inputs": [],
|
|
75
|
-
"name": "InvalidNonce",
|
|
76
|
-
"type": "error"
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"inputs": [],
|
|
80
|
-
"name": "InvalidSelector",
|
|
81
|
-
"type": "error"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"inputs": [],
|
|
85
|
-
"name": "InvalidSignature",
|
|
86
|
-
"type": "error"
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"inputs": [],
|
|
90
|
-
"name": "InvalidValidationType",
|
|
91
|
-
"type": "error"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"inputs": [],
|
|
95
|
-
"name": "InvalidValidator",
|
|
96
|
-
"type": "error"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"inputs": [],
|
|
100
|
-
"name": "NonceInvalidationError",
|
|
101
|
-
"type": "error"
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
"inputs": [],
|
|
105
|
-
"name": "NotSupportedCallType",
|
|
106
|
-
"type": "error"
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"inputs": [],
|
|
110
|
-
"name": "OnlyExecuteUserOp",
|
|
111
|
-
"type": "error"
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"inputs": [],
|
|
115
|
-
"name": "PermissionDataLengthMismatch",
|
|
116
|
-
"type": "error"
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
"inputs": [],
|
|
120
|
-
"name": "PermissionNotAlllowedForSignature",
|
|
121
|
-
"type": "error"
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"inputs": [],
|
|
125
|
-
"name": "PermissionNotAlllowedForUserOp",
|
|
126
|
-
"type": "error"
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
"inputs": [],
|
|
130
|
-
"name": "PolicyDataTooLarge",
|
|
131
|
-
"type": "error"
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
"inputs": [
|
|
135
|
-
{
|
|
136
|
-
"internalType": "uint256",
|
|
137
|
-
"name": "i",
|
|
138
|
-
"type": "uint256"
|
|
139
|
-
}
|
|
140
|
-
],
|
|
141
|
-
"name": "PolicyFailed",
|
|
29
|
+
"name": "DeprecatedOperation",
|
|
142
30
|
"type": "error"
|
|
143
31
|
},
|
|
144
32
|
{
|
|
145
33
|
"inputs": [],
|
|
146
|
-
"name": "
|
|
34
|
+
"name": "DisabledMode",
|
|
147
35
|
"type": "error"
|
|
148
36
|
},
|
|
149
37
|
{
|
|
150
38
|
"inputs": [],
|
|
151
|
-
"name": "
|
|
39
|
+
"name": "NotAuthorizedCaller",
|
|
152
40
|
"type": "error"
|
|
153
41
|
},
|
|
154
42
|
{
|
|
155
43
|
"inputs": [],
|
|
156
|
-
"name": "
|
|
44
|
+
"name": "NotEntryPoint",
|
|
157
45
|
"type": "error"
|
|
158
46
|
},
|
|
159
47
|
{
|
|
160
48
|
"anonymous": false,
|
|
161
49
|
"inputs": [
|
|
162
50
|
{
|
|
163
|
-
"indexed":
|
|
164
|
-
"internalType": "uint256",
|
|
165
|
-
"name": "moduleTypeId",
|
|
166
|
-
"type": "uint256"
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
"indexed": false,
|
|
51
|
+
"indexed": true,
|
|
170
52
|
"internalType": "address",
|
|
171
|
-
"name": "
|
|
53
|
+
"name": "oldValidator",
|
|
172
54
|
"type": "address"
|
|
173
|
-
}
|
|
174
|
-
],
|
|
175
|
-
"name": "ModuleInstalled",
|
|
176
|
-
"type": "event"
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"anonymous": false,
|
|
180
|
-
"inputs": [
|
|
55
|
+
},
|
|
181
56
|
{
|
|
182
|
-
"indexed":
|
|
57
|
+
"indexed": true,
|
|
183
58
|
"internalType": "address",
|
|
184
|
-
"name": "
|
|
59
|
+
"name": "newValidator",
|
|
185
60
|
"type": "address"
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
"indexed": false,
|
|
189
|
-
"internalType": "bool",
|
|
190
|
-
"name": "result",
|
|
191
|
-
"type": "bool"
|
|
192
61
|
}
|
|
193
62
|
],
|
|
194
|
-
"name": "
|
|
63
|
+
"name": "DefaultValidatorChanged",
|
|
195
64
|
"type": "event"
|
|
196
65
|
},
|
|
197
66
|
{
|
|
198
67
|
"anonymous": false,
|
|
199
68
|
"inputs": [
|
|
200
69
|
{
|
|
201
|
-
"indexed":
|
|
202
|
-
"internalType": "
|
|
203
|
-
"name": "
|
|
204
|
-
"type": "
|
|
70
|
+
"indexed": true,
|
|
71
|
+
"internalType": "bytes4",
|
|
72
|
+
"name": "selector",
|
|
73
|
+
"type": "bytes4"
|
|
205
74
|
},
|
|
206
75
|
{
|
|
207
|
-
"indexed":
|
|
76
|
+
"indexed": true,
|
|
208
77
|
"internalType": "address",
|
|
209
|
-
"name": "
|
|
78
|
+
"name": "executor",
|
|
210
79
|
"type": "address"
|
|
211
|
-
}
|
|
212
|
-
],
|
|
213
|
-
"name": "ModuleUninstalled",
|
|
214
|
-
"type": "event"
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
"anonymous": false,
|
|
218
|
-
"inputs": [
|
|
219
|
-
{
|
|
220
|
-
"indexed": false,
|
|
221
|
-
"internalType": "uint32",
|
|
222
|
-
"name": "nonce",
|
|
223
|
-
"type": "uint32"
|
|
224
|
-
}
|
|
225
|
-
],
|
|
226
|
-
"name": "NonceInvalidated",
|
|
227
|
-
"type": "event"
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
"anonymous": false,
|
|
231
|
-
"inputs": [
|
|
232
|
-
{
|
|
233
|
-
"indexed": false,
|
|
234
|
-
"internalType": "PermissionId",
|
|
235
|
-
"name": "permission",
|
|
236
|
-
"type": "bytes4"
|
|
237
80
|
},
|
|
238
81
|
{
|
|
239
|
-
"indexed":
|
|
240
|
-
"internalType": "
|
|
241
|
-
"name": "
|
|
242
|
-
"type": "
|
|
243
|
-
}
|
|
244
|
-
],
|
|
245
|
-
"name": "PermissionInstalled",
|
|
246
|
-
"type": "event"
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
"anonymous": false,
|
|
250
|
-
"inputs": [
|
|
251
|
-
{
|
|
252
|
-
"indexed": false,
|
|
253
|
-
"internalType": "PermissionId",
|
|
254
|
-
"name": "permission",
|
|
255
|
-
"type": "bytes4"
|
|
82
|
+
"indexed": true,
|
|
83
|
+
"internalType": "address",
|
|
84
|
+
"name": "validator",
|
|
85
|
+
"type": "address"
|
|
256
86
|
}
|
|
257
87
|
],
|
|
258
|
-
"name": "
|
|
88
|
+
"name": "ExecutionChanged",
|
|
259
89
|
"type": "event"
|
|
260
90
|
},
|
|
261
91
|
{
|
|
@@ -277,166 +107,36 @@ exports.Kernel_jsonAbi = [
|
|
|
277
107
|
"name": "Received",
|
|
278
108
|
"type": "event"
|
|
279
109
|
},
|
|
280
|
-
{
|
|
281
|
-
"anonymous": false,
|
|
282
|
-
"inputs": [
|
|
283
|
-
{
|
|
284
|
-
"indexed": false,
|
|
285
|
-
"internalType": "ValidationId",
|
|
286
|
-
"name": "rootValidator",
|
|
287
|
-
"type": "bytes21"
|
|
288
|
-
}
|
|
289
|
-
],
|
|
290
|
-
"name": "RootValidatorUpdated",
|
|
291
|
-
"type": "event"
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
"anonymous": false,
|
|
295
|
-
"inputs": [
|
|
296
|
-
{
|
|
297
|
-
"indexed": false,
|
|
298
|
-
"internalType": "bytes4",
|
|
299
|
-
"name": "selector",
|
|
300
|
-
"type": "bytes4"
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
"indexed": false,
|
|
304
|
-
"internalType": "ValidationId",
|
|
305
|
-
"name": "vId",
|
|
306
|
-
"type": "bytes21"
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
"indexed": false,
|
|
310
|
-
"internalType": "bool",
|
|
311
|
-
"name": "allowed",
|
|
312
|
-
"type": "bool"
|
|
313
|
-
}
|
|
314
|
-
],
|
|
315
|
-
"name": "SelectorSet",
|
|
316
|
-
"type": "event"
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
"anonymous": false,
|
|
320
|
-
"inputs": [
|
|
321
|
-
{
|
|
322
|
-
"indexed": false,
|
|
323
|
-
"internalType": "uint256",
|
|
324
|
-
"name": "batchExecutionindex",
|
|
325
|
-
"type": "uint256"
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
"indexed": false,
|
|
329
|
-
"internalType": "bytes",
|
|
330
|
-
"name": "result",
|
|
331
|
-
"type": "bytes"
|
|
332
|
-
}
|
|
333
|
-
],
|
|
334
|
-
"name": "TryExecuteUnsuccessful",
|
|
335
|
-
"type": "event"
|
|
336
|
-
},
|
|
337
110
|
{
|
|
338
111
|
"anonymous": false,
|
|
339
112
|
"inputs": [
|
|
340
113
|
{
|
|
341
114
|
"indexed": true,
|
|
342
115
|
"internalType": "address",
|
|
343
|
-
"name": "
|
|
116
|
+
"name": "newImplementation",
|
|
344
117
|
"type": "address"
|
|
345
118
|
}
|
|
346
119
|
],
|
|
347
120
|
"name": "Upgraded",
|
|
348
121
|
"type": "event"
|
|
349
122
|
},
|
|
350
|
-
{
|
|
351
|
-
"anonymous": false,
|
|
352
|
-
"inputs": [
|
|
353
|
-
{
|
|
354
|
-
"indexed": false,
|
|
355
|
-
"internalType": "contract IValidator",
|
|
356
|
-
"name": "validator",
|
|
357
|
-
"type": "address"
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
"indexed": false,
|
|
361
|
-
"internalType": "uint32",
|
|
362
|
-
"name": "nonce",
|
|
363
|
-
"type": "uint32"
|
|
364
|
-
}
|
|
365
|
-
],
|
|
366
|
-
"name": "ValidatorInstalled",
|
|
367
|
-
"type": "event"
|
|
368
|
-
},
|
|
369
|
-
{
|
|
370
|
-
"anonymous": false,
|
|
371
|
-
"inputs": [
|
|
372
|
-
{
|
|
373
|
-
"indexed": false,
|
|
374
|
-
"internalType": "contract IValidator",
|
|
375
|
-
"name": "validator",
|
|
376
|
-
"type": "address"
|
|
377
|
-
}
|
|
378
|
-
],
|
|
379
|
-
"name": "ValidatorUninstalled",
|
|
380
|
-
"type": "event"
|
|
381
|
-
},
|
|
382
123
|
{
|
|
383
124
|
"stateMutability": "payable",
|
|
384
125
|
"type": "fallback"
|
|
385
126
|
},
|
|
386
|
-
{
|
|
387
|
-
"inputs": [],
|
|
388
|
-
"name": "accountId",
|
|
389
|
-
"outputs": [
|
|
390
|
-
{
|
|
391
|
-
"internalType": "string",
|
|
392
|
-
"name": "accountImplementationId",
|
|
393
|
-
"type": "string"
|
|
394
|
-
}
|
|
395
|
-
],
|
|
396
|
-
"stateMutability": "pure",
|
|
397
|
-
"type": "function"
|
|
398
|
-
},
|
|
399
127
|
{
|
|
400
128
|
"inputs": [
|
|
401
129
|
{
|
|
402
|
-
"internalType": "
|
|
403
|
-
"name": "
|
|
404
|
-
"type": "
|
|
405
|
-
},
|
|
406
|
-
{
|
|
407
|
-
"internalType": "contract IHook",
|
|
408
|
-
"name": "hook",
|
|
409
|
-
"type": "address"
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
"internalType": "bytes",
|
|
413
|
-
"name": "validatorData",
|
|
414
|
-
"type": "bytes"
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
"internalType": "bytes",
|
|
418
|
-
"name": "hookData",
|
|
419
|
-
"type": "bytes"
|
|
130
|
+
"internalType": "bytes4",
|
|
131
|
+
"name": "_disableFlag",
|
|
132
|
+
"type": "bytes4"
|
|
420
133
|
}
|
|
421
134
|
],
|
|
422
|
-
"name": "
|
|
135
|
+
"name": "disableMode",
|
|
423
136
|
"outputs": [],
|
|
424
137
|
"stateMutability": "payable",
|
|
425
138
|
"type": "function"
|
|
426
139
|
},
|
|
427
|
-
{
|
|
428
|
-
"inputs": [],
|
|
429
|
-
"name": "currentNonce",
|
|
430
|
-
"outputs": [
|
|
431
|
-
{
|
|
432
|
-
"internalType": "uint32",
|
|
433
|
-
"name": "",
|
|
434
|
-
"type": "uint32"
|
|
435
|
-
}
|
|
436
|
-
],
|
|
437
|
-
"stateMutability": "view",
|
|
438
|
-
"type": "function"
|
|
439
|
-
},
|
|
440
140
|
{
|
|
441
141
|
"inputs": [],
|
|
442
142
|
"name": "eip712Domain",
|
|
@@ -468,159 +168,26 @@ exports.Kernel_jsonAbi = [
|
|
|
468
168
|
},
|
|
469
169
|
{
|
|
470
170
|
"internalType": "bytes32",
|
|
471
|
-
"name": "salt",
|
|
472
|
-
"type": "bytes32"
|
|
473
|
-
},
|
|
474
|
-
{
|
|
475
|
-
"internalType": "uint256[]",
|
|
476
|
-
"name": "extensions",
|
|
477
|
-
"type": "uint256[]"
|
|
478
|
-
}
|
|
479
|
-
],
|
|
480
|
-
"stateMutability": "view",
|
|
481
|
-
"type": "function"
|
|
482
|
-
},
|
|
483
|
-
{
|
|
484
|
-
"inputs": [],
|
|
485
|
-
"name": "entrypoint",
|
|
486
|
-
"outputs": [
|
|
487
|
-
{
|
|
488
|
-
"internalType": "contract IEntryPoint",
|
|
489
|
-
"name": "",
|
|
490
|
-
"type": "address"
|
|
491
|
-
}
|
|
492
|
-
],
|
|
493
|
-
"stateMutability": "view",
|
|
494
|
-
"type": "function"
|
|
495
|
-
},
|
|
496
|
-
{
|
|
497
|
-
"inputs": [
|
|
498
|
-
{
|
|
499
|
-
"internalType": "ExecMode",
|
|
500
|
-
"name": "execMode",
|
|
501
|
-
"type": "bytes32"
|
|
502
|
-
},
|
|
503
|
-
{
|
|
504
|
-
"internalType": "bytes",
|
|
505
|
-
"name": "executionCalldata",
|
|
506
|
-
"type": "bytes"
|
|
507
|
-
}
|
|
508
|
-
],
|
|
509
|
-
"name": "execute",
|
|
510
|
-
"outputs": [],
|
|
511
|
-
"stateMutability": "payable",
|
|
512
|
-
"type": "function"
|
|
513
|
-
},
|
|
514
|
-
{
|
|
515
|
-
"inputs": [
|
|
516
|
-
{
|
|
517
|
-
"internalType": "ExecMode",
|
|
518
|
-
"name": "execMode",
|
|
519
|
-
"type": "bytes32"
|
|
520
|
-
},
|
|
521
|
-
{
|
|
522
|
-
"internalType": "bytes",
|
|
523
|
-
"name": "executionCalldata",
|
|
524
|
-
"type": "bytes"
|
|
525
|
-
}
|
|
526
|
-
],
|
|
527
|
-
"name": "executeFromExecutor",
|
|
528
|
-
"outputs": [
|
|
529
|
-
{
|
|
530
|
-
"internalType": "bytes[]",
|
|
531
|
-
"name": "returnData",
|
|
532
|
-
"type": "bytes[]"
|
|
533
|
-
}
|
|
534
|
-
],
|
|
535
|
-
"stateMutability": "payable",
|
|
536
|
-
"type": "function"
|
|
537
|
-
},
|
|
538
|
-
{
|
|
539
|
-
"inputs": [
|
|
540
|
-
{
|
|
541
|
-
"components": [
|
|
542
|
-
{
|
|
543
|
-
"internalType": "address",
|
|
544
|
-
"name": "sender",
|
|
545
|
-
"type": "address"
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
"internalType": "uint256",
|
|
549
|
-
"name": "nonce",
|
|
550
|
-
"type": "uint256"
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
"internalType": "bytes",
|
|
554
|
-
"name": "initCode",
|
|
555
|
-
"type": "bytes"
|
|
556
|
-
},
|
|
557
|
-
{
|
|
558
|
-
"internalType": "bytes",
|
|
559
|
-
"name": "callData",
|
|
560
|
-
"type": "bytes"
|
|
561
|
-
},
|
|
562
|
-
{
|
|
563
|
-
"internalType": "bytes32",
|
|
564
|
-
"name": "accountGasLimits",
|
|
565
|
-
"type": "bytes32"
|
|
566
|
-
},
|
|
567
|
-
{
|
|
568
|
-
"internalType": "uint256",
|
|
569
|
-
"name": "preVerificationGas",
|
|
570
|
-
"type": "uint256"
|
|
571
|
-
},
|
|
572
|
-
{
|
|
573
|
-
"internalType": "bytes32",
|
|
574
|
-
"name": "gasFees",
|
|
575
|
-
"type": "bytes32"
|
|
576
|
-
},
|
|
577
|
-
{
|
|
578
|
-
"internalType": "bytes",
|
|
579
|
-
"name": "paymasterAndData",
|
|
580
|
-
"type": "bytes"
|
|
581
|
-
},
|
|
582
|
-
{
|
|
583
|
-
"internalType": "bytes",
|
|
584
|
-
"name": "signature",
|
|
585
|
-
"type": "bytes"
|
|
586
|
-
}
|
|
587
|
-
],
|
|
588
|
-
"internalType": "struct PackedUserOperation",
|
|
589
|
-
"name": "userOp",
|
|
590
|
-
"type": "tuple"
|
|
591
|
-
},
|
|
592
|
-
{
|
|
593
|
-
"internalType": "bytes32",
|
|
594
|
-
"name": "userOpHash",
|
|
171
|
+
"name": "salt",
|
|
595
172
|
"type": "bytes32"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"internalType": "uint256[]",
|
|
176
|
+
"name": "extensions",
|
|
177
|
+
"type": "uint256[]"
|
|
596
178
|
}
|
|
597
179
|
],
|
|
598
|
-
"
|
|
599
|
-
"outputs": [],
|
|
600
|
-
"stateMutability": "payable",
|
|
180
|
+
"stateMutability": "view",
|
|
601
181
|
"type": "function"
|
|
602
182
|
},
|
|
603
183
|
{
|
|
604
|
-
"inputs": [
|
|
605
|
-
|
|
606
|
-
"internalType": "contract IExecutor",
|
|
607
|
-
"name": "executor",
|
|
608
|
-
"type": "address"
|
|
609
|
-
}
|
|
610
|
-
],
|
|
611
|
-
"name": "executorConfig",
|
|
184
|
+
"inputs": [],
|
|
185
|
+
"name": "entryPoint",
|
|
612
186
|
"outputs": [
|
|
613
187
|
{
|
|
614
|
-
"
|
|
615
|
-
{
|
|
616
|
-
"internalType": "contract IHook",
|
|
617
|
-
"name": "hook",
|
|
618
|
-
"type": "address"
|
|
619
|
-
}
|
|
620
|
-
],
|
|
621
|
-
"internalType": "struct ExecutorManager.ExecutorConfig",
|
|
188
|
+
"internalType": "contract IEntryPoint",
|
|
622
189
|
"name": "",
|
|
623
|
-
"type": "
|
|
190
|
+
"type": "address"
|
|
624
191
|
}
|
|
625
192
|
],
|
|
626
193
|
"stateMutability": "view",
|
|
@@ -629,163 +196,207 @@ exports.Kernel_jsonAbi = [
|
|
|
629
196
|
{
|
|
630
197
|
"inputs": [
|
|
631
198
|
{
|
|
632
|
-
"internalType": "
|
|
633
|
-
"name": "
|
|
634
|
-
"type": "bytes21"
|
|
635
|
-
},
|
|
636
|
-
{
|
|
637
|
-
"internalType": "contract IHook",
|
|
638
|
-
"name": "hook",
|
|
199
|
+
"internalType": "address",
|
|
200
|
+
"name": "to",
|
|
639
201
|
"type": "address"
|
|
640
202
|
},
|
|
641
203
|
{
|
|
642
|
-
"internalType": "
|
|
643
|
-
"name": "
|
|
644
|
-
"type": "
|
|
204
|
+
"internalType": "uint256",
|
|
205
|
+
"name": "value",
|
|
206
|
+
"type": "uint256"
|
|
645
207
|
},
|
|
646
208
|
{
|
|
647
209
|
"internalType": "bytes",
|
|
648
|
-
"name": "
|
|
210
|
+
"name": "data",
|
|
649
211
|
"type": "bytes"
|
|
650
212
|
},
|
|
651
213
|
{
|
|
652
|
-
"internalType": "
|
|
653
|
-
"name": "
|
|
654
|
-
"type": "
|
|
214
|
+
"internalType": "enum Operation",
|
|
215
|
+
"name": "_operation",
|
|
216
|
+
"type": "uint8"
|
|
655
217
|
}
|
|
656
218
|
],
|
|
657
|
-
"name": "
|
|
219
|
+
"name": "execute",
|
|
658
220
|
"outputs": [],
|
|
659
|
-
"stateMutability": "
|
|
221
|
+
"stateMutability": "payable",
|
|
660
222
|
"type": "function"
|
|
661
223
|
},
|
|
662
224
|
{
|
|
663
225
|
"inputs": [
|
|
664
226
|
{
|
|
665
|
-
"
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
227
|
+
"components": [
|
|
228
|
+
{
|
|
229
|
+
"internalType": "address",
|
|
230
|
+
"name": "to",
|
|
231
|
+
"type": "address"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"internalType": "uint256",
|
|
235
|
+
"name": "value",
|
|
236
|
+
"type": "uint256"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"internalType": "bytes",
|
|
240
|
+
"name": "data",
|
|
241
|
+
"type": "bytes"
|
|
242
|
+
}
|
|
243
|
+
],
|
|
244
|
+
"internalType": "struct Call[]",
|
|
245
|
+
"name": "calls",
|
|
246
|
+
"type": "tuple[]"
|
|
247
|
+
}
|
|
248
|
+
],
|
|
249
|
+
"name": "executeBatch",
|
|
250
|
+
"outputs": [],
|
|
251
|
+
"stateMutability": "payable",
|
|
252
|
+
"type": "function"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"inputs": [
|
|
669
256
|
{
|
|
670
257
|
"internalType": "address",
|
|
671
|
-
"name": "
|
|
258
|
+
"name": "to",
|
|
672
259
|
"type": "address"
|
|
673
260
|
},
|
|
674
261
|
{
|
|
675
262
|
"internalType": "bytes",
|
|
676
|
-
"name": "
|
|
263
|
+
"name": "data",
|
|
677
264
|
"type": "bytes"
|
|
678
265
|
}
|
|
679
266
|
],
|
|
680
|
-
"name": "
|
|
267
|
+
"name": "executeDelegateCall",
|
|
681
268
|
"outputs": [],
|
|
682
269
|
"stateMutability": "payable",
|
|
683
270
|
"type": "function"
|
|
684
271
|
},
|
|
272
|
+
{
|
|
273
|
+
"inputs": [],
|
|
274
|
+
"name": "getDefaultValidator",
|
|
275
|
+
"outputs": [
|
|
276
|
+
{
|
|
277
|
+
"internalType": "contract IKernelValidator",
|
|
278
|
+
"name": "validator",
|
|
279
|
+
"type": "address"
|
|
280
|
+
}
|
|
281
|
+
],
|
|
282
|
+
"stateMutability": "view",
|
|
283
|
+
"type": "function"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"inputs": [],
|
|
287
|
+
"name": "getDisabledMode",
|
|
288
|
+
"outputs": [
|
|
289
|
+
{
|
|
290
|
+
"internalType": "bytes4",
|
|
291
|
+
"name": "disabled",
|
|
292
|
+
"type": "bytes4"
|
|
293
|
+
}
|
|
294
|
+
],
|
|
295
|
+
"stateMutability": "view",
|
|
296
|
+
"type": "function"
|
|
297
|
+
},
|
|
685
298
|
{
|
|
686
299
|
"inputs": [
|
|
687
300
|
{
|
|
688
|
-
"internalType": "
|
|
689
|
-
"name": "
|
|
690
|
-
"type": "
|
|
691
|
-
}
|
|
301
|
+
"internalType": "bytes4",
|
|
302
|
+
"name": "_selector",
|
|
303
|
+
"type": "bytes4"
|
|
304
|
+
}
|
|
305
|
+
],
|
|
306
|
+
"name": "getExecution",
|
|
307
|
+
"outputs": [
|
|
692
308
|
{
|
|
693
309
|
"components": [
|
|
694
310
|
{
|
|
695
|
-
"internalType": "
|
|
696
|
-
"name": "
|
|
697
|
-
"type": "
|
|
311
|
+
"internalType": "ValidAfter",
|
|
312
|
+
"name": "validAfter",
|
|
313
|
+
"type": "uint48"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"internalType": "ValidUntil",
|
|
317
|
+
"name": "validUntil",
|
|
318
|
+
"type": "uint48"
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"internalType": "address",
|
|
322
|
+
"name": "executor",
|
|
323
|
+
"type": "address"
|
|
698
324
|
},
|
|
699
325
|
{
|
|
700
|
-
"internalType": "contract
|
|
701
|
-
"name": "
|
|
326
|
+
"internalType": "contract IKernelValidator",
|
|
327
|
+
"name": "validator",
|
|
702
328
|
"type": "address"
|
|
703
329
|
}
|
|
704
330
|
],
|
|
705
|
-
"internalType": "struct
|
|
706
|
-
"name": "
|
|
707
|
-
"type": "tuple
|
|
708
|
-
},
|
|
709
|
-
{
|
|
710
|
-
"internalType": "bytes[]",
|
|
711
|
-
"name": "validationData",
|
|
712
|
-
"type": "bytes[]"
|
|
713
|
-
},
|
|
714
|
-
{
|
|
715
|
-
"internalType": "bytes[]",
|
|
716
|
-
"name": "hookData",
|
|
717
|
-
"type": "bytes[]"
|
|
331
|
+
"internalType": "struct ExecutionDetail",
|
|
332
|
+
"name": "",
|
|
333
|
+
"type": "tuple"
|
|
718
334
|
}
|
|
719
335
|
],
|
|
720
|
-
"
|
|
721
|
-
"outputs": [],
|
|
722
|
-
"stateMutability": "payable",
|
|
336
|
+
"stateMutability": "view",
|
|
723
337
|
"type": "function"
|
|
724
338
|
},
|
|
725
339
|
{
|
|
726
|
-
"inputs": [
|
|
340
|
+
"inputs": [],
|
|
341
|
+
"name": "getLastDisabledTime",
|
|
342
|
+
"outputs": [
|
|
727
343
|
{
|
|
728
|
-
"internalType": "
|
|
729
|
-
"name": "
|
|
730
|
-
"type": "
|
|
344
|
+
"internalType": "uint48",
|
|
345
|
+
"name": "",
|
|
346
|
+
"type": "uint48"
|
|
731
347
|
}
|
|
732
348
|
],
|
|
733
|
-
"
|
|
734
|
-
"outputs": [],
|
|
735
|
-
"stateMutability": "payable",
|
|
349
|
+
"stateMutability": "view",
|
|
736
350
|
"type": "function"
|
|
737
351
|
},
|
|
738
352
|
{
|
|
739
353
|
"inputs": [
|
|
740
354
|
{
|
|
741
|
-
"internalType": "
|
|
742
|
-
"name": "
|
|
743
|
-
"type": "
|
|
744
|
-
},
|
|
745
|
-
{
|
|
746
|
-
"internalType": "bytes4",
|
|
747
|
-
"name": "selector",
|
|
748
|
-
"type": "bytes4"
|
|
355
|
+
"internalType": "uint192",
|
|
356
|
+
"name": "key",
|
|
357
|
+
"type": "uint192"
|
|
749
358
|
}
|
|
750
359
|
],
|
|
751
|
-
"name": "
|
|
360
|
+
"name": "getNonce",
|
|
752
361
|
"outputs": [
|
|
753
362
|
{
|
|
754
|
-
"internalType": "
|
|
363
|
+
"internalType": "uint256",
|
|
755
364
|
"name": "",
|
|
756
|
-
"type": "
|
|
365
|
+
"type": "uint256"
|
|
757
366
|
}
|
|
758
367
|
],
|
|
759
368
|
"stateMutability": "view",
|
|
760
369
|
"type": "function"
|
|
761
370
|
},
|
|
762
371
|
{
|
|
763
|
-
"inputs": [
|
|
372
|
+
"inputs": [],
|
|
373
|
+
"name": "getNonce",
|
|
374
|
+
"outputs": [
|
|
764
375
|
{
|
|
765
376
|
"internalType": "uint256",
|
|
766
|
-
"name": "
|
|
377
|
+
"name": "",
|
|
767
378
|
"type": "uint256"
|
|
768
|
-
}
|
|
379
|
+
}
|
|
380
|
+
],
|
|
381
|
+
"stateMutability": "view",
|
|
382
|
+
"type": "function"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"inputs": [
|
|
769
386
|
{
|
|
770
|
-
"internalType": "
|
|
771
|
-
"name": "
|
|
387
|
+
"internalType": "contract IKernelValidator",
|
|
388
|
+
"name": "_defaultValidator",
|
|
772
389
|
"type": "address"
|
|
773
390
|
},
|
|
774
391
|
{
|
|
775
392
|
"internalType": "bytes",
|
|
776
|
-
"name": "
|
|
393
|
+
"name": "_data",
|
|
777
394
|
"type": "bytes"
|
|
778
395
|
}
|
|
779
396
|
],
|
|
780
|
-
"name": "
|
|
781
|
-
"outputs": [
|
|
782
|
-
|
|
783
|
-
"internalType": "bool",
|
|
784
|
-
"name": "",
|
|
785
|
-
"type": "bool"
|
|
786
|
-
}
|
|
787
|
-
],
|
|
788
|
-
"stateMutability": "view",
|
|
397
|
+
"name": "initialize",
|
|
398
|
+
"outputs": [],
|
|
399
|
+
"stateMutability": "payable",
|
|
789
400
|
"type": "function"
|
|
790
401
|
},
|
|
791
402
|
{
|
|
@@ -812,6 +423,19 @@ exports.Kernel_jsonAbi = [
|
|
|
812
423
|
"stateMutability": "view",
|
|
813
424
|
"type": "function"
|
|
814
425
|
},
|
|
426
|
+
{
|
|
427
|
+
"inputs": [],
|
|
428
|
+
"name": "name",
|
|
429
|
+
"outputs": [
|
|
430
|
+
{
|
|
431
|
+
"internalType": "string",
|
|
432
|
+
"name": "",
|
|
433
|
+
"type": "string"
|
|
434
|
+
}
|
|
435
|
+
],
|
|
436
|
+
"stateMutability": "view",
|
|
437
|
+
"type": "function"
|
|
438
|
+
},
|
|
815
439
|
{
|
|
816
440
|
"inputs": [
|
|
817
441
|
{
|
|
@@ -927,168 +551,55 @@ exports.Kernel_jsonAbi = [
|
|
|
927
551
|
{
|
|
928
552
|
"inputs": [
|
|
929
553
|
{
|
|
930
|
-
"internalType": "
|
|
931
|
-
"name": "
|
|
932
|
-
"type": "
|
|
933
|
-
}
|
|
934
|
-
],
|
|
935
|
-
"name": "permissionConfig",
|
|
936
|
-
"outputs": [
|
|
937
|
-
{
|
|
938
|
-
"components": [
|
|
939
|
-
{
|
|
940
|
-
"internalType": "PassFlag",
|
|
941
|
-
"name": "permissionFlag",
|
|
942
|
-
"type": "bytes2"
|
|
943
|
-
},
|
|
944
|
-
{
|
|
945
|
-
"internalType": "contract ISigner",
|
|
946
|
-
"name": "signer",
|
|
947
|
-
"type": "address"
|
|
948
|
-
},
|
|
949
|
-
{
|
|
950
|
-
"internalType": "PolicyData[]",
|
|
951
|
-
"name": "policyData",
|
|
952
|
-
"type": "bytes22[]"
|
|
953
|
-
}
|
|
954
|
-
],
|
|
955
|
-
"internalType": "struct ValidationManager.PermissionConfig",
|
|
956
|
-
"name": "",
|
|
957
|
-
"type": "tuple"
|
|
958
|
-
}
|
|
959
|
-
],
|
|
960
|
-
"stateMutability": "view",
|
|
961
|
-
"type": "function"
|
|
962
|
-
},
|
|
963
|
-
{
|
|
964
|
-
"inputs": [],
|
|
965
|
-
"name": "rootValidator",
|
|
966
|
-
"outputs": [
|
|
554
|
+
"internalType": "contract IKernelValidator",
|
|
555
|
+
"name": "_defaultValidator",
|
|
556
|
+
"type": "address"
|
|
557
|
+
},
|
|
967
558
|
{
|
|
968
|
-
"internalType": "
|
|
969
|
-
"name": "",
|
|
970
|
-
"type": "
|
|
559
|
+
"internalType": "bytes",
|
|
560
|
+
"name": "_data",
|
|
561
|
+
"type": "bytes"
|
|
971
562
|
}
|
|
972
563
|
],
|
|
973
|
-
"
|
|
564
|
+
"name": "setDefaultValidator",
|
|
565
|
+
"outputs": [],
|
|
566
|
+
"stateMutability": "payable",
|
|
974
567
|
"type": "function"
|
|
975
568
|
},
|
|
976
569
|
{
|
|
977
570
|
"inputs": [
|
|
978
571
|
{
|
|
979
572
|
"internalType": "bytes4",
|
|
980
|
-
"name": "
|
|
573
|
+
"name": "_selector",
|
|
981
574
|
"type": "bytes4"
|
|
982
|
-
}
|
|
983
|
-
],
|
|
984
|
-
"name": "selectorConfig",
|
|
985
|
-
"outputs": [
|
|
986
|
-
{
|
|
987
|
-
"components": [
|
|
988
|
-
{
|
|
989
|
-
"internalType": "contract IHook",
|
|
990
|
-
"name": "hook",
|
|
991
|
-
"type": "address"
|
|
992
|
-
},
|
|
993
|
-
{
|
|
994
|
-
"internalType": "address",
|
|
995
|
-
"name": "target",
|
|
996
|
-
"type": "address"
|
|
997
|
-
},
|
|
998
|
-
{
|
|
999
|
-
"internalType": "CallType",
|
|
1000
|
-
"name": "callType",
|
|
1001
|
-
"type": "bytes1"
|
|
1002
|
-
}
|
|
1003
|
-
],
|
|
1004
|
-
"internalType": "struct SelectorManager.SelectorConfig",
|
|
1005
|
-
"name": "",
|
|
1006
|
-
"type": "tuple"
|
|
1007
|
-
}
|
|
1008
|
-
],
|
|
1009
|
-
"stateMutability": "view",
|
|
1010
|
-
"type": "function"
|
|
1011
|
-
},
|
|
1012
|
-
{
|
|
1013
|
-
"inputs": [
|
|
1014
|
-
{
|
|
1015
|
-
"internalType": "ExecMode",
|
|
1016
|
-
"name": "mode",
|
|
1017
|
-
"type": "bytes32"
|
|
1018
|
-
}
|
|
1019
|
-
],
|
|
1020
|
-
"name": "supportsExecutionMode",
|
|
1021
|
-
"outputs": [
|
|
1022
|
-
{
|
|
1023
|
-
"internalType": "bool",
|
|
1024
|
-
"name": "",
|
|
1025
|
-
"type": "bool"
|
|
1026
|
-
}
|
|
1027
|
-
],
|
|
1028
|
-
"stateMutability": "pure",
|
|
1029
|
-
"type": "function"
|
|
1030
|
-
},
|
|
1031
|
-
{
|
|
1032
|
-
"inputs": [
|
|
1033
|
-
{
|
|
1034
|
-
"internalType": "uint256",
|
|
1035
|
-
"name": "moduleTypeId",
|
|
1036
|
-
"type": "uint256"
|
|
1037
|
-
}
|
|
1038
|
-
],
|
|
1039
|
-
"name": "supportsModule",
|
|
1040
|
-
"outputs": [
|
|
1041
|
-
{
|
|
1042
|
-
"internalType": "bool",
|
|
1043
|
-
"name": "",
|
|
1044
|
-
"type": "bool"
|
|
1045
|
-
}
|
|
1046
|
-
],
|
|
1047
|
-
"stateMutability": "pure",
|
|
1048
|
-
"type": "function"
|
|
1049
|
-
},
|
|
1050
|
-
{
|
|
1051
|
-
"inputs": [
|
|
1052
|
-
{
|
|
1053
|
-
"internalType": "uint256",
|
|
1054
|
-
"name": "moduleType",
|
|
1055
|
-
"type": "uint256"
|
|
1056
575
|
},
|
|
1057
576
|
{
|
|
1058
577
|
"internalType": "address",
|
|
1059
|
-
"name": "
|
|
578
|
+
"name": "_executor",
|
|
1060
579
|
"type": "address"
|
|
1061
580
|
},
|
|
1062
581
|
{
|
|
1063
|
-
"internalType": "
|
|
1064
|
-
"name": "
|
|
1065
|
-
"type": "
|
|
1066
|
-
}
|
|
1067
|
-
],
|
|
1068
|
-
"name": "uninstallModule",
|
|
1069
|
-
"outputs": [],
|
|
1070
|
-
"stateMutability": "payable",
|
|
1071
|
-
"type": "function"
|
|
1072
|
-
},
|
|
1073
|
-
{
|
|
1074
|
-
"inputs": [
|
|
582
|
+
"internalType": "contract IKernelValidator",
|
|
583
|
+
"name": "_validator",
|
|
584
|
+
"type": "address"
|
|
585
|
+
},
|
|
1075
586
|
{
|
|
1076
|
-
"internalType": "
|
|
1077
|
-
"name": "
|
|
1078
|
-
"type": "
|
|
587
|
+
"internalType": "ValidUntil",
|
|
588
|
+
"name": "_validUntil",
|
|
589
|
+
"type": "uint48"
|
|
1079
590
|
},
|
|
1080
591
|
{
|
|
1081
|
-
"internalType": "
|
|
1082
|
-
"name": "
|
|
1083
|
-
"type": "
|
|
592
|
+
"internalType": "ValidAfter",
|
|
593
|
+
"name": "_validAfter",
|
|
594
|
+
"type": "uint48"
|
|
1084
595
|
},
|
|
1085
596
|
{
|
|
1086
597
|
"internalType": "bytes",
|
|
1087
|
-
"name": "
|
|
598
|
+
"name": "_enableData",
|
|
1088
599
|
"type": "bytes"
|
|
1089
600
|
}
|
|
1090
601
|
],
|
|
1091
|
-
"name": "
|
|
602
|
+
"name": "setExecution",
|
|
1092
603
|
"outputs": [],
|
|
1093
604
|
"stateMutability": "payable",
|
|
1094
605
|
"type": "function"
|
|
@@ -1107,13 +618,24 @@ exports.Kernel_jsonAbi = [
|
|
|
1107
618
|
"type": "function"
|
|
1108
619
|
},
|
|
1109
620
|
{
|
|
1110
|
-
"inputs": [
|
|
1111
|
-
|
|
621
|
+
"inputs": [
|
|
622
|
+
{
|
|
623
|
+
"internalType": "bytes32",
|
|
624
|
+
"name": "hash",
|
|
625
|
+
"type": "bytes32"
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"internalType": "bytes",
|
|
629
|
+
"name": "signature",
|
|
630
|
+
"type": "bytes"
|
|
631
|
+
}
|
|
632
|
+
],
|
|
633
|
+
"name": "validateSignature",
|
|
1112
634
|
"outputs": [
|
|
1113
635
|
{
|
|
1114
|
-
"internalType": "
|
|
636
|
+
"internalType": "ValidationData",
|
|
1115
637
|
"name": "",
|
|
1116
|
-
"type": "
|
|
638
|
+
"type": "uint256"
|
|
1117
639
|
}
|
|
1118
640
|
],
|
|
1119
641
|
"stateMutability": "view",
|
|
@@ -1144,9 +666,14 @@ exports.Kernel_jsonAbi = [
|
|
|
1144
666
|
"type": "bytes"
|
|
1145
667
|
},
|
|
1146
668
|
{
|
|
1147
|
-
"internalType": "
|
|
1148
|
-
"name": "
|
|
1149
|
-
"type": "
|
|
669
|
+
"internalType": "uint256",
|
|
670
|
+
"name": "callGasLimit",
|
|
671
|
+
"type": "uint256"
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
"internalType": "uint256",
|
|
675
|
+
"name": "verificationGasLimit",
|
|
676
|
+
"type": "uint256"
|
|
1150
677
|
},
|
|
1151
678
|
{
|
|
1152
679
|
"internalType": "uint256",
|
|
@@ -1154,9 +681,14 @@ exports.Kernel_jsonAbi = [
|
|
|
1154
681
|
"type": "uint256"
|
|
1155
682
|
},
|
|
1156
683
|
{
|
|
1157
|
-
"internalType": "
|
|
1158
|
-
"name": "
|
|
1159
|
-
"type": "
|
|
684
|
+
"internalType": "uint256",
|
|
685
|
+
"name": "maxFeePerGas",
|
|
686
|
+
"type": "uint256"
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"internalType": "uint256",
|
|
690
|
+
"name": "maxPriorityFeePerGas",
|
|
691
|
+
"type": "uint256"
|
|
1160
692
|
},
|
|
1161
693
|
{
|
|
1162
694
|
"internalType": "bytes",
|
|
@@ -1169,8 +701,8 @@ exports.Kernel_jsonAbi = [
|
|
|
1169
701
|
"type": "bytes"
|
|
1170
702
|
}
|
|
1171
703
|
],
|
|
1172
|
-
"internalType": "struct
|
|
1173
|
-
"name": "
|
|
704
|
+
"internalType": "struct UserOperation",
|
|
705
|
+
"name": "_userOp",
|
|
1174
706
|
"type": "tuple"
|
|
1175
707
|
},
|
|
1176
708
|
{
|
|
@@ -1196,31 +728,13 @@ exports.Kernel_jsonAbi = [
|
|
|
1196
728
|
"type": "function"
|
|
1197
729
|
},
|
|
1198
730
|
{
|
|
1199
|
-
"inputs": [
|
|
1200
|
-
|
|
1201
|
-
"internalType": "ValidationId",
|
|
1202
|
-
"name": "vId",
|
|
1203
|
-
"type": "bytes21"
|
|
1204
|
-
}
|
|
1205
|
-
],
|
|
1206
|
-
"name": "validationConfig",
|
|
731
|
+
"inputs": [],
|
|
732
|
+
"name": "version",
|
|
1207
733
|
"outputs": [
|
|
1208
734
|
{
|
|
1209
|
-
"
|
|
1210
|
-
{
|
|
1211
|
-
"internalType": "uint32",
|
|
1212
|
-
"name": "nonce",
|
|
1213
|
-
"type": "uint32"
|
|
1214
|
-
},
|
|
1215
|
-
{
|
|
1216
|
-
"internalType": "contract IHook",
|
|
1217
|
-
"name": "hook",
|
|
1218
|
-
"type": "address"
|
|
1219
|
-
}
|
|
1220
|
-
],
|
|
1221
|
-
"internalType": "struct ValidationManager.ValidationConfig",
|
|
735
|
+
"internalType": "string",
|
|
1222
736
|
"name": "",
|
|
1223
|
-
"type": "
|
|
737
|
+
"type": "string"
|
|
1224
738
|
}
|
|
1225
739
|
],
|
|
1226
740
|
"stateMutability": "view",
|
|
@@ -1289,53 +803,49 @@ class Kernel_json {
|
|
|
1289
803
|
return this.contract;
|
|
1290
804
|
}
|
|
1291
805
|
/**
|
|
1292
|
-
*
|
|
1293
|
-
* pure
|
|
1294
|
-
*/
|
|
1295
|
-
async accountId() {
|
|
1296
|
-
return this.contract.read.accountId();
|
|
1297
|
-
}
|
|
1298
|
-
/**
|
|
1299
|
-
* currentNonce
|
|
806
|
+
* eip712Domain
|
|
1300
807
|
* view
|
|
1301
808
|
*/
|
|
1302
|
-
async
|
|
1303
|
-
return this.contract.read.
|
|
809
|
+
async eip712Domain() {
|
|
810
|
+
return this.contract.read.eip712Domain();
|
|
1304
811
|
}
|
|
1305
812
|
/**
|
|
1306
|
-
*
|
|
813
|
+
* entryPoint
|
|
1307
814
|
* view
|
|
1308
815
|
*/
|
|
1309
|
-
async
|
|
1310
|
-
return this.contract.read.
|
|
816
|
+
async entryPoint() {
|
|
817
|
+
return this.contract.read.entryPoint();
|
|
1311
818
|
}
|
|
1312
819
|
/**
|
|
1313
|
-
*
|
|
820
|
+
* getDefaultValidator
|
|
1314
821
|
* view
|
|
1315
822
|
*/
|
|
1316
|
-
async
|
|
1317
|
-
return this.contract.read.
|
|
823
|
+
async getDefaultValidator() {
|
|
824
|
+
return this.contract.read.getDefaultValidator();
|
|
1318
825
|
}
|
|
1319
826
|
/**
|
|
1320
|
-
*
|
|
827
|
+
* getDisabledMode
|
|
1321
828
|
* view
|
|
1322
829
|
*/
|
|
1323
|
-
async
|
|
1324
|
-
return this.contract.read.
|
|
830
|
+
async getDisabledMode() {
|
|
831
|
+
return this.contract.read.getDisabledMode();
|
|
1325
832
|
}
|
|
1326
833
|
/**
|
|
1327
|
-
*
|
|
834
|
+
* getExecution
|
|
1328
835
|
* view
|
|
1329
836
|
*/
|
|
1330
|
-
async
|
|
1331
|
-
return this.contract.read.
|
|
837
|
+
async getExecution(_selector) {
|
|
838
|
+
return this.contract.read.getExecution([_selector]);
|
|
1332
839
|
}
|
|
1333
840
|
/**
|
|
1334
|
-
*
|
|
841
|
+
* getLastDisabledTime
|
|
1335
842
|
* view
|
|
1336
843
|
*/
|
|
1337
|
-
async
|
|
1338
|
-
return this.contract.read.
|
|
844
|
+
async getLastDisabledTime() {
|
|
845
|
+
return this.contract.read.getLastDisabledTime();
|
|
846
|
+
}
|
|
847
|
+
async getNonce(...args) {
|
|
848
|
+
return this.contract.read.getNonce(args);
|
|
1339
849
|
}
|
|
1340
850
|
/**
|
|
1341
851
|
* isValidSignature
|
|
@@ -1344,6 +854,13 @@ class Kernel_json {
|
|
|
1344
854
|
async isValidSignature(hash, signature) {
|
|
1345
855
|
return this.contract.read.isValidSignature([hash, signature]);
|
|
1346
856
|
}
|
|
857
|
+
/**
|
|
858
|
+
* name
|
|
859
|
+
* view
|
|
860
|
+
*/
|
|
861
|
+
async name() {
|
|
862
|
+
return this.contract.read.name();
|
|
863
|
+
}
|
|
1347
864
|
/**
|
|
1348
865
|
* onERC1155BatchReceived
|
|
1349
866
|
* pure
|
|
@@ -1366,163 +883,95 @@ class Kernel_json {
|
|
|
1366
883
|
return this.contract.read.onERC721Received([arg0, arg1, arg2, arg3]);
|
|
1367
884
|
}
|
|
1368
885
|
/**
|
|
1369
|
-
*
|
|
1370
|
-
* view
|
|
1371
|
-
*/
|
|
1372
|
-
async permissionConfig(pId) {
|
|
1373
|
-
return this.contract.read.permissionConfig([pId]);
|
|
1374
|
-
}
|
|
1375
|
-
/**
|
|
1376
|
-
* rootValidator
|
|
1377
|
-
* view
|
|
1378
|
-
*/
|
|
1379
|
-
async rootValidator() {
|
|
1380
|
-
return this.contract.read.rootValidator();
|
|
1381
|
-
}
|
|
1382
|
-
/**
|
|
1383
|
-
* selectorConfig
|
|
1384
|
-
* view
|
|
1385
|
-
*/
|
|
1386
|
-
async selectorConfig(selector) {
|
|
1387
|
-
return this.contract.read.selectorConfig([selector]);
|
|
1388
|
-
}
|
|
1389
|
-
/**
|
|
1390
|
-
* supportsExecutionMode
|
|
1391
|
-
* pure
|
|
1392
|
-
*/
|
|
1393
|
-
async supportsExecutionMode(mode) {
|
|
1394
|
-
return this.contract.read.supportsExecutionMode([mode]);
|
|
1395
|
-
}
|
|
1396
|
-
/**
|
|
1397
|
-
* supportsModule
|
|
1398
|
-
* pure
|
|
1399
|
-
*/
|
|
1400
|
-
async supportsModule(moduleTypeId) {
|
|
1401
|
-
return this.contract.read.supportsModule([moduleTypeId]);
|
|
1402
|
-
}
|
|
1403
|
-
/**
|
|
1404
|
-
* validNonceFrom
|
|
886
|
+
* validateSignature
|
|
1405
887
|
* view
|
|
1406
888
|
*/
|
|
1407
|
-
async
|
|
1408
|
-
return this.contract.read.
|
|
889
|
+
async validateSignature(hash, signature) {
|
|
890
|
+
return this.contract.read.validateSignature([hash, signature]);
|
|
1409
891
|
}
|
|
1410
892
|
/**
|
|
1411
|
-
*
|
|
893
|
+
* version
|
|
1412
894
|
* view
|
|
1413
895
|
*/
|
|
1414
|
-
async
|
|
1415
|
-
return this.contract.read.
|
|
896
|
+
async version() {
|
|
897
|
+
return this.contract.read.version();
|
|
1416
898
|
}
|
|
1417
899
|
/**
|
|
1418
|
-
*
|
|
900
|
+
* disableMode
|
|
1419
901
|
* payable
|
|
1420
902
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1421
903
|
*/
|
|
1422
|
-
async
|
|
904
|
+
async disableMode(_disableFlag, options) {
|
|
1423
905
|
if (!this.contract.write) {
|
|
1424
906
|
throw new Error('Wallet client is required for write operations');
|
|
1425
907
|
}
|
|
1426
|
-
return this.contract.write.
|
|
908
|
+
return this.contract.write.disableMode([_disableFlag], options);
|
|
1427
909
|
}
|
|
1428
910
|
/**
|
|
1429
911
|
* execute
|
|
1430
912
|
* payable
|
|
1431
913
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1432
914
|
*/
|
|
1433
|
-
async execute(
|
|
915
|
+
async execute(to, value, data, _operation, options) {
|
|
1434
916
|
if (!this.contract.write) {
|
|
1435
917
|
throw new Error('Wallet client is required for write operations');
|
|
1436
918
|
}
|
|
1437
|
-
return this.contract.write.execute([
|
|
919
|
+
return this.contract.write.execute([to, value, data, _operation], options);
|
|
1438
920
|
}
|
|
1439
921
|
/**
|
|
1440
|
-
*
|
|
922
|
+
* executeBatch
|
|
1441
923
|
* payable
|
|
1442
924
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1443
925
|
*/
|
|
1444
|
-
async
|
|
926
|
+
async executeBatch(calls, options) {
|
|
1445
927
|
if (!this.contract.write) {
|
|
1446
928
|
throw new Error('Wallet client is required for write operations');
|
|
1447
929
|
}
|
|
1448
|
-
return this.contract.write.
|
|
930
|
+
return this.contract.write.executeBatch([calls], options);
|
|
1449
931
|
}
|
|
1450
932
|
/**
|
|
1451
|
-
*
|
|
933
|
+
* executeDelegateCall
|
|
1452
934
|
* payable
|
|
1453
935
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1454
936
|
*/
|
|
1455
|
-
async
|
|
937
|
+
async executeDelegateCall(to, data, options) {
|
|
1456
938
|
if (!this.contract.write) {
|
|
1457
939
|
throw new Error('Wallet client is required for write operations');
|
|
1458
940
|
}
|
|
1459
|
-
return this.contract.write.
|
|
941
|
+
return this.contract.write.executeDelegateCall([to, data], options);
|
|
1460
942
|
}
|
|
1461
943
|
/**
|
|
1462
944
|
* initialize
|
|
1463
|
-
* nonpayable
|
|
1464
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1465
|
-
*/
|
|
1466
|
-
async initialize(_rootValidator, hook, validatorData, hookData, initConfig, options) {
|
|
1467
|
-
if (!this.contract.write) {
|
|
1468
|
-
throw new Error('Wallet client is required for write operations');
|
|
1469
|
-
}
|
|
1470
|
-
return this.contract.write.initialize([_rootValidator, hook, validatorData, hookData, initConfig], options);
|
|
1471
|
-
}
|
|
1472
|
-
/**
|
|
1473
|
-
* installModule
|
|
1474
|
-
* payable
|
|
1475
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1476
|
-
*/
|
|
1477
|
-
async installModule(moduleType, module, initData, options) {
|
|
1478
|
-
if (!this.contract.write) {
|
|
1479
|
-
throw new Error('Wallet client is required for write operations');
|
|
1480
|
-
}
|
|
1481
|
-
return this.contract.write.installModule([moduleType, module, initData], options);
|
|
1482
|
-
}
|
|
1483
|
-
/**
|
|
1484
|
-
* installValidations
|
|
1485
945
|
* payable
|
|
1486
946
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1487
947
|
*/
|
|
1488
|
-
async
|
|
948
|
+
async initialize(_defaultValidator, _data, options) {
|
|
1489
949
|
if (!this.contract.write) {
|
|
1490
950
|
throw new Error('Wallet client is required for write operations');
|
|
1491
951
|
}
|
|
1492
|
-
return this.contract.write.
|
|
952
|
+
return this.contract.write.initialize([_defaultValidator, _data], options);
|
|
1493
953
|
}
|
|
1494
954
|
/**
|
|
1495
|
-
*
|
|
955
|
+
* setDefaultValidator
|
|
1496
956
|
* payable
|
|
1497
957
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1498
958
|
*/
|
|
1499
|
-
async
|
|
959
|
+
async setDefaultValidator(_defaultValidator, _data, options) {
|
|
1500
960
|
if (!this.contract.write) {
|
|
1501
961
|
throw new Error('Wallet client is required for write operations');
|
|
1502
962
|
}
|
|
1503
|
-
return this.contract.write.
|
|
963
|
+
return this.contract.write.setDefaultValidator([_defaultValidator, _data], options);
|
|
1504
964
|
}
|
|
1505
965
|
/**
|
|
1506
|
-
*
|
|
966
|
+
* setExecution
|
|
1507
967
|
* payable
|
|
1508
968
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1509
969
|
*/
|
|
1510
|
-
async
|
|
970
|
+
async setExecution(_selector, _executor, _validator, _validUntil, _validAfter, _enableData, options) {
|
|
1511
971
|
if (!this.contract.write) {
|
|
1512
972
|
throw new Error('Wallet client is required for write operations');
|
|
1513
973
|
}
|
|
1514
|
-
return this.contract.write.
|
|
1515
|
-
}
|
|
1516
|
-
/**
|
|
1517
|
-
* uninstallValidation
|
|
1518
|
-
* payable
|
|
1519
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1520
|
-
*/
|
|
1521
|
-
async uninstallValidation(vId, deinitData, hookDeinitData, options) {
|
|
1522
|
-
if (!this.contract.write) {
|
|
1523
|
-
throw new Error('Wallet client is required for write operations');
|
|
1524
|
-
}
|
|
1525
|
-
return this.contract.write.uninstallValidation([vId, deinitData, hookDeinitData], options);
|
|
974
|
+
return this.contract.write.setExecution([_selector, _executor, _validator, _validUntil, _validAfter, _enableData], options);
|
|
1526
975
|
}
|
|
1527
976
|
/**
|
|
1528
977
|
* upgradeTo
|
|
@@ -1540,11 +989,11 @@ class Kernel_json {
|
|
|
1540
989
|
* payable
|
|
1541
990
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1542
991
|
*/
|
|
1543
|
-
async validateUserOp(
|
|
992
|
+
async validateUserOp(_userOp, userOpHash, missingAccountFunds, options) {
|
|
1544
993
|
if (!this.contract.write) {
|
|
1545
994
|
throw new Error('Wallet client is required for write operations');
|
|
1546
995
|
}
|
|
1547
|
-
return this.contract.write.validateUserOp([
|
|
996
|
+
return this.contract.write.validateUserOp([_userOp, userOpHash, missingAccountFunds], options);
|
|
1548
997
|
}
|
|
1549
998
|
/**
|
|
1550
999
|
* Simulate contract write operations (dry-run without sending transaction)
|
|
@@ -1561,84 +1010,60 @@ class Kernel_json {
|
|
|
1561
1010
|
}
|
|
1562
1011
|
return {
|
|
1563
1012
|
/**
|
|
1564
|
-
* Simulate
|
|
1013
|
+
* Simulate disableMode
|
|
1565
1014
|
* Returns gas estimate and result without sending transaction
|
|
1566
1015
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1567
1016
|
*/
|
|
1568
|
-
async
|
|
1569
|
-
return contract.simulate.
|
|
1017
|
+
async disableMode(_disableFlag, options) {
|
|
1018
|
+
return contract.simulate.disableMode([_disableFlag], options);
|
|
1570
1019
|
},
|
|
1571
1020
|
/**
|
|
1572
1021
|
* Simulate execute
|
|
1573
1022
|
* Returns gas estimate and result without sending transaction
|
|
1574
1023
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1575
1024
|
*/
|
|
1576
|
-
async execute(
|
|
1577
|
-
return contract.simulate.execute([
|
|
1025
|
+
async execute(to, value, data, _operation, options) {
|
|
1026
|
+
return contract.simulate.execute([to, value, data, _operation], options);
|
|
1578
1027
|
},
|
|
1579
1028
|
/**
|
|
1580
|
-
* Simulate
|
|
1029
|
+
* Simulate executeBatch
|
|
1581
1030
|
* Returns gas estimate and result without sending transaction
|
|
1582
1031
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1583
1032
|
*/
|
|
1584
|
-
async
|
|
1585
|
-
return contract.simulate.
|
|
1033
|
+
async executeBatch(calls, options) {
|
|
1034
|
+
return contract.simulate.executeBatch([calls], options);
|
|
1586
1035
|
},
|
|
1587
1036
|
/**
|
|
1588
|
-
* Simulate
|
|
1037
|
+
* Simulate executeDelegateCall
|
|
1589
1038
|
* Returns gas estimate and result without sending transaction
|
|
1590
1039
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1591
1040
|
*/
|
|
1592
|
-
async
|
|
1593
|
-
return contract.simulate.
|
|
1041
|
+
async executeDelegateCall(to, data, options) {
|
|
1042
|
+
return contract.simulate.executeDelegateCall([to, data], options);
|
|
1594
1043
|
},
|
|
1595
1044
|
/**
|
|
1596
1045
|
* Simulate initialize
|
|
1597
1046
|
* Returns gas estimate and result without sending transaction
|
|
1598
1047
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1599
1048
|
*/
|
|
1600
|
-
async initialize(
|
|
1601
|
-
return contract.simulate.initialize([
|
|
1602
|
-
},
|
|
1603
|
-
/**
|
|
1604
|
-
* Simulate installModule
|
|
1605
|
-
* Returns gas estimate and result without sending transaction
|
|
1606
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1607
|
-
*/
|
|
1608
|
-
async installModule(moduleType, module, initData, options) {
|
|
1609
|
-
return contract.simulate.installModule([moduleType, module, initData], options);
|
|
1610
|
-
},
|
|
1611
|
-
/**
|
|
1612
|
-
* Simulate installValidations
|
|
1613
|
-
* Returns gas estimate and result without sending transaction
|
|
1614
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1615
|
-
*/
|
|
1616
|
-
async installValidations(vIds, configs, validationData, hookData, options) {
|
|
1617
|
-
return contract.simulate.installValidations([vIds, configs, validationData, hookData], options);
|
|
1618
|
-
},
|
|
1619
|
-
/**
|
|
1620
|
-
* Simulate invalidateNonce
|
|
1621
|
-
* Returns gas estimate and result without sending transaction
|
|
1622
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1623
|
-
*/
|
|
1624
|
-
async invalidateNonce(nonce, options) {
|
|
1625
|
-
return contract.simulate.invalidateNonce([nonce], options);
|
|
1049
|
+
async initialize(_defaultValidator, _data, options) {
|
|
1050
|
+
return contract.simulate.initialize([_defaultValidator, _data], options);
|
|
1626
1051
|
},
|
|
1627
1052
|
/**
|
|
1628
|
-
* Simulate
|
|
1053
|
+
* Simulate setDefaultValidator
|
|
1629
1054
|
* Returns gas estimate and result without sending transaction
|
|
1630
1055
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1631
1056
|
*/
|
|
1632
|
-
async
|
|
1633
|
-
return contract.simulate.
|
|
1057
|
+
async setDefaultValidator(_defaultValidator, _data, options) {
|
|
1058
|
+
return contract.simulate.setDefaultValidator([_defaultValidator, _data], options);
|
|
1634
1059
|
},
|
|
1635
1060
|
/**
|
|
1636
|
-
* Simulate
|
|
1061
|
+
* Simulate setExecution
|
|
1637
1062
|
* Returns gas estimate and result without sending transaction
|
|
1638
1063
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1639
1064
|
*/
|
|
1640
|
-
async
|
|
1641
|
-
return contract.simulate.
|
|
1065
|
+
async setExecution(_selector, _executor, _validator, _validUntil, _validAfter, _enableData, options) {
|
|
1066
|
+
return contract.simulate.setExecution([_selector, _executor, _validator, _validUntil, _validAfter, _enableData], options);
|
|
1642
1067
|
},
|
|
1643
1068
|
/**
|
|
1644
1069
|
* Simulate upgradeTo
|
|
@@ -1653,8 +1078,8 @@ class Kernel_json {
|
|
|
1653
1078
|
* Returns gas estimate and result without sending transaction
|
|
1654
1079
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1655
1080
|
*/
|
|
1656
|
-
async validateUserOp(
|
|
1657
|
-
return contract.simulate.validateUserOp([
|
|
1081
|
+
async validateUserOp(_userOp, userOpHash, missingAccountFunds, options) {
|
|
1082
|
+
return contract.simulate.validateUserOp([_userOp, userOpHash, missingAccountFunds], options);
|
|
1658
1083
|
}
|
|
1659
1084
|
};
|
|
1660
1085
|
}
|
|
@@ -1673,88 +1098,17 @@ class Kernel_json {
|
|
|
1673
1098
|
get watch() {
|
|
1674
1099
|
return {
|
|
1675
1100
|
/**
|
|
1676
|
-
* Watch
|
|
1677
|
-
* @param callback Function to call when event is emitted
|
|
1678
|
-
* @param filter Optional filter for indexed parameters
|
|
1679
|
-
* @returns Unwatch function to stop listening
|
|
1680
|
-
*/
|
|
1681
|
-
ModuleInstalled: (callback) => {
|
|
1682
|
-
return this.publicClient.watchContractEvent({
|
|
1683
|
-
address: this.contractAddress,
|
|
1684
|
-
abi: exports.Kernel_jsonAbi,
|
|
1685
|
-
eventName: 'ModuleInstalled',
|
|
1686
|
-
onLogs: (logs) => {
|
|
1687
|
-
logs.forEach((log) => {
|
|
1688
|
-
callback(log.args);
|
|
1689
|
-
});
|
|
1690
|
-
},
|
|
1691
|
-
});
|
|
1692
|
-
},
|
|
1693
|
-
/**
|
|
1694
|
-
* Watch ModuleUninstallResult events
|
|
1695
|
-
* @param callback Function to call when event is emitted
|
|
1696
|
-
* @param filter Optional filter for indexed parameters
|
|
1697
|
-
* @returns Unwatch function to stop listening
|
|
1698
|
-
*/
|
|
1699
|
-
ModuleUninstallResult: (callback) => {
|
|
1700
|
-
return this.publicClient.watchContractEvent({
|
|
1701
|
-
address: this.contractAddress,
|
|
1702
|
-
abi: exports.Kernel_jsonAbi,
|
|
1703
|
-
eventName: 'ModuleUninstallResult',
|
|
1704
|
-
onLogs: (logs) => {
|
|
1705
|
-
logs.forEach((log) => {
|
|
1706
|
-
callback(log.args);
|
|
1707
|
-
});
|
|
1708
|
-
},
|
|
1709
|
-
});
|
|
1710
|
-
},
|
|
1711
|
-
/**
|
|
1712
|
-
* Watch ModuleUninstalled events
|
|
1713
|
-
* @param callback Function to call when event is emitted
|
|
1714
|
-
* @param filter Optional filter for indexed parameters
|
|
1715
|
-
* @returns Unwatch function to stop listening
|
|
1716
|
-
*/
|
|
1717
|
-
ModuleUninstalled: (callback) => {
|
|
1718
|
-
return this.publicClient.watchContractEvent({
|
|
1719
|
-
address: this.contractAddress,
|
|
1720
|
-
abi: exports.Kernel_jsonAbi,
|
|
1721
|
-
eventName: 'ModuleUninstalled',
|
|
1722
|
-
onLogs: (logs) => {
|
|
1723
|
-
logs.forEach((log) => {
|
|
1724
|
-
callback(log.args);
|
|
1725
|
-
});
|
|
1726
|
-
},
|
|
1727
|
-
});
|
|
1728
|
-
},
|
|
1729
|
-
/**
|
|
1730
|
-
* Watch NonceInvalidated events
|
|
1731
|
-
* @param callback Function to call when event is emitted
|
|
1732
|
-
* @param filter Optional filter for indexed parameters
|
|
1733
|
-
* @returns Unwatch function to stop listening
|
|
1734
|
-
*/
|
|
1735
|
-
NonceInvalidated: (callback) => {
|
|
1736
|
-
return this.publicClient.watchContractEvent({
|
|
1737
|
-
address: this.contractAddress,
|
|
1738
|
-
abi: exports.Kernel_jsonAbi,
|
|
1739
|
-
eventName: 'NonceInvalidated',
|
|
1740
|
-
onLogs: (logs) => {
|
|
1741
|
-
logs.forEach((log) => {
|
|
1742
|
-
callback(log.args);
|
|
1743
|
-
});
|
|
1744
|
-
},
|
|
1745
|
-
});
|
|
1746
|
-
},
|
|
1747
|
-
/**
|
|
1748
|
-
* Watch PermissionInstalled events
|
|
1101
|
+
* Watch DefaultValidatorChanged events
|
|
1749
1102
|
* @param callback Function to call when event is emitted
|
|
1750
1103
|
* @param filter Optional filter for indexed parameters
|
|
1751
1104
|
* @returns Unwatch function to stop listening
|
|
1752
1105
|
*/
|
|
1753
|
-
|
|
1106
|
+
DefaultValidatorChanged: (callback, filter) => {
|
|
1754
1107
|
return this.publicClient.watchContractEvent({
|
|
1755
1108
|
address: this.contractAddress,
|
|
1756
1109
|
abi: exports.Kernel_jsonAbi,
|
|
1757
|
-
eventName: '
|
|
1110
|
+
eventName: 'DefaultValidatorChanged',
|
|
1111
|
+
args: filter,
|
|
1758
1112
|
onLogs: (logs) => {
|
|
1759
1113
|
logs.forEach((log) => {
|
|
1760
1114
|
callback(log.args);
|
|
@@ -1763,16 +1117,17 @@ class Kernel_json {
|
|
|
1763
1117
|
});
|
|
1764
1118
|
},
|
|
1765
1119
|
/**
|
|
1766
|
-
* Watch
|
|
1120
|
+
* Watch ExecutionChanged events
|
|
1767
1121
|
* @param callback Function to call when event is emitted
|
|
1768
1122
|
* @param filter Optional filter for indexed parameters
|
|
1769
1123
|
* @returns Unwatch function to stop listening
|
|
1770
1124
|
*/
|
|
1771
|
-
|
|
1125
|
+
ExecutionChanged: (callback, filter) => {
|
|
1772
1126
|
return this.publicClient.watchContractEvent({
|
|
1773
1127
|
address: this.contractAddress,
|
|
1774
1128
|
abi: exports.Kernel_jsonAbi,
|
|
1775
|
-
eventName: '
|
|
1129
|
+
eventName: 'ExecutionChanged',
|
|
1130
|
+
args: filter,
|
|
1776
1131
|
onLogs: (logs) => {
|
|
1777
1132
|
logs.forEach((log) => {
|
|
1778
1133
|
callback(log.args);
|
|
@@ -1798,60 +1153,6 @@ class Kernel_json {
|
|
|
1798
1153
|
},
|
|
1799
1154
|
});
|
|
1800
1155
|
},
|
|
1801
|
-
/**
|
|
1802
|
-
* Watch RootValidatorUpdated events
|
|
1803
|
-
* @param callback Function to call when event is emitted
|
|
1804
|
-
* @param filter Optional filter for indexed parameters
|
|
1805
|
-
* @returns Unwatch function to stop listening
|
|
1806
|
-
*/
|
|
1807
|
-
RootValidatorUpdated: (callback) => {
|
|
1808
|
-
return this.publicClient.watchContractEvent({
|
|
1809
|
-
address: this.contractAddress,
|
|
1810
|
-
abi: exports.Kernel_jsonAbi,
|
|
1811
|
-
eventName: 'RootValidatorUpdated',
|
|
1812
|
-
onLogs: (logs) => {
|
|
1813
|
-
logs.forEach((log) => {
|
|
1814
|
-
callback(log.args);
|
|
1815
|
-
});
|
|
1816
|
-
},
|
|
1817
|
-
});
|
|
1818
|
-
},
|
|
1819
|
-
/**
|
|
1820
|
-
* Watch SelectorSet events
|
|
1821
|
-
* @param callback Function to call when event is emitted
|
|
1822
|
-
* @param filter Optional filter for indexed parameters
|
|
1823
|
-
* @returns Unwatch function to stop listening
|
|
1824
|
-
*/
|
|
1825
|
-
SelectorSet: (callback) => {
|
|
1826
|
-
return this.publicClient.watchContractEvent({
|
|
1827
|
-
address: this.contractAddress,
|
|
1828
|
-
abi: exports.Kernel_jsonAbi,
|
|
1829
|
-
eventName: 'SelectorSet',
|
|
1830
|
-
onLogs: (logs) => {
|
|
1831
|
-
logs.forEach((log) => {
|
|
1832
|
-
callback(log.args);
|
|
1833
|
-
});
|
|
1834
|
-
},
|
|
1835
|
-
});
|
|
1836
|
-
},
|
|
1837
|
-
/**
|
|
1838
|
-
* Watch TryExecuteUnsuccessful events
|
|
1839
|
-
* @param callback Function to call when event is emitted
|
|
1840
|
-
* @param filter Optional filter for indexed parameters
|
|
1841
|
-
* @returns Unwatch function to stop listening
|
|
1842
|
-
*/
|
|
1843
|
-
TryExecuteUnsuccessful: (callback) => {
|
|
1844
|
-
return this.publicClient.watchContractEvent({
|
|
1845
|
-
address: this.contractAddress,
|
|
1846
|
-
abi: exports.Kernel_jsonAbi,
|
|
1847
|
-
eventName: 'TryExecuteUnsuccessful',
|
|
1848
|
-
onLogs: (logs) => {
|
|
1849
|
-
logs.forEach((log) => {
|
|
1850
|
-
callback(log.args);
|
|
1851
|
-
});
|
|
1852
|
-
},
|
|
1853
|
-
});
|
|
1854
|
-
},
|
|
1855
1156
|
/**
|
|
1856
1157
|
* Watch Upgraded events
|
|
1857
1158
|
* @param callback Function to call when event is emitted
|
|
@@ -1870,42 +1171,6 @@ class Kernel_json {
|
|
|
1870
1171
|
});
|
|
1871
1172
|
},
|
|
1872
1173
|
});
|
|
1873
|
-
},
|
|
1874
|
-
/**
|
|
1875
|
-
* Watch ValidatorInstalled events
|
|
1876
|
-
* @param callback Function to call when event is emitted
|
|
1877
|
-
* @param filter Optional filter for indexed parameters
|
|
1878
|
-
* @returns Unwatch function to stop listening
|
|
1879
|
-
*/
|
|
1880
|
-
ValidatorInstalled: (callback) => {
|
|
1881
|
-
return this.publicClient.watchContractEvent({
|
|
1882
|
-
address: this.contractAddress,
|
|
1883
|
-
abi: exports.Kernel_jsonAbi,
|
|
1884
|
-
eventName: 'ValidatorInstalled',
|
|
1885
|
-
onLogs: (logs) => {
|
|
1886
|
-
logs.forEach((log) => {
|
|
1887
|
-
callback(log.args);
|
|
1888
|
-
});
|
|
1889
|
-
},
|
|
1890
|
-
});
|
|
1891
|
-
},
|
|
1892
|
-
/**
|
|
1893
|
-
* Watch ValidatorUninstalled events
|
|
1894
|
-
* @param callback Function to call when event is emitted
|
|
1895
|
-
* @param filter Optional filter for indexed parameters
|
|
1896
|
-
* @returns Unwatch function to stop listening
|
|
1897
|
-
*/
|
|
1898
|
-
ValidatorUninstalled: (callback) => {
|
|
1899
|
-
return this.publicClient.watchContractEvent({
|
|
1900
|
-
address: this.contractAddress,
|
|
1901
|
-
abi: exports.Kernel_jsonAbi,
|
|
1902
|
-
eventName: 'ValidatorUninstalled',
|
|
1903
|
-
onLogs: (logs) => {
|
|
1904
|
-
logs.forEach((log) => {
|
|
1905
|
-
callback(log.args);
|
|
1906
|
-
});
|
|
1907
|
-
},
|
|
1908
|
-
});
|
|
1909
1174
|
}
|
|
1910
1175
|
};
|
|
1911
1176
|
}
|