@aztec/l1-artifacts 0.67.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
@@ -32,779 +32,588 @@ export const GovernanceAbi = [
32
32
  "stateMutability": "view"
33
33
  },
34
34
  {
35
- "type": "function",
36
- "name": "ballots",
35
+ "type": "error",
36
+ "name": "CoinIssuer__InssuficientMintAvailable",
37
37
  "inputs": [
38
38
  {
39
- "name": "proposalId",
39
+ "name": "available",
40
40
  "type": "uint256",
41
41
  "internalType": "uint256"
42
42
  },
43
43
  {
44
- "name": "user",
45
- "type": "address",
46
- "internalType": "address"
44
+ "name": "needed",
45
+ "type": "uint256",
46
+ "internalType": "uint256"
47
47
  }
48
- ],
49
- "outputs": [
48
+ ]
49
+ },
50
+ {
51
+ "type": "event",
52
+ "name": "ConfigurationUpdated",
53
+ "inputs": [
50
54
  {
51
- "name": "yea",
55
+ "name": "time",
52
56
  "type": "uint256",
53
- "internalType": "uint256"
57
+ "indexed": true,
58
+ "internalType": "Timestamp"
59
+ }
60
+ ],
61
+ "anonymous": false
62
+ },
63
+ {
64
+ "type": "event",
65
+ "name": "Deposit",
66
+ "inputs": [
67
+ {
68
+ "name": "depositor",
69
+ "type": "address",
70
+ "indexed": true,
71
+ "internalType": "address"
54
72
  },
55
73
  {
56
- "name": "nea",
74
+ "name": "onBehalfOf",
75
+ "type": "address",
76
+ "indexed": true,
77
+ "internalType": "address"
78
+ },
79
+ {
80
+ "name": "amount",
57
81
  "type": "uint256",
82
+ "indexed": false,
58
83
  "internalType": "uint256"
59
84
  }
60
85
  ],
61
- "stateMutability": "view"
86
+ "anonymous": false
62
87
  },
63
88
  {
64
- "type": "function",
65
- "name": "deposit",
89
+ "type": "error",
90
+ "name": "DevNet__InvalidProposer",
66
91
  "inputs": [
67
92
  {
68
- "name": "_onBehalfOf",
93
+ "name": "expected",
69
94
  "type": "address",
70
95
  "internalType": "address"
71
96
  },
72
97
  {
73
- "name": "_amount",
74
- "type": "uint256",
75
- "internalType": "uint256"
98
+ "name": "actual",
99
+ "type": "address",
100
+ "internalType": "address"
101
+ }
102
+ ]
103
+ },
104
+ {
105
+ "type": "error",
106
+ "name": "DevNet__NoPruningAllowed",
107
+ "inputs": []
108
+ },
109
+ {
110
+ "type": "error",
111
+ "name": "FeeJuicePortal__AlreadyInitialized",
112
+ "inputs": []
113
+ },
114
+ {
115
+ "type": "error",
116
+ "name": "FeeJuicePortal__InvalidInitialization",
117
+ "inputs": []
118
+ },
119
+ {
120
+ "type": "error",
121
+ "name": "FeeJuicePortal__Unauthorized",
122
+ "inputs": []
123
+ },
124
+ {
125
+ "type": "error",
126
+ "name": "FeeMath__InvalidFeeAssetPriceModifier",
127
+ "inputs": []
128
+ },
129
+ {
130
+ "type": "error",
131
+ "name": "FeeMath__InvalidProvingCostModifier",
132
+ "inputs": []
133
+ },
134
+ {
135
+ "type": "event",
136
+ "name": "GovernanceProposerUpdated",
137
+ "inputs": [
138
+ {
139
+ "name": "governanceProposer",
140
+ "type": "address",
141
+ "indexed": true,
142
+ "internalType": "address"
76
143
  }
77
144
  ],
78
- "outputs": [],
79
- "stateMutability": "nonpayable"
145
+ "anonymous": false
80
146
  },
81
147
  {
82
- "type": "function",
83
- "name": "dropProposal",
148
+ "type": "error",
149
+ "name": "GovernanceProposer__CanOnlyPushProposalInPast",
150
+ "inputs": []
151
+ },
152
+ {
153
+ "type": "error",
154
+ "name": "GovernanceProposer__FailedToPropose",
84
155
  "inputs": [
85
156
  {
86
- "name": "_proposalId",
157
+ "name": "proposal",
158
+ "type": "address",
159
+ "internalType": "contract IPayload"
160
+ }
161
+ ]
162
+ },
163
+ {
164
+ "type": "error",
165
+ "name": "GovernanceProposer__InstanceHaveNoCode",
166
+ "inputs": [
167
+ {
168
+ "name": "instance",
169
+ "type": "address",
170
+ "internalType": "address"
171
+ }
172
+ ]
173
+ },
174
+ {
175
+ "type": "error",
176
+ "name": "GovernanceProposer__InsufficientVotes",
177
+ "inputs": []
178
+ },
179
+ {
180
+ "type": "error",
181
+ "name": "GovernanceProposer__InvalidNAndMValues",
182
+ "inputs": [
183
+ {
184
+ "name": "n",
87
185
  "type": "uint256",
88
186
  "internalType": "uint256"
89
- }
90
- ],
91
- "outputs": [
187
+ },
92
188
  {
93
- "name": "",
94
- "type": "bool",
95
- "internalType": "bool"
189
+ "name": "m",
190
+ "type": "uint256",
191
+ "internalType": "uint256"
96
192
  }
97
- ],
98
- "stateMutability": "nonpayable"
193
+ ]
99
194
  },
100
195
  {
101
- "type": "function",
102
- "name": "execute",
196
+ "type": "error",
197
+ "name": "GovernanceProposer__NCannotBeLargerTHanM",
103
198
  "inputs": [
104
199
  {
105
- "name": "_proposalId",
200
+ "name": "n",
201
+ "type": "uint256",
202
+ "internalType": "uint256"
203
+ },
204
+ {
205
+ "name": "m",
106
206
  "type": "uint256",
107
207
  "internalType": "uint256"
108
208
  }
109
- ],
110
- "outputs": [
209
+ ]
210
+ },
211
+ {
212
+ "type": "error",
213
+ "name": "GovernanceProposer__OnlyProposerCanVote",
214
+ "inputs": [
111
215
  {
112
- "name": "",
113
- "type": "bool",
114
- "internalType": "bool"
216
+ "name": "caller",
217
+ "type": "address",
218
+ "internalType": "address"
219
+ },
220
+ {
221
+ "name": "proposer",
222
+ "type": "address",
223
+ "internalType": "address"
115
224
  }
116
- ],
117
- "stateMutability": "nonpayable"
225
+ ]
118
226
  },
119
227
  {
120
- "type": "function",
121
- "name": "finaliseWithdraw",
228
+ "type": "error",
229
+ "name": "GovernanceProposer__ProposalAlreadyExecuted",
122
230
  "inputs": [
123
231
  {
124
- "name": "_withdrawalId",
232
+ "name": "roundNumber",
125
233
  "type": "uint256",
126
234
  "internalType": "uint256"
127
235
  }
128
- ],
129
- "outputs": [],
130
- "stateMutability": "nonpayable"
236
+ ]
131
237
  },
132
238
  {
133
- "type": "function",
134
- "name": "getConfiguration",
135
- "inputs": [],
136
- "outputs": [
239
+ "type": "error",
240
+ "name": "GovernanceProposer__ProposalCannotBeAddressZero",
241
+ "inputs": []
242
+ },
243
+ {
244
+ "type": "error",
245
+ "name": "GovernanceProposer__ProposalHaveNoCode",
246
+ "inputs": [
137
247
  {
138
- "name": "",
139
- "type": "tuple",
140
- "internalType": "struct DataStructures.Configuration",
141
- "components": [
142
- {
143
- "name": "proposeConfig",
144
- "type": "tuple",
145
- "internalType": "struct DataStructures.ProposeConfiguration",
146
- "components": [
147
- {
148
- "name": "lockDelay",
149
- "type": "uint256",
150
- "internalType": "Timestamp"
151
- },
152
- {
153
- "name": "lockAmount",
154
- "type": "uint256",
155
- "internalType": "uint256"
156
- }
157
- ]
158
- },
159
- {
160
- "name": "votingDelay",
161
- "type": "uint256",
162
- "internalType": "Timestamp"
163
- },
164
- {
165
- "name": "votingDuration",
166
- "type": "uint256",
167
- "internalType": "Timestamp"
168
- },
169
- {
170
- "name": "executionDelay",
171
- "type": "uint256",
172
- "internalType": "Timestamp"
173
- },
174
- {
175
- "name": "gracePeriod",
176
- "type": "uint256",
177
- "internalType": "Timestamp"
178
- },
179
- {
180
- "name": "quorum",
181
- "type": "uint256",
182
- "internalType": "uint256"
183
- },
184
- {
185
- "name": "voteDifferential",
186
- "type": "uint256",
187
- "internalType": "uint256"
188
- },
189
- {
190
- "name": "minimumVotes",
191
- "type": "uint256",
192
- "internalType": "uint256"
193
- }
194
- ]
248
+ "name": "proposal",
249
+ "type": "address",
250
+ "internalType": "contract IPayload"
195
251
  }
196
- ],
197
- "stateMutability": "view"
252
+ ]
198
253
  },
199
254
  {
200
- "type": "function",
201
- "name": "getProposal",
255
+ "type": "error",
256
+ "name": "GovernanceProposer__ProposalTooOld",
202
257
  "inputs": [
203
258
  {
204
- "name": "_proposalId",
259
+ "name": "roundNumber",
205
260
  "type": "uint256",
206
261
  "internalType": "uint256"
207
- }
208
- ],
209
- "outputs": [
262
+ },
210
263
  {
211
- "name": "",
212
- "type": "tuple",
213
- "internalType": "struct DataStructures.Proposal",
214
- "components": [
215
- {
216
- "name": "config",
217
- "type": "tuple",
218
- "internalType": "struct DataStructures.Configuration",
219
- "components": [
220
- {
221
- "name": "proposeConfig",
222
- "type": "tuple",
223
- "internalType": "struct DataStructures.ProposeConfiguration",
224
- "components": [
225
- {
226
- "name": "lockDelay",
227
- "type": "uint256",
228
- "internalType": "Timestamp"
229
- },
230
- {
231
- "name": "lockAmount",
232
- "type": "uint256",
233
- "internalType": "uint256"
234
- }
235
- ]
236
- },
237
- {
238
- "name": "votingDelay",
239
- "type": "uint256",
240
- "internalType": "Timestamp"
241
- },
242
- {
243
- "name": "votingDuration",
244
- "type": "uint256",
245
- "internalType": "Timestamp"
246
- },
247
- {
248
- "name": "executionDelay",
249
- "type": "uint256",
250
- "internalType": "Timestamp"
251
- },
252
- {
253
- "name": "gracePeriod",
254
- "type": "uint256",
255
- "internalType": "Timestamp"
256
- },
257
- {
258
- "name": "quorum",
259
- "type": "uint256",
260
- "internalType": "uint256"
261
- },
262
- {
263
- "name": "voteDifferential",
264
- "type": "uint256",
265
- "internalType": "uint256"
266
- },
267
- {
268
- "name": "minimumVotes",
269
- "type": "uint256",
270
- "internalType": "uint256"
271
- }
272
- ]
273
- },
274
- {
275
- "name": "state",
276
- "type": "uint8",
277
- "internalType": "enum DataStructures.ProposalState"
278
- },
279
- {
280
- "name": "payload",
281
- "type": "address",
282
- "internalType": "contract IPayload"
283
- },
284
- {
285
- "name": "governanceProposer",
286
- "type": "address",
287
- "internalType": "address"
288
- },
289
- {
290
- "name": "creation",
291
- "type": "uint256",
292
- "internalType": "Timestamp"
293
- },
294
- {
295
- "name": "summedBallot",
296
- "type": "tuple",
297
- "internalType": "struct DataStructures.Ballot",
298
- "components": [
299
- {
300
- "name": "yea",
301
- "type": "uint256",
302
- "internalType": "uint256"
303
- },
304
- {
305
- "name": "nea",
306
- "type": "uint256",
307
- "internalType": "uint256"
308
- }
309
- ]
310
- }
311
- ]
312
- }
313
- ],
314
- "stateMutability": "view"
315
- },
316
- {
317
- "type": "function",
318
- "name": "getProposalState",
319
- "inputs": [
320
- {
321
- "name": "_proposalId",
264
+ "name": "currentRoundNumber",
322
265
  "type": "uint256",
323
266
  "internalType": "uint256"
324
267
  }
325
- ],
326
- "outputs": [
327
- {
328
- "name": "",
329
- "type": "uint8",
330
- "internalType": "enum DataStructures.ProposalState"
331
- }
332
- ],
333
- "stateMutability": "view"
268
+ ]
334
269
  },
335
270
  {
336
- "type": "function",
337
- "name": "getWithdrawal",
271
+ "type": "error",
272
+ "name": "GovernanceProposer__VoteAlreadyCastForSlot",
338
273
  "inputs": [
339
274
  {
340
- "name": "_withdrawalId",
275
+ "name": "slot",
341
276
  "type": "uint256",
342
- "internalType": "uint256"
343
- }
344
- ],
345
- "outputs": [
346
- {
347
- "name": "",
348
- "type": "tuple",
349
- "internalType": "struct DataStructures.Withdrawal",
350
- "components": [
351
- {
352
- "name": "amount",
353
- "type": "uint256",
354
- "internalType": "uint256"
355
- },
356
- {
357
- "name": "unlocksAt",
358
- "type": "uint256",
359
- "internalType": "Timestamp"
360
- },
361
- {
362
- "name": "recipient",
363
- "type": "address",
364
- "internalType": "address"
365
- },
366
- {
367
- "name": "claimed",
368
- "type": "bool",
369
- "internalType": "bool"
370
- }
371
- ]
277
+ "internalType": "Slot"
372
278
  }
373
- ],
374
- "stateMutability": "view"
279
+ ]
375
280
  },
376
281
  {
377
- "type": "function",
378
- "name": "governanceProposer",
379
- "inputs": [],
380
- "outputs": [
282
+ "type": "error",
283
+ "name": "Governance__CallFailed",
284
+ "inputs": [
381
285
  {
382
- "name": "",
286
+ "name": "target",
383
287
  "type": "address",
384
288
  "internalType": "address"
385
289
  }
386
- ],
387
- "stateMutability": "view"
290
+ ]
388
291
  },
389
292
  {
390
- "type": "function",
391
- "name": "initiateWithdraw",
293
+ "type": "error",
294
+ "name": "Governance__CallerNotGovernanceProposer",
392
295
  "inputs": [
393
296
  {
394
- "name": "_to",
297
+ "name": "caller",
395
298
  "type": "address",
396
299
  "internalType": "address"
397
300
  },
398
301
  {
399
- "name": "_amount",
400
- "type": "uint256",
401
- "internalType": "uint256"
402
- }
403
- ],
404
- "outputs": [
405
- {
406
- "name": "",
407
- "type": "uint256",
408
- "internalType": "uint256"
302
+ "name": "governanceProposer",
303
+ "type": "address",
304
+ "internalType": "address"
409
305
  }
410
- ],
411
- "stateMutability": "nonpayable"
306
+ ]
412
307
  },
413
308
  {
414
- "type": "function",
415
- "name": "powerAt",
309
+ "type": "error",
310
+ "name": "Governance__CallerNotSelf",
416
311
  "inputs": [
417
312
  {
418
- "name": "_owner",
313
+ "name": "caller",
419
314
  "type": "address",
420
315
  "internalType": "address"
421
316
  },
422
317
  {
423
- "name": "_ts",
424
- "type": "uint256",
425
- "internalType": "Timestamp"
426
- }
427
- ],
428
- "outputs": [
429
- {
430
- "name": "",
431
- "type": "uint256",
432
- "internalType": "uint256"
318
+ "name": "self",
319
+ "type": "address",
320
+ "internalType": "address"
433
321
  }
434
- ],
435
- "stateMutability": "view"
322
+ ]
436
323
  },
437
324
  {
438
- "type": "function",
439
- "name": "proposalCount",
440
- "inputs": [],
441
- "outputs": [
442
- {
443
- "name": "",
444
- "type": "uint256",
445
- "internalType": "uint256"
446
- }
447
- ],
448
- "stateMutability": "view"
325
+ "type": "error",
326
+ "name": "Governance__CannotCallAsset",
327
+ "inputs": []
449
328
  },
450
329
  {
451
- "type": "function",
452
- "name": "propose",
453
- "inputs": [
454
- {
455
- "name": "_proposal",
456
- "type": "address",
457
- "internalType": "contract IPayload"
458
- }
459
- ],
460
- "outputs": [
461
- {
462
- "name": "",
463
- "type": "bool",
464
- "internalType": "bool"
465
- }
466
- ],
467
- "stateMutability": "nonpayable"
330
+ "type": "error",
331
+ "name": "Governance__ConfigurationLib__DifferentialTooBig",
332
+ "inputs": []
468
333
  },
469
334
  {
470
- "type": "function",
471
- "name": "proposeWithLock",
472
- "inputs": [
473
- {
474
- "name": "_proposal",
475
- "type": "address",
476
- "internalType": "contract IPayload"
477
- },
478
- {
479
- "name": "_to",
480
- "type": "address",
481
- "internalType": "address"
482
- }
483
- ],
484
- "outputs": [
485
- {
486
- "name": "",
487
- "type": "bool",
488
- "internalType": "bool"
489
- }
490
- ],
491
- "stateMutability": "nonpayable"
335
+ "type": "error",
336
+ "name": "Governance__ConfigurationLib__DifferentialTooSmall",
337
+ "inputs": []
492
338
  },
493
339
  {
494
- "type": "function",
495
- "name": "totalPowerAt",
496
- "inputs": [
497
- {
498
- "name": "_ts",
499
- "type": "uint256",
500
- "internalType": "Timestamp"
501
- }
502
- ],
503
- "outputs": [
504
- {
505
- "name": "",
506
- "type": "uint256",
507
- "internalType": "uint256"
508
- }
509
- ],
510
- "stateMutability": "view"
340
+ "type": "error",
341
+ "name": "Governance__ConfigurationLib__InvalidMinimumVotes",
342
+ "inputs": []
511
343
  },
512
344
  {
513
- "type": "function",
514
- "name": "updateConfiguration",
515
- "inputs": [
516
- {
517
- "name": "_configuration",
518
- "type": "tuple",
519
- "internalType": "struct DataStructures.Configuration",
520
- "components": [
521
- {
522
- "name": "proposeConfig",
523
- "type": "tuple",
524
- "internalType": "struct DataStructures.ProposeConfiguration",
525
- "components": [
526
- {
527
- "name": "lockDelay",
528
- "type": "uint256",
529
- "internalType": "Timestamp"
530
- },
531
- {
532
- "name": "lockAmount",
533
- "type": "uint256",
534
- "internalType": "uint256"
535
- }
536
- ]
537
- },
538
- {
539
- "name": "votingDelay",
540
- "type": "uint256",
541
- "internalType": "Timestamp"
542
- },
543
- {
544
- "name": "votingDuration",
545
- "type": "uint256",
546
- "internalType": "Timestamp"
547
- },
548
- {
549
- "name": "executionDelay",
550
- "type": "uint256",
551
- "internalType": "Timestamp"
552
- },
553
- {
554
- "name": "gracePeriod",
555
- "type": "uint256",
556
- "internalType": "Timestamp"
557
- },
558
- {
559
- "name": "quorum",
560
- "type": "uint256",
561
- "internalType": "uint256"
562
- },
563
- {
564
- "name": "voteDifferential",
565
- "type": "uint256",
566
- "internalType": "uint256"
567
- },
568
- {
569
- "name": "minimumVotes",
570
- "type": "uint256",
571
- "internalType": "uint256"
572
- }
573
- ]
574
- }
575
- ],
576
- "outputs": [],
577
- "stateMutability": "nonpayable"
345
+ "type": "error",
346
+ "name": "Governance__ConfigurationLib__LockAmountTooSmall",
347
+ "inputs": []
578
348
  },
579
349
  {
580
- "type": "function",
581
- "name": "updateGovernanceProposer",
582
- "inputs": [
583
- {
584
- "name": "_governanceProposer",
585
- "type": "address",
586
- "internalType": "address"
587
- }
588
- ],
589
- "outputs": [],
590
- "stateMutability": "nonpayable"
350
+ "type": "error",
351
+ "name": "Governance__ConfigurationLib__QuorumTooBig",
352
+ "inputs": []
591
353
  },
592
354
  {
593
- "type": "function",
594
- "name": "vote",
595
- "inputs": [
596
- {
597
- "name": "_proposalId",
598
- "type": "uint256",
599
- "internalType": "uint256"
600
- },
601
- {
602
- "name": "_amount",
603
- "type": "uint256",
604
- "internalType": "uint256"
605
- },
606
- {
607
- "name": "_support",
608
- "type": "bool",
609
- "internalType": "bool"
610
- }
611
- ],
612
- "outputs": [
613
- {
614
- "name": "",
615
- "type": "bool",
616
- "internalType": "bool"
617
- }
618
- ],
619
- "stateMutability": "nonpayable"
355
+ "type": "error",
356
+ "name": "Governance__ConfigurationLib__QuorumTooSmall",
357
+ "inputs": []
620
358
  },
621
359
  {
622
- "type": "function",
623
- "name": "withdrawalCount",
624
- "inputs": [],
625
- "outputs": [
360
+ "type": "error",
361
+ "name": "Governance__ConfigurationLib__TimeTooBig",
362
+ "inputs": [
626
363
  {
627
- "name": "",
628
- "type": "uint256",
629
- "internalType": "uint256"
364
+ "name": "name",
365
+ "type": "string",
366
+ "internalType": "string"
630
367
  }
631
- ],
632
- "stateMutability": "view"
368
+ ]
633
369
  },
634
370
  {
635
- "type": "event",
636
- "name": "ConfigurationUpdated",
371
+ "type": "error",
372
+ "name": "Governance__ConfigurationLib__TimeTooSmall",
637
373
  "inputs": [
638
374
  {
639
- "name": "time",
640
- "type": "uint256",
641
- "indexed": true,
642
- "internalType": "Timestamp"
375
+ "name": "name",
376
+ "type": "string",
377
+ "internalType": "string"
643
378
  }
644
- ],
645
- "anonymous": false
379
+ ]
646
380
  },
647
381
  {
648
- "type": "event",
649
- "name": "Deposit",
382
+ "type": "error",
383
+ "name": "Governance__InsufficientPower",
650
384
  "inputs": [
651
385
  {
652
- "name": "depositor",
386
+ "name": "voter",
653
387
  "type": "address",
654
- "indexed": true,
655
388
  "internalType": "address"
656
389
  },
657
390
  {
658
- "name": "onBehalfOf",
659
- "type": "address",
660
- "indexed": true,
661
- "internalType": "address"
391
+ "name": "have",
392
+ "type": "uint256",
393
+ "internalType": "uint256"
662
394
  },
663
395
  {
664
- "name": "amount",
396
+ "name": "required",
665
397
  "type": "uint256",
666
- "indexed": false,
667
398
  "internalType": "uint256"
668
399
  }
669
- ],
670
- "anonymous": false
400
+ ]
671
401
  },
672
402
  {
673
- "type": "event",
674
- "name": "GovernanceProposerUpdated",
675
- "inputs": [
676
- {
677
- "name": "governanceProposer",
678
- "type": "address",
679
- "indexed": true,
680
- "internalType": "address"
681
- }
682
- ],
683
- "anonymous": false
403
+ "type": "error",
404
+ "name": "Governance__InvalidConfiguration",
405
+ "inputs": []
684
406
  },
685
407
  {
686
- "type": "event",
687
- "name": "ProposalExecuted",
688
- "inputs": [
689
- {
690
- "name": "proposalId",
691
- "type": "uint256",
692
- "indexed": true,
693
- "internalType": "uint256"
694
- }
695
- ],
696
- "anonymous": false
408
+ "type": "error",
409
+ "name": "Governance__NoCheckpointsFound",
410
+ "inputs": []
697
411
  },
698
412
  {
699
- "type": "event",
700
- "name": "Proposed",
413
+ "type": "error",
414
+ "name": "Governance__ProposalAlreadyDropped",
415
+ "inputs": []
416
+ },
417
+ {
418
+ "type": "error",
419
+ "name": "Governance__ProposalCannotBeDropped",
420
+ "inputs": []
421
+ },
422
+ {
423
+ "type": "error",
424
+ "name": "Governance__ProposalDoesNotExists",
701
425
  "inputs": [
702
426
  {
703
427
  "name": "proposalId",
704
428
  "type": "uint256",
705
- "indexed": true,
706
429
  "internalType": "uint256"
707
- },
708
- {
709
- "name": "proposal",
710
- "type": "address",
711
- "indexed": true,
712
- "internalType": "address"
713
430
  }
714
- ],
715
- "anonymous": false
431
+ ]
716
432
  },
717
433
  {
718
- "type": "event",
719
- "name": "VoteCast",
720
- "inputs": [
721
- {
722
- "name": "proposalId",
723
- "type": "uint256",
724
- "indexed": true,
725
- "internalType": "uint256"
726
- },
434
+ "type": "error",
435
+ "name": "Governance__ProposalLib__MoreVoteThanExistNeeded",
436
+ "inputs": []
437
+ },
438
+ {
439
+ "type": "error",
440
+ "name": "Governance__ProposalLib__MoreYeaVoteThanExistNeeded",
441
+ "inputs": []
442
+ },
443
+ {
444
+ "type": "error",
445
+ "name": "Governance__ProposalLib__ZeroMinimum",
446
+ "inputs": []
447
+ },
448
+ {
449
+ "type": "error",
450
+ "name": "Governance__ProposalLib__ZeroVotesNeeded",
451
+ "inputs": []
452
+ },
453
+ {
454
+ "type": "error",
455
+ "name": "Governance__ProposalLib__ZeroYeaVotesNeeded",
456
+ "inputs": []
457
+ },
458
+ {
459
+ "type": "error",
460
+ "name": "Governance__ProposalNotActive",
461
+ "inputs": []
462
+ },
463
+ {
464
+ "type": "error",
465
+ "name": "Governance__ProposalNotExecutable",
466
+ "inputs": []
467
+ },
468
+ {
469
+ "type": "error",
470
+ "name": "Governance__UserLib__NotInPast",
471
+ "inputs": []
472
+ },
473
+ {
474
+ "type": "error",
475
+ "name": "Governance__WithdrawalAlreadyclaimed",
476
+ "inputs": []
477
+ },
478
+ {
479
+ "type": "error",
480
+ "name": "Governance__WithdrawalNotUnlockedYet",
481
+ "inputs": [
727
482
  {
728
- "name": "voter",
729
- "type": "address",
730
- "indexed": true,
731
- "internalType": "address"
483
+ "name": "currentTime",
484
+ "type": "uint256",
485
+ "internalType": "Timestamp"
732
486
  },
733
487
  {
734
- "name": "support",
735
- "type": "bool",
736
- "indexed": false,
737
- "internalType": "bool"
488
+ "name": "unlocksAt",
489
+ "type": "uint256",
490
+ "internalType": "Timestamp"
491
+ }
492
+ ]
493
+ },
494
+ {
495
+ "type": "error",
496
+ "name": "HeaderLib__InvalidHeaderSize",
497
+ "inputs": [
498
+ {
499
+ "name": "expected",
500
+ "type": "uint256",
501
+ "internalType": "uint256"
738
502
  },
739
503
  {
740
- "name": "amount",
504
+ "name": "actual",
741
505
  "type": "uint256",
742
- "indexed": false,
743
506
  "internalType": "uint256"
744
507
  }
745
- ],
746
- "anonymous": false
508
+ ]
747
509
  },
748
510
  {
749
- "type": "event",
750
- "name": "WithdrawFinalised",
511
+ "type": "error",
512
+ "name": "HeaderLib__InvalidSlotNumber",
751
513
  "inputs": [
752
514
  {
753
- "name": "withdrawalId",
515
+ "name": "expected",
754
516
  "type": "uint256",
755
- "indexed": true,
756
- "internalType": "uint256"
517
+ "internalType": "Slot"
518
+ },
519
+ {
520
+ "name": "actual",
521
+ "type": "uint256",
522
+ "internalType": "Slot"
757
523
  }
758
- ],
759
- "anonymous": false
524
+ ]
760
525
  },
761
526
  {
762
- "type": "event",
763
- "name": "WithdrawInitiated",
527
+ "type": "error",
528
+ "name": "Inbox__ActorTooLarge",
764
529
  "inputs": [
765
530
  {
766
- "name": "withdrawalId",
531
+ "name": "actor",
532
+ "type": "bytes32",
533
+ "internalType": "bytes32"
534
+ }
535
+ ]
536
+ },
537
+ {
538
+ "type": "error",
539
+ "name": "Inbox__ContentTooLarge",
540
+ "inputs": [
541
+ {
542
+ "name": "content",
543
+ "type": "bytes32",
544
+ "internalType": "bytes32"
545
+ }
546
+ ]
547
+ },
548
+ {
549
+ "type": "error",
550
+ "name": "Inbox__MustBuildBeforeConsume",
551
+ "inputs": []
552
+ },
553
+ {
554
+ "type": "error",
555
+ "name": "Inbox__SecretHashTooLarge",
556
+ "inputs": [
557
+ {
558
+ "name": "secretHash",
559
+ "type": "bytes32",
560
+ "internalType": "bytes32"
561
+ }
562
+ ]
563
+ },
564
+ {
565
+ "type": "error",
566
+ "name": "Inbox__Unauthorized",
567
+ "inputs": []
568
+ },
569
+ {
570
+ "type": "error",
571
+ "name": "Leonidas__EpochNotSetup",
572
+ "inputs": []
573
+ },
574
+ {
575
+ "type": "error",
576
+ "name": "Leonidas__InsufficientAttestations",
577
+ "inputs": [
578
+ {
579
+ "name": "minimumNeeded",
767
580
  "type": "uint256",
768
- "indexed": true,
769
581
  "internalType": "uint256"
770
582
  },
771
583
  {
772
- "name": "recipient",
773
- "type": "address",
774
- "indexed": true,
775
- "internalType": "address"
776
- },
777
- {
778
- "name": "amount",
584
+ "name": "provided",
779
585
  "type": "uint256",
780
- "indexed": false,
781
586
  "internalType": "uint256"
782
587
  }
783
- ],
784
- "anonymous": false
588
+ ]
785
589
  },
786
590
  {
787
591
  "type": "error",
788
- "name": "Governance__CallFailed",
592
+ "name": "Leonidas__InsufficientAttestationsProvided",
789
593
  "inputs": [
790
594
  {
791
- "name": "target",
792
- "type": "address",
793
- "internalType": "address"
595
+ "name": "minimumNeeded",
596
+ "type": "uint256",
597
+ "internalType": "uint256"
598
+ },
599
+ {
600
+ "name": "provided",
601
+ "type": "uint256",
602
+ "internalType": "uint256"
794
603
  }
795
604
  ]
796
605
  },
797
606
  {
798
607
  "type": "error",
799
- "name": "Governance__CallerNotGovernanceProposer",
608
+ "name": "Leonidas__InvalidDeposit",
800
609
  "inputs": [
801
610
  {
802
- "name": "caller",
611
+ "name": "attester",
803
612
  "type": "address",
804
613
  "internalType": "address"
805
614
  },
806
615
  {
807
- "name": "governanceProposer",
616
+ "name": "proposer",
808
617
  "type": "address",
809
618
  "internalType": "address"
810
619
  }
@@ -812,15 +621,15 @@ export const GovernanceAbi = [
812
621
  },
813
622
  {
814
623
  "type": "error",
815
- "name": "Governance__CallerNotSelf",
624
+ "name": "Leonidas__InvalidProposer",
816
625
  "inputs": [
817
626
  {
818
- "name": "caller",
627
+ "name": "expected",
819
628
  "type": "address",
820
629
  "internalType": "address"
821
630
  },
822
631
  {
823
- "name": "self",
632
+ "name": "actual",
824
633
  "type": "address",
825
634
  "internalType": "address"
826
635
  }
@@ -828,148 +637,1572 @@ export const GovernanceAbi = [
828
637
  },
829
638
  {
830
639
  "type": "error",
831
- "name": "Governance__CannotCallAsset",
832
- "inputs": []
640
+ "name": "MerkleLib__InvalidRoot",
641
+ "inputs": [
642
+ {
643
+ "name": "expected",
644
+ "type": "bytes32",
645
+ "internalType": "bytes32"
646
+ },
647
+ {
648
+ "name": "actual",
649
+ "type": "bytes32",
650
+ "internalType": "bytes32"
651
+ },
652
+ {
653
+ "name": "leaf",
654
+ "type": "bytes32",
655
+ "internalType": "bytes32"
656
+ },
657
+ {
658
+ "name": "leafIndex",
659
+ "type": "uint256",
660
+ "internalType": "uint256"
661
+ }
662
+ ]
833
663
  },
834
664
  {
835
665
  "type": "error",
836
- "name": "Governance__ConfigurationLib__DifferentialTooBig",
837
- "inputs": []
666
+ "name": "Outbox__AlreadyNullified",
667
+ "inputs": [
668
+ {
669
+ "name": "l2BlockNumber",
670
+ "type": "uint256",
671
+ "internalType": "uint256"
672
+ },
673
+ {
674
+ "name": "leafIndex",
675
+ "type": "uint256",
676
+ "internalType": "uint256"
677
+ }
678
+ ]
838
679
  },
839
680
  {
840
681
  "type": "error",
841
- "name": "Governance__ConfigurationLib__InvalidMinimumVotes",
842
- "inputs": []
682
+ "name": "Outbox__BlockNotProven",
683
+ "inputs": [
684
+ {
685
+ "name": "l2BlockNumber",
686
+ "type": "uint256",
687
+ "internalType": "uint256"
688
+ }
689
+ ]
843
690
  },
844
691
  {
845
692
  "type": "error",
846
- "name": "Governance__ConfigurationLib__LockAmountTooSmall",
847
- "inputs": []
693
+ "name": "Outbox__IncompatibleEntryArguments",
694
+ "inputs": [
695
+ {
696
+ "name": "messageHash",
697
+ "type": "bytes32",
698
+ "internalType": "bytes32"
699
+ },
700
+ {
701
+ "name": "storedFee",
702
+ "type": "uint64",
703
+ "internalType": "uint64"
704
+ },
705
+ {
706
+ "name": "feePassed",
707
+ "type": "uint64",
708
+ "internalType": "uint64"
709
+ },
710
+ {
711
+ "name": "storedVersion",
712
+ "type": "uint32",
713
+ "internalType": "uint32"
714
+ },
715
+ {
716
+ "name": "versionPassed",
717
+ "type": "uint32",
718
+ "internalType": "uint32"
719
+ },
720
+ {
721
+ "name": "storedDeadline",
722
+ "type": "uint32",
723
+ "internalType": "uint32"
724
+ },
725
+ {
726
+ "name": "deadlinePassed",
727
+ "type": "uint32",
728
+ "internalType": "uint32"
729
+ }
730
+ ]
848
731
  },
849
732
  {
850
733
  "type": "error",
851
- "name": "Governance__ConfigurationLib__QuorumTooBig",
734
+ "name": "Outbox__InsertingInvalidRoot",
852
735
  "inputs": []
853
736
  },
854
737
  {
855
738
  "type": "error",
856
- "name": "Governance__ConfigurationLib__QuorumTooSmall",
739
+ "name": "Outbox__InvalidChainId",
857
740
  "inputs": []
858
741
  },
859
742
  {
860
743
  "type": "error",
861
- "name": "Governance__ConfigurationLib__TimeTooBig",
744
+ "name": "Outbox__InvalidPathLength",
862
745
  "inputs": [
863
746
  {
864
- "name": "name",
865
- "type": "string",
866
- "internalType": "string"
747
+ "name": "expected",
748
+ "type": "uint256",
749
+ "internalType": "uint256"
750
+ },
751
+ {
752
+ "name": "actual",
753
+ "type": "uint256",
754
+ "internalType": "uint256"
755
+ }
756
+ ]
757
+ },
758
+ {
759
+ "type": "error",
760
+ "name": "Outbox__InvalidRecipient",
761
+ "inputs": [
762
+ {
763
+ "name": "expected",
764
+ "type": "address",
765
+ "internalType": "address"
766
+ },
767
+ {
768
+ "name": "actual",
769
+ "type": "address",
770
+ "internalType": "address"
771
+ }
772
+ ]
773
+ },
774
+ {
775
+ "type": "error",
776
+ "name": "Outbox__InvalidVersion",
777
+ "inputs": [
778
+ {
779
+ "name": "entry",
780
+ "type": "uint256",
781
+ "internalType": "uint256"
782
+ },
783
+ {
784
+ "name": "message",
785
+ "type": "uint256",
786
+ "internalType": "uint256"
787
+ }
788
+ ]
789
+ },
790
+ {
791
+ "type": "error",
792
+ "name": "Outbox__NothingToConsume",
793
+ "inputs": [
794
+ {
795
+ "name": "messageHash",
796
+ "type": "bytes32",
797
+ "internalType": "bytes32"
798
+ }
799
+ ]
800
+ },
801
+ {
802
+ "type": "error",
803
+ "name": "Outbox__NothingToConsumeAtBlock",
804
+ "inputs": [
805
+ {
806
+ "name": "l2BlockNumber",
807
+ "type": "uint256",
808
+ "internalType": "uint256"
867
809
  }
868
810
  ]
869
811
  },
870
812
  {
871
- "type": "error",
872
- "name": "Governance__ConfigurationLib__TimeTooSmall",
813
+ "type": "error",
814
+ "name": "Outbox__RootAlreadySetAtBlock",
815
+ "inputs": [
816
+ {
817
+ "name": "l2BlockNumber",
818
+ "type": "uint256",
819
+ "internalType": "uint256"
820
+ }
821
+ ]
822
+ },
823
+ {
824
+ "type": "error",
825
+ "name": "Outbox__Unauthorized",
826
+ "inputs": []
827
+ },
828
+ {
829
+ "type": "error",
830
+ "name": "ProofCommitmentEscrow__InsufficientBalance",
831
+ "inputs": [
832
+ {
833
+ "name": "balance",
834
+ "type": "uint256",
835
+ "internalType": "uint256"
836
+ },
837
+ {
838
+ "name": "requested",
839
+ "type": "uint256",
840
+ "internalType": "uint256"
841
+ }
842
+ ]
843
+ },
844
+ {
845
+ "type": "error",
846
+ "name": "ProofCommitmentEscrow__NotOwner",
847
+ "inputs": [
848
+ {
849
+ "name": "caller",
850
+ "type": "address",
851
+ "internalType": "address"
852
+ }
853
+ ]
854
+ },
855
+ {
856
+ "type": "error",
857
+ "name": "ProofCommitmentEscrow__WithdrawRequestNotReady",
858
+ "inputs": [
859
+ {
860
+ "name": "current",
861
+ "type": "uint256",
862
+ "internalType": "uint256"
863
+ },
864
+ {
865
+ "name": "readyAt",
866
+ "type": "uint256",
867
+ "internalType": "Timestamp"
868
+ }
869
+ ]
870
+ },
871
+ {
872
+ "type": "event",
873
+ "name": "ProposalExecuted",
874
+ "inputs": [
875
+ {
876
+ "name": "proposalId",
877
+ "type": "uint256",
878
+ "indexed": true,
879
+ "internalType": "uint256"
880
+ }
881
+ ],
882
+ "anonymous": false
883
+ },
884
+ {
885
+ "type": "event",
886
+ "name": "Proposed",
887
+ "inputs": [
888
+ {
889
+ "name": "proposalId",
890
+ "type": "uint256",
891
+ "indexed": true,
892
+ "internalType": "uint256"
893
+ },
894
+ {
895
+ "name": "proposal",
896
+ "type": "address",
897
+ "indexed": true,
898
+ "internalType": "address"
899
+ }
900
+ ],
901
+ "anonymous": false
902
+ },
903
+ {
904
+ "type": "error",
905
+ "name": "Registry__RollupAlreadyRegistered",
906
+ "inputs": [
907
+ {
908
+ "name": "rollup",
909
+ "type": "address",
910
+ "internalType": "address"
911
+ }
912
+ ]
913
+ },
914
+ {
915
+ "type": "error",
916
+ "name": "Registry__RollupNotRegistered",
917
+ "inputs": [
918
+ {
919
+ "name": "rollup",
920
+ "type": "address",
921
+ "internalType": "address"
922
+ }
923
+ ]
924
+ },
925
+ {
926
+ "type": "error",
927
+ "name": "RewardDistributor__InvalidCaller",
928
+ "inputs": [
929
+ {
930
+ "name": "caller",
931
+ "type": "address",
932
+ "internalType": "address"
933
+ },
934
+ {
935
+ "name": "canonical",
936
+ "type": "address",
937
+ "internalType": "address"
938
+ }
939
+ ]
940
+ },
941
+ {
942
+ "type": "error",
943
+ "name": "Rollup__InsufficientBondAmount",
944
+ "inputs": [
945
+ {
946
+ "name": "minimum",
947
+ "type": "uint256",
948
+ "internalType": "uint256"
949
+ },
950
+ {
951
+ "name": "provided",
952
+ "type": "uint256",
953
+ "internalType": "uint256"
954
+ }
955
+ ]
956
+ },
957
+ {
958
+ "type": "error",
959
+ "name": "Rollup__InsufficientFundsInEscrow",
960
+ "inputs": [
961
+ {
962
+ "name": "required",
963
+ "type": "uint256",
964
+ "internalType": "uint256"
965
+ },
966
+ {
967
+ "name": "available",
968
+ "type": "uint256",
969
+ "internalType": "uint256"
970
+ }
971
+ ]
972
+ },
973
+ {
974
+ "type": "error",
975
+ "name": "Rollup__InvalidArchive",
976
+ "inputs": [
977
+ {
978
+ "name": "expected",
979
+ "type": "bytes32",
980
+ "internalType": "bytes32"
981
+ },
982
+ {
983
+ "name": "actual",
984
+ "type": "bytes32",
985
+ "internalType": "bytes32"
986
+ }
987
+ ]
988
+ },
989
+ {
990
+ "type": "error",
991
+ "name": "Rollup__InvalidBasisPointFee",
992
+ "inputs": [
993
+ {
994
+ "name": "basisPointFee",
995
+ "type": "uint256",
996
+ "internalType": "uint256"
997
+ }
998
+ ]
999
+ },
1000
+ {
1001
+ "type": "error",
1002
+ "name": "Rollup__InvalidBlobHash",
1003
+ "inputs": [
1004
+ {
1005
+ "name": "blobHash",
1006
+ "type": "bytes32",
1007
+ "internalType": "bytes32"
1008
+ }
1009
+ ]
1010
+ },
1011
+ {
1012
+ "type": "error",
1013
+ "name": "Rollup__InvalidBlobProof",
1014
+ "inputs": [
1015
+ {
1016
+ "name": "blobHash",
1017
+ "type": "bytes32",
1018
+ "internalType": "bytes32"
1019
+ }
1020
+ ]
1021
+ },
1022
+ {
1023
+ "type": "error",
1024
+ "name": "Rollup__InvalidBlobPublicInputsHash",
1025
+ "inputs": [
1026
+ {
1027
+ "name": "expected",
1028
+ "type": "bytes32",
1029
+ "internalType": "bytes32"
1030
+ },
1031
+ {
1032
+ "name": "actual",
1033
+ "type": "bytes32",
1034
+ "internalType": "bytes32"
1035
+ }
1036
+ ]
1037
+ },
1038
+ {
1039
+ "type": "error",
1040
+ "name": "Rollup__InvalidBlockHash",
1041
+ "inputs": [
1042
+ {
1043
+ "name": "expected",
1044
+ "type": "bytes32",
1045
+ "internalType": "bytes32"
1046
+ },
1047
+ {
1048
+ "name": "actual",
1049
+ "type": "bytes32",
1050
+ "internalType": "bytes32"
1051
+ }
1052
+ ]
1053
+ },
1054
+ {
1055
+ "type": "error",
1056
+ "name": "Rollup__InvalidBlockNumber",
1057
+ "inputs": [
1058
+ {
1059
+ "name": "expected",
1060
+ "type": "uint256",
1061
+ "internalType": "uint256"
1062
+ },
1063
+ {
1064
+ "name": "actual",
1065
+ "type": "uint256",
1066
+ "internalType": "uint256"
1067
+ }
1068
+ ]
1069
+ },
1070
+ {
1071
+ "type": "error",
1072
+ "name": "Rollup__InvalidChainId",
1073
+ "inputs": [
1074
+ {
1075
+ "name": "expected",
1076
+ "type": "uint256",
1077
+ "internalType": "uint256"
1078
+ },
1079
+ {
1080
+ "name": "actual",
1081
+ "type": "uint256",
1082
+ "internalType": "uint256"
1083
+ }
1084
+ ]
1085
+ },
1086
+ {
1087
+ "type": "error",
1088
+ "name": "Rollup__InvalidEpoch",
1089
+ "inputs": [
1090
+ {
1091
+ "name": "expected",
1092
+ "type": "uint256",
1093
+ "internalType": "Epoch"
1094
+ },
1095
+ {
1096
+ "name": "actual",
1097
+ "type": "uint256",
1098
+ "internalType": "Epoch"
1099
+ }
1100
+ ]
1101
+ },
1102
+ {
1103
+ "type": "error",
1104
+ "name": "Rollup__InvalidInHash",
1105
+ "inputs": [
1106
+ {
1107
+ "name": "expected",
1108
+ "type": "bytes32",
1109
+ "internalType": "bytes32"
1110
+ },
1111
+ {
1112
+ "name": "actual",
1113
+ "type": "bytes32",
1114
+ "internalType": "bytes32"
1115
+ }
1116
+ ]
1117
+ },
1118
+ {
1119
+ "type": "error",
1120
+ "name": "Rollup__InvalidManaBaseFee",
1121
+ "inputs": [
1122
+ {
1123
+ "name": "expected",
1124
+ "type": "uint256",
1125
+ "internalType": "uint256"
1126
+ },
1127
+ {
1128
+ "name": "actual",
1129
+ "type": "uint256",
1130
+ "internalType": "uint256"
1131
+ }
1132
+ ]
1133
+ },
1134
+ {
1135
+ "type": "error",
1136
+ "name": "Rollup__InvalidPreviousArchive",
1137
+ "inputs": [
1138
+ {
1139
+ "name": "expected",
1140
+ "type": "bytes32",
1141
+ "internalType": "bytes32"
1142
+ },
1143
+ {
1144
+ "name": "actual",
1145
+ "type": "bytes32",
1146
+ "internalType": "bytes32"
1147
+ }
1148
+ ]
1149
+ },
1150
+ {
1151
+ "type": "error",
1152
+ "name": "Rollup__InvalidPreviousBlockHash",
1153
+ "inputs": [
1154
+ {
1155
+ "name": "expected",
1156
+ "type": "bytes32",
1157
+ "internalType": "bytes32"
1158
+ },
1159
+ {
1160
+ "name": "actual",
1161
+ "type": "bytes32",
1162
+ "internalType": "bytes32"
1163
+ }
1164
+ ]
1165
+ },
1166
+ {
1167
+ "type": "error",
1168
+ "name": "Rollup__InvalidProof",
1169
+ "inputs": []
1170
+ },
1171
+ {
1172
+ "type": "error",
1173
+ "name": "Rollup__InvalidProposedArchive",
1174
+ "inputs": [
1175
+ {
1176
+ "name": "expected",
1177
+ "type": "bytes32",
1178
+ "internalType": "bytes32"
1179
+ },
1180
+ {
1181
+ "name": "actual",
1182
+ "type": "bytes32",
1183
+ "internalType": "bytes32"
1184
+ }
1185
+ ]
1186
+ },
1187
+ {
1188
+ "type": "error",
1189
+ "name": "Rollup__InvalidTimestamp",
1190
+ "inputs": [
1191
+ {
1192
+ "name": "expected",
1193
+ "type": "uint256",
1194
+ "internalType": "Timestamp"
1195
+ },
1196
+ {
1197
+ "name": "actual",
1198
+ "type": "uint256",
1199
+ "internalType": "Timestamp"
1200
+ }
1201
+ ]
1202
+ },
1203
+ {
1204
+ "type": "error",
1205
+ "name": "Rollup__InvalidVersion",
1206
+ "inputs": [
1207
+ {
1208
+ "name": "expected",
1209
+ "type": "uint256",
1210
+ "internalType": "uint256"
1211
+ },
1212
+ {
1213
+ "name": "actual",
1214
+ "type": "uint256",
1215
+ "internalType": "uint256"
1216
+ }
1217
+ ]
1218
+ },
1219
+ {
1220
+ "type": "error",
1221
+ "name": "Rollup__NoEpochToProve",
1222
+ "inputs": []
1223
+ },
1224
+ {
1225
+ "type": "error",
1226
+ "name": "Rollup__NonSequentialProving",
1227
+ "inputs": []
1228
+ },
1229
+ {
1230
+ "type": "error",
1231
+ "name": "Rollup__NonZeroDaFee",
1232
+ "inputs": []
1233
+ },
1234
+ {
1235
+ "type": "error",
1236
+ "name": "Rollup__NonZeroL2Fee",
1237
+ "inputs": []
1238
+ },
1239
+ {
1240
+ "type": "error",
1241
+ "name": "Rollup__NotClaimingCorrectEpoch",
1242
+ "inputs": [
1243
+ {
1244
+ "name": "expected",
1245
+ "type": "uint256",
1246
+ "internalType": "Epoch"
1247
+ },
1248
+ {
1249
+ "name": "actual",
1250
+ "type": "uint256",
1251
+ "internalType": "Epoch"
1252
+ }
1253
+ ]
1254
+ },
1255
+ {
1256
+ "type": "error",
1257
+ "name": "Rollup__NotInClaimPhase",
1258
+ "inputs": [
1259
+ {
1260
+ "name": "currentSlotInEpoch",
1261
+ "type": "uint256",
1262
+ "internalType": "uint256"
1263
+ },
1264
+ {
1265
+ "name": "claimDuration",
1266
+ "type": "uint256",
1267
+ "internalType": "uint256"
1268
+ }
1269
+ ]
1270
+ },
1271
+ {
1272
+ "type": "error",
1273
+ "name": "Rollup__NothingToPrune",
1274
+ "inputs": []
1275
+ },
1276
+ {
1277
+ "type": "error",
1278
+ "name": "Rollup__ProofRightAlreadyClaimed",
1279
+ "inputs": []
1280
+ },
1281
+ {
1282
+ "type": "error",
1283
+ "name": "Rollup__QuoteExpired",
1284
+ "inputs": [
1285
+ {
1286
+ "name": "currentSlot",
1287
+ "type": "uint256",
1288
+ "internalType": "Slot"
1289
+ },
1290
+ {
1291
+ "name": "quoteSlot",
1292
+ "type": "uint256",
1293
+ "internalType": "Slot"
1294
+ }
1295
+ ]
1296
+ },
1297
+ {
1298
+ "type": "error",
1299
+ "name": "Rollup__SlotAlreadyInChain",
1300
+ "inputs": [
1301
+ {
1302
+ "name": "lastSlot",
1303
+ "type": "uint256",
1304
+ "internalType": "Slot"
1305
+ },
1306
+ {
1307
+ "name": "proposedSlot",
1308
+ "type": "uint256",
1309
+ "internalType": "Slot"
1310
+ }
1311
+ ]
1312
+ },
1313
+ {
1314
+ "type": "error",
1315
+ "name": "Rollup__TimestampInFuture",
1316
+ "inputs": [
1317
+ {
1318
+ "name": "max",
1319
+ "type": "uint256",
1320
+ "internalType": "Timestamp"
1321
+ },
1322
+ {
1323
+ "name": "actual",
1324
+ "type": "uint256",
1325
+ "internalType": "Timestamp"
1326
+ }
1327
+ ]
1328
+ },
1329
+ {
1330
+ "type": "error",
1331
+ "name": "Rollup__TimestampTooOld",
1332
+ "inputs": []
1333
+ },
1334
+ {
1335
+ "type": "error",
1336
+ "name": "Rollup__TryingToProveNonExistingBlock",
1337
+ "inputs": []
1338
+ },
1339
+ {
1340
+ "type": "error",
1341
+ "name": "Rollup__UnavailableTxs",
1342
+ "inputs": [
1343
+ {
1344
+ "name": "txsHash",
1345
+ "type": "bytes32",
1346
+ "internalType": "bytes32"
1347
+ }
1348
+ ]
1349
+ },
1350
+ {
1351
+ "type": "error",
1352
+ "name": "SafeERC20FailedOperation",
1353
+ "inputs": [
1354
+ {
1355
+ "name": "token",
1356
+ "type": "address",
1357
+ "internalType": "address"
1358
+ }
1359
+ ]
1360
+ },
1361
+ {
1362
+ "type": "error",
1363
+ "name": "SampleLib__IndexOutOfBounds",
1364
+ "inputs": [
1365
+ {
1366
+ "name": "requested",
1367
+ "type": "uint256",
1368
+ "internalType": "uint256"
1369
+ },
1370
+ {
1371
+ "name": "bound",
1372
+ "type": "uint256",
1373
+ "internalType": "uint256"
1374
+ }
1375
+ ]
1376
+ },
1377
+ {
1378
+ "type": "error",
1379
+ "name": "SignatureLib__CannotVerifyEmpty",
1380
+ "inputs": []
1381
+ },
1382
+ {
1383
+ "type": "error",
1384
+ "name": "SignatureLib__InvalidSignature",
1385
+ "inputs": [
1386
+ {
1387
+ "name": "expected",
1388
+ "type": "address",
1389
+ "internalType": "address"
1390
+ },
1391
+ {
1392
+ "name": "recovered",
1393
+ "type": "address",
1394
+ "internalType": "address"
1395
+ }
1396
+ ]
1397
+ },
1398
+ {
1399
+ "type": "error",
1400
+ "name": "Staking__AlreadyActive",
1401
+ "inputs": [
1402
+ {
1403
+ "name": "attester",
1404
+ "type": "address",
1405
+ "internalType": "address"
1406
+ }
1407
+ ]
1408
+ },
1409
+ {
1410
+ "type": "error",
1411
+ "name": "Staking__AlreadyRegistered",
1412
+ "inputs": [
1413
+ {
1414
+ "name": "",
1415
+ "type": "address",
1416
+ "internalType": "address"
1417
+ }
1418
+ ]
1419
+ },
1420
+ {
1421
+ "type": "error",
1422
+ "name": "Staking__CannotSlashExitedStake",
1423
+ "inputs": [
1424
+ {
1425
+ "name": "",
1426
+ "type": "address",
1427
+ "internalType": "address"
1428
+ }
1429
+ ]
1430
+ },
1431
+ {
1432
+ "type": "error",
1433
+ "name": "Staking__FailedToRemove",
1434
+ "inputs": [
1435
+ {
1436
+ "name": "",
1437
+ "type": "address",
1438
+ "internalType": "address"
1439
+ }
1440
+ ]
1441
+ },
1442
+ {
1443
+ "type": "error",
1444
+ "name": "Staking__InsufficientStake",
1445
+ "inputs": [
1446
+ {
1447
+ "name": "",
1448
+ "type": "uint256",
1449
+ "internalType": "uint256"
1450
+ },
1451
+ {
1452
+ "name": "",
1453
+ "type": "uint256",
1454
+ "internalType": "uint256"
1455
+ }
1456
+ ]
1457
+ },
1458
+ {
1459
+ "type": "error",
1460
+ "name": "Staking__NoOneToSlash",
1461
+ "inputs": [
1462
+ {
1463
+ "name": "",
1464
+ "type": "address",
1465
+ "internalType": "address"
1466
+ }
1467
+ ]
1468
+ },
1469
+ {
1470
+ "type": "error",
1471
+ "name": "Staking__NotExiting",
1472
+ "inputs": [
1473
+ {
1474
+ "name": "",
1475
+ "type": "address",
1476
+ "internalType": "address"
1477
+ }
1478
+ ]
1479
+ },
1480
+ {
1481
+ "type": "error",
1482
+ "name": "Staking__NotSlasher",
1483
+ "inputs": [
1484
+ {
1485
+ "name": "",
1486
+ "type": "address",
1487
+ "internalType": "address"
1488
+ },
1489
+ {
1490
+ "name": "",
1491
+ "type": "address",
1492
+ "internalType": "address"
1493
+ }
1494
+ ]
1495
+ },
1496
+ {
1497
+ "type": "error",
1498
+ "name": "Staking__NotWithdrawer",
1499
+ "inputs": [
1500
+ {
1501
+ "name": "",
1502
+ "type": "address",
1503
+ "internalType": "address"
1504
+ },
1505
+ {
1506
+ "name": "",
1507
+ "type": "address",
1508
+ "internalType": "address"
1509
+ }
1510
+ ]
1511
+ },
1512
+ {
1513
+ "type": "error",
1514
+ "name": "Staking__NothingToExit",
1515
+ "inputs": [
1516
+ {
1517
+ "name": "",
1518
+ "type": "address",
1519
+ "internalType": "address"
1520
+ }
1521
+ ]
1522
+ },
1523
+ {
1524
+ "type": "error",
1525
+ "name": "Staking__WithdrawalNotUnlockedYet",
1526
+ "inputs": [
1527
+ {
1528
+ "name": "",
1529
+ "type": "uint256",
1530
+ "internalType": "Timestamp"
1531
+ },
1532
+ {
1533
+ "name": "",
1534
+ "type": "uint256",
1535
+ "internalType": "Timestamp"
1536
+ }
1537
+ ]
1538
+ },
1539
+ {
1540
+ "type": "event",
1541
+ "name": "VoteCast",
1542
+ "inputs": [
1543
+ {
1544
+ "name": "proposalId",
1545
+ "type": "uint256",
1546
+ "indexed": true,
1547
+ "internalType": "uint256"
1548
+ },
1549
+ {
1550
+ "name": "voter",
1551
+ "type": "address",
1552
+ "indexed": true,
1553
+ "internalType": "address"
1554
+ },
1555
+ {
1556
+ "name": "support",
1557
+ "type": "bool",
1558
+ "indexed": false,
1559
+ "internalType": "bool"
1560
+ },
1561
+ {
1562
+ "name": "amount",
1563
+ "type": "uint256",
1564
+ "indexed": false,
1565
+ "internalType": "uint256"
1566
+ }
1567
+ ],
1568
+ "anonymous": false
1569
+ },
1570
+ {
1571
+ "type": "event",
1572
+ "name": "WithdrawFinalised",
1573
+ "inputs": [
1574
+ {
1575
+ "name": "withdrawalId",
1576
+ "type": "uint256",
1577
+ "indexed": true,
1578
+ "internalType": "uint256"
1579
+ }
1580
+ ],
1581
+ "anonymous": false
1582
+ },
1583
+ {
1584
+ "type": "event",
1585
+ "name": "WithdrawInitiated",
1586
+ "inputs": [
1587
+ {
1588
+ "name": "withdrawalId",
1589
+ "type": "uint256",
1590
+ "indexed": true,
1591
+ "internalType": "uint256"
1592
+ },
1593
+ {
1594
+ "name": "recipient",
1595
+ "type": "address",
1596
+ "indexed": true,
1597
+ "internalType": "address"
1598
+ },
1599
+ {
1600
+ "name": "amount",
1601
+ "type": "uint256",
1602
+ "indexed": false,
1603
+ "internalType": "uint256"
1604
+ }
1605
+ ],
1606
+ "anonymous": false
1607
+ },
1608
+ {
1609
+ "type": "function",
1610
+ "name": "ballots",
1611
+ "inputs": [
1612
+ {
1613
+ "name": "proposalId",
1614
+ "type": "uint256",
1615
+ "internalType": "uint256"
1616
+ },
1617
+ {
1618
+ "name": "user",
1619
+ "type": "address",
1620
+ "internalType": "address"
1621
+ }
1622
+ ],
1623
+ "outputs": [
1624
+ {
1625
+ "name": "yea",
1626
+ "type": "uint256",
1627
+ "internalType": "uint256"
1628
+ },
1629
+ {
1630
+ "name": "nea",
1631
+ "type": "uint256",
1632
+ "internalType": "uint256"
1633
+ }
1634
+ ],
1635
+ "stateMutability": "view"
1636
+ },
1637
+ {
1638
+ "type": "function",
1639
+ "name": "deposit",
1640
+ "inputs": [
1641
+ {
1642
+ "name": "_onBehalfOf",
1643
+ "type": "address",
1644
+ "internalType": "address"
1645
+ },
1646
+ {
1647
+ "name": "_amount",
1648
+ "type": "uint256",
1649
+ "internalType": "uint256"
1650
+ }
1651
+ ],
1652
+ "outputs": [],
1653
+ "stateMutability": "nonpayable"
1654
+ },
1655
+ {
1656
+ "type": "function",
1657
+ "name": "dropProposal",
1658
+ "inputs": [
1659
+ {
1660
+ "name": "_proposalId",
1661
+ "type": "uint256",
1662
+ "internalType": "uint256"
1663
+ }
1664
+ ],
1665
+ "outputs": [
1666
+ {
1667
+ "name": "",
1668
+ "type": "bool",
1669
+ "internalType": "bool"
1670
+ }
1671
+ ],
1672
+ "stateMutability": "nonpayable"
1673
+ },
1674
+ {
1675
+ "type": "function",
1676
+ "name": "execute",
1677
+ "inputs": [
1678
+ {
1679
+ "name": "_proposalId",
1680
+ "type": "uint256",
1681
+ "internalType": "uint256"
1682
+ }
1683
+ ],
1684
+ "outputs": [
1685
+ {
1686
+ "name": "",
1687
+ "type": "bool",
1688
+ "internalType": "bool"
1689
+ }
1690
+ ],
1691
+ "stateMutability": "nonpayable"
1692
+ },
1693
+ {
1694
+ "type": "function",
1695
+ "name": "finaliseWithdraw",
1696
+ "inputs": [
1697
+ {
1698
+ "name": "_withdrawalId",
1699
+ "type": "uint256",
1700
+ "internalType": "uint256"
1701
+ }
1702
+ ],
1703
+ "outputs": [],
1704
+ "stateMutability": "nonpayable"
1705
+ },
1706
+ {
1707
+ "type": "function",
1708
+ "name": "getConfiguration",
1709
+ "inputs": [],
1710
+ "outputs": [
1711
+ {
1712
+ "name": "",
1713
+ "type": "tuple",
1714
+ "internalType": "struct DataStructures.Configuration",
1715
+ "components": [
1716
+ {
1717
+ "name": "proposeConfig",
1718
+ "type": "tuple",
1719
+ "internalType": "struct DataStructures.ProposeConfiguration",
1720
+ "components": [
1721
+ {
1722
+ "name": "lockDelay",
1723
+ "type": "uint256",
1724
+ "internalType": "Timestamp"
1725
+ },
1726
+ {
1727
+ "name": "lockAmount",
1728
+ "type": "uint256",
1729
+ "internalType": "uint256"
1730
+ }
1731
+ ]
1732
+ },
1733
+ {
1734
+ "name": "votingDelay",
1735
+ "type": "uint256",
1736
+ "internalType": "Timestamp"
1737
+ },
1738
+ {
1739
+ "name": "votingDuration",
1740
+ "type": "uint256",
1741
+ "internalType": "Timestamp"
1742
+ },
1743
+ {
1744
+ "name": "executionDelay",
1745
+ "type": "uint256",
1746
+ "internalType": "Timestamp"
1747
+ },
1748
+ {
1749
+ "name": "gracePeriod",
1750
+ "type": "uint256",
1751
+ "internalType": "Timestamp"
1752
+ },
1753
+ {
1754
+ "name": "quorum",
1755
+ "type": "uint256",
1756
+ "internalType": "uint256"
1757
+ },
1758
+ {
1759
+ "name": "voteDifferential",
1760
+ "type": "uint256",
1761
+ "internalType": "uint256"
1762
+ },
1763
+ {
1764
+ "name": "minimumVotes",
1765
+ "type": "uint256",
1766
+ "internalType": "uint256"
1767
+ }
1768
+ ]
1769
+ }
1770
+ ],
1771
+ "stateMutability": "view"
1772
+ },
1773
+ {
1774
+ "type": "function",
1775
+ "name": "getProposal",
1776
+ "inputs": [
1777
+ {
1778
+ "name": "_proposalId",
1779
+ "type": "uint256",
1780
+ "internalType": "uint256"
1781
+ }
1782
+ ],
1783
+ "outputs": [
1784
+ {
1785
+ "name": "",
1786
+ "type": "tuple",
1787
+ "internalType": "struct DataStructures.Proposal",
1788
+ "components": [
1789
+ {
1790
+ "name": "config",
1791
+ "type": "tuple",
1792
+ "internalType": "struct DataStructures.Configuration",
1793
+ "components": [
1794
+ {
1795
+ "name": "proposeConfig",
1796
+ "type": "tuple",
1797
+ "internalType": "struct DataStructures.ProposeConfiguration",
1798
+ "components": [
1799
+ {
1800
+ "name": "lockDelay",
1801
+ "type": "uint256",
1802
+ "internalType": "Timestamp"
1803
+ },
1804
+ {
1805
+ "name": "lockAmount",
1806
+ "type": "uint256",
1807
+ "internalType": "uint256"
1808
+ }
1809
+ ]
1810
+ },
1811
+ {
1812
+ "name": "votingDelay",
1813
+ "type": "uint256",
1814
+ "internalType": "Timestamp"
1815
+ },
1816
+ {
1817
+ "name": "votingDuration",
1818
+ "type": "uint256",
1819
+ "internalType": "Timestamp"
1820
+ },
1821
+ {
1822
+ "name": "executionDelay",
1823
+ "type": "uint256",
1824
+ "internalType": "Timestamp"
1825
+ },
1826
+ {
1827
+ "name": "gracePeriod",
1828
+ "type": "uint256",
1829
+ "internalType": "Timestamp"
1830
+ },
1831
+ {
1832
+ "name": "quorum",
1833
+ "type": "uint256",
1834
+ "internalType": "uint256"
1835
+ },
1836
+ {
1837
+ "name": "voteDifferential",
1838
+ "type": "uint256",
1839
+ "internalType": "uint256"
1840
+ },
1841
+ {
1842
+ "name": "minimumVotes",
1843
+ "type": "uint256",
1844
+ "internalType": "uint256"
1845
+ }
1846
+ ]
1847
+ },
1848
+ {
1849
+ "name": "state",
1850
+ "type": "uint8",
1851
+ "internalType": "enum DataStructures.ProposalState"
1852
+ },
1853
+ {
1854
+ "name": "payload",
1855
+ "type": "address",
1856
+ "internalType": "contract IPayload"
1857
+ },
1858
+ {
1859
+ "name": "governanceProposer",
1860
+ "type": "address",
1861
+ "internalType": "address"
1862
+ },
1863
+ {
1864
+ "name": "creation",
1865
+ "type": "uint256",
1866
+ "internalType": "Timestamp"
1867
+ },
1868
+ {
1869
+ "name": "summedBallot",
1870
+ "type": "tuple",
1871
+ "internalType": "struct DataStructures.Ballot",
1872
+ "components": [
1873
+ {
1874
+ "name": "yea",
1875
+ "type": "uint256",
1876
+ "internalType": "uint256"
1877
+ },
1878
+ {
1879
+ "name": "nea",
1880
+ "type": "uint256",
1881
+ "internalType": "uint256"
1882
+ }
1883
+ ]
1884
+ }
1885
+ ]
1886
+ }
1887
+ ],
1888
+ "stateMutability": "view"
1889
+ },
1890
+ {
1891
+ "type": "function",
1892
+ "name": "getProposalState",
1893
+ "inputs": [
1894
+ {
1895
+ "name": "_proposalId",
1896
+ "type": "uint256",
1897
+ "internalType": "uint256"
1898
+ }
1899
+ ],
1900
+ "outputs": [
1901
+ {
1902
+ "name": "",
1903
+ "type": "uint8",
1904
+ "internalType": "enum DataStructures.ProposalState"
1905
+ }
1906
+ ],
1907
+ "stateMutability": "view"
1908
+ },
1909
+ {
1910
+ "type": "function",
1911
+ "name": "getWithdrawal",
1912
+ "inputs": [
1913
+ {
1914
+ "name": "_withdrawalId",
1915
+ "type": "uint256",
1916
+ "internalType": "uint256"
1917
+ }
1918
+ ],
1919
+ "outputs": [
1920
+ {
1921
+ "name": "",
1922
+ "type": "tuple",
1923
+ "internalType": "struct DataStructures.Withdrawal",
1924
+ "components": [
1925
+ {
1926
+ "name": "amount",
1927
+ "type": "uint256",
1928
+ "internalType": "uint256"
1929
+ },
1930
+ {
1931
+ "name": "unlocksAt",
1932
+ "type": "uint256",
1933
+ "internalType": "Timestamp"
1934
+ },
1935
+ {
1936
+ "name": "recipient",
1937
+ "type": "address",
1938
+ "internalType": "address"
1939
+ },
1940
+ {
1941
+ "name": "claimed",
1942
+ "type": "bool",
1943
+ "internalType": "bool"
1944
+ }
1945
+ ]
1946
+ }
1947
+ ],
1948
+ "stateMutability": "view"
1949
+ },
1950
+ {
1951
+ "type": "function",
1952
+ "name": "governanceProposer",
1953
+ "inputs": [],
1954
+ "outputs": [
1955
+ {
1956
+ "name": "",
1957
+ "type": "address",
1958
+ "internalType": "address"
1959
+ }
1960
+ ],
1961
+ "stateMutability": "view"
1962
+ },
1963
+ {
1964
+ "type": "function",
1965
+ "name": "initiateWithdraw",
873
1966
  "inputs": [
874
1967
  {
875
- "name": "name",
876
- "type": "string",
877
- "internalType": "string"
1968
+ "name": "_to",
1969
+ "type": "address",
1970
+ "internalType": "address"
1971
+ },
1972
+ {
1973
+ "name": "_amount",
1974
+ "type": "uint256",
1975
+ "internalType": "uint256"
878
1976
  }
879
- ]
1977
+ ],
1978
+ "outputs": [
1979
+ {
1980
+ "name": "",
1981
+ "type": "uint256",
1982
+ "internalType": "uint256"
1983
+ }
1984
+ ],
1985
+ "stateMutability": "nonpayable"
880
1986
  },
881
1987
  {
882
- "type": "error",
883
- "name": "Governance__InsufficientPower",
1988
+ "type": "function",
1989
+ "name": "powerAt",
884
1990
  "inputs": [
885
1991
  {
886
- "name": "voter",
1992
+ "name": "_owner",
887
1993
  "type": "address",
888
1994
  "internalType": "address"
889
1995
  },
890
1996
  {
891
- "name": "have",
1997
+ "name": "_ts",
892
1998
  "type": "uint256",
893
- "internalType": "uint256"
894
- },
1999
+ "internalType": "Timestamp"
2000
+ }
2001
+ ],
2002
+ "outputs": [
895
2003
  {
896
- "name": "required",
2004
+ "name": "",
897
2005
  "type": "uint256",
898
2006
  "internalType": "uint256"
899
2007
  }
900
- ]
2008
+ ],
2009
+ "stateMutability": "view"
901
2010
  },
902
2011
  {
903
- "type": "error",
904
- "name": "Governance__NoCheckpointsFound",
905
- "inputs": []
2012
+ "type": "function",
2013
+ "name": "proposalCount",
2014
+ "inputs": [],
2015
+ "outputs": [
2016
+ {
2017
+ "name": "",
2018
+ "type": "uint256",
2019
+ "internalType": "uint256"
2020
+ }
2021
+ ],
2022
+ "stateMutability": "view"
906
2023
  },
907
2024
  {
908
- "type": "error",
909
- "name": "Governance__ProposalAlreadyDropped",
910
- "inputs": []
2025
+ "type": "function",
2026
+ "name": "propose",
2027
+ "inputs": [
2028
+ {
2029
+ "name": "_proposal",
2030
+ "type": "address",
2031
+ "internalType": "contract IPayload"
2032
+ }
2033
+ ],
2034
+ "outputs": [
2035
+ {
2036
+ "name": "",
2037
+ "type": "bool",
2038
+ "internalType": "bool"
2039
+ }
2040
+ ],
2041
+ "stateMutability": "nonpayable"
911
2042
  },
912
2043
  {
913
- "type": "error",
914
- "name": "Governance__ProposalCannotBeDropped",
915
- "inputs": []
2044
+ "type": "function",
2045
+ "name": "proposeWithLock",
2046
+ "inputs": [
2047
+ {
2048
+ "name": "_proposal",
2049
+ "type": "address",
2050
+ "internalType": "contract IPayload"
2051
+ },
2052
+ {
2053
+ "name": "_to",
2054
+ "type": "address",
2055
+ "internalType": "address"
2056
+ }
2057
+ ],
2058
+ "outputs": [
2059
+ {
2060
+ "name": "",
2061
+ "type": "bool",
2062
+ "internalType": "bool"
2063
+ }
2064
+ ],
2065
+ "stateMutability": "nonpayable"
916
2066
  },
917
2067
  {
918
- "type": "error",
919
- "name": "Governance__ProposalDoesNotExists",
2068
+ "type": "function",
2069
+ "name": "totalPowerAt",
920
2070
  "inputs": [
921
2071
  {
922
- "name": "proposalId",
2072
+ "name": "_ts",
2073
+ "type": "uint256",
2074
+ "internalType": "Timestamp"
2075
+ }
2076
+ ],
2077
+ "outputs": [
2078
+ {
2079
+ "name": "",
923
2080
  "type": "uint256",
924
2081
  "internalType": "uint256"
925
2082
  }
926
- ]
927
- },
928
- {
929
- "type": "error",
930
- "name": "Governance__ProposalNotActive",
931
- "inputs": []
932
- },
933
- {
934
- "type": "error",
935
- "name": "Governance__ProposalNotExecutable",
936
- "inputs": []
2083
+ ],
2084
+ "stateMutability": "view"
937
2085
  },
938
2086
  {
939
- "type": "error",
940
- "name": "Governance__UserLib__NotInPast",
941
- "inputs": []
2087
+ "type": "function",
2088
+ "name": "updateConfiguration",
2089
+ "inputs": [
2090
+ {
2091
+ "name": "_configuration",
2092
+ "type": "tuple",
2093
+ "internalType": "struct DataStructures.Configuration",
2094
+ "components": [
2095
+ {
2096
+ "name": "proposeConfig",
2097
+ "type": "tuple",
2098
+ "internalType": "struct DataStructures.ProposeConfiguration",
2099
+ "components": [
2100
+ {
2101
+ "name": "lockDelay",
2102
+ "type": "uint256",
2103
+ "internalType": "Timestamp"
2104
+ },
2105
+ {
2106
+ "name": "lockAmount",
2107
+ "type": "uint256",
2108
+ "internalType": "uint256"
2109
+ }
2110
+ ]
2111
+ },
2112
+ {
2113
+ "name": "votingDelay",
2114
+ "type": "uint256",
2115
+ "internalType": "Timestamp"
2116
+ },
2117
+ {
2118
+ "name": "votingDuration",
2119
+ "type": "uint256",
2120
+ "internalType": "Timestamp"
2121
+ },
2122
+ {
2123
+ "name": "executionDelay",
2124
+ "type": "uint256",
2125
+ "internalType": "Timestamp"
2126
+ },
2127
+ {
2128
+ "name": "gracePeriod",
2129
+ "type": "uint256",
2130
+ "internalType": "Timestamp"
2131
+ },
2132
+ {
2133
+ "name": "quorum",
2134
+ "type": "uint256",
2135
+ "internalType": "uint256"
2136
+ },
2137
+ {
2138
+ "name": "voteDifferential",
2139
+ "type": "uint256",
2140
+ "internalType": "uint256"
2141
+ },
2142
+ {
2143
+ "name": "minimumVotes",
2144
+ "type": "uint256",
2145
+ "internalType": "uint256"
2146
+ }
2147
+ ]
2148
+ }
2149
+ ],
2150
+ "outputs": [],
2151
+ "stateMutability": "nonpayable"
942
2152
  },
943
2153
  {
944
- "type": "error",
945
- "name": "Governance__WithdrawalAlreadyclaimed",
946
- "inputs": []
2154
+ "type": "function",
2155
+ "name": "updateGovernanceProposer",
2156
+ "inputs": [
2157
+ {
2158
+ "name": "_governanceProposer",
2159
+ "type": "address",
2160
+ "internalType": "address"
2161
+ }
2162
+ ],
2163
+ "outputs": [],
2164
+ "stateMutability": "nonpayable"
947
2165
  },
948
2166
  {
949
- "type": "error",
950
- "name": "Governance__WithdrawalNotUnlockedYet",
2167
+ "type": "function",
2168
+ "name": "vote",
951
2169
  "inputs": [
952
2170
  {
953
- "name": "currentTime",
2171
+ "name": "_proposalId",
954
2172
  "type": "uint256",
955
- "internalType": "Timestamp"
2173
+ "internalType": "uint256"
956
2174
  },
957
2175
  {
958
- "name": "unlocksAt",
2176
+ "name": "_amount",
959
2177
  "type": "uint256",
960
- "internalType": "Timestamp"
2178
+ "internalType": "uint256"
2179
+ },
2180
+ {
2181
+ "name": "_support",
2182
+ "type": "bool",
2183
+ "internalType": "bool"
961
2184
  }
962
- ]
2185
+ ],
2186
+ "outputs": [
2187
+ {
2188
+ "name": "",
2189
+ "type": "bool",
2190
+ "internalType": "bool"
2191
+ }
2192
+ ],
2193
+ "stateMutability": "nonpayable"
963
2194
  },
964
2195
  {
965
- "type": "error",
966
- "name": "SafeERC20FailedOperation",
967
- "inputs": [
2196
+ "type": "function",
2197
+ "name": "withdrawalCount",
2198
+ "inputs": [],
2199
+ "outputs": [
968
2200
  {
969
- "name": "token",
970
- "type": "address",
971
- "internalType": "address"
2201
+ "name": "",
2202
+ "type": "uint256",
2203
+ "internalType": "uint256"
972
2204
  }
973
- ]
2205
+ ],
2206
+ "stateMutability": "view"
974
2207
  }
975
2208
  ] as const;