@aztec/l1-artifacts 0.55.1 → 0.56.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.
@@ -33,6 +33,19 @@ export const RollupAbi = [
33
33
  ],
34
34
  "stateMutability": "nonpayable"
35
35
  },
36
+ {
37
+ "type": "function",
38
+ "name": "CLAIM_DURATION_IN_L2_SLOTS",
39
+ "inputs": [],
40
+ "outputs": [
41
+ {
42
+ "name": "",
43
+ "type": "uint256",
44
+ "internalType": "uint256"
45
+ }
46
+ ],
47
+ "stateMutability": "view"
48
+ },
36
49
  {
37
50
  "type": "function",
38
51
  "name": "EPOCH_DURATION",
@@ -113,20 +126,20 @@ export const RollupAbi = [
113
126
  },
114
127
  {
115
128
  "type": "function",
116
- "name": "REGISTRY",
129
+ "name": "PROOF_COMMITMENT_ESCROW",
117
130
  "inputs": [],
118
131
  "outputs": [
119
132
  {
120
133
  "name": "",
121
134
  "type": "address",
122
- "internalType": "contract IRegistry"
135
+ "internalType": "contract IProofCommitmentEscrow"
123
136
  }
124
137
  ],
125
138
  "stateMutability": "view"
126
139
  },
127
140
  {
128
141
  "type": "function",
129
- "name": "SLOT_DURATION",
142
+ "name": "PROOF_COMMITMENT_MIN_BOND_AMOUNT_IN_TST",
130
143
  "inputs": [],
131
144
  "outputs": [
132
145
  {
@@ -139,7 +152,20 @@ export const RollupAbi = [
139
152
  },
140
153
  {
141
154
  "type": "function",
142
- "name": "TARGET_COMMITTEE_SIZE",
155
+ "name": "REGISTRY",
156
+ "inputs": [],
157
+ "outputs": [
158
+ {
159
+ "name": "",
160
+ "type": "address",
161
+ "internalType": "contract IRegistry"
162
+ }
163
+ ],
164
+ "stateMutability": "view"
165
+ },
166
+ {
167
+ "type": "function",
168
+ "name": "SLOT_DURATION",
143
169
  "inputs": [],
144
170
  "outputs": [
145
171
  {
@@ -152,7 +178,7 @@ export const RollupAbi = [
152
178
  },
153
179
  {
154
180
  "type": "function",
155
- "name": "TIMELINESS_PROVING_IN_SLOTS",
181
+ "name": "TARGET_COMMITTEE_SIZE",
156
182
  "inputs": [],
157
183
  "outputs": [
158
184
  {
@@ -279,6 +305,73 @@ export const RollupAbi = [
279
305
  ],
280
306
  "stateMutability": "view"
281
307
  },
308
+ {
309
+ "type": "function",
310
+ "name": "claimEpochProofRight",
311
+ "inputs": [
312
+ {
313
+ "name": "_quote",
314
+ "type": "tuple",
315
+ "internalType": "struct DataStructures.EpochProofQuote",
316
+ "components": [
317
+ {
318
+ "name": "signature",
319
+ "type": "tuple",
320
+ "internalType": "struct SignatureLib.Signature",
321
+ "components": [
322
+ {
323
+ "name": "isEmpty",
324
+ "type": "bool",
325
+ "internalType": "bool"
326
+ },
327
+ {
328
+ "name": "v",
329
+ "type": "uint8",
330
+ "internalType": "uint8"
331
+ },
332
+ {
333
+ "name": "r",
334
+ "type": "bytes32",
335
+ "internalType": "bytes32"
336
+ },
337
+ {
338
+ "name": "s",
339
+ "type": "bytes32",
340
+ "internalType": "bytes32"
341
+ }
342
+ ]
343
+ },
344
+ {
345
+ "name": "epochToProve",
346
+ "type": "uint256",
347
+ "internalType": "uint256"
348
+ },
349
+ {
350
+ "name": "validUntilSlot",
351
+ "type": "uint256",
352
+ "internalType": "uint256"
353
+ },
354
+ {
355
+ "name": "bondAmount",
356
+ "type": "uint256",
357
+ "internalType": "uint256"
358
+ },
359
+ {
360
+ "name": "prover",
361
+ "type": "address",
362
+ "internalType": "address"
363
+ },
364
+ {
365
+ "name": "basisPointFee",
366
+ "type": "uint32",
367
+ "internalType": "uint32"
368
+ }
369
+ ]
370
+ }
371
+ ],
372
+ "outputs": [],
373
+ "stateMutability": "nonpayable"
374
+ },
282
375
  {
283
376
  "type": "function",
284
377
  "name": "computeTxsEffectsHash",
@@ -412,6 +505,32 @@ export const RollupAbi = [
412
505
  ],
413
506
  "stateMutability": "view"
414
507
  },
508
+ {
509
+ "type": "function",
510
+ "name": "getEpochToProve",
511
+ "inputs": [],
512
+ "outputs": [
513
+ {
514
+ "name": "",
515
+ "type": "uint256",
516
+ "internalType": "uint256"
517
+ }
518
+ ],
519
+ "stateMutability": "view"
520
+ },
521
+ {
522
+ "type": "function",
523
+ "name": "getPendingBlockNumber",
524
+ "inputs": [],
525
+ "outputs": [
526
+ {
527
+ "name": "",
528
+ "type": "uint256",
529
+ "internalType": "uint256"
530
+ }
531
+ ],
532
+ "stateMutability": "view"
533
+ },
415
534
  {
416
535
  "type": "function",
417
536
  "name": "getProposerAt",
@@ -431,6 +550,19 @@ export const RollupAbi = [
431
550
  ],
432
551
  "stateMutability": "view"
433
552
  },
553
+ {
554
+ "type": "function",
555
+ "name": "getProvenBlockNumber",
556
+ "inputs": [],
557
+ "outputs": [
558
+ {
559
+ "name": "",
560
+ "type": "uint256",
561
+ "internalType": "uint256"
562
+ }
563
+ ],
564
+ "stateMutability": "view"
565
+ },
434
566
  {
435
567
  "type": "function",
436
568
  "name": "getSlotAt",
@@ -548,13 +680,33 @@ export const RollupAbi = [
548
680
  },
549
681
  {
550
682
  "type": "function",
551
- "name": "pendingBlockCount",
683
+ "name": "proofClaim",
552
684
  "inputs": [],
553
685
  "outputs": [
554
686
  {
555
- "name": "",
687
+ "name": "epochToProve",
688
+ "type": "uint256",
689
+ "internalType": "uint256"
690
+ },
691
+ {
692
+ "name": "basisPointFee",
693
+ "type": "uint256",
694
+ "internalType": "uint256"
695
+ },
696
+ {
697
+ "name": "bondAmount",
556
698
  "type": "uint256",
557
699
  "internalType": "uint256"
700
+ },
701
+ {
702
+ "name": "bondProvider",
703
+ "type": "address",
704
+ "internalType": "address"
705
+ },
706
+ {
707
+ "name": "proposerClaimant",
708
+ "type": "address",
709
+ "internalType": "address"
558
710
  }
559
711
  ],
560
712
  "stateMutability": "view"
@@ -619,19 +771,6 @@ export const RollupAbi = [
619
771
  "outputs": [],
620
772
  "stateMutability": "nonpayable"
621
773
  },
622
- {
623
- "type": "function",
624
- "name": "provenBlockCount",
625
- "inputs": [],
626
- "outputs": [
627
- {
628
- "name": "",
629
- "type": "uint256",
630
- "internalType": "uint256"
631
- }
632
- ],
633
- "stateMutability": "view"
634
- },
635
774
  {
636
775
  "type": "function",
637
776
  "name": "prune",
@@ -661,7 +800,7 @@ export const RollupAbi = [
661
800
  },
662
801
  {
663
802
  "type": "function",
664
- "name": "setAssumeProvenUntilBlockNumber",
803
+ "name": "setAssumeProvenThroughBlockNumber",
665
804
  "inputs": [
666
805
  {
667
806
  "name": "blockNumber",
@@ -705,6 +844,45 @@ export const RollupAbi = [
705
844
  "outputs": [],
706
845
  "stateMutability": "nonpayable"
707
846
  },
847
+ {
848
+ "type": "function",
849
+ "name": "status",
850
+ "inputs": [
851
+ {
852
+ "name": "myHeaderBlockNumber",
853
+ "type": "uint256",
854
+ "internalType": "uint256"
855
+ }
856
+ ],
857
+ "outputs": [
858
+ {
859
+ "name": "provenBlockNumber",
860
+ "type": "uint256",
861
+ "internalType": "uint256"
862
+ },
863
+ {
864
+ "name": "provenArchive",
865
+ "type": "bytes32",
866
+ "internalType": "bytes32"
867
+ },
868
+ {
869
+ "name": "pendingBlockNumber",
870
+ "type": "uint256",
871
+ "internalType": "uint256"
872
+ },
873
+ {
874
+ "name": "pendingArchive",
875
+ "type": "bytes32",
876
+ "internalType": "bytes32"
877
+ },
878
+ {
879
+ "name": "archiveOfMyBlock",
880
+ "type": "bytes32",
881
+ "internalType": "bytes32"
882
+ }
883
+ ],
884
+ "stateMutability": "view"
885
+ },
708
886
  {
709
887
  "type": "function",
710
888
  "name": "submitBlockRootProof",
@@ -738,6 +916,24 @@ export const RollupAbi = [
738
916
  "outputs": [],
739
917
  "stateMutability": "nonpayable"
740
918
  },
919
+ {
920
+ "type": "function",
921
+ "name": "tips",
922
+ "inputs": [],
923
+ "outputs": [
924
+ {
925
+ "name": "pendingBlockNumber",
926
+ "type": "uint256",
927
+ "internalType": "uint256"
928
+ },
929
+ {
930
+ "name": "provenBlockNumber",
931
+ "type": "uint256",
932
+ "internalType": "uint256"
933
+ }
934
+ ],
935
+ "stateMutability": "view"
936
+ },
741
937
  {
742
938
  "type": "function",
743
939
  "name": "transferOwnership",
@@ -858,6 +1054,12 @@ export const RollupAbi = [
858
1054
  "type": "uint256",
859
1055
  "indexed": true,
860
1056
  "internalType": "uint256"
1057
+ },
1058
+ {
1059
+ "name": "archive",
1060
+ "type": "bytes32",
1061
+ "indexed": true,
1062
+ "internalType": "bytes32"
861
1063
  }
862
1064
  ],
863
1065
  "anonymous": false
@@ -900,18 +1102,55 @@ export const RollupAbi = [
900
1102
  ],
901
1103
  "anonymous": false
902
1104
  },
1105
+ {
1106
+ "type": "event",
1107
+ "name": "ProofRightClaimed",
1108
+ "inputs": [
1109
+ {
1110
+ "name": "epoch",
1111
+ "type": "uint256",
1112
+ "indexed": true,
1113
+ "internalType": "uint256"
1114
+ },
1115
+ {
1116
+ "name": "bondProvider",
1117
+ "type": "address",
1118
+ "indexed": true,
1119
+ "internalType": "address"
1120
+ },
1121
+ {
1122
+ "name": "proposer",
1123
+ "type": "address",
1124
+ "indexed": true,
1125
+ "internalType": "address"
1126
+ },
1127
+ {
1128
+ "name": "bondAmount",
1129
+ "type": "uint256",
1130
+ "indexed": false,
1131
+ "internalType": "uint256"
1132
+ },
1133
+ {
1134
+ "name": "currentSlot",
1135
+ "type": "uint256",
1136
+ "indexed": false,
1137
+ "internalType": "uint256"
1138
+ }
1139
+ ],
1140
+ "anonymous": false
1141
+ },
903
1142
  {
904
1143
  "type": "event",
905
1144
  "name": "PrunedPending",
906
1145
  "inputs": [
907
1146
  {
908
- "name": "provenBlockCount",
1147
+ "name": "provenBlockNumber",
909
1148
  "type": "uint256",
910
1149
  "indexed": false,
911
1150
  "internalType": "uint256"
912
1151
  },
913
1152
  {
914
- "name": "pendingBlockCount",
1153
+ "name": "pendingBlockNumber",
915
1154
  "type": "uint256",
916
1155
  "indexed": false,
917
1156
  "internalType": "uint256"
@@ -1021,6 +1260,22 @@ export const RollupAbi = [
1021
1260
  }
1022
1261
  ]
1023
1262
  },
1263
+ {
1264
+ "type": "error",
1265
+ "name": "Rollup__InsufficientBondAmount",
1266
+ "inputs": [
1267
+ {
1268
+ "name": "minimum",
1269
+ "type": "uint256",
1270
+ "internalType": "uint256"
1271
+ },
1272
+ {
1273
+ "name": "provided",
1274
+ "type": "uint256",
1275
+ "internalType": "uint256"
1276
+ }
1277
+ ]
1278
+ },
1024
1279
  {
1025
1280
  "type": "error",
1026
1281
  "name": "Rollup__InvalidArchive",
@@ -1154,6 +1409,11 @@ export const RollupAbi = [
1154
1409
  }
1155
1410
  ]
1156
1411
  },
1412
+ {
1413
+ "type": "error",
1414
+ "name": "Rollup__NoEpochToProve",
1415
+ "inputs": []
1416
+ },
1157
1417
  {
1158
1418
  "type": "error",
1159
1419
  "name": "Rollup__NonSequentialProving",
@@ -1161,15 +1421,31 @@ export const RollupAbi = [
1161
1421
  },
1162
1422
  {
1163
1423
  "type": "error",
1164
- "name": "Rollup__NotReadyToPrune",
1424
+ "name": "Rollup__NotClaimingCorrectEpoch",
1165
1425
  "inputs": [
1166
1426
  {
1167
- "name": "currentSlot",
1427
+ "name": "expected",
1168
1428
  "type": "uint256",
1169
1429
  "internalType": "uint256"
1170
1430
  },
1171
1431
  {
1172
- "name": "prunableAt",
1432
+ "name": "actual",
1433
+ "type": "uint256",
1434
+ "internalType": "uint256"
1435
+ }
1436
+ ]
1437
+ },
1438
+ {
1439
+ "type": "error",
1440
+ "name": "Rollup__NotInClaimPhase",
1441
+ "inputs": [
1442
+ {
1443
+ "name": "currentSlotInEpoch",
1444
+ "type": "uint256",
1445
+ "internalType": "uint256"
1446
+ },
1447
+ {
1448
+ "name": "claimDuration",
1173
1449
  "type": "uint256",
1174
1450
  "internalType": "uint256"
1175
1451
  }
@@ -1180,6 +1456,27 @@ export const RollupAbi = [
1180
1456
  "name": "Rollup__NothingToPrune",
1181
1457
  "inputs": []
1182
1458
  },
1459
+ {
1460
+ "type": "error",
1461
+ "name": "Rollup__ProofRightAlreadyClaimed",
1462
+ "inputs": []
1463
+ },
1464
+ {
1465
+ "type": "error",
1466
+ "name": "Rollup__QuoteExpired",
1467
+ "inputs": [
1468
+ {
1469
+ "name": "currentSlot",
1470
+ "type": "uint256",
1471
+ "internalType": "uint256"
1472
+ },
1473
+ {
1474
+ "name": "quoteSlot",
1475
+ "type": "uint256",
1476
+ "internalType": "uint256"
1477
+ }
1478
+ ]
1479
+ },
1183
1480
  {
1184
1481
  "type": "error",
1185
1482
  "name": "Rollup__SlotAlreadyInChain",