@cartesi/devnet 2.0.0-alpha.6 → 2.0.0-alpha.8

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