@cartesi/devnet 2.0.0-alpha.5 → 2.0.0-alpha.7

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.
Files changed (77) hide show
  1. package/anvil_state.json +1 -1
  2. package/deployments/TestMultiToken.json +1 -1
  3. package/deployments/TestNFT.json +1 -1
  4. package/deployments/TestToken.json +1 -1
  5. package/deployments/alchemyLightAccountV1.LightAccountFactory.json +89 -0
  6. package/deployments/alchemyLightAccountV1.entrypoint.EntryPoint.json +1322 -0
  7. package/deployments/alchemyLightAccountV2.LightAccountFactory.json +350 -0
  8. package/deployments/alchemyLightAccountV2.MultiOwnerLightAccountFactory.json +389 -0
  9. package/deployments/alchemyLightAccountV2.entrypoint.EntryPoint.json +1009 -0
  10. package/deployments/alchemyModularAccountV2.AccountFactory.json +658 -0
  11. package/deployments/alchemyModularAccountV2.AllowlistModule.json +728 -0
  12. package/deployments/alchemyModularAccountV2.ExecutionInstallDelegate.json +437 -0
  13. package/deployments/alchemyModularAccountV2.ModularAccount.json +1257 -0
  14. package/deployments/alchemyModularAccountV2.NativeTokenLimitModule.json +416 -0
  15. package/deployments/alchemyModularAccountV2.PaymasterGuardModule.json +254 -0
  16. package/deployments/alchemyModularAccountV2.SemiModularAccount7702.json +1309 -0
  17. package/deployments/alchemyModularAccountV2.SemiModularAccountBytecode.json +1304 -0
  18. package/deployments/alchemyModularAccountV2.SemiModularAccountStorageOnly.json +1317 -0
  19. package/deployments/alchemyModularAccountV2.SingleSignerValidationModule.json +343 -0
  20. package/deployments/alchemyModularAccountV2.TimeRangeModule.json +308 -0
  21. package/deployments/alchemyModularAccountV2.WebAuthnValidationModule.json +360 -0
  22. package/deployments/alchemyModularAccountV2.entrypoint.EntryPoint.json +1009 -0
  23. package/deployments/cartesiRollups.ApplicationFactory.json +5 -5
  24. package/deployments/cartesiRollups.AuthorityFactory.json +5 -5
  25. package/deployments/cartesiRollups.ERC1155BatchPortal.json +6 -6
  26. package/deployments/cartesiRollups.ERC1155SinglePortal.json +6 -6
  27. package/deployments/cartesiRollups.ERC20Portal.json +6 -6
  28. package/deployments/cartesiRollups.ERC721Portal.json +6 -6
  29. package/deployments/cartesiRollups.EtherPortal.json +6 -6
  30. package/deployments/cartesiRollups.InputBox.json +4 -4
  31. package/deployments/cartesiRollups.QuorumFactory.json +5 -5
  32. package/deployments/cartesiRollups.SafeERC20Transfer.json +5 -5
  33. package/deployments/cartesiRollups.SelfHostedApplicationFactory.json +7 -7
  34. package/deployments/entrypointSimulations.PimlicoEntryPointSimulations.json +44 -0
  35. package/deployments/simpleAccount06.SimpleAccountFactory.json +89 -0
  36. package/deployments/simpleAccount06.entrypoint.EntryPoint.json +1322 -0
  37. package/deployments/simpleAccount07.SimpleAccountFactory.json +89 -0
  38. package/deployments/simpleAccount07.entrypoint.EntryPoint.json +1009 -0
  39. package/deployments/simpleAccount08.Simple7702Account.json +376 -0
  40. package/deployments/simpleAccount08.SimpleAccountFactory.json +102 -0
  41. package/deployments/simpleAccount08.entrypoint.EntryPoint.json +1079 -0
  42. package/deployments/zerodevKernel030.ECDSAValidator.json +302 -0
  43. package/deployments/zerodevKernel030.Kernel.json +1083 -0
  44. package/deployments/zerodevKernel030.KernelFactory.json +94 -0
  45. package/deployments/zerodevKernel030.entryPoint.EntryPoint.json +1009 -0
  46. package/deployments/zerodevKernel030.factoryStaker.FactoryStaker.json +292 -0
  47. package/deployments/zerodevKernel030.factoryStaker.entryPoint.EntryPoint.json +1009 -0
  48. package/deployments/zerodevKernel031.ECDSAValidator.json +292 -0
  49. package/deployments/zerodevKernel031.Kernel.json +1239 -0
  50. package/deployments/zerodevKernel031.KernelFactory.json +94 -0
  51. package/deployments/zerodevKernel031.entryPoint.EntryPoint.json +1009 -0
  52. package/deployments/zerodevKernel031.factoryStaker.FactoryStaker.json +292 -0
  53. package/deployments/zerodevKernel031.factoryStaker.entryPoint.EntryPoint.json +1009 -0
  54. package/deployments/zerodevKernel032.Kernel.json +1310 -0
  55. package/deployments/zerodevKernel032.KernelFactory.json +94 -0
  56. package/deployments/zerodevKernel032.entryPoint.EntryPoint.json +1009 -0
  57. package/deployments/zerodevKernel032.factoryStaker.FactoryStaker.json +292 -0
  58. package/deployments/zerodevKernel032.factoryStaker.entryPoint.EntryPoint.json +1009 -0
  59. package/deployments/zerodevKernelAuthnValidator.WebAuthnValidator.json +272 -0
  60. package/deployments/zerodevKernelAuthnValidator.p256Verifier.P256Verifier.json +19 -0
  61. package/deployments/zerodevKernelAuthnValidator2.WebAuthnValidator.json +272 -0
  62. package/deployments/zerodevKernelAuthnValidator2.p256Verifier.P256Verifier.json +19 -0
  63. package/deployments/zerodevKernelCallPolicy.CallPolicy.json +293 -0
  64. package/deployments/zerodevKernelCallPolicy2.CallPolicy.json +298 -0
  65. package/deployments/zerodevKernelCallPolicy3.CallPolicy.json +298 -0
  66. package/deployments/zerodevKernelCallPolicy4.CallPolicy.json +298 -0
  67. package/deployments/zerodevKernelEcdsaSigner.ECDSASigner.json +254 -0
  68. package/deployments/zerodevKernelGasPolicy.GasPolicy.json +283 -0
  69. package/deployments/zerodevKernelRatelimitPolicy.RateLimitPolicy.json +283 -0
  70. package/deployments/zerodevKernelSignaturePolicy.SignaturePolicy.json +278 -0
  71. package/deployments/zerodevKernelSudoPolicy.SudoPolicy.json +225 -0
  72. package/deployments/zerodevKernelTimestampPolicy.TimestampPolicy.json +278 -0
  73. package/deployments/zerodevKernelWebAuthnSigner.WebAuthnSigner.json +295 -0
  74. package/deployments/zerodevKernelWebAuthnSigner.p256Verifier.P256Verifier.json +19 -0
  75. package/deployments/zerodevKernelWebAuthnSigner2.WebAuthnSigner.json +295 -0
  76. package/deployments/zerodevKernelWebAuthnSigner2.p256Verifier.P256Verifier.json +19 -0
  77. package/package.json +2 -2
@@ -0,0 +1,1310 @@
1
+ {
2
+ "address": "0xD830D15D3dc0C269F3dBAa0F3e8626d33CFdaBe1",
3
+ "abi": [
4
+ {
5
+ "type": "constructor",
6
+ "inputs": [
7
+ {
8
+ "name": "_entrypoint",
9
+ "type": "address",
10
+ "internalType": "contract IEntryPoint"
11
+ }
12
+ ],
13
+ "stateMutability": "nonpayable"
14
+ },
15
+ {
16
+ "type": "fallback",
17
+ "stateMutability": "payable"
18
+ },
19
+ {
20
+ "type": "receive",
21
+ "stateMutability": "payable"
22
+ },
23
+ {
24
+ "type": "function",
25
+ "name": "accountId",
26
+ "inputs": [],
27
+ "outputs": [
28
+ {
29
+ "name": "accountImplementationId",
30
+ "type": "string",
31
+ "internalType": "string"
32
+ }
33
+ ],
34
+ "stateMutability": "pure"
35
+ },
36
+ {
37
+ "type": "function",
38
+ "name": "changeRootValidator",
39
+ "inputs": [
40
+ {
41
+ "name": "_rootValidator",
42
+ "type": "bytes21",
43
+ "internalType": "ValidationId"
44
+ },
45
+ {
46
+ "name": "hook",
47
+ "type": "address",
48
+ "internalType": "contract IHook"
49
+ },
50
+ {
51
+ "name": "validatorData",
52
+ "type": "bytes",
53
+ "internalType": "bytes"
54
+ },
55
+ {
56
+ "name": "hookData",
57
+ "type": "bytes",
58
+ "internalType": "bytes"
59
+ }
60
+ ],
61
+ "outputs": [],
62
+ "stateMutability": "payable"
63
+ },
64
+ {
65
+ "type": "function",
66
+ "name": "currentNonce",
67
+ "inputs": [],
68
+ "outputs": [
69
+ {
70
+ "name": "",
71
+ "type": "uint32",
72
+ "internalType": "uint32"
73
+ }
74
+ ],
75
+ "stateMutability": "view"
76
+ },
77
+ {
78
+ "type": "function",
79
+ "name": "eip712Domain",
80
+ "inputs": [],
81
+ "outputs": [
82
+ {
83
+ "name": "fields",
84
+ "type": "bytes1",
85
+ "internalType": "bytes1"
86
+ },
87
+ {
88
+ "name": "name",
89
+ "type": "string",
90
+ "internalType": "string"
91
+ },
92
+ {
93
+ "name": "version",
94
+ "type": "string",
95
+ "internalType": "string"
96
+ },
97
+ {
98
+ "name": "chainId",
99
+ "type": "uint256",
100
+ "internalType": "uint256"
101
+ },
102
+ {
103
+ "name": "verifyingContract",
104
+ "type": "address",
105
+ "internalType": "address"
106
+ },
107
+ {
108
+ "name": "salt",
109
+ "type": "bytes32",
110
+ "internalType": "bytes32"
111
+ },
112
+ {
113
+ "name": "extensions",
114
+ "type": "uint256[]",
115
+ "internalType": "uint256[]"
116
+ }
117
+ ],
118
+ "stateMutability": "view"
119
+ },
120
+ {
121
+ "type": "function",
122
+ "name": "entrypoint",
123
+ "inputs": [],
124
+ "outputs": [
125
+ {
126
+ "name": "",
127
+ "type": "address",
128
+ "internalType": "contract IEntryPoint"
129
+ }
130
+ ],
131
+ "stateMutability": "view"
132
+ },
133
+ {
134
+ "type": "function",
135
+ "name": "execute",
136
+ "inputs": [
137
+ {
138
+ "name": "execMode",
139
+ "type": "bytes32",
140
+ "internalType": "ExecMode"
141
+ },
142
+ {
143
+ "name": "executionCalldata",
144
+ "type": "bytes",
145
+ "internalType": "bytes"
146
+ }
147
+ ],
148
+ "outputs": [],
149
+ "stateMutability": "payable"
150
+ },
151
+ {
152
+ "type": "function",
153
+ "name": "executeFromExecutor",
154
+ "inputs": [
155
+ {
156
+ "name": "execMode",
157
+ "type": "bytes32",
158
+ "internalType": "ExecMode"
159
+ },
160
+ {
161
+ "name": "executionCalldata",
162
+ "type": "bytes",
163
+ "internalType": "bytes"
164
+ }
165
+ ],
166
+ "outputs": [
167
+ {
168
+ "name": "returnData",
169
+ "type": "bytes[]",
170
+ "internalType": "bytes[]"
171
+ }
172
+ ],
173
+ "stateMutability": "payable"
174
+ },
175
+ {
176
+ "type": "function",
177
+ "name": "executeUserOp",
178
+ "inputs": [
179
+ {
180
+ "name": "userOp",
181
+ "type": "tuple",
182
+ "internalType": "struct PackedUserOperation",
183
+ "components": [
184
+ {
185
+ "name": "sender",
186
+ "type": "address",
187
+ "internalType": "address"
188
+ },
189
+ {
190
+ "name": "nonce",
191
+ "type": "uint256",
192
+ "internalType": "uint256"
193
+ },
194
+ {
195
+ "name": "initCode",
196
+ "type": "bytes",
197
+ "internalType": "bytes"
198
+ },
199
+ {
200
+ "name": "callData",
201
+ "type": "bytes",
202
+ "internalType": "bytes"
203
+ },
204
+ {
205
+ "name": "accountGasLimits",
206
+ "type": "bytes32",
207
+ "internalType": "bytes32"
208
+ },
209
+ {
210
+ "name": "preVerificationGas",
211
+ "type": "uint256",
212
+ "internalType": "uint256"
213
+ },
214
+ {
215
+ "name": "gasFees",
216
+ "type": "bytes32",
217
+ "internalType": "bytes32"
218
+ },
219
+ {
220
+ "name": "paymasterAndData",
221
+ "type": "bytes",
222
+ "internalType": "bytes"
223
+ },
224
+ {
225
+ "name": "signature",
226
+ "type": "bytes",
227
+ "internalType": "bytes"
228
+ }
229
+ ]
230
+ },
231
+ {
232
+ "name": "userOpHash",
233
+ "type": "bytes32",
234
+ "internalType": "bytes32"
235
+ }
236
+ ],
237
+ "outputs": [],
238
+ "stateMutability": "payable"
239
+ },
240
+ {
241
+ "type": "function",
242
+ "name": "executorConfig",
243
+ "inputs": [
244
+ {
245
+ "name": "executor",
246
+ "type": "address",
247
+ "internalType": "contract IExecutor"
248
+ }
249
+ ],
250
+ "outputs": [
251
+ {
252
+ "name": "",
253
+ "type": "tuple",
254
+ "internalType": "struct ExecutorManager.ExecutorConfig",
255
+ "components": [
256
+ {
257
+ "name": "hook",
258
+ "type": "address",
259
+ "internalType": "contract IHook"
260
+ }
261
+ ]
262
+ }
263
+ ],
264
+ "stateMutability": "view"
265
+ },
266
+ {
267
+ "type": "function",
268
+ "name": "initialize",
269
+ "inputs": [
270
+ {
271
+ "name": "_rootValidator",
272
+ "type": "bytes21",
273
+ "internalType": "ValidationId"
274
+ },
275
+ {
276
+ "name": "hook",
277
+ "type": "address",
278
+ "internalType": "contract IHook"
279
+ },
280
+ {
281
+ "name": "validatorData",
282
+ "type": "bytes",
283
+ "internalType": "bytes"
284
+ },
285
+ {
286
+ "name": "hookData",
287
+ "type": "bytes",
288
+ "internalType": "bytes"
289
+ },
290
+ {
291
+ "name": "initConfig",
292
+ "type": "bytes[]",
293
+ "internalType": "bytes[]"
294
+ }
295
+ ],
296
+ "outputs": [],
297
+ "stateMutability": "nonpayable"
298
+ },
299
+ {
300
+ "type": "function",
301
+ "name": "installModule",
302
+ "inputs": [
303
+ {
304
+ "name": "moduleType",
305
+ "type": "uint256",
306
+ "internalType": "uint256"
307
+ },
308
+ {
309
+ "name": "module",
310
+ "type": "address",
311
+ "internalType": "address"
312
+ },
313
+ {
314
+ "name": "initData",
315
+ "type": "bytes",
316
+ "internalType": "bytes"
317
+ }
318
+ ],
319
+ "outputs": [],
320
+ "stateMutability": "payable"
321
+ },
322
+ {
323
+ "type": "function",
324
+ "name": "installValidations",
325
+ "inputs": [
326
+ {
327
+ "name": "vIds",
328
+ "type": "bytes21[]",
329
+ "internalType": "ValidationId[]"
330
+ },
331
+ {
332
+ "name": "configs",
333
+ "type": "tuple[]",
334
+ "internalType": "struct ValidationManager.ValidationConfig[]",
335
+ "components": [
336
+ {
337
+ "name": "nonce",
338
+ "type": "uint32",
339
+ "internalType": "uint32"
340
+ },
341
+ {
342
+ "name": "hook",
343
+ "type": "address",
344
+ "internalType": "contract IHook"
345
+ }
346
+ ]
347
+ },
348
+ {
349
+ "name": "validationData",
350
+ "type": "bytes[]",
351
+ "internalType": "bytes[]"
352
+ },
353
+ {
354
+ "name": "hookData",
355
+ "type": "bytes[]",
356
+ "internalType": "bytes[]"
357
+ }
358
+ ],
359
+ "outputs": [],
360
+ "stateMutability": "payable"
361
+ },
362
+ {
363
+ "type": "function",
364
+ "name": "invalidateNonce",
365
+ "inputs": [
366
+ {
367
+ "name": "nonce",
368
+ "type": "uint32",
369
+ "internalType": "uint32"
370
+ }
371
+ ],
372
+ "outputs": [],
373
+ "stateMutability": "payable"
374
+ },
375
+ {
376
+ "type": "function",
377
+ "name": "isAllowedSelector",
378
+ "inputs": [
379
+ {
380
+ "name": "vId",
381
+ "type": "bytes21",
382
+ "internalType": "ValidationId"
383
+ },
384
+ {
385
+ "name": "selector",
386
+ "type": "bytes4",
387
+ "internalType": "bytes4"
388
+ }
389
+ ],
390
+ "outputs": [
391
+ {
392
+ "name": "",
393
+ "type": "bool",
394
+ "internalType": "bool"
395
+ }
396
+ ],
397
+ "stateMutability": "view"
398
+ },
399
+ {
400
+ "type": "function",
401
+ "name": "isModuleInstalled",
402
+ "inputs": [
403
+ {
404
+ "name": "moduleType",
405
+ "type": "uint256",
406
+ "internalType": "uint256"
407
+ },
408
+ {
409
+ "name": "module",
410
+ "type": "address",
411
+ "internalType": "address"
412
+ },
413
+ {
414
+ "name": "additionalContext",
415
+ "type": "bytes",
416
+ "internalType": "bytes"
417
+ }
418
+ ],
419
+ "outputs": [
420
+ {
421
+ "name": "",
422
+ "type": "bool",
423
+ "internalType": "bool"
424
+ }
425
+ ],
426
+ "stateMutability": "view"
427
+ },
428
+ {
429
+ "type": "function",
430
+ "name": "isValidSignature",
431
+ "inputs": [
432
+ {
433
+ "name": "hash",
434
+ "type": "bytes32",
435
+ "internalType": "bytes32"
436
+ },
437
+ {
438
+ "name": "signature",
439
+ "type": "bytes",
440
+ "internalType": "bytes"
441
+ }
442
+ ],
443
+ "outputs": [
444
+ {
445
+ "name": "",
446
+ "type": "bytes4",
447
+ "internalType": "bytes4"
448
+ }
449
+ ],
450
+ "stateMutability": "view"
451
+ },
452
+ {
453
+ "type": "function",
454
+ "name": "onERC1155BatchReceived",
455
+ "inputs": [
456
+ {
457
+ "name": "",
458
+ "type": "address",
459
+ "internalType": "address"
460
+ },
461
+ {
462
+ "name": "",
463
+ "type": "address",
464
+ "internalType": "address"
465
+ },
466
+ {
467
+ "name": "",
468
+ "type": "uint256[]",
469
+ "internalType": "uint256[]"
470
+ },
471
+ {
472
+ "name": "",
473
+ "type": "uint256[]",
474
+ "internalType": "uint256[]"
475
+ },
476
+ {
477
+ "name": "",
478
+ "type": "bytes",
479
+ "internalType": "bytes"
480
+ }
481
+ ],
482
+ "outputs": [
483
+ {
484
+ "name": "",
485
+ "type": "bytes4",
486
+ "internalType": "bytes4"
487
+ }
488
+ ],
489
+ "stateMutability": "pure"
490
+ },
491
+ {
492
+ "type": "function",
493
+ "name": "onERC1155Received",
494
+ "inputs": [
495
+ {
496
+ "name": "",
497
+ "type": "address",
498
+ "internalType": "address"
499
+ },
500
+ {
501
+ "name": "",
502
+ "type": "address",
503
+ "internalType": "address"
504
+ },
505
+ {
506
+ "name": "",
507
+ "type": "uint256",
508
+ "internalType": "uint256"
509
+ },
510
+ {
511
+ "name": "",
512
+ "type": "uint256",
513
+ "internalType": "uint256"
514
+ },
515
+ {
516
+ "name": "",
517
+ "type": "bytes",
518
+ "internalType": "bytes"
519
+ }
520
+ ],
521
+ "outputs": [
522
+ {
523
+ "name": "",
524
+ "type": "bytes4",
525
+ "internalType": "bytes4"
526
+ }
527
+ ],
528
+ "stateMutability": "pure"
529
+ },
530
+ {
531
+ "type": "function",
532
+ "name": "onERC721Received",
533
+ "inputs": [
534
+ {
535
+ "name": "",
536
+ "type": "address",
537
+ "internalType": "address"
538
+ },
539
+ {
540
+ "name": "",
541
+ "type": "address",
542
+ "internalType": "address"
543
+ },
544
+ {
545
+ "name": "",
546
+ "type": "uint256",
547
+ "internalType": "uint256"
548
+ },
549
+ {
550
+ "name": "",
551
+ "type": "bytes",
552
+ "internalType": "bytes"
553
+ }
554
+ ],
555
+ "outputs": [
556
+ {
557
+ "name": "",
558
+ "type": "bytes4",
559
+ "internalType": "bytes4"
560
+ }
561
+ ],
562
+ "stateMutability": "pure"
563
+ },
564
+ {
565
+ "type": "function",
566
+ "name": "permissionConfig",
567
+ "inputs": [
568
+ {
569
+ "name": "pId",
570
+ "type": "bytes4",
571
+ "internalType": "PermissionId"
572
+ }
573
+ ],
574
+ "outputs": [
575
+ {
576
+ "name": "",
577
+ "type": "tuple",
578
+ "internalType": "struct ValidationManager.PermissionConfig",
579
+ "components": [
580
+ {
581
+ "name": "permissionFlag",
582
+ "type": "bytes2",
583
+ "internalType": "PassFlag"
584
+ },
585
+ {
586
+ "name": "signer",
587
+ "type": "address",
588
+ "internalType": "contract ISigner"
589
+ },
590
+ {
591
+ "name": "policyData",
592
+ "type": "bytes22[]",
593
+ "internalType": "PolicyData[]"
594
+ }
595
+ ]
596
+ }
597
+ ],
598
+ "stateMutability": "view"
599
+ },
600
+ {
601
+ "type": "function",
602
+ "name": "replayableUserOpHash",
603
+ "inputs": [
604
+ {
605
+ "name": "userOp",
606
+ "type": "tuple",
607
+ "internalType": "struct PackedUserOperation",
608
+ "components": [
609
+ {
610
+ "name": "sender",
611
+ "type": "address",
612
+ "internalType": "address"
613
+ },
614
+ {
615
+ "name": "nonce",
616
+ "type": "uint256",
617
+ "internalType": "uint256"
618
+ },
619
+ {
620
+ "name": "initCode",
621
+ "type": "bytes",
622
+ "internalType": "bytes"
623
+ },
624
+ {
625
+ "name": "callData",
626
+ "type": "bytes",
627
+ "internalType": "bytes"
628
+ },
629
+ {
630
+ "name": "accountGasLimits",
631
+ "type": "bytes32",
632
+ "internalType": "bytes32"
633
+ },
634
+ {
635
+ "name": "preVerificationGas",
636
+ "type": "uint256",
637
+ "internalType": "uint256"
638
+ },
639
+ {
640
+ "name": "gasFees",
641
+ "type": "bytes32",
642
+ "internalType": "bytes32"
643
+ },
644
+ {
645
+ "name": "paymasterAndData",
646
+ "type": "bytes",
647
+ "internalType": "bytes"
648
+ },
649
+ {
650
+ "name": "signature",
651
+ "type": "bytes",
652
+ "internalType": "bytes"
653
+ }
654
+ ]
655
+ },
656
+ {
657
+ "name": "entryPoint",
658
+ "type": "address",
659
+ "internalType": "address"
660
+ }
661
+ ],
662
+ "outputs": [
663
+ {
664
+ "name": "",
665
+ "type": "bytes32",
666
+ "internalType": "bytes32"
667
+ }
668
+ ],
669
+ "stateMutability": "pure"
670
+ },
671
+ {
672
+ "type": "function",
673
+ "name": "rootValidator",
674
+ "inputs": [],
675
+ "outputs": [
676
+ {
677
+ "name": "",
678
+ "type": "bytes21",
679
+ "internalType": "ValidationId"
680
+ }
681
+ ],
682
+ "stateMutability": "view"
683
+ },
684
+ {
685
+ "type": "function",
686
+ "name": "selectorConfig",
687
+ "inputs": [
688
+ {
689
+ "name": "selector",
690
+ "type": "bytes4",
691
+ "internalType": "bytes4"
692
+ }
693
+ ],
694
+ "outputs": [
695
+ {
696
+ "name": "",
697
+ "type": "tuple",
698
+ "internalType": "struct SelectorManager.SelectorConfig",
699
+ "components": [
700
+ {
701
+ "name": "hook",
702
+ "type": "address",
703
+ "internalType": "contract IHook"
704
+ },
705
+ {
706
+ "name": "target",
707
+ "type": "address",
708
+ "internalType": "address"
709
+ },
710
+ {
711
+ "name": "callType",
712
+ "type": "bytes1",
713
+ "internalType": "CallType"
714
+ }
715
+ ]
716
+ }
717
+ ],
718
+ "stateMutability": "view"
719
+ },
720
+ {
721
+ "type": "function",
722
+ "name": "supportsExecutionMode",
723
+ "inputs": [
724
+ {
725
+ "name": "mode",
726
+ "type": "bytes32",
727
+ "internalType": "ExecMode"
728
+ }
729
+ ],
730
+ "outputs": [
731
+ {
732
+ "name": "",
733
+ "type": "bool",
734
+ "internalType": "bool"
735
+ }
736
+ ],
737
+ "stateMutability": "pure"
738
+ },
739
+ {
740
+ "type": "function",
741
+ "name": "supportsModule",
742
+ "inputs": [
743
+ {
744
+ "name": "moduleTypeId",
745
+ "type": "uint256",
746
+ "internalType": "uint256"
747
+ }
748
+ ],
749
+ "outputs": [
750
+ {
751
+ "name": "",
752
+ "type": "bool",
753
+ "internalType": "bool"
754
+ }
755
+ ],
756
+ "stateMutability": "pure"
757
+ },
758
+ {
759
+ "type": "function",
760
+ "name": "uninstallModule",
761
+ "inputs": [
762
+ {
763
+ "name": "moduleType",
764
+ "type": "uint256",
765
+ "internalType": "uint256"
766
+ },
767
+ {
768
+ "name": "module",
769
+ "type": "address",
770
+ "internalType": "address"
771
+ },
772
+ {
773
+ "name": "deInitData",
774
+ "type": "bytes",
775
+ "internalType": "bytes"
776
+ }
777
+ ],
778
+ "outputs": [],
779
+ "stateMutability": "payable"
780
+ },
781
+ {
782
+ "type": "function",
783
+ "name": "uninstallValidation",
784
+ "inputs": [
785
+ {
786
+ "name": "vId",
787
+ "type": "bytes21",
788
+ "internalType": "ValidationId"
789
+ },
790
+ {
791
+ "name": "deinitData",
792
+ "type": "bytes",
793
+ "internalType": "bytes"
794
+ },
795
+ {
796
+ "name": "hookDeinitData",
797
+ "type": "bytes",
798
+ "internalType": "bytes"
799
+ }
800
+ ],
801
+ "outputs": [],
802
+ "stateMutability": "payable"
803
+ },
804
+ {
805
+ "type": "function",
806
+ "name": "upgradeTo",
807
+ "inputs": [
808
+ {
809
+ "name": "_newImplementation",
810
+ "type": "address",
811
+ "internalType": "address"
812
+ }
813
+ ],
814
+ "outputs": [],
815
+ "stateMutability": "payable"
816
+ },
817
+ {
818
+ "type": "function",
819
+ "name": "validNonceFrom",
820
+ "inputs": [],
821
+ "outputs": [
822
+ {
823
+ "name": "",
824
+ "type": "uint32",
825
+ "internalType": "uint32"
826
+ }
827
+ ],
828
+ "stateMutability": "view"
829
+ },
830
+ {
831
+ "type": "function",
832
+ "name": "validateUserOp",
833
+ "inputs": [
834
+ {
835
+ "name": "userOp",
836
+ "type": "tuple",
837
+ "internalType": "struct PackedUserOperation",
838
+ "components": [
839
+ {
840
+ "name": "sender",
841
+ "type": "address",
842
+ "internalType": "address"
843
+ },
844
+ {
845
+ "name": "nonce",
846
+ "type": "uint256",
847
+ "internalType": "uint256"
848
+ },
849
+ {
850
+ "name": "initCode",
851
+ "type": "bytes",
852
+ "internalType": "bytes"
853
+ },
854
+ {
855
+ "name": "callData",
856
+ "type": "bytes",
857
+ "internalType": "bytes"
858
+ },
859
+ {
860
+ "name": "accountGasLimits",
861
+ "type": "bytes32",
862
+ "internalType": "bytes32"
863
+ },
864
+ {
865
+ "name": "preVerificationGas",
866
+ "type": "uint256",
867
+ "internalType": "uint256"
868
+ },
869
+ {
870
+ "name": "gasFees",
871
+ "type": "bytes32",
872
+ "internalType": "bytes32"
873
+ },
874
+ {
875
+ "name": "paymasterAndData",
876
+ "type": "bytes",
877
+ "internalType": "bytes"
878
+ },
879
+ {
880
+ "name": "signature",
881
+ "type": "bytes",
882
+ "internalType": "bytes"
883
+ }
884
+ ]
885
+ },
886
+ {
887
+ "name": "userOpHash",
888
+ "type": "bytes32",
889
+ "internalType": "bytes32"
890
+ },
891
+ {
892
+ "name": "missingAccountFunds",
893
+ "type": "uint256",
894
+ "internalType": "uint256"
895
+ }
896
+ ],
897
+ "outputs": [
898
+ {
899
+ "name": "validationData",
900
+ "type": "uint256",
901
+ "internalType": "ValidationData"
902
+ }
903
+ ],
904
+ "stateMutability": "payable"
905
+ },
906
+ {
907
+ "type": "function",
908
+ "name": "validationConfig",
909
+ "inputs": [
910
+ {
911
+ "name": "vId",
912
+ "type": "bytes21",
913
+ "internalType": "ValidationId"
914
+ }
915
+ ],
916
+ "outputs": [
917
+ {
918
+ "name": "",
919
+ "type": "tuple",
920
+ "internalType": "struct ValidationManager.ValidationConfig",
921
+ "components": [
922
+ {
923
+ "name": "nonce",
924
+ "type": "uint32",
925
+ "internalType": "uint32"
926
+ },
927
+ {
928
+ "name": "hook",
929
+ "type": "address",
930
+ "internalType": "contract IHook"
931
+ }
932
+ ]
933
+ }
934
+ ],
935
+ "stateMutability": "view"
936
+ },
937
+ {
938
+ "type": "event",
939
+ "name": "ModuleInstalled",
940
+ "inputs": [
941
+ {
942
+ "name": "moduleTypeId",
943
+ "type": "uint256",
944
+ "indexed": false,
945
+ "internalType": "uint256"
946
+ },
947
+ {
948
+ "name": "module",
949
+ "type": "address",
950
+ "indexed": false,
951
+ "internalType": "address"
952
+ }
953
+ ],
954
+ "anonymous": false
955
+ },
956
+ {
957
+ "type": "event",
958
+ "name": "ModuleUninstallResult",
959
+ "inputs": [
960
+ {
961
+ "name": "module",
962
+ "type": "address",
963
+ "indexed": false,
964
+ "internalType": "address"
965
+ },
966
+ {
967
+ "name": "result",
968
+ "type": "bool",
969
+ "indexed": false,
970
+ "internalType": "bool"
971
+ }
972
+ ],
973
+ "anonymous": false
974
+ },
975
+ {
976
+ "type": "event",
977
+ "name": "ModuleUninstalled",
978
+ "inputs": [
979
+ {
980
+ "name": "moduleTypeId",
981
+ "type": "uint256",
982
+ "indexed": false,
983
+ "internalType": "uint256"
984
+ },
985
+ {
986
+ "name": "module",
987
+ "type": "address",
988
+ "indexed": false,
989
+ "internalType": "address"
990
+ }
991
+ ],
992
+ "anonymous": false
993
+ },
994
+ {
995
+ "type": "event",
996
+ "name": "NonceInvalidated",
997
+ "inputs": [
998
+ {
999
+ "name": "nonce",
1000
+ "type": "uint32",
1001
+ "indexed": false,
1002
+ "internalType": "uint32"
1003
+ }
1004
+ ],
1005
+ "anonymous": false
1006
+ },
1007
+ {
1008
+ "type": "event",
1009
+ "name": "PermissionInstalled",
1010
+ "inputs": [
1011
+ {
1012
+ "name": "permission",
1013
+ "type": "bytes4",
1014
+ "indexed": false,
1015
+ "internalType": "PermissionId"
1016
+ },
1017
+ {
1018
+ "name": "nonce",
1019
+ "type": "uint32",
1020
+ "indexed": false,
1021
+ "internalType": "uint32"
1022
+ }
1023
+ ],
1024
+ "anonymous": false
1025
+ },
1026
+ {
1027
+ "type": "event",
1028
+ "name": "PermissionUninstalled",
1029
+ "inputs": [
1030
+ {
1031
+ "name": "permission",
1032
+ "type": "bytes4",
1033
+ "indexed": false,
1034
+ "internalType": "PermissionId"
1035
+ }
1036
+ ],
1037
+ "anonymous": false
1038
+ },
1039
+ {
1040
+ "type": "event",
1041
+ "name": "Received",
1042
+ "inputs": [
1043
+ {
1044
+ "name": "sender",
1045
+ "type": "address",
1046
+ "indexed": false,
1047
+ "internalType": "address"
1048
+ },
1049
+ {
1050
+ "name": "amount",
1051
+ "type": "uint256",
1052
+ "indexed": false,
1053
+ "internalType": "uint256"
1054
+ }
1055
+ ],
1056
+ "anonymous": false
1057
+ },
1058
+ {
1059
+ "type": "event",
1060
+ "name": "RootValidatorUpdated",
1061
+ "inputs": [
1062
+ {
1063
+ "name": "rootValidator",
1064
+ "type": "bytes21",
1065
+ "indexed": false,
1066
+ "internalType": "ValidationId"
1067
+ }
1068
+ ],
1069
+ "anonymous": false
1070
+ },
1071
+ {
1072
+ "type": "event",
1073
+ "name": "SelectorSet",
1074
+ "inputs": [
1075
+ {
1076
+ "name": "selector",
1077
+ "type": "bytes4",
1078
+ "indexed": false,
1079
+ "internalType": "bytes4"
1080
+ },
1081
+ {
1082
+ "name": "vId",
1083
+ "type": "bytes21",
1084
+ "indexed": false,
1085
+ "internalType": "ValidationId"
1086
+ },
1087
+ {
1088
+ "name": "allowed",
1089
+ "type": "bool",
1090
+ "indexed": false,
1091
+ "internalType": "bool"
1092
+ }
1093
+ ],
1094
+ "anonymous": false
1095
+ },
1096
+ {
1097
+ "type": "event",
1098
+ "name": "TryExecuteUnsuccessful",
1099
+ "inputs": [
1100
+ {
1101
+ "name": "batchExecutionindex",
1102
+ "type": "uint256",
1103
+ "indexed": false,
1104
+ "internalType": "uint256"
1105
+ },
1106
+ {
1107
+ "name": "result",
1108
+ "type": "bytes",
1109
+ "indexed": false,
1110
+ "internalType": "bytes"
1111
+ }
1112
+ ],
1113
+ "anonymous": false
1114
+ },
1115
+ {
1116
+ "type": "event",
1117
+ "name": "Upgraded",
1118
+ "inputs": [
1119
+ {
1120
+ "name": "implementation",
1121
+ "type": "address",
1122
+ "indexed": true,
1123
+ "internalType": "address"
1124
+ }
1125
+ ],
1126
+ "anonymous": false
1127
+ },
1128
+ {
1129
+ "type": "event",
1130
+ "name": "ValidatorInstalled",
1131
+ "inputs": [
1132
+ {
1133
+ "name": "validator",
1134
+ "type": "address",
1135
+ "indexed": false,
1136
+ "internalType": "contract IValidator"
1137
+ },
1138
+ {
1139
+ "name": "nonce",
1140
+ "type": "uint32",
1141
+ "indexed": false,
1142
+ "internalType": "uint32"
1143
+ }
1144
+ ],
1145
+ "anonymous": false
1146
+ },
1147
+ {
1148
+ "type": "event",
1149
+ "name": "ValidatorUninstalled",
1150
+ "inputs": [
1151
+ {
1152
+ "name": "validator",
1153
+ "type": "address",
1154
+ "indexed": false,
1155
+ "internalType": "contract IValidator"
1156
+ }
1157
+ ],
1158
+ "anonymous": false
1159
+ },
1160
+ {
1161
+ "type": "error",
1162
+ "name": "EnableNotApproved",
1163
+ "inputs": []
1164
+ },
1165
+ {
1166
+ "type": "error",
1167
+ "name": "ExecutionReverted",
1168
+ "inputs": []
1169
+ },
1170
+ {
1171
+ "type": "error",
1172
+ "name": "InitConfigError",
1173
+ "inputs": [
1174
+ {
1175
+ "name": "idx",
1176
+ "type": "uint256",
1177
+ "internalType": "uint256"
1178
+ }
1179
+ ]
1180
+ },
1181
+ {
1182
+ "type": "error",
1183
+ "name": "InvalidCallType",
1184
+ "inputs": []
1185
+ },
1186
+ {
1187
+ "type": "error",
1188
+ "name": "InvalidCaller",
1189
+ "inputs": []
1190
+ },
1191
+ {
1192
+ "type": "error",
1193
+ "name": "InvalidExecutor",
1194
+ "inputs": []
1195
+ },
1196
+ {
1197
+ "type": "error",
1198
+ "name": "InvalidFallback",
1199
+ "inputs": []
1200
+ },
1201
+ {
1202
+ "type": "error",
1203
+ "name": "InvalidMode",
1204
+ "inputs": []
1205
+ },
1206
+ {
1207
+ "type": "error",
1208
+ "name": "InvalidModuleType",
1209
+ "inputs": []
1210
+ },
1211
+ {
1212
+ "type": "error",
1213
+ "name": "InvalidNonce",
1214
+ "inputs": []
1215
+ },
1216
+ {
1217
+ "type": "error",
1218
+ "name": "InvalidSelector",
1219
+ "inputs": []
1220
+ },
1221
+ {
1222
+ "type": "error",
1223
+ "name": "InvalidSignature",
1224
+ "inputs": []
1225
+ },
1226
+ {
1227
+ "type": "error",
1228
+ "name": "InvalidValidationType",
1229
+ "inputs": []
1230
+ },
1231
+ {
1232
+ "type": "error",
1233
+ "name": "InvalidValidator",
1234
+ "inputs": []
1235
+ },
1236
+ {
1237
+ "type": "error",
1238
+ "name": "NonceInvalidationError",
1239
+ "inputs": []
1240
+ },
1241
+ {
1242
+ "type": "error",
1243
+ "name": "NotSupportedCallType",
1244
+ "inputs": []
1245
+ },
1246
+ {
1247
+ "type": "error",
1248
+ "name": "OnlyExecuteUserOp",
1249
+ "inputs": []
1250
+ },
1251
+ {
1252
+ "type": "error",
1253
+ "name": "PermissionDataLengthMismatch",
1254
+ "inputs": []
1255
+ },
1256
+ {
1257
+ "type": "error",
1258
+ "name": "PermissionNotAlllowedForSignature",
1259
+ "inputs": []
1260
+ },
1261
+ {
1262
+ "type": "error",
1263
+ "name": "PermissionNotAlllowedForUserOp",
1264
+ "inputs": []
1265
+ },
1266
+ {
1267
+ "type": "error",
1268
+ "name": "PolicyDataTooLarge",
1269
+ "inputs": []
1270
+ },
1271
+ {
1272
+ "type": "error",
1273
+ "name": "PolicyFailed",
1274
+ "inputs": [
1275
+ {
1276
+ "name": "i",
1277
+ "type": "uint256",
1278
+ "internalType": "uint256"
1279
+ }
1280
+ ]
1281
+ },
1282
+ {
1283
+ "type": "error",
1284
+ "name": "PolicySignatureOrderError",
1285
+ "inputs": []
1286
+ },
1287
+ {
1288
+ "type": "error",
1289
+ "name": "RootValidatorCannotBeRemoved",
1290
+ "inputs": []
1291
+ },
1292
+ {
1293
+ "type": "error",
1294
+ "name": "SignerPrefixNotPresent",
1295
+ "inputs": []
1296
+ }
1297
+ ],
1298
+ "constructorArgs": [
1299
+ "0x0000000071727De22E5E9d8BAf0edAc6f37da032"
1300
+ ],
1301
+ "linkedLibraries": {},
1302
+ "deployTxnHash": "0xb076cdb5648d13ded161d239b87a7e952f4324e853770a5805322e2e9d18ae0f",
1303
+ "deployTxnBlockNumber": "4",
1304
+ "deployTimestamp": "1746805417",
1305
+ "sourceName": "src/Kernel.sol",
1306
+ "contractName": "Kernel",
1307
+ "deployedOn": "deploy.Kernel",
1308
+ "gasUsed": 5185586,
1309
+ "gasCost": "1765625000"
1310
+ }