@aztec/l1-artifacts 0.65.2 → 0.66.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 (77) hide show
  1. package/dest/ExtRollupLibAbi.d.ts +501 -0
  2. package/dest/ExtRollupLibAbi.d.ts.map +1 -0
  3. package/dest/ExtRollupLibAbi.js +663 -0
  4. package/dest/ExtRollupLibBytecode.d.ts +9 -0
  5. package/dest/ExtRollupLibBytecode.d.ts.map +1 -0
  6. package/dest/ExtRollupLibBytecode.js +9 -0
  7. package/dest/FeeJuicePortalBytecode.d.ts +1 -1
  8. package/dest/FeeJuicePortalBytecode.js +1 -1
  9. package/dest/GovernanceProposerBytecode.d.ts +1 -1
  10. package/dest/GovernanceProposerBytecode.js +1 -1
  11. package/dest/InboxBytecode.d.ts +1 -1
  12. package/dest/InboxBytecode.js +1 -1
  13. package/dest/LeonidasLibAbi.d.ts +69 -0
  14. package/dest/LeonidasLibAbi.d.ts.map +1 -0
  15. package/dest/LeonidasLibAbi.js +91 -0
  16. package/dest/LeonidasLibBytecode.d.ts +9 -0
  17. package/dest/LeonidasLibBytecode.d.ts.map +1 -0
  18. package/dest/LeonidasLibBytecode.js +9 -0
  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/RollupAbi.d.ts +485 -375
  26. package/dest/RollupAbi.d.ts.map +1 -1
  27. package/dest/RollupAbi.js +592 -450
  28. package/dest/RollupBytecode.d.ts +39 -9
  29. package/dest/RollupBytecode.d.ts.map +1 -1
  30. package/dest/RollupBytecode.js +50 -10
  31. package/dest/TestERC20Abi.d.ts +90 -1
  32. package/dest/TestERC20Abi.d.ts.map +1 -1
  33. package/dest/TestERC20Abi.js +118 -2
  34. package/dest/TestERC20Bytecode.d.ts +1 -1
  35. package/dest/TestERC20Bytecode.d.ts.map +1 -1
  36. package/dest/TestERC20Bytecode.js +2 -2
  37. package/dest/TokenPortalBytecode.d.ts +1 -1
  38. package/dest/TokenPortalBytecode.js +1 -1
  39. package/dest/UniswapPortalBytecode.d.ts +1 -1
  40. package/dest/UniswapPortalBytecode.js +1 -1
  41. package/dest/index.d.ts +4 -4
  42. package/dest/index.d.ts.map +1 -1
  43. package/dest/index.js +5 -5
  44. package/generated/ExtRollupLibAbi.ts +662 -0
  45. package/generated/ExtRollupLibBytecode.ts +8 -0
  46. package/generated/FeeJuicePortalBytecode.ts +1 -1
  47. package/generated/GovernanceProposerBytecode.ts +1 -1
  48. package/generated/InboxBytecode.ts +1 -1
  49. package/generated/LeonidasLibAbi.ts +90 -0
  50. package/generated/LeonidasLibBytecode.ts +8 -0
  51. package/generated/NewGovernanceProposerPayloadBytecode.ts +1 -1
  52. package/generated/OutboxBytecode.ts +1 -1
  53. package/generated/ProofCommitmentEscrowBytecode.ts +1 -1
  54. package/generated/RollupAbi.ts +591 -449
  55. package/generated/RollupBytecode.ts +49 -9
  56. package/generated/TestERC20Abi.ts +117 -1
  57. package/generated/TestERC20Bytecode.ts +1 -1
  58. package/generated/TokenPortalBytecode.ts +1 -1
  59. package/generated/UniswapPortalBytecode.ts +1 -1
  60. package/generated/index.ts +4 -4
  61. package/package.json +1 -1
  62. package/dest/SampleLibAbi.d.ts +0 -61
  63. package/dest/SampleLibAbi.d.ts.map +0 -1
  64. package/dest/SampleLibAbi.js +0 -80
  65. package/dest/SampleLibBytecode.d.ts +0 -9
  66. package/dest/SampleLibBytecode.d.ts.map +0 -1
  67. package/dest/SampleLibBytecode.js +0 -9
  68. package/dest/TxsDecoderAbi.d.ts +0 -31
  69. package/dest/TxsDecoderAbi.d.ts.map +0 -1
  70. package/dest/TxsDecoderAbi.js +0 -41
  71. package/dest/TxsDecoderBytecode.d.ts +0 -9
  72. package/dest/TxsDecoderBytecode.d.ts.map +0 -1
  73. package/dest/TxsDecoderBytecode.js +0 -9
  74. package/generated/SampleLibAbi.ts +0 -79
  75. package/generated/SampleLibBytecode.ts +0 -8
  76. package/generated/TxsDecoderAbi.ts +0 -40
  77. package/generated/TxsDecoderBytecode.ts +0 -8
@@ -15,6 +15,11 @@ export const RollupAbi = [
15
15
  "type": "address",
16
16
  "internalType": "contract IRewardDistributor"
17
17
  },
18
+ {
19
+ "name": "_stakingAsset",
20
+ "type": "address",
21
+ "internalType": "contract IERC20"
22
+ },
18
23
  {
19
24
  "name": "_vkTreeRoot",
20
25
  "type": "bytes32",
@@ -30,11 +35,6 @@ export const RollupAbi = [
30
35
  "type": "address",
31
36
  "internalType": "address"
32
37
  },
33
- {
34
- "name": "_validators",
35
- "type": "address[]",
36
- "internalType": "address[]"
37
- },
38
38
  {
39
39
  "name": "_config",
40
40
  "type": "tuple",
@@ -59,6 +59,11 @@ export const RollupAbi = [
59
59
  "name": "aztecEpochProofClaimWindowInL2Slots",
60
60
  "type": "uint256",
61
61
  "internalType": "uint256"
62
+ },
63
+ {
64
+ "name": "minimumStake",
65
+ "type": "uint256",
66
+ "internalType": "uint256"
62
67
  }
63
68
  ]
64
69
  }
@@ -117,6 +122,19 @@ export const RollupAbi = [
117
122
  ],
118
123
  "stateMutability": "view"
119
124
  },
125
+ {
126
+ "type": "function",
127
+ "name": "EXIT_DELAY",
128
+ "inputs": [],
129
+ "outputs": [
130
+ {
131
+ "name": "",
132
+ "type": "uint256",
133
+ "internalType": "Timestamp"
134
+ }
135
+ ],
136
+ "stateMutability": "view"
137
+ },
120
138
  {
121
139
  "type": "function",
122
140
  "name": "FEE_JUICE_PORTAL",
@@ -208,6 +226,19 @@ export const RollupAbi = [
208
226
  ],
209
227
  "stateMutability": "view"
210
228
  },
229
+ {
230
+ "type": "function",
231
+ "name": "MINIMUM_STAKE",
232
+ "inputs": [],
233
+ "outputs": [
234
+ {
235
+ "name": "",
236
+ "type": "uint256",
237
+ "internalType": "uint256"
238
+ }
239
+ ],
240
+ "stateMutability": "view"
241
+ },
211
242
  {
212
243
  "type": "function",
213
244
  "name": "OUTBOX",
@@ -260,6 +291,19 @@ export const RollupAbi = [
260
291
  ],
261
292
  "stateMutability": "view"
262
293
  },
294
+ {
295
+ "type": "function",
296
+ "name": "SLASHER",
297
+ "inputs": [],
298
+ "outputs": [
299
+ {
300
+ "name": "",
301
+ "type": "address",
302
+ "internalType": "address"
303
+ }
304
+ ],
305
+ "stateMutability": "view"
306
+ },
263
307
  {
264
308
  "type": "function",
265
309
  "name": "SLOT_DURATION",
@@ -275,20 +319,20 @@ export const RollupAbi = [
275
319
  },
276
320
  {
277
321
  "type": "function",
278
- "name": "TARGET_COMMITTEE_SIZE",
322
+ "name": "STAKING_ASSET",
279
323
  "inputs": [],
280
324
  "outputs": [
281
325
  {
282
326
  "name": "",
283
- "type": "uint256",
284
- "internalType": "uint256"
327
+ "type": "address",
328
+ "internalType": "contract IERC20"
285
329
  }
286
330
  ],
287
331
  "stateMutability": "view"
288
332
  },
289
333
  {
290
334
  "type": "function",
291
- "name": "VERSION",
335
+ "name": "TARGET_COMMITTEE_SIZE",
292
336
  "inputs": [],
293
337
  "outputs": [
294
338
  {
@@ -301,29 +345,29 @@ export const RollupAbi = [
301
345
  },
302
346
  {
303
347
  "type": "function",
304
- "name": "VM_ADDRESS",
348
+ "name": "VERSION",
305
349
  "inputs": [],
306
350
  "outputs": [
307
351
  {
308
352
  "name": "",
309
- "type": "address",
310
- "internalType": "address"
353
+ "type": "uint256",
354
+ "internalType": "uint256"
311
355
  }
312
356
  ],
313
357
  "stateMutability": "view"
314
358
  },
315
359
  {
316
360
  "type": "function",
317
- "name": "addValidator",
318
- "inputs": [
361
+ "name": "VM_ADDRESS",
362
+ "inputs": [],
363
+ "outputs": [
319
364
  {
320
- "name": "_validator",
365
+ "name": "",
321
366
  "type": "address",
322
367
  "internalType": "address"
323
368
  }
324
369
  ],
325
- "outputs": [],
326
- "stateMutability": "nonpayable"
370
+ "stateMutability": "view"
327
371
  },
328
372
  {
329
373
  "type": "function",
@@ -418,6 +462,41 @@ export const RollupAbi = [
418
462
  ],
419
463
  "stateMutability": "view"
420
464
  },
465
+ {
466
+ "type": "function",
467
+ "name": "cheat__InitialiseValidatorSet",
468
+ "inputs": [
469
+ {
470
+ "name": "_args",
471
+ "type": "tuple[]",
472
+ "internalType": "struct CheatDepositArgs[]",
473
+ "components": [
474
+ {
475
+ "name": "attester",
476
+ "type": "address",
477
+ "internalType": "address"
478
+ },
479
+ {
480
+ "name": "proposer",
481
+ "type": "address",
482
+ "internalType": "address"
483
+ },
484
+ {
485
+ "name": "withdrawer",
486
+ "type": "address",
487
+ "internalType": "address"
488
+ },
489
+ {
490
+ "name": "amount",
491
+ "type": "uint256",
492
+ "internalType": "uint256"
493
+ }
494
+ ]
495
+ }
496
+ ],
497
+ "outputs": [],
498
+ "stateMutability": "nonpayable"
499
+ },
421
500
  {
422
501
  "type": "function",
423
502
  "name": "claimEpochProofRight",
@@ -425,12 +504,12 @@ export const RollupAbi = [
425
504
  {
426
505
  "name": "_quote",
427
506
  "type": "tuple",
428
- "internalType": "struct EpochProofQuoteLib.SignedEpochProofQuote",
507
+ "internalType": "struct SignedEpochProofQuote",
429
508
  "components": [
430
509
  {
431
510
  "name": "quote",
432
511
  "type": "tuple",
433
- "internalType": "struct EpochProofQuoteLib.EpochProofQuote",
512
+ "internalType": "struct EpochProofQuote",
434
513
  "components": [
435
514
  {
436
515
  "name": "epochToProve",
@@ -462,7 +541,7 @@ export const RollupAbi = [
462
541
  {
463
542
  "name": "signature",
464
543
  "type": "tuple",
465
- "internalType": "struct SignatureLib.Signature",
544
+ "internalType": "struct Signature",
466
545
  "components": [
467
546
  {
468
547
  "name": "isEmpty",
@@ -511,6 +590,34 @@ export const RollupAbi = [
511
590
  ],
512
591
  "stateMutability": "pure"
513
592
  },
593
+ {
594
+ "type": "function",
595
+ "name": "deposit",
596
+ "inputs": [
597
+ {
598
+ "name": "_attester",
599
+ "type": "address",
600
+ "internalType": "address"
601
+ },
602
+ {
603
+ "name": "_proposer",
604
+ "type": "address",
605
+ "internalType": "address"
606
+ },
607
+ {
608
+ "name": "_withdrawer",
609
+ "type": "address",
610
+ "internalType": "address"
611
+ },
612
+ {
613
+ "name": "_amount",
614
+ "type": "uint256",
615
+ "internalType": "uint256"
616
+ }
617
+ ],
618
+ "outputs": [],
619
+ "stateMutability": "nonpayable"
620
+ },
514
621
  {
515
622
  "type": "function",
516
623
  "name": "eip712Domain",
@@ -556,37 +663,58 @@ export const RollupAbi = [
556
663
  },
557
664
  {
558
665
  "type": "function",
559
- "name": "epochProofVerifier",
666
+ "name": "finaliseWithdraw",
667
+ "inputs": [
668
+ {
669
+ "name": "_attester",
670
+ "type": "address",
671
+ "internalType": "address"
672
+ }
673
+ ],
674
+ "outputs": [],
675
+ "stateMutability": "nonpayable"
676
+ },
677
+ {
678
+ "type": "function",
679
+ "name": "getActiveAttesterCount",
560
680
  "inputs": [],
561
681
  "outputs": [
562
682
  {
563
683
  "name": "",
564
- "type": "address",
565
- "internalType": "contract IVerifier"
684
+ "type": "uint256",
685
+ "internalType": "uint256"
566
686
  }
567
687
  ],
568
688
  "stateMutability": "view"
569
689
  },
570
690
  {
571
691
  "type": "function",
572
- "name": "epochs",
692
+ "name": "getAttesterAtIndex",
573
693
  "inputs": [
574
694
  {
575
- "name": "",
695
+ "name": "_index",
576
696
  "type": "uint256",
577
- "internalType": "Epoch"
697
+ "internalType": "uint256"
578
698
  }
579
699
  ],
580
700
  "outputs": [
581
701
  {
582
- "name": "sampleSeed",
583
- "type": "uint256",
584
- "internalType": "uint256"
585
- },
702
+ "name": "",
703
+ "type": "address",
704
+ "internalType": "address"
705
+ }
706
+ ],
707
+ "stateMutability": "view"
708
+ },
709
+ {
710
+ "type": "function",
711
+ "name": "getAttesters",
712
+ "inputs": [],
713
+ "outputs": [
586
714
  {
587
- "name": "nextSeed",
588
- "type": "uint256",
589
- "internalType": "uint256"
715
+ "name": "",
716
+ "type": "address[]",
717
+ "internalType": "address[]"
590
718
  }
591
719
  ],
592
720
  "stateMutability": "view"
@@ -672,6 +800,25 @@ export const RollupAbi = [
672
800
  ],
673
801
  "stateMutability": "view"
674
802
  },
803
+ {
804
+ "type": "function",
805
+ "name": "getCommitteeAt",
806
+ "inputs": [
807
+ {
808
+ "name": "_ts",
809
+ "type": "uint256",
810
+ "internalType": "Timestamp"
811
+ }
812
+ ],
813
+ "outputs": [
814
+ {
815
+ "name": "",
816
+ "type": "address[]",
817
+ "internalType": "address[]"
818
+ }
819
+ ],
820
+ "stateMutability": "view"
821
+ },
675
822
  {
676
823
  "type": "function",
677
824
  "name": "getCurrentEpoch",
@@ -711,6 +858,19 @@ export const RollupAbi = [
711
858
  ],
712
859
  "stateMutability": "view"
713
860
  },
861
+ {
862
+ "type": "function",
863
+ "name": "getCurrentSampleSeed",
864
+ "inputs": [],
865
+ "outputs": [
866
+ {
867
+ "name": "",
868
+ "type": "uint256",
869
+ "internalType": "uint256"
870
+ }
871
+ ],
872
+ "stateMutability": "view"
873
+ },
714
874
  {
715
875
  "type": "function",
716
876
  "name": "getCurrentSlot",
@@ -847,6 +1007,37 @@ export const RollupAbi = [
847
1007
  ],
848
1008
  "stateMutability": "view"
849
1009
  },
1010
+ {
1011
+ "type": "function",
1012
+ "name": "getExit",
1013
+ "inputs": [
1014
+ {
1015
+ "name": "_attester",
1016
+ "type": "address",
1017
+ "internalType": "address"
1018
+ }
1019
+ ],
1020
+ "outputs": [
1021
+ {
1022
+ "name": "",
1023
+ "type": "tuple",
1024
+ "internalType": "struct Exit",
1025
+ "components": [
1026
+ {
1027
+ "name": "exitableAt",
1028
+ "type": "uint256",
1029
+ "internalType": "Timestamp"
1030
+ },
1031
+ {
1032
+ "name": "recipient",
1033
+ "type": "address",
1034
+ "internalType": "address"
1035
+ }
1036
+ ]
1037
+ }
1038
+ ],
1039
+ "stateMutability": "view"
1040
+ },
850
1041
  {
851
1042
  "type": "function",
852
1043
  "name": "getFeeAssetPrice",
@@ -860,6 +1051,47 @@ export const RollupAbi = [
860
1051
  ],
861
1052
  "stateMutability": "view"
862
1053
  },
1054
+ {
1055
+ "type": "function",
1056
+ "name": "getInfo",
1057
+ "inputs": [
1058
+ {
1059
+ "name": "_attester",
1060
+ "type": "address",
1061
+ "internalType": "address"
1062
+ }
1063
+ ],
1064
+ "outputs": [
1065
+ {
1066
+ "name": "",
1067
+ "type": "tuple",
1068
+ "internalType": "struct ValidatorInfo",
1069
+ "components": [
1070
+ {
1071
+ "name": "stake",
1072
+ "type": "uint256",
1073
+ "internalType": "uint256"
1074
+ },
1075
+ {
1076
+ "name": "withdrawer",
1077
+ "type": "address",
1078
+ "internalType": "address"
1079
+ },
1080
+ {
1081
+ "name": "proposer",
1082
+ "type": "address",
1083
+ "internalType": "address"
1084
+ },
1085
+ {
1086
+ "name": "status",
1087
+ "type": "uint8",
1088
+ "internalType": "enum Status"
1089
+ }
1090
+ ]
1091
+ }
1092
+ ],
1093
+ "stateMutability": "view"
1094
+ },
863
1095
  {
864
1096
  "type": "function",
865
1097
  "name": "getL1FeesAt",
@@ -968,52 +1200,91 @@ export const RollupAbi = [
968
1200
  },
969
1201
  {
970
1202
  "type": "function",
971
- "name": "getPendingBlockNumber",
972
- "inputs": [],
973
- "outputs": [
1203
+ "name": "getOperatorAtIndex",
1204
+ "inputs": [
974
1205
  {
975
- "name": "",
1206
+ "name": "_index",
976
1207
  "type": "uint256",
977
1208
  "internalType": "uint256"
978
1209
  }
979
1210
  ],
980
- "stateMutability": "view"
981
- },
982
- {
983
- "type": "function",
984
- "name": "getProposerAt",
985
- "inputs": [
1211
+ "outputs": [
986
1212
  {
987
- "name": "_ts",
988
- "type": "uint256",
989
- "internalType": "Timestamp"
1213
+ "name": "",
1214
+ "type": "tuple",
1215
+ "internalType": "struct OperatorInfo",
1216
+ "components": [
1217
+ {
1218
+ "name": "proposer",
1219
+ "type": "address",
1220
+ "internalType": "address"
1221
+ },
1222
+ {
1223
+ "name": "attester",
1224
+ "type": "address",
1225
+ "internalType": "address"
1226
+ }
1227
+ ]
990
1228
  }
991
1229
  ],
1230
+ "stateMutability": "view"
1231
+ },
1232
+ {
1233
+ "type": "function",
1234
+ "name": "getPendingBlockNumber",
1235
+ "inputs": [],
992
1236
  "outputs": [
993
1237
  {
994
1238
  "name": "",
995
- "type": "address",
996
- "internalType": "address"
1239
+ "type": "uint256",
1240
+ "internalType": "uint256"
997
1241
  }
998
1242
  ],
999
1243
  "stateMutability": "view"
1000
1244
  },
1001
1245
  {
1002
1246
  "type": "function",
1003
- "name": "getProvenBlockNumber",
1247
+ "name": "getProofClaim",
1004
1248
  "inputs": [],
1005
1249
  "outputs": [
1006
1250
  {
1007
1251
  "name": "",
1008
- "type": "uint256",
1009
- "internalType": "uint256"
1252
+ "type": "tuple",
1253
+ "internalType": "struct DataStructures.EpochProofClaim",
1254
+ "components": [
1255
+ {
1256
+ "name": "epochToProve",
1257
+ "type": "uint256",
1258
+ "internalType": "Epoch"
1259
+ },
1260
+ {
1261
+ "name": "basisPointFee",
1262
+ "type": "uint256",
1263
+ "internalType": "uint256"
1264
+ },
1265
+ {
1266
+ "name": "bondAmount",
1267
+ "type": "uint256",
1268
+ "internalType": "uint256"
1269
+ },
1270
+ {
1271
+ "name": "bondProvider",
1272
+ "type": "address",
1273
+ "internalType": "address"
1274
+ },
1275
+ {
1276
+ "name": "proposerClaimant",
1277
+ "type": "address",
1278
+ "internalType": "address"
1279
+ }
1280
+ ]
1010
1281
  }
1011
1282
  ],
1012
1283
  "stateMutability": "view"
1013
1284
  },
1014
1285
  {
1015
1286
  "type": "function",
1016
- "name": "getSlotAt",
1287
+ "name": "getProposerAt",
1017
1288
  "inputs": [
1018
1289
  {
1019
1290
  "name": "_ts",
@@ -1024,39 +1295,39 @@ export const RollupAbi = [
1024
1295
  "outputs": [
1025
1296
  {
1026
1297
  "name": "",
1027
- "type": "uint256",
1028
- "internalType": "Slot"
1298
+ "type": "address",
1299
+ "internalType": "address"
1029
1300
  }
1030
1301
  ],
1031
1302
  "stateMutability": "view"
1032
1303
  },
1033
1304
  {
1034
1305
  "type": "function",
1035
- "name": "getTimestampForSlot",
1306
+ "name": "getProposerAtIndex",
1036
1307
  "inputs": [
1037
1308
  {
1038
- "name": "_slotNumber",
1309
+ "name": "_index",
1039
1310
  "type": "uint256",
1040
- "internalType": "Slot"
1311
+ "internalType": "uint256"
1041
1312
  }
1042
1313
  ],
1043
1314
  "outputs": [
1044
1315
  {
1045
1316
  "name": "",
1046
- "type": "uint256",
1047
- "internalType": "Timestamp"
1317
+ "type": "address",
1318
+ "internalType": "address"
1048
1319
  }
1049
1320
  ],
1050
1321
  "stateMutability": "view"
1051
1322
  },
1052
1323
  {
1053
1324
  "type": "function",
1054
- "name": "getValidatorAt",
1325
+ "name": "getProposerForAttester",
1055
1326
  "inputs": [
1056
1327
  {
1057
- "name": "_index",
1058
- "type": "uint256",
1059
- "internalType": "uint256"
1328
+ "name": "_attester",
1329
+ "type": "address",
1330
+ "internalType": "address"
1060
1331
  }
1061
1332
  ],
1062
1333
  "outputs": [
@@ -1070,7 +1341,7 @@ export const RollupAbi = [
1070
1341
  },
1071
1342
  {
1072
1343
  "type": "function",
1073
- "name": "getValidatorCount",
1344
+ "name": "getProvenBlockNumber",
1074
1345
  "inputs": [],
1075
1346
  "outputs": [
1076
1347
  {
@@ -1083,123 +1354,117 @@ export const RollupAbi = [
1083
1354
  },
1084
1355
  {
1085
1356
  "type": "function",
1086
- "name": "getValidators",
1087
- "inputs": [],
1357
+ "name": "getSampleSeedAt",
1358
+ "inputs": [
1359
+ {
1360
+ "name": "_ts",
1361
+ "type": "uint256",
1362
+ "internalType": "Timestamp"
1363
+ }
1364
+ ],
1088
1365
  "outputs": [
1089
1366
  {
1090
1367
  "name": "",
1091
- "type": "address[]",
1092
- "internalType": "address[]"
1368
+ "type": "uint256",
1369
+ "internalType": "uint256"
1093
1370
  }
1094
1371
  ],
1095
1372
  "stateMutability": "view"
1096
1373
  },
1097
1374
  {
1098
1375
  "type": "function",
1099
- "name": "isValidator",
1376
+ "name": "getSlotAt",
1100
1377
  "inputs": [
1101
1378
  {
1102
- "name": "_validator",
1103
- "type": "address",
1104
- "internalType": "address"
1379
+ "name": "_ts",
1380
+ "type": "uint256",
1381
+ "internalType": "Timestamp"
1105
1382
  }
1106
1383
  ],
1107
1384
  "outputs": [
1108
1385
  {
1109
1386
  "name": "",
1110
- "type": "bool",
1111
- "internalType": "bool"
1387
+ "type": "uint256",
1388
+ "internalType": "Slot"
1112
1389
  }
1113
1390
  ],
1114
1391
  "stateMutability": "view"
1115
1392
  },
1116
1393
  {
1117
1394
  "type": "function",
1118
- "name": "l1GasOracleValues",
1119
- "inputs": [],
1395
+ "name": "getTimestampForSlot",
1396
+ "inputs": [
1397
+ {
1398
+ "name": "_slotNumber",
1399
+ "type": "uint256",
1400
+ "internalType": "Slot"
1401
+ }
1402
+ ],
1120
1403
  "outputs": [
1121
1404
  {
1122
- "name": "pre",
1123
- "type": "tuple",
1124
- "internalType": "struct L1FeeData",
1125
- "components": [
1126
- {
1127
- "name": "baseFee",
1128
- "type": "uint256",
1129
- "internalType": "uint256"
1130
- },
1131
- {
1132
- "name": "blobFee",
1133
- "type": "uint256",
1134
- "internalType": "uint256"
1135
- }
1136
- ]
1137
- },
1405
+ "name": "",
1406
+ "type": "uint256",
1407
+ "internalType": "Timestamp"
1408
+ }
1409
+ ],
1410
+ "stateMutability": "view"
1411
+ },
1412
+ {
1413
+ "type": "function",
1414
+ "name": "getTips",
1415
+ "inputs": [],
1416
+ "outputs": [
1138
1417
  {
1139
- "name": "post",
1418
+ "name": "",
1140
1419
  "type": "tuple",
1141
- "internalType": "struct L1FeeData",
1420
+ "internalType": "struct ChainTips",
1142
1421
  "components": [
1143
1422
  {
1144
- "name": "baseFee",
1423
+ "name": "pendingBlockNumber",
1145
1424
  "type": "uint256",
1146
1425
  "internalType": "uint256"
1147
1426
  },
1148
1427
  {
1149
- "name": "blobFee",
1428
+ "name": "provenBlockNumber",
1150
1429
  "type": "uint256",
1151
1430
  "internalType": "uint256"
1152
1431
  }
1153
1432
  ]
1154
- },
1155
- {
1156
- "name": "slotOfChange",
1157
- "type": "uint256",
1158
- "internalType": "Slot"
1159
1433
  }
1160
1434
  ],
1161
1435
  "stateMutability": "view"
1162
1436
  },
1163
1437
  {
1164
1438
  "type": "function",
1165
- "name": "owner",
1166
- "inputs": [],
1167
- "outputs": [
1439
+ "name": "initiateWithdraw",
1440
+ "inputs": [
1168
1441
  {
1169
- "name": "",
1442
+ "name": "_attester",
1443
+ "type": "address",
1444
+ "internalType": "address"
1445
+ },
1446
+ {
1447
+ "name": "_recipient",
1170
1448
  "type": "address",
1171
1449
  "internalType": "address"
1172
1450
  }
1173
1451
  ],
1174
- "stateMutability": "view"
1452
+ "outputs": [
1453
+ {
1454
+ "name": "",
1455
+ "type": "bool",
1456
+ "internalType": "bool"
1457
+ }
1458
+ ],
1459
+ "stateMutability": "nonpayable"
1175
1460
  },
1176
1461
  {
1177
1462
  "type": "function",
1178
- "name": "proofClaim",
1463
+ "name": "owner",
1179
1464
  "inputs": [],
1180
1465
  "outputs": [
1181
1466
  {
1182
- "name": "epochToProve",
1183
- "type": "uint256",
1184
- "internalType": "Epoch"
1185
- },
1186
- {
1187
- "name": "basisPointFee",
1188
- "type": "uint256",
1189
- "internalType": "uint256"
1190
- },
1191
- {
1192
- "name": "bondAmount",
1193
- "type": "uint256",
1194
- "internalType": "uint256"
1195
- },
1196
- {
1197
- "name": "bondProvider",
1198
- "type": "address",
1199
- "internalType": "address"
1200
- },
1201
- {
1202
- "name": "proposerClaimant",
1467
+ "name": "",
1203
1468
  "type": "address",
1204
1469
  "internalType": "address"
1205
1470
  }
@@ -1257,7 +1522,7 @@ export const RollupAbi = [
1257
1522
  {
1258
1523
  "name": "_signatures",
1259
1524
  "type": "tuple[]",
1260
- "internalType": "struct SignatureLib.Signature[]",
1525
+ "internalType": "struct Signature[]",
1261
1526
  "components": [
1262
1527
  {
1263
1528
  "name": "isEmpty",
@@ -1341,7 +1606,7 @@ export const RollupAbi = [
1341
1606
  {
1342
1607
  "name": "_signatures",
1343
1608
  "type": "tuple[]",
1344
- "internalType": "struct SignatureLib.Signature[]",
1609
+ "internalType": "struct Signature[]",
1345
1610
  "components": [
1346
1611
  {
1347
1612
  "name": "isEmpty",
@@ -1373,12 +1638,12 @@ export const RollupAbi = [
1373
1638
  {
1374
1639
  "name": "_quote",
1375
1640
  "type": "tuple",
1376
- "internalType": "struct EpochProofQuoteLib.SignedEpochProofQuote",
1641
+ "internalType": "struct SignedEpochProofQuote",
1377
1642
  "components": [
1378
1643
  {
1379
1644
  "name": "quote",
1380
1645
  "type": "tuple",
1381
- "internalType": "struct EpochProofQuoteLib.EpochProofQuote",
1646
+ "internalType": "struct EpochProofQuote",
1382
1647
  "components": [
1383
1648
  {
1384
1649
  "name": "epochToProve",
@@ -1410,7 +1675,7 @@ export const RollupAbi = [
1410
1675
  {
1411
1676
  "name": "signature",
1412
1677
  "type": "tuple",
1413
- "internalType": "struct SignatureLib.Signature",
1678
+ "internalType": "struct Signature",
1414
1679
  "components": [
1415
1680
  {
1416
1681
  "name": "isEmpty",
@@ -1440,19 +1705,6 @@ export const RollupAbi = [
1440
1705
  "outputs": [],
1441
1706
  "stateMutability": "nonpayable"
1442
1707
  },
1443
- {
1444
- "type": "function",
1445
- "name": "protocolContractTreeRoot",
1446
- "inputs": [],
1447
- "outputs": [
1448
- {
1449
- "name": "",
1450
- "type": "bytes32",
1451
- "internalType": "bytes32"
1452
- }
1453
- ],
1454
- "stateMutability": "view"
1455
- },
1456
1708
  {
1457
1709
  "type": "function",
1458
1710
  "name": "prune",
@@ -1467,7 +1719,7 @@ export const RollupAbi = [
1467
1719
  {
1468
1720
  "name": "_quote",
1469
1721
  "type": "tuple",
1470
- "internalType": "struct EpochProofQuoteLib.EpochProofQuote",
1722
+ "internalType": "struct EpochProofQuote",
1471
1723
  "components": [
1472
1724
  {
1473
1725
  "name": "epochToProve",
@@ -1506,19 +1758,6 @@ export const RollupAbi = [
1506
1758
  ],
1507
1759
  "stateMutability": "view"
1508
1760
  },
1509
- {
1510
- "type": "function",
1511
- "name": "removeValidator",
1512
- "inputs": [
1513
- {
1514
- "name": "_validator",
1515
- "type": "address",
1516
- "internalType": "address"
1517
- }
1518
- ],
1519
- "outputs": [],
1520
- "stateMutability": "nonpayable"
1521
- },
1522
1761
  {
1523
1762
  "type": "function",
1524
1763
  "name": "renounceOwnership",
@@ -1585,6 +1824,24 @@ export const RollupAbi = [
1585
1824
  "outputs": [],
1586
1825
  "stateMutability": "nonpayable"
1587
1826
  },
1827
+ {
1828
+ "type": "function",
1829
+ "name": "slash",
1830
+ "inputs": [
1831
+ {
1832
+ "name": "_attester",
1833
+ "type": "address",
1834
+ "internalType": "address"
1835
+ },
1836
+ {
1837
+ "name": "_amount",
1838
+ "type": "uint256",
1839
+ "internalType": "uint256"
1840
+ }
1841
+ ],
1842
+ "outputs": [],
1843
+ "stateMutability": "nonpayable"
1844
+ },
1588
1845
  {
1589
1846
  "type": "function",
1590
1847
  "name": "status",
@@ -1669,24 +1926,6 @@ export const RollupAbi = [
1669
1926
  "outputs": [],
1670
1927
  "stateMutability": "nonpayable"
1671
1928
  },
1672
- {
1673
- "type": "function",
1674
- "name": "tips",
1675
- "inputs": [],
1676
- "outputs": [
1677
- {
1678
- "name": "pendingBlockNumber",
1679
- "type": "uint256",
1680
- "internalType": "uint256"
1681
- },
1682
- {
1683
- "name": "provenBlockNumber",
1684
- "type": "uint256",
1685
- "internalType": "uint256"
1686
- }
1687
- ],
1688
- "stateMutability": "view"
1689
- },
1690
1929
  {
1691
1930
  "type": "function",
1692
1931
  "name": "transferOwnership",
@@ -1719,12 +1958,12 @@ export const RollupAbi = [
1719
1958
  {
1720
1959
  "name": "_quote",
1721
1960
  "type": "tuple",
1722
- "internalType": "struct EpochProofQuoteLib.SignedEpochProofQuote",
1961
+ "internalType": "struct SignedEpochProofQuote",
1723
1962
  "components": [
1724
1963
  {
1725
1964
  "name": "quote",
1726
1965
  "type": "tuple",
1727
- "internalType": "struct EpochProofQuoteLib.EpochProofQuote",
1966
+ "internalType": "struct EpochProofQuote",
1728
1967
  "components": [
1729
1968
  {
1730
1969
  "name": "epochToProve",
@@ -1756,7 +1995,7 @@ export const RollupAbi = [
1756
1995
  {
1757
1996
  "name": "signature",
1758
1997
  "type": "tuple",
1759
- "internalType": "struct SignatureLib.Signature",
1998
+ "internalType": "struct Signature",
1760
1999
  "components": [
1761
2000
  {
1762
2001
  "name": "isEmpty",
@@ -1798,7 +2037,7 @@ export const RollupAbi = [
1798
2037
  {
1799
2038
  "name": "_signatures",
1800
2039
  "type": "tuple[]",
1801
- "internalType": "struct SignatureLib.Signature[]",
2040
+ "internalType": "struct Signature[]",
1802
2041
  "components": [
1803
2042
  {
1804
2043
  "name": "isEmpty",
@@ -1858,31 +2097,49 @@ export const RollupAbi = [
1858
2097
  "outputs": [],
1859
2098
  "stateMutability": "view"
1860
2099
  },
1861
- {
1862
- "type": "function",
1863
- "name": "vkTreeRoot",
1864
- "inputs": [],
1865
- "outputs": [
1866
- {
1867
- "name": "",
1868
- "type": "bytes32",
1869
- "internalType": "bytes32"
1870
- }
1871
- ],
1872
- "stateMutability": "view"
1873
- },
1874
2100
  {
1875
2101
  "type": "event",
1876
- "name": "EIP712DomainChanged",
1877
- "inputs": [],
1878
- "anonymous": false
1879
- },
1880
- {
1881
- "type": "event",
1882
- "name": "L2BlockProposed",
2102
+ "name": "Deposit",
1883
2103
  "inputs": [
1884
2104
  {
1885
- "name": "blockNumber",
2105
+ "name": "attester",
2106
+ "type": "address",
2107
+ "indexed": true,
2108
+ "internalType": "address"
2109
+ },
2110
+ {
2111
+ "name": "proposer",
2112
+ "type": "address",
2113
+ "indexed": true,
2114
+ "internalType": "address"
2115
+ },
2116
+ {
2117
+ "name": "withdrawer",
2118
+ "type": "address",
2119
+ "indexed": true,
2120
+ "internalType": "address"
2121
+ },
2122
+ {
2123
+ "name": "amount",
2124
+ "type": "uint256",
2125
+ "indexed": false,
2126
+ "internalType": "uint256"
2127
+ }
2128
+ ],
2129
+ "anonymous": false
2130
+ },
2131
+ {
2132
+ "type": "event",
2133
+ "name": "EIP712DomainChanged",
2134
+ "inputs": [],
2135
+ "anonymous": false
2136
+ },
2137
+ {
2138
+ "type": "event",
2139
+ "name": "L2BlockProposed",
2140
+ "inputs": [
2141
+ {
2142
+ "name": "blockNumber",
1886
2143
  "type": "uint256",
1887
2144
  "indexed": true,
1888
2145
  "internalType": "uint256"
@@ -1991,85 +2248,106 @@ export const RollupAbi = [
1991
2248
  "anonymous": false
1992
2249
  },
1993
2250
  {
1994
- "type": "error",
1995
- "name": "HeaderLib__InvalidHeaderSize",
2251
+ "type": "event",
2252
+ "name": "Slashed",
1996
2253
  "inputs": [
1997
2254
  {
1998
- "name": "expected",
1999
- "type": "uint256",
2000
- "internalType": "uint256"
2255
+ "name": "attester",
2256
+ "type": "address",
2257
+ "indexed": true,
2258
+ "internalType": "address"
2001
2259
  },
2002
2260
  {
2003
- "name": "actual",
2261
+ "name": "amount",
2004
2262
  "type": "uint256",
2263
+ "indexed": false,
2005
2264
  "internalType": "uint256"
2006
2265
  }
2007
- ]
2266
+ ],
2267
+ "anonymous": false
2008
2268
  },
2009
2269
  {
2010
- "type": "error",
2011
- "name": "HeaderLib__InvalidSlotNumber",
2270
+ "type": "event",
2271
+ "name": "WithdrawFinalised",
2012
2272
  "inputs": [
2013
2273
  {
2014
- "name": "expected",
2015
- "type": "uint256",
2016
- "internalType": "Slot"
2274
+ "name": "attester",
2275
+ "type": "address",
2276
+ "indexed": true,
2277
+ "internalType": "address"
2017
2278
  },
2018
2279
  {
2019
- "name": "actual",
2280
+ "name": "recipient",
2281
+ "type": "address",
2282
+ "indexed": true,
2283
+ "internalType": "address"
2284
+ },
2285
+ {
2286
+ "name": "amount",
2020
2287
  "type": "uint256",
2021
- "internalType": "Slot"
2288
+ "indexed": false,
2289
+ "internalType": "uint256"
2022
2290
  }
2023
- ]
2024
- },
2025
- {
2026
- "type": "error",
2027
- "name": "InvalidShortString",
2028
- "inputs": []
2291
+ ],
2292
+ "anonymous": false
2029
2293
  },
2030
2294
  {
2031
- "type": "error",
2032
- "name": "Leonidas__InsufficientAttestations",
2295
+ "type": "event",
2296
+ "name": "WithdrawInitiated",
2033
2297
  "inputs": [
2034
2298
  {
2035
- "name": "minimumNeeded",
2036
- "type": "uint256",
2037
- "internalType": "uint256"
2299
+ "name": "attester",
2300
+ "type": "address",
2301
+ "indexed": true,
2302
+ "internalType": "address"
2303
+ },
2304
+ {
2305
+ "name": "recipient",
2306
+ "type": "address",
2307
+ "indexed": true,
2308
+ "internalType": "address"
2038
2309
  },
2039
2310
  {
2040
- "name": "provided",
2311
+ "name": "amount",
2041
2312
  "type": "uint256",
2313
+ "indexed": false,
2042
2314
  "internalType": "uint256"
2043
2315
  }
2044
- ]
2316
+ ],
2317
+ "anonymous": false
2045
2318
  },
2046
2319
  {
2047
2320
  "type": "error",
2048
- "name": "Leonidas__InsufficientAttestationsProvided",
2321
+ "name": "HeaderLib__InvalidSlotNumber",
2049
2322
  "inputs": [
2050
2323
  {
2051
- "name": "minimumNeeded",
2324
+ "name": "expected",
2052
2325
  "type": "uint256",
2053
- "internalType": "uint256"
2326
+ "internalType": "Slot"
2054
2327
  },
2055
2328
  {
2056
- "name": "provided",
2329
+ "name": "actual",
2057
2330
  "type": "uint256",
2058
- "internalType": "uint256"
2331
+ "internalType": "Slot"
2059
2332
  }
2060
2333
  ]
2061
2334
  },
2062
2335
  {
2063
2336
  "type": "error",
2064
- "name": "Leonidas__InvalidProposer",
2337
+ "name": "InvalidShortString",
2338
+ "inputs": []
2339
+ },
2340
+ {
2341
+ "type": "error",
2342
+ "name": "Leonidas__InvalidDeposit",
2065
2343
  "inputs": [
2066
2344
  {
2067
- "name": "expected",
2345
+ "name": "attester",
2068
2346
  "type": "address",
2069
2347
  "internalType": "address"
2070
2348
  },
2071
2349
  {
2072
- "name": "actual",
2350
+ "name": "proposer",
2073
2351
  "type": "address",
2074
2352
  "internalType": "address"
2075
2353
  }
@@ -2097,38 +2375,6 @@ export const RollupAbi = [
2097
2375
  }
2098
2376
  ]
2099
2377
  },
2100
- {
2101
- "type": "error",
2102
- "name": "Rollup__InsufficientBondAmount",
2103
- "inputs": [
2104
- {
2105
- "name": "minimum",
2106
- "type": "uint256",
2107
- "internalType": "uint256"
2108
- },
2109
- {
2110
- "name": "provided",
2111
- "type": "uint256",
2112
- "internalType": "uint256"
2113
- }
2114
- ]
2115
- },
2116
- {
2117
- "type": "error",
2118
- "name": "Rollup__InsufficientFundsInEscrow",
2119
- "inputs": [
2120
- {
2121
- "name": "required",
2122
- "type": "uint256",
2123
- "internalType": "uint256"
2124
- },
2125
- {
2126
- "name": "available",
2127
- "type": "uint256",
2128
- "internalType": "uint256"
2129
- }
2130
- ]
2131
- },
2132
2378
  {
2133
2379
  "type": "error",
2134
2380
  "name": "Rollup__InvalidArchive",
@@ -2145,33 +2391,6 @@ export const RollupAbi = [
2145
2391
  }
2146
2392
  ]
2147
2393
  },
2148
- {
2149
- "type": "error",
2150
- "name": "Rollup__InvalidBasisPointFee",
2151
- "inputs": [
2152
- {
2153
- "name": "basisPointFee",
2154
- "type": "uint256",
2155
- "internalType": "uint256"
2156
- }
2157
- ]
2158
- },
2159
- {
2160
- "type": "error",
2161
- "name": "Rollup__InvalidBlockHash",
2162
- "inputs": [
2163
- {
2164
- "name": "expected",
2165
- "type": "bytes32",
2166
- "internalType": "bytes32"
2167
- },
2168
- {
2169
- "name": "actual",
2170
- "type": "bytes32",
2171
- "internalType": "bytes32"
2172
- }
2173
- ]
2174
- },
2175
2394
  {
2176
2395
  "type": "error",
2177
2396
  "name": "Rollup__InvalidBlockNumber",
@@ -2188,22 +2407,6 @@ export const RollupAbi = [
2188
2407
  }
2189
2408
  ]
2190
2409
  },
2191
- {
2192
- "type": "error",
2193
- "name": "Rollup__InvalidChainId",
2194
- "inputs": [
2195
- {
2196
- "name": "expected",
2197
- "type": "uint256",
2198
- "internalType": "uint256"
2199
- },
2200
- {
2201
- "name": "actual",
2202
- "type": "uint256",
2203
- "internalType": "uint256"
2204
- }
2205
- ]
2206
- },
2207
2410
  {
2208
2411
  "type": "error",
2209
2412
  "name": "Rollup__InvalidEpoch",
@@ -2238,131 +2441,101 @@ export const RollupAbi = [
2238
2441
  },
2239
2442
  {
2240
2443
  "type": "error",
2241
- "name": "Rollup__InvalidManaBaseFee",
2444
+ "name": "Rollup__NoEpochToProve",
2445
+ "inputs": []
2446
+ },
2447
+ {
2448
+ "type": "error",
2449
+ "name": "Rollup__NothingToPrune",
2450
+ "inputs": []
2451
+ },
2452
+ {
2453
+ "type": "error",
2454
+ "name": "Rollup__ProofRightAlreadyClaimed",
2455
+ "inputs": []
2456
+ },
2457
+ {
2458
+ "type": "error",
2459
+ "name": "Rollup__SlotAlreadyInChain",
2242
2460
  "inputs": [
2243
2461
  {
2244
- "name": "expected",
2462
+ "name": "lastSlot",
2245
2463
  "type": "uint256",
2246
- "internalType": "uint256"
2464
+ "internalType": "Slot"
2247
2465
  },
2248
2466
  {
2249
- "name": "actual",
2467
+ "name": "proposedSlot",
2250
2468
  "type": "uint256",
2251
- "internalType": "uint256"
2469
+ "internalType": "Slot"
2252
2470
  }
2253
2471
  ]
2254
2472
  },
2255
2473
  {
2256
2474
  "type": "error",
2257
- "name": "Rollup__InvalidPreviousArchive",
2475
+ "name": "SafeCastOverflowedIntToUint",
2258
2476
  "inputs": [
2259
2477
  {
2260
- "name": "expected",
2261
- "type": "bytes32",
2262
- "internalType": "bytes32"
2263
- },
2264
- {
2265
- "name": "actual",
2266
- "type": "bytes32",
2267
- "internalType": "bytes32"
2478
+ "name": "value",
2479
+ "type": "int256",
2480
+ "internalType": "int256"
2268
2481
  }
2269
2482
  ]
2270
2483
  },
2271
2484
  {
2272
2485
  "type": "error",
2273
- "name": "Rollup__InvalidPreviousBlockHash",
2486
+ "name": "Staking__AlreadyActive",
2274
2487
  "inputs": [
2275
2488
  {
2276
- "name": "expected",
2277
- "type": "bytes32",
2278
- "internalType": "bytes32"
2279
- },
2280
- {
2281
- "name": "actual",
2282
- "type": "bytes32",
2283
- "internalType": "bytes32"
2489
+ "name": "attester",
2490
+ "type": "address",
2491
+ "internalType": "address"
2284
2492
  }
2285
2493
  ]
2286
2494
  },
2287
2495
  {
2288
2496
  "type": "error",
2289
- "name": "Rollup__InvalidProof",
2290
- "inputs": []
2291
- },
2292
- {
2293
- "type": "error",
2294
- "name": "Rollup__InvalidTimestamp",
2497
+ "name": "Staking__AlreadyRegistered",
2295
2498
  "inputs": [
2296
2499
  {
2297
- "name": "expected",
2298
- "type": "uint256",
2299
- "internalType": "Timestamp"
2300
- },
2301
- {
2302
- "name": "actual",
2303
- "type": "uint256",
2304
- "internalType": "Timestamp"
2500
+ "name": "",
2501
+ "type": "address",
2502
+ "internalType": "address"
2305
2503
  }
2306
2504
  ]
2307
2505
  },
2308
2506
  {
2309
2507
  "type": "error",
2310
- "name": "Rollup__InvalidVersion",
2508
+ "name": "Staking__CannotSlashExitedStake",
2311
2509
  "inputs": [
2312
2510
  {
2313
- "name": "expected",
2314
- "type": "uint256",
2315
- "internalType": "uint256"
2316
- },
2317
- {
2318
- "name": "actual",
2319
- "type": "uint256",
2320
- "internalType": "uint256"
2511
+ "name": "",
2512
+ "type": "address",
2513
+ "internalType": "address"
2321
2514
  }
2322
2515
  ]
2323
2516
  },
2324
2517
  {
2325
2518
  "type": "error",
2326
- "name": "Rollup__NoEpochToProve",
2327
- "inputs": []
2328
- },
2329
- {
2330
- "type": "error",
2331
- "name": "Rollup__NonZeroDaFee",
2332
- "inputs": []
2333
- },
2334
- {
2335
- "type": "error",
2336
- "name": "Rollup__NonZeroL2Fee",
2337
- "inputs": []
2338
- },
2339
- {
2340
- "type": "error",
2341
- "name": "Rollup__NotClaimingCorrectEpoch",
2519
+ "name": "Staking__FailedToRemove",
2342
2520
  "inputs": [
2343
2521
  {
2344
- "name": "expected",
2345
- "type": "uint256",
2346
- "internalType": "Epoch"
2347
- },
2348
- {
2349
- "name": "actual",
2350
- "type": "uint256",
2351
- "internalType": "Epoch"
2522
+ "name": "",
2523
+ "type": "address",
2524
+ "internalType": "address"
2352
2525
  }
2353
2526
  ]
2354
2527
  },
2355
2528
  {
2356
2529
  "type": "error",
2357
- "name": "Rollup__NotInClaimPhase",
2530
+ "name": "Staking__InsufficientStake",
2358
2531
  "inputs": [
2359
2532
  {
2360
- "name": "currentSlotInEpoch",
2533
+ "name": "",
2361
2534
  "type": "uint256",
2362
2535
  "internalType": "uint256"
2363
2536
  },
2364
2537
  {
2365
- "name": "claimDuration",
2538
+ "name": "",
2366
2539
  "type": "uint256",
2367
2540
  "internalType": "uint256"
2368
2541
  }
@@ -2370,90 +2543,64 @@ export const RollupAbi = [
2370
2543
  },
2371
2544
  {
2372
2545
  "type": "error",
2373
- "name": "Rollup__NothingToPrune",
2374
- "inputs": []
2375
- },
2376
- {
2377
- "type": "error",
2378
- "name": "Rollup__ProofRightAlreadyClaimed",
2379
- "inputs": []
2380
- },
2381
- {
2382
- "type": "error",
2383
- "name": "Rollup__QuoteExpired",
2546
+ "name": "Staking__NoOneToSlash",
2384
2547
  "inputs": [
2385
2548
  {
2386
- "name": "currentSlot",
2387
- "type": "uint256",
2388
- "internalType": "Slot"
2389
- },
2390
- {
2391
- "name": "quoteSlot",
2392
- "type": "uint256",
2393
- "internalType": "Slot"
2549
+ "name": "",
2550
+ "type": "address",
2551
+ "internalType": "address"
2394
2552
  }
2395
2553
  ]
2396
2554
  },
2397
2555
  {
2398
2556
  "type": "error",
2399
- "name": "Rollup__SlotAlreadyInChain",
2557
+ "name": "Staking__NotExiting",
2400
2558
  "inputs": [
2401
2559
  {
2402
- "name": "lastSlot",
2403
- "type": "uint256",
2404
- "internalType": "Slot"
2405
- },
2406
- {
2407
- "name": "proposedSlot",
2408
- "type": "uint256",
2409
- "internalType": "Slot"
2560
+ "name": "",
2561
+ "type": "address",
2562
+ "internalType": "address"
2410
2563
  }
2411
2564
  ]
2412
2565
  },
2413
2566
  {
2414
2567
  "type": "error",
2415
- "name": "Rollup__TimestampInFuture",
2568
+ "name": "Staking__NotSlasher",
2416
2569
  "inputs": [
2417
2570
  {
2418
- "name": "max",
2419
- "type": "uint256",
2420
- "internalType": "Timestamp"
2571
+ "name": "",
2572
+ "type": "address",
2573
+ "internalType": "address"
2421
2574
  },
2422
2575
  {
2423
- "name": "actual",
2424
- "type": "uint256",
2425
- "internalType": "Timestamp"
2576
+ "name": "",
2577
+ "type": "address",
2578
+ "internalType": "address"
2426
2579
  }
2427
2580
  ]
2428
2581
  },
2429
2582
  {
2430
2583
  "type": "error",
2431
- "name": "Rollup__UnavailableTxs",
2584
+ "name": "Staking__NotWithdrawer",
2432
2585
  "inputs": [
2433
2586
  {
2434
- "name": "txsHash",
2435
- "type": "bytes32",
2436
- "internalType": "bytes32"
2437
- }
2438
- ]
2439
- },
2440
- {
2441
- "type": "error",
2442
- "name": "SafeCastOverflowedIntToUint",
2443
- "inputs": [
2587
+ "name": "",
2588
+ "type": "address",
2589
+ "internalType": "address"
2590
+ },
2444
2591
  {
2445
- "name": "value",
2446
- "type": "int256",
2447
- "internalType": "int256"
2592
+ "name": "",
2593
+ "type": "address",
2594
+ "internalType": "address"
2448
2595
  }
2449
2596
  ]
2450
2597
  },
2451
2598
  {
2452
2599
  "type": "error",
2453
- "name": "SafeERC20FailedOperation",
2600
+ "name": "Staking__NothingToExit",
2454
2601
  "inputs": [
2455
2602
  {
2456
- "name": "token",
2603
+ "name": "",
2457
2604
  "type": "address",
2458
2605
  "internalType": "address"
2459
2606
  }
@@ -2461,22 +2608,17 @@ export const RollupAbi = [
2461
2608
  },
2462
2609
  {
2463
2610
  "type": "error",
2464
- "name": "SignatureLib__CannotVerifyEmpty",
2465
- "inputs": []
2466
- },
2467
- {
2468
- "type": "error",
2469
- "name": "SignatureLib__InvalidSignature",
2611
+ "name": "Staking__WithdrawalNotUnlockedYet",
2470
2612
  "inputs": [
2471
2613
  {
2472
- "name": "expected",
2473
- "type": "address",
2474
- "internalType": "address"
2614
+ "name": "",
2615
+ "type": "uint256",
2616
+ "internalType": "Timestamp"
2475
2617
  },
2476
2618
  {
2477
- "name": "recovered",
2478
- "type": "address",
2479
- "internalType": "address"
2619
+ "name": "",
2620
+ "type": "uint256",
2621
+ "internalType": "Timestamp"
2480
2622
  }
2481
2623
  ]
2482
2624
  },