@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,658 @@
1
+ {
2
+ "address": "0x00000000000017c61b5bEe81050EC8eFc9c6fecd",
3
+ "abi": [
4
+ {
5
+ "type": "constructor",
6
+ "inputs": [
7
+ {
8
+ "name": "_entryPoint",
9
+ "type": "address",
10
+ "internalType": "contract IEntryPoint"
11
+ },
12
+ {
13
+ "name": "_accountImpl",
14
+ "type": "address",
15
+ "internalType": "contract ModularAccount"
16
+ },
17
+ {
18
+ "name": "_semiModularImpl",
19
+ "type": "address",
20
+ "internalType": "contract SemiModularAccountBytecode"
21
+ },
22
+ {
23
+ "name": "_singleSignerValidationModule",
24
+ "type": "address",
25
+ "internalType": "address"
26
+ },
27
+ {
28
+ "name": "_webAuthnValidationModule",
29
+ "type": "address",
30
+ "internalType": "address"
31
+ },
32
+ {
33
+ "name": "owner",
34
+ "type": "address",
35
+ "internalType": "address"
36
+ }
37
+ ],
38
+ "stateMutability": "nonpayable"
39
+ },
40
+ {
41
+ "type": "function",
42
+ "name": "ACCOUNT_IMPL",
43
+ "inputs": [],
44
+ "outputs": [
45
+ {
46
+ "name": "",
47
+ "type": "address",
48
+ "internalType": "contract ModularAccount"
49
+ }
50
+ ],
51
+ "stateMutability": "view"
52
+ },
53
+ {
54
+ "type": "function",
55
+ "name": "ENTRY_POINT",
56
+ "inputs": [],
57
+ "outputs": [
58
+ {
59
+ "name": "",
60
+ "type": "address",
61
+ "internalType": "contract IEntryPoint"
62
+ }
63
+ ],
64
+ "stateMutability": "view"
65
+ },
66
+ {
67
+ "type": "function",
68
+ "name": "SEMI_MODULAR_ACCOUNT_IMPL",
69
+ "inputs": [],
70
+ "outputs": [
71
+ {
72
+ "name": "",
73
+ "type": "address",
74
+ "internalType": "contract SemiModularAccountBytecode"
75
+ }
76
+ ],
77
+ "stateMutability": "view"
78
+ },
79
+ {
80
+ "type": "function",
81
+ "name": "SINGLE_SIGNER_VALIDATION_MODULE",
82
+ "inputs": [],
83
+ "outputs": [
84
+ {
85
+ "name": "",
86
+ "type": "address",
87
+ "internalType": "address"
88
+ }
89
+ ],
90
+ "stateMutability": "view"
91
+ },
92
+ {
93
+ "type": "function",
94
+ "name": "WEBAUTHN_VALIDATION_MODULE",
95
+ "inputs": [],
96
+ "outputs": [
97
+ {
98
+ "name": "",
99
+ "type": "address",
100
+ "internalType": "address"
101
+ }
102
+ ],
103
+ "stateMutability": "view"
104
+ },
105
+ {
106
+ "type": "function",
107
+ "name": "acceptOwnership",
108
+ "inputs": [],
109
+ "outputs": [],
110
+ "stateMutability": "nonpayable"
111
+ },
112
+ {
113
+ "type": "function",
114
+ "name": "addStake",
115
+ "inputs": [
116
+ {
117
+ "name": "unstakeDelay",
118
+ "type": "uint32",
119
+ "internalType": "uint32"
120
+ }
121
+ ],
122
+ "outputs": [],
123
+ "stateMutability": "payable"
124
+ },
125
+ {
126
+ "type": "function",
127
+ "name": "createAccount",
128
+ "inputs": [
129
+ {
130
+ "name": "owner",
131
+ "type": "address",
132
+ "internalType": "address"
133
+ },
134
+ {
135
+ "name": "salt",
136
+ "type": "uint256",
137
+ "internalType": "uint256"
138
+ },
139
+ {
140
+ "name": "entityId",
141
+ "type": "uint32",
142
+ "internalType": "uint32"
143
+ }
144
+ ],
145
+ "outputs": [
146
+ {
147
+ "name": "",
148
+ "type": "address",
149
+ "internalType": "contract ModularAccount"
150
+ }
151
+ ],
152
+ "stateMutability": "nonpayable"
153
+ },
154
+ {
155
+ "type": "function",
156
+ "name": "createSemiModularAccount",
157
+ "inputs": [
158
+ {
159
+ "name": "owner",
160
+ "type": "address",
161
+ "internalType": "address"
162
+ },
163
+ {
164
+ "name": "salt",
165
+ "type": "uint256",
166
+ "internalType": "uint256"
167
+ }
168
+ ],
169
+ "outputs": [
170
+ {
171
+ "name": "",
172
+ "type": "address",
173
+ "internalType": "contract SemiModularAccountBytecode"
174
+ }
175
+ ],
176
+ "stateMutability": "nonpayable"
177
+ },
178
+ {
179
+ "type": "function",
180
+ "name": "createWebAuthnAccount",
181
+ "inputs": [
182
+ {
183
+ "name": "ownerX",
184
+ "type": "uint256",
185
+ "internalType": "uint256"
186
+ },
187
+ {
188
+ "name": "ownerY",
189
+ "type": "uint256",
190
+ "internalType": "uint256"
191
+ },
192
+ {
193
+ "name": "salt",
194
+ "type": "uint256",
195
+ "internalType": "uint256"
196
+ },
197
+ {
198
+ "name": "entityId",
199
+ "type": "uint32",
200
+ "internalType": "uint32"
201
+ }
202
+ ],
203
+ "outputs": [
204
+ {
205
+ "name": "",
206
+ "type": "address",
207
+ "internalType": "contract ModularAccount"
208
+ }
209
+ ],
210
+ "stateMutability": "nonpayable"
211
+ },
212
+ {
213
+ "type": "function",
214
+ "name": "getAddress",
215
+ "inputs": [
216
+ {
217
+ "name": "owner",
218
+ "type": "address",
219
+ "internalType": "address"
220
+ },
221
+ {
222
+ "name": "salt",
223
+ "type": "uint256",
224
+ "internalType": "uint256"
225
+ },
226
+ {
227
+ "name": "entityId",
228
+ "type": "uint32",
229
+ "internalType": "uint32"
230
+ }
231
+ ],
232
+ "outputs": [
233
+ {
234
+ "name": "",
235
+ "type": "address",
236
+ "internalType": "address"
237
+ }
238
+ ],
239
+ "stateMutability": "view"
240
+ },
241
+ {
242
+ "type": "function",
243
+ "name": "getAddressSemiModular",
244
+ "inputs": [
245
+ {
246
+ "name": "owner",
247
+ "type": "address",
248
+ "internalType": "address"
249
+ },
250
+ {
251
+ "name": "salt",
252
+ "type": "uint256",
253
+ "internalType": "uint256"
254
+ }
255
+ ],
256
+ "outputs": [
257
+ {
258
+ "name": "",
259
+ "type": "address",
260
+ "internalType": "address"
261
+ }
262
+ ],
263
+ "stateMutability": "view"
264
+ },
265
+ {
266
+ "type": "function",
267
+ "name": "getAddressWebAuthn",
268
+ "inputs": [
269
+ {
270
+ "name": "ownerX",
271
+ "type": "uint256",
272
+ "internalType": "uint256"
273
+ },
274
+ {
275
+ "name": "ownerY",
276
+ "type": "uint256",
277
+ "internalType": "uint256"
278
+ },
279
+ {
280
+ "name": "salt",
281
+ "type": "uint256",
282
+ "internalType": "uint256"
283
+ },
284
+ {
285
+ "name": "entityId",
286
+ "type": "uint32",
287
+ "internalType": "uint32"
288
+ }
289
+ ],
290
+ "outputs": [
291
+ {
292
+ "name": "",
293
+ "type": "address",
294
+ "internalType": "address"
295
+ }
296
+ ],
297
+ "stateMutability": "view"
298
+ },
299
+ {
300
+ "type": "function",
301
+ "name": "getSalt",
302
+ "inputs": [
303
+ {
304
+ "name": "owner",
305
+ "type": "address",
306
+ "internalType": "address"
307
+ },
308
+ {
309
+ "name": "salt",
310
+ "type": "uint256",
311
+ "internalType": "uint256"
312
+ },
313
+ {
314
+ "name": "entityId",
315
+ "type": "uint32",
316
+ "internalType": "uint32"
317
+ }
318
+ ],
319
+ "outputs": [
320
+ {
321
+ "name": "",
322
+ "type": "bytes32",
323
+ "internalType": "bytes32"
324
+ }
325
+ ],
326
+ "stateMutability": "pure"
327
+ },
328
+ {
329
+ "type": "function",
330
+ "name": "getSaltWebAuthn",
331
+ "inputs": [
332
+ {
333
+ "name": "ownerX",
334
+ "type": "uint256",
335
+ "internalType": "uint256"
336
+ },
337
+ {
338
+ "name": "ownerY",
339
+ "type": "uint256",
340
+ "internalType": "uint256"
341
+ },
342
+ {
343
+ "name": "salt",
344
+ "type": "uint256",
345
+ "internalType": "uint256"
346
+ },
347
+ {
348
+ "name": "entityId",
349
+ "type": "uint32",
350
+ "internalType": "uint32"
351
+ }
352
+ ],
353
+ "outputs": [
354
+ {
355
+ "name": "",
356
+ "type": "bytes32",
357
+ "internalType": "bytes32"
358
+ }
359
+ ],
360
+ "stateMutability": "pure"
361
+ },
362
+ {
363
+ "type": "function",
364
+ "name": "owner",
365
+ "inputs": [],
366
+ "outputs": [
367
+ {
368
+ "name": "",
369
+ "type": "address",
370
+ "internalType": "address"
371
+ }
372
+ ],
373
+ "stateMutability": "view"
374
+ },
375
+ {
376
+ "type": "function",
377
+ "name": "pendingOwner",
378
+ "inputs": [],
379
+ "outputs": [
380
+ {
381
+ "name": "",
382
+ "type": "address",
383
+ "internalType": "address"
384
+ }
385
+ ],
386
+ "stateMutability": "view"
387
+ },
388
+ {
389
+ "type": "function",
390
+ "name": "renounceOwnership",
391
+ "inputs": [],
392
+ "outputs": [],
393
+ "stateMutability": "view"
394
+ },
395
+ {
396
+ "type": "function",
397
+ "name": "transferOwnership",
398
+ "inputs": [
399
+ {
400
+ "name": "newOwner",
401
+ "type": "address",
402
+ "internalType": "address"
403
+ }
404
+ ],
405
+ "outputs": [],
406
+ "stateMutability": "nonpayable"
407
+ },
408
+ {
409
+ "type": "function",
410
+ "name": "unlockStake",
411
+ "inputs": [],
412
+ "outputs": [],
413
+ "stateMutability": "nonpayable"
414
+ },
415
+ {
416
+ "type": "function",
417
+ "name": "withdraw",
418
+ "inputs": [
419
+ {
420
+ "name": "to",
421
+ "type": "address",
422
+ "internalType": "address payable"
423
+ },
424
+ {
425
+ "name": "token",
426
+ "type": "address",
427
+ "internalType": "address"
428
+ },
429
+ {
430
+ "name": "amount",
431
+ "type": "uint256",
432
+ "internalType": "uint256"
433
+ }
434
+ ],
435
+ "outputs": [],
436
+ "stateMutability": "nonpayable"
437
+ },
438
+ {
439
+ "type": "function",
440
+ "name": "withdrawStake",
441
+ "inputs": [
442
+ {
443
+ "name": "withdrawAddress",
444
+ "type": "address",
445
+ "internalType": "address payable"
446
+ }
447
+ ],
448
+ "outputs": [],
449
+ "stateMutability": "nonpayable"
450
+ },
451
+ {
452
+ "type": "event",
453
+ "name": "ModularAccountDeployed",
454
+ "inputs": [
455
+ {
456
+ "name": "account",
457
+ "type": "address",
458
+ "indexed": true,
459
+ "internalType": "address"
460
+ },
461
+ {
462
+ "name": "owner",
463
+ "type": "address",
464
+ "indexed": true,
465
+ "internalType": "address"
466
+ },
467
+ {
468
+ "name": "salt",
469
+ "type": "uint256",
470
+ "indexed": false,
471
+ "internalType": "uint256"
472
+ }
473
+ ],
474
+ "anonymous": false
475
+ },
476
+ {
477
+ "type": "event",
478
+ "name": "OwnershipTransferStarted",
479
+ "inputs": [
480
+ {
481
+ "name": "previousOwner",
482
+ "type": "address",
483
+ "indexed": true,
484
+ "internalType": "address"
485
+ },
486
+ {
487
+ "name": "newOwner",
488
+ "type": "address",
489
+ "indexed": true,
490
+ "internalType": "address"
491
+ }
492
+ ],
493
+ "anonymous": false
494
+ },
495
+ {
496
+ "type": "event",
497
+ "name": "OwnershipTransferred",
498
+ "inputs": [
499
+ {
500
+ "name": "previousOwner",
501
+ "type": "address",
502
+ "indexed": true,
503
+ "internalType": "address"
504
+ },
505
+ {
506
+ "name": "newOwner",
507
+ "type": "address",
508
+ "indexed": true,
509
+ "internalType": "address"
510
+ }
511
+ ],
512
+ "anonymous": false
513
+ },
514
+ {
515
+ "type": "event",
516
+ "name": "SemiModularAccountDeployed",
517
+ "inputs": [
518
+ {
519
+ "name": "account",
520
+ "type": "address",
521
+ "indexed": true,
522
+ "internalType": "address"
523
+ },
524
+ {
525
+ "name": "owner",
526
+ "type": "address",
527
+ "indexed": true,
528
+ "internalType": "address"
529
+ },
530
+ {
531
+ "name": "salt",
532
+ "type": "uint256",
533
+ "indexed": false,
534
+ "internalType": "uint256"
535
+ }
536
+ ],
537
+ "anonymous": false
538
+ },
539
+ {
540
+ "type": "event",
541
+ "name": "WebAuthnModularAccountDeployed",
542
+ "inputs": [
543
+ {
544
+ "name": "account",
545
+ "type": "address",
546
+ "indexed": true,
547
+ "internalType": "address"
548
+ },
549
+ {
550
+ "name": "ownerX",
551
+ "type": "uint256",
552
+ "indexed": true,
553
+ "internalType": "uint256"
554
+ },
555
+ {
556
+ "name": "ownerY",
557
+ "type": "uint256",
558
+ "indexed": true,
559
+ "internalType": "uint256"
560
+ },
561
+ {
562
+ "name": "salt",
563
+ "type": "uint256",
564
+ "indexed": false,
565
+ "internalType": "uint256"
566
+ }
567
+ ],
568
+ "anonymous": false
569
+ },
570
+ {
571
+ "type": "error",
572
+ "name": "AddressEmptyCode",
573
+ "inputs": [
574
+ {
575
+ "name": "target",
576
+ "type": "address",
577
+ "internalType": "address"
578
+ }
579
+ ]
580
+ },
581
+ {
582
+ "type": "error",
583
+ "name": "AddressInsufficientBalance",
584
+ "inputs": [
585
+ {
586
+ "name": "account",
587
+ "type": "address",
588
+ "internalType": "address"
589
+ }
590
+ ]
591
+ },
592
+ {
593
+ "type": "error",
594
+ "name": "FailedInnerCall",
595
+ "inputs": []
596
+ },
597
+ {
598
+ "type": "error",
599
+ "name": "InvalidAction",
600
+ "inputs": []
601
+ },
602
+ {
603
+ "type": "error",
604
+ "name": "OwnableInvalidOwner",
605
+ "inputs": [
606
+ {
607
+ "name": "owner",
608
+ "type": "address",
609
+ "internalType": "address"
610
+ }
611
+ ]
612
+ },
613
+ {
614
+ "type": "error",
615
+ "name": "OwnableUnauthorizedAccount",
616
+ "inputs": [
617
+ {
618
+ "name": "account",
619
+ "type": "address",
620
+ "internalType": "address"
621
+ }
622
+ ]
623
+ },
624
+ {
625
+ "type": "error",
626
+ "name": "SafeERC20FailedOperation",
627
+ "inputs": [
628
+ {
629
+ "name": "token",
630
+ "type": "address",
631
+ "internalType": "address"
632
+ }
633
+ ]
634
+ },
635
+ {
636
+ "type": "error",
637
+ "name": "TransferFailed",
638
+ "inputs": []
639
+ }
640
+ ],
641
+ "constructorArgs": [
642
+ "0x0000000071727De22E5E9d8BAf0edAc6f37da032",
643
+ "0x00000000000002377B26b1EdA7b0BC371C60DD4f",
644
+ "0x000000000000c5A9089039570Dd36455b5C07383",
645
+ "0x00000000000099DE0BF6fA90dEB851E2A2df7d83",
646
+ "0x0000000000001D9d34E07D9834274dF9ae575217",
647
+ "0xDdF32240B4ca3184De7EC8f0D5Aba27dEc8B7A5C"
648
+ ],
649
+ "linkedLibraries": {},
650
+ "deployTxnHash": "0xb5b19b3a4bb9ac3c535fd9a2aca90644dec46f9c92a74c09c8f38b799c23aee6",
651
+ "deployTxnBlockNumber": "2",
652
+ "deployTimestamp": "1746050841",
653
+ "sourceName": "src/factory/AccountFactory.sol",
654
+ "contractName": "AccountFactory",
655
+ "deployedOn": "deploy.AccountFactory",
656
+ "gasUsed": 1518364,
657
+ "gasCost": "1279366333"
658
+ }