@aztec/l1-artifacts 0.56.0 → 0.58.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 (88) hide show
  1. package/dest/FeeJuicePortalAbi.d.ts +14 -14
  2. package/dest/FeeJuicePortalAbi.d.ts.map +1 -1
  3. package/dest/FeeJuicePortalAbi.js +18 -19
  4. package/dest/FeeJuicePortalBytecode.d.ts +1 -1
  5. package/dest/FeeJuicePortalBytecode.d.ts.map +1 -1
  6. package/dest/FeeJuicePortalBytecode.js +2 -2
  7. package/dest/IProofCommitmentEscrowAbi.d.ts +181 -0
  8. package/dest/IProofCommitmentEscrowAbi.d.ts.map +1 -0
  9. package/dest/IProofCommitmentEscrowAbi.js +232 -0
  10. package/dest/IProofCommitmentEscrowBytecode.d.ts +5 -0
  11. package/dest/IProofCommitmentEscrowBytecode.d.ts.map +1 -0
  12. package/dest/IProofCommitmentEscrowBytecode.js +5 -0
  13. package/dest/IVerifierAbi.d.ts +23 -0
  14. package/dest/IVerifierAbi.d.ts.map +1 -0
  15. package/dest/IVerifierAbi.js +30 -0
  16. package/dest/IVerifierBytecode.d.ts +5 -0
  17. package/dest/IVerifierBytecode.d.ts.map +1 -0
  18. package/dest/IVerifierBytecode.js +5 -0
  19. package/dest/InboxAbi.d.ts +11 -1
  20. package/dest/InboxAbi.d.ts.map +1 -1
  21. package/dest/InboxAbi.js +15 -2
  22. package/dest/InboxBytecode.d.ts +1 -1
  23. package/dest/InboxBytecode.d.ts.map +1 -1
  24. package/dest/InboxBytecode.js +2 -2
  25. package/dest/MockVerifierBytecode.d.ts +1 -1
  26. package/dest/MockVerifierBytecode.d.ts.map +1 -1
  27. package/dest/MockVerifierBytecode.js +2 -2
  28. package/dest/OutboxBytecode.d.ts +1 -1
  29. package/dest/OutboxBytecode.d.ts.map +1 -1
  30. package/dest/OutboxBytecode.js +2 -2
  31. package/dest/ProofCommitmentEscrowAbi.d.ts +291 -0
  32. package/dest/ProofCommitmentEscrowAbi.d.ts.map +1 -0
  33. package/dest/ProofCommitmentEscrowAbi.js +379 -0
  34. package/dest/ProofCommitmentEscrowBytecode.d.ts +5 -0
  35. package/dest/ProofCommitmentEscrowBytecode.d.ts.map +1 -0
  36. package/dest/ProofCommitmentEscrowBytecode.js +5 -0
  37. package/dest/RegistryAbi.d.ts +16 -1
  38. package/dest/RegistryAbi.d.ts.map +1 -1
  39. package/dest/RegistryAbi.js +21 -2
  40. package/dest/RegistryBytecode.d.ts +1 -1
  41. package/dest/RegistryBytecode.d.ts.map +1 -1
  42. package/dest/RegistryBytecode.js +2 -2
  43. package/dest/RollupAbi.d.ts +465 -123
  44. package/dest/RollupAbi.d.ts.map +1 -1
  45. package/dest/RollupAbi.js +618 -173
  46. package/dest/RollupBytecode.d.ts +1 -1
  47. package/dest/RollupBytecode.d.ts.map +1 -1
  48. package/dest/RollupBytecode.js +2 -2
  49. package/dest/{PortalERC20Abi.d.ts → TestERC20Abi.d.ts} +3 -3
  50. package/dest/{PortalERC20Abi.d.ts.map → TestERC20Abi.d.ts.map} +1 -1
  51. package/dest/{PortalERC20Abi.js → TestERC20Abi.js} +3 -3
  52. package/{generated/PortalERC20Bytecode.ts → dest/TestERC20Bytecode.d.ts} +3 -2
  53. package/dest/TestERC20Bytecode.d.ts.map +1 -0
  54. package/dest/TestERC20Bytecode.js +5 -0
  55. package/dest/TokenPortalBytecode.d.ts +1 -1
  56. package/dest/TokenPortalBytecode.d.ts.map +1 -1
  57. package/dest/TokenPortalBytecode.js +2 -2
  58. package/dest/UniswapPortalBytecode.d.ts +1 -1
  59. package/dest/UniswapPortalBytecode.d.ts.map +1 -1
  60. package/dest/UniswapPortalBytecode.js +2 -2
  61. package/dest/index.d.ts +8 -2
  62. package/dest/index.d.ts.map +1 -1
  63. package/dest/index.js +9 -3
  64. package/generated/FeeJuicePortalAbi.ts +17 -18
  65. package/generated/FeeJuicePortalBytecode.ts +1 -1
  66. package/generated/IProofCommitmentEscrowAbi.ts +231 -0
  67. package/generated/IProofCommitmentEscrowBytecode.ts +4 -0
  68. package/generated/IVerifierAbi.ts +29 -0
  69. package/generated/IVerifierBytecode.ts +4 -0
  70. package/generated/InboxAbi.ts +14 -1
  71. package/generated/InboxBytecode.ts +1 -1
  72. package/generated/MockVerifierBytecode.ts +1 -1
  73. package/generated/OutboxBytecode.ts +1 -1
  74. package/generated/ProofCommitmentEscrowAbi.ts +378 -0
  75. package/generated/ProofCommitmentEscrowBytecode.ts +4 -0
  76. package/generated/RegistryAbi.ts +20 -1
  77. package/generated/RegistryBytecode.ts +1 -1
  78. package/generated/RollupAbi.ts +617 -172
  79. package/generated/RollupBytecode.ts +1 -1
  80. package/generated/{PortalERC20Abi.ts → TestERC20Abi.ts} +2 -2
  81. package/generated/TestERC20Bytecode.ts +4 -0
  82. package/generated/TokenPortalBytecode.ts +1 -1
  83. package/generated/UniswapPortalBytecode.ts +1 -1
  84. package/generated/index.ts +8 -2
  85. package/package.json +1 -1
  86. package/dest/PortalERC20Bytecode.d.ts +0 -5
  87. package/dest/PortalERC20Bytecode.d.ts.map +0 -1
  88. package/dest/PortalERC20Bytecode.js +0 -5
@@ -5,11 +5,6 @@ export const RollupAbi = [
5
5
  {
6
6
  "type": "constructor",
7
7
  "inputs": [
8
- {
9
- "name": "_registry",
10
- "type": "address",
11
- "internalType": "contract IRegistry"
12
- },
13
8
  {
14
9
  "name": "_fpcJuicePortal",
15
10
  "type": "address",
@@ -20,6 +15,11 @@ export const RollupAbi = [
20
15
  "type": "bytes32",
21
16
  "internalType": "bytes32"
22
17
  },
18
+ {
19
+ "name": "_protocolContractTreeRoot",
20
+ "type": "bytes32",
21
+ "internalType": "bytes32"
22
+ },
23
23
  {
24
24
  "name": "_ares",
25
25
  "type": "address",
@@ -80,7 +80,7 @@ export const RollupAbi = [
80
80
  {
81
81
  "name": "",
82
82
  "type": "uint256",
83
- "internalType": "uint256"
83
+ "internalType": "Timestamp"
84
84
  }
85
85
  ],
86
86
  "stateMutability": "view"
@@ -150,19 +150,6 @@ export const RollupAbi = [
150
150
  ],
151
151
  "stateMutability": "view"
152
152
  },
153
- {
154
- "type": "function",
155
- "name": "REGISTRY",
156
- "inputs": [],
157
- "outputs": [
158
- {
159
- "name": "",
160
- "type": "address",
161
- "internalType": "contract IRegistry"
162
- }
163
- ],
164
- "stateMutability": "view"
165
- },
166
153
  {
167
154
  "type": "function",
168
155
  "name": "SLOT_DURATION",
@@ -270,8 +257,8 @@ export const RollupAbi = [
270
257
  },
271
258
  {
272
259
  "name": "slotNumber",
273
- "type": "uint128",
274
- "internalType": "uint128"
260
+ "type": "uint256",
261
+ "internalType": "Slot"
275
262
  }
276
263
  ],
277
264
  "stateMutability": "view"
@@ -283,7 +270,7 @@ export const RollupAbi = [
283
270
  {
284
271
  "name": "_ts",
285
272
  "type": "uint256",
286
- "internalType": "uint256"
273
+ "internalType": "Timestamp"
287
274
  },
288
275
  {
289
276
  "name": "_archive",
@@ -295,7 +282,7 @@ export const RollupAbi = [
295
282
  {
296
283
  "name": "",
297
284
  "type": "uint256",
298
- "internalType": "uint256"
285
+ "internalType": "Slot"
299
286
  },
300
287
  {
301
288
  "name": "",
@@ -305,6 +292,19 @@ export const RollupAbi = [
305
292
  ],
306
293
  "stateMutability": "view"
307
294
  },
295
+ {
296
+ "type": "function",
297
+ "name": "canPrune",
298
+ "inputs": [],
299
+ "outputs": [
300
+ {
301
+ "name": "",
302
+ "type": "bool",
303
+ "internalType": "bool"
304
+ }
305
+ ],
306
+ "stateMutability": "view"
307
+ },
308
308
  {
309
309
  "type": "function",
310
310
  "name": "claimEpochProofRight",
@@ -312,8 +312,40 @@ export const RollupAbi = [
312
312
  {
313
313
  "name": "_quote",
314
314
  "type": "tuple",
315
- "internalType": "struct DataStructures.EpochProofQuote",
315
+ "internalType": "struct EpochProofQuoteLib.SignedEpochProofQuote",
316
316
  "components": [
317
+ {
318
+ "name": "quote",
319
+ "type": "tuple",
320
+ "internalType": "struct EpochProofQuoteLib.EpochProofQuote",
321
+ "components": [
322
+ {
323
+ "name": "epochToProve",
324
+ "type": "uint256",
325
+ "internalType": "Epoch"
326
+ },
327
+ {
328
+ "name": "validUntilSlot",
329
+ "type": "uint256",
330
+ "internalType": "Slot"
331
+ },
332
+ {
333
+ "name": "bondAmount",
334
+ "type": "uint256",
335
+ "internalType": "uint256"
336
+ },
337
+ {
338
+ "name": "prover",
339
+ "type": "address",
340
+ "internalType": "address"
341
+ },
342
+ {
343
+ "name": "basisPointFee",
344
+ "type": "uint32",
345
+ "internalType": "uint32"
346
+ }
347
+ ]
348
+ },
317
349
  {
318
350
  "name": "signature",
319
351
  "type": "tuple",
@@ -340,31 +372,6 @@ export const RollupAbi = [
340
372
  "internalType": "bytes32"
341
373
  }
342
374
  ]
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
375
  }
369
376
  ]
370
377
  }
@@ -391,14 +398,70 @@ export const RollupAbi = [
391
398
  ],
392
399
  "stateMutability": "pure"
393
400
  },
401
+ {
402
+ "type": "function",
403
+ "name": "eip712Domain",
404
+ "inputs": [],
405
+ "outputs": [
406
+ {
407
+ "name": "fields",
408
+ "type": "bytes1",
409
+ "internalType": "bytes1"
410
+ },
411
+ {
412
+ "name": "name",
413
+ "type": "string",
414
+ "internalType": "string"
415
+ },
416
+ {
417
+ "name": "version",
418
+ "type": "string",
419
+ "internalType": "string"
420
+ },
421
+ {
422
+ "name": "chainId",
423
+ "type": "uint256",
424
+ "internalType": "uint256"
425
+ },
426
+ {
427
+ "name": "verifyingContract",
428
+ "type": "address",
429
+ "internalType": "address"
430
+ },
431
+ {
432
+ "name": "salt",
433
+ "type": "bytes32",
434
+ "internalType": "bytes32"
435
+ },
436
+ {
437
+ "name": "extensions",
438
+ "type": "uint256[]",
439
+ "internalType": "uint256[]"
440
+ }
441
+ ],
442
+ "stateMutability": "view"
443
+ },
444
+ {
445
+ "type": "function",
446
+ "name": "epochProofVerifier",
447
+ "inputs": [],
448
+ "outputs": [
449
+ {
450
+ "name": "",
451
+ "type": "address",
452
+ "internalType": "contract IVerifier"
453
+ }
454
+ ],
455
+ "stateMutability": "view"
456
+ },
394
457
  {
395
458
  "type": "function",
396
459
  "name": "epochs",
397
460
  "inputs": [
398
461
  {
399
- "name": "epochNumber",
462
+ "name": "",
400
463
  "type": "uint256",
401
- "internalType": "uint256"
464
+ "internalType": "Epoch"
402
465
  }
403
466
  ],
404
467
  "outputs": [
@@ -423,7 +486,7 @@ export const RollupAbi = [
423
486
  {
424
487
  "name": "",
425
488
  "type": "uint256",
426
- "internalType": "uint256"
489
+ "internalType": "Epoch"
427
490
  }
428
491
  ],
429
492
  "stateMutability": "view"
@@ -462,7 +525,7 @@ export const RollupAbi = [
462
525
  {
463
526
  "name": "",
464
527
  "type": "uint256",
465
- "internalType": "uint256"
528
+ "internalType": "Slot"
466
529
  }
467
530
  ],
468
531
  "stateMutability": "view"
@@ -474,18 +537,37 @@ export const RollupAbi = [
474
537
  {
475
538
  "name": "_ts",
476
539
  "type": "uint256",
477
- "internalType": "uint256"
540
+ "internalType": "Timestamp"
478
541
  }
479
542
  ],
480
543
  "outputs": [
481
544
  {
482
545
  "name": "",
483
546
  "type": "uint256",
484
- "internalType": "uint256"
547
+ "internalType": "Epoch"
485
548
  }
486
549
  ],
487
550
  "stateMutability": "view"
488
551
  },
552
+ {
553
+ "type": "function",
554
+ "name": "getEpochAtSlot",
555
+ "inputs": [
556
+ {
557
+ "name": "_slotNumber",
558
+ "type": "uint256",
559
+ "internalType": "Slot"
560
+ }
561
+ ],
562
+ "outputs": [
563
+ {
564
+ "name": "",
565
+ "type": "uint256",
566
+ "internalType": "Epoch"
567
+ }
568
+ ],
569
+ "stateMutability": "pure"
570
+ },
489
571
  {
490
572
  "type": "function",
491
573
  "name": "getEpochCommittee",
@@ -493,7 +575,7 @@ export const RollupAbi = [
493
575
  {
494
576
  "name": "_epoch",
495
577
  "type": "uint256",
496
- "internalType": "uint256"
578
+ "internalType": "Epoch"
497
579
  }
498
580
  ],
499
581
  "outputs": [
@@ -505,6 +587,59 @@ export const RollupAbi = [
505
587
  ],
506
588
  "stateMutability": "view"
507
589
  },
590
+ {
591
+ "type": "function",
592
+ "name": "getEpochForBlock",
593
+ "inputs": [
594
+ {
595
+ "name": "blockNumber",
596
+ "type": "uint256",
597
+ "internalType": "uint256"
598
+ }
599
+ ],
600
+ "outputs": [
601
+ {
602
+ "name": "",
603
+ "type": "uint256",
604
+ "internalType": "Epoch"
605
+ }
606
+ ],
607
+ "stateMutability": "view"
608
+ },
609
+ {
610
+ "type": "function",
611
+ "name": "getEpochProofPublicInputs",
612
+ "inputs": [
613
+ {
614
+ "name": "_epochSize",
615
+ "type": "uint256",
616
+ "internalType": "uint256"
617
+ },
618
+ {
619
+ "name": "_args",
620
+ "type": "bytes32[7]",
621
+ "internalType": "bytes32[7]"
622
+ },
623
+ {
624
+ "name": "_fees",
625
+ "type": "bytes32[]",
626
+ "internalType": "bytes32[]"
627
+ },
628
+ {
629
+ "name": "_aggregationObject",
630
+ "type": "bytes",
631
+ "internalType": "bytes"
632
+ }
633
+ ],
634
+ "outputs": [
635
+ {
636
+ "name": "",
637
+ "type": "bytes32[]",
638
+ "internalType": "bytes32[]"
639
+ }
640
+ ],
641
+ "stateMutability": "view"
642
+ },
508
643
  {
509
644
  "type": "function",
510
645
  "name": "getEpochToProve",
@@ -513,7 +648,7 @@ export const RollupAbi = [
513
648
  {
514
649
  "name": "",
515
650
  "type": "uint256",
516
- "internalType": "uint256"
651
+ "internalType": "Epoch"
517
652
  }
518
653
  ],
519
654
  "stateMutability": "view"
@@ -538,7 +673,7 @@ export const RollupAbi = [
538
673
  {
539
674
  "name": "_ts",
540
675
  "type": "uint256",
541
- "internalType": "uint256"
676
+ "internalType": "Timestamp"
542
677
  }
543
678
  ],
544
679
  "outputs": [
@@ -570,14 +705,14 @@ export const RollupAbi = [
570
705
  {
571
706
  "name": "_ts",
572
707
  "type": "uint256",
573
- "internalType": "uint256"
708
+ "internalType": "Timestamp"
574
709
  }
575
710
  ],
576
711
  "outputs": [
577
712
  {
578
713
  "name": "",
579
714
  "type": "uint256",
580
- "internalType": "uint256"
715
+ "internalType": "Slot"
581
716
  }
582
717
  ],
583
718
  "stateMutability": "view"
@@ -589,14 +724,14 @@ export const RollupAbi = [
589
724
  {
590
725
  "name": "_slotNumber",
591
726
  "type": "uint256",
592
- "internalType": "uint256"
727
+ "internalType": "Slot"
593
728
  }
594
729
  ],
595
730
  "outputs": [
596
731
  {
597
732
  "name": "",
598
733
  "type": "uint256",
599
- "internalType": "uint256"
734
+ "internalType": "Timestamp"
600
735
  }
601
736
  ],
602
737
  "stateMutability": "view"
@@ -665,6 +800,19 @@ export const RollupAbi = [
665
800
  ],
666
801
  "stateMutability": "view"
667
802
  },
803
+ {
804
+ "type": "function",
805
+ "name": "nextEpochToClaim",
806
+ "inputs": [],
807
+ "outputs": [
808
+ {
809
+ "name": "",
810
+ "type": "uint256",
811
+ "internalType": "Epoch"
812
+ }
813
+ ],
814
+ "stateMutability": "view"
815
+ },
668
816
  {
669
817
  "type": "function",
670
818
  "name": "owner",
@@ -686,7 +834,7 @@ export const RollupAbi = [
686
834
  {
687
835
  "name": "epochToProve",
688
836
  "type": "uint256",
689
- "internalType": "uint256"
837
+ "internalType": "Epoch"
690
838
  },
691
839
  {
692
840
  "name": "basisPointFee",
@@ -736,47 +884,232 @@ export const RollupAbi = [
736
884
  "internalType": "bytes32[]"
737
885
  },
738
886
  {
739
- "name": "_signatures",
740
- "type": "tuple[]",
741
- "internalType": "struct SignatureLib.Signature[]",
887
+ "name": "_signatures",
888
+ "type": "tuple[]",
889
+ "internalType": "struct SignatureLib.Signature[]",
890
+ "components": [
891
+ {
892
+ "name": "isEmpty",
893
+ "type": "bool",
894
+ "internalType": "bool"
895
+ },
896
+ {
897
+ "name": "v",
898
+ "type": "uint8",
899
+ "internalType": "uint8"
900
+ },
901
+ {
902
+ "name": "r",
903
+ "type": "bytes32",
904
+ "internalType": "bytes32"
905
+ },
906
+ {
907
+ "name": "s",
908
+ "type": "bytes32",
909
+ "internalType": "bytes32"
910
+ }
911
+ ]
912
+ },
913
+ {
914
+ "name": "_body",
915
+ "type": "bytes",
916
+ "internalType": "bytes"
917
+ }
918
+ ],
919
+ "outputs": [],
920
+ "stateMutability": "nonpayable"
921
+ },
922
+ {
923
+ "type": "function",
924
+ "name": "proposeAndClaim",
925
+ "inputs": [
926
+ {
927
+ "name": "_header",
928
+ "type": "bytes",
929
+ "internalType": "bytes"
930
+ },
931
+ {
932
+ "name": "_archive",
933
+ "type": "bytes32",
934
+ "internalType": "bytes32"
935
+ },
936
+ {
937
+ "name": "_blockHash",
938
+ "type": "bytes32",
939
+ "internalType": "bytes32"
940
+ },
941
+ {
942
+ "name": "_txHashes",
943
+ "type": "bytes32[]",
944
+ "internalType": "bytes32[]"
945
+ },
946
+ {
947
+ "name": "_signatures",
948
+ "type": "tuple[]",
949
+ "internalType": "struct SignatureLib.Signature[]",
950
+ "components": [
951
+ {
952
+ "name": "isEmpty",
953
+ "type": "bool",
954
+ "internalType": "bool"
955
+ },
956
+ {
957
+ "name": "v",
958
+ "type": "uint8",
959
+ "internalType": "uint8"
960
+ },
961
+ {
962
+ "name": "r",
963
+ "type": "bytes32",
964
+ "internalType": "bytes32"
965
+ },
966
+ {
967
+ "name": "s",
968
+ "type": "bytes32",
969
+ "internalType": "bytes32"
970
+ }
971
+ ]
972
+ },
973
+ {
974
+ "name": "_body",
975
+ "type": "bytes",
976
+ "internalType": "bytes"
977
+ },
978
+ {
979
+ "name": "_quote",
980
+ "type": "tuple",
981
+ "internalType": "struct EpochProofQuoteLib.SignedEpochProofQuote",
982
+ "components": [
983
+ {
984
+ "name": "quote",
985
+ "type": "tuple",
986
+ "internalType": "struct EpochProofQuoteLib.EpochProofQuote",
987
+ "components": [
988
+ {
989
+ "name": "epochToProve",
990
+ "type": "uint256",
991
+ "internalType": "Epoch"
992
+ },
993
+ {
994
+ "name": "validUntilSlot",
995
+ "type": "uint256",
996
+ "internalType": "Slot"
997
+ },
998
+ {
999
+ "name": "bondAmount",
1000
+ "type": "uint256",
1001
+ "internalType": "uint256"
1002
+ },
1003
+ {
1004
+ "name": "prover",
1005
+ "type": "address",
1006
+ "internalType": "address"
1007
+ },
1008
+ {
1009
+ "name": "basisPointFee",
1010
+ "type": "uint32",
1011
+ "internalType": "uint32"
1012
+ }
1013
+ ]
1014
+ },
1015
+ {
1016
+ "name": "signature",
1017
+ "type": "tuple",
1018
+ "internalType": "struct SignatureLib.Signature",
1019
+ "components": [
1020
+ {
1021
+ "name": "isEmpty",
1022
+ "type": "bool",
1023
+ "internalType": "bool"
1024
+ },
1025
+ {
1026
+ "name": "v",
1027
+ "type": "uint8",
1028
+ "internalType": "uint8"
1029
+ },
1030
+ {
1031
+ "name": "r",
1032
+ "type": "bytes32",
1033
+ "internalType": "bytes32"
1034
+ },
1035
+ {
1036
+ "name": "s",
1037
+ "type": "bytes32",
1038
+ "internalType": "bytes32"
1039
+ }
1040
+ ]
1041
+ }
1042
+ ]
1043
+ }
1044
+ ],
1045
+ "outputs": [],
1046
+ "stateMutability": "nonpayable"
1047
+ },
1048
+ {
1049
+ "type": "function",
1050
+ "name": "protocolContractTreeRoot",
1051
+ "inputs": [],
1052
+ "outputs": [
1053
+ {
1054
+ "name": "",
1055
+ "type": "bytes32",
1056
+ "internalType": "bytes32"
1057
+ }
1058
+ ],
1059
+ "stateMutability": "view"
1060
+ },
1061
+ {
1062
+ "type": "function",
1063
+ "name": "prune",
1064
+ "inputs": [],
1065
+ "outputs": [],
1066
+ "stateMutability": "nonpayable"
1067
+ },
1068
+ {
1069
+ "type": "function",
1070
+ "name": "quoteToDigest",
1071
+ "inputs": [
1072
+ {
1073
+ "name": "quote",
1074
+ "type": "tuple",
1075
+ "internalType": "struct EpochProofQuoteLib.EpochProofQuote",
742
1076
  "components": [
743
1077
  {
744
- "name": "isEmpty",
745
- "type": "bool",
746
- "internalType": "bool"
1078
+ "name": "epochToProve",
1079
+ "type": "uint256",
1080
+ "internalType": "Epoch"
747
1081
  },
748
1082
  {
749
- "name": "v",
750
- "type": "uint8",
751
- "internalType": "uint8"
1083
+ "name": "validUntilSlot",
1084
+ "type": "uint256",
1085
+ "internalType": "Slot"
752
1086
  },
753
1087
  {
754
- "name": "r",
755
- "type": "bytes32",
756
- "internalType": "bytes32"
1088
+ "name": "bondAmount",
1089
+ "type": "uint256",
1090
+ "internalType": "uint256"
757
1091
  },
758
1092
  {
759
- "name": "s",
760
- "type": "bytes32",
761
- "internalType": "bytes32"
1093
+ "name": "prover",
1094
+ "type": "address",
1095
+ "internalType": "address"
1096
+ },
1097
+ {
1098
+ "name": "basisPointFee",
1099
+ "type": "uint32",
1100
+ "internalType": "uint32"
762
1101
  }
763
1102
  ]
764
- },
1103
+ }
1104
+ ],
1105
+ "outputs": [
765
1106
  {
766
- "name": "_body",
767
- "type": "bytes",
768
- "internalType": "bytes"
1107
+ "name": "",
1108
+ "type": "bytes32",
1109
+ "internalType": "bytes32"
769
1110
  }
770
1111
  ],
771
- "outputs": [],
772
- "stateMutability": "nonpayable"
773
- },
774
- {
775
- "type": "function",
776
- "name": "prune",
777
- "inputs": [],
778
- "outputs": [],
779
- "stateMutability": "nonpayable"
1112
+ "stateMutability": "view"
780
1113
  },
781
1114
  {
782
1115
  "type": "function",
@@ -813,7 +1146,7 @@ export const RollupAbi = [
813
1146
  },
814
1147
  {
815
1148
  "type": "function",
816
- "name": "setVerifier",
1149
+ "name": "setEpochVerifier",
817
1150
  "inputs": [
818
1151
  {
819
1152
  "name": "_verifier",
@@ -824,6 +1157,19 @@ export const RollupAbi = [
824
1157
  "outputs": [],
825
1158
  "stateMutability": "nonpayable"
826
1159
  },
1160
+ {
1161
+ "type": "function",
1162
+ "name": "setProtocolContractTreeRoot",
1163
+ "inputs": [
1164
+ {
1165
+ "name": "_protocolContractTreeRoot",
1166
+ "type": "bytes32",
1167
+ "internalType": "bytes32"
1168
+ }
1169
+ ],
1170
+ "outputs": [],
1171
+ "stateMutability": "nonpayable"
1172
+ },
827
1173
  {
828
1174
  "type": "function",
829
1175
  "name": "setVkTreeRoot",
@@ -879,28 +1225,33 @@ export const RollupAbi = [
879
1225
  "name": "archiveOfMyBlock",
880
1226
  "type": "bytes32",
881
1227
  "internalType": "bytes32"
1228
+ },
1229
+ {
1230
+ "name": "provenEpochNumber",
1231
+ "type": "uint256",
1232
+ "internalType": "Epoch"
882
1233
  }
883
1234
  ],
884
1235
  "stateMutability": "view"
885
1236
  },
886
1237
  {
887
1238
  "type": "function",
888
- "name": "submitBlockRootProof",
1239
+ "name": "submitEpochRootProof",
889
1240
  "inputs": [
890
1241
  {
891
- "name": "_header",
892
- "type": "bytes",
893
- "internalType": "bytes"
1242
+ "name": "_epochSize",
1243
+ "type": "uint256",
1244
+ "internalType": "uint256"
894
1245
  },
895
1246
  {
896
- "name": "_archive",
897
- "type": "bytes32",
898
- "internalType": "bytes32"
1247
+ "name": "_args",
1248
+ "type": "bytes32[7]",
1249
+ "internalType": "bytes32[7]"
899
1250
  },
900
1251
  {
901
- "name": "_proverId",
902
- "type": "bytes32",
903
- "internalType": "bytes32"
1252
+ "name": "_fees",
1253
+ "type": "bytes32[]",
1254
+ "internalType": "bytes32[]"
904
1255
  },
905
1256
  {
906
1257
  "name": "_aggregationObject",
@@ -947,6 +1298,80 @@ export const RollupAbi = [
947
1298
  "outputs": [],
948
1299
  "stateMutability": "nonpayable"
949
1300
  },
1301
+ {
1302
+ "type": "function",
1303
+ "name": "validateEpochProofRightClaim",
1304
+ "inputs": [
1305
+ {
1306
+ "name": "_quote",
1307
+ "type": "tuple",
1308
+ "internalType": "struct EpochProofQuoteLib.SignedEpochProofQuote",
1309
+ "components": [
1310
+ {
1311
+ "name": "quote",
1312
+ "type": "tuple",
1313
+ "internalType": "struct EpochProofQuoteLib.EpochProofQuote",
1314
+ "components": [
1315
+ {
1316
+ "name": "epochToProve",
1317
+ "type": "uint256",
1318
+ "internalType": "Epoch"
1319
+ },
1320
+ {
1321
+ "name": "validUntilSlot",
1322
+ "type": "uint256",
1323
+ "internalType": "Slot"
1324
+ },
1325
+ {
1326
+ "name": "bondAmount",
1327
+ "type": "uint256",
1328
+ "internalType": "uint256"
1329
+ },
1330
+ {
1331
+ "name": "prover",
1332
+ "type": "address",
1333
+ "internalType": "address"
1334
+ },
1335
+ {
1336
+ "name": "basisPointFee",
1337
+ "type": "uint32",
1338
+ "internalType": "uint32"
1339
+ }
1340
+ ]
1341
+ },
1342
+ {
1343
+ "name": "signature",
1344
+ "type": "tuple",
1345
+ "internalType": "struct SignatureLib.Signature",
1346
+ "components": [
1347
+ {
1348
+ "name": "isEmpty",
1349
+ "type": "bool",
1350
+ "internalType": "bool"
1351
+ },
1352
+ {
1353
+ "name": "v",
1354
+ "type": "uint8",
1355
+ "internalType": "uint8"
1356
+ },
1357
+ {
1358
+ "name": "r",
1359
+ "type": "bytes32",
1360
+ "internalType": "bytes32"
1361
+ },
1362
+ {
1363
+ "name": "s",
1364
+ "type": "bytes32",
1365
+ "internalType": "bytes32"
1366
+ }
1367
+ ]
1368
+ }
1369
+ ]
1370
+ }
1371
+ ],
1372
+ "outputs": [],
1373
+ "stateMutability": "view"
1374
+ },
950
1375
  {
951
1376
  "type": "function",
952
1377
  "name": "validateHeader",
@@ -991,7 +1416,7 @@ export const RollupAbi = [
991
1416
  {
992
1417
  "name": "_currentTime",
993
1418
  "type": "uint256",
994
- "internalType": "uint256"
1419
+ "internalType": "Timestamp"
995
1420
  },
996
1421
  {
997
1422
  "name": "_txsEffectsHash",
@@ -1019,19 +1444,6 @@ export const RollupAbi = [
1019
1444
  "outputs": [],
1020
1445
  "stateMutability": "view"
1021
1446
  },
1022
- {
1023
- "type": "function",
1024
- "name": "verifier",
1025
- "inputs": [],
1026
- "outputs": [
1027
- {
1028
- "name": "",
1029
- "type": "address",
1030
- "internalType": "contract IVerifier"
1031
- }
1032
- ],
1033
- "stateMutability": "view"
1034
- },
1035
1447
  {
1036
1448
  "type": "function",
1037
1449
  "name": "vkTreeRoot",
@@ -1045,6 +1457,12 @@ export const RollupAbi = [
1045
1457
  ],
1046
1458
  "stateMutability": "view"
1047
1459
  },
1460
+ {
1461
+ "type": "event",
1462
+ "name": "EIP712DomainChanged",
1463
+ "inputs": [],
1464
+ "anonymous": false
1465
+ },
1048
1466
  {
1049
1467
  "type": "event",
1050
1468
  "name": "L2BlockProposed",
@@ -1110,7 +1528,7 @@ export const RollupAbi = [
1110
1528
  "name": "epoch",
1111
1529
  "type": "uint256",
1112
1530
  "indexed": true,
1113
- "internalType": "uint256"
1531
+ "internalType": "Epoch"
1114
1532
  },
1115
1533
  {
1116
1534
  "name": "bondProvider",
@@ -1134,7 +1552,7 @@ export const RollupAbi = [
1134
1552
  "name": "currentSlot",
1135
1553
  "type": "uint256",
1136
1554
  "indexed": false,
1137
- "internalType": "uint256"
1555
+ "internalType": "Slot"
1138
1556
  }
1139
1557
  ],
1140
1558
  "anonymous": false
@@ -1181,15 +1599,20 @@ export const RollupAbi = [
1181
1599
  {
1182
1600
  "name": "expected",
1183
1601
  "type": "uint256",
1184
- "internalType": "uint256"
1602
+ "internalType": "Slot"
1185
1603
  },
1186
1604
  {
1187
1605
  "name": "actual",
1188
1606
  "type": "uint256",
1189
- "internalType": "uint256"
1607
+ "internalType": "Slot"
1190
1608
  }
1191
1609
  ]
1192
1610
  },
1611
+ {
1612
+ "type": "error",
1613
+ "name": "InvalidShortString",
1614
+ "inputs": []
1615
+ },
1193
1616
  {
1194
1617
  "type": "error",
1195
1618
  "name": "Leonidas__InsufficientAttestations",
@@ -1276,6 +1699,22 @@ export const RollupAbi = [
1276
1699
  }
1277
1700
  ]
1278
1701
  },
1702
+ {
1703
+ "type": "error",
1704
+ "name": "Rollup__InsufficientFundsInEscrow",
1705
+ "inputs": [
1706
+ {
1707
+ "name": "required",
1708
+ "type": "uint256",
1709
+ "internalType": "uint256"
1710
+ },
1711
+ {
1712
+ "name": "available",
1713
+ "type": "uint256",
1714
+ "internalType": "uint256"
1715
+ }
1716
+ ]
1717
+ },
1279
1718
  {
1280
1719
  "type": "error",
1281
1720
  "name": "Rollup__InvalidArchive",
@@ -1292,6 +1731,22 @@ export const RollupAbi = [
1292
1731
  }
1293
1732
  ]
1294
1733
  },
1734
+ {
1735
+ "type": "error",
1736
+ "name": "Rollup__InvalidBlockHash",
1737
+ "inputs": [
1738
+ {
1739
+ "name": "expected",
1740
+ "type": "bytes32",
1741
+ "internalType": "bytes32"
1742
+ },
1743
+ {
1744
+ "name": "actual",
1745
+ "type": "bytes32",
1746
+ "internalType": "bytes32"
1747
+ }
1748
+ ]
1749
+ },
1295
1750
  {
1296
1751
  "type": "error",
1297
1752
  "name": "Rollup__InvalidBlockNumber",
@@ -1331,12 +1786,12 @@ export const RollupAbi = [
1331
1786
  {
1332
1787
  "name": "expected",
1333
1788
  "type": "uint256",
1334
- "internalType": "uint256"
1789
+ "internalType": "Epoch"
1335
1790
  },
1336
1791
  {
1337
1792
  "name": "actual",
1338
1793
  "type": "uint256",
1339
- "internalType": "uint256"
1794
+ "internalType": "Epoch"
1340
1795
  }
1341
1796
  ]
1342
1797
  },
@@ -1358,12 +1813,23 @@ export const RollupAbi = [
1358
1813
  },
1359
1814
  {
1360
1815
  "type": "error",
1361
- "name": "Rollup__InvalidProof",
1362
- "inputs": []
1816
+ "name": "Rollup__InvalidPreviousArchive",
1817
+ "inputs": [
1818
+ {
1819
+ "name": "expected",
1820
+ "type": "bytes32",
1821
+ "internalType": "bytes32"
1822
+ },
1823
+ {
1824
+ "name": "actual",
1825
+ "type": "bytes32",
1826
+ "internalType": "bytes32"
1827
+ }
1828
+ ]
1363
1829
  },
1364
1830
  {
1365
1831
  "type": "error",
1366
- "name": "Rollup__InvalidProposedArchive",
1832
+ "name": "Rollup__InvalidPreviousBlockHash",
1367
1833
  "inputs": [
1368
1834
  {
1369
1835
  "name": "expected",
@@ -1377,6 +1843,11 @@ export const RollupAbi = [
1377
1843
  }
1378
1844
  ]
1379
1845
  },
1846
+ {
1847
+ "type": "error",
1848
+ "name": "Rollup__InvalidProof",
1849
+ "inputs": []
1850
+ },
1380
1851
  {
1381
1852
  "type": "error",
1382
1853
  "name": "Rollup__InvalidTimestamp",
@@ -1384,12 +1855,12 @@ export const RollupAbi = [
1384
1855
  {
1385
1856
  "name": "expected",
1386
1857
  "type": "uint256",
1387
- "internalType": "uint256"
1858
+ "internalType": "Timestamp"
1388
1859
  },
1389
1860
  {
1390
1861
  "name": "actual",
1391
1862
  "type": "uint256",
1392
- "internalType": "uint256"
1863
+ "internalType": "Timestamp"
1393
1864
  }
1394
1865
  ]
1395
1866
  },
@@ -1414,11 +1885,6 @@ export const RollupAbi = [
1414
1885
  "name": "Rollup__NoEpochToProve",
1415
1886
  "inputs": []
1416
1887
  },
1417
- {
1418
- "type": "error",
1419
- "name": "Rollup__NonSequentialProving",
1420
- "inputs": []
1421
- },
1422
1888
  {
1423
1889
  "type": "error",
1424
1890
  "name": "Rollup__NotClaimingCorrectEpoch",
@@ -1426,12 +1892,12 @@ export const RollupAbi = [
1426
1892
  {
1427
1893
  "name": "expected",
1428
1894
  "type": "uint256",
1429
- "internalType": "uint256"
1895
+ "internalType": "Epoch"
1430
1896
  },
1431
1897
  {
1432
1898
  "name": "actual",
1433
1899
  "type": "uint256",
1434
- "internalType": "uint256"
1900
+ "internalType": "Epoch"
1435
1901
  }
1436
1902
  ]
1437
1903
  },
@@ -1468,12 +1934,12 @@ export const RollupAbi = [
1468
1934
  {
1469
1935
  "name": "currentSlot",
1470
1936
  "type": "uint256",
1471
- "internalType": "uint256"
1937
+ "internalType": "Slot"
1472
1938
  },
1473
1939
  {
1474
1940
  "name": "quoteSlot",
1475
1941
  "type": "uint256",
1476
- "internalType": "uint256"
1942
+ "internalType": "Slot"
1477
1943
  }
1478
1944
  ]
1479
1945
  },
@@ -1484,23 +1950,12 @@ export const RollupAbi = [
1484
1950
  {
1485
1951
  "name": "lastSlot",
1486
1952
  "type": "uint256",
1487
- "internalType": "uint256"
1953
+ "internalType": "Slot"
1488
1954
  },
1489
1955
  {
1490
1956
  "name": "proposedSlot",
1491
1957
  "type": "uint256",
1492
- "internalType": "uint256"
1493
- }
1494
- ]
1495
- },
1496
- {
1497
- "type": "error",
1498
- "name": "Rollup__SlotValueTooLarge",
1499
- "inputs": [
1500
- {
1501
- "name": "slot",
1502
- "type": "uint256",
1503
- "internalType": "uint256"
1958
+ "internalType": "Slot"
1504
1959
  }
1505
1960
  ]
1506
1961
  },
@@ -1511,20 +1966,15 @@ export const RollupAbi = [
1511
1966
  {
1512
1967
  "name": "max",
1513
1968
  "type": "uint256",
1514
- "internalType": "uint256"
1969
+ "internalType": "Timestamp"
1515
1970
  },
1516
1971
  {
1517
1972
  "name": "actual",
1518
1973
  "type": "uint256",
1519
- "internalType": "uint256"
1974
+ "internalType": "Timestamp"
1520
1975
  }
1521
1976
  ]
1522
1977
  },
1523
- {
1524
- "type": "error",
1525
- "name": "Rollup__TryingToProveNonExistingBlock",
1526
- "inputs": []
1527
- },
1528
1978
  {
1529
1979
  "type": "error",
1530
1980
  "name": "Rollup__UnavailableTxs",
@@ -1536,22 +1986,6 @@ export const RollupAbi = [
1536
1986
  }
1537
1987
  ]
1538
1988
  },
1539
- {
1540
- "type": "error",
1541
- "name": "SafeCastOverflowedUintDowncast",
1542
- "inputs": [
1543
- {
1544
- "name": "bits",
1545
- "type": "uint8",
1546
- "internalType": "uint8"
1547
- },
1548
- {
1549
- "name": "value",
1550
- "type": "uint256",
1551
- "internalType": "uint256"
1552
- }
1553
- ]
1554
- },
1555
1989
  {
1556
1990
  "type": "error",
1557
1991
  "name": "SampleLib__IndexOutOfBounds",
@@ -1589,6 +2023,17 @@ export const RollupAbi = [
1589
2023
  }
1590
2024
  ]
1591
2025
  },
2026
+ {
2027
+ "type": "error",
2028
+ "name": "StringTooLong",
2029
+ "inputs": [
2030
+ {
2031
+ "name": "str",
2032
+ "type": "string",
2033
+ "internalType": "string"
2034
+ }
2035
+ ]
2036
+ },
1592
2037
  {
1593
2038
  "type": "error",
1594
2039
  "name": "TxsDecoder__InvalidLogsLength",