@aztec/l1-artifacts 0.86.0-starknet.1 → 0.87.0

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 (64) hide show
  1. package/dest/CoinIssuerBytecode.d.ts +1 -1
  2. package/dest/CoinIssuerBytecode.js +1 -1
  3. package/dest/ExtRollupLibBytecode.d.ts +1 -1
  4. package/dest/ExtRollupLibBytecode.d.ts.map +1 -1
  5. package/dest/ExtRollupLibBytecode.js +1 -1
  6. package/dest/FeeJuicePortalBytecode.d.ts +1 -1
  7. package/dest/FeeJuicePortalBytecode.js +1 -1
  8. package/dest/GovernanceBytecode.d.ts +1 -1
  9. package/dest/GovernanceBytecode.js +1 -1
  10. package/dest/GovernanceProposerBytecode.d.ts +1 -1
  11. package/dest/GovernanceProposerBytecode.js +1 -1
  12. package/dest/HonkVerifierBytecode.d.ts +1 -1
  13. package/dest/HonkVerifierBytecode.d.ts.map +1 -1
  14. package/dest/HonkVerifierBytecode.js +1 -1
  15. package/dest/InboxAbi.d.ts +41 -13
  16. package/dest/InboxAbi.d.ts.map +1 -1
  17. package/dest/InboxAbi.js +52 -16
  18. package/dest/InboxBytecode.d.ts +1 -1
  19. package/dest/InboxBytecode.d.ts.map +1 -1
  20. package/dest/InboxBytecode.js +1 -1
  21. package/dest/MultiAdderAbi.d.ts +1148 -0
  22. package/dest/MultiAdderAbi.d.ts.map +1 -0
  23. package/dest/MultiAdderAbi.js +1519 -0
  24. package/dest/MultiAdderBytecode.d.ts +9 -0
  25. package/dest/MultiAdderBytecode.d.ts.map +1 -0
  26. package/dest/MultiAdderBytecode.js +6 -0
  27. package/dest/NewGovernanceProposerPayloadBytecode.d.ts +1 -1
  28. package/dest/NewGovernanceProposerPayloadBytecode.js +1 -1
  29. package/dest/OutboxBytecode.d.ts +1 -1
  30. package/dest/OutboxBytecode.js +1 -1
  31. package/dest/RegisterNewRollupVersionPayloadBytecode.d.ts +1 -1
  32. package/dest/RegisterNewRollupVersionPayloadBytecode.js +1 -1
  33. package/dest/RegistryBytecode.d.ts +1 -1
  34. package/dest/RegistryBytecode.js +1 -1
  35. package/dest/RewardDistributorBytecode.d.ts +1 -1
  36. package/dest/RewardDistributorBytecode.js +1 -1
  37. package/dest/RollupAbi.d.ts +6 -27
  38. package/dest/RollupAbi.d.ts.map +1 -1
  39. package/dest/RollupAbi.js +7 -35
  40. package/dest/RollupBytecode.d.ts +9 -6
  41. package/dest/RollupBytecode.d.ts.map +1 -1
  42. package/dest/RollupBytecode.js +10 -6
  43. package/dest/RollupStorage.d.ts +2 -2
  44. package/dest/RollupStorage.js +2 -2
  45. package/dest/SlashFactoryBytecode.d.ts +1 -1
  46. package/dest/SlashFactoryBytecode.js +1 -1
  47. package/dest/SlasherBytecode.d.ts +1 -1
  48. package/dest/SlasherBytecode.js +1 -1
  49. package/dest/SlashingProposerBytecode.d.ts +1 -1
  50. package/dest/SlashingProposerBytecode.js +1 -1
  51. package/dest/StakingAssetHandlerBytecode.d.ts +1 -1
  52. package/dest/StakingAssetHandlerBytecode.js +1 -1
  53. package/dest/TokenPortalBytecode.d.ts +1 -1
  54. package/dest/TokenPortalBytecode.js +1 -1
  55. package/dest/UniswapPortalBytecode.d.ts +1 -1
  56. package/dest/UniswapPortalBytecode.js +1 -1
  57. package/dest/ValidatorSelectionLibBytecode.d.ts +1 -1
  58. package/dest/ValidatorSelectionLibBytecode.js +1 -1
  59. package/dest/checksum.d.ts +1 -1
  60. package/dest/checksum.js +1 -1
  61. package/dest/index.d.ts +2 -0
  62. package/dest/index.d.ts.map +1 -1
  63. package/dest/index.js +2 -0
  64. package/package.json +3 -3
@@ -0,0 +1,1519 @@
1
+ /**
2
+ * MultiAdder ABI.
3
+ */ export const MultiAdderAbi = [
4
+ {
5
+ "type": "constructor",
6
+ "inputs": [
7
+ {
8
+ "name": "_staking",
9
+ "type": "address",
10
+ "internalType": "address"
11
+ },
12
+ {
13
+ "name": "_owner",
14
+ "type": "address",
15
+ "internalType": "address"
16
+ }
17
+ ],
18
+ "stateMutability": "nonpayable"
19
+ },
20
+ {
21
+ "type": "error",
22
+ "name": "AddressSnapshotLib__IndexOutOfBounds",
23
+ "inputs": [
24
+ {
25
+ "name": "index",
26
+ "type": "uint256",
27
+ "internalType": "uint256"
28
+ },
29
+ {
30
+ "name": "size",
31
+ "type": "uint256",
32
+ "internalType": "uint256"
33
+ }
34
+ ]
35
+ },
36
+ {
37
+ "type": "error",
38
+ "name": "CoinIssuer__InsufficientMintAvailable",
39
+ "inputs": [
40
+ {
41
+ "name": "available",
42
+ "type": "uint256",
43
+ "internalType": "uint256"
44
+ },
45
+ {
46
+ "name": "needed",
47
+ "type": "uint256",
48
+ "internalType": "uint256"
49
+ }
50
+ ]
51
+ },
52
+ {
53
+ "type": "error",
54
+ "name": "DevNet__InvalidProposer",
55
+ "inputs": [
56
+ {
57
+ "name": "expected",
58
+ "type": "address",
59
+ "internalType": "address"
60
+ },
61
+ {
62
+ "name": "actual",
63
+ "type": "address",
64
+ "internalType": "address"
65
+ }
66
+ ]
67
+ },
68
+ {
69
+ "type": "error",
70
+ "name": "DevNet__NoPruningAllowed",
71
+ "inputs": []
72
+ },
73
+ {
74
+ "type": "error",
75
+ "name": "FeeJuicePortal__AlreadyInitialized",
76
+ "inputs": []
77
+ },
78
+ {
79
+ "type": "error",
80
+ "name": "FeeJuicePortal__InvalidInitialization",
81
+ "inputs": []
82
+ },
83
+ {
84
+ "type": "error",
85
+ "name": "FeeJuicePortal__Unauthorized",
86
+ "inputs": []
87
+ },
88
+ {
89
+ "type": "error",
90
+ "name": "FeeLib__InvalidFeeAssetPriceModifier",
91
+ "inputs": []
92
+ },
93
+ {
94
+ "type": "error",
95
+ "name": "GovernanceProposer__CanOnlyExecuteProposalInPast",
96
+ "inputs": []
97
+ },
98
+ {
99
+ "type": "error",
100
+ "name": "GovernanceProposer__FailedToPropose",
101
+ "inputs": [
102
+ {
103
+ "name": "proposal",
104
+ "type": "address",
105
+ "internalType": "contract IPayload"
106
+ }
107
+ ]
108
+ },
109
+ {
110
+ "type": "error",
111
+ "name": "GovernanceProposer__InstanceHaveNoCode",
112
+ "inputs": [
113
+ {
114
+ "name": "instance",
115
+ "type": "address",
116
+ "internalType": "address"
117
+ }
118
+ ]
119
+ },
120
+ {
121
+ "type": "error",
122
+ "name": "GovernanceProposer__InsufficientVotes",
123
+ "inputs": [
124
+ {
125
+ "name": "votesCast",
126
+ "type": "uint256",
127
+ "internalType": "uint256"
128
+ },
129
+ {
130
+ "name": "votesNeeded",
131
+ "type": "uint256",
132
+ "internalType": "uint256"
133
+ }
134
+ ]
135
+ },
136
+ {
137
+ "type": "error",
138
+ "name": "GovernanceProposer__InvalidNAndMValues",
139
+ "inputs": [
140
+ {
141
+ "name": "n",
142
+ "type": "uint256",
143
+ "internalType": "uint256"
144
+ },
145
+ {
146
+ "name": "m",
147
+ "type": "uint256",
148
+ "internalType": "uint256"
149
+ }
150
+ ]
151
+ },
152
+ {
153
+ "type": "error",
154
+ "name": "GovernanceProposer__NCannotBeLargerTHanM",
155
+ "inputs": [
156
+ {
157
+ "name": "n",
158
+ "type": "uint256",
159
+ "internalType": "uint256"
160
+ },
161
+ {
162
+ "name": "m",
163
+ "type": "uint256",
164
+ "internalType": "uint256"
165
+ }
166
+ ]
167
+ },
168
+ {
169
+ "type": "error",
170
+ "name": "GovernanceProposer__OnlyProposerCanVote",
171
+ "inputs": [
172
+ {
173
+ "name": "caller",
174
+ "type": "address",
175
+ "internalType": "address"
176
+ },
177
+ {
178
+ "name": "proposer",
179
+ "type": "address",
180
+ "internalType": "address"
181
+ }
182
+ ]
183
+ },
184
+ {
185
+ "type": "error",
186
+ "name": "GovernanceProposer__ProposalAlreadyExecuted",
187
+ "inputs": [
188
+ {
189
+ "name": "roundNumber",
190
+ "type": "uint256",
191
+ "internalType": "uint256"
192
+ }
193
+ ]
194
+ },
195
+ {
196
+ "type": "error",
197
+ "name": "GovernanceProposer__ProposalCannotBeAddressZero",
198
+ "inputs": []
199
+ },
200
+ {
201
+ "type": "error",
202
+ "name": "GovernanceProposer__ProposalHaveNoCode",
203
+ "inputs": [
204
+ {
205
+ "name": "proposal",
206
+ "type": "address",
207
+ "internalType": "contract IPayload"
208
+ }
209
+ ]
210
+ },
211
+ {
212
+ "type": "error",
213
+ "name": "GovernanceProposer__ProposalTooOld",
214
+ "inputs": [
215
+ {
216
+ "name": "roundNumber",
217
+ "type": "uint256",
218
+ "internalType": "uint256"
219
+ },
220
+ {
221
+ "name": "currentRoundNumber",
222
+ "type": "uint256",
223
+ "internalType": "uint256"
224
+ }
225
+ ]
226
+ },
227
+ {
228
+ "type": "error",
229
+ "name": "GovernanceProposer__VoteAlreadyCastForSlot",
230
+ "inputs": [
231
+ {
232
+ "name": "slot",
233
+ "type": "uint256",
234
+ "internalType": "Slot"
235
+ }
236
+ ]
237
+ },
238
+ {
239
+ "type": "error",
240
+ "name": "Governance__CallFailed",
241
+ "inputs": [
242
+ {
243
+ "name": "target",
244
+ "type": "address",
245
+ "internalType": "address"
246
+ }
247
+ ]
248
+ },
249
+ {
250
+ "type": "error",
251
+ "name": "Governance__CallerNotGovernanceProposer",
252
+ "inputs": [
253
+ {
254
+ "name": "caller",
255
+ "type": "address",
256
+ "internalType": "address"
257
+ },
258
+ {
259
+ "name": "governanceProposer",
260
+ "type": "address",
261
+ "internalType": "address"
262
+ }
263
+ ]
264
+ },
265
+ {
266
+ "type": "error",
267
+ "name": "Governance__CallerNotSelf",
268
+ "inputs": [
269
+ {
270
+ "name": "caller",
271
+ "type": "address",
272
+ "internalType": "address"
273
+ },
274
+ {
275
+ "name": "self",
276
+ "type": "address",
277
+ "internalType": "address"
278
+ }
279
+ ]
280
+ },
281
+ {
282
+ "type": "error",
283
+ "name": "Governance__CannotCallAsset",
284
+ "inputs": []
285
+ },
286
+ {
287
+ "type": "error",
288
+ "name": "Governance__ConfigurationLib__DifferentialTooBig",
289
+ "inputs": []
290
+ },
291
+ {
292
+ "type": "error",
293
+ "name": "Governance__ConfigurationLib__DifferentialTooSmall",
294
+ "inputs": []
295
+ },
296
+ {
297
+ "type": "error",
298
+ "name": "Governance__ConfigurationLib__InvalidMinimumVotes",
299
+ "inputs": []
300
+ },
301
+ {
302
+ "type": "error",
303
+ "name": "Governance__ConfigurationLib__LockAmountTooSmall",
304
+ "inputs": []
305
+ },
306
+ {
307
+ "type": "error",
308
+ "name": "Governance__ConfigurationLib__QuorumTooBig",
309
+ "inputs": []
310
+ },
311
+ {
312
+ "type": "error",
313
+ "name": "Governance__ConfigurationLib__QuorumTooSmall",
314
+ "inputs": []
315
+ },
316
+ {
317
+ "type": "error",
318
+ "name": "Governance__ConfigurationLib__TimeTooBig",
319
+ "inputs": [
320
+ {
321
+ "name": "name",
322
+ "type": "string",
323
+ "internalType": "string"
324
+ }
325
+ ]
326
+ },
327
+ {
328
+ "type": "error",
329
+ "name": "Governance__ConfigurationLib__TimeTooSmall",
330
+ "inputs": [
331
+ {
332
+ "name": "name",
333
+ "type": "string",
334
+ "internalType": "string"
335
+ }
336
+ ]
337
+ },
338
+ {
339
+ "type": "error",
340
+ "name": "Governance__InsufficientPower",
341
+ "inputs": [
342
+ {
343
+ "name": "voter",
344
+ "type": "address",
345
+ "internalType": "address"
346
+ },
347
+ {
348
+ "name": "have",
349
+ "type": "uint256",
350
+ "internalType": "uint256"
351
+ },
352
+ {
353
+ "name": "required",
354
+ "type": "uint256",
355
+ "internalType": "uint256"
356
+ }
357
+ ]
358
+ },
359
+ {
360
+ "type": "error",
361
+ "name": "Governance__InvalidConfiguration",
362
+ "inputs": []
363
+ },
364
+ {
365
+ "type": "error",
366
+ "name": "Governance__NoCheckpointsFound",
367
+ "inputs": []
368
+ },
369
+ {
370
+ "type": "error",
371
+ "name": "Governance__ProposalAlreadyDropped",
372
+ "inputs": []
373
+ },
374
+ {
375
+ "type": "error",
376
+ "name": "Governance__ProposalCannotBeDropped",
377
+ "inputs": []
378
+ },
379
+ {
380
+ "type": "error",
381
+ "name": "Governance__ProposalDoesNotExists",
382
+ "inputs": [
383
+ {
384
+ "name": "proposalId",
385
+ "type": "uint256",
386
+ "internalType": "uint256"
387
+ }
388
+ ]
389
+ },
390
+ {
391
+ "type": "error",
392
+ "name": "Governance__ProposalLib__MoreVoteThanExistNeeded",
393
+ "inputs": []
394
+ },
395
+ {
396
+ "type": "error",
397
+ "name": "Governance__ProposalLib__MoreYeaVoteThanExistNeeded",
398
+ "inputs": []
399
+ },
400
+ {
401
+ "type": "error",
402
+ "name": "Governance__ProposalLib__ZeroMinimum",
403
+ "inputs": []
404
+ },
405
+ {
406
+ "type": "error",
407
+ "name": "Governance__ProposalLib__ZeroVotesNeeded",
408
+ "inputs": []
409
+ },
410
+ {
411
+ "type": "error",
412
+ "name": "Governance__ProposalLib__ZeroYeaVotesNeeded",
413
+ "inputs": []
414
+ },
415
+ {
416
+ "type": "error",
417
+ "name": "Governance__ProposalNotActive",
418
+ "inputs": []
419
+ },
420
+ {
421
+ "type": "error",
422
+ "name": "Governance__ProposalNotExecutable",
423
+ "inputs": []
424
+ },
425
+ {
426
+ "type": "error",
427
+ "name": "Governance__UserLib__NotInPast",
428
+ "inputs": []
429
+ },
430
+ {
431
+ "type": "error",
432
+ "name": "Governance__WithdrawalAlreadyclaimed",
433
+ "inputs": []
434
+ },
435
+ {
436
+ "type": "error",
437
+ "name": "Governance__WithdrawalNotUnlockedYet",
438
+ "inputs": [
439
+ {
440
+ "name": "currentTime",
441
+ "type": "uint256",
442
+ "internalType": "Timestamp"
443
+ },
444
+ {
445
+ "name": "unlocksAt",
446
+ "type": "uint256",
447
+ "internalType": "Timestamp"
448
+ }
449
+ ]
450
+ },
451
+ {
452
+ "type": "error",
453
+ "name": "HeaderLib__InvalidHeaderSize",
454
+ "inputs": [
455
+ {
456
+ "name": "expected",
457
+ "type": "uint256",
458
+ "internalType": "uint256"
459
+ },
460
+ {
461
+ "name": "actual",
462
+ "type": "uint256",
463
+ "internalType": "uint256"
464
+ }
465
+ ]
466
+ },
467
+ {
468
+ "type": "error",
469
+ "name": "HeaderLib__InvalidSlotNumber",
470
+ "inputs": [
471
+ {
472
+ "name": "expected",
473
+ "type": "uint256",
474
+ "internalType": "Slot"
475
+ },
476
+ {
477
+ "name": "actual",
478
+ "type": "uint256",
479
+ "internalType": "Slot"
480
+ }
481
+ ]
482
+ },
483
+ {
484
+ "type": "error",
485
+ "name": "Inbox__ActorTooLarge",
486
+ "inputs": [
487
+ {
488
+ "name": "actor",
489
+ "type": "bytes32",
490
+ "internalType": "bytes32"
491
+ }
492
+ ]
493
+ },
494
+ {
495
+ "type": "error",
496
+ "name": "Inbox__ContentTooLarge",
497
+ "inputs": [
498
+ {
499
+ "name": "content",
500
+ "type": "bytes32",
501
+ "internalType": "bytes32"
502
+ }
503
+ ]
504
+ },
505
+ {
506
+ "type": "error",
507
+ "name": "Inbox__MustBuildBeforeConsume",
508
+ "inputs": []
509
+ },
510
+ {
511
+ "type": "error",
512
+ "name": "Inbox__SecretHashTooLarge",
513
+ "inputs": [
514
+ {
515
+ "name": "secretHash",
516
+ "type": "bytes32",
517
+ "internalType": "bytes32"
518
+ }
519
+ ]
520
+ },
521
+ {
522
+ "type": "error",
523
+ "name": "Inbox__Unauthorized",
524
+ "inputs": []
525
+ },
526
+ {
527
+ "type": "error",
528
+ "name": "Inbox__VersionMismatch",
529
+ "inputs": [
530
+ {
531
+ "name": "expected",
532
+ "type": "uint256",
533
+ "internalType": "uint256"
534
+ },
535
+ {
536
+ "name": "actual",
537
+ "type": "uint256",
538
+ "internalType": "uint256"
539
+ }
540
+ ]
541
+ },
542
+ {
543
+ "type": "error",
544
+ "name": "MerkleLib__InvalidRoot",
545
+ "inputs": [
546
+ {
547
+ "name": "expected",
548
+ "type": "bytes32",
549
+ "internalType": "bytes32"
550
+ },
551
+ {
552
+ "name": "actual",
553
+ "type": "bytes32",
554
+ "internalType": "bytes32"
555
+ },
556
+ {
557
+ "name": "leaf",
558
+ "type": "bytes32",
559
+ "internalType": "bytes32"
560
+ },
561
+ {
562
+ "name": "leafIndex",
563
+ "type": "uint256",
564
+ "internalType": "uint256"
565
+ }
566
+ ]
567
+ },
568
+ {
569
+ "type": "function",
570
+ "name": "OWNER",
571
+ "inputs": [],
572
+ "outputs": [
573
+ {
574
+ "name": "",
575
+ "type": "address",
576
+ "internalType": "address"
577
+ }
578
+ ],
579
+ "stateMutability": "view"
580
+ },
581
+ {
582
+ "type": "error",
583
+ "name": "Outbox__AlreadyNullified",
584
+ "inputs": [
585
+ {
586
+ "name": "l2BlockNumber",
587
+ "type": "uint256",
588
+ "internalType": "uint256"
589
+ },
590
+ {
591
+ "name": "leafIndex",
592
+ "type": "uint256",
593
+ "internalType": "uint256"
594
+ }
595
+ ]
596
+ },
597
+ {
598
+ "type": "error",
599
+ "name": "Outbox__BlockNotProven",
600
+ "inputs": [
601
+ {
602
+ "name": "l2BlockNumber",
603
+ "type": "uint256",
604
+ "internalType": "uint256"
605
+ }
606
+ ]
607
+ },
608
+ {
609
+ "type": "error",
610
+ "name": "Outbox__IncompatibleEntryArguments",
611
+ "inputs": [
612
+ {
613
+ "name": "messageHash",
614
+ "type": "bytes32",
615
+ "internalType": "bytes32"
616
+ },
617
+ {
618
+ "name": "storedFee",
619
+ "type": "uint64",
620
+ "internalType": "uint64"
621
+ },
622
+ {
623
+ "name": "feePassed",
624
+ "type": "uint64",
625
+ "internalType": "uint64"
626
+ },
627
+ {
628
+ "name": "storedVersion",
629
+ "type": "uint32",
630
+ "internalType": "uint32"
631
+ },
632
+ {
633
+ "name": "versionPassed",
634
+ "type": "uint32",
635
+ "internalType": "uint32"
636
+ },
637
+ {
638
+ "name": "storedDeadline",
639
+ "type": "uint32",
640
+ "internalType": "uint32"
641
+ },
642
+ {
643
+ "name": "deadlinePassed",
644
+ "type": "uint32",
645
+ "internalType": "uint32"
646
+ }
647
+ ]
648
+ },
649
+ {
650
+ "type": "error",
651
+ "name": "Outbox__InvalidChainId",
652
+ "inputs": []
653
+ },
654
+ {
655
+ "type": "error",
656
+ "name": "Outbox__InvalidPathLength",
657
+ "inputs": [
658
+ {
659
+ "name": "expected",
660
+ "type": "uint256",
661
+ "internalType": "uint256"
662
+ },
663
+ {
664
+ "name": "actual",
665
+ "type": "uint256",
666
+ "internalType": "uint256"
667
+ }
668
+ ]
669
+ },
670
+ {
671
+ "type": "error",
672
+ "name": "Outbox__InvalidRecipient",
673
+ "inputs": [
674
+ {
675
+ "name": "expected",
676
+ "type": "address",
677
+ "internalType": "address"
678
+ },
679
+ {
680
+ "name": "actual",
681
+ "type": "address",
682
+ "internalType": "address"
683
+ }
684
+ ]
685
+ },
686
+ {
687
+ "type": "error",
688
+ "name": "Outbox__NothingToConsume",
689
+ "inputs": [
690
+ {
691
+ "name": "messageHash",
692
+ "type": "bytes32",
693
+ "internalType": "bytes32"
694
+ }
695
+ ]
696
+ },
697
+ {
698
+ "type": "error",
699
+ "name": "Outbox__NothingToConsumeAtBlock",
700
+ "inputs": [
701
+ {
702
+ "name": "l2BlockNumber",
703
+ "type": "uint256",
704
+ "internalType": "uint256"
705
+ }
706
+ ]
707
+ },
708
+ {
709
+ "type": "error",
710
+ "name": "Outbox__RootAlreadySetAtBlock",
711
+ "inputs": [
712
+ {
713
+ "name": "l2BlockNumber",
714
+ "type": "uint256",
715
+ "internalType": "uint256"
716
+ }
717
+ ]
718
+ },
719
+ {
720
+ "type": "error",
721
+ "name": "Outbox__Unauthorized",
722
+ "inputs": []
723
+ },
724
+ {
725
+ "type": "error",
726
+ "name": "Outbox__VersionMismatch",
727
+ "inputs": [
728
+ {
729
+ "name": "expected",
730
+ "type": "uint256",
731
+ "internalType": "uint256"
732
+ },
733
+ {
734
+ "name": "actual",
735
+ "type": "uint256",
736
+ "internalType": "uint256"
737
+ }
738
+ ]
739
+ },
740
+ {
741
+ "type": "error",
742
+ "name": "ProofCommitmentEscrow__InsufficientBalance",
743
+ "inputs": [
744
+ {
745
+ "name": "balance",
746
+ "type": "uint256",
747
+ "internalType": "uint256"
748
+ },
749
+ {
750
+ "name": "requested",
751
+ "type": "uint256",
752
+ "internalType": "uint256"
753
+ }
754
+ ]
755
+ },
756
+ {
757
+ "type": "error",
758
+ "name": "ProofCommitmentEscrow__NotOwner",
759
+ "inputs": [
760
+ {
761
+ "name": "caller",
762
+ "type": "address",
763
+ "internalType": "address"
764
+ }
765
+ ]
766
+ },
767
+ {
768
+ "type": "error",
769
+ "name": "ProofCommitmentEscrow__WithdrawRequestNotReady",
770
+ "inputs": [
771
+ {
772
+ "name": "current",
773
+ "type": "uint256",
774
+ "internalType": "uint256"
775
+ },
776
+ {
777
+ "name": "readyAt",
778
+ "type": "uint256",
779
+ "internalType": "Timestamp"
780
+ }
781
+ ]
782
+ },
783
+ {
784
+ "type": "error",
785
+ "name": "Registry__NoRollupsRegistered",
786
+ "inputs": []
787
+ },
788
+ {
789
+ "type": "error",
790
+ "name": "Registry__RollupAlreadyRegistered",
791
+ "inputs": [
792
+ {
793
+ "name": "rollup",
794
+ "type": "address",
795
+ "internalType": "address"
796
+ }
797
+ ]
798
+ },
799
+ {
800
+ "type": "error",
801
+ "name": "Registry__RollupNotRegistered",
802
+ "inputs": [
803
+ {
804
+ "name": "version",
805
+ "type": "uint256",
806
+ "internalType": "uint256"
807
+ }
808
+ ]
809
+ },
810
+ {
811
+ "type": "error",
812
+ "name": "RewardDistributor__InvalidCaller",
813
+ "inputs": [
814
+ {
815
+ "name": "caller",
816
+ "type": "address",
817
+ "internalType": "address"
818
+ },
819
+ {
820
+ "name": "canonical",
821
+ "type": "address",
822
+ "internalType": "address"
823
+ }
824
+ ]
825
+ },
826
+ {
827
+ "type": "error",
828
+ "name": "Rollup__AlreadyClaimed",
829
+ "inputs": [
830
+ {
831
+ "name": "prover",
832
+ "type": "address",
833
+ "internalType": "address"
834
+ },
835
+ {
836
+ "name": "epoch",
837
+ "type": "uint256",
838
+ "internalType": "Epoch"
839
+ }
840
+ ]
841
+ },
842
+ {
843
+ "type": "error",
844
+ "name": "Rollup__InsufficientBondAmount",
845
+ "inputs": [
846
+ {
847
+ "name": "minimum",
848
+ "type": "uint256",
849
+ "internalType": "uint256"
850
+ },
851
+ {
852
+ "name": "provided",
853
+ "type": "uint256",
854
+ "internalType": "uint256"
855
+ }
856
+ ]
857
+ },
858
+ {
859
+ "type": "error",
860
+ "name": "Rollup__InsufficientFundsInEscrow",
861
+ "inputs": [
862
+ {
863
+ "name": "required",
864
+ "type": "uint256",
865
+ "internalType": "uint256"
866
+ },
867
+ {
868
+ "name": "available",
869
+ "type": "uint256",
870
+ "internalType": "uint256"
871
+ }
872
+ ]
873
+ },
874
+ {
875
+ "type": "error",
876
+ "name": "Rollup__InvalidArchive",
877
+ "inputs": [
878
+ {
879
+ "name": "expected",
880
+ "type": "bytes32",
881
+ "internalType": "bytes32"
882
+ },
883
+ {
884
+ "name": "actual",
885
+ "type": "bytes32",
886
+ "internalType": "bytes32"
887
+ }
888
+ ]
889
+ },
890
+ {
891
+ "type": "error",
892
+ "name": "Rollup__InvalidBasisPointFee",
893
+ "inputs": [
894
+ {
895
+ "name": "basisPointFee",
896
+ "type": "uint256",
897
+ "internalType": "uint256"
898
+ }
899
+ ]
900
+ },
901
+ {
902
+ "type": "error",
903
+ "name": "Rollup__InvalidBlobHash",
904
+ "inputs": [
905
+ {
906
+ "name": "blobHash",
907
+ "type": "bytes32",
908
+ "internalType": "bytes32"
909
+ }
910
+ ]
911
+ },
912
+ {
913
+ "type": "error",
914
+ "name": "Rollup__InvalidBlobProof",
915
+ "inputs": [
916
+ {
917
+ "name": "blobHash",
918
+ "type": "bytes32",
919
+ "internalType": "bytes32"
920
+ }
921
+ ]
922
+ },
923
+ {
924
+ "type": "error",
925
+ "name": "Rollup__InvalidBlobPublicInputsHash",
926
+ "inputs": [
927
+ {
928
+ "name": "expected",
929
+ "type": "bytes32",
930
+ "internalType": "bytes32"
931
+ },
932
+ {
933
+ "name": "actual",
934
+ "type": "bytes32",
935
+ "internalType": "bytes32"
936
+ }
937
+ ]
938
+ },
939
+ {
940
+ "type": "error",
941
+ "name": "Rollup__InvalidBlockNumber",
942
+ "inputs": [
943
+ {
944
+ "name": "expected",
945
+ "type": "uint256",
946
+ "internalType": "uint256"
947
+ },
948
+ {
949
+ "name": "actual",
950
+ "type": "uint256",
951
+ "internalType": "uint256"
952
+ }
953
+ ]
954
+ },
955
+ {
956
+ "type": "error",
957
+ "name": "Rollup__InvalidInHash",
958
+ "inputs": [
959
+ {
960
+ "name": "expected",
961
+ "type": "bytes32",
962
+ "internalType": "bytes32"
963
+ },
964
+ {
965
+ "name": "actual",
966
+ "type": "bytes32",
967
+ "internalType": "bytes32"
968
+ }
969
+ ]
970
+ },
971
+ {
972
+ "type": "error",
973
+ "name": "Rollup__InvalidManaBaseFee",
974
+ "inputs": [
975
+ {
976
+ "name": "expected",
977
+ "type": "uint256",
978
+ "internalType": "uint256"
979
+ },
980
+ {
981
+ "name": "actual",
982
+ "type": "uint256",
983
+ "internalType": "uint256"
984
+ }
985
+ ]
986
+ },
987
+ {
988
+ "type": "error",
989
+ "name": "Rollup__InvalidPreviousArchive",
990
+ "inputs": [
991
+ {
992
+ "name": "expected",
993
+ "type": "bytes32",
994
+ "internalType": "bytes32"
995
+ },
996
+ {
997
+ "name": "actual",
998
+ "type": "bytes32",
999
+ "internalType": "bytes32"
1000
+ }
1001
+ ]
1002
+ },
1003
+ {
1004
+ "type": "error",
1005
+ "name": "Rollup__InvalidProof",
1006
+ "inputs": []
1007
+ },
1008
+ {
1009
+ "type": "error",
1010
+ "name": "Rollup__InvalidProposedArchive",
1011
+ "inputs": [
1012
+ {
1013
+ "name": "expected",
1014
+ "type": "bytes32",
1015
+ "internalType": "bytes32"
1016
+ },
1017
+ {
1018
+ "name": "actual",
1019
+ "type": "bytes32",
1020
+ "internalType": "bytes32"
1021
+ }
1022
+ ]
1023
+ },
1024
+ {
1025
+ "type": "error",
1026
+ "name": "Rollup__InvalidTimestamp",
1027
+ "inputs": [
1028
+ {
1029
+ "name": "expected",
1030
+ "type": "uint256",
1031
+ "internalType": "Timestamp"
1032
+ },
1033
+ {
1034
+ "name": "actual",
1035
+ "type": "uint256",
1036
+ "internalType": "Timestamp"
1037
+ }
1038
+ ]
1039
+ },
1040
+ {
1041
+ "type": "error",
1042
+ "name": "Rollup__ManaLimitExceeded",
1043
+ "inputs": []
1044
+ },
1045
+ {
1046
+ "type": "error",
1047
+ "name": "Rollup__NoEpochToProve",
1048
+ "inputs": []
1049
+ },
1050
+ {
1051
+ "type": "error",
1052
+ "name": "Rollup__NonSequentialProving",
1053
+ "inputs": []
1054
+ },
1055
+ {
1056
+ "type": "error",
1057
+ "name": "Rollup__NonZeroDaFee",
1058
+ "inputs": []
1059
+ },
1060
+ {
1061
+ "type": "error",
1062
+ "name": "Rollup__NotPastDeadline",
1063
+ "inputs": [
1064
+ {
1065
+ "name": "deadline",
1066
+ "type": "uint256",
1067
+ "internalType": "Slot"
1068
+ },
1069
+ {
1070
+ "name": "currentSlot",
1071
+ "type": "uint256",
1072
+ "internalType": "Slot"
1073
+ }
1074
+ ]
1075
+ },
1076
+ {
1077
+ "type": "error",
1078
+ "name": "Rollup__NothingToPrune",
1079
+ "inputs": []
1080
+ },
1081
+ {
1082
+ "type": "error",
1083
+ "name": "Rollup__PastDeadline",
1084
+ "inputs": [
1085
+ {
1086
+ "name": "deadline",
1087
+ "type": "uint256",
1088
+ "internalType": "Slot"
1089
+ },
1090
+ {
1091
+ "name": "currentSlot",
1092
+ "type": "uint256",
1093
+ "internalType": "Slot"
1094
+ }
1095
+ ]
1096
+ },
1097
+ {
1098
+ "type": "error",
1099
+ "name": "Rollup__ProverHaveAlreadySubmitted",
1100
+ "inputs": [
1101
+ {
1102
+ "name": "prover",
1103
+ "type": "address",
1104
+ "internalType": "address"
1105
+ },
1106
+ {
1107
+ "name": "epoch",
1108
+ "type": "uint256",
1109
+ "internalType": "Epoch"
1110
+ }
1111
+ ]
1112
+ },
1113
+ {
1114
+ "type": "error",
1115
+ "name": "Rollup__SlotAlreadyInChain",
1116
+ "inputs": [
1117
+ {
1118
+ "name": "lastSlot",
1119
+ "type": "uint256",
1120
+ "internalType": "Slot"
1121
+ },
1122
+ {
1123
+ "name": "proposedSlot",
1124
+ "type": "uint256",
1125
+ "internalType": "Slot"
1126
+ }
1127
+ ]
1128
+ },
1129
+ {
1130
+ "type": "error",
1131
+ "name": "Rollup__StartAndEndNotSameEpoch",
1132
+ "inputs": [
1133
+ {
1134
+ "name": "start",
1135
+ "type": "uint256",
1136
+ "internalType": "Epoch"
1137
+ },
1138
+ {
1139
+ "name": "end",
1140
+ "type": "uint256",
1141
+ "internalType": "Epoch"
1142
+ }
1143
+ ]
1144
+ },
1145
+ {
1146
+ "type": "error",
1147
+ "name": "Rollup__StartIsNotBuildingOnProven",
1148
+ "inputs": []
1149
+ },
1150
+ {
1151
+ "type": "error",
1152
+ "name": "Rollup__StartIsNotFirstBlockOfEpoch",
1153
+ "inputs": []
1154
+ },
1155
+ {
1156
+ "type": "error",
1157
+ "name": "Rollup__TimestampInFuture",
1158
+ "inputs": [
1159
+ {
1160
+ "name": "max",
1161
+ "type": "uint256",
1162
+ "internalType": "Timestamp"
1163
+ },
1164
+ {
1165
+ "name": "actual",
1166
+ "type": "uint256",
1167
+ "internalType": "Timestamp"
1168
+ }
1169
+ ]
1170
+ },
1171
+ {
1172
+ "type": "error",
1173
+ "name": "Rollup__TimestampTooOld",
1174
+ "inputs": []
1175
+ },
1176
+ {
1177
+ "type": "error",
1178
+ "name": "Rollup__TryingToProveNonExistingBlock",
1179
+ "inputs": []
1180
+ },
1181
+ {
1182
+ "type": "error",
1183
+ "name": "Rollup__UnavailableTxs",
1184
+ "inputs": [
1185
+ {
1186
+ "name": "txsHash",
1187
+ "type": "bytes32",
1188
+ "internalType": "bytes32"
1189
+ }
1190
+ ]
1191
+ },
1192
+ {
1193
+ "type": "function",
1194
+ "name": "STAKING",
1195
+ "inputs": [],
1196
+ "outputs": [
1197
+ {
1198
+ "name": "",
1199
+ "type": "address",
1200
+ "internalType": "contract IStaking"
1201
+ }
1202
+ ],
1203
+ "stateMutability": "view"
1204
+ },
1205
+ {
1206
+ "type": "error",
1207
+ "name": "SampleLib__IndexOutOfBounds",
1208
+ "inputs": [
1209
+ {
1210
+ "name": "requested",
1211
+ "type": "uint256",
1212
+ "internalType": "uint256"
1213
+ },
1214
+ {
1215
+ "name": "bound",
1216
+ "type": "uint256",
1217
+ "internalType": "uint256"
1218
+ }
1219
+ ]
1220
+ },
1221
+ {
1222
+ "type": "error",
1223
+ "name": "SampleLib__SampleLargerThanIndex",
1224
+ "inputs": [
1225
+ {
1226
+ "name": "sample",
1227
+ "type": "uint256",
1228
+ "internalType": "uint256"
1229
+ },
1230
+ {
1231
+ "name": "index",
1232
+ "type": "uint256",
1233
+ "internalType": "uint256"
1234
+ }
1235
+ ]
1236
+ },
1237
+ {
1238
+ "type": "error",
1239
+ "name": "SignatureLib__CannotVerifyEmpty",
1240
+ "inputs": []
1241
+ },
1242
+ {
1243
+ "type": "error",
1244
+ "name": "SignatureLib__InvalidSignature",
1245
+ "inputs": [
1246
+ {
1247
+ "name": "expected",
1248
+ "type": "address",
1249
+ "internalType": "address"
1250
+ },
1251
+ {
1252
+ "name": "recovered",
1253
+ "type": "address",
1254
+ "internalType": "address"
1255
+ }
1256
+ ]
1257
+ },
1258
+ {
1259
+ "type": "error",
1260
+ "name": "Staking__AlreadyActive",
1261
+ "inputs": [
1262
+ {
1263
+ "name": "attester",
1264
+ "type": "address",
1265
+ "internalType": "address"
1266
+ }
1267
+ ]
1268
+ },
1269
+ {
1270
+ "type": "error",
1271
+ "name": "Staking__AlreadyRegistered",
1272
+ "inputs": [
1273
+ {
1274
+ "name": "",
1275
+ "type": "address",
1276
+ "internalType": "address"
1277
+ }
1278
+ ]
1279
+ },
1280
+ {
1281
+ "type": "error",
1282
+ "name": "Staking__CannotSlashExitedStake",
1283
+ "inputs": [
1284
+ {
1285
+ "name": "",
1286
+ "type": "address",
1287
+ "internalType": "address"
1288
+ }
1289
+ ]
1290
+ },
1291
+ {
1292
+ "type": "error",
1293
+ "name": "Staking__FailedToRemove",
1294
+ "inputs": [
1295
+ {
1296
+ "name": "",
1297
+ "type": "address",
1298
+ "internalType": "address"
1299
+ }
1300
+ ]
1301
+ },
1302
+ {
1303
+ "type": "error",
1304
+ "name": "Staking__InsufficientStake",
1305
+ "inputs": [
1306
+ {
1307
+ "name": "",
1308
+ "type": "uint256",
1309
+ "internalType": "uint256"
1310
+ },
1311
+ {
1312
+ "name": "",
1313
+ "type": "uint256",
1314
+ "internalType": "uint256"
1315
+ }
1316
+ ]
1317
+ },
1318
+ {
1319
+ "type": "error",
1320
+ "name": "Staking__InvalidDeposit",
1321
+ "inputs": [
1322
+ {
1323
+ "name": "attester",
1324
+ "type": "address",
1325
+ "internalType": "address"
1326
+ },
1327
+ {
1328
+ "name": "proposer",
1329
+ "type": "address",
1330
+ "internalType": "address"
1331
+ }
1332
+ ]
1333
+ },
1334
+ {
1335
+ "type": "error",
1336
+ "name": "Staking__NoOneToSlash",
1337
+ "inputs": [
1338
+ {
1339
+ "name": "",
1340
+ "type": "address",
1341
+ "internalType": "address"
1342
+ }
1343
+ ]
1344
+ },
1345
+ {
1346
+ "type": "error",
1347
+ "name": "Staking__NotExiting",
1348
+ "inputs": [
1349
+ {
1350
+ "name": "",
1351
+ "type": "address",
1352
+ "internalType": "address"
1353
+ }
1354
+ ]
1355
+ },
1356
+ {
1357
+ "type": "error",
1358
+ "name": "Staking__NotSlasher",
1359
+ "inputs": [
1360
+ {
1361
+ "name": "",
1362
+ "type": "address",
1363
+ "internalType": "address"
1364
+ },
1365
+ {
1366
+ "name": "",
1367
+ "type": "address",
1368
+ "internalType": "address"
1369
+ }
1370
+ ]
1371
+ },
1372
+ {
1373
+ "type": "error",
1374
+ "name": "Staking__NotWithdrawer",
1375
+ "inputs": [
1376
+ {
1377
+ "name": "",
1378
+ "type": "address",
1379
+ "internalType": "address"
1380
+ },
1381
+ {
1382
+ "name": "",
1383
+ "type": "address",
1384
+ "internalType": "address"
1385
+ }
1386
+ ]
1387
+ },
1388
+ {
1389
+ "type": "error",
1390
+ "name": "Staking__NothingToExit",
1391
+ "inputs": [
1392
+ {
1393
+ "name": "",
1394
+ "type": "address",
1395
+ "internalType": "address"
1396
+ }
1397
+ ]
1398
+ },
1399
+ {
1400
+ "type": "error",
1401
+ "name": "Staking__WithdrawalNotUnlockedYet",
1402
+ "inputs": [
1403
+ {
1404
+ "name": "",
1405
+ "type": "uint256",
1406
+ "internalType": "Timestamp"
1407
+ },
1408
+ {
1409
+ "name": "",
1410
+ "type": "uint256",
1411
+ "internalType": "Timestamp"
1412
+ }
1413
+ ]
1414
+ },
1415
+ {
1416
+ "type": "error",
1417
+ "name": "ValidatorSelection__EpochNotSetup",
1418
+ "inputs": []
1419
+ },
1420
+ {
1421
+ "type": "error",
1422
+ "name": "ValidatorSelection__InsufficientAttestations",
1423
+ "inputs": [
1424
+ {
1425
+ "name": "minimumNeeded",
1426
+ "type": "uint256",
1427
+ "internalType": "uint256"
1428
+ },
1429
+ {
1430
+ "name": "provided",
1431
+ "type": "uint256",
1432
+ "internalType": "uint256"
1433
+ }
1434
+ ]
1435
+ },
1436
+ {
1437
+ "type": "error",
1438
+ "name": "ValidatorSelection__InsufficientAttestationsProvided",
1439
+ "inputs": [
1440
+ {
1441
+ "name": "minimumNeeded",
1442
+ "type": "uint256",
1443
+ "internalType": "uint256"
1444
+ },
1445
+ {
1446
+ "name": "provided",
1447
+ "type": "uint256",
1448
+ "internalType": "uint256"
1449
+ }
1450
+ ]
1451
+ },
1452
+ {
1453
+ "type": "error",
1454
+ "name": "ValidatorSelection__InvalidDeposit",
1455
+ "inputs": [
1456
+ {
1457
+ "name": "attester",
1458
+ "type": "address",
1459
+ "internalType": "address"
1460
+ },
1461
+ {
1462
+ "name": "proposer",
1463
+ "type": "address",
1464
+ "internalType": "address"
1465
+ }
1466
+ ]
1467
+ },
1468
+ {
1469
+ "type": "error",
1470
+ "name": "ValidatorSelection__InvalidProposer",
1471
+ "inputs": [
1472
+ {
1473
+ "name": "expected",
1474
+ "type": "address",
1475
+ "internalType": "address"
1476
+ },
1477
+ {
1478
+ "name": "actual",
1479
+ "type": "address",
1480
+ "internalType": "address"
1481
+ }
1482
+ ]
1483
+ },
1484
+ {
1485
+ "type": "function",
1486
+ "name": "addValidators",
1487
+ "inputs": [
1488
+ {
1489
+ "name": "_args",
1490
+ "type": "tuple[]",
1491
+ "internalType": "struct CheatDepositArgs[]",
1492
+ "components": [
1493
+ {
1494
+ "name": "attester",
1495
+ "type": "address",
1496
+ "internalType": "address"
1497
+ },
1498
+ {
1499
+ "name": "proposer",
1500
+ "type": "address",
1501
+ "internalType": "address"
1502
+ },
1503
+ {
1504
+ "name": "withdrawer",
1505
+ "type": "address",
1506
+ "internalType": "address"
1507
+ },
1508
+ {
1509
+ "name": "amount",
1510
+ "type": "uint256",
1511
+ "internalType": "uint256"
1512
+ }
1513
+ ]
1514
+ }
1515
+ ],
1516
+ "outputs": [],
1517
+ "stateMutability": "nonpayable"
1518
+ }
1519
+ ];