@aztec/l1-artifacts 0.66.0 → 0.67.1-devnet

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 (110) hide show
  1. package/dest/CoinIssuerAbi.d.ts +1097 -45
  2. package/dest/CoinIssuerAbi.d.ts.map +1 -1
  3. package/dest/CoinIssuerAbi.js +1455 -60
  4. package/dest/ExtRollupLibAbi.d.ts +1088 -290
  5. package/dest/ExtRollupLibAbi.d.ts.map +1 -1
  6. package/dest/ExtRollupLibAbi.js +1440 -383
  7. package/dest/ExtRollupLibBytecode.d.ts +1 -1
  8. package/dest/ExtRollupLibBytecode.d.ts.map +1 -1
  9. package/dest/ExtRollupLibBytecode.js +2 -2
  10. package/dest/FeeJuicePortalAbi.d.ts +1126 -74
  11. package/dest/FeeJuicePortalAbi.d.ts.map +1 -1
  12. package/dest/FeeJuicePortalAbi.js +1490 -94
  13. package/dest/FeeJuicePortalBytecode.d.ts +1 -1
  14. package/dest/FeeJuicePortalBytecode.js +1 -1
  15. package/dest/GovernanceAbi.d.ts +1412 -484
  16. package/dest/GovernanceAbi.d.ts.map +1 -1
  17. package/dest/GovernanceAbi.js +1897 -664
  18. package/dest/GovernanceProposerAbi.d.ts +1121 -157
  19. package/dest/GovernanceProposerAbi.d.ts.map +1 -1
  20. package/dest/GovernanceProposerAbi.js +1479 -202
  21. package/dest/IERC20Abi.d.ts +1104 -40
  22. package/dest/IERC20Abi.d.ts.map +1 -1
  23. package/dest/IERC20Abi.js +1462 -51
  24. package/dest/IProofCommitmentEscrowAbi.d.ts +1144 -80
  25. package/dest/IProofCommitmentEscrowAbi.d.ts.map +1 -1
  26. package/dest/IProofCommitmentEscrowAbi.js +1504 -93
  27. package/dest/IVerifierAbi.d.ts +1064 -0
  28. package/dest/IVerifierAbi.d.ts.map +1 -1
  29. package/dest/IVerifierAbi.js +1412 -1
  30. package/dest/InboxAbi.d.ts +1086 -54
  31. package/dest/InboxAbi.d.ts.map +1 -1
  32. package/dest/InboxAbi.js +1439 -71
  33. package/dest/InboxBytecode.d.ts +1 -1
  34. package/dest/InboxBytecode.js +1 -1
  35. package/dest/LeonidasLibAbi.d.ts +1010 -10
  36. package/dest/LeonidasLibAbi.d.ts.map +1 -1
  37. package/dest/LeonidasLibAbi.js +1338 -12
  38. package/dest/LeonidasLibBytecode.d.ts +1 -1
  39. package/dest/LeonidasLibBytecode.js +1 -1
  40. package/dest/MockVerifierAbi.d.ts +1064 -0
  41. package/dest/MockVerifierAbi.d.ts.map +1 -1
  42. package/dest/MockVerifierAbi.js +1412 -1
  43. package/dest/NewGovernanceProposerPayloadAbi.d.ts +1064 -0
  44. package/dest/NewGovernanceProposerPayloadAbi.d.ts.map +1 -1
  45. package/dest/NewGovernanceProposerPayloadAbi.js +1421 -10
  46. package/dest/OutboxAbi.d.ts +1112 -132
  47. package/dest/OutboxAbi.d.ts.map +1 -1
  48. package/dest/OutboxAbi.js +1471 -171
  49. package/dest/OutboxBytecode.d.ts +1 -1
  50. package/dest/OutboxBytecode.js +1 -1
  51. package/dest/ProofCommitmentEscrowAbi.d.ts +1153 -121
  52. package/dest/ProofCommitmentEscrowAbi.d.ts.map +1 -1
  53. package/dest/ProofCommitmentEscrowAbi.js +1525 -157
  54. package/dest/ProofCommitmentEscrowBytecode.d.ts +1 -1
  55. package/dest/ProofCommitmentEscrowBytecode.js +1 -1
  56. package/dest/RegistryAbi.d.ts +1110 -62
  57. package/dest/RegistryAbi.d.ts.map +1 -1
  58. package/dest/RegistryAbi.js +1472 -83
  59. package/dest/RewardDistributorAbi.d.ts +1113 -61
  60. package/dest/RewardDistributorAbi.d.ts.map +1 -1
  61. package/dest/RewardDistributorAbi.js +1473 -78
  62. package/dest/RollupAbi.d.ts +2245 -1337
  63. package/dest/RollupAbi.d.ts.map +1 -1
  64. package/dest/RollupAbi.js +2843 -1643
  65. package/dest/RollupBytecode.d.ts +21 -15
  66. package/dest/RollupBytecode.d.ts.map +1 -1
  67. package/dest/RollupBytecode.js +24 -16
  68. package/dest/TestERC20Abi.d.ts +1199 -135
  69. package/dest/TestERC20Abi.d.ts.map +1 -1
  70. package/dest/TestERC20Abi.js +1589 -178
  71. package/dest/TokenPortalAbi.d.ts +1127 -63
  72. package/dest/TokenPortalAbi.d.ts.map +1 -1
  73. package/dest/TokenPortalAbi.js +1491 -80
  74. package/dest/TokenPortalBytecode.d.ts +1 -1
  75. package/dest/TokenPortalBytecode.js +1 -1
  76. package/dest/UniswapPortalAbi.d.ts +1067 -3
  77. package/dest/UniswapPortalAbi.d.ts.map +1 -1
  78. package/dest/UniswapPortalAbi.js +1415 -4
  79. package/dest/UniswapPortalBytecode.d.ts +1 -1
  80. package/dest/UniswapPortalBytecode.js +1 -1
  81. package/generated/CoinIssuerAbi.ts +1454 -59
  82. package/generated/ExtRollupLibAbi.ts +1439 -382
  83. package/generated/ExtRollupLibBytecode.ts +1 -1
  84. package/generated/FeeJuicePortalAbi.ts +1489 -93
  85. package/generated/FeeJuicePortalBytecode.ts +1 -1
  86. package/generated/GovernanceAbi.ts +1896 -663
  87. package/generated/GovernanceProposerAbi.ts +1478 -201
  88. package/generated/IERC20Abi.ts +1461 -50
  89. package/generated/IProofCommitmentEscrowAbi.ts +1503 -92
  90. package/generated/IVerifierAbi.ts +1411 -0
  91. package/generated/InboxAbi.ts +1438 -70
  92. package/generated/InboxBytecode.ts +1 -1
  93. package/generated/LeonidasLibAbi.ts +1337 -11
  94. package/generated/LeonidasLibBytecode.ts +1 -1
  95. package/generated/MockVerifierAbi.ts +1411 -0
  96. package/generated/NewGovernanceProposerPayloadAbi.ts +1420 -9
  97. package/generated/OutboxAbi.ts +1470 -170
  98. package/generated/OutboxBytecode.ts +1 -1
  99. package/generated/ProofCommitmentEscrowAbi.ts +1524 -156
  100. package/generated/ProofCommitmentEscrowBytecode.ts +1 -1
  101. package/generated/RegistryAbi.ts +1471 -82
  102. package/generated/RewardDistributorAbi.ts +1472 -77
  103. package/generated/RollupAbi.ts +2842 -1642
  104. package/generated/RollupBytecode.ts +23 -15
  105. package/generated/TestERC20Abi.ts +1588 -177
  106. package/generated/TokenPortalAbi.ts +1490 -79
  107. package/generated/TokenPortalBytecode.ts +1 -1
  108. package/generated/UniswapPortalAbi.ts +1414 -3
  109. package/generated/UniswapPortalBytecode.ts +1 -1
  110. package/package.json +2 -1
@@ -24,233 +24,66 @@ export const GovernanceProposerAbi = [
24
24
  "stateMutability": "nonpayable"
25
25
  },
26
26
  {
27
- "type": "function",
28
- "name": "LIFETIME_IN_ROUNDS",
29
- "inputs": [],
30
- "outputs": [
31
- {
32
- "name": "",
33
- "type": "uint256",
34
- "internalType": "uint256"
35
- }
36
- ],
37
- "stateMutability": "view"
38
- },
39
- {
40
- "type": "function",
41
- "name": "M",
42
- "inputs": [],
43
- "outputs": [
44
- {
45
- "name": "",
46
- "type": "uint256",
47
- "internalType": "uint256"
48
- }
49
- ],
50
- "stateMutability": "view"
51
- },
52
- {
53
- "type": "function",
54
- "name": "N",
55
- "inputs": [],
56
- "outputs": [
57
- {
58
- "name": "",
59
- "type": "uint256",
60
- "internalType": "uint256"
61
- }
62
- ],
63
- "stateMutability": "view"
64
- },
65
- {
66
- "type": "function",
67
- "name": "REGISTRY",
68
- "inputs": [],
69
- "outputs": [
70
- {
71
- "name": "",
72
- "type": "address",
73
- "internalType": "contract IRegistry"
74
- }
75
- ],
76
- "stateMutability": "view"
77
- },
78
- {
79
- "type": "function",
80
- "name": "computeRound",
27
+ "type": "error",
28
+ "name": "CoinIssuer__InssuficientMintAvailable",
81
29
  "inputs": [
82
30
  {
83
- "name": "_slot",
84
- "type": "uint256",
85
- "internalType": "Slot"
86
- }
87
- ],
88
- "outputs": [
89
- {
90
- "name": "",
31
+ "name": "available",
91
32
  "type": "uint256",
92
33
  "internalType": "uint256"
93
- }
94
- ],
95
- "stateMutability": "view"
96
- },
97
- {
98
- "type": "function",
99
- "name": "getGovernance",
100
- "inputs": [],
101
- "outputs": [
102
- {
103
- "name": "",
104
- "type": "address",
105
- "internalType": "contract IGovernance"
106
- }
107
- ],
108
- "stateMutability": "view"
109
- },
110
- {
111
- "type": "function",
112
- "name": "pushProposal",
113
- "inputs": [
34
+ },
114
35
  {
115
- "name": "_roundNumber",
36
+ "name": "needed",
116
37
  "type": "uint256",
117
38
  "internalType": "uint256"
118
39
  }
119
- ],
120
- "outputs": [
121
- {
122
- "name": "",
123
- "type": "bool",
124
- "internalType": "bool"
125
- }
126
- ],
127
- "stateMutability": "nonpayable"
40
+ ]
128
41
  },
129
42
  {
130
- "type": "function",
131
- "name": "rounds",
43
+ "type": "error",
44
+ "name": "DevNet__InvalidProposer",
132
45
  "inputs": [
133
46
  {
134
- "name": "instance",
47
+ "name": "expected",
135
48
  "type": "address",
136
49
  "internalType": "address"
137
50
  },
138
51
  {
139
- "name": "roundNumber",
140
- "type": "uint256",
141
- "internalType": "uint256"
142
- }
143
- ],
144
- "outputs": [
145
- {
146
- "name": "lastVote",
147
- "type": "uint256",
148
- "internalType": "Slot"
149
- },
150
- {
151
- "name": "leader",
52
+ "name": "actual",
152
53
  "type": "address",
153
- "internalType": "contract IPayload"
154
- },
155
- {
156
- "name": "executed",
157
- "type": "bool",
158
- "internalType": "bool"
54
+ "internalType": "address"
159
55
  }
160
- ],
161
- "stateMutability": "view"
56
+ ]
162
57
  },
163
58
  {
164
- "type": "function",
165
- "name": "vote",
166
- "inputs": [
167
- {
168
- "name": "_proposal",
169
- "type": "address",
170
- "internalType": "contract IPayload"
171
- }
172
- ],
173
- "outputs": [
174
- {
175
- "name": "",
176
- "type": "bool",
177
- "internalType": "bool"
178
- }
179
- ],
180
- "stateMutability": "nonpayable"
59
+ "type": "error",
60
+ "name": "DevNet__NoPruningAllowed",
61
+ "inputs": []
181
62
  },
182
63
  {
183
- "type": "function",
184
- "name": "yeaCount",
185
- "inputs": [
186
- {
187
- "name": "_instance",
188
- "type": "address",
189
- "internalType": "address"
190
- },
191
- {
192
- "name": "_round",
193
- "type": "uint256",
194
- "internalType": "uint256"
195
- },
196
- {
197
- "name": "_proposal",
198
- "type": "address",
199
- "internalType": "contract IPayload"
200
- }
201
- ],
202
- "outputs": [
203
- {
204
- "name": "",
205
- "type": "uint256",
206
- "internalType": "uint256"
207
- }
208
- ],
209
- "stateMutability": "view"
64
+ "type": "error",
65
+ "name": "FeeJuicePortal__AlreadyInitialized",
66
+ "inputs": []
210
67
  },
211
68
  {
212
- "type": "event",
213
- "name": "ProposalPushed",
214
- "inputs": [
215
- {
216
- "name": "proposal",
217
- "type": "address",
218
- "indexed": true,
219
- "internalType": "contract IPayload"
220
- },
221
- {
222
- "name": "round",
223
- "type": "uint256",
224
- "indexed": true,
225
- "internalType": "uint256"
226
- }
227
- ],
228
- "anonymous": false
69
+ "type": "error",
70
+ "name": "FeeJuicePortal__InvalidInitialization",
71
+ "inputs": []
229
72
  },
230
73
  {
231
- "type": "event",
232
- "name": "VoteCast",
233
- "inputs": [
234
- {
235
- "name": "proposal",
236
- "type": "address",
237
- "indexed": true,
238
- "internalType": "contract IPayload"
239
- },
240
- {
241
- "name": "round",
242
- "type": "uint256",
243
- "indexed": true,
244
- "internalType": "uint256"
245
- },
246
- {
247
- "name": "voter",
248
- "type": "address",
249
- "indexed": true,
250
- "internalType": "address"
251
- }
252
- ],
253
- "anonymous": false
74
+ "type": "error",
75
+ "name": "FeeJuicePortal__Unauthorized",
76
+ "inputs": []
77
+ },
78
+ {
79
+ "type": "error",
80
+ "name": "FeeMath__InvalidFeeAssetPriceModifier",
81
+ "inputs": []
82
+ },
83
+ {
84
+ "type": "error",
85
+ "name": "FeeMath__InvalidProvingCostModifier",
86
+ "inputs": []
254
87
  },
255
88
  {
256
89
  "type": "error",
@@ -385,5 +218,1449 @@ export const GovernanceProposerAbi = [
385
218
  "internalType": "Slot"
386
219
  }
387
220
  ]
221
+ },
222
+ {
223
+ "type": "error",
224
+ "name": "Governance__CallFailed",
225
+ "inputs": [
226
+ {
227
+ "name": "target",
228
+ "type": "address",
229
+ "internalType": "address"
230
+ }
231
+ ]
232
+ },
233
+ {
234
+ "type": "error",
235
+ "name": "Governance__CallerNotGovernanceProposer",
236
+ "inputs": [
237
+ {
238
+ "name": "caller",
239
+ "type": "address",
240
+ "internalType": "address"
241
+ },
242
+ {
243
+ "name": "governanceProposer",
244
+ "type": "address",
245
+ "internalType": "address"
246
+ }
247
+ ]
248
+ },
249
+ {
250
+ "type": "error",
251
+ "name": "Governance__CallerNotSelf",
252
+ "inputs": [
253
+ {
254
+ "name": "caller",
255
+ "type": "address",
256
+ "internalType": "address"
257
+ },
258
+ {
259
+ "name": "self",
260
+ "type": "address",
261
+ "internalType": "address"
262
+ }
263
+ ]
264
+ },
265
+ {
266
+ "type": "error",
267
+ "name": "Governance__CannotCallAsset",
268
+ "inputs": []
269
+ },
270
+ {
271
+ "type": "error",
272
+ "name": "Governance__ConfigurationLib__DifferentialTooBig",
273
+ "inputs": []
274
+ },
275
+ {
276
+ "type": "error",
277
+ "name": "Governance__ConfigurationLib__DifferentialTooSmall",
278
+ "inputs": []
279
+ },
280
+ {
281
+ "type": "error",
282
+ "name": "Governance__ConfigurationLib__InvalidMinimumVotes",
283
+ "inputs": []
284
+ },
285
+ {
286
+ "type": "error",
287
+ "name": "Governance__ConfigurationLib__LockAmountTooSmall",
288
+ "inputs": []
289
+ },
290
+ {
291
+ "type": "error",
292
+ "name": "Governance__ConfigurationLib__QuorumTooBig",
293
+ "inputs": []
294
+ },
295
+ {
296
+ "type": "error",
297
+ "name": "Governance__ConfigurationLib__QuorumTooSmall",
298
+ "inputs": []
299
+ },
300
+ {
301
+ "type": "error",
302
+ "name": "Governance__ConfigurationLib__TimeTooBig",
303
+ "inputs": [
304
+ {
305
+ "name": "name",
306
+ "type": "string",
307
+ "internalType": "string"
308
+ }
309
+ ]
310
+ },
311
+ {
312
+ "type": "error",
313
+ "name": "Governance__ConfigurationLib__TimeTooSmall",
314
+ "inputs": [
315
+ {
316
+ "name": "name",
317
+ "type": "string",
318
+ "internalType": "string"
319
+ }
320
+ ]
321
+ },
322
+ {
323
+ "type": "error",
324
+ "name": "Governance__InsufficientPower",
325
+ "inputs": [
326
+ {
327
+ "name": "voter",
328
+ "type": "address",
329
+ "internalType": "address"
330
+ },
331
+ {
332
+ "name": "have",
333
+ "type": "uint256",
334
+ "internalType": "uint256"
335
+ },
336
+ {
337
+ "name": "required",
338
+ "type": "uint256",
339
+ "internalType": "uint256"
340
+ }
341
+ ]
342
+ },
343
+ {
344
+ "type": "error",
345
+ "name": "Governance__InvalidConfiguration",
346
+ "inputs": []
347
+ },
348
+ {
349
+ "type": "error",
350
+ "name": "Governance__NoCheckpointsFound",
351
+ "inputs": []
352
+ },
353
+ {
354
+ "type": "error",
355
+ "name": "Governance__ProposalAlreadyDropped",
356
+ "inputs": []
357
+ },
358
+ {
359
+ "type": "error",
360
+ "name": "Governance__ProposalCannotBeDropped",
361
+ "inputs": []
362
+ },
363
+ {
364
+ "type": "error",
365
+ "name": "Governance__ProposalDoesNotExists",
366
+ "inputs": [
367
+ {
368
+ "name": "proposalId",
369
+ "type": "uint256",
370
+ "internalType": "uint256"
371
+ }
372
+ ]
373
+ },
374
+ {
375
+ "type": "error",
376
+ "name": "Governance__ProposalLib__MoreVoteThanExistNeeded",
377
+ "inputs": []
378
+ },
379
+ {
380
+ "type": "error",
381
+ "name": "Governance__ProposalLib__MoreYeaVoteThanExistNeeded",
382
+ "inputs": []
383
+ },
384
+ {
385
+ "type": "error",
386
+ "name": "Governance__ProposalLib__ZeroMinimum",
387
+ "inputs": []
388
+ },
389
+ {
390
+ "type": "error",
391
+ "name": "Governance__ProposalLib__ZeroVotesNeeded",
392
+ "inputs": []
393
+ },
394
+ {
395
+ "type": "error",
396
+ "name": "Governance__ProposalLib__ZeroYeaVotesNeeded",
397
+ "inputs": []
398
+ },
399
+ {
400
+ "type": "error",
401
+ "name": "Governance__ProposalNotActive",
402
+ "inputs": []
403
+ },
404
+ {
405
+ "type": "error",
406
+ "name": "Governance__ProposalNotExecutable",
407
+ "inputs": []
408
+ },
409
+ {
410
+ "type": "error",
411
+ "name": "Governance__UserLib__NotInPast",
412
+ "inputs": []
413
+ },
414
+ {
415
+ "type": "error",
416
+ "name": "Governance__WithdrawalAlreadyclaimed",
417
+ "inputs": []
418
+ },
419
+ {
420
+ "type": "error",
421
+ "name": "Governance__WithdrawalNotUnlockedYet",
422
+ "inputs": [
423
+ {
424
+ "name": "currentTime",
425
+ "type": "uint256",
426
+ "internalType": "Timestamp"
427
+ },
428
+ {
429
+ "name": "unlocksAt",
430
+ "type": "uint256",
431
+ "internalType": "Timestamp"
432
+ }
433
+ ]
434
+ },
435
+ {
436
+ "type": "error",
437
+ "name": "HeaderLib__InvalidHeaderSize",
438
+ "inputs": [
439
+ {
440
+ "name": "expected",
441
+ "type": "uint256",
442
+ "internalType": "uint256"
443
+ },
444
+ {
445
+ "name": "actual",
446
+ "type": "uint256",
447
+ "internalType": "uint256"
448
+ }
449
+ ]
450
+ },
451
+ {
452
+ "type": "error",
453
+ "name": "HeaderLib__InvalidSlotNumber",
454
+ "inputs": [
455
+ {
456
+ "name": "expected",
457
+ "type": "uint256",
458
+ "internalType": "Slot"
459
+ },
460
+ {
461
+ "name": "actual",
462
+ "type": "uint256",
463
+ "internalType": "Slot"
464
+ }
465
+ ]
466
+ },
467
+ {
468
+ "type": "error",
469
+ "name": "Inbox__ActorTooLarge",
470
+ "inputs": [
471
+ {
472
+ "name": "actor",
473
+ "type": "bytes32",
474
+ "internalType": "bytes32"
475
+ }
476
+ ]
477
+ },
478
+ {
479
+ "type": "error",
480
+ "name": "Inbox__ContentTooLarge",
481
+ "inputs": [
482
+ {
483
+ "name": "content",
484
+ "type": "bytes32",
485
+ "internalType": "bytes32"
486
+ }
487
+ ]
488
+ },
489
+ {
490
+ "type": "error",
491
+ "name": "Inbox__MustBuildBeforeConsume",
492
+ "inputs": []
493
+ },
494
+ {
495
+ "type": "error",
496
+ "name": "Inbox__SecretHashTooLarge",
497
+ "inputs": [
498
+ {
499
+ "name": "secretHash",
500
+ "type": "bytes32",
501
+ "internalType": "bytes32"
502
+ }
503
+ ]
504
+ },
505
+ {
506
+ "type": "error",
507
+ "name": "Inbox__Unauthorized",
508
+ "inputs": []
509
+ },
510
+ {
511
+ "type": "function",
512
+ "name": "LIFETIME_IN_ROUNDS",
513
+ "inputs": [],
514
+ "outputs": [
515
+ {
516
+ "name": "",
517
+ "type": "uint256",
518
+ "internalType": "uint256"
519
+ }
520
+ ],
521
+ "stateMutability": "view"
522
+ },
523
+ {
524
+ "type": "error",
525
+ "name": "Leonidas__EpochNotSetup",
526
+ "inputs": []
527
+ },
528
+ {
529
+ "type": "error",
530
+ "name": "Leonidas__InsufficientAttestations",
531
+ "inputs": [
532
+ {
533
+ "name": "minimumNeeded",
534
+ "type": "uint256",
535
+ "internalType": "uint256"
536
+ },
537
+ {
538
+ "name": "provided",
539
+ "type": "uint256",
540
+ "internalType": "uint256"
541
+ }
542
+ ]
543
+ },
544
+ {
545
+ "type": "error",
546
+ "name": "Leonidas__InsufficientAttestationsProvided",
547
+ "inputs": [
548
+ {
549
+ "name": "minimumNeeded",
550
+ "type": "uint256",
551
+ "internalType": "uint256"
552
+ },
553
+ {
554
+ "name": "provided",
555
+ "type": "uint256",
556
+ "internalType": "uint256"
557
+ }
558
+ ]
559
+ },
560
+ {
561
+ "type": "error",
562
+ "name": "Leonidas__InvalidDeposit",
563
+ "inputs": [
564
+ {
565
+ "name": "attester",
566
+ "type": "address",
567
+ "internalType": "address"
568
+ },
569
+ {
570
+ "name": "proposer",
571
+ "type": "address",
572
+ "internalType": "address"
573
+ }
574
+ ]
575
+ },
576
+ {
577
+ "type": "error",
578
+ "name": "Leonidas__InvalidProposer",
579
+ "inputs": [
580
+ {
581
+ "name": "expected",
582
+ "type": "address",
583
+ "internalType": "address"
584
+ },
585
+ {
586
+ "name": "actual",
587
+ "type": "address",
588
+ "internalType": "address"
589
+ }
590
+ ]
591
+ },
592
+ {
593
+ "type": "function",
594
+ "name": "M",
595
+ "inputs": [],
596
+ "outputs": [
597
+ {
598
+ "name": "",
599
+ "type": "uint256",
600
+ "internalType": "uint256"
601
+ }
602
+ ],
603
+ "stateMutability": "view"
604
+ },
605
+ {
606
+ "type": "error",
607
+ "name": "MerkleLib__InvalidRoot",
608
+ "inputs": [
609
+ {
610
+ "name": "expected",
611
+ "type": "bytes32",
612
+ "internalType": "bytes32"
613
+ },
614
+ {
615
+ "name": "actual",
616
+ "type": "bytes32",
617
+ "internalType": "bytes32"
618
+ },
619
+ {
620
+ "name": "leaf",
621
+ "type": "bytes32",
622
+ "internalType": "bytes32"
623
+ },
624
+ {
625
+ "name": "leafIndex",
626
+ "type": "uint256",
627
+ "internalType": "uint256"
628
+ }
629
+ ]
630
+ },
631
+ {
632
+ "type": "function",
633
+ "name": "N",
634
+ "inputs": [],
635
+ "outputs": [
636
+ {
637
+ "name": "",
638
+ "type": "uint256",
639
+ "internalType": "uint256"
640
+ }
641
+ ],
642
+ "stateMutability": "view"
643
+ },
644
+ {
645
+ "type": "error",
646
+ "name": "Outbox__AlreadyNullified",
647
+ "inputs": [
648
+ {
649
+ "name": "l2BlockNumber",
650
+ "type": "uint256",
651
+ "internalType": "uint256"
652
+ },
653
+ {
654
+ "name": "leafIndex",
655
+ "type": "uint256",
656
+ "internalType": "uint256"
657
+ }
658
+ ]
659
+ },
660
+ {
661
+ "type": "error",
662
+ "name": "Outbox__BlockNotProven",
663
+ "inputs": [
664
+ {
665
+ "name": "l2BlockNumber",
666
+ "type": "uint256",
667
+ "internalType": "uint256"
668
+ }
669
+ ]
670
+ },
671
+ {
672
+ "type": "error",
673
+ "name": "Outbox__IncompatibleEntryArguments",
674
+ "inputs": [
675
+ {
676
+ "name": "messageHash",
677
+ "type": "bytes32",
678
+ "internalType": "bytes32"
679
+ },
680
+ {
681
+ "name": "storedFee",
682
+ "type": "uint64",
683
+ "internalType": "uint64"
684
+ },
685
+ {
686
+ "name": "feePassed",
687
+ "type": "uint64",
688
+ "internalType": "uint64"
689
+ },
690
+ {
691
+ "name": "storedVersion",
692
+ "type": "uint32",
693
+ "internalType": "uint32"
694
+ },
695
+ {
696
+ "name": "versionPassed",
697
+ "type": "uint32",
698
+ "internalType": "uint32"
699
+ },
700
+ {
701
+ "name": "storedDeadline",
702
+ "type": "uint32",
703
+ "internalType": "uint32"
704
+ },
705
+ {
706
+ "name": "deadlinePassed",
707
+ "type": "uint32",
708
+ "internalType": "uint32"
709
+ }
710
+ ]
711
+ },
712
+ {
713
+ "type": "error",
714
+ "name": "Outbox__InsertingInvalidRoot",
715
+ "inputs": []
716
+ },
717
+ {
718
+ "type": "error",
719
+ "name": "Outbox__InvalidChainId",
720
+ "inputs": []
721
+ },
722
+ {
723
+ "type": "error",
724
+ "name": "Outbox__InvalidPathLength",
725
+ "inputs": [
726
+ {
727
+ "name": "expected",
728
+ "type": "uint256",
729
+ "internalType": "uint256"
730
+ },
731
+ {
732
+ "name": "actual",
733
+ "type": "uint256",
734
+ "internalType": "uint256"
735
+ }
736
+ ]
737
+ },
738
+ {
739
+ "type": "error",
740
+ "name": "Outbox__InvalidRecipient",
741
+ "inputs": [
742
+ {
743
+ "name": "expected",
744
+ "type": "address",
745
+ "internalType": "address"
746
+ },
747
+ {
748
+ "name": "actual",
749
+ "type": "address",
750
+ "internalType": "address"
751
+ }
752
+ ]
753
+ },
754
+ {
755
+ "type": "error",
756
+ "name": "Outbox__InvalidVersion",
757
+ "inputs": [
758
+ {
759
+ "name": "entry",
760
+ "type": "uint256",
761
+ "internalType": "uint256"
762
+ },
763
+ {
764
+ "name": "message",
765
+ "type": "uint256",
766
+ "internalType": "uint256"
767
+ }
768
+ ]
769
+ },
770
+ {
771
+ "type": "error",
772
+ "name": "Outbox__NothingToConsume",
773
+ "inputs": [
774
+ {
775
+ "name": "messageHash",
776
+ "type": "bytes32",
777
+ "internalType": "bytes32"
778
+ }
779
+ ]
780
+ },
781
+ {
782
+ "type": "error",
783
+ "name": "Outbox__NothingToConsumeAtBlock",
784
+ "inputs": [
785
+ {
786
+ "name": "l2BlockNumber",
787
+ "type": "uint256",
788
+ "internalType": "uint256"
789
+ }
790
+ ]
791
+ },
792
+ {
793
+ "type": "error",
794
+ "name": "Outbox__RootAlreadySetAtBlock",
795
+ "inputs": [
796
+ {
797
+ "name": "l2BlockNumber",
798
+ "type": "uint256",
799
+ "internalType": "uint256"
800
+ }
801
+ ]
802
+ },
803
+ {
804
+ "type": "error",
805
+ "name": "Outbox__Unauthorized",
806
+ "inputs": []
807
+ },
808
+ {
809
+ "type": "error",
810
+ "name": "ProofCommitmentEscrow__InsufficientBalance",
811
+ "inputs": [
812
+ {
813
+ "name": "balance",
814
+ "type": "uint256",
815
+ "internalType": "uint256"
816
+ },
817
+ {
818
+ "name": "requested",
819
+ "type": "uint256",
820
+ "internalType": "uint256"
821
+ }
822
+ ]
823
+ },
824
+ {
825
+ "type": "error",
826
+ "name": "ProofCommitmentEscrow__NotOwner",
827
+ "inputs": [
828
+ {
829
+ "name": "caller",
830
+ "type": "address",
831
+ "internalType": "address"
832
+ }
833
+ ]
834
+ },
835
+ {
836
+ "type": "error",
837
+ "name": "ProofCommitmentEscrow__WithdrawRequestNotReady",
838
+ "inputs": [
839
+ {
840
+ "name": "current",
841
+ "type": "uint256",
842
+ "internalType": "uint256"
843
+ },
844
+ {
845
+ "name": "readyAt",
846
+ "type": "uint256",
847
+ "internalType": "Timestamp"
848
+ }
849
+ ]
850
+ },
851
+ {
852
+ "type": "event",
853
+ "name": "ProposalPushed",
854
+ "inputs": [
855
+ {
856
+ "name": "proposal",
857
+ "type": "address",
858
+ "indexed": true,
859
+ "internalType": "contract IPayload"
860
+ },
861
+ {
862
+ "name": "round",
863
+ "type": "uint256",
864
+ "indexed": true,
865
+ "internalType": "uint256"
866
+ }
867
+ ],
868
+ "anonymous": false
869
+ },
870
+ {
871
+ "type": "function",
872
+ "name": "REGISTRY",
873
+ "inputs": [],
874
+ "outputs": [
875
+ {
876
+ "name": "",
877
+ "type": "address",
878
+ "internalType": "contract IRegistry"
879
+ }
880
+ ],
881
+ "stateMutability": "view"
882
+ },
883
+ {
884
+ "type": "error",
885
+ "name": "Registry__RollupAlreadyRegistered",
886
+ "inputs": [
887
+ {
888
+ "name": "rollup",
889
+ "type": "address",
890
+ "internalType": "address"
891
+ }
892
+ ]
893
+ },
894
+ {
895
+ "type": "error",
896
+ "name": "Registry__RollupNotRegistered",
897
+ "inputs": [
898
+ {
899
+ "name": "rollup",
900
+ "type": "address",
901
+ "internalType": "address"
902
+ }
903
+ ]
904
+ },
905
+ {
906
+ "type": "error",
907
+ "name": "RewardDistributor__InvalidCaller",
908
+ "inputs": [
909
+ {
910
+ "name": "caller",
911
+ "type": "address",
912
+ "internalType": "address"
913
+ },
914
+ {
915
+ "name": "canonical",
916
+ "type": "address",
917
+ "internalType": "address"
918
+ }
919
+ ]
920
+ },
921
+ {
922
+ "type": "error",
923
+ "name": "Rollup__InsufficientBondAmount",
924
+ "inputs": [
925
+ {
926
+ "name": "minimum",
927
+ "type": "uint256",
928
+ "internalType": "uint256"
929
+ },
930
+ {
931
+ "name": "provided",
932
+ "type": "uint256",
933
+ "internalType": "uint256"
934
+ }
935
+ ]
936
+ },
937
+ {
938
+ "type": "error",
939
+ "name": "Rollup__InsufficientFundsInEscrow",
940
+ "inputs": [
941
+ {
942
+ "name": "required",
943
+ "type": "uint256",
944
+ "internalType": "uint256"
945
+ },
946
+ {
947
+ "name": "available",
948
+ "type": "uint256",
949
+ "internalType": "uint256"
950
+ }
951
+ ]
952
+ },
953
+ {
954
+ "type": "error",
955
+ "name": "Rollup__InvalidArchive",
956
+ "inputs": [
957
+ {
958
+ "name": "expected",
959
+ "type": "bytes32",
960
+ "internalType": "bytes32"
961
+ },
962
+ {
963
+ "name": "actual",
964
+ "type": "bytes32",
965
+ "internalType": "bytes32"
966
+ }
967
+ ]
968
+ },
969
+ {
970
+ "type": "error",
971
+ "name": "Rollup__InvalidBasisPointFee",
972
+ "inputs": [
973
+ {
974
+ "name": "basisPointFee",
975
+ "type": "uint256",
976
+ "internalType": "uint256"
977
+ }
978
+ ]
979
+ },
980
+ {
981
+ "type": "error",
982
+ "name": "Rollup__InvalidBlobHash",
983
+ "inputs": [
984
+ {
985
+ "name": "blobHash",
986
+ "type": "bytes32",
987
+ "internalType": "bytes32"
988
+ }
989
+ ]
990
+ },
991
+ {
992
+ "type": "error",
993
+ "name": "Rollup__InvalidBlobProof",
994
+ "inputs": [
995
+ {
996
+ "name": "blobHash",
997
+ "type": "bytes32",
998
+ "internalType": "bytes32"
999
+ }
1000
+ ]
1001
+ },
1002
+ {
1003
+ "type": "error",
1004
+ "name": "Rollup__InvalidBlobPublicInputsHash",
1005
+ "inputs": [
1006
+ {
1007
+ "name": "expected",
1008
+ "type": "bytes32",
1009
+ "internalType": "bytes32"
1010
+ },
1011
+ {
1012
+ "name": "actual",
1013
+ "type": "bytes32",
1014
+ "internalType": "bytes32"
1015
+ }
1016
+ ]
1017
+ },
1018
+ {
1019
+ "type": "error",
1020
+ "name": "Rollup__InvalidBlockHash",
1021
+ "inputs": [
1022
+ {
1023
+ "name": "expected",
1024
+ "type": "bytes32",
1025
+ "internalType": "bytes32"
1026
+ },
1027
+ {
1028
+ "name": "actual",
1029
+ "type": "bytes32",
1030
+ "internalType": "bytes32"
1031
+ }
1032
+ ]
1033
+ },
1034
+ {
1035
+ "type": "error",
1036
+ "name": "Rollup__InvalidBlockNumber",
1037
+ "inputs": [
1038
+ {
1039
+ "name": "expected",
1040
+ "type": "uint256",
1041
+ "internalType": "uint256"
1042
+ },
1043
+ {
1044
+ "name": "actual",
1045
+ "type": "uint256",
1046
+ "internalType": "uint256"
1047
+ }
1048
+ ]
1049
+ },
1050
+ {
1051
+ "type": "error",
1052
+ "name": "Rollup__InvalidChainId",
1053
+ "inputs": [
1054
+ {
1055
+ "name": "expected",
1056
+ "type": "uint256",
1057
+ "internalType": "uint256"
1058
+ },
1059
+ {
1060
+ "name": "actual",
1061
+ "type": "uint256",
1062
+ "internalType": "uint256"
1063
+ }
1064
+ ]
1065
+ },
1066
+ {
1067
+ "type": "error",
1068
+ "name": "Rollup__InvalidEpoch",
1069
+ "inputs": [
1070
+ {
1071
+ "name": "expected",
1072
+ "type": "uint256",
1073
+ "internalType": "Epoch"
1074
+ },
1075
+ {
1076
+ "name": "actual",
1077
+ "type": "uint256",
1078
+ "internalType": "Epoch"
1079
+ }
1080
+ ]
1081
+ },
1082
+ {
1083
+ "type": "error",
1084
+ "name": "Rollup__InvalidInHash",
1085
+ "inputs": [
1086
+ {
1087
+ "name": "expected",
1088
+ "type": "bytes32",
1089
+ "internalType": "bytes32"
1090
+ },
1091
+ {
1092
+ "name": "actual",
1093
+ "type": "bytes32",
1094
+ "internalType": "bytes32"
1095
+ }
1096
+ ]
1097
+ },
1098
+ {
1099
+ "type": "error",
1100
+ "name": "Rollup__InvalidManaBaseFee",
1101
+ "inputs": [
1102
+ {
1103
+ "name": "expected",
1104
+ "type": "uint256",
1105
+ "internalType": "uint256"
1106
+ },
1107
+ {
1108
+ "name": "actual",
1109
+ "type": "uint256",
1110
+ "internalType": "uint256"
1111
+ }
1112
+ ]
1113
+ },
1114
+ {
1115
+ "type": "error",
1116
+ "name": "Rollup__InvalidPreviousArchive",
1117
+ "inputs": [
1118
+ {
1119
+ "name": "expected",
1120
+ "type": "bytes32",
1121
+ "internalType": "bytes32"
1122
+ },
1123
+ {
1124
+ "name": "actual",
1125
+ "type": "bytes32",
1126
+ "internalType": "bytes32"
1127
+ }
1128
+ ]
1129
+ },
1130
+ {
1131
+ "type": "error",
1132
+ "name": "Rollup__InvalidPreviousBlockHash",
1133
+ "inputs": [
1134
+ {
1135
+ "name": "expected",
1136
+ "type": "bytes32",
1137
+ "internalType": "bytes32"
1138
+ },
1139
+ {
1140
+ "name": "actual",
1141
+ "type": "bytes32",
1142
+ "internalType": "bytes32"
1143
+ }
1144
+ ]
1145
+ },
1146
+ {
1147
+ "type": "error",
1148
+ "name": "Rollup__InvalidProof",
1149
+ "inputs": []
1150
+ },
1151
+ {
1152
+ "type": "error",
1153
+ "name": "Rollup__InvalidProposedArchive",
1154
+ "inputs": [
1155
+ {
1156
+ "name": "expected",
1157
+ "type": "bytes32",
1158
+ "internalType": "bytes32"
1159
+ },
1160
+ {
1161
+ "name": "actual",
1162
+ "type": "bytes32",
1163
+ "internalType": "bytes32"
1164
+ }
1165
+ ]
1166
+ },
1167
+ {
1168
+ "type": "error",
1169
+ "name": "Rollup__InvalidTimestamp",
1170
+ "inputs": [
1171
+ {
1172
+ "name": "expected",
1173
+ "type": "uint256",
1174
+ "internalType": "Timestamp"
1175
+ },
1176
+ {
1177
+ "name": "actual",
1178
+ "type": "uint256",
1179
+ "internalType": "Timestamp"
1180
+ }
1181
+ ]
1182
+ },
1183
+ {
1184
+ "type": "error",
1185
+ "name": "Rollup__InvalidVersion",
1186
+ "inputs": [
1187
+ {
1188
+ "name": "expected",
1189
+ "type": "uint256",
1190
+ "internalType": "uint256"
1191
+ },
1192
+ {
1193
+ "name": "actual",
1194
+ "type": "uint256",
1195
+ "internalType": "uint256"
1196
+ }
1197
+ ]
1198
+ },
1199
+ {
1200
+ "type": "error",
1201
+ "name": "Rollup__NoEpochToProve",
1202
+ "inputs": []
1203
+ },
1204
+ {
1205
+ "type": "error",
1206
+ "name": "Rollup__NonSequentialProving",
1207
+ "inputs": []
1208
+ },
1209
+ {
1210
+ "type": "error",
1211
+ "name": "Rollup__NonZeroDaFee",
1212
+ "inputs": []
1213
+ },
1214
+ {
1215
+ "type": "error",
1216
+ "name": "Rollup__NonZeroL2Fee",
1217
+ "inputs": []
1218
+ },
1219
+ {
1220
+ "type": "error",
1221
+ "name": "Rollup__NotClaimingCorrectEpoch",
1222
+ "inputs": [
1223
+ {
1224
+ "name": "expected",
1225
+ "type": "uint256",
1226
+ "internalType": "Epoch"
1227
+ },
1228
+ {
1229
+ "name": "actual",
1230
+ "type": "uint256",
1231
+ "internalType": "Epoch"
1232
+ }
1233
+ ]
1234
+ },
1235
+ {
1236
+ "type": "error",
1237
+ "name": "Rollup__NotInClaimPhase",
1238
+ "inputs": [
1239
+ {
1240
+ "name": "currentSlotInEpoch",
1241
+ "type": "uint256",
1242
+ "internalType": "uint256"
1243
+ },
1244
+ {
1245
+ "name": "claimDuration",
1246
+ "type": "uint256",
1247
+ "internalType": "uint256"
1248
+ }
1249
+ ]
1250
+ },
1251
+ {
1252
+ "type": "error",
1253
+ "name": "Rollup__NothingToPrune",
1254
+ "inputs": []
1255
+ },
1256
+ {
1257
+ "type": "error",
1258
+ "name": "Rollup__ProofRightAlreadyClaimed",
1259
+ "inputs": []
1260
+ },
1261
+ {
1262
+ "type": "error",
1263
+ "name": "Rollup__QuoteExpired",
1264
+ "inputs": [
1265
+ {
1266
+ "name": "currentSlot",
1267
+ "type": "uint256",
1268
+ "internalType": "Slot"
1269
+ },
1270
+ {
1271
+ "name": "quoteSlot",
1272
+ "type": "uint256",
1273
+ "internalType": "Slot"
1274
+ }
1275
+ ]
1276
+ },
1277
+ {
1278
+ "type": "error",
1279
+ "name": "Rollup__SlotAlreadyInChain",
1280
+ "inputs": [
1281
+ {
1282
+ "name": "lastSlot",
1283
+ "type": "uint256",
1284
+ "internalType": "Slot"
1285
+ },
1286
+ {
1287
+ "name": "proposedSlot",
1288
+ "type": "uint256",
1289
+ "internalType": "Slot"
1290
+ }
1291
+ ]
1292
+ },
1293
+ {
1294
+ "type": "error",
1295
+ "name": "Rollup__TimestampInFuture",
1296
+ "inputs": [
1297
+ {
1298
+ "name": "max",
1299
+ "type": "uint256",
1300
+ "internalType": "Timestamp"
1301
+ },
1302
+ {
1303
+ "name": "actual",
1304
+ "type": "uint256",
1305
+ "internalType": "Timestamp"
1306
+ }
1307
+ ]
1308
+ },
1309
+ {
1310
+ "type": "error",
1311
+ "name": "Rollup__TimestampTooOld",
1312
+ "inputs": []
1313
+ },
1314
+ {
1315
+ "type": "error",
1316
+ "name": "Rollup__TryingToProveNonExistingBlock",
1317
+ "inputs": []
1318
+ },
1319
+ {
1320
+ "type": "error",
1321
+ "name": "Rollup__UnavailableTxs",
1322
+ "inputs": [
1323
+ {
1324
+ "name": "txsHash",
1325
+ "type": "bytes32",
1326
+ "internalType": "bytes32"
1327
+ }
1328
+ ]
1329
+ },
1330
+ {
1331
+ "type": "error",
1332
+ "name": "SampleLib__IndexOutOfBounds",
1333
+ "inputs": [
1334
+ {
1335
+ "name": "requested",
1336
+ "type": "uint256",
1337
+ "internalType": "uint256"
1338
+ },
1339
+ {
1340
+ "name": "bound",
1341
+ "type": "uint256",
1342
+ "internalType": "uint256"
1343
+ }
1344
+ ]
1345
+ },
1346
+ {
1347
+ "type": "error",
1348
+ "name": "SignatureLib__CannotVerifyEmpty",
1349
+ "inputs": []
1350
+ },
1351
+ {
1352
+ "type": "error",
1353
+ "name": "SignatureLib__InvalidSignature",
1354
+ "inputs": [
1355
+ {
1356
+ "name": "expected",
1357
+ "type": "address",
1358
+ "internalType": "address"
1359
+ },
1360
+ {
1361
+ "name": "recovered",
1362
+ "type": "address",
1363
+ "internalType": "address"
1364
+ }
1365
+ ]
1366
+ },
1367
+ {
1368
+ "type": "error",
1369
+ "name": "Staking__AlreadyActive",
1370
+ "inputs": [
1371
+ {
1372
+ "name": "attester",
1373
+ "type": "address",
1374
+ "internalType": "address"
1375
+ }
1376
+ ]
1377
+ },
1378
+ {
1379
+ "type": "error",
1380
+ "name": "Staking__AlreadyRegistered",
1381
+ "inputs": [
1382
+ {
1383
+ "name": "",
1384
+ "type": "address",
1385
+ "internalType": "address"
1386
+ }
1387
+ ]
1388
+ },
1389
+ {
1390
+ "type": "error",
1391
+ "name": "Staking__CannotSlashExitedStake",
1392
+ "inputs": [
1393
+ {
1394
+ "name": "",
1395
+ "type": "address",
1396
+ "internalType": "address"
1397
+ }
1398
+ ]
1399
+ },
1400
+ {
1401
+ "type": "error",
1402
+ "name": "Staking__FailedToRemove",
1403
+ "inputs": [
1404
+ {
1405
+ "name": "",
1406
+ "type": "address",
1407
+ "internalType": "address"
1408
+ }
1409
+ ]
1410
+ },
1411
+ {
1412
+ "type": "error",
1413
+ "name": "Staking__InsufficientStake",
1414
+ "inputs": [
1415
+ {
1416
+ "name": "",
1417
+ "type": "uint256",
1418
+ "internalType": "uint256"
1419
+ },
1420
+ {
1421
+ "name": "",
1422
+ "type": "uint256",
1423
+ "internalType": "uint256"
1424
+ }
1425
+ ]
1426
+ },
1427
+ {
1428
+ "type": "error",
1429
+ "name": "Staking__NoOneToSlash",
1430
+ "inputs": [
1431
+ {
1432
+ "name": "",
1433
+ "type": "address",
1434
+ "internalType": "address"
1435
+ }
1436
+ ]
1437
+ },
1438
+ {
1439
+ "type": "error",
1440
+ "name": "Staking__NotExiting",
1441
+ "inputs": [
1442
+ {
1443
+ "name": "",
1444
+ "type": "address",
1445
+ "internalType": "address"
1446
+ }
1447
+ ]
1448
+ },
1449
+ {
1450
+ "type": "error",
1451
+ "name": "Staking__NotSlasher",
1452
+ "inputs": [
1453
+ {
1454
+ "name": "",
1455
+ "type": "address",
1456
+ "internalType": "address"
1457
+ },
1458
+ {
1459
+ "name": "",
1460
+ "type": "address",
1461
+ "internalType": "address"
1462
+ }
1463
+ ]
1464
+ },
1465
+ {
1466
+ "type": "error",
1467
+ "name": "Staking__NotWithdrawer",
1468
+ "inputs": [
1469
+ {
1470
+ "name": "",
1471
+ "type": "address",
1472
+ "internalType": "address"
1473
+ },
1474
+ {
1475
+ "name": "",
1476
+ "type": "address",
1477
+ "internalType": "address"
1478
+ }
1479
+ ]
1480
+ },
1481
+ {
1482
+ "type": "error",
1483
+ "name": "Staking__NothingToExit",
1484
+ "inputs": [
1485
+ {
1486
+ "name": "",
1487
+ "type": "address",
1488
+ "internalType": "address"
1489
+ }
1490
+ ]
1491
+ },
1492
+ {
1493
+ "type": "error",
1494
+ "name": "Staking__WithdrawalNotUnlockedYet",
1495
+ "inputs": [
1496
+ {
1497
+ "name": "",
1498
+ "type": "uint256",
1499
+ "internalType": "Timestamp"
1500
+ },
1501
+ {
1502
+ "name": "",
1503
+ "type": "uint256",
1504
+ "internalType": "Timestamp"
1505
+ }
1506
+ ]
1507
+ },
1508
+ {
1509
+ "type": "event",
1510
+ "name": "VoteCast",
1511
+ "inputs": [
1512
+ {
1513
+ "name": "proposal",
1514
+ "type": "address",
1515
+ "indexed": true,
1516
+ "internalType": "contract IPayload"
1517
+ },
1518
+ {
1519
+ "name": "round",
1520
+ "type": "uint256",
1521
+ "indexed": true,
1522
+ "internalType": "uint256"
1523
+ },
1524
+ {
1525
+ "name": "voter",
1526
+ "type": "address",
1527
+ "indexed": true,
1528
+ "internalType": "address"
1529
+ }
1530
+ ],
1531
+ "anonymous": false
1532
+ },
1533
+ {
1534
+ "type": "function",
1535
+ "name": "computeRound",
1536
+ "inputs": [
1537
+ {
1538
+ "name": "_slot",
1539
+ "type": "uint256",
1540
+ "internalType": "Slot"
1541
+ }
1542
+ ],
1543
+ "outputs": [
1544
+ {
1545
+ "name": "",
1546
+ "type": "uint256",
1547
+ "internalType": "uint256"
1548
+ }
1549
+ ],
1550
+ "stateMutability": "view"
1551
+ },
1552
+ {
1553
+ "type": "function",
1554
+ "name": "getGovernance",
1555
+ "inputs": [],
1556
+ "outputs": [
1557
+ {
1558
+ "name": "",
1559
+ "type": "address",
1560
+ "internalType": "contract IGovernance"
1561
+ }
1562
+ ],
1563
+ "stateMutability": "view"
1564
+ },
1565
+ {
1566
+ "type": "function",
1567
+ "name": "pushProposal",
1568
+ "inputs": [
1569
+ {
1570
+ "name": "_roundNumber",
1571
+ "type": "uint256",
1572
+ "internalType": "uint256"
1573
+ }
1574
+ ],
1575
+ "outputs": [
1576
+ {
1577
+ "name": "",
1578
+ "type": "bool",
1579
+ "internalType": "bool"
1580
+ }
1581
+ ],
1582
+ "stateMutability": "nonpayable"
1583
+ },
1584
+ {
1585
+ "type": "function",
1586
+ "name": "rounds",
1587
+ "inputs": [
1588
+ {
1589
+ "name": "instance",
1590
+ "type": "address",
1591
+ "internalType": "address"
1592
+ },
1593
+ {
1594
+ "name": "roundNumber",
1595
+ "type": "uint256",
1596
+ "internalType": "uint256"
1597
+ }
1598
+ ],
1599
+ "outputs": [
1600
+ {
1601
+ "name": "lastVote",
1602
+ "type": "uint256",
1603
+ "internalType": "Slot"
1604
+ },
1605
+ {
1606
+ "name": "leader",
1607
+ "type": "address",
1608
+ "internalType": "contract IPayload"
1609
+ },
1610
+ {
1611
+ "name": "executed",
1612
+ "type": "bool",
1613
+ "internalType": "bool"
1614
+ }
1615
+ ],
1616
+ "stateMutability": "view"
1617
+ },
1618
+ {
1619
+ "type": "function",
1620
+ "name": "vote",
1621
+ "inputs": [
1622
+ {
1623
+ "name": "_proposal",
1624
+ "type": "address",
1625
+ "internalType": "contract IPayload"
1626
+ }
1627
+ ],
1628
+ "outputs": [
1629
+ {
1630
+ "name": "",
1631
+ "type": "bool",
1632
+ "internalType": "bool"
1633
+ }
1634
+ ],
1635
+ "stateMutability": "nonpayable"
1636
+ },
1637
+ {
1638
+ "type": "function",
1639
+ "name": "yeaCount",
1640
+ "inputs": [
1641
+ {
1642
+ "name": "_instance",
1643
+ "type": "address",
1644
+ "internalType": "address"
1645
+ },
1646
+ {
1647
+ "name": "_round",
1648
+ "type": "uint256",
1649
+ "internalType": "uint256"
1650
+ },
1651
+ {
1652
+ "name": "_proposal",
1653
+ "type": "address",
1654
+ "internalType": "contract IPayload"
1655
+ }
1656
+ ],
1657
+ "outputs": [
1658
+ {
1659
+ "name": "",
1660
+ "type": "uint256",
1661
+ "internalType": "uint256"
1662
+ }
1663
+ ],
1664
+ "stateMutability": "view"
388
1665
  }
389
1666
  ] as const;