@aztec/l1-artifacts 2.0.0-nightly.20250902 → 3.0.0-nightly.20250904

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