@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
@@ -4,10 +4,6 @@
4
4
  export declare const RollupAbi: readonly [{
5
5
  readonly type: "constructor";
6
6
  readonly inputs: readonly [{
7
- readonly name: "_registry";
8
- readonly type: "address";
9
- readonly internalType: "contract IRegistry";
10
- }, {
11
7
  readonly name: "_fpcJuicePortal";
12
8
  readonly type: "address";
13
9
  readonly internalType: "contract IFeeJuicePortal";
@@ -15,6 +11,10 @@ export declare const RollupAbi: readonly [{
15
11
  readonly name: "_vkTreeRoot";
16
12
  readonly type: "bytes32";
17
13
  readonly internalType: "bytes32";
14
+ }, {
15
+ readonly name: "_protocolContractTreeRoot";
16
+ readonly type: "bytes32";
17
+ readonly internalType: "bytes32";
18
18
  }, {
19
19
  readonly name: "_ares";
20
20
  readonly type: "address";
@@ -62,7 +62,7 @@ export declare const RollupAbi: readonly [{
62
62
  readonly outputs: readonly [{
63
63
  readonly name: "";
64
64
  readonly type: "uint256";
65
- readonly internalType: "uint256";
65
+ readonly internalType: "Timestamp";
66
66
  }];
67
67
  readonly stateMutability: "view";
68
68
  }, {
@@ -115,16 +115,6 @@ export declare const RollupAbi: readonly [{
115
115
  readonly internalType: "uint256";
116
116
  }];
117
117
  readonly stateMutability: "view";
118
- }, {
119
- readonly type: "function";
120
- readonly name: "REGISTRY";
121
- readonly inputs: readonly [];
122
- readonly outputs: readonly [{
123
- readonly name: "";
124
- readonly type: "address";
125
- readonly internalType: "contract IRegistry";
126
- }];
127
- readonly stateMutability: "view";
128
118
  }, {
129
119
  readonly type: "function";
130
120
  readonly name: "SLOT_DURATION";
@@ -207,8 +197,8 @@ export declare const RollupAbi: readonly [{
207
197
  readonly internalType: "bytes32";
208
198
  }, {
209
199
  readonly name: "slotNumber";
210
- readonly type: "uint128";
211
- readonly internalType: "uint128";
200
+ readonly type: "uint256";
201
+ readonly internalType: "Slot";
212
202
  }];
213
203
  readonly stateMutability: "view";
214
204
  }, {
@@ -217,7 +207,7 @@ export declare const RollupAbi: readonly [{
217
207
  readonly inputs: readonly [{
218
208
  readonly name: "_ts";
219
209
  readonly type: "uint256";
220
- readonly internalType: "uint256";
210
+ readonly internalType: "Timestamp";
221
211
  }, {
222
212
  readonly name: "_archive";
223
213
  readonly type: "bytes32";
@@ -226,21 +216,56 @@ export declare const RollupAbi: readonly [{
226
216
  readonly outputs: readonly [{
227
217
  readonly name: "";
228
218
  readonly type: "uint256";
229
- readonly internalType: "uint256";
219
+ readonly internalType: "Slot";
230
220
  }, {
231
221
  readonly name: "";
232
222
  readonly type: "uint256";
233
223
  readonly internalType: "uint256";
234
224
  }];
235
225
  readonly stateMutability: "view";
226
+ }, {
227
+ readonly type: "function";
228
+ readonly name: "canPrune";
229
+ readonly inputs: readonly [];
230
+ readonly outputs: readonly [{
231
+ readonly name: "";
232
+ readonly type: "bool";
233
+ readonly internalType: "bool";
234
+ }];
235
+ readonly stateMutability: "view";
236
236
  }, {
237
237
  readonly type: "function";
238
238
  readonly name: "claimEpochProofRight";
239
239
  readonly inputs: readonly [{
240
240
  readonly name: "_quote";
241
241
  readonly type: "tuple";
242
- readonly internalType: "struct DataStructures.EpochProofQuote";
242
+ readonly internalType: "struct EpochProofQuoteLib.SignedEpochProofQuote";
243
243
  readonly components: readonly [{
244
+ readonly name: "quote";
245
+ readonly type: "tuple";
246
+ readonly internalType: "struct EpochProofQuoteLib.EpochProofQuote";
247
+ readonly components: readonly [{
248
+ readonly name: "epochToProve";
249
+ readonly type: "uint256";
250
+ readonly internalType: "Epoch";
251
+ }, {
252
+ readonly name: "validUntilSlot";
253
+ readonly type: "uint256";
254
+ readonly internalType: "Slot";
255
+ }, {
256
+ readonly name: "bondAmount";
257
+ readonly type: "uint256";
258
+ readonly internalType: "uint256";
259
+ }, {
260
+ readonly name: "prover";
261
+ readonly type: "address";
262
+ readonly internalType: "address";
263
+ }, {
264
+ readonly name: "basisPointFee";
265
+ readonly type: "uint32";
266
+ readonly internalType: "uint32";
267
+ }];
268
+ }, {
244
269
  readonly name: "signature";
245
270
  readonly type: "tuple";
246
271
  readonly internalType: "struct SignatureLib.Signature";
@@ -261,26 +286,6 @@ export declare const RollupAbi: readonly [{
261
286
  readonly type: "bytes32";
262
287
  readonly internalType: "bytes32";
263
288
  }];
264
- }, {
265
- readonly name: "epochToProve";
266
- readonly type: "uint256";
267
- readonly internalType: "uint256";
268
- }, {
269
- readonly name: "validUntilSlot";
270
- readonly type: "uint256";
271
- readonly internalType: "uint256";
272
- }, {
273
- readonly name: "bondAmount";
274
- readonly type: "uint256";
275
- readonly internalType: "uint256";
276
- }, {
277
- readonly name: "prover";
278
- readonly type: "address";
279
- readonly internalType: "address";
280
- }, {
281
- readonly name: "basisPointFee";
282
- readonly type: "uint32";
283
- readonly internalType: "uint32";
284
289
  }];
285
290
  }];
286
291
  readonly outputs: readonly [];
@@ -299,13 +304,57 @@ export declare const RollupAbi: readonly [{
299
304
  readonly internalType: "bytes32";
300
305
  }];
301
306
  readonly stateMutability: "pure";
307
+ }, {
308
+ readonly type: "function";
309
+ readonly name: "eip712Domain";
310
+ readonly inputs: readonly [];
311
+ readonly outputs: readonly [{
312
+ readonly name: "fields";
313
+ readonly type: "bytes1";
314
+ readonly internalType: "bytes1";
315
+ }, {
316
+ readonly name: "name";
317
+ readonly type: "string";
318
+ readonly internalType: "string";
319
+ }, {
320
+ readonly name: "version";
321
+ readonly type: "string";
322
+ readonly internalType: "string";
323
+ }, {
324
+ readonly name: "chainId";
325
+ readonly type: "uint256";
326
+ readonly internalType: "uint256";
327
+ }, {
328
+ readonly name: "verifyingContract";
329
+ readonly type: "address";
330
+ readonly internalType: "address";
331
+ }, {
332
+ readonly name: "salt";
333
+ readonly type: "bytes32";
334
+ readonly internalType: "bytes32";
335
+ }, {
336
+ readonly name: "extensions";
337
+ readonly type: "uint256[]";
338
+ readonly internalType: "uint256[]";
339
+ }];
340
+ readonly stateMutability: "view";
341
+ }, {
342
+ readonly type: "function";
343
+ readonly name: "epochProofVerifier";
344
+ readonly inputs: readonly [];
345
+ readonly outputs: readonly [{
346
+ readonly name: "";
347
+ readonly type: "address";
348
+ readonly internalType: "contract IVerifier";
349
+ }];
350
+ readonly stateMutability: "view";
302
351
  }, {
303
352
  readonly type: "function";
304
353
  readonly name: "epochs";
305
354
  readonly inputs: readonly [{
306
- readonly name: "epochNumber";
355
+ readonly name: "";
307
356
  readonly type: "uint256";
308
- readonly internalType: "uint256";
357
+ readonly internalType: "Epoch";
309
358
  }];
310
359
  readonly outputs: readonly [{
311
360
  readonly name: "sampleSeed";
@@ -324,7 +373,7 @@ export declare const RollupAbi: readonly [{
324
373
  readonly outputs: readonly [{
325
374
  readonly name: "";
326
375
  readonly type: "uint256";
327
- readonly internalType: "uint256";
376
+ readonly internalType: "Epoch";
328
377
  }];
329
378
  readonly stateMutability: "view";
330
379
  }, {
@@ -354,7 +403,7 @@ export declare const RollupAbi: readonly [{
354
403
  readonly outputs: readonly [{
355
404
  readonly name: "";
356
405
  readonly type: "uint256";
357
- readonly internalType: "uint256";
406
+ readonly internalType: "Slot";
358
407
  }];
359
408
  readonly stateMutability: "view";
360
409
  }, {
@@ -363,21 +412,35 @@ export declare const RollupAbi: readonly [{
363
412
  readonly inputs: readonly [{
364
413
  readonly name: "_ts";
365
414
  readonly type: "uint256";
366
- readonly internalType: "uint256";
415
+ readonly internalType: "Timestamp";
367
416
  }];
368
417
  readonly outputs: readonly [{
369
418
  readonly name: "";
370
419
  readonly type: "uint256";
371
- readonly internalType: "uint256";
420
+ readonly internalType: "Epoch";
372
421
  }];
373
422
  readonly stateMutability: "view";
423
+ }, {
424
+ readonly type: "function";
425
+ readonly name: "getEpochAtSlot";
426
+ readonly inputs: readonly [{
427
+ readonly name: "_slotNumber";
428
+ readonly type: "uint256";
429
+ readonly internalType: "Slot";
430
+ }];
431
+ readonly outputs: readonly [{
432
+ readonly name: "";
433
+ readonly type: "uint256";
434
+ readonly internalType: "Epoch";
435
+ }];
436
+ readonly stateMutability: "pure";
374
437
  }, {
375
438
  readonly type: "function";
376
439
  readonly name: "getEpochCommittee";
377
440
  readonly inputs: readonly [{
378
441
  readonly name: "_epoch";
379
442
  readonly type: "uint256";
380
- readonly internalType: "uint256";
443
+ readonly internalType: "Epoch";
381
444
  }];
382
445
  readonly outputs: readonly [{
383
446
  readonly name: "";
@@ -385,6 +448,46 @@ export declare const RollupAbi: readonly [{
385
448
  readonly internalType: "address[]";
386
449
  }];
387
450
  readonly stateMutability: "view";
451
+ }, {
452
+ readonly type: "function";
453
+ readonly name: "getEpochForBlock";
454
+ readonly inputs: readonly [{
455
+ readonly name: "blockNumber";
456
+ readonly type: "uint256";
457
+ readonly internalType: "uint256";
458
+ }];
459
+ readonly outputs: readonly [{
460
+ readonly name: "";
461
+ readonly type: "uint256";
462
+ readonly internalType: "Epoch";
463
+ }];
464
+ readonly stateMutability: "view";
465
+ }, {
466
+ readonly type: "function";
467
+ readonly name: "getEpochProofPublicInputs";
468
+ readonly inputs: readonly [{
469
+ readonly name: "_epochSize";
470
+ readonly type: "uint256";
471
+ readonly internalType: "uint256";
472
+ }, {
473
+ readonly name: "_args";
474
+ readonly type: "bytes32[7]";
475
+ readonly internalType: "bytes32[7]";
476
+ }, {
477
+ readonly name: "_fees";
478
+ readonly type: "bytes32[]";
479
+ readonly internalType: "bytes32[]";
480
+ }, {
481
+ readonly name: "_aggregationObject";
482
+ readonly type: "bytes";
483
+ readonly internalType: "bytes";
484
+ }];
485
+ readonly outputs: readonly [{
486
+ readonly name: "";
487
+ readonly type: "bytes32[]";
488
+ readonly internalType: "bytes32[]";
489
+ }];
490
+ readonly stateMutability: "view";
388
491
  }, {
389
492
  readonly type: "function";
390
493
  readonly name: "getEpochToProve";
@@ -392,7 +495,7 @@ export declare const RollupAbi: readonly [{
392
495
  readonly outputs: readonly [{
393
496
  readonly name: "";
394
497
  readonly type: "uint256";
395
- readonly internalType: "uint256";
498
+ readonly internalType: "Epoch";
396
499
  }];
397
500
  readonly stateMutability: "view";
398
501
  }, {
@@ -411,7 +514,7 @@ export declare const RollupAbi: readonly [{
411
514
  readonly inputs: readonly [{
412
515
  readonly name: "_ts";
413
516
  readonly type: "uint256";
414
- readonly internalType: "uint256";
517
+ readonly internalType: "Timestamp";
415
518
  }];
416
519
  readonly outputs: readonly [{
417
520
  readonly name: "";
@@ -435,12 +538,12 @@ export declare const RollupAbi: readonly [{
435
538
  readonly inputs: readonly [{
436
539
  readonly name: "_ts";
437
540
  readonly type: "uint256";
438
- readonly internalType: "uint256";
541
+ readonly internalType: "Timestamp";
439
542
  }];
440
543
  readonly outputs: readonly [{
441
544
  readonly name: "";
442
545
  readonly type: "uint256";
443
- readonly internalType: "uint256";
546
+ readonly internalType: "Slot";
444
547
  }];
445
548
  readonly stateMutability: "view";
446
549
  }, {
@@ -449,12 +552,12 @@ export declare const RollupAbi: readonly [{
449
552
  readonly inputs: readonly [{
450
553
  readonly name: "_slotNumber";
451
554
  readonly type: "uint256";
452
- readonly internalType: "uint256";
555
+ readonly internalType: "Slot";
453
556
  }];
454
557
  readonly outputs: readonly [{
455
558
  readonly name: "";
456
559
  readonly type: "uint256";
457
- readonly internalType: "uint256";
560
+ readonly internalType: "Timestamp";
458
561
  }];
459
562
  readonly stateMutability: "view";
460
563
  }, {
@@ -505,6 +608,16 @@ export declare const RollupAbi: readonly [{
505
608
  readonly internalType: "bool";
506
609
  }];
507
610
  readonly stateMutability: "view";
611
+ }, {
612
+ readonly type: "function";
613
+ readonly name: "nextEpochToClaim";
614
+ readonly inputs: readonly [];
615
+ readonly outputs: readonly [{
616
+ readonly name: "";
617
+ readonly type: "uint256";
618
+ readonly internalType: "Epoch";
619
+ }];
620
+ readonly stateMutability: "view";
508
621
  }, {
509
622
  readonly type: "function";
510
623
  readonly name: "owner";
@@ -522,7 +635,7 @@ export declare const RollupAbi: readonly [{
522
635
  readonly outputs: readonly [{
523
636
  readonly name: "epochToProve";
524
637
  readonly type: "uint256";
525
- readonly internalType: "uint256";
638
+ readonly internalType: "Epoch";
526
639
  }, {
527
640
  readonly name: "basisPointFee";
528
641
  readonly type: "uint256";
@@ -588,12 +701,155 @@ export declare const RollupAbi: readonly [{
588
701
  }];
589
702
  readonly outputs: readonly [];
590
703
  readonly stateMutability: "nonpayable";
704
+ }, {
705
+ readonly type: "function";
706
+ readonly name: "proposeAndClaim";
707
+ readonly inputs: readonly [{
708
+ readonly name: "_header";
709
+ readonly type: "bytes";
710
+ readonly internalType: "bytes";
711
+ }, {
712
+ readonly name: "_archive";
713
+ readonly type: "bytes32";
714
+ readonly internalType: "bytes32";
715
+ }, {
716
+ readonly name: "_blockHash";
717
+ readonly type: "bytes32";
718
+ readonly internalType: "bytes32";
719
+ }, {
720
+ readonly name: "_txHashes";
721
+ readonly type: "bytes32[]";
722
+ readonly internalType: "bytes32[]";
723
+ }, {
724
+ readonly name: "_signatures";
725
+ readonly type: "tuple[]";
726
+ readonly internalType: "struct SignatureLib.Signature[]";
727
+ readonly components: readonly [{
728
+ readonly name: "isEmpty";
729
+ readonly type: "bool";
730
+ readonly internalType: "bool";
731
+ }, {
732
+ readonly name: "v";
733
+ readonly type: "uint8";
734
+ readonly internalType: "uint8";
735
+ }, {
736
+ readonly name: "r";
737
+ readonly type: "bytes32";
738
+ readonly internalType: "bytes32";
739
+ }, {
740
+ readonly name: "s";
741
+ readonly type: "bytes32";
742
+ readonly internalType: "bytes32";
743
+ }];
744
+ }, {
745
+ readonly name: "_body";
746
+ readonly type: "bytes";
747
+ readonly internalType: "bytes";
748
+ }, {
749
+ readonly name: "_quote";
750
+ readonly type: "tuple";
751
+ readonly internalType: "struct EpochProofQuoteLib.SignedEpochProofQuote";
752
+ readonly components: readonly [{
753
+ readonly name: "quote";
754
+ readonly type: "tuple";
755
+ readonly internalType: "struct EpochProofQuoteLib.EpochProofQuote";
756
+ readonly components: readonly [{
757
+ readonly name: "epochToProve";
758
+ readonly type: "uint256";
759
+ readonly internalType: "Epoch";
760
+ }, {
761
+ readonly name: "validUntilSlot";
762
+ readonly type: "uint256";
763
+ readonly internalType: "Slot";
764
+ }, {
765
+ readonly name: "bondAmount";
766
+ readonly type: "uint256";
767
+ readonly internalType: "uint256";
768
+ }, {
769
+ readonly name: "prover";
770
+ readonly type: "address";
771
+ readonly internalType: "address";
772
+ }, {
773
+ readonly name: "basisPointFee";
774
+ readonly type: "uint32";
775
+ readonly internalType: "uint32";
776
+ }];
777
+ }, {
778
+ readonly name: "signature";
779
+ readonly type: "tuple";
780
+ readonly internalType: "struct SignatureLib.Signature";
781
+ readonly components: readonly [{
782
+ readonly name: "isEmpty";
783
+ readonly type: "bool";
784
+ readonly internalType: "bool";
785
+ }, {
786
+ readonly name: "v";
787
+ readonly type: "uint8";
788
+ readonly internalType: "uint8";
789
+ }, {
790
+ readonly name: "r";
791
+ readonly type: "bytes32";
792
+ readonly internalType: "bytes32";
793
+ }, {
794
+ readonly name: "s";
795
+ readonly type: "bytes32";
796
+ readonly internalType: "bytes32";
797
+ }];
798
+ }];
799
+ }];
800
+ readonly outputs: readonly [];
801
+ readonly stateMutability: "nonpayable";
802
+ }, {
803
+ readonly type: "function";
804
+ readonly name: "protocolContractTreeRoot";
805
+ readonly inputs: readonly [];
806
+ readonly outputs: readonly [{
807
+ readonly name: "";
808
+ readonly type: "bytes32";
809
+ readonly internalType: "bytes32";
810
+ }];
811
+ readonly stateMutability: "view";
591
812
  }, {
592
813
  readonly type: "function";
593
814
  readonly name: "prune";
594
815
  readonly inputs: readonly [];
595
816
  readonly outputs: readonly [];
596
817
  readonly stateMutability: "nonpayable";
818
+ }, {
819
+ readonly type: "function";
820
+ readonly name: "quoteToDigest";
821
+ readonly inputs: readonly [{
822
+ readonly name: "quote";
823
+ readonly type: "tuple";
824
+ readonly internalType: "struct EpochProofQuoteLib.EpochProofQuote";
825
+ readonly components: readonly [{
826
+ readonly name: "epochToProve";
827
+ readonly type: "uint256";
828
+ readonly internalType: "Epoch";
829
+ }, {
830
+ readonly name: "validUntilSlot";
831
+ readonly type: "uint256";
832
+ readonly internalType: "Slot";
833
+ }, {
834
+ readonly name: "bondAmount";
835
+ readonly type: "uint256";
836
+ readonly internalType: "uint256";
837
+ }, {
838
+ readonly name: "prover";
839
+ readonly type: "address";
840
+ readonly internalType: "address";
841
+ }, {
842
+ readonly name: "basisPointFee";
843
+ readonly type: "uint32";
844
+ readonly internalType: "uint32";
845
+ }];
846
+ }];
847
+ readonly outputs: readonly [{
848
+ readonly name: "";
849
+ readonly type: "bytes32";
850
+ readonly internalType: "bytes32";
851
+ }];
852
+ readonly stateMutability: "view";
597
853
  }, {
598
854
  readonly type: "function";
599
855
  readonly name: "removeValidator";
@@ -622,7 +878,7 @@ export declare const RollupAbi: readonly [{
622
878
  readonly stateMutability: "nonpayable";
623
879
  }, {
624
880
  readonly type: "function";
625
- readonly name: "setVerifier";
881
+ readonly name: "setEpochVerifier";
626
882
  readonly inputs: readonly [{
627
883
  readonly name: "_verifier";
628
884
  readonly type: "address";
@@ -630,6 +886,16 @@ export declare const RollupAbi: readonly [{
630
886
  }];
631
887
  readonly outputs: readonly [];
632
888
  readonly stateMutability: "nonpayable";
889
+ }, {
890
+ readonly type: "function";
891
+ readonly name: "setProtocolContractTreeRoot";
892
+ readonly inputs: readonly [{
893
+ readonly name: "_protocolContractTreeRoot";
894
+ readonly type: "bytes32";
895
+ readonly internalType: "bytes32";
896
+ }];
897
+ readonly outputs: readonly [];
898
+ readonly stateMutability: "nonpayable";
633
899
  }, {
634
900
  readonly type: "function";
635
901
  readonly name: "setVkTreeRoot";
@@ -674,23 +940,27 @@ export declare const RollupAbi: readonly [{
674
940
  readonly name: "archiveOfMyBlock";
675
941
  readonly type: "bytes32";
676
942
  readonly internalType: "bytes32";
943
+ }, {
944
+ readonly name: "provenEpochNumber";
945
+ readonly type: "uint256";
946
+ readonly internalType: "Epoch";
677
947
  }];
678
948
  readonly stateMutability: "view";
679
949
  }, {
680
950
  readonly type: "function";
681
- readonly name: "submitBlockRootProof";
951
+ readonly name: "submitEpochRootProof";
682
952
  readonly inputs: readonly [{
683
- readonly name: "_header";
684
- readonly type: "bytes";
685
- readonly internalType: "bytes";
953
+ readonly name: "_epochSize";
954
+ readonly type: "uint256";
955
+ readonly internalType: "uint256";
686
956
  }, {
687
- readonly name: "_archive";
688
- readonly type: "bytes32";
689
- readonly internalType: "bytes32";
957
+ readonly name: "_args";
958
+ readonly type: "bytes32[7]";
959
+ readonly internalType: "bytes32[7]";
690
960
  }, {
691
- readonly name: "_proverId";
692
- readonly type: "bytes32";
693
- readonly internalType: "bytes32";
961
+ readonly name: "_fees";
962
+ readonly type: "bytes32[]";
963
+ readonly internalType: "bytes32[]";
694
964
  }, {
695
965
  readonly name: "_aggregationObject";
696
966
  readonly type: "bytes";
@@ -726,6 +996,63 @@ export declare const RollupAbi: readonly [{
726
996
  }];
727
997
  readonly outputs: readonly [];
728
998
  readonly stateMutability: "nonpayable";
999
+ }, {
1000
+ readonly type: "function";
1001
+ readonly name: "validateEpochProofRightClaim";
1002
+ readonly inputs: readonly [{
1003
+ readonly name: "_quote";
1004
+ readonly type: "tuple";
1005
+ readonly internalType: "struct EpochProofQuoteLib.SignedEpochProofQuote";
1006
+ readonly components: readonly [{
1007
+ readonly name: "quote";
1008
+ readonly type: "tuple";
1009
+ readonly internalType: "struct EpochProofQuoteLib.EpochProofQuote";
1010
+ readonly components: readonly [{
1011
+ readonly name: "epochToProve";
1012
+ readonly type: "uint256";
1013
+ readonly internalType: "Epoch";
1014
+ }, {
1015
+ readonly name: "validUntilSlot";
1016
+ readonly type: "uint256";
1017
+ readonly internalType: "Slot";
1018
+ }, {
1019
+ readonly name: "bondAmount";
1020
+ readonly type: "uint256";
1021
+ readonly internalType: "uint256";
1022
+ }, {
1023
+ readonly name: "prover";
1024
+ readonly type: "address";
1025
+ readonly internalType: "address";
1026
+ }, {
1027
+ readonly name: "basisPointFee";
1028
+ readonly type: "uint32";
1029
+ readonly internalType: "uint32";
1030
+ }];
1031
+ }, {
1032
+ readonly name: "signature";
1033
+ readonly type: "tuple";
1034
+ readonly internalType: "struct SignatureLib.Signature";
1035
+ readonly components: readonly [{
1036
+ readonly name: "isEmpty";
1037
+ readonly type: "bool";
1038
+ readonly internalType: "bool";
1039
+ }, {
1040
+ readonly name: "v";
1041
+ readonly type: "uint8";
1042
+ readonly internalType: "uint8";
1043
+ }, {
1044
+ readonly name: "r";
1045
+ readonly type: "bytes32";
1046
+ readonly internalType: "bytes32";
1047
+ }, {
1048
+ readonly name: "s";
1049
+ readonly type: "bytes32";
1050
+ readonly internalType: "bytes32";
1051
+ }];
1052
+ }];
1053
+ }];
1054
+ readonly outputs: readonly [];
1055
+ readonly stateMutability: "view";
729
1056
  }, {
730
1057
  readonly type: "function";
731
1058
  readonly name: "validateHeader";
@@ -761,7 +1088,7 @@ export declare const RollupAbi: readonly [{
761
1088
  }, {
762
1089
  readonly name: "_currentTime";
763
1090
  readonly type: "uint256";
764
- readonly internalType: "uint256";
1091
+ readonly internalType: "Timestamp";
765
1092
  }, {
766
1093
  readonly name: "_txsEffectsHash";
767
1094
  readonly type: "bytes32";
@@ -782,16 +1109,6 @@ export declare const RollupAbi: readonly [{
782
1109
  }];
783
1110
  readonly outputs: readonly [];
784
1111
  readonly stateMutability: "view";
785
- }, {
786
- readonly type: "function";
787
- readonly name: "verifier";
788
- readonly inputs: readonly [];
789
- readonly outputs: readonly [{
790
- readonly name: "";
791
- readonly type: "address";
792
- readonly internalType: "contract IVerifier";
793
- }];
794
- readonly stateMutability: "view";
795
1112
  }, {
796
1113
  readonly type: "function";
797
1114
  readonly name: "vkTreeRoot";
@@ -802,6 +1119,11 @@ export declare const RollupAbi: readonly [{
802
1119
  readonly internalType: "bytes32";
803
1120
  }];
804
1121
  readonly stateMutability: "view";
1122
+ }, {
1123
+ readonly type: "event";
1124
+ readonly name: "EIP712DomainChanged";
1125
+ readonly inputs: readonly [];
1126
+ readonly anonymous: false;
805
1127
  }, {
806
1128
  readonly type: "event";
807
1129
  readonly name: "L2BlockProposed";
@@ -854,7 +1176,7 @@ export declare const RollupAbi: readonly [{
854
1176
  readonly name: "epoch";
855
1177
  readonly type: "uint256";
856
1178
  readonly indexed: true;
857
- readonly internalType: "uint256";
1179
+ readonly internalType: "Epoch";
858
1180
  }, {
859
1181
  readonly name: "bondProvider";
860
1182
  readonly type: "address";
@@ -874,7 +1196,7 @@ export declare const RollupAbi: readonly [{
874
1196
  readonly name: "currentSlot";
875
1197
  readonly type: "uint256";
876
1198
  readonly indexed: false;
877
- readonly internalType: "uint256";
1199
+ readonly internalType: "Slot";
878
1200
  }];
879
1201
  readonly anonymous: false;
880
1202
  }, {
@@ -910,12 +1232,16 @@ export declare const RollupAbi: readonly [{
910
1232
  readonly inputs: readonly [{
911
1233
  readonly name: "expected";
912
1234
  readonly type: "uint256";
913
- readonly internalType: "uint256";
1235
+ readonly internalType: "Slot";
914
1236
  }, {
915
1237
  readonly name: "actual";
916
1238
  readonly type: "uint256";
917
- readonly internalType: "uint256";
1239
+ readonly internalType: "Slot";
918
1240
  }];
1241
+ }, {
1242
+ readonly type: "error";
1243
+ readonly name: "InvalidShortString";
1244
+ readonly inputs: readonly [];
919
1245
  }, {
920
1246
  readonly type: "error";
921
1247
  readonly name: "Leonidas__InsufficientAttestations";
@@ -980,6 +1306,18 @@ export declare const RollupAbi: readonly [{
980
1306
  readonly type: "uint256";
981
1307
  readonly internalType: "uint256";
982
1308
  }];
1309
+ }, {
1310
+ readonly type: "error";
1311
+ readonly name: "Rollup__InsufficientFundsInEscrow";
1312
+ readonly inputs: readonly [{
1313
+ readonly name: "required";
1314
+ readonly type: "uint256";
1315
+ readonly internalType: "uint256";
1316
+ }, {
1317
+ readonly name: "available";
1318
+ readonly type: "uint256";
1319
+ readonly internalType: "uint256";
1320
+ }];
983
1321
  }, {
984
1322
  readonly type: "error";
985
1323
  readonly name: "Rollup__InvalidArchive";
@@ -992,6 +1330,18 @@ export declare const RollupAbi: readonly [{
992
1330
  readonly type: "bytes32";
993
1331
  readonly internalType: "bytes32";
994
1332
  }];
1333
+ }, {
1334
+ readonly type: "error";
1335
+ readonly name: "Rollup__InvalidBlockHash";
1336
+ readonly inputs: readonly [{
1337
+ readonly name: "expected";
1338
+ readonly type: "bytes32";
1339
+ readonly internalType: "bytes32";
1340
+ }, {
1341
+ readonly name: "actual";
1342
+ readonly type: "bytes32";
1343
+ readonly internalType: "bytes32";
1344
+ }];
995
1345
  }, {
996
1346
  readonly type: "error";
997
1347
  readonly name: "Rollup__InvalidBlockNumber";
@@ -1022,11 +1372,11 @@ export declare const RollupAbi: readonly [{
1022
1372
  readonly inputs: readonly [{
1023
1373
  readonly name: "expected";
1024
1374
  readonly type: "uint256";
1025
- readonly internalType: "uint256";
1375
+ readonly internalType: "Epoch";
1026
1376
  }, {
1027
1377
  readonly name: "actual";
1028
1378
  readonly type: "uint256";
1029
- readonly internalType: "uint256";
1379
+ readonly internalType: "Epoch";
1030
1380
  }];
1031
1381
  }, {
1032
1382
  readonly type: "error";
@@ -1042,11 +1392,19 @@ export declare const RollupAbi: readonly [{
1042
1392
  }];
1043
1393
  }, {
1044
1394
  readonly type: "error";
1045
- readonly name: "Rollup__InvalidProof";
1046
- readonly inputs: readonly [];
1395
+ readonly name: "Rollup__InvalidPreviousArchive";
1396
+ readonly inputs: readonly [{
1397
+ readonly name: "expected";
1398
+ readonly type: "bytes32";
1399
+ readonly internalType: "bytes32";
1400
+ }, {
1401
+ readonly name: "actual";
1402
+ readonly type: "bytes32";
1403
+ readonly internalType: "bytes32";
1404
+ }];
1047
1405
  }, {
1048
1406
  readonly type: "error";
1049
- readonly name: "Rollup__InvalidProposedArchive";
1407
+ readonly name: "Rollup__InvalidPreviousBlockHash";
1050
1408
  readonly inputs: readonly [{
1051
1409
  readonly name: "expected";
1052
1410
  readonly type: "bytes32";
@@ -1056,17 +1414,21 @@ export declare const RollupAbi: readonly [{
1056
1414
  readonly type: "bytes32";
1057
1415
  readonly internalType: "bytes32";
1058
1416
  }];
1417
+ }, {
1418
+ readonly type: "error";
1419
+ readonly name: "Rollup__InvalidProof";
1420
+ readonly inputs: readonly [];
1059
1421
  }, {
1060
1422
  readonly type: "error";
1061
1423
  readonly name: "Rollup__InvalidTimestamp";
1062
1424
  readonly inputs: readonly [{
1063
1425
  readonly name: "expected";
1064
1426
  readonly type: "uint256";
1065
- readonly internalType: "uint256";
1427
+ readonly internalType: "Timestamp";
1066
1428
  }, {
1067
1429
  readonly name: "actual";
1068
1430
  readonly type: "uint256";
1069
- readonly internalType: "uint256";
1431
+ readonly internalType: "Timestamp";
1070
1432
  }];
1071
1433
  }, {
1072
1434
  readonly type: "error";
@@ -1084,21 +1446,17 @@ export declare const RollupAbi: readonly [{
1084
1446
  readonly type: "error";
1085
1447
  readonly name: "Rollup__NoEpochToProve";
1086
1448
  readonly inputs: readonly [];
1087
- }, {
1088
- readonly type: "error";
1089
- readonly name: "Rollup__NonSequentialProving";
1090
- readonly inputs: readonly [];
1091
1449
  }, {
1092
1450
  readonly type: "error";
1093
1451
  readonly name: "Rollup__NotClaimingCorrectEpoch";
1094
1452
  readonly inputs: readonly [{
1095
1453
  readonly name: "expected";
1096
1454
  readonly type: "uint256";
1097
- readonly internalType: "uint256";
1455
+ readonly internalType: "Epoch";
1098
1456
  }, {
1099
1457
  readonly name: "actual";
1100
1458
  readonly type: "uint256";
1101
- readonly internalType: "uint256";
1459
+ readonly internalType: "Epoch";
1102
1460
  }];
1103
1461
  }, {
1104
1462
  readonly type: "error";
@@ -1126,11 +1484,11 @@ export declare const RollupAbi: readonly [{
1126
1484
  readonly inputs: readonly [{
1127
1485
  readonly name: "currentSlot";
1128
1486
  readonly type: "uint256";
1129
- readonly internalType: "uint256";
1487
+ readonly internalType: "Slot";
1130
1488
  }, {
1131
1489
  readonly name: "quoteSlot";
1132
1490
  readonly type: "uint256";
1133
- readonly internalType: "uint256";
1491
+ readonly internalType: "Slot";
1134
1492
  }];
1135
1493
  }, {
1136
1494
  readonly type: "error";
@@ -1138,19 +1496,11 @@ export declare const RollupAbi: readonly [{
1138
1496
  readonly inputs: readonly [{
1139
1497
  readonly name: "lastSlot";
1140
1498
  readonly type: "uint256";
1141
- readonly internalType: "uint256";
1499
+ readonly internalType: "Slot";
1142
1500
  }, {
1143
1501
  readonly name: "proposedSlot";
1144
1502
  readonly type: "uint256";
1145
- readonly internalType: "uint256";
1146
- }];
1147
- }, {
1148
- readonly type: "error";
1149
- readonly name: "Rollup__SlotValueTooLarge";
1150
- readonly inputs: readonly [{
1151
- readonly name: "slot";
1152
- readonly type: "uint256";
1153
- readonly internalType: "uint256";
1503
+ readonly internalType: "Slot";
1154
1504
  }];
1155
1505
  }, {
1156
1506
  readonly type: "error";
@@ -1158,16 +1508,12 @@ export declare const RollupAbi: readonly [{
1158
1508
  readonly inputs: readonly [{
1159
1509
  readonly name: "max";
1160
1510
  readonly type: "uint256";
1161
- readonly internalType: "uint256";
1511
+ readonly internalType: "Timestamp";
1162
1512
  }, {
1163
1513
  readonly name: "actual";
1164
1514
  readonly type: "uint256";
1165
- readonly internalType: "uint256";
1515
+ readonly internalType: "Timestamp";
1166
1516
  }];
1167
- }, {
1168
- readonly type: "error";
1169
- readonly name: "Rollup__TryingToProveNonExistingBlock";
1170
- readonly inputs: readonly [];
1171
1517
  }, {
1172
1518
  readonly type: "error";
1173
1519
  readonly name: "Rollup__UnavailableTxs";
@@ -1176,18 +1522,6 @@ export declare const RollupAbi: readonly [{
1176
1522
  readonly type: "bytes32";
1177
1523
  readonly internalType: "bytes32";
1178
1524
  }];
1179
- }, {
1180
- readonly type: "error";
1181
- readonly name: "SafeCastOverflowedUintDowncast";
1182
- readonly inputs: readonly [{
1183
- readonly name: "bits";
1184
- readonly type: "uint8";
1185
- readonly internalType: "uint8";
1186
- }, {
1187
- readonly name: "value";
1188
- readonly type: "uint256";
1189
- readonly internalType: "uint256";
1190
- }];
1191
1525
  }, {
1192
1526
  readonly type: "error";
1193
1527
  readonly name: "SampleLib__IndexOutOfBounds";
@@ -1216,6 +1550,14 @@ export declare const RollupAbi: readonly [{
1216
1550
  readonly type: "address";
1217
1551
  readonly internalType: "address";
1218
1552
  }];
1553
+ }, {
1554
+ readonly type: "error";
1555
+ readonly name: "StringTooLong";
1556
+ readonly inputs: readonly [{
1557
+ readonly name: "str";
1558
+ readonly type: "string";
1559
+ readonly internalType: "string";
1560
+ }];
1219
1561
  }, {
1220
1562
  readonly type: "error";
1221
1563
  readonly name: "TxsDecoder__InvalidLogsLength";