@aztec/l1-artifacts 0.0.0-test.1 → 0.0.1-commit.5daedc8

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 (224) hide show
  1. package/dest/CoinIssuerAbi.d.ts +1614 -645
  2. package/dest/CoinIssuerAbi.d.ts.map +1 -1
  3. package/dest/CoinIssuerAbi.js +1955 -663
  4. package/dest/CoinIssuerBytecode.d.ts +2 -2
  5. package/dest/CoinIssuerBytecode.d.ts.map +1 -1
  6. package/dest/CoinIssuerBytecode.js +1 -1
  7. package/dest/DateGatedRelayerAbi.d.ts +2158 -0
  8. package/dest/{SlashingProposerAbi.d.ts.map → DateGatedRelayerAbi.d.ts.map} +1 -1
  9. package/dest/DateGatedRelayerAbi.js +2868 -0
  10. package/dest/DateGatedRelayerBytecode.d.ts +9 -0
  11. package/dest/DateGatedRelayerBytecode.d.ts.map +1 -0
  12. package/dest/DateGatedRelayerBytecode.js +6 -0
  13. package/dest/EmpireBaseAbi.d.ts +1726 -642
  14. package/dest/EmpireBaseAbi.d.ts.map +1 -1
  15. package/dest/EmpireBaseAbi.js +2178 -734
  16. package/dest/EmpireBaseBytecode.d.ts +1 -1
  17. package/dest/EmpireSlasherDeploymentExtLibAbi.d.ts +2049 -0
  18. package/dest/EmpireSlasherDeploymentExtLibAbi.d.ts.map +1 -0
  19. package/dest/{SlashingProposerAbi.js → EmpireSlasherDeploymentExtLibAbi.js} +1813 -832
  20. package/dest/EmpireSlasherDeploymentExtLibBytecode.d.ts +9 -0
  21. package/dest/EmpireSlasherDeploymentExtLibBytecode.d.ts.map +1 -0
  22. package/dest/EmpireSlasherDeploymentExtLibBytecode.js +6 -0
  23. package/dest/EmpireSlashingProposerAbi.d.ts +2422 -0
  24. package/dest/EmpireSlashingProposerAbi.d.ts.map +1 -0
  25. package/dest/EmpireSlashingProposerAbi.js +3212 -0
  26. package/dest/EmpireSlashingProposerBytecode.d.ts +9 -0
  27. package/dest/EmpireSlashingProposerBytecode.d.ts.map +1 -0
  28. package/dest/EmpireSlashingProposerBytecode.js +6 -0
  29. package/dest/ErrorsAbi.d.ts +1542 -598
  30. package/dest/ErrorsAbi.d.ts.map +1 -1
  31. package/dest/ErrorsAbi.js +1822 -560
  32. package/dest/FeeAssetHandlerAbi.d.ts +2156 -0
  33. package/dest/FeeAssetHandlerAbi.d.ts.map +1 -0
  34. package/dest/FeeAssetHandlerAbi.js +2864 -0
  35. package/dest/FeeAssetHandlerBytecode.d.ts +9 -0
  36. package/dest/FeeAssetHandlerBytecode.d.ts.map +1 -0
  37. package/dest/FeeAssetHandlerBytecode.js +6 -0
  38. package/dest/FeeJuicePortalAbi.d.ts +1560 -618
  39. package/dest/FeeJuicePortalAbi.d.ts.map +1 -1
  40. package/dest/FeeJuicePortalAbi.js +1940 -680
  41. package/dest/FeeJuicePortalBytecode.d.ts +2 -2
  42. package/dest/FeeJuicePortalBytecode.d.ts.map +1 -1
  43. package/dest/FeeJuicePortalBytecode.js +1 -1
  44. package/dest/GSEAbi.d.ts +2828 -0
  45. package/dest/GSEAbi.d.ts.map +1 -0
  46. package/dest/GSEAbi.js +3748 -0
  47. package/dest/GSEBytecode.d.ts +9 -0
  48. package/dest/GSEBytecode.d.ts.map +1 -0
  49. package/dest/GSEBytecode.js +6 -0
  50. package/dest/GovernanceAbi.d.ts +1954 -891
  51. package/dest/GovernanceAbi.d.ts.map +1 -1
  52. package/dest/GovernanceAbi.js +2541 -1127
  53. package/dest/GovernanceBytecode.d.ts +2 -2
  54. package/dest/GovernanceBytecode.d.ts.map +1 -1
  55. package/dest/GovernanceBytecode.js +1 -1
  56. package/dest/GovernanceProposerAbi.d.ts +1792 -670
  57. package/dest/GovernanceProposerAbi.d.ts.map +1 -1
  58. package/dest/GovernanceProposerAbi.js +2265 -771
  59. package/dest/GovernanceProposerBytecode.d.ts +2 -2
  60. package/dest/GovernanceProposerBytecode.d.ts.map +1 -1
  61. package/dest/GovernanceProposerBytecode.js +1 -1
  62. package/dest/HonkVerifierAbi.d.ts +1540 -580
  63. package/dest/HonkVerifierAbi.d.ts.map +1 -1
  64. package/dest/HonkVerifierAbi.js +1929 -646
  65. package/dest/HonkVerifierBytecode.d.ts +2 -2
  66. package/dest/HonkVerifierBytecode.d.ts.map +1 -1
  67. package/dest/HonkVerifierBytecode.js +1 -1
  68. package/dest/IERC20Abi.d.ts +1567 -593
  69. package/dest/IERC20Abi.d.ts.map +1 -1
  70. package/dest/IERC20Abi.js +1978 -677
  71. package/dest/IERC20Bytecode.d.ts +1 -1
  72. package/dest/IVerifierAbi.d.ts +1458 -514
  73. package/dest/IVerifierAbi.d.ts.map +1 -1
  74. package/dest/IVerifierAbi.js +1862 -600
  75. package/dest/IVerifierBytecode.d.ts +1 -1
  76. package/dest/InboxAbi.d.ts +1631 -601
  77. package/dest/InboxAbi.d.ts.map +1 -1
  78. package/dest/InboxAbi.js +2026 -653
  79. package/dest/InboxBytecode.d.ts +2 -2
  80. package/dest/InboxBytecode.d.ts.map +1 -1
  81. package/dest/InboxBytecode.js +1 -1
  82. package/dest/MockVerifierAbi.d.ts +1458 -514
  83. package/dest/MockVerifierAbi.d.ts.map +1 -1
  84. package/dest/MockVerifierAbi.js +1862 -600
  85. package/dest/MockVerifierBytecode.d.ts +2 -2
  86. package/dest/MockVerifierBytecode.js +1 -1
  87. package/dest/MockZKPassportVerifierAbi.d.ts +2153 -0
  88. package/dest/MockZKPassportVerifierAbi.d.ts.map +1 -0
  89. package/dest/MockZKPassportVerifierAbi.js +2862 -0
  90. package/dest/MockZKPassportVerifierBytecode.d.ts +9 -0
  91. package/dest/MockZKPassportVerifierBytecode.d.ts.map +1 -0
  92. package/dest/MockZKPassportVerifierBytecode.js +6 -0
  93. package/dest/MultiAdderAbi.d.ts +2221 -0
  94. package/dest/MultiAdderAbi.d.ts.map +1 -0
  95. package/dest/MultiAdderAbi.js +2950 -0
  96. package/dest/MultiAdderBytecode.d.ts +9 -0
  97. package/dest/MultiAdderBytecode.d.ts.map +1 -0
  98. package/dest/MultiAdderBytecode.js +6 -0
  99. package/dest/NewGovernanceProposerPayloadAbi.d.ts +1504 -546
  100. package/dest/NewGovernanceProposerPayloadAbi.d.ts.map +1 -1
  101. package/dest/NewGovernanceProposerPayloadAbi.js +1908 -628
  102. package/dest/NewGovernanceProposerPayloadBytecode.d.ts +2 -2
  103. package/dest/NewGovernanceProposerPayloadBytecode.d.ts.map +1 -1
  104. package/dest/NewGovernanceProposerPayloadBytecode.js +1 -1
  105. package/dest/OutboxAbi.d.ts +1554 -609
  106. package/dest/OutboxAbi.d.ts.map +1 -1
  107. package/dest/OutboxAbi.js +1985 -721
  108. package/dest/OutboxBytecode.d.ts +2 -2
  109. package/dest/OutboxBytecode.d.ts.map +1 -1
  110. package/dest/OutboxBytecode.js +1 -1
  111. package/dest/RegisterNewRollupVersionPayloadAbi.d.ts +1502 -548
  112. package/dest/RegisterNewRollupVersionPayloadAbi.d.ts.map +1 -1
  113. package/dest/RegisterNewRollupVersionPayloadAbi.js +1907 -632
  114. package/dest/RegisterNewRollupVersionPayloadBytecode.d.ts +2 -2
  115. package/dest/RegisterNewRollupVersionPayloadBytecode.d.ts.map +1 -1
  116. package/dest/RegisterNewRollupVersionPayloadBytecode.js +1 -1
  117. package/dest/RegistryAbi.d.ts +1676 -760
  118. package/dest/RegistryAbi.d.ts.map +1 -1
  119. package/dest/RegistryAbi.js +2042 -820
  120. package/dest/RegistryBytecode.d.ts +2 -2
  121. package/dest/RegistryBytecode.d.ts.map +1 -1
  122. package/dest/RegistryBytecode.js +1 -1
  123. package/dest/RewardDistributorAbi.d.ts +1569 -716
  124. package/dest/RewardDistributorAbi.d.ts.map +1 -1
  125. package/dest/RewardDistributorAbi.js +1848 -706
  126. package/dest/RewardDistributorBytecode.d.ts +2 -2
  127. package/dest/RewardDistributorBytecode.d.ts.map +1 -1
  128. package/dest/RewardDistributorBytecode.js +1 -1
  129. package/dest/RewardExtLibAbi.d.ts +2057 -0
  130. package/dest/{ExtRollupLibAbi.d.ts.map → RewardExtLibAbi.d.ts.map} +1 -1
  131. package/dest/RewardExtLibAbi.js +2737 -0
  132. package/dest/RewardExtLibBytecode.d.ts +9 -0
  133. package/dest/RewardExtLibBytecode.d.ts.map +1 -0
  134. package/dest/RewardExtLibBytecode.js +6 -0
  135. package/dest/RollupAbi.d.ts +3787 -1794
  136. package/dest/RollupAbi.d.ts.map +1 -1
  137. package/dest/RollupAbi.js +4729 -2110
  138. package/dest/RollupBytecode.d.ts +131 -11
  139. package/dest/RollupBytecode.d.ts.map +1 -1
  140. package/dest/RollupBytecode.js +170 -10
  141. package/dest/RollupOperationsExtLibAbi.d.ts +2186 -0
  142. package/dest/RollupOperationsExtLibAbi.d.ts.map +1 -0
  143. package/dest/{ExtRollupLibAbi.js → RollupOperationsExtLibAbi.js} +1935 -698
  144. package/dest/RollupOperationsExtLibBytecode.d.ts +9 -0
  145. package/dest/RollupOperationsExtLibBytecode.d.ts.map +1 -0
  146. package/dest/RollupOperationsExtLibBytecode.js +6 -0
  147. package/dest/RollupStorage.d.ts +5 -5
  148. package/dest/RollupStorage.js +4 -4
  149. package/dest/SlashFactoryAbi.d.ts +1545 -560
  150. package/dest/SlashFactoryAbi.d.ts.map +1 -1
  151. package/dest/SlashFactoryAbi.js +1968 -653
  152. package/dest/SlashFactoryBytecode.d.ts +2 -2
  153. package/dest/SlashFactoryBytecode.d.ts.map +1 -1
  154. package/dest/SlashFactoryBytecode.js +1 -1
  155. package/dest/SlasherAbi.d.ts +1666 -576
  156. package/dest/SlasherAbi.d.ts.map +1 -1
  157. package/dest/SlasherAbi.js +2082 -627
  158. package/dest/SlasherBytecode.d.ts +2 -2
  159. package/dest/SlasherBytecode.d.ts.map +1 -1
  160. package/dest/SlasherBytecode.js +1 -1
  161. package/dest/StakingAssetHandlerAbi.d.ts +2869 -0
  162. package/dest/StakingAssetHandlerAbi.d.ts.map +1 -0
  163. package/dest/StakingAssetHandlerAbi.js +3791 -0
  164. package/dest/StakingAssetHandlerBytecode.d.ts +9 -0
  165. package/dest/StakingAssetHandlerBytecode.d.ts.map +1 -0
  166. package/dest/StakingAssetHandlerBytecode.js +6 -0
  167. package/dest/{SlashingProposerAbi.d.ts → TallySlasherDeploymentExtLibAbi.d.ts} +1369 -640
  168. package/dest/{ForwarderAbi.d.ts.map → TallySlasherDeploymentExtLibAbi.d.ts.map} +1 -1
  169. package/dest/{ForwarderAbi.js → TallySlasherDeploymentExtLibAbi.js} +1759 -648
  170. package/dest/TallySlasherDeploymentExtLibBytecode.d.ts +9 -0
  171. package/dest/TallySlasherDeploymentExtLibBytecode.d.ts.map +1 -0
  172. package/dest/TallySlasherDeploymentExtLibBytecode.js +6 -0
  173. package/dest/TallySlashingProposerAbi.d.ts +2582 -0
  174. package/dest/TallySlashingProposerAbi.d.ts.map +1 -0
  175. package/dest/TallySlashingProposerAbi.js +3420 -0
  176. package/dest/TallySlashingProposerBytecode.d.ts +9 -0
  177. package/dest/TallySlashingProposerBytecode.d.ts.map +1 -0
  178. package/dest/TallySlashingProposerBytecode.js +6 -0
  179. package/dest/TestERC20Abi.d.ts +1660 -723
  180. package/dest/TestERC20Abi.d.ts.map +1 -1
  181. package/dest/TestERC20Abi.js +2112 -863
  182. package/dest/TestERC20Bytecode.d.ts +2 -2
  183. package/dest/TestERC20Bytecode.d.ts.map +1 -1
  184. package/dest/TestERC20Bytecode.js +1 -1
  185. package/dest/TokenPortalAbi.d.ts +1600 -616
  186. package/dest/TokenPortalAbi.d.ts.map +1 -1
  187. package/dest/TokenPortalAbi.js +2003 -689
  188. package/dest/TokenPortalBytecode.d.ts +2 -2
  189. package/dest/TokenPortalBytecode.d.ts.map +1 -1
  190. package/dest/TokenPortalBytecode.js +1 -1
  191. package/dest/UniswapPortalAbi.d.ts +1511 -537
  192. package/dest/UniswapPortalAbi.d.ts.map +1 -1
  193. package/dest/UniswapPortalAbi.js +1928 -627
  194. package/dest/UniswapPortalBytecode.d.ts +2 -2
  195. package/dest/UniswapPortalBytecode.d.ts.map +1 -1
  196. package/dest/UniswapPortalBytecode.js +1 -1
  197. package/dest/ValidatorOperationsExtLibAbi.d.ts +2411 -0
  198. package/dest/ValidatorOperationsExtLibAbi.d.ts.map +1 -0
  199. package/dest/ValidatorOperationsExtLibAbi.js +3191 -0
  200. package/dest/ValidatorOperationsExtLibBytecode.d.ts +9 -0
  201. package/dest/ValidatorOperationsExtLibBytecode.d.ts.map +1 -0
  202. package/dest/ValidatorOperationsExtLibBytecode.js +6 -0
  203. package/dest/ValidatorSelectionLibAbi.d.ts +1542 -598
  204. package/dest/ValidatorSelectionLibAbi.d.ts.map +1 -1
  205. package/dest/ValidatorSelectionLibAbi.js +1822 -560
  206. package/dest/ValidatorSelectionLibBytecode.d.ts +2 -2
  207. package/dest/ValidatorSelectionLibBytecode.js +1 -1
  208. package/dest/checksum.d.ts +2 -2
  209. package/dest/checksum.js +1 -1
  210. package/dest/index.d.ts +59 -39
  211. package/dest/index.d.ts.map +1 -1
  212. package/dest/index.js +58 -38
  213. package/package.json +5 -4
  214. package/dest/ExtRollupLibAbi.d.ts +0 -1262
  215. package/dest/ExtRollupLibBytecode.d.ts +0 -9
  216. package/dest/ExtRollupLibBytecode.d.ts.map +0 -1
  217. package/dest/ExtRollupLibBytecode.js +0 -6
  218. package/dest/ForwarderAbi.d.ts +0 -1220
  219. package/dest/ForwarderBytecode.d.ts +0 -9
  220. package/dest/ForwarderBytecode.d.ts.map +0 -1
  221. package/dest/ForwarderBytecode.js +0 -6
  222. package/dest/SlashingProposerBytecode.d.ts +0 -9
  223. package/dest/SlashingProposerBytecode.d.ts.map +0 -1
  224. package/dest/SlashingProposerBytecode.js +0 -6
package/dest/OutboxAbi.js CHANGED
@@ -2,51 +2,28 @@
2
2
  * Outbox ABI.
3
3
  */ export const OutboxAbi = [
4
4
  {
5
- "type": "constructor",
6
- "inputs": [
7
- {
8
- "name": "_rollup",
9
- "type": "address",
10
- "internalType": "address"
11
- }
12
- ],
13
- "stateMutability": "nonpayable"
5
+ "type": "error",
6
+ "name": "CheckpointUnorderedInsertion",
7
+ "inputs": []
14
8
  },
15
9
  {
16
10
  "type": "error",
17
- "name": "CoinIssuer__InsufficientMintAvailable",
18
- "inputs": [
19
- {
20
- "name": "available",
21
- "type": "uint256",
22
- "internalType": "uint256"
23
- },
24
- {
25
- "name": "needed",
26
- "type": "uint256",
27
- "internalType": "uint256"
28
- }
29
- ]
11
+ "name": "CoinIssuer__InvalidConfiguration",
12
+ "inputs": []
30
13
  },
31
14
  {
32
15
  "type": "error",
33
- "name": "DevNet__InvalidProposer",
34
- "inputs": [
35
- {
36
- "name": "expected",
37
- "type": "address",
38
- "internalType": "address"
39
- },
40
- {
41
- "name": "actual",
42
- "type": "address",
43
- "internalType": "address"
44
- }
45
- ]
16
+ "name": "DevNet__NoPruningAllowed",
17
+ "inputs": []
46
18
  },
47
19
  {
48
20
  "type": "error",
49
- "name": "DevNet__NoPruningAllowed",
21
+ "name": "ECDSAInvalidSignature",
22
+ "inputs": []
23
+ },
24
+ {
25
+ "type": "error",
26
+ "name": "EmpireBase__PayloadCannotBeAddressZero",
50
27
  "inputs": []
51
28
  },
52
29
  {
@@ -66,356 +43,1514 @@
66
43
  },
67
44
  {
68
45
  "type": "error",
69
- "name": "FeeMath__InvalidFeeAssetPriceModifier",
46
+ "name": "FeeLib__AlreadyPreheated",
70
47
  "inputs": []
71
48
  },
72
49
  {
73
50
  "type": "error",
74
- "name": "GovernanceProposer__CanOnlyExecuteProposalInPast",
51
+ "name": "FeeLib__InvalidFeeAssetPriceModifier",
75
52
  "inputs": []
76
53
  },
77
54
  {
78
55
  "type": "error",
79
- "name": "GovernanceProposer__FailedToPropose",
80
- "inputs": [
81
- {
82
- "name": "proposal",
83
- "type": "address",
84
- "internalType": "contract IPayload"
85
- }
86
- ]
56
+ "name": "GSE__GovernanceAlreadySet",
57
+ "inputs": []
87
58
  },
88
59
  {
89
60
  "type": "error",
90
- "name": "GovernanceProposer__InstanceHaveNoCode",
91
- "inputs": [
92
- {
93
- "name": "instance",
94
- "type": "address",
95
- "internalType": "address"
96
- }
97
- ]
61
+ "name": "GSE__InvalidProofOfPossession",
62
+ "inputs": []
98
63
  },
99
64
  {
100
65
  "type": "error",
101
- "name": "GovernanceProposer__InsufficientVotes",
102
- "inputs": [
103
- {
104
- "name": "votesCast",
105
- "type": "uint256",
106
- "internalType": "uint256"
107
- },
108
- {
109
- "name": "votesNeeded",
110
- "type": "uint256",
111
- "internalType": "uint256"
112
- }
113
- ]
66
+ "name": "GovernanceProposer__GSEPayloadInvalid",
67
+ "inputs": []
114
68
  },
115
69
  {
116
70
  "type": "error",
117
- "name": "GovernanceProposer__InvalidNAndMValues",
118
- "inputs": [
119
- {
120
- "name": "n",
121
- "type": "uint256",
122
- "internalType": "uint256"
123
- },
124
- {
125
- "name": "m",
126
- "type": "uint256",
127
- "internalType": "uint256"
128
- }
129
- ]
71
+ "name": "Governance__CallerCannotBeSelf",
72
+ "inputs": []
130
73
  },
131
74
  {
132
75
  "type": "error",
133
- "name": "GovernanceProposer__NCannotBeLargerTHanM",
134
- "inputs": [
135
- {
136
- "name": "n",
137
- "type": "uint256",
138
- "internalType": "uint256"
139
- },
140
- {
141
- "name": "m",
142
- "type": "uint256",
143
- "internalType": "uint256"
144
- }
145
- ]
76
+ "name": "Governance__CannotCallAsset",
77
+ "inputs": []
146
78
  },
147
79
  {
148
80
  "type": "error",
149
- "name": "GovernanceProposer__OnlyProposerCanVote",
150
- "inputs": [
151
- {
152
- "name": "caller",
153
- "type": "address",
154
- "internalType": "address"
155
- },
156
- {
157
- "name": "proposer",
158
- "type": "address",
159
- "internalType": "address"
160
- }
161
- ]
81
+ "name": "Governance__CannotWithdrawToAddressZero",
82
+ "inputs": []
162
83
  },
163
84
  {
164
85
  "type": "error",
165
- "name": "GovernanceProposer__ProposalAlreadyExecuted",
166
- "inputs": [
167
- {
168
- "name": "roundNumber",
169
- "type": "uint256",
170
- "internalType": "uint256"
171
- }
172
- ]
86
+ "name": "Governance__CheckpointedUintLib__NotInPast",
87
+ "inputs": []
173
88
  },
174
89
  {
175
90
  "type": "error",
176
- "name": "GovernanceProposer__ProposalCannotBeAddressZero",
91
+ "name": "Governance__ConfigurationLib__InvalidMinimumVotes",
177
92
  "inputs": []
178
93
  },
179
94
  {
180
95
  "type": "error",
181
- "name": "GovernanceProposer__ProposalHaveNoCode",
182
- "inputs": [
183
- {
184
- "name": "proposal",
185
- "type": "address",
186
- "internalType": "contract IPayload"
187
- }
188
- ]
96
+ "name": "Governance__ConfigurationLib__LockAmountTooBig",
97
+ "inputs": []
189
98
  },
190
99
  {
191
100
  "type": "error",
192
- "name": "GovernanceProposer__ProposalTooOld",
193
- "inputs": [
194
- {
195
- "name": "roundNumber",
196
- "type": "uint256",
197
- "internalType": "uint256"
198
- },
199
- {
200
- "name": "currentRoundNumber",
201
- "type": "uint256",
202
- "internalType": "uint256"
203
- }
204
- ]
101
+ "name": "Governance__ConfigurationLib__LockAmountTooSmall",
102
+ "inputs": []
205
103
  },
206
104
  {
207
105
  "type": "error",
208
- "name": "GovernanceProposer__VoteAlreadyCastForSlot",
209
- "inputs": [
210
- {
211
- "name": "slot",
212
- "type": "uint256",
213
- "internalType": "Slot"
214
- }
215
- ]
106
+ "name": "Governance__ConfigurationLib__QuorumTooBig",
107
+ "inputs": []
216
108
  },
217
109
  {
218
110
  "type": "error",
219
- "name": "Governance__CallFailed",
220
- "inputs": [
221
- {
222
- "name": "target",
223
- "type": "address",
224
- "internalType": "address"
225
- }
226
- ]
111
+ "name": "Governance__ConfigurationLib__QuorumTooSmall",
112
+ "inputs": []
227
113
  },
228
114
  {
229
115
  "type": "error",
230
- "name": "Governance__CallerNotGovernanceProposer",
231
- "inputs": [
232
- {
233
- "name": "caller",
234
- "type": "address",
235
- "internalType": "address"
236
- },
237
- {
238
- "name": "governanceProposer",
239
- "type": "address",
240
- "internalType": "address"
241
- }
242
- ]
116
+ "name": "Governance__ConfigurationLib__RequiredYeaMarginTooBig",
117
+ "inputs": []
243
118
  },
244
119
  {
245
120
  "type": "error",
246
- "name": "Governance__CallerNotSelf",
247
- "inputs": [
248
- {
249
- "name": "caller",
250
- "type": "address",
251
- "internalType": "address"
252
- },
253
- {
254
- "name": "self",
255
- "type": "address",
256
- "internalType": "address"
257
- }
258
- ]
121
+ "name": "Governance__DepositNotAllowed",
122
+ "inputs": []
259
123
  },
260
124
  {
261
125
  "type": "error",
262
- "name": "Governance__CannotCallAsset",
126
+ "name": "Governance__GovernanceProposerCannotBeSelf",
263
127
  "inputs": []
264
128
  },
265
129
  {
266
130
  "type": "error",
267
- "name": "Governance__ConfigurationLib__DifferentialTooBig",
131
+ "name": "Governance__ProposalAlreadyDropped",
268
132
  "inputs": []
269
133
  },
270
134
  {
271
135
  "type": "error",
272
- "name": "Governance__ConfigurationLib__DifferentialTooSmall",
136
+ "name": "Governance__ProposalCannotBeDropped",
273
137
  "inputs": []
274
138
  },
275
139
  {
276
140
  "type": "error",
277
- "name": "Governance__ConfigurationLib__InvalidMinimumVotes",
141
+ "name": "Governance__ProposalNotActive",
278
142
  "inputs": []
279
143
  },
280
144
  {
281
145
  "type": "error",
282
- "name": "Governance__ConfigurationLib__LockAmountTooSmall",
146
+ "name": "Governance__ProposalNotExecutable",
283
147
  "inputs": []
284
148
  },
285
149
  {
286
150
  "type": "error",
287
- "name": "Governance__ConfigurationLib__QuorumTooBig",
151
+ "name": "Governance__WithdrawalAlreadyClaimed",
288
152
  "inputs": []
289
153
  },
290
154
  {
291
155
  "type": "error",
292
- "name": "Governance__ConfigurationLib__QuorumTooSmall",
156
+ "name": "Governance__WithdrawalNotInitiated",
293
157
  "inputs": []
294
158
  },
295
159
  {
296
160
  "type": "error",
297
- "name": "Governance__ConfigurationLib__TimeTooBig",
298
- "inputs": [
299
- {
300
- "name": "name",
301
- "type": "string",
302
- "internalType": "string"
303
- }
304
- ]
161
+ "name": "Inbox__Ignition",
162
+ "inputs": []
305
163
  },
306
164
  {
307
165
  "type": "error",
308
- "name": "Governance__ConfigurationLib__TimeTooSmall",
309
- "inputs": [
310
- {
311
- "name": "name",
312
- "type": "string",
313
- "internalType": "string"
314
- }
315
- ]
166
+ "name": "Inbox__MustBuildBeforeConsume",
167
+ "inputs": []
316
168
  },
317
169
  {
318
170
  "type": "error",
319
- "name": "Governance__InsufficientPower",
320
- "inputs": [
321
- {
322
- "name": "voter",
323
- "type": "address",
324
- "internalType": "address"
325
- },
326
- {
327
- "name": "have",
328
- "type": "uint256",
329
- "internalType": "uint256"
330
- },
331
- {
332
- "name": "required",
333
- "type": "uint256",
334
- "internalType": "uint256"
335
- }
336
- ]
171
+ "name": "Inbox__Unauthorized",
172
+ "inputs": []
337
173
  },
338
174
  {
339
175
  "type": "error",
340
- "name": "Governance__InvalidConfiguration",
176
+ "name": "MerkleLib__InvalidIndexForPathLength",
341
177
  "inputs": []
342
178
  },
343
179
  {
344
180
  "type": "error",
345
- "name": "Governance__NoCheckpointsFound",
181
+ "name": "Outbox__InvalidChainId",
346
182
  "inputs": []
347
183
  },
348
184
  {
349
185
  "type": "error",
350
- "name": "Governance__ProposalAlreadyDropped",
186
+ "name": "Outbox__PathTooLong",
351
187
  "inputs": []
352
188
  },
353
189
  {
354
190
  "type": "error",
355
- "name": "Governance__ProposalCannotBeDropped",
191
+ "name": "Outbox__Unauthorized",
356
192
  "inputs": []
357
193
  },
358
194
  {
359
- "type": "error",
360
- "name": "Governance__ProposalDoesNotExists",
361
- "inputs": [
195
+ "type": "function",
196
+ "name": "ROLLUP",
197
+ "inputs": [],
198
+ "outputs": [
362
199
  {
363
- "name": "proposalId",
364
- "type": "uint256",
365
- "internalType": "uint256"
200
+ "name": "",
201
+ "type": "address",
202
+ "internalType": "contract IRollup"
366
203
  }
367
- ]
204
+ ],
205
+ "stateMutability": "view"
368
206
  },
369
207
  {
370
208
  "type": "error",
371
- "name": "Governance__ProposalLib__MoreVoteThanExistNeeded",
209
+ "name": "Registry__NoRollupsRegistered",
372
210
  "inputs": []
373
211
  },
374
212
  {
375
213
  "type": "error",
376
- "name": "Governance__ProposalLib__MoreYeaVoteThanExistNeeded",
214
+ "name": "RewardLib__InvalidSequencerBps",
377
215
  "inputs": []
378
216
  },
379
217
  {
380
218
  "type": "error",
381
- "name": "Governance__ProposalLib__ZeroMinimum",
219
+ "name": "Rollup__AttestationsAreValid",
382
220
  "inputs": []
383
221
  },
384
222
  {
385
223
  "type": "error",
386
- "name": "Governance__ProposalLib__ZeroVotesNeeded",
224
+ "name": "Rollup__CheckpointAlreadyProven",
387
225
  "inputs": []
388
226
  },
389
227
  {
390
228
  "type": "error",
391
- "name": "Governance__ProposalLib__ZeroYeaVotesNeeded",
229
+ "name": "Rollup__CheckpointNotInPendingChain",
392
230
  "inputs": []
393
231
  },
394
232
  {
395
233
  "type": "error",
396
- "name": "Governance__ProposalNotActive",
234
+ "name": "Rollup__InvalidAttestationIndex",
397
235
  "inputs": []
398
236
  },
399
237
  {
400
238
  "type": "error",
401
- "name": "Governance__ProposalNotExecutable",
239
+ "name": "Rollup__InvalidAttestations",
402
240
  "inputs": []
403
241
  },
404
242
  {
405
243
  "type": "error",
406
- "name": "Governance__UserLib__NotInPast",
244
+ "name": "Rollup__InvalidCoinbase",
407
245
  "inputs": []
408
246
  },
409
247
  {
410
248
  "type": "error",
411
- "name": "Governance__WithdrawalAlreadyclaimed",
249
+ "name": "Rollup__InvalidFirstEpochProof",
412
250
  "inputs": []
413
251
  },
414
252
  {
415
253
  "type": "error",
416
- "name": "Governance__WithdrawalNotUnlockedYet",
417
- "inputs": [
418
- {
254
+ "name": "Rollup__InvalidProof",
255
+ "inputs": []
256
+ },
257
+ {
258
+ "type": "error",
259
+ "name": "Rollup__ManaLimitExceeded",
260
+ "inputs": []
261
+ },
262
+ {
263
+ "type": "error",
264
+ "name": "Rollup__NoBlobsInCheckpoint",
265
+ "inputs": []
266
+ },
267
+ {
268
+ "type": "error",
269
+ "name": "Rollup__NoEpochToProve",
270
+ "inputs": []
271
+ },
272
+ {
273
+ "type": "error",
274
+ "name": "Rollup__NonSequentialProving",
275
+ "inputs": []
276
+ },
277
+ {
278
+ "type": "error",
279
+ "name": "Rollup__NonZeroDaFee",
280
+ "inputs": []
281
+ },
282
+ {
283
+ "type": "error",
284
+ "name": "Rollup__NothingToPrune",
285
+ "inputs": []
286
+ },
287
+ {
288
+ "type": "error",
289
+ "name": "Rollup__RewardsNotClaimable",
290
+ "inputs": []
291
+ },
292
+ {
293
+ "type": "error",
294
+ "name": "Rollup__StartIsNotBuildingOnProven",
295
+ "inputs": []
296
+ },
297
+ {
298
+ "type": "error",
299
+ "name": "Rollup__StartIsNotFirstCheckpointOfEpoch",
300
+ "inputs": []
301
+ },
302
+ {
303
+ "type": "error",
304
+ "name": "Rollup__TimestampTooOld",
305
+ "inputs": []
306
+ },
307
+ {
308
+ "type": "error",
309
+ "name": "Rollup__TryingToProveNonExistingCheckpoint",
310
+ "inputs": []
311
+ },
312
+ {
313
+ "type": "error",
314
+ "name": "Staking__DepositOutOfGas",
315
+ "inputs": []
316
+ },
317
+ {
318
+ "type": "error",
319
+ "name": "Staking__GovernanceAlreadySet",
320
+ "inputs": []
321
+ },
322
+ {
323
+ "type": "error",
324
+ "name": "Staking__InvalidNormalFlushSizeQuotient",
325
+ "inputs": []
326
+ },
327
+ {
328
+ "type": "error",
329
+ "name": "Staking__InvalidStakingQueueConfig",
330
+ "inputs": []
331
+ },
332
+ {
333
+ "type": "error",
334
+ "name": "Staking__QueueEmpty",
335
+ "inputs": []
336
+ },
337
+ {
338
+ "type": "error",
339
+ "name": "TallySlashingProposer__InvalidCommitteeCommitment",
340
+ "inputs": []
341
+ },
342
+ {
343
+ "type": "error",
344
+ "name": "TallySlashingProposer__InvalidSignature",
345
+ "inputs": []
346
+ },
347
+ {
348
+ "type": "error",
349
+ "name": "TallySlashingProposer__QuorumMustBeGreaterThanZero",
350
+ "inputs": []
351
+ },
352
+ {
353
+ "type": "error",
354
+ "name": "TallySlashingProposer__SlashAmountTooLarge",
355
+ "inputs": []
356
+ },
357
+ {
358
+ "type": "function",
359
+ "name": "VERSION",
360
+ "inputs": [],
361
+ "outputs": [
362
+ {
363
+ "name": "",
364
+ "type": "uint256",
365
+ "internalType": "uint256"
366
+ }
367
+ ],
368
+ "stateMutability": "view"
369
+ },
370
+ {
371
+ "type": "error",
372
+ "name": "ValidatorSelection__EpochNotSetup",
373
+ "inputs": []
374
+ },
375
+ {
376
+ "type": "error",
377
+ "name": "AttestationLib__NotASignatureAtIndex",
378
+ "inputs": [
379
+ {
380
+ "name": "index",
381
+ "type": "uint256",
382
+ "internalType": "uint256"
383
+ }
384
+ ]
385
+ },
386
+ {
387
+ "type": "error",
388
+ "name": "AttestationLib__NotAnAddressAtIndex",
389
+ "inputs": [
390
+ {
391
+ "name": "index",
392
+ "type": "uint256",
393
+ "internalType": "uint256"
394
+ }
395
+ ]
396
+ },
397
+ {
398
+ "type": "error",
399
+ "name": "ECDSAInvalidSignatureLength",
400
+ "inputs": [
401
+ {
402
+ "name": "length",
403
+ "type": "uint256",
404
+ "internalType": "uint256"
405
+ }
406
+ ]
407
+ },
408
+ {
409
+ "type": "error",
410
+ "name": "ECDSAInvalidSignatureS",
411
+ "inputs": [
412
+ {
413
+ "name": "s",
414
+ "type": "bytes32",
415
+ "internalType": "bytes32"
416
+ }
417
+ ]
418
+ },
419
+ {
420
+ "type": "error",
421
+ "name": "ERC20InvalidApprover",
422
+ "inputs": [
423
+ {
424
+ "name": "approver",
425
+ "type": "address",
426
+ "internalType": "address"
427
+ }
428
+ ]
429
+ },
430
+ {
431
+ "type": "error",
432
+ "name": "ERC20InvalidReceiver",
433
+ "inputs": [
434
+ {
435
+ "name": "receiver",
436
+ "type": "address",
437
+ "internalType": "address"
438
+ }
439
+ ]
440
+ },
441
+ {
442
+ "type": "error",
443
+ "name": "ERC20InvalidSender",
444
+ "inputs": [
445
+ {
446
+ "name": "sender",
447
+ "type": "address",
448
+ "internalType": "address"
449
+ }
450
+ ]
451
+ },
452
+ {
453
+ "type": "error",
454
+ "name": "ERC20InvalidSpender",
455
+ "inputs": [
456
+ {
457
+ "name": "spender",
458
+ "type": "address",
459
+ "internalType": "address"
460
+ }
461
+ ]
462
+ },
463
+ {
464
+ "type": "error",
465
+ "name": "EmpireBase__FailedToSubmitRoundWinner",
466
+ "inputs": [
467
+ {
468
+ "name": "payload",
469
+ "type": "address",
470
+ "internalType": "contract IPayload"
471
+ }
472
+ ]
473
+ },
474
+ {
475
+ "type": "error",
476
+ "name": "EmpireBase__InstanceHaveNoCode",
477
+ "inputs": [
478
+ {
479
+ "name": "instance",
480
+ "type": "address",
481
+ "internalType": "address"
482
+ }
483
+ ]
484
+ },
485
+ {
486
+ "type": "error",
487
+ "name": "EmpireBase__PayloadAlreadySubmitted",
488
+ "inputs": [
489
+ {
490
+ "name": "roundNumber",
491
+ "type": "uint256",
492
+ "internalType": "uint256"
493
+ }
494
+ ]
495
+ },
496
+ {
497
+ "type": "error",
498
+ "name": "EmpireBase__SignalAlreadyCastForSlot",
499
+ "inputs": [
500
+ {
501
+ "name": "slot",
502
+ "type": "uint256",
503
+ "internalType": "Slot"
504
+ }
505
+ ]
506
+ },
507
+ {
508
+ "type": "error",
509
+ "name": "GSE__FailedToRemove",
510
+ "inputs": [
511
+ {
512
+ "name": "",
513
+ "type": "address",
514
+ "internalType": "address"
515
+ }
516
+ ]
517
+ },
518
+ {
519
+ "type": "error",
520
+ "name": "GSE__FatalError",
521
+ "inputs": [
522
+ {
523
+ "name": "",
524
+ "type": "string",
525
+ "internalType": "string"
526
+ }
527
+ ]
528
+ },
529
+ {
530
+ "type": "error",
531
+ "name": "GSE__InstanceDoesNotExist",
532
+ "inputs": [
533
+ {
534
+ "name": "",
535
+ "type": "address",
536
+ "internalType": "address"
537
+ }
538
+ ]
539
+ },
540
+ {
541
+ "type": "error",
542
+ "name": "GSE__InvalidRollupAddress",
543
+ "inputs": [
544
+ {
545
+ "name": "",
546
+ "type": "address",
547
+ "internalType": "address"
548
+ }
549
+ ]
550
+ },
551
+ {
552
+ "type": "error",
553
+ "name": "GSE__NotLatestRollup",
554
+ "inputs": [
555
+ {
556
+ "name": "",
557
+ "type": "address",
558
+ "internalType": "address"
559
+ }
560
+ ]
561
+ },
562
+ {
563
+ "type": "error",
564
+ "name": "GSE__NotRollup",
565
+ "inputs": [
566
+ {
567
+ "name": "",
568
+ "type": "address",
569
+ "internalType": "address"
570
+ }
571
+ ]
572
+ },
573
+ {
574
+ "type": "error",
575
+ "name": "GSE__NothingToExit",
576
+ "inputs": [
577
+ {
578
+ "name": "",
579
+ "type": "address",
580
+ "internalType": "address"
581
+ }
582
+ ]
583
+ },
584
+ {
585
+ "type": "error",
586
+ "name": "GSE__ProofOfPossessionAlreadySeen",
587
+ "inputs": [
588
+ {
589
+ "name": "hashedPK1",
590
+ "type": "bytes32",
591
+ "internalType": "bytes32"
592
+ }
593
+ ]
594
+ },
595
+ {
596
+ "type": "error",
597
+ "name": "GSE__RollupAlreadyRegistered",
598
+ "inputs": [
599
+ {
600
+ "name": "",
601
+ "type": "address",
602
+ "internalType": "address"
603
+ }
604
+ ]
605
+ },
606
+ {
607
+ "type": "error",
608
+ "name": "Governance__CallFailed",
609
+ "inputs": [
610
+ {
611
+ "name": "target",
612
+ "type": "address",
613
+ "internalType": "address"
614
+ }
615
+ ]
616
+ },
617
+ {
618
+ "type": "error",
619
+ "name": "Governance__ConfigurationLib__TimeTooBig",
620
+ "inputs": [
621
+ {
622
+ "name": "name",
623
+ "type": "string",
624
+ "internalType": "string"
625
+ }
626
+ ]
627
+ },
628
+ {
629
+ "type": "error",
630
+ "name": "Governance__ConfigurationLib__TimeTooSmall",
631
+ "inputs": [
632
+ {
633
+ "name": "name",
634
+ "type": "string",
635
+ "internalType": "string"
636
+ }
637
+ ]
638
+ },
639
+ {
640
+ "type": "error",
641
+ "name": "Governance__ProposalDoesNotExists",
642
+ "inputs": [
643
+ {
644
+ "name": "proposalId",
645
+ "type": "uint256",
646
+ "internalType": "uint256"
647
+ }
648
+ ]
649
+ },
650
+ {
651
+ "type": "error",
652
+ "name": "Inbox__ActorTooLarge",
653
+ "inputs": [
654
+ {
655
+ "name": "actor",
656
+ "type": "bytes32",
657
+ "internalType": "bytes32"
658
+ }
659
+ ]
660
+ },
661
+ {
662
+ "type": "error",
663
+ "name": "Inbox__ContentTooLarge",
664
+ "inputs": [
665
+ {
666
+ "name": "content",
667
+ "type": "bytes32",
668
+ "internalType": "bytes32"
669
+ }
670
+ ]
671
+ },
672
+ {
673
+ "type": "error",
674
+ "name": "Inbox__SecretHashTooLarge",
675
+ "inputs": [
676
+ {
677
+ "name": "secretHash",
678
+ "type": "bytes32",
679
+ "internalType": "bytes32"
680
+ }
681
+ ]
682
+ },
683
+ {
684
+ "type": "error",
685
+ "name": "Outbox__CheckpointAlreadyProven",
686
+ "inputs": [
687
+ {
688
+ "name": "checkpointNumber",
689
+ "type": "uint256",
690
+ "internalType": "uint256"
691
+ }
692
+ ]
693
+ },
694
+ {
695
+ "type": "error",
696
+ "name": "Outbox__CheckpointNotProven",
697
+ "inputs": [
698
+ {
699
+ "name": "checkpointNumber",
700
+ "type": "uint256",
701
+ "internalType": "uint256"
702
+ }
703
+ ]
704
+ },
705
+ {
706
+ "type": "error",
707
+ "name": "Outbox__NothingToConsume",
708
+ "inputs": [
709
+ {
710
+ "name": "messageHash",
711
+ "type": "bytes32",
712
+ "internalType": "bytes32"
713
+ }
714
+ ]
715
+ },
716
+ {
717
+ "type": "error",
718
+ "name": "Outbox__NothingToConsumeAtCheckpoint",
719
+ "inputs": [
720
+ {
721
+ "name": "checkpointNumber",
722
+ "type": "uint256",
723
+ "internalType": "uint256"
724
+ }
725
+ ]
726
+ },
727
+ {
728
+ "type": "error",
729
+ "name": "Outbox__RootAlreadySetAtCheckpoint",
730
+ "inputs": [
731
+ {
732
+ "name": "checkpointNumber",
733
+ "type": "uint256",
734
+ "internalType": "uint256"
735
+ }
736
+ ]
737
+ },
738
+ {
739
+ "type": "error",
740
+ "name": "OwnableInvalidOwner",
741
+ "inputs": [
742
+ {
743
+ "name": "owner",
744
+ "type": "address",
745
+ "internalType": "address"
746
+ }
747
+ ]
748
+ },
749
+ {
750
+ "type": "error",
751
+ "name": "OwnableUnauthorizedAccount",
752
+ "inputs": [
753
+ {
754
+ "name": "account",
755
+ "type": "address",
756
+ "internalType": "address"
757
+ }
758
+ ]
759
+ },
760
+ {
761
+ "type": "error",
762
+ "name": "ProofCommitmentEscrow__NotOwner",
763
+ "inputs": [
764
+ {
765
+ "name": "caller",
766
+ "type": "address",
767
+ "internalType": "address"
768
+ }
769
+ ]
770
+ },
771
+ {
772
+ "type": "error",
773
+ "name": "Registry__RollupAlreadyRegistered",
774
+ "inputs": [
775
+ {
776
+ "name": "rollup",
777
+ "type": "address",
778
+ "internalType": "address"
779
+ }
780
+ ]
781
+ },
782
+ {
783
+ "type": "error",
784
+ "name": "Registry__RollupNotRegistered",
785
+ "inputs": [
786
+ {
787
+ "name": "version",
788
+ "type": "uint256",
789
+ "internalType": "uint256"
790
+ }
791
+ ]
792
+ },
793
+ {
794
+ "type": "error",
795
+ "name": "RewardBooster__OnlyRollup",
796
+ "inputs": [
797
+ {
798
+ "name": "caller",
799
+ "type": "address",
800
+ "internalType": "address"
801
+ }
802
+ ]
803
+ },
804
+ {
805
+ "type": "error",
806
+ "name": "Rollup__InvalidBasisPointFee",
807
+ "inputs": [
808
+ {
809
+ "name": "basisPointFee",
810
+ "type": "uint256",
811
+ "internalType": "uint256"
812
+ }
813
+ ]
814
+ },
815
+ {
816
+ "type": "error",
817
+ "name": "Rollup__InvalidBlobProof",
818
+ "inputs": [
819
+ {
820
+ "name": "blobHash",
821
+ "type": "bytes32",
822
+ "internalType": "bytes32"
823
+ }
824
+ ]
825
+ },
826
+ {
827
+ "type": "error",
828
+ "name": "Rollup__UnavailableTxs",
829
+ "inputs": [
830
+ {
831
+ "name": "txsHash",
832
+ "type": "bytes32",
833
+ "internalType": "bytes32"
834
+ }
835
+ ]
836
+ },
837
+ {
838
+ "type": "error",
839
+ "name": "SafeCastOverflowedIntToUint",
840
+ "inputs": [
841
+ {
842
+ "name": "value",
843
+ "type": "int256",
844
+ "internalType": "int256"
845
+ }
846
+ ]
847
+ },
848
+ {
849
+ "type": "error",
850
+ "name": "SafeCastOverflowedUintToInt",
851
+ "inputs": [
852
+ {
853
+ "name": "value",
854
+ "type": "uint256",
855
+ "internalType": "uint256"
856
+ }
857
+ ]
858
+ },
859
+ {
860
+ "type": "error",
861
+ "name": "Staking__AlreadyActive",
862
+ "inputs": [
863
+ {
864
+ "name": "attester",
865
+ "type": "address",
866
+ "internalType": "address"
867
+ }
868
+ ]
869
+ },
870
+ {
871
+ "type": "error",
872
+ "name": "Staking__AlreadyExiting",
873
+ "inputs": [
874
+ {
875
+ "name": "",
876
+ "type": "address",
877
+ "internalType": "address"
878
+ }
879
+ ]
880
+ },
881
+ {
882
+ "type": "error",
883
+ "name": "Staking__AlreadyQueued",
884
+ "inputs": [
885
+ {
886
+ "name": "_attester",
887
+ "type": "address",
888
+ "internalType": "address"
889
+ }
890
+ ]
891
+ },
892
+ {
893
+ "type": "error",
894
+ "name": "Staking__CannotSlashExitedStake",
895
+ "inputs": [
896
+ {
897
+ "name": "",
898
+ "type": "address",
899
+ "internalType": "address"
900
+ }
901
+ ]
902
+ },
903
+ {
904
+ "type": "error",
905
+ "name": "Staking__FailedToRemove",
906
+ "inputs": [
907
+ {
908
+ "name": "",
909
+ "type": "address",
910
+ "internalType": "address"
911
+ }
912
+ ]
913
+ },
914
+ {
915
+ "type": "error",
916
+ "name": "Staking__FatalError",
917
+ "inputs": [
918
+ {
919
+ "name": "",
920
+ "type": "string",
921
+ "internalType": "string"
922
+ }
923
+ ]
924
+ },
925
+ {
926
+ "type": "error",
927
+ "name": "Staking__IncorrectGovProposer",
928
+ "inputs": [
929
+ {
930
+ "name": "",
931
+ "type": "uint256",
932
+ "internalType": "uint256"
933
+ }
934
+ ]
935
+ },
936
+ {
937
+ "type": "error",
938
+ "name": "Staking__InitiateWithdrawNeeded",
939
+ "inputs": [
940
+ {
941
+ "name": "",
942
+ "type": "address",
943
+ "internalType": "address"
944
+ }
945
+ ]
946
+ },
947
+ {
948
+ "type": "error",
949
+ "name": "Staking__InstanceDoesNotExist",
950
+ "inputs": [
951
+ {
952
+ "name": "",
953
+ "type": "address",
954
+ "internalType": "address"
955
+ }
956
+ ]
957
+ },
958
+ {
959
+ "type": "error",
960
+ "name": "Staking__InvalidRecipient",
961
+ "inputs": [
962
+ {
963
+ "name": "",
964
+ "type": "address",
965
+ "internalType": "address"
966
+ }
967
+ ]
968
+ },
969
+ {
970
+ "type": "error",
971
+ "name": "Staking__InvalidRollupAddress",
972
+ "inputs": [
973
+ {
974
+ "name": "",
975
+ "type": "address",
976
+ "internalType": "address"
977
+ }
978
+ ]
979
+ },
980
+ {
981
+ "type": "error",
982
+ "name": "Staking__NoOneToSlash",
983
+ "inputs": [
984
+ {
985
+ "name": "",
986
+ "type": "address",
987
+ "internalType": "address"
988
+ }
989
+ ]
990
+ },
991
+ {
992
+ "type": "error",
993
+ "name": "Staking__NotCanonical",
994
+ "inputs": [
995
+ {
996
+ "name": "",
997
+ "type": "address",
998
+ "internalType": "address"
999
+ }
1000
+ ]
1001
+ },
1002
+ {
1003
+ "type": "error",
1004
+ "name": "Staking__NotExiting",
1005
+ "inputs": [
1006
+ {
1007
+ "name": "",
1008
+ "type": "address",
1009
+ "internalType": "address"
1010
+ }
1011
+ ]
1012
+ },
1013
+ {
1014
+ "type": "error",
1015
+ "name": "Staking__NotRollup",
1016
+ "inputs": [
1017
+ {
1018
+ "name": "",
1019
+ "type": "address",
1020
+ "internalType": "address"
1021
+ }
1022
+ ]
1023
+ },
1024
+ {
1025
+ "type": "error",
1026
+ "name": "Staking__NothingToExit",
1027
+ "inputs": [
1028
+ {
1029
+ "name": "",
1030
+ "type": "address",
1031
+ "internalType": "address"
1032
+ }
1033
+ ]
1034
+ },
1035
+ {
1036
+ "type": "error",
1037
+ "name": "Staking__QueueAlreadyFlushed",
1038
+ "inputs": [
1039
+ {
1040
+ "name": "epoch",
1041
+ "type": "uint256",
1042
+ "internalType": "Epoch"
1043
+ }
1044
+ ]
1045
+ },
1046
+ {
1047
+ "type": "error",
1048
+ "name": "Staking__RollupAlreadyRegistered",
1049
+ "inputs": [
1050
+ {
1051
+ "name": "",
1052
+ "type": "address",
1053
+ "internalType": "address"
1054
+ }
1055
+ ]
1056
+ },
1057
+ {
1058
+ "type": "error",
1059
+ "name": "Staking__WithdrawFailed",
1060
+ "inputs": [
1061
+ {
1062
+ "name": "",
1063
+ "type": "address",
1064
+ "internalType": "address"
1065
+ }
1066
+ ]
1067
+ },
1068
+ {
1069
+ "type": "error",
1070
+ "name": "TallySlashingProposer__CommitteeSizeMustBeGreaterThanZero",
1071
+ "inputs": [
1072
+ {
1073
+ "name": "committeeSize",
1074
+ "type": "uint256",
1075
+ "internalType": "uint256"
1076
+ }
1077
+ ]
1078
+ },
1079
+ {
1080
+ "type": "error",
1081
+ "name": "TallySlashingProposer__InvalidSlashAmounts",
1082
+ "inputs": [
1083
+ {
1084
+ "name": "slashAmounts",
1085
+ "type": "uint256[3]",
1086
+ "internalType": "uint256[3]"
1087
+ }
1088
+ ]
1089
+ },
1090
+ {
1091
+ "type": "error",
1092
+ "name": "TallySlashingProposer__RoundAlreadyExecuted",
1093
+ "inputs": [
1094
+ {
1095
+ "name": "round",
1096
+ "type": "uint256",
1097
+ "internalType": "SlashRound"
1098
+ }
1099
+ ]
1100
+ },
1101
+ {
1102
+ "type": "error",
1103
+ "name": "TallySlashingProposer__RoundNotComplete",
1104
+ "inputs": [
1105
+ {
1106
+ "name": "round",
1107
+ "type": "uint256",
1108
+ "internalType": "SlashRound"
1109
+ }
1110
+ ]
1111
+ },
1112
+ {
1113
+ "type": "error",
1114
+ "name": "TallySlashingProposer__RoundSizeInEpochsMustBeGreaterThanZero",
1115
+ "inputs": [
1116
+ {
1117
+ "name": "roundSizeInEpochs",
1118
+ "type": "uint256",
1119
+ "internalType": "uint256"
1120
+ }
1121
+ ]
1122
+ },
1123
+ {
1124
+ "type": "error",
1125
+ "name": "TallySlashingProposer__SlashOffsetMustBeGreaterThanZero",
1126
+ "inputs": [
1127
+ {
1128
+ "name": "slashOffset",
1129
+ "type": "uint256",
1130
+ "internalType": "uint256"
1131
+ }
1132
+ ]
1133
+ },
1134
+ {
1135
+ "type": "error",
1136
+ "name": "TallySlashingProposer__VoteAlreadyCastInCurrentSlot",
1137
+ "inputs": [
1138
+ {
1139
+ "name": "slot",
1140
+ "type": "uint256",
1141
+ "internalType": "Slot"
1142
+ }
1143
+ ]
1144
+ },
1145
+ {
1146
+ "type": "error",
1147
+ "name": "TallySlashingProposer__VotesMustBeMultipleOf4",
1148
+ "inputs": [
1149
+ {
1150
+ "name": "votes",
1151
+ "type": "uint256",
1152
+ "internalType": "uint256"
1153
+ }
1154
+ ]
1155
+ },
1156
+ {
1157
+ "type": "error",
1158
+ "name": "TallySlashingProposer__VotingNotOpen",
1159
+ "inputs": [
1160
+ {
1161
+ "name": "currentRound",
1162
+ "type": "uint256",
1163
+ "internalType": "SlashRound"
1164
+ }
1165
+ ]
1166
+ },
1167
+ {
1168
+ "type": "error",
1169
+ "name": "ValidatorSelection__ProposerIndexTooLarge",
1170
+ "inputs": [
1171
+ {
1172
+ "name": "index",
1173
+ "type": "uint256",
1174
+ "internalType": "uint256"
1175
+ }
1176
+ ]
1177
+ },
1178
+ {
1179
+ "type": "function",
1180
+ "name": "getRootData",
1181
+ "inputs": [
1182
+ {
1183
+ "name": "_checkpointNumber",
1184
+ "type": "uint256",
1185
+ "internalType": "uint256"
1186
+ }
1187
+ ],
1188
+ "outputs": [
1189
+ {
1190
+ "name": "",
1191
+ "type": "bytes32",
1192
+ "internalType": "bytes32"
1193
+ }
1194
+ ],
1195
+ "stateMutability": "view"
1196
+ },
1197
+ {
1198
+ "type": "constructor",
1199
+ "inputs": [
1200
+ {
1201
+ "name": "_rollup",
1202
+ "type": "address",
1203
+ "internalType": "address"
1204
+ },
1205
+ {
1206
+ "name": "_version",
1207
+ "type": "uint256",
1208
+ "internalType": "uint256"
1209
+ }
1210
+ ],
1211
+ "stateMutability": "nonpayable"
1212
+ },
1213
+ {
1214
+ "type": "error",
1215
+ "name": "AttestationLib__InvalidDataSize",
1216
+ "inputs": [
1217
+ {
1218
+ "name": "",
1219
+ "type": "uint256",
1220
+ "internalType": "uint256"
1221
+ },
1222
+ {
1223
+ "name": "",
1224
+ "type": "uint256",
1225
+ "internalType": "uint256"
1226
+ }
1227
+ ]
1228
+ },
1229
+ {
1230
+ "type": "error",
1231
+ "name": "AttestationLib__SignatureIndicesSizeMismatch",
1232
+ "inputs": [
1233
+ {
1234
+ "name": "",
1235
+ "type": "uint256",
1236
+ "internalType": "uint256"
1237
+ },
1238
+ {
1239
+ "name": "",
1240
+ "type": "uint256",
1241
+ "internalType": "uint256"
1242
+ }
1243
+ ]
1244
+ },
1245
+ {
1246
+ "type": "error",
1247
+ "name": "AttestationLib__SignaturesOrAddressesSizeMismatch",
1248
+ "inputs": [
1249
+ {
1250
+ "name": "",
1251
+ "type": "uint256",
1252
+ "internalType": "uint256"
1253
+ },
1254
+ {
1255
+ "name": "",
1256
+ "type": "uint256",
1257
+ "internalType": "uint256"
1258
+ }
1259
+ ]
1260
+ },
1261
+ {
1262
+ "type": "error",
1263
+ "name": "AttestationLib__SignersSizeMismatch",
1264
+ "inputs": [
1265
+ {
1266
+ "name": "",
1267
+ "type": "uint256",
1268
+ "internalType": "uint256"
1269
+ },
1270
+ {
1271
+ "name": "",
1272
+ "type": "uint256",
1273
+ "internalType": "uint256"
1274
+ }
1275
+ ]
1276
+ },
1277
+ {
1278
+ "type": "error",
1279
+ "name": "CoinIssuer__InsufficientMintAvailable",
1280
+ "inputs": [
1281
+ {
1282
+ "name": "available",
1283
+ "type": "uint256",
1284
+ "internalType": "uint256"
1285
+ },
1286
+ {
1287
+ "name": "needed",
1288
+ "type": "uint256",
1289
+ "internalType": "uint256"
1290
+ }
1291
+ ]
1292
+ },
1293
+ {
1294
+ "type": "error",
1295
+ "name": "DevNet__InvalidProposer",
1296
+ "inputs": [
1297
+ {
1298
+ "name": "expected",
1299
+ "type": "address",
1300
+ "internalType": "address"
1301
+ },
1302
+ {
1303
+ "name": "actual",
1304
+ "type": "address",
1305
+ "internalType": "address"
1306
+ }
1307
+ ]
1308
+ },
1309
+ {
1310
+ "type": "error",
1311
+ "name": "EmpireBase__InsufficientSignals",
1312
+ "inputs": [
1313
+ {
1314
+ "name": "signalsCast",
1315
+ "type": "uint256",
1316
+ "internalType": "uint256"
1317
+ },
1318
+ {
1319
+ "name": "signalsNeeded",
1320
+ "type": "uint256",
1321
+ "internalType": "uint256"
1322
+ }
1323
+ ]
1324
+ },
1325
+ {
1326
+ "type": "error",
1327
+ "name": "EmpireBase__InvalidLifetimeAndExecutionDelay",
1328
+ "inputs": [
1329
+ {
1330
+ "name": "lifetimeInRounds",
1331
+ "type": "uint256",
1332
+ "internalType": "uint256"
1333
+ },
1334
+ {
1335
+ "name": "executionDelayInRounds",
1336
+ "type": "uint256",
1337
+ "internalType": "uint256"
1338
+ }
1339
+ ]
1340
+ },
1341
+ {
1342
+ "type": "error",
1343
+ "name": "EmpireBase__InvalidQuorumAndRoundSize",
1344
+ "inputs": [
1345
+ {
1346
+ "name": "quorumSize",
1347
+ "type": "uint256",
1348
+ "internalType": "uint256"
1349
+ },
1350
+ {
1351
+ "name": "roundSize",
1352
+ "type": "uint256",
1353
+ "internalType": "uint256"
1354
+ }
1355
+ ]
1356
+ },
1357
+ {
1358
+ "type": "error",
1359
+ "name": "EmpireBase__OnlyProposerCanSignal",
1360
+ "inputs": [
1361
+ {
1362
+ "name": "caller",
1363
+ "type": "address",
1364
+ "internalType": "address"
1365
+ },
1366
+ {
1367
+ "name": "proposer",
1368
+ "type": "address",
1369
+ "internalType": "address"
1370
+ }
1371
+ ]
1372
+ },
1373
+ {
1374
+ "type": "error",
1375
+ "name": "EmpireBase__QuorumCannotBeLargerThanRoundSize",
1376
+ "inputs": [
1377
+ {
1378
+ "name": "quorumSize",
1379
+ "type": "uint256",
1380
+ "internalType": "uint256"
1381
+ },
1382
+ {
1383
+ "name": "roundSize",
1384
+ "type": "uint256",
1385
+ "internalType": "uint256"
1386
+ }
1387
+ ]
1388
+ },
1389
+ {
1390
+ "type": "error",
1391
+ "name": "EmpireBase__RoundTooNew",
1392
+ "inputs": [
1393
+ {
1394
+ "name": "roundNumber",
1395
+ "type": "uint256",
1396
+ "internalType": "uint256"
1397
+ },
1398
+ {
1399
+ "name": "currentRoundNumber",
1400
+ "type": "uint256",
1401
+ "internalType": "uint256"
1402
+ }
1403
+ ]
1404
+ },
1405
+ {
1406
+ "type": "error",
1407
+ "name": "EmpireBase__RoundTooOld",
1408
+ "inputs": [
1409
+ {
1410
+ "name": "roundNumber",
1411
+ "type": "uint256",
1412
+ "internalType": "uint256"
1413
+ },
1414
+ {
1415
+ "name": "currentRoundNumber",
1416
+ "type": "uint256",
1417
+ "internalType": "uint256"
1418
+ }
1419
+ ]
1420
+ },
1421
+ {
1422
+ "type": "error",
1423
+ "name": "FeeLib__InvalidManaLimit",
1424
+ "inputs": [
1425
+ {
1426
+ "name": "maximum",
1427
+ "type": "uint256",
1428
+ "internalType": "uint256"
1429
+ },
1430
+ {
1431
+ "name": "provided",
1432
+ "type": "uint256",
1433
+ "internalType": "uint256"
1434
+ }
1435
+ ]
1436
+ },
1437
+ {
1438
+ "type": "error",
1439
+ "name": "GSE__AlreadyRegistered",
1440
+ "inputs": [
1441
+ {
1442
+ "name": "",
1443
+ "type": "address",
1444
+ "internalType": "address"
1445
+ },
1446
+ {
1447
+ "name": "",
1448
+ "type": "address",
1449
+ "internalType": "address"
1450
+ }
1451
+ ]
1452
+ },
1453
+ {
1454
+ "type": "error",
1455
+ "name": "GSE__CannotChangePublicKeys",
1456
+ "inputs": [
1457
+ {
1458
+ "name": "existingPk1x",
1459
+ "type": "uint256",
1460
+ "internalType": "uint256"
1461
+ },
1462
+ {
1463
+ "name": "existingPk1y",
1464
+ "type": "uint256",
1465
+ "internalType": "uint256"
1466
+ }
1467
+ ]
1468
+ },
1469
+ {
1470
+ "type": "error",
1471
+ "name": "GSE__InsufficientBalance",
1472
+ "inputs": [
1473
+ {
1474
+ "name": "",
1475
+ "type": "uint256",
1476
+ "internalType": "uint256"
1477
+ },
1478
+ {
1479
+ "name": "",
1480
+ "type": "uint256",
1481
+ "internalType": "uint256"
1482
+ }
1483
+ ]
1484
+ },
1485
+ {
1486
+ "type": "error",
1487
+ "name": "GSE__NotWithdrawer",
1488
+ "inputs": [
1489
+ {
1490
+ "name": "",
1491
+ "type": "address",
1492
+ "internalType": "address"
1493
+ },
1494
+ {
1495
+ "name": "",
1496
+ "type": "address",
1497
+ "internalType": "address"
1498
+ }
1499
+ ]
1500
+ },
1501
+ {
1502
+ "type": "error",
1503
+ "name": "GSE__OutOfBounds",
1504
+ "inputs": [
1505
+ {
1506
+ "name": "",
1507
+ "type": "uint256",
1508
+ "internalType": "uint256"
1509
+ },
1510
+ {
1511
+ "name": "",
1512
+ "type": "uint256",
1513
+ "internalType": "uint256"
1514
+ }
1515
+ ]
1516
+ },
1517
+ {
1518
+ "type": "error",
1519
+ "name": "Governance__CallerNotGovernanceProposer",
1520
+ "inputs": [
1521
+ {
1522
+ "name": "caller",
1523
+ "type": "address",
1524
+ "internalType": "address"
1525
+ },
1526
+ {
1527
+ "name": "governanceProposer",
1528
+ "type": "address",
1529
+ "internalType": "address"
1530
+ }
1531
+ ]
1532
+ },
1533
+ {
1534
+ "type": "error",
1535
+ "name": "Governance__CallerNotSelf",
1536
+ "inputs": [
1537
+ {
1538
+ "name": "caller",
1539
+ "type": "address",
1540
+ "internalType": "address"
1541
+ },
1542
+ {
1543
+ "name": "self",
1544
+ "type": "address",
1545
+ "internalType": "address"
1546
+ }
1547
+ ]
1548
+ },
1549
+ {
1550
+ "type": "error",
1551
+ "name": "Governance__WithdrawalNotUnlockedYet",
1552
+ "inputs": [
1553
+ {
419
1554
  "name": "currentTime",
420
1555
  "type": "uint256",
421
1556
  "internalType": "Timestamp"
@@ -461,115 +1596,143 @@
461
1596
  },
462
1597
  {
463
1598
  "type": "error",
464
- "name": "Inbox__ActorTooLarge",
1599
+ "name": "Inbox__VersionMismatch",
465
1600
  "inputs": [
466
1601
  {
467
- "name": "actor",
468
- "type": "bytes32",
469
- "internalType": "bytes32"
1602
+ "name": "expected",
1603
+ "type": "uint256",
1604
+ "internalType": "uint256"
1605
+ },
1606
+ {
1607
+ "name": "actual",
1608
+ "type": "uint256",
1609
+ "internalType": "uint256"
470
1610
  }
471
1611
  ]
472
1612
  },
473
1613
  {
474
1614
  "type": "error",
475
- "name": "Inbox__ContentTooLarge",
1615
+ "name": "Outbox__AlreadyNullified",
476
1616
  "inputs": [
477
1617
  {
478
- "name": "content",
479
- "type": "bytes32",
480
- "internalType": "bytes32"
1618
+ "name": "checkpointNumber",
1619
+ "type": "uint256",
1620
+ "internalType": "uint256"
1621
+ },
1622
+ {
1623
+ "name": "leafIndex",
1624
+ "type": "uint256",
1625
+ "internalType": "uint256"
481
1626
  }
482
1627
  ]
483
1628
  },
484
1629
  {
485
1630
  "type": "error",
486
- "name": "Inbox__MustBuildBeforeConsume",
487
- "inputs": []
488
- },
489
- {
490
- "type": "error",
491
- "name": "Inbox__SecretHashTooLarge",
1631
+ "name": "Outbox__InvalidRecipient",
492
1632
  "inputs": [
493
1633
  {
494
- "name": "secretHash",
495
- "type": "bytes32",
496
- "internalType": "bytes32"
1634
+ "name": "expected",
1635
+ "type": "address",
1636
+ "internalType": "address"
1637
+ },
1638
+ {
1639
+ "name": "actual",
1640
+ "type": "address",
1641
+ "internalType": "address"
497
1642
  }
498
1643
  ]
499
1644
  },
500
1645
  {
501
1646
  "type": "error",
502
- "name": "Inbox__Unauthorized",
503
- "inputs": []
1647
+ "name": "Outbox__LeafIndexOutOfBounds",
1648
+ "inputs": [
1649
+ {
1650
+ "name": "leafIndex",
1651
+ "type": "uint256",
1652
+ "internalType": "uint256"
1653
+ },
1654
+ {
1655
+ "name": "pathLength",
1656
+ "type": "uint256",
1657
+ "internalType": "uint256"
1658
+ }
1659
+ ]
504
1660
  },
505
1661
  {
506
1662
  "type": "error",
507
- "name": "MerkleLib__InvalidRoot",
1663
+ "name": "Outbox__VersionMismatch",
508
1664
  "inputs": [
509
1665
  {
510
1666
  "name": "expected",
511
- "type": "bytes32",
512
- "internalType": "bytes32"
1667
+ "type": "uint256",
1668
+ "internalType": "uint256"
513
1669
  },
514
1670
  {
515
1671
  "name": "actual",
516
- "type": "bytes32",
517
- "internalType": "bytes32"
518
- },
1672
+ "type": "uint256",
1673
+ "internalType": "uint256"
1674
+ }
1675
+ ]
1676
+ },
1677
+ {
1678
+ "type": "error",
1679
+ "name": "ProofCommitmentEscrow__InsufficientBalance",
1680
+ "inputs": [
519
1681
  {
520
- "name": "leaf",
521
- "type": "bytes32",
522
- "internalType": "bytes32"
1682
+ "name": "balance",
1683
+ "type": "uint256",
1684
+ "internalType": "uint256"
523
1685
  },
524
1686
  {
525
- "name": "leafIndex",
1687
+ "name": "requested",
526
1688
  "type": "uint256",
527
1689
  "internalType": "uint256"
528
1690
  }
529
1691
  ]
530
1692
  },
531
1693
  {
532
- "type": "event",
533
- "name": "MessageConsumed",
1694
+ "type": "error",
1695
+ "name": "ProofCommitmentEscrow__WithdrawRequestNotReady",
534
1696
  "inputs": [
535
1697
  {
536
- "name": "l2BlockNumber",
1698
+ "name": "current",
537
1699
  "type": "uint256",
538
- "indexed": true,
539
1700
  "internalType": "uint256"
540
1701
  },
541
1702
  {
542
- "name": "root",
543
- "type": "bytes32",
544
- "indexed": true,
545
- "internalType": "bytes32"
546
- },
1703
+ "name": "readyAt",
1704
+ "type": "uint256",
1705
+ "internalType": "Timestamp"
1706
+ }
1707
+ ]
1708
+ },
1709
+ {
1710
+ "type": "error",
1711
+ "name": "RewardDistributor__InvalidCaller",
1712
+ "inputs": [
547
1713
  {
548
- "name": "messageHash",
549
- "type": "bytes32",
550
- "indexed": true,
551
- "internalType": "bytes32"
1714
+ "name": "caller",
1715
+ "type": "address",
1716
+ "internalType": "address"
552
1717
  },
553
1718
  {
554
- "name": "leafIndex",
555
- "type": "uint256",
556
- "indexed": false,
557
- "internalType": "uint256"
1719
+ "name": "canonical",
1720
+ "type": "address",
1721
+ "internalType": "address"
558
1722
  }
559
- ],
560
- "anonymous": false
1723
+ ]
561
1724
  },
562
1725
  {
563
1726
  "type": "error",
564
- "name": "Outbox__AlreadyNullified",
1727
+ "name": "Rollup__InsufficientBondAmount",
565
1728
  "inputs": [
566
1729
  {
567
- "name": "l2BlockNumber",
1730
+ "name": "minimum",
568
1731
  "type": "uint256",
569
1732
  "internalType": "uint256"
570
1733
  },
571
1734
  {
572
- "name": "leafIndex",
1735
+ "name": "provided",
573
1736
  "type": "uint256",
574
1737
  "internalType": "uint256"
575
1738
  }
@@ -577,10 +1740,15 @@
577
1740
  },
578
1741
  {
579
1742
  "type": "error",
580
- "name": "Outbox__BlockNotProven",
1743
+ "name": "Rollup__InsufficientFundsInEscrow",
581
1744
  "inputs": [
582
1745
  {
583
- "name": "l2BlockNumber",
1746
+ "name": "required",
1747
+ "type": "uint256",
1748
+ "internalType": "uint256"
1749
+ },
1750
+ {
1751
+ "name": "available",
584
1752
  "type": "uint256",
585
1753
  "internalType": "uint256"
586
1754
  }
@@ -588,93 +1756,95 @@
588
1756
  },
589
1757
  {
590
1758
  "type": "error",
591
- "name": "Outbox__IncompatibleEntryArguments",
1759
+ "name": "Rollup__InvalidArchive",
592
1760
  "inputs": [
593
1761
  {
594
- "name": "messageHash",
1762
+ "name": "expected",
595
1763
  "type": "bytes32",
596
1764
  "internalType": "bytes32"
597
1765
  },
598
1766
  {
599
- "name": "storedFee",
600
- "type": "uint64",
601
- "internalType": "uint64"
602
- },
603
- {
604
- "name": "feePassed",
605
- "type": "uint64",
606
- "internalType": "uint64"
607
- },
608
- {
609
- "name": "storedVersion",
610
- "type": "uint32",
611
- "internalType": "uint32"
612
- },
613
- {
614
- "name": "versionPassed",
615
- "type": "uint32",
616
- "internalType": "uint32"
617
- },
1767
+ "name": "actual",
1768
+ "type": "bytes32",
1769
+ "internalType": "bytes32"
1770
+ }
1771
+ ]
1772
+ },
1773
+ {
1774
+ "type": "error",
1775
+ "name": "Rollup__InvalidBlobHash",
1776
+ "inputs": [
618
1777
  {
619
- "name": "storedDeadline",
620
- "type": "uint32",
621
- "internalType": "uint32"
1778
+ "name": "expected",
1779
+ "type": "bytes32",
1780
+ "internalType": "bytes32"
622
1781
  },
623
1782
  {
624
- "name": "deadlinePassed",
625
- "type": "uint32",
626
- "internalType": "uint32"
1783
+ "name": "actual",
1784
+ "type": "bytes32",
1785
+ "internalType": "bytes32"
627
1786
  }
628
1787
  ]
629
1788
  },
630
1789
  {
631
1790
  "type": "error",
632
- "name": "Outbox__InvalidChainId",
633
- "inputs": []
1791
+ "name": "Rollup__InvalidCheckpointNumber",
1792
+ "inputs": [
1793
+ {
1794
+ "name": "expected",
1795
+ "type": "uint256",
1796
+ "internalType": "uint256"
1797
+ },
1798
+ {
1799
+ "name": "actual",
1800
+ "type": "uint256",
1801
+ "internalType": "uint256"
1802
+ }
1803
+ ]
634
1804
  },
635
1805
  {
636
1806
  "type": "error",
637
- "name": "Outbox__InvalidPathLength",
1807
+ "name": "Rollup__InvalidInHash",
638
1808
  "inputs": [
639
1809
  {
640
1810
  "name": "expected",
641
- "type": "uint256",
642
- "internalType": "uint256"
1811
+ "type": "bytes32",
1812
+ "internalType": "bytes32"
643
1813
  },
644
1814
  {
645
1815
  "name": "actual",
646
- "type": "uint256",
647
- "internalType": "uint256"
1816
+ "type": "bytes32",
1817
+ "internalType": "bytes32"
648
1818
  }
649
1819
  ]
650
1820
  },
651
1821
  {
652
1822
  "type": "error",
653
- "name": "Outbox__InvalidRecipient",
1823
+ "name": "Rollup__InvalidManaBaseFee",
654
1824
  "inputs": [
655
1825
  {
656
1826
  "name": "expected",
657
- "type": "address",
658
- "internalType": "address"
1827
+ "type": "uint256",
1828
+ "internalType": "uint256"
659
1829
  },
660
1830
  {
661
1831
  "name": "actual",
662
- "type": "address",
663
- "internalType": "address"
1832
+ "type": "uint256",
1833
+ "internalType": "uint256"
664
1834
  }
665
1835
  ]
666
1836
  },
667
1837
  {
668
1838
  "type": "error",
669
- "name": "Outbox__InvalidVersion",
1839
+ "name": "Rollup__InvalidManaTarget",
670
1840
  "inputs": [
671
1841
  {
672
- "name": "entry",
1842
+ "name": "minimum",
673
1843
  "type": "uint256",
674
1844
  "internalType": "uint256"
675
1845
  },
676
1846
  {
677
- "name": "message",
1847
+ "name": "provided",
678
1848
  "type": "uint256",
679
1849
  "internalType": "uint256"
680
1850
  }
@@ -682,10 +1852,15 @@
682
1852
  },
683
1853
  {
684
1854
  "type": "error",
685
- "name": "Outbox__NothingToConsume",
1855
+ "name": "Rollup__InvalidPreviousArchive",
686
1856
  "inputs": [
687
1857
  {
688
- "name": "messageHash",
1858
+ "name": "expected",
1859
+ "type": "bytes32",
1860
+ "internalType": "bytes32"
1861
+ },
1862
+ {
1863
+ "name": "actual",
689
1864
  "type": "bytes32",
690
1865
  "internalType": "bytes32"
691
1866
  }
@@ -693,152 +1868,210 @@
693
1868
  },
694
1869
  {
695
1870
  "type": "error",
696
- "name": "Outbox__NothingToConsumeAtBlock",
1871
+ "name": "Rollup__InvalidProposedArchive",
697
1872
  "inputs": [
698
1873
  {
699
- "name": "l2BlockNumber",
700
- "type": "uint256",
701
- "internalType": "uint256"
1874
+ "name": "expected",
1875
+ "type": "bytes32",
1876
+ "internalType": "bytes32"
1877
+ },
1878
+ {
1879
+ "name": "actual",
1880
+ "type": "bytes32",
1881
+ "internalType": "bytes32"
702
1882
  }
703
1883
  ]
704
1884
  },
705
1885
  {
706
1886
  "type": "error",
707
- "name": "Outbox__RootAlreadySetAtBlock",
1887
+ "name": "Rollup__InvalidTimestamp",
708
1888
  "inputs": [
709
1889
  {
710
- "name": "l2BlockNumber",
1890
+ "name": "expected",
711
1891
  "type": "uint256",
712
- "internalType": "uint256"
1892
+ "internalType": "Timestamp"
1893
+ },
1894
+ {
1895
+ "name": "actual",
1896
+ "type": "uint256",
1897
+ "internalType": "Timestamp"
713
1898
  }
714
1899
  ]
715
1900
  },
716
1901
  {
717
1902
  "type": "error",
718
- "name": "Outbox__Unauthorized",
719
- "inputs": []
1903
+ "name": "Rollup__NotPastDeadline",
1904
+ "inputs": [
1905
+ {
1906
+ "name": "deadline",
1907
+ "type": "uint256",
1908
+ "internalType": "Epoch"
1909
+ },
1910
+ {
1911
+ "name": "currentEpoch",
1912
+ "type": "uint256",
1913
+ "internalType": "Epoch"
1914
+ }
1915
+ ]
720
1916
  },
721
1917
  {
722
1918
  "type": "error",
723
- "name": "ProofCommitmentEscrow__InsufficientBalance",
1919
+ "name": "Rollup__PastDeadline",
724
1920
  "inputs": [
725
1921
  {
726
- "name": "balance",
1922
+ "name": "deadline",
727
1923
  "type": "uint256",
728
- "internalType": "uint256"
1924
+ "internalType": "Epoch"
729
1925
  },
730
1926
  {
731
- "name": "requested",
1927
+ "name": "currentEpoch",
732
1928
  "type": "uint256",
733
- "internalType": "uint256"
1929
+ "internalType": "Epoch"
734
1930
  }
735
1931
  ]
736
1932
  },
737
1933
  {
738
1934
  "type": "error",
739
- "name": "ProofCommitmentEscrow__NotOwner",
1935
+ "name": "Rollup__ProverHaveAlreadySubmitted",
740
1936
  "inputs": [
741
1937
  {
742
- "name": "caller",
1938
+ "name": "prover",
743
1939
  "type": "address",
744
1940
  "internalType": "address"
1941
+ },
1942
+ {
1943
+ "name": "epoch",
1944
+ "type": "uint256",
1945
+ "internalType": "Epoch"
745
1946
  }
746
1947
  ]
747
1948
  },
748
1949
  {
749
1950
  "type": "error",
750
- "name": "ProofCommitmentEscrow__WithdrawRequestNotReady",
1951
+ "name": "Rollup__SlotAlreadyInChain",
751
1952
  "inputs": [
752
1953
  {
753
- "name": "current",
1954
+ "name": "lastSlot",
754
1955
  "type": "uint256",
755
- "internalType": "uint256"
1956
+ "internalType": "Slot"
756
1957
  },
757
1958
  {
758
- "name": "readyAt",
1959
+ "name": "proposedSlot",
759
1960
  "type": "uint256",
760
- "internalType": "Timestamp"
1961
+ "internalType": "Slot"
761
1962
  }
762
1963
  ]
763
1964
  },
764
1965
  {
765
- "type": "function",
766
- "name": "ROLLUP",
767
- "inputs": [],
768
- "outputs": [
1966
+ "type": "error",
1967
+ "name": "Rollup__StartAndEndNotSameEpoch",
1968
+ "inputs": [
769
1969
  {
770
- "name": "",
771
- "type": "address",
772
- "internalType": "contract Rollup"
1970
+ "name": "start",
1971
+ "type": "uint256",
1972
+ "internalType": "Epoch"
1973
+ },
1974
+ {
1975
+ "name": "end",
1976
+ "type": "uint256",
1977
+ "internalType": "Epoch"
773
1978
  }
774
- ],
775
- "stateMutability": "view"
1979
+ ]
776
1980
  },
777
1981
  {
778
1982
  "type": "error",
779
- "name": "Registry__RollupAlreadyRegistered",
1983
+ "name": "Rollup__TimestampInFuture",
780
1984
  "inputs": [
781
1985
  {
782
- "name": "rollup",
783
- "type": "address",
784
- "internalType": "address"
1986
+ "name": "max",
1987
+ "type": "uint256",
1988
+ "internalType": "Timestamp"
1989
+ },
1990
+ {
1991
+ "name": "actual",
1992
+ "type": "uint256",
1993
+ "internalType": "Timestamp"
785
1994
  }
786
1995
  ]
787
1996
  },
788
1997
  {
789
1998
  "type": "error",
790
- "name": "Registry__RollupNotRegistered",
1999
+ "name": "Rollup__TooManyCheckpointsInEpoch",
791
2000
  "inputs": [
792
2001
  {
793
- "name": "rollup",
794
- "type": "address",
795
- "internalType": "address"
2002
+ "name": "expected",
2003
+ "type": "uint256",
2004
+ "internalType": "uint256"
2005
+ },
2006
+ {
2007
+ "name": "actual",
2008
+ "type": "uint256",
2009
+ "internalType": "uint256"
796
2010
  }
797
2011
  ]
798
2012
  },
799
2013
  {
800
2014
  "type": "error",
801
- "name": "RewardDistributor__InvalidCaller",
2015
+ "name": "Rollup__TooSoonToSetRewardsClaimable",
802
2016
  "inputs": [
803
2017
  {
804
- "name": "caller",
805
- "type": "address",
806
- "internalType": "address"
2018
+ "name": "earliestRewardsClaimableTimestamp",
2019
+ "type": "uint256",
2020
+ "internalType": "uint256"
807
2021
  },
808
2022
  {
809
- "name": "canonical",
810
- "type": "address",
811
- "internalType": "address"
2023
+ "name": "currentTimestamp",
2024
+ "type": "uint256",
2025
+ "internalType": "uint256"
812
2026
  }
813
2027
  ]
814
2028
  },
2029
+ {
2030
+ "type": "event",
2031
+ "name": "RootAdded",
2032
+ "inputs": [
2033
+ {
2034
+ "name": "checkpointNumber",
2035
+ "type": "uint256",
2036
+ "indexed": true,
2037
+ "internalType": "uint256"
2038
+ },
2039
+ {
2040
+ "name": "root",
2041
+ "type": "bytes32",
2042
+ "indexed": true,
2043
+ "internalType": "bytes32"
2044
+ }
2045
+ ],
2046
+ "anonymous": false
2047
+ },
815
2048
  {
816
2049
  "type": "error",
817
- "name": "Rollup__AlreadyClaimed",
2050
+ "name": "SafeCastOverflowedIntDowncast",
818
2051
  "inputs": [
819
2052
  {
820
- "name": "prover",
821
- "type": "address",
822
- "internalType": "address"
2053
+ "name": "bits",
2054
+ "type": "uint8",
2055
+ "internalType": "uint8"
823
2056
  },
824
2057
  {
825
- "name": "epoch",
826
- "type": "uint256",
827
- "internalType": "Epoch"
2058
+ "name": "value",
2059
+ "type": "int256",
2060
+ "internalType": "int256"
828
2061
  }
829
2062
  ]
830
2063
  },
831
2064
  {
832
2065
  "type": "error",
833
- "name": "Rollup__InsufficientBondAmount",
2066
+ "name": "SafeCastOverflowedUintDowncast",
834
2067
  "inputs": [
835
2068
  {
836
- "name": "minimum",
837
- "type": "uint256",
838
- "internalType": "uint256"
2069
+ "name": "bits",
2070
+ "type": "uint8",
2071
+ "internalType": "uint8"
839
2072
  },
840
2073
  {
841
- "name": "provided",
2074
+ "name": "value",
842
2075
  "type": "uint256",
843
2076
  "internalType": "uint256"
844
2077
  }
@@ -846,15 +2079,15 @@
846
2079
  },
847
2080
  {
848
2081
  "type": "error",
849
- "name": "Rollup__InsufficientFundsInEscrow",
2082
+ "name": "SampleLib__IndexOutOfBounds",
850
2083
  "inputs": [
851
2084
  {
852
- "name": "required",
2085
+ "name": "requested",
853
2086
  "type": "uint256",
854
2087
  "internalType": "uint256"
855
2088
  },
856
2089
  {
857
- "name": "available",
2090
+ "name": "bound",
858
2091
  "type": "uint256",
859
2092
  "internalType": "uint256"
860
2093
  }
@@ -862,96 +2095,111 @@
862
2095
  },
863
2096
  {
864
2097
  "type": "error",
865
- "name": "Rollup__InvalidArchive",
2098
+ "name": "SampleLib__SampleLargerThanIndex",
866
2099
  "inputs": [
867
2100
  {
868
- "name": "expected",
869
- "type": "bytes32",
870
- "internalType": "bytes32"
2101
+ "name": "sample",
2102
+ "type": "uint256",
2103
+ "internalType": "uint256"
871
2104
  },
872
2105
  {
873
- "name": "actual",
874
- "type": "bytes32",
875
- "internalType": "bytes32"
2106
+ "name": "index",
2107
+ "type": "uint256",
2108
+ "internalType": "uint256"
876
2109
  }
877
2110
  ]
878
2111
  },
879
2112
  {
880
2113
  "type": "error",
881
- "name": "Rollup__InvalidBasisPointFee",
2114
+ "name": "SignatureLib__InvalidSignature",
882
2115
  "inputs": [
883
2116
  {
884
- "name": "basisPointFee",
885
- "type": "uint256",
886
- "internalType": "uint256"
2117
+ "name": "",
2118
+ "type": "address",
2119
+ "internalType": "address"
2120
+ },
2121
+ {
2122
+ "name": "",
2123
+ "type": "address",
2124
+ "internalType": "address"
887
2125
  }
888
2126
  ]
889
2127
  },
890
2128
  {
891
2129
  "type": "error",
892
- "name": "Rollup__InvalidBlobHash",
2130
+ "name": "SlashPayload_ArraySizeMismatch",
893
2131
  "inputs": [
894
2132
  {
895
- "name": "blobHash",
896
- "type": "bytes32",
897
- "internalType": "bytes32"
2133
+ "name": "expected",
2134
+ "type": "uint256",
2135
+ "internalType": "uint256"
2136
+ },
2137
+ {
2138
+ "name": "actual",
2139
+ "type": "uint256",
2140
+ "internalType": "uint256"
898
2141
  }
899
2142
  ]
900
2143
  },
901
2144
  {
902
2145
  "type": "error",
903
- "name": "Rollup__InvalidBlobProof",
2146
+ "name": "Staking__AlreadyRegistered",
904
2147
  "inputs": [
905
2148
  {
906
- "name": "blobHash",
907
- "type": "bytes32",
908
- "internalType": "bytes32"
2149
+ "name": "instance",
2150
+ "type": "address",
2151
+ "internalType": "address"
2152
+ },
2153
+ {
2154
+ "name": "attester",
2155
+ "type": "address",
2156
+ "internalType": "address"
909
2157
  }
910
2158
  ]
911
2159
  },
912
2160
  {
913
2161
  "type": "error",
914
- "name": "Rollup__InvalidBlobPublicInputsHash",
2162
+ "name": "Staking__InsufficientBootstrapValidators",
915
2163
  "inputs": [
916
2164
  {
917
- "name": "expected",
918
- "type": "bytes32",
919
- "internalType": "bytes32"
2165
+ "name": "queueSize",
2166
+ "type": "uint256",
2167
+ "internalType": "uint256"
920
2168
  },
921
2169
  {
922
- "name": "actual",
923
- "type": "bytes32",
924
- "internalType": "bytes32"
2170
+ "name": "bootstrapFlushSize",
2171
+ "type": "uint256",
2172
+ "internalType": "uint256"
925
2173
  }
926
2174
  ]
927
2175
  },
928
2176
  {
929
2177
  "type": "error",
930
- "name": "Rollup__InvalidBlockHash",
2178
+ "name": "Staking__InsufficientPower",
931
2179
  "inputs": [
932
2180
  {
933
- "name": "expected",
934
- "type": "bytes32",
935
- "internalType": "bytes32"
2181
+ "name": "",
2182
+ "type": "uint256",
2183
+ "internalType": "uint256"
936
2184
  },
937
2185
  {
938
- "name": "actual",
939
- "type": "bytes32",
940
- "internalType": "bytes32"
2186
+ "name": "",
2187
+ "type": "uint256",
2188
+ "internalType": "uint256"
941
2189
  }
942
2190
  ]
943
2191
  },
944
2192
  {
945
2193
  "type": "error",
946
- "name": "Rollup__InvalidBlockNumber",
2194
+ "name": "Staking__InsufficientStake",
947
2195
  "inputs": [
948
2196
  {
949
- "name": "expected",
2197
+ "name": "",
950
2198
  "type": "uint256",
951
2199
  "internalType": "uint256"
952
2200
  },
953
2201
  {
954
- "name": "actual",
2202
+ "name": "",
955
2203
  "type": "uint256",
956
2204
  "internalType": "uint256"
957
2205
  }
@@ -959,63 +2207,63 @@
959
2207
  },
960
2208
  {
961
2209
  "type": "error",
962
- "name": "Rollup__InvalidChainId",
2210
+ "name": "Staking__InvalidDeposit",
963
2211
  "inputs": [
964
2212
  {
965
- "name": "expected",
966
- "type": "uint256",
967
- "internalType": "uint256"
2213
+ "name": "attester",
2214
+ "type": "address",
2215
+ "internalType": "address"
968
2216
  },
969
2217
  {
970
- "name": "actual",
971
- "type": "uint256",
972
- "internalType": "uint256"
2218
+ "name": "proposer",
2219
+ "type": "address",
2220
+ "internalType": "address"
973
2221
  }
974
2222
  ]
975
2223
  },
976
2224
  {
977
2225
  "type": "error",
978
- "name": "Rollup__InvalidEpoch",
2226
+ "name": "Staking__NotSlasher",
979
2227
  "inputs": [
980
2228
  {
981
- "name": "expected",
982
- "type": "uint256",
983
- "internalType": "Epoch"
2229
+ "name": "",
2230
+ "type": "address",
2231
+ "internalType": "address"
984
2232
  },
985
2233
  {
986
- "name": "actual",
987
- "type": "uint256",
988
- "internalType": "Epoch"
2234
+ "name": "",
2235
+ "type": "address",
2236
+ "internalType": "address"
989
2237
  }
990
2238
  ]
991
2239
  },
992
2240
  {
993
2241
  "type": "error",
994
- "name": "Rollup__InvalidInHash",
2242
+ "name": "Staking__NotWithdrawer",
995
2243
  "inputs": [
996
2244
  {
997
- "name": "expected",
998
- "type": "bytes32",
999
- "internalType": "bytes32"
2245
+ "name": "",
2246
+ "type": "address",
2247
+ "internalType": "address"
1000
2248
  },
1001
2249
  {
1002
- "name": "actual",
1003
- "type": "bytes32",
1004
- "internalType": "bytes32"
2250
+ "name": "",
2251
+ "type": "address",
2252
+ "internalType": "address"
1005
2253
  }
1006
2254
  ]
1007
2255
  },
1008
2256
  {
1009
2257
  "type": "error",
1010
- "name": "Rollup__InvalidManaBaseFee",
2258
+ "name": "Staking__OutOfBounds",
1011
2259
  "inputs": [
1012
2260
  {
1013
- "name": "expected",
2261
+ "name": "",
1014
2262
  "type": "uint256",
1015
2263
  "internalType": "uint256"
1016
2264
  },
1017
2265
  {
1018
- "name": "actual",
2266
+ "name": "",
1019
2267
  "type": "uint256",
1020
2268
  "internalType": "uint256"
1021
2269
  }
@@ -1023,84 +2271,79 @@
1023
2271
  },
1024
2272
  {
1025
2273
  "type": "error",
1026
- "name": "Rollup__InvalidPreviousArchive",
2274
+ "name": "Staking__WithdrawalNotUnlockedYet",
1027
2275
  "inputs": [
1028
2276
  {
1029
- "name": "expected",
1030
- "type": "bytes32",
1031
- "internalType": "bytes32"
2277
+ "name": "",
2278
+ "type": "uint256",
2279
+ "internalType": "Timestamp"
1032
2280
  },
1033
2281
  {
1034
- "name": "actual",
1035
- "type": "bytes32",
1036
- "internalType": "bytes32"
2282
+ "name": "",
2283
+ "type": "uint256",
2284
+ "internalType": "Timestamp"
1037
2285
  }
1038
2286
  ]
1039
2287
  },
1040
2288
  {
1041
2289
  "type": "error",
1042
- "name": "Rollup__InvalidPreviousBlockHash",
2290
+ "name": "TallySlashingProposer__InvalidCommitteeSize",
1043
2291
  "inputs": [
1044
2292
  {
1045
2293
  "name": "expected",
1046
- "type": "bytes32",
1047
- "internalType": "bytes32"
2294
+ "type": "uint256",
2295
+ "internalType": "uint256"
1048
2296
  },
1049
2297
  {
1050
2298
  "name": "actual",
1051
- "type": "bytes32",
1052
- "internalType": "bytes32"
2299
+ "type": "uint256",
2300
+ "internalType": "uint256"
1053
2301
  }
1054
2302
  ]
1055
2303
  },
1056
2304
  {
1057
2305
  "type": "error",
1058
- "name": "Rollup__InvalidProof",
1059
- "inputs": []
1060
- },
1061
- {
1062
- "type": "error",
1063
- "name": "Rollup__InvalidProposedArchive",
2306
+ "name": "TallySlashingProposer__InvalidEpochIndex",
1064
2307
  "inputs": [
1065
2308
  {
1066
- "name": "expected",
1067
- "type": "bytes32",
1068
- "internalType": "bytes32"
2309
+ "name": "epochIndex",
2310
+ "type": "uint256",
2311
+ "internalType": "uint256"
1069
2312
  },
1070
2313
  {
1071
- "name": "actual",
1072
- "type": "bytes32",
1073
- "internalType": "bytes32"
2314
+ "name": "roundSizeInEpochs",
2315
+ "type": "uint256",
2316
+ "internalType": "uint256"
1074
2317
  }
1075
2318
  ]
1076
2319
  },
1077
2320
  {
1078
2321
  "type": "error",
1079
- "name": "Rollup__InvalidTimestamp",
2322
+ "name": "TallySlashingProposer__InvalidNumberOfCommittees",
1080
2323
  "inputs": [
1081
2324
  {
1082
2325
  "name": "expected",
1083
2326
  "type": "uint256",
1084
- "internalType": "Timestamp"
2327
+ "internalType": "uint256"
1085
2328
  },
1086
2329
  {
1087
2330
  "name": "actual",
1088
2331
  "type": "uint256",
1089
- "internalType": "Timestamp"
2332
+ "internalType": "uint256"
1090
2333
  }
1091
2334
  ]
1092
2335
  },
1093
2336
  {
1094
2337
  "type": "error",
1095
- "name": "Rollup__InvalidVersion",
2338
+ "name": "TallySlashingProposer__InvalidQuorumAndRoundSize",
1096
2339
  "inputs": [
1097
2340
  {
1098
- "name": "expected",
2341
+ "name": "quorum",
1099
2342
  "type": "uint256",
1100
2343
  "internalType": "uint256"
1101
2344
  },
1102
2345
  {
1103
- "name": "actual",
2346
+ "name": "roundSize",
1104
2347
  "type": "uint256",
1105
2348
  "internalType": "uint256"
1106
2349
  }
@@ -1108,252 +2351,191 @@
1108
2351
  },
1109
2352
  {
1110
2353
  "type": "error",
1111
- "name": "Rollup__NoEpochToProve",
1112
- "inputs": []
1113
- },
1114
- {
1115
- "type": "error",
1116
- "name": "Rollup__NonSequentialProving",
1117
- "inputs": []
1118
- },
1119
- {
1120
- "type": "error",
1121
- "name": "Rollup__NonZeroDaFee",
1122
- "inputs": []
1123
- },
1124
- {
1125
- "type": "error",
1126
- "name": "Rollup__NotPastDeadline",
2354
+ "name": "TallySlashingProposer__InvalidVoteLength",
1127
2355
  "inputs": [
1128
2356
  {
1129
- "name": "deadline",
2357
+ "name": "expected",
1130
2358
  "type": "uint256",
1131
- "internalType": "Slot"
2359
+ "internalType": "uint256"
1132
2360
  },
1133
2361
  {
1134
- "name": "currentSlot",
2362
+ "name": "actual",
1135
2363
  "type": "uint256",
1136
- "internalType": "Slot"
2364
+ "internalType": "uint256"
1137
2365
  }
1138
2366
  ]
1139
2367
  },
1140
2368
  {
1141
2369
  "type": "error",
1142
- "name": "Rollup__NothingToPrune",
1143
- "inputs": []
1144
- },
1145
- {
1146
- "type": "error",
1147
- "name": "Rollup__PastDeadline",
2370
+ "name": "TallySlashingProposer__LifetimeMustBeGreaterThanExecutionDelay",
1148
2371
  "inputs": [
1149
2372
  {
1150
- "name": "deadline",
2373
+ "name": "lifetime",
1151
2374
  "type": "uint256",
1152
- "internalType": "Slot"
2375
+ "internalType": "uint256"
1153
2376
  },
1154
2377
  {
1155
- "name": "currentSlot",
2378
+ "name": "executionDelay",
1156
2379
  "type": "uint256",
1157
- "internalType": "Slot"
2380
+ "internalType": "uint256"
1158
2381
  }
1159
2382
  ]
1160
2383
  },
1161
2384
  {
1162
2385
  "type": "error",
1163
- "name": "Rollup__ProverHaveAlreadySubmitted",
2386
+ "name": "TallySlashingProposer__LifetimeMustBeLessThanRoundabout",
1164
2387
  "inputs": [
1165
2388
  {
1166
- "name": "prover",
1167
- "type": "address",
1168
- "internalType": "address"
2389
+ "name": "lifetime",
2390
+ "type": "uint256",
2391
+ "internalType": "uint256"
1169
2392
  },
1170
2393
  {
1171
- "name": "epoch",
2394
+ "name": "roundabout",
1172
2395
  "type": "uint256",
1173
- "internalType": "Epoch"
2396
+ "internalType": "uint256"
1174
2397
  }
1175
2398
  ]
1176
2399
  },
1177
2400
  {
1178
2401
  "type": "error",
1179
- "name": "Rollup__SlotAlreadyInChain",
2402
+ "name": "TallySlashingProposer__RoundOutOfRange",
1180
2403
  "inputs": [
1181
2404
  {
1182
- "name": "lastSlot",
2405
+ "name": "round",
1183
2406
  "type": "uint256",
1184
- "internalType": "Slot"
2407
+ "internalType": "SlashRound"
1185
2408
  },
1186
2409
  {
1187
- "name": "proposedSlot",
2410
+ "name": "currentRound",
1188
2411
  "type": "uint256",
1189
- "internalType": "Slot"
2412
+ "internalType": "SlashRound"
1190
2413
  }
1191
2414
  ]
1192
2415
  },
1193
2416
  {
1194
2417
  "type": "error",
1195
- "name": "Rollup__StartAndEndNotSameEpoch",
2418
+ "name": "TallySlashingProposer__RoundSizeMustBeMultipleOfEpochDuration",
1196
2419
  "inputs": [
1197
2420
  {
1198
- "name": "start",
2421
+ "name": "roundSize",
1199
2422
  "type": "uint256",
1200
- "internalType": "Epoch"
2423
+ "internalType": "uint256"
1201
2424
  },
1202
2425
  {
1203
- "name": "end",
2426
+ "name": "epochDuration",
1204
2427
  "type": "uint256",
1205
- "internalType": "Epoch"
2428
+ "internalType": "uint256"
1206
2429
  }
1207
2430
  ]
1208
2431
  },
1209
2432
  {
1210
2433
  "type": "error",
1211
- "name": "Rollup__StartIsNotBuildingOnProven",
1212
- "inputs": []
1213
- },
1214
- {
1215
- "type": "error",
1216
- "name": "Rollup__StartIsNotFirstBlockOfEpoch",
1217
- "inputs": []
1218
- },
1219
- {
1220
- "type": "error",
1221
- "name": "Rollup__TimestampInFuture",
2434
+ "name": "TallySlashingProposer__RoundSizeTooLarge",
1222
2435
  "inputs": [
1223
2436
  {
1224
- "name": "max",
2437
+ "name": "roundSize",
1225
2438
  "type": "uint256",
1226
- "internalType": "Timestamp"
2439
+ "internalType": "uint256"
1227
2440
  },
1228
2441
  {
1229
- "name": "actual",
2442
+ "name": "maxRoundSize",
1230
2443
  "type": "uint256",
1231
- "internalType": "Timestamp"
2444
+ "internalType": "uint256"
1232
2445
  }
1233
2446
  ]
1234
2447
  },
1235
2448
  {
1236
2449
  "type": "error",
1237
- "name": "Rollup__TimestampTooOld",
1238
- "inputs": []
1239
- },
1240
- {
1241
- "type": "error",
1242
- "name": "Rollup__TryingToProveNonExistingBlock",
1243
- "inputs": []
1244
- },
1245
- {
1246
- "type": "error",
1247
- "name": "Rollup__UnavailableTxs",
2450
+ "name": "TallySlashingProposer__VoteSizeTooBig",
1248
2451
  "inputs": [
1249
2452
  {
1250
- "name": "txsHash",
1251
- "type": "bytes32",
1252
- "internalType": "bytes32"
1253
- }
1254
- ]
1255
- },
1256
- {
1257
- "type": "event",
1258
- "name": "RootAdded",
1259
- "inputs": [
1260
- {
1261
- "name": "l2BlockNumber",
2453
+ "name": "voteSize",
1262
2454
  "type": "uint256",
1263
- "indexed": true,
1264
2455
  "internalType": "uint256"
1265
2456
  },
1266
2457
  {
1267
- "name": "root",
1268
- "type": "bytes32",
1269
- "indexed": true,
1270
- "internalType": "bytes32"
1271
- },
1272
- {
1273
- "name": "minHeight",
2458
+ "name": "maxSize",
1274
2459
  "type": "uint256",
1275
- "indexed": false,
1276
2460
  "internalType": "uint256"
1277
2461
  }
1278
- ],
1279
- "anonymous": false
2462
+ ]
1280
2463
  },
1281
2464
  {
1282
2465
  "type": "error",
1283
- "name": "SampleLib__IndexOutOfBounds",
2466
+ "name": "ValidatorSelection__EpochNotStable",
1284
2467
  "inputs": [
1285
2468
  {
1286
- "name": "requested",
2469
+ "name": "queriedEpoch",
1287
2470
  "type": "uint256",
1288
2471
  "internalType": "uint256"
1289
2472
  },
1290
2473
  {
1291
- "name": "bound",
1292
- "type": "uint256",
1293
- "internalType": "uint256"
2474
+ "name": "currentTimestamp",
2475
+ "type": "uint32",
2476
+ "internalType": "uint32"
1294
2477
  }
1295
2478
  ]
1296
2479
  },
1297
2480
  {
1298
2481
  "type": "error",
1299
- "name": "SignatureLib__CannotVerifyEmpty",
1300
- "inputs": []
1301
- },
1302
- {
1303
- "type": "error",
1304
- "name": "SignatureLib__InvalidSignature",
2482
+ "name": "ValidatorSelection__InsufficientAttestations",
1305
2483
  "inputs": [
1306
2484
  {
1307
- "name": "expected",
1308
- "type": "address",
1309
- "internalType": "address"
2485
+ "name": "minimumNeeded",
2486
+ "type": "uint256",
2487
+ "internalType": "uint256"
1310
2488
  },
1311
2489
  {
1312
- "name": "recovered",
1313
- "type": "address",
1314
- "internalType": "address"
2490
+ "name": "provided",
2491
+ "type": "uint256",
2492
+ "internalType": "uint256"
1315
2493
  }
1316
2494
  ]
1317
2495
  },
1318
2496
  {
1319
2497
  "type": "error",
1320
- "name": "Staking__AlreadyActive",
2498
+ "name": "ValidatorSelection__InsufficientValidatorSetSize",
1321
2499
  "inputs": [
1322
2500
  {
1323
- "name": "attester",
1324
- "type": "address",
1325
- "internalType": "address"
2501
+ "name": "actual",
2502
+ "type": "uint256",
2503
+ "internalType": "uint256"
2504
+ },
2505
+ {
2506
+ "name": "expected",
2507
+ "type": "uint256",
2508
+ "internalType": "uint256"
1326
2509
  }
1327
2510
  ]
1328
2511
  },
1329
2512
  {
1330
2513
  "type": "error",
1331
- "name": "Staking__AlreadyRegistered",
2514
+ "name": "ValidatorSelection__InvalidCommitteeCommitment",
1332
2515
  "inputs": [
1333
2516
  {
1334
- "name": "",
1335
- "type": "address",
1336
- "internalType": "address"
2517
+ "name": "reconstructed",
2518
+ "type": "bytes32",
2519
+ "internalType": "bytes32"
2520
+ },
2521
+ {
2522
+ "name": "expected",
2523
+ "type": "bytes32",
2524
+ "internalType": "bytes32"
1337
2525
  }
1338
2526
  ]
1339
2527
  },
1340
2528
  {
1341
2529
  "type": "error",
1342
- "name": "Staking__CannotSlashExitedStake",
2530
+ "name": "ValidatorSelection__InvalidDeposit",
1343
2531
  "inputs": [
1344
2532
  {
1345
- "name": "",
2533
+ "name": "attester",
1346
2534
  "type": "address",
1347
2535
  "internalType": "address"
1348
- }
1349
- ]
1350
- },
1351
- {
1352
- "type": "error",
1353
- "name": "Staking__FailedToRemove",
1354
- "inputs": [
2536
+ },
1355
2537
  {
1356
- "name": "",
2538
+ "name": "proposer",
1357
2539
  "type": "address",
1358
2540
  "internalType": "address"
1359
2541
  }
@@ -1361,15 +2543,15 @@
1361
2543
  },
1362
2544
  {
1363
2545
  "type": "error",
1364
- "name": "Staking__InsufficientStake",
2546
+ "name": "ValidatorSelection__InvalidLagInEpochs",
1365
2547
  "inputs": [
1366
2548
  {
1367
- "name": "",
2549
+ "name": "lagInEpochsForValidatorSet",
1368
2550
  "type": "uint256",
1369
2551
  "internalType": "uint256"
1370
2552
  },
1371
2553
  {
1372
- "name": "",
2554
+ "name": "lagInEpochsForRandao",
1373
2555
  "type": "uint256",
1374
2556
  "internalType": "uint256"
1375
2557
  }
@@ -1377,15 +2559,15 @@
1377
2559
  },
1378
2560
  {
1379
2561
  "type": "error",
1380
- "name": "Staking__InvalidDeposit",
2562
+ "name": "ValidatorSelection__InvalidProposer",
1381
2563
  "inputs": [
1382
2564
  {
1383
- "name": "attester",
2565
+ "name": "expected",
1384
2566
  "type": "address",
1385
2567
  "internalType": "address"
1386
2568
  },
1387
2569
  {
1388
- "name": "proposer",
2570
+ "name": "actual",
1389
2571
  "type": "address",
1390
2572
  "internalType": "address"
1391
2573
  }
@@ -1393,29 +2575,65 @@
1393
2575
  },
1394
2576
  {
1395
2577
  "type": "error",
1396
- "name": "Staking__NoOneToSlash",
2578
+ "name": "ValidatorSelection__MissingProposerSignature",
1397
2579
  "inputs": [
1398
2580
  {
1399
- "name": "",
2581
+ "name": "proposer",
1400
2582
  "type": "address",
1401
2583
  "internalType": "address"
2584
+ },
2585
+ {
2586
+ "name": "index",
2587
+ "type": "uint256",
2588
+ "internalType": "uint256"
1402
2589
  }
1403
2590
  ]
1404
2591
  },
1405
2592
  {
1406
- "type": "error",
1407
- "name": "Staking__NotExiting",
2593
+ "type": "function",
2594
+ "name": "hasMessageBeenConsumedAtCheckpoint",
1408
2595
  "inputs": [
2596
+ {
2597
+ "name": "_checkpointNumber",
2598
+ "type": "uint256",
2599
+ "internalType": "uint256"
2600
+ },
2601
+ {
2602
+ "name": "_leafId",
2603
+ "type": "uint256",
2604
+ "internalType": "uint256"
2605
+ }
2606
+ ],
2607
+ "outputs": [
1409
2608
  {
1410
2609
  "name": "",
1411
- "type": "address",
1412
- "internalType": "address"
2610
+ "type": "bool",
2611
+ "internalType": "bool"
1413
2612
  }
1414
- ]
2613
+ ],
2614
+ "stateMutability": "view"
2615
+ },
2616
+ {
2617
+ "type": "function",
2618
+ "name": "insert",
2619
+ "inputs": [
2620
+ {
2621
+ "name": "_checkpointNumber",
2622
+ "type": "uint256",
2623
+ "internalType": "uint256"
2624
+ },
2625
+ {
2626
+ "name": "_root",
2627
+ "type": "bytes32",
2628
+ "internalType": "bytes32"
2629
+ }
2630
+ ],
2631
+ "outputs": [],
2632
+ "stateMutability": "nonpayable"
1415
2633
  },
1416
2634
  {
1417
2635
  "type": "error",
1418
- "name": "Staking__NotSlasher",
2636
+ "name": "Delegation__InsufficientPower",
1419
2637
  "inputs": [
1420
2638
  {
1421
2639
  "name": "",
@@ -1424,70 +2642,95 @@
1424
2642
  },
1425
2643
  {
1426
2644
  "name": "",
1427
- "type": "address",
1428
- "internalType": "address"
2645
+ "type": "uint256",
2646
+ "internalType": "uint256"
2647
+ },
2648
+ {
2649
+ "name": "",
2650
+ "type": "uint256",
2651
+ "internalType": "uint256"
1429
2652
  }
1430
2653
  ]
1431
2654
  },
1432
2655
  {
1433
2656
  "type": "error",
1434
- "name": "Staking__NotWithdrawer",
2657
+ "name": "ERC20InsufficientAllowance",
1435
2658
  "inputs": [
1436
2659
  {
1437
- "name": "",
2660
+ "name": "spender",
1438
2661
  "type": "address",
1439
2662
  "internalType": "address"
1440
2663
  },
1441
2664
  {
1442
- "name": "",
1443
- "type": "address",
1444
- "internalType": "address"
2665
+ "name": "allowance",
2666
+ "type": "uint256",
2667
+ "internalType": "uint256"
2668
+ },
2669
+ {
2670
+ "name": "needed",
2671
+ "type": "uint256",
2672
+ "internalType": "uint256"
1445
2673
  }
1446
2674
  ]
1447
2675
  },
1448
2676
  {
1449
2677
  "type": "error",
1450
- "name": "Staking__NothingToExit",
2678
+ "name": "ERC20InsufficientBalance",
1451
2679
  "inputs": [
1452
2680
  {
1453
- "name": "",
2681
+ "name": "sender",
1454
2682
  "type": "address",
1455
2683
  "internalType": "address"
2684
+ },
2685
+ {
2686
+ "name": "balance",
2687
+ "type": "uint256",
2688
+ "internalType": "uint256"
2689
+ },
2690
+ {
2691
+ "name": "needed",
2692
+ "type": "uint256",
2693
+ "internalType": "uint256"
1456
2694
  }
1457
2695
  ]
1458
2696
  },
1459
2697
  {
1460
2698
  "type": "error",
1461
- "name": "Staking__WithdrawalNotUnlockedYet",
2699
+ "name": "Governance__CheckpointedUintLib__InsufficientValue",
1462
2700
  "inputs": [
1463
2701
  {
1464
- "name": "",
2702
+ "name": "owner",
2703
+ "type": "address",
2704
+ "internalType": "address"
2705
+ },
2706
+ {
2707
+ "name": "have",
1465
2708
  "type": "uint256",
1466
- "internalType": "Timestamp"
2709
+ "internalType": "uint256"
1467
2710
  },
1468
2711
  {
1469
- "name": "",
2712
+ "name": "required",
1470
2713
  "type": "uint256",
1471
- "internalType": "Timestamp"
2714
+ "internalType": "uint256"
1472
2715
  }
1473
2716
  ]
1474
2717
  },
1475
2718
  {
1476
2719
  "type": "error",
1477
- "name": "ValidatorSelection__EpochNotSetup",
1478
- "inputs": []
1479
- },
1480
- {
1481
- "type": "error",
1482
- "name": "ValidatorSelection__InsufficientAttestations",
2720
+ "name": "Governance__InsufficientPower",
1483
2721
  "inputs": [
1484
2722
  {
1485
- "name": "minimumNeeded",
2723
+ "name": "voter",
2724
+ "type": "address",
2725
+ "internalType": "address"
2726
+ },
2727
+ {
2728
+ "name": "have",
1486
2729
  "type": "uint256",
1487
2730
  "internalType": "uint256"
1488
2731
  },
1489
2732
  {
1490
- "name": "provided",
2733
+ "name": "required",
1491
2734
  "type": "uint256",
1492
2735
  "internalType": "uint256"
1493
2736
  }
@@ -1495,15 +2738,20 @@
1495
2738
  },
1496
2739
  {
1497
2740
  "type": "error",
1498
- "name": "ValidatorSelection__InsufficientAttestationsProvided",
2741
+ "name": "Rollup__UnavailableTempCheckpointLog",
1499
2742
  "inputs": [
1500
2743
  {
1501
- "name": "minimumNeeded",
2744
+ "name": "checkpointNumber",
1502
2745
  "type": "uint256",
1503
2746
  "internalType": "uint256"
1504
2747
  },
1505
2748
  {
1506
- "name": "provided",
2749
+ "name": "pendingCheckpointNumber",
2750
+ "type": "uint256",
2751
+ "internalType": "uint256"
2752
+ },
2753
+ {
2754
+ "name": "upperLimit",
1507
2755
  "type": "uint256",
1508
2756
  "internalType": "uint256"
1509
2757
  }
@@ -1511,15 +2759,20 @@
1511
2759
  },
1512
2760
  {
1513
2761
  "type": "error",
1514
- "name": "ValidatorSelection__InvalidDeposit",
2762
+ "name": "Staking__NotOurProposal",
1515
2763
  "inputs": [
1516
2764
  {
1517
- "name": "attester",
2765
+ "name": "",
2766
+ "type": "uint256",
2767
+ "internalType": "uint256"
2768
+ },
2769
+ {
2770
+ "name": "",
1518
2771
  "type": "address",
1519
2772
  "internalType": "address"
1520
2773
  },
1521
2774
  {
1522
- "name": "proposer",
2775
+ "name": "",
1523
2776
  "type": "address",
1524
2777
  "internalType": "address"
1525
2778
  }
@@ -1527,20 +2780,61 @@
1527
2780
  },
1528
2781
  {
1529
2782
  "type": "error",
1530
- "name": "ValidatorSelection__InvalidProposer",
2783
+ "name": "MerkleLib__InvalidRoot",
1531
2784
  "inputs": [
1532
2785
  {
1533
2786
  "name": "expected",
1534
- "type": "address",
1535
- "internalType": "address"
2787
+ "type": "bytes32",
2788
+ "internalType": "bytes32"
1536
2789
  },
1537
2790
  {
1538
2791
  "name": "actual",
1539
- "type": "address",
1540
- "internalType": "address"
2792
+ "type": "bytes32",
2793
+ "internalType": "bytes32"
2794
+ },
2795
+ {
2796
+ "name": "leaf",
2797
+ "type": "bytes32",
2798
+ "internalType": "bytes32"
2799
+ },
2800
+ {
2801
+ "name": "leafIndex",
2802
+ "type": "uint256",
2803
+ "internalType": "uint256"
1541
2804
  }
1542
2805
  ]
1543
2806
  },
2807
+ {
2808
+ "type": "event",
2809
+ "name": "MessageConsumed",
2810
+ "inputs": [
2811
+ {
2812
+ "name": "checkpointNumber",
2813
+ "type": "uint256",
2814
+ "indexed": true,
2815
+ "internalType": "uint256"
2816
+ },
2817
+ {
2818
+ "name": "root",
2819
+ "type": "bytes32",
2820
+ "indexed": true,
2821
+ "internalType": "bytes32"
2822
+ },
2823
+ {
2824
+ "name": "messageHash",
2825
+ "type": "bytes32",
2826
+ "indexed": true,
2827
+ "internalType": "bytes32"
2828
+ },
2829
+ {
2830
+ "name": "leafId",
2831
+ "type": "uint256",
2832
+ "indexed": false,
2833
+ "internalType": "uint256"
2834
+ }
2835
+ ],
2836
+ "anonymous": false
2837
+ },
1544
2838
  {
1545
2839
  "type": "function",
1546
2840
  "name": "consume",
@@ -1592,7 +2886,7 @@
1592
2886
  ]
1593
2887
  },
1594
2888
  {
1595
- "name": "_l2BlockNumber",
2889
+ "name": "_checkpointNumber",
1596
2890
  "type": "uint256",
1597
2891
  "internalType": "uint256"
1598
2892
  },
@@ -1611,74 +2905,44 @@
1611
2905
  "stateMutability": "nonpayable"
1612
2906
  },
1613
2907
  {
1614
- "type": "function",
1615
- "name": "getRootData",
2908
+ "type": "error",
2909
+ "name": "Outbox__IncompatibleEntryArguments",
1616
2910
  "inputs": [
1617
2911
  {
1618
- "name": "_l2BlockNumber",
1619
- "type": "uint256",
1620
- "internalType": "uint256"
1621
- }
1622
- ],
1623
- "outputs": [
1624
- {
1625
- "name": "root",
2912
+ "name": "messageHash",
1626
2913
  "type": "bytes32",
1627
2914
  "internalType": "bytes32"
1628
2915
  },
1629
2916
  {
1630
- "name": "minHeight",
1631
- "type": "uint256",
1632
- "internalType": "uint256"
1633
- }
1634
- ],
1635
- "stateMutability": "view"
1636
- },
1637
- {
1638
- "type": "function",
1639
- "name": "hasMessageBeenConsumedAtBlockAndIndex",
1640
- "inputs": [
1641
- {
1642
- "name": "_l2BlockNumber",
1643
- "type": "uint256",
1644
- "internalType": "uint256"
2917
+ "name": "storedFee",
2918
+ "type": "uint64",
2919
+ "internalType": "uint64"
1645
2920
  },
1646
2921
  {
1647
- "name": "_leafIndex",
1648
- "type": "uint256",
1649
- "internalType": "uint256"
1650
- }
1651
- ],
1652
- "outputs": [
2922
+ "name": "feePassed",
2923
+ "type": "uint64",
2924
+ "internalType": "uint64"
2925
+ },
1653
2926
  {
1654
- "name": "",
1655
- "type": "bool",
1656
- "internalType": "bool"
1657
- }
1658
- ],
1659
- "stateMutability": "view"
1660
- },
1661
- {
1662
- "type": "function",
1663
- "name": "insert",
1664
- "inputs": [
2927
+ "name": "storedVersion",
2928
+ "type": "uint32",
2929
+ "internalType": "uint32"
2930
+ },
1665
2931
  {
1666
- "name": "_l2BlockNumber",
1667
- "type": "uint256",
1668
- "internalType": "uint256"
2932
+ "name": "versionPassed",
2933
+ "type": "uint32",
2934
+ "internalType": "uint32"
1669
2935
  },
1670
2936
  {
1671
- "name": "_root",
1672
- "type": "bytes32",
1673
- "internalType": "bytes32"
2937
+ "name": "storedDeadline",
2938
+ "type": "uint32",
2939
+ "internalType": "uint32"
1674
2940
  },
1675
2941
  {
1676
- "name": "_minHeight",
1677
- "type": "uint256",
1678
- "internalType": "uint256"
2942
+ "name": "deadlinePassed",
2943
+ "type": "uint32",
2944
+ "internalType": "uint32"
1679
2945
  }
1680
- ],
1681
- "outputs": [],
1682
- "stateMutability": "nonpayable"
2946
+ ]
1683
2947
  }
1684
2948
  ];