@aztec/l1-artifacts 0.82.2 → 0.82.3-nightly.20250403

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 (147) hide show
  1. package/dest/CoinIssuerAbi.d.ts +31 -15
  2. package/dest/CoinIssuerAbi.d.ts.map +1 -1
  3. package/dest/CoinIssuerAbi.js +40 -19
  4. package/dest/CoinIssuerBytecode.d.ts +1 -1
  5. package/dest/CoinIssuerBytecode.js +1 -1
  6. package/dest/EmpireBaseAbi.d.ts +31 -15
  7. package/dest/EmpireBaseAbi.d.ts.map +1 -1
  8. package/dest/EmpireBaseAbi.js +40 -19
  9. package/dest/ErrorsAbi.d.ts +31 -15
  10. package/dest/ErrorsAbi.d.ts.map +1 -1
  11. package/dest/ErrorsAbi.js +40 -19
  12. package/dest/ExtRollupLibAbi.d.ts +43 -15
  13. package/dest/ExtRollupLibAbi.d.ts.map +1 -1
  14. package/dest/ExtRollupLibAbi.js +56 -19
  15. package/dest/ExtRollupLibBytecode.d.ts +1 -1
  16. package/dest/ExtRollupLibBytecode.d.ts.map +1 -1
  17. package/dest/ExtRollupLibBytecode.js +1 -1
  18. package/dest/FeeAssetHandlerAbi.d.ts +31 -15
  19. package/dest/FeeAssetHandlerAbi.d.ts.map +1 -1
  20. package/dest/FeeAssetHandlerAbi.js +40 -19
  21. package/dest/FeeAssetHandlerBytecode.d.ts +1 -1
  22. package/dest/FeeAssetHandlerBytecode.js +1 -1
  23. package/dest/FeeJuicePortalAbi.d.ts +63 -49
  24. package/dest/FeeJuicePortalAbi.d.ts.map +1 -1
  25. package/dest/FeeJuicePortalAbi.js +79 -60
  26. package/dest/FeeJuicePortalBytecode.d.ts +1 -1
  27. package/dest/FeeJuicePortalBytecode.d.ts.map +1 -1
  28. package/dest/FeeJuicePortalBytecode.js +1 -1
  29. package/dest/ForwarderAbi.d.ts +31 -15
  30. package/dest/ForwarderAbi.d.ts.map +1 -1
  31. package/dest/ForwarderAbi.js +40 -19
  32. package/dest/GovernanceAbi.d.ts +31 -15
  33. package/dest/GovernanceAbi.d.ts.map +1 -1
  34. package/dest/GovernanceAbi.js +40 -19
  35. package/dest/GovernanceBytecode.d.ts +1 -1
  36. package/dest/GovernanceBytecode.js +1 -1
  37. package/dest/GovernanceProposerAbi.d.ts +31 -15
  38. package/dest/GovernanceProposerAbi.d.ts.map +1 -1
  39. package/dest/GovernanceProposerAbi.js +40 -19
  40. package/dest/GovernanceProposerBytecode.d.ts +1 -1
  41. package/dest/GovernanceProposerBytecode.js +1 -1
  42. package/dest/HonkVerifierAbi.d.ts +31 -15
  43. package/dest/HonkVerifierAbi.d.ts.map +1 -1
  44. package/dest/HonkVerifierAbi.js +40 -19
  45. package/dest/HonkVerifierBytecode.d.ts +1 -1
  46. package/dest/HonkVerifierBytecode.js +1 -1
  47. package/dest/IERC20Abi.d.ts +31 -15
  48. package/dest/IERC20Abi.d.ts.map +1 -1
  49. package/dest/IERC20Abi.js +40 -19
  50. package/dest/IVerifierAbi.d.ts +31 -15
  51. package/dest/IVerifierAbi.d.ts.map +1 -1
  52. package/dest/IVerifierAbi.js +40 -19
  53. package/dest/InboxAbi.d.ts +69 -15
  54. package/dest/InboxAbi.d.ts.map +1 -1
  55. package/dest/InboxAbi.js +89 -19
  56. package/dest/InboxBytecode.d.ts +1 -1
  57. package/dest/InboxBytecode.d.ts.map +1 -1
  58. package/dest/InboxBytecode.js +1 -1
  59. package/dest/MockVerifierAbi.d.ts +31 -15
  60. package/dest/MockVerifierAbi.d.ts.map +1 -1
  61. package/dest/MockVerifierAbi.js +40 -19
  62. package/dest/NewGovernanceProposerPayloadAbi.d.ts +31 -15
  63. package/dest/NewGovernanceProposerPayloadAbi.d.ts.map +1 -1
  64. package/dest/NewGovernanceProposerPayloadAbi.js +40 -19
  65. package/dest/NewGovernanceProposerPayloadBytecode.d.ts +1 -1
  66. package/dest/NewGovernanceProposerPayloadBytecode.js +1 -1
  67. package/dest/OutboxAbi.d.ts +46 -16
  68. package/dest/OutboxAbi.d.ts.map +1 -1
  69. package/dest/OutboxAbi.js +59 -20
  70. package/dest/OutboxBytecode.d.ts +1 -1
  71. package/dest/OutboxBytecode.d.ts.map +1 -1
  72. package/dest/OutboxBytecode.js +1 -1
  73. package/dest/RegisterNewRollupVersionPayloadAbi.d.ts +31 -15
  74. package/dest/RegisterNewRollupVersionPayloadAbi.d.ts.map +1 -1
  75. package/dest/RegisterNewRollupVersionPayloadAbi.js +40 -19
  76. package/dest/RegisterNewRollupVersionPayloadBytecode.d.ts +1 -1
  77. package/dest/RegisterNewRollupVersionPayloadBytecode.js +1 -1
  78. package/dest/RegistryAbi.d.ts +70 -66
  79. package/dest/RegistryAbi.d.ts.map +1 -1
  80. package/dest/RegistryAbi.js +86 -83
  81. package/dest/RegistryBytecode.d.ts +1 -1
  82. package/dest/RegistryBytecode.d.ts.map +1 -1
  83. package/dest/RegistryBytecode.js +1 -1
  84. package/dest/RewardDistributorAbi.d.ts +37 -41
  85. package/dest/RewardDistributorAbi.d.ts.map +1 -1
  86. package/dest/RewardDistributorAbi.js +46 -51
  87. package/dest/RewardDistributorBytecode.d.ts +1 -1
  88. package/dest/RewardDistributorBytecode.d.ts.map +1 -1
  89. package/dest/RewardDistributorBytecode.js +1 -1
  90. package/dest/RollupAbi.d.ts +46 -18
  91. package/dest/RollupAbi.d.ts.map +1 -1
  92. package/dest/RollupAbi.js +59 -22
  93. package/dest/RollupBytecode.d.ts +6 -6
  94. package/dest/RollupBytecode.d.ts.map +1 -1
  95. package/dest/RollupBytecode.js +6 -6
  96. package/dest/RollupStorage.d.ts +2 -2
  97. package/dest/RollupStorage.js +2 -2
  98. package/dest/SlashFactoryAbi.d.ts +31 -15
  99. package/dest/SlashFactoryAbi.d.ts.map +1 -1
  100. package/dest/SlashFactoryAbi.js +40 -19
  101. package/dest/SlashFactoryBytecode.d.ts +1 -1
  102. package/dest/SlashFactoryBytecode.d.ts.map +1 -1
  103. package/dest/SlashFactoryBytecode.js +1 -1
  104. package/dest/SlasherAbi.d.ts +31 -15
  105. package/dest/SlasherAbi.d.ts.map +1 -1
  106. package/dest/SlasherAbi.js +40 -19
  107. package/dest/SlasherBytecode.d.ts +1 -1
  108. package/dest/SlasherBytecode.js +1 -1
  109. package/dest/SlashingProposerAbi.d.ts +31 -15
  110. package/dest/SlashingProposerAbi.d.ts.map +1 -1
  111. package/dest/SlashingProposerAbi.js +40 -19
  112. package/dest/SlashingProposerBytecode.d.ts +1 -1
  113. package/dest/SlashingProposerBytecode.js +1 -1
  114. package/dest/StakingAssetHandlerAbi.d.ts +1522 -0
  115. package/dest/StakingAssetHandlerAbi.d.ts.map +1 -0
  116. package/dest/StakingAssetHandlerAbi.js +2006 -0
  117. package/dest/StakingAssetHandlerBytecode.d.ts +9 -0
  118. package/dest/StakingAssetHandlerBytecode.d.ts.map +1 -0
  119. package/dest/StakingAssetHandlerBytecode.js +6 -0
  120. package/dest/TestERC20Abi.d.ts +32 -16
  121. package/dest/TestERC20Abi.d.ts.map +1 -1
  122. package/dest/TestERC20Abi.js +41 -20
  123. package/dest/TestERC20Bytecode.d.ts +1 -1
  124. package/dest/TestERC20Bytecode.js +1 -1
  125. package/dest/TokenPortalAbi.d.ts +71 -15
  126. package/dest/TokenPortalAbi.d.ts.map +1 -1
  127. package/dest/TokenPortalAbi.js +92 -19
  128. package/dest/TokenPortalBytecode.d.ts +1 -1
  129. package/dest/TokenPortalBytecode.d.ts.map +1 -1
  130. package/dest/TokenPortalBytecode.js +1 -1
  131. package/dest/UniswapPortalAbi.d.ts +61 -15
  132. package/dest/UniswapPortalAbi.d.ts.map +1 -1
  133. package/dest/UniswapPortalAbi.js +79 -19
  134. package/dest/UniswapPortalBytecode.d.ts +1 -1
  135. package/dest/UniswapPortalBytecode.d.ts.map +1 -1
  136. package/dest/UniswapPortalBytecode.js +1 -1
  137. package/dest/ValidatorSelectionLibAbi.d.ts +31 -15
  138. package/dest/ValidatorSelectionLibAbi.d.ts.map +1 -1
  139. package/dest/ValidatorSelectionLibAbi.js +40 -19
  140. package/dest/ValidatorSelectionLibBytecode.d.ts +1 -1
  141. package/dest/ValidatorSelectionLibBytecode.js +1 -1
  142. package/dest/checksum.d.ts +1 -1
  143. package/dest/checksum.js +1 -1
  144. package/dest/index.d.ts +2 -0
  145. package/dest/index.d.ts.map +1 -1
  146. package/dest/index.js +2 -0
  147. package/package.json +1 -1
@@ -385,6 +385,18 @@ export declare const RegisterNewRollupVersionPayloadAbi: readonly [{
385
385
  readonly type: "error";
386
386
  readonly name: "Inbox__Unauthorized";
387
387
  readonly inputs: readonly [];
388
+ }, {
389
+ readonly type: "error";
390
+ readonly name: "Inbox__VersionMismatch";
391
+ readonly inputs: readonly [{
392
+ readonly name: "expected";
393
+ readonly type: "uint256";
394
+ readonly internalType: "uint256";
395
+ }, {
396
+ readonly name: "actual";
397
+ readonly type: "uint256";
398
+ readonly internalType: "uint256";
399
+ }];
388
400
  }, {
389
401
  readonly type: "error";
390
402
  readonly name: "MerkleLib__InvalidRoot";
@@ -485,18 +497,6 @@ export declare const RegisterNewRollupVersionPayloadAbi: readonly [{
485
497
  readonly type: "address";
486
498
  readonly internalType: "address";
487
499
  }];
488
- }, {
489
- readonly type: "error";
490
- readonly name: "Outbox__InvalidVersion";
491
- readonly inputs: readonly [{
492
- readonly name: "entry";
493
- readonly type: "uint256";
494
- readonly internalType: "uint256";
495
- }, {
496
- readonly name: "message";
497
- readonly type: "uint256";
498
- readonly internalType: "uint256";
499
- }];
500
500
  }, {
501
501
  readonly type: "error";
502
502
  readonly name: "Outbox__NothingToConsume";
@@ -525,6 +525,18 @@ export declare const RegisterNewRollupVersionPayloadAbi: readonly [{
525
525
  readonly type: "error";
526
526
  readonly name: "Outbox__Unauthorized";
527
527
  readonly inputs: readonly [];
528
+ }, {
529
+ readonly type: "error";
530
+ readonly name: "Outbox__VersionMismatch";
531
+ readonly inputs: readonly [{
532
+ readonly name: "expected";
533
+ readonly type: "uint256";
534
+ readonly internalType: "uint256";
535
+ }, {
536
+ readonly name: "actual";
537
+ readonly type: "uint256";
538
+ readonly internalType: "uint256";
539
+ }];
528
540
  }, {
529
541
  readonly type: "error";
530
542
  readonly name: "ProofCommitmentEscrow__InsufficientBalance";
@@ -577,6 +589,10 @@ export declare const RegisterNewRollupVersionPayloadAbi: readonly [{
577
589
  readonly internalType: "address";
578
590
  }];
579
591
  readonly stateMutability: "view";
592
+ }, {
593
+ readonly type: "error";
594
+ readonly name: "Registry__NoRollupsRegistered";
595
+ readonly inputs: readonly [];
580
596
  }, {
581
597
  readonly type: "error";
582
598
  readonly name: "Registry__RollupAlreadyRegistered";
@@ -589,9 +605,9 @@ export declare const RegisterNewRollupVersionPayloadAbi: readonly [{
589
605
  readonly type: "error";
590
606
  readonly name: "Registry__RollupNotRegistered";
591
607
  readonly inputs: readonly [{
592
- readonly name: "rollup";
593
- readonly type: "address";
594
- readonly internalType: "address";
608
+ readonly name: "version";
609
+ readonly type: "uint256";
610
+ readonly internalType: "uint256";
595
611
  }];
596
612
  }, {
597
613
  readonly type: "error";
@@ -1 +1 @@
1
- {"version":3,"file":"RegisterNewRollupVersionPayloadAbi.d.ts","sourceRoot":"","sources":["../src/RegisterNewRollupVersionPayloadAbi.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkhDrC,CAAC"}
@@ -507,6 +507,22 @@
507
507
  "name": "Inbox__Unauthorized",
508
508
  "inputs": []
509
509
  },
510
+ {
511
+ "type": "error",
512
+ "name": "Inbox__VersionMismatch",
513
+ "inputs": [
514
+ {
515
+ "name": "expected",
516
+ "type": "uint256",
517
+ "internalType": "uint256"
518
+ },
519
+ {
520
+ "name": "actual",
521
+ "type": "uint256",
522
+ "internalType": "uint256"
523
+ }
524
+ ]
525
+ },
510
526
  {
511
527
  "type": "error",
512
528
  "name": "MerkleLib__InvalidRoot",
@@ -638,22 +654,6 @@
638
654
  }
639
655
  ]
640
656
  },
641
- {
642
- "type": "error",
643
- "name": "Outbox__InvalidVersion",
644
- "inputs": [
645
- {
646
- "name": "entry",
647
- "type": "uint256",
648
- "internalType": "uint256"
649
- },
650
- {
651
- "name": "message",
652
- "type": "uint256",
653
- "internalType": "uint256"
654
- }
655
- ]
656
- },
657
657
  {
658
658
  "type": "error",
659
659
  "name": "Outbox__NothingToConsume",
@@ -692,6 +692,22 @@
692
692
  "name": "Outbox__Unauthorized",
693
693
  "inputs": []
694
694
  },
695
+ {
696
+ "type": "error",
697
+ "name": "Outbox__VersionMismatch",
698
+ "inputs": [
699
+ {
700
+ "name": "expected",
701
+ "type": "uint256",
702
+ "internalType": "uint256"
703
+ },
704
+ {
705
+ "name": "actual",
706
+ "type": "uint256",
707
+ "internalType": "uint256"
708
+ }
709
+ ]
710
+ },
695
711
  {
696
712
  "type": "error",
697
713
  "name": "ProofCommitmentEscrow__InsufficientBalance",
@@ -761,6 +777,11 @@
761
777
  ],
762
778
  "stateMutability": "view"
763
779
  },
780
+ {
781
+ "type": "error",
782
+ "name": "Registry__NoRollupsRegistered",
783
+ "inputs": []
784
+ },
764
785
  {
765
786
  "type": "error",
766
787
  "name": "Registry__RollupAlreadyRegistered",
@@ -777,9 +798,9 @@
777
798
  "name": "Registry__RollupNotRegistered",
778
799
  "inputs": [
779
800
  {
780
- "name": "rollup",
781
- "type": "address",
782
- "internalType": "address"
801
+ "name": "version",
802
+ "type": "uint256",
803
+ "internalType": "uint256"
783
804
  }
784
805
  ]
785
806
  },
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * RegisterNewRollupVersionPayload bytecode.
3
3
  */
4
- export declare const RegisterNewRollupVersionPayloadBytecode = "0x60c060405234801561000f575f5ffd5b5060405161036f38038061036f83398101604081905261002e9161005c565b6001600160a01b039182166080521660a052610094565b6001600160a01b0381168114610059575f5ffd5b50565b5f5f6040838503121561006d575f5ffd5b825161007881610045565b602084015190925061008981610045565b809150509250929050565b60805160a0516102ae6100c15f395f818160a1015261013e01525f81816048015261010e01526102ae5ff3fe608060405234801561000f575f5ffd5b506004361061003f575f3560e01c806306433b1b14610043578063504d080b146100875780639611c5c21461009c575b5f5ffd5b61006a7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b61008f6100c3565b60405161007e91906101c1565b61006a7f000000000000000000000000000000000000000000000000000000000000000081565b6040805160018082528183019092526060915f9190816020015b604080518082019091525f8152606060208201528152602001906001900390816100dd5750506040805180820182527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03908116825282517f0000000000000000000000000000000000000000000000000000000000000000909116602480830191909152835180830390910181526044909101909252602082810180516001600160e01b031662900f0160e41b17905281019190915281519192509082905f906101b1576101b1610264565b6020908102919091010152919050565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b8281101561025857868503603f19018452815180516001600160a01b0316865260209081015160408288018190528151908801819052909181908301606089015e5f606082890101526060601f19601f830116880101965050506020820191506020840193506001810190506101e7565b50929695505050505050565b634e487b7160e01b5f52603260045260245ffdfea26469706673582212202f0c78be70a47b8a8046ddec2bdb29fc06ec66be4778cba6e0dc475109c95be564736f6c634300081b0033";
4
+ export declare const RegisterNewRollupVersionPayloadBytecode = "0x60c060405234801561000f575f5ffd5b5060405161036f38038061036f83398101604081905261002e9161005c565b6001600160a01b039182166080521660a052610094565b6001600160a01b0381168114610059575f5ffd5b50565b5f5f6040838503121561006d575f5ffd5b825161007881610045565b602084015190925061008981610045565b809150509250929050565b60805160a0516102ae6100c15f395f818160a1015261013e01525f81816048015261010e01526102ae5ff3fe608060405234801561000f575f5ffd5b506004361061003f575f3560e01c806306433b1b14610043578063504d080b146100875780639611c5c21461009c575b5f5ffd5b61006a7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b61008f6100c3565b60405161007e91906101c1565b61006a7f000000000000000000000000000000000000000000000000000000000000000081565b6040805160018082528183019092526060915f9190816020015b604080518082019091525f8152606060208201528152602001906001900390816100dd5750506040805180820182527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03908116825282517f0000000000000000000000000000000000000000000000000000000000000000909116602480830191909152835180830390910181526044909101909252602082810180516001600160e01b03166259264f60e81b17905281019190915281519192509082905f906101b1576101b1610264565b6020908102919091010152919050565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b8281101561025857868503603f19018452815180516001600160a01b0316865260209081015160408288018190528151908801819052909181908301606089015e5f606082890101526060601f19601f830116880101965050506020820191506020840193506001810190506101e7565b50929695505050505050565b634e487b7160e01b5f52603260045260245ffdfea2646970667358221220320ed3a61ebd2d3a63d2cb8b084832c8ce70c2b50026e7a53a634728cfa4146064736f6c634300081b0033";
5
5
  /**
6
6
  * RegisterNewRollupVersionPayload link references.
7
7
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * RegisterNewRollupVersionPayload bytecode.
3
- */ export const RegisterNewRollupVersionPayloadBytecode = "0x60c060405234801561000f575f5ffd5b5060405161036f38038061036f83398101604081905261002e9161005c565b6001600160a01b039182166080521660a052610094565b6001600160a01b0381168114610059575f5ffd5b50565b5f5f6040838503121561006d575f5ffd5b825161007881610045565b602084015190925061008981610045565b809150509250929050565b60805160a0516102ae6100c15f395f818160a1015261013e01525f81816048015261010e01526102ae5ff3fe608060405234801561000f575f5ffd5b506004361061003f575f3560e01c806306433b1b14610043578063504d080b146100875780639611c5c21461009c575b5f5ffd5b61006a7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b61008f6100c3565b60405161007e91906101c1565b61006a7f000000000000000000000000000000000000000000000000000000000000000081565b6040805160018082528183019092526060915f9190816020015b604080518082019091525f8152606060208201528152602001906001900390816100dd5750506040805180820182527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03908116825282517f0000000000000000000000000000000000000000000000000000000000000000909116602480830191909152835180830390910181526044909101909252602082810180516001600160e01b031662900f0160e41b17905281019190915281519192509082905f906101b1576101b1610264565b6020908102919091010152919050565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b8281101561025857868503603f19018452815180516001600160a01b0316865260209081015160408288018190528151908801819052909181908301606089015e5f606082890101526060601f19601f830116880101965050506020820191506020840193506001810190506101e7565b50929695505050505050565b634e487b7160e01b5f52603260045260245ffdfea26469706673582212202f0c78be70a47b8a8046ddec2bdb29fc06ec66be4778cba6e0dc475109c95be564736f6c634300081b0033";
3
+ */ export const RegisterNewRollupVersionPayloadBytecode = "0x60c060405234801561000f575f5ffd5b5060405161036f38038061036f83398101604081905261002e9161005c565b6001600160a01b039182166080521660a052610094565b6001600160a01b0381168114610059575f5ffd5b50565b5f5f6040838503121561006d575f5ffd5b825161007881610045565b602084015190925061008981610045565b809150509250929050565b60805160a0516102ae6100c15f395f818160a1015261013e01525f81816048015261010e01526102ae5ff3fe608060405234801561000f575f5ffd5b506004361061003f575f3560e01c806306433b1b14610043578063504d080b146100875780639611c5c21461009c575b5f5ffd5b61006a7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b61008f6100c3565b60405161007e91906101c1565b61006a7f000000000000000000000000000000000000000000000000000000000000000081565b6040805160018082528183019092526060915f9190816020015b604080518082019091525f8152606060208201528152602001906001900390816100dd5750506040805180820182527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03908116825282517f0000000000000000000000000000000000000000000000000000000000000000909116602480830191909152835180830390910181526044909101909252602082810180516001600160e01b03166259264f60e81b17905281019190915281519192509082905f906101b1576101b1610264565b6020908102919091010152919050565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b8281101561025857868503603f19018452815180516001600160a01b0316865260209081015160408288018190528151908801819052909181908301606089015e5f606082890101526060601f19601f830116880101965050506020820191506020840193506001810190506101e7565b50929695505050505050565b634e487b7160e01b5f52603260045260245ffdfea2646970667358221220320ed3a61ebd2d3a63d2cb8b084832c8ce70c2b50026e7a53a634728cfa4146064736f6c634300081b0033";
4
4
  /**
5
5
  * RegisterNewRollupVersionPayload link references.
6
6
  */ export const RegisterNewRollupVersionPayloadLinkReferences = {};
@@ -7,6 +7,10 @@ export declare const RegistryAbi: readonly [{
7
7
  readonly name: "_owner";
8
8
  readonly type: "address";
9
9
  readonly internalType: "address";
10
+ }, {
11
+ readonly name: "_rewardAsset";
12
+ readonly type: "address";
13
+ readonly internalType: "contract IERC20";
10
14
  }];
11
15
  readonly stateMutability: "nonpayable";
12
16
  }, {
@@ -161,6 +165,16 @@ export declare const RegistryAbi: readonly [{
161
165
  readonly type: "uint256";
162
166
  readonly internalType: "Slot";
163
167
  }];
168
+ }, {
169
+ readonly type: "event";
170
+ readonly name: "GovernanceUpdated";
171
+ readonly inputs: readonly [{
172
+ readonly name: "governance";
173
+ readonly type: "address";
174
+ readonly indexed: true;
175
+ readonly internalType: "address";
176
+ }];
177
+ readonly anonymous: false;
164
178
  }, {
165
179
  readonly type: "error";
166
180
  readonly name: "Governance__CallFailed";
@@ -381,6 +395,18 @@ export declare const RegistryAbi: readonly [{
381
395
  readonly type: "error";
382
396
  readonly name: "Inbox__Unauthorized";
383
397
  readonly inputs: readonly [];
398
+ }, {
399
+ readonly type: "error";
400
+ readonly name: "Inbox__VersionMismatch";
401
+ readonly inputs: readonly [{
402
+ readonly name: "expected";
403
+ readonly type: "uint256";
404
+ readonly internalType: "uint256";
405
+ }, {
406
+ readonly name: "actual";
407
+ readonly type: "uint256";
408
+ readonly internalType: "uint256";
409
+ }];
384
410
  }, {
385
411
  readonly type: "event";
386
412
  readonly name: "InstanceAdded";
@@ -496,18 +522,6 @@ export declare const RegistryAbi: readonly [{
496
522
  readonly type: "address";
497
523
  readonly internalType: "address";
498
524
  }];
499
- }, {
500
- readonly type: "error";
501
- readonly name: "Outbox__InvalidVersion";
502
- readonly inputs: readonly [{
503
- readonly name: "entry";
504
- readonly type: "uint256";
505
- readonly internalType: "uint256";
506
- }, {
507
- readonly name: "message";
508
- readonly type: "uint256";
509
- readonly internalType: "uint256";
510
- }];
511
525
  }, {
512
526
  readonly type: "error";
513
527
  readonly name: "Outbox__NothingToConsume";
@@ -536,6 +550,18 @@ export declare const RegistryAbi: readonly [{
536
550
  readonly type: "error";
537
551
  readonly name: "Outbox__Unauthorized";
538
552
  readonly inputs: readonly [];
553
+ }, {
554
+ readonly type: "error";
555
+ readonly name: "Outbox__VersionMismatch";
556
+ readonly inputs: readonly [{
557
+ readonly name: "expected";
558
+ readonly type: "uint256";
559
+ readonly internalType: "uint256";
560
+ }, {
561
+ readonly name: "actual";
562
+ readonly type: "uint256";
563
+ readonly internalType: "uint256";
564
+ }];
539
565
  }, {
540
566
  readonly type: "error";
541
567
  readonly name: "OwnableInvalidOwner";
@@ -599,6 +625,10 @@ export declare const RegistryAbi: readonly [{
599
625
  readonly type: "uint256";
600
626
  readonly internalType: "Timestamp";
601
627
  }];
628
+ }, {
629
+ readonly type: "error";
630
+ readonly name: "Registry__NoRollupsRegistered";
631
+ readonly inputs: readonly [];
602
632
  }, {
603
633
  readonly type: "error";
604
634
  readonly name: "Registry__RollupAlreadyRegistered";
@@ -611,9 +641,9 @@ export declare const RegistryAbi: readonly [{
611
641
  readonly type: "error";
612
642
  readonly name: "Registry__RollupNotRegistered";
613
643
  readonly inputs: readonly [{
614
- readonly name: "rollup";
615
- readonly type: "address";
616
- readonly internalType: "address";
644
+ readonly name: "version";
645
+ readonly type: "uint256";
646
+ readonly internalType: "uint256";
617
647
  }];
618
648
  }, {
619
649
  readonly type: "error";
@@ -1161,21 +1191,22 @@ export declare const RegistryAbi: readonly [{
1161
1191
  }];
1162
1192
  }, {
1163
1193
  readonly type: "function";
1164
- readonly name: "getCurrentSnapshot";
1194
+ readonly name: "addRollup";
1195
+ readonly inputs: readonly [{
1196
+ readonly name: "_rollup";
1197
+ readonly type: "address";
1198
+ readonly internalType: "contract IRollup";
1199
+ }];
1200
+ readonly outputs: readonly [];
1201
+ readonly stateMutability: "nonpayable";
1202
+ }, {
1203
+ readonly type: "function";
1204
+ readonly name: "getCanonicalRollup";
1165
1205
  readonly inputs: readonly [];
1166
1206
  readonly outputs: readonly [{
1167
1207
  readonly name: "";
1168
- readonly type: "tuple";
1169
- readonly internalType: "struct DataStructures.RegistrySnapshot";
1170
- readonly components: readonly [{
1171
- readonly name: "rollup";
1172
- readonly type: "address";
1173
- readonly internalType: "address";
1174
- }, {
1175
- readonly name: "blockNumber";
1176
- readonly type: "uint256";
1177
- readonly internalType: "uint256";
1178
- }];
1208
+ readonly type: "address";
1209
+ readonly internalType: "contract IRollup";
1179
1210
  }];
1180
1211
  readonly stateMutability: "view";
1181
1212
  }, {
@@ -1190,17 +1221,17 @@ export declare const RegistryAbi: readonly [{
1190
1221
  readonly stateMutability: "view";
1191
1222
  }, {
1192
1223
  readonly type: "function";
1193
- readonly name: "getRollup";
1224
+ readonly name: "getRewardDistributor";
1194
1225
  readonly inputs: readonly [];
1195
1226
  readonly outputs: readonly [{
1196
1227
  readonly name: "";
1197
1228
  readonly type: "address";
1198
- readonly internalType: "address";
1229
+ readonly internalType: "contract IRewardDistributor";
1199
1230
  }];
1200
1231
  readonly stateMutability: "view";
1201
1232
  }, {
1202
1233
  readonly type: "function";
1203
- readonly name: "getSnapshot";
1234
+ readonly name: "getRollup";
1204
1235
  readonly inputs: readonly [{
1205
1236
  readonly name: "_version";
1206
1237
  readonly type: "uint256";
@@ -1208,45 +1239,22 @@ export declare const RegistryAbi: readonly [{
1208
1239
  }];
1209
1240
  readonly outputs: readonly [{
1210
1241
  readonly name: "";
1211
- readonly type: "tuple";
1212
- readonly internalType: "struct DataStructures.RegistrySnapshot";
1213
- readonly components: readonly [{
1214
- readonly name: "rollup";
1215
- readonly type: "address";
1216
- readonly internalType: "address";
1217
- }, {
1218
- readonly name: "blockNumber";
1219
- readonly type: "uint256";
1220
- readonly internalType: "uint256";
1221
- }];
1242
+ readonly type: "address";
1243
+ readonly internalType: "contract IRollup";
1222
1244
  }];
1223
1245
  readonly stateMutability: "view";
1224
1246
  }, {
1225
1247
  readonly type: "function";
1226
- readonly name: "getVersionFor";
1248
+ readonly name: "getVersion";
1227
1249
  readonly inputs: readonly [{
1228
- readonly name: "_rollup";
1229
- readonly type: "address";
1230
- readonly internalType: "address";
1231
- }];
1232
- readonly outputs: readonly [{
1233
- readonly name: "";
1250
+ readonly name: "_index";
1234
1251
  readonly type: "uint256";
1235
1252
  readonly internalType: "uint256";
1236
1253
  }];
1237
- readonly stateMutability: "view";
1238
- }, {
1239
- readonly type: "function";
1240
- readonly name: "isRollupRegistered";
1241
- readonly inputs: readonly [{
1242
- readonly name: "_rollup";
1243
- readonly type: "address";
1244
- readonly internalType: "address";
1245
- }];
1246
1254
  readonly outputs: readonly [{
1247
1255
  readonly name: "";
1248
- readonly type: "bool";
1249
- readonly internalType: "bool";
1256
+ readonly type: "uint256";
1257
+ readonly internalType: "uint256";
1250
1258
  }];
1251
1259
  readonly stateMutability: "view";
1252
1260
  }, {
@@ -1287,17 +1295,13 @@ export declare const RegistryAbi: readonly [{
1287
1295
  readonly stateMutability: "nonpayable";
1288
1296
  }, {
1289
1297
  readonly type: "function";
1290
- readonly name: "upgrade";
1298
+ readonly name: "updateGovernance";
1291
1299
  readonly inputs: readonly [{
1292
- readonly name: "_rollup";
1300
+ readonly name: "_governance";
1293
1301
  readonly type: "address";
1294
1302
  readonly internalType: "address";
1295
1303
  }];
1296
- readonly outputs: readonly [{
1297
- readonly name: "";
1298
- readonly type: "uint256";
1299
- readonly internalType: "uint256";
1300
- }];
1304
+ readonly outputs: readonly [];
1301
1305
  readonly stateMutability: "nonpayable";
1302
1306
  }];
1303
1307
  //# sourceMappingURL=RegistryAbi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RegistryAbi.d.ts","sourceRoot":"","sources":["../src/RegistryAbi.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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