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