@aztec/l1-artifacts 0.47.0 → 0.47.1
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.
- package/dest/AvailabilityOracleBytecode.d.ts +1 -1
- package/dest/AvailabilityOracleBytecode.js +1 -1
- package/dest/GasPortalBytecode.d.ts +1 -1
- package/dest/GasPortalBytecode.js +1 -1
- package/dest/InboxBytecode.d.ts +1 -1
- package/dest/InboxBytecode.js +1 -1
- package/dest/OutboxBytecode.d.ts +1 -1
- package/dest/OutboxBytecode.js +1 -1
- package/dest/RegistryBytecode.d.ts +1 -1
- package/dest/RegistryBytecode.js +1 -1
- package/dest/RollupAbi.d.ts +248 -26
- package/dest/RollupAbi.d.ts.map +1 -1
- package/dest/RollupAbi.js +320 -32
- package/dest/RollupBytecode.d.ts +1 -1
- package/dest/RollupBytecode.d.ts.map +1 -1
- package/dest/RollupBytecode.js +2 -2
- package/dest/TokenPortalBytecode.d.ts +1 -1
- package/dest/TokenPortalBytecode.js +1 -1
- package/dest/UniswapPortalBytecode.d.ts +1 -1
- package/dest/UniswapPortalBytecode.js +1 -1
- package/generated/AvailabilityOracleBytecode.ts +1 -1
- package/generated/GasPortalBytecode.ts +1 -1
- package/generated/InboxBytecode.ts +1 -1
- package/generated/OutboxBytecode.ts +1 -1
- package/generated/RegistryBytecode.ts +1 -1
- package/generated/RollupAbi.ts +319 -31
- package/generated/RollupBytecode.ts +1 -1
- package/generated/TokenPortalBytecode.ts +1 -1
- package/generated/UniswapPortalBytecode.ts +1 -1
- package/package.json +1 -1
package/dest/RollupAbi.d.ts
CHANGED
|
@@ -31,6 +31,16 @@ export declare const RollupAbi: readonly [{
|
|
|
31
31
|
readonly internalType: "contract IAvailabilityOracle";
|
|
32
32
|
}];
|
|
33
33
|
readonly stateMutability: "view";
|
|
34
|
+
}, {
|
|
35
|
+
readonly type: "function";
|
|
36
|
+
readonly name: "EPOCH_SIZE";
|
|
37
|
+
readonly inputs: readonly [];
|
|
38
|
+
readonly outputs: readonly [{
|
|
39
|
+
readonly name: "";
|
|
40
|
+
readonly type: "uint256";
|
|
41
|
+
readonly internalType: "uint256";
|
|
42
|
+
}];
|
|
43
|
+
readonly stateMutability: "view";
|
|
34
44
|
}, {
|
|
35
45
|
readonly type: "function";
|
|
36
46
|
readonly name: "GAS_TOKEN";
|
|
@@ -41,6 +51,16 @@ export declare const RollupAbi: readonly [{
|
|
|
41
51
|
readonly internalType: "contract IERC20";
|
|
42
52
|
}];
|
|
43
53
|
readonly stateMutability: "view";
|
|
54
|
+
}, {
|
|
55
|
+
readonly type: "function";
|
|
56
|
+
readonly name: "GENESIS_TIME";
|
|
57
|
+
readonly inputs: readonly [];
|
|
58
|
+
readonly outputs: readonly [{
|
|
59
|
+
readonly name: "";
|
|
60
|
+
readonly type: "uint256";
|
|
61
|
+
readonly internalType: "uint256";
|
|
62
|
+
}];
|
|
63
|
+
readonly stateMutability: "view";
|
|
44
64
|
}, {
|
|
45
65
|
readonly type: "function";
|
|
46
66
|
readonly name: "INBOX";
|
|
@@ -71,6 +91,26 @@ export declare const RollupAbi: readonly [{
|
|
|
71
91
|
readonly internalType: "contract IRegistry";
|
|
72
92
|
}];
|
|
73
93
|
readonly stateMutability: "view";
|
|
94
|
+
}, {
|
|
95
|
+
readonly type: "function";
|
|
96
|
+
readonly name: "SLOT_SIZE";
|
|
97
|
+
readonly inputs: readonly [];
|
|
98
|
+
readonly outputs: readonly [{
|
|
99
|
+
readonly name: "";
|
|
100
|
+
readonly type: "uint256";
|
|
101
|
+
readonly internalType: "uint256";
|
|
102
|
+
}];
|
|
103
|
+
readonly stateMutability: "view";
|
|
104
|
+
}, {
|
|
105
|
+
readonly type: "function";
|
|
106
|
+
readonly name: "TARGET_COMMITTEE_SIZE";
|
|
107
|
+
readonly inputs: readonly [];
|
|
108
|
+
readonly outputs: readonly [{
|
|
109
|
+
readonly name: "";
|
|
110
|
+
readonly type: "uint256";
|
|
111
|
+
readonly internalType: "uint256";
|
|
112
|
+
}];
|
|
113
|
+
readonly stateMutability: "view";
|
|
74
114
|
}, {
|
|
75
115
|
readonly type: "function";
|
|
76
116
|
readonly name: "VERSION";
|
|
@@ -83,9 +123,9 @@ export declare const RollupAbi: readonly [{
|
|
|
83
123
|
readonly stateMutability: "view";
|
|
84
124
|
}, {
|
|
85
125
|
readonly type: "function";
|
|
86
|
-
readonly name: "
|
|
126
|
+
readonly name: "addValidator";
|
|
87
127
|
readonly inputs: readonly [{
|
|
88
|
-
readonly name: "
|
|
128
|
+
readonly name: "_validator";
|
|
89
129
|
readonly type: "address";
|
|
90
130
|
readonly internalType: "address";
|
|
91
131
|
}];
|
|
@@ -103,7 +143,69 @@ export declare const RollupAbi: readonly [{
|
|
|
103
143
|
readonly stateMutability: "view";
|
|
104
144
|
}, {
|
|
105
145
|
readonly type: "function";
|
|
106
|
-
readonly name: "
|
|
146
|
+
readonly name: "epochs";
|
|
147
|
+
readonly inputs: readonly [{
|
|
148
|
+
readonly name: "epochNumber";
|
|
149
|
+
readonly type: "uint256";
|
|
150
|
+
readonly internalType: "uint256";
|
|
151
|
+
}];
|
|
152
|
+
readonly outputs: readonly [{
|
|
153
|
+
readonly name: "sampleSeed";
|
|
154
|
+
readonly type: "uint256";
|
|
155
|
+
readonly internalType: "uint256";
|
|
156
|
+
}, {
|
|
157
|
+
readonly name: "nextSeed";
|
|
158
|
+
readonly type: "uint256";
|
|
159
|
+
readonly internalType: "uint256";
|
|
160
|
+
}];
|
|
161
|
+
readonly stateMutability: "view";
|
|
162
|
+
}, {
|
|
163
|
+
readonly type: "function";
|
|
164
|
+
readonly name: "getCurrentEpoch";
|
|
165
|
+
readonly inputs: readonly [];
|
|
166
|
+
readonly outputs: readonly [{
|
|
167
|
+
readonly name: "";
|
|
168
|
+
readonly type: "uint256";
|
|
169
|
+
readonly internalType: "uint256";
|
|
170
|
+
}];
|
|
171
|
+
readonly stateMutability: "view";
|
|
172
|
+
}, {
|
|
173
|
+
readonly type: "function";
|
|
174
|
+
readonly name: "getCurrentProposer";
|
|
175
|
+
readonly inputs: readonly [];
|
|
176
|
+
readonly outputs: readonly [{
|
|
177
|
+
readonly name: "";
|
|
178
|
+
readonly type: "address";
|
|
179
|
+
readonly internalType: "address";
|
|
180
|
+
}];
|
|
181
|
+
readonly stateMutability: "view";
|
|
182
|
+
}, {
|
|
183
|
+
readonly type: "function";
|
|
184
|
+
readonly name: "getCurrentSlot";
|
|
185
|
+
readonly inputs: readonly [];
|
|
186
|
+
readonly outputs: readonly [{
|
|
187
|
+
readonly name: "";
|
|
188
|
+
readonly type: "uint256";
|
|
189
|
+
readonly internalType: "uint256";
|
|
190
|
+
}];
|
|
191
|
+
readonly stateMutability: "view";
|
|
192
|
+
}, {
|
|
193
|
+
readonly type: "function";
|
|
194
|
+
readonly name: "getEpochCommittee";
|
|
195
|
+
readonly inputs: readonly [{
|
|
196
|
+
readonly name: "_epoch";
|
|
197
|
+
readonly type: "uint256";
|
|
198
|
+
readonly internalType: "uint256";
|
|
199
|
+
}];
|
|
200
|
+
readonly outputs: readonly [{
|
|
201
|
+
readonly name: "";
|
|
202
|
+
readonly type: "address[]";
|
|
203
|
+
readonly internalType: "address[]";
|
|
204
|
+
}];
|
|
205
|
+
readonly stateMutability: "view";
|
|
206
|
+
}, {
|
|
207
|
+
readonly type: "function";
|
|
208
|
+
readonly name: "getValidators";
|
|
107
209
|
readonly inputs: readonly [];
|
|
108
210
|
readonly outputs: readonly [{
|
|
109
211
|
readonly name: "";
|
|
@@ -131,6 +233,30 @@ export declare const RollupAbi: readonly [{
|
|
|
131
233
|
readonly internalType: "uint256";
|
|
132
234
|
}];
|
|
133
235
|
readonly stateMutability: "view";
|
|
236
|
+
}, {
|
|
237
|
+
readonly type: "function";
|
|
238
|
+
readonly name: "owner";
|
|
239
|
+
readonly inputs: readonly [];
|
|
240
|
+
readonly outputs: readonly [{
|
|
241
|
+
readonly name: "";
|
|
242
|
+
readonly type: "address";
|
|
243
|
+
readonly internalType: "address";
|
|
244
|
+
}];
|
|
245
|
+
readonly stateMutability: "view";
|
|
246
|
+
}, {
|
|
247
|
+
readonly type: "function";
|
|
248
|
+
readonly name: "process";
|
|
249
|
+
readonly inputs: readonly [{
|
|
250
|
+
readonly name: "_header";
|
|
251
|
+
readonly type: "bytes";
|
|
252
|
+
readonly internalType: "bytes";
|
|
253
|
+
}, {
|
|
254
|
+
readonly name: "_archive";
|
|
255
|
+
readonly type: "bytes32";
|
|
256
|
+
readonly internalType: "bytes32";
|
|
257
|
+
}];
|
|
258
|
+
readonly outputs: readonly [];
|
|
259
|
+
readonly stateMutability: "nonpayable";
|
|
134
260
|
}, {
|
|
135
261
|
readonly type: "function";
|
|
136
262
|
readonly name: "process";
|
|
@@ -142,19 +268,46 @@ export declare const RollupAbi: readonly [{
|
|
|
142
268
|
readonly name: "_archive";
|
|
143
269
|
readonly type: "bytes32";
|
|
144
270
|
readonly internalType: "bytes32";
|
|
271
|
+
}, {
|
|
272
|
+
readonly name: "_signatures";
|
|
273
|
+
readonly type: "tuple[]";
|
|
274
|
+
readonly internalType: "struct SignatureLib.Signature[]";
|
|
275
|
+
readonly components: readonly [{
|
|
276
|
+
readonly name: "isEmpty";
|
|
277
|
+
readonly type: "bool";
|
|
278
|
+
readonly internalType: "bool";
|
|
279
|
+
}, {
|
|
280
|
+
readonly name: "v";
|
|
281
|
+
readonly type: "uint8";
|
|
282
|
+
readonly internalType: "uint8";
|
|
283
|
+
}, {
|
|
284
|
+
readonly name: "r";
|
|
285
|
+
readonly type: "bytes32";
|
|
286
|
+
readonly internalType: "bytes32";
|
|
287
|
+
}, {
|
|
288
|
+
readonly name: "s";
|
|
289
|
+
readonly type: "bytes32";
|
|
290
|
+
readonly internalType: "bytes32";
|
|
291
|
+
}];
|
|
145
292
|
}];
|
|
146
293
|
readonly outputs: readonly [];
|
|
147
294
|
readonly stateMutability: "nonpayable";
|
|
148
295
|
}, {
|
|
149
296
|
readonly type: "function";
|
|
150
|
-
readonly name: "
|
|
297
|
+
readonly name: "removeValidator";
|
|
151
298
|
readonly inputs: readonly [{
|
|
152
|
-
readonly name: "
|
|
299
|
+
readonly name: "_validator";
|
|
153
300
|
readonly type: "address";
|
|
154
301
|
readonly internalType: "address";
|
|
155
302
|
}];
|
|
156
303
|
readonly outputs: readonly [];
|
|
157
304
|
readonly stateMutability: "nonpayable";
|
|
305
|
+
}, {
|
|
306
|
+
readonly type: "function";
|
|
307
|
+
readonly name: "renounceOwnership";
|
|
308
|
+
readonly inputs: readonly [];
|
|
309
|
+
readonly outputs: readonly [];
|
|
310
|
+
readonly stateMutability: "nonpayable";
|
|
158
311
|
}, {
|
|
159
312
|
readonly type: "function";
|
|
160
313
|
readonly name: "setVerifier";
|
|
@@ -175,6 +328,12 @@ export declare const RollupAbi: readonly [{
|
|
|
175
328
|
}];
|
|
176
329
|
readonly outputs: readonly [];
|
|
177
330
|
readonly stateMutability: "nonpayable";
|
|
331
|
+
}, {
|
|
332
|
+
readonly type: "function";
|
|
333
|
+
readonly name: "setupEpoch";
|
|
334
|
+
readonly inputs: readonly [];
|
|
335
|
+
readonly outputs: readonly [];
|
|
336
|
+
readonly stateMutability: "nonpayable";
|
|
178
337
|
}, {
|
|
179
338
|
readonly type: "function";
|
|
180
339
|
readonly name: "submitProof";
|
|
@@ -197,6 +356,16 @@ export declare const RollupAbi: readonly [{
|
|
|
197
356
|
}];
|
|
198
357
|
readonly outputs: readonly [];
|
|
199
358
|
readonly stateMutability: "nonpayable";
|
|
359
|
+
}, {
|
|
360
|
+
readonly type: "function";
|
|
361
|
+
readonly name: "transferOwnership";
|
|
362
|
+
readonly inputs: readonly [{
|
|
363
|
+
readonly name: "newOwner";
|
|
364
|
+
readonly type: "address";
|
|
365
|
+
readonly internalType: "address";
|
|
366
|
+
}];
|
|
367
|
+
readonly outputs: readonly [];
|
|
368
|
+
readonly stateMutability: "nonpayable";
|
|
200
369
|
}, {
|
|
201
370
|
readonly type: "function";
|
|
202
371
|
readonly name: "verifier";
|
|
@@ -218,22 +387,18 @@ export declare const RollupAbi: readonly [{
|
|
|
218
387
|
}];
|
|
219
388
|
readonly stateMutability: "view";
|
|
220
389
|
}, {
|
|
221
|
-
readonly type: "
|
|
222
|
-
readonly name: "
|
|
390
|
+
readonly type: "event";
|
|
391
|
+
readonly name: "L2BlockProcessed";
|
|
223
392
|
readonly inputs: readonly [{
|
|
224
393
|
readonly name: "blockNumber";
|
|
225
394
|
readonly type: "uint256";
|
|
395
|
+
readonly indexed: true;
|
|
226
396
|
readonly internalType: "uint256";
|
|
227
397
|
}];
|
|
228
|
-
readonly
|
|
229
|
-
readonly name: "";
|
|
230
|
-
readonly type: "address";
|
|
231
|
-
readonly internalType: "address";
|
|
232
|
-
}];
|
|
233
|
-
readonly stateMutability: "view";
|
|
398
|
+
readonly anonymous: false;
|
|
234
399
|
}, {
|
|
235
400
|
readonly type: "event";
|
|
236
|
-
readonly name: "
|
|
401
|
+
readonly name: "L2ProofVerified";
|
|
237
402
|
readonly inputs: readonly [{
|
|
238
403
|
readonly name: "blockNumber";
|
|
239
404
|
readonly type: "uint256";
|
|
@@ -243,12 +408,17 @@ export declare const RollupAbi: readonly [{
|
|
|
243
408
|
readonly anonymous: false;
|
|
244
409
|
}, {
|
|
245
410
|
readonly type: "event";
|
|
246
|
-
readonly name: "
|
|
411
|
+
readonly name: "OwnershipTransferred";
|
|
247
412
|
readonly inputs: readonly [{
|
|
248
|
-
readonly name: "
|
|
249
|
-
readonly type: "
|
|
413
|
+
readonly name: "previousOwner";
|
|
414
|
+
readonly type: "address";
|
|
250
415
|
readonly indexed: true;
|
|
251
|
-
readonly internalType: "
|
|
416
|
+
readonly internalType: "address";
|
|
417
|
+
}, {
|
|
418
|
+
readonly name: "newOwner";
|
|
419
|
+
readonly type: "address";
|
|
420
|
+
readonly indexed: true;
|
|
421
|
+
readonly internalType: "address";
|
|
252
422
|
}];
|
|
253
423
|
readonly anonymous: false;
|
|
254
424
|
}, {
|
|
@@ -263,6 +433,50 @@ export declare const RollupAbi: readonly [{
|
|
|
263
433
|
readonly type: "uint256";
|
|
264
434
|
readonly internalType: "uint256";
|
|
265
435
|
}];
|
|
436
|
+
}, {
|
|
437
|
+
readonly type: "error";
|
|
438
|
+
readonly name: "Leonidas__EpochNotSetup";
|
|
439
|
+
readonly inputs: readonly [];
|
|
440
|
+
}, {
|
|
441
|
+
readonly type: "error";
|
|
442
|
+
readonly name: "Leonidas__InsufficientAttestations";
|
|
443
|
+
readonly inputs: readonly [{
|
|
444
|
+
readonly name: "expected";
|
|
445
|
+
readonly type: "uint256";
|
|
446
|
+
readonly internalType: "uint256";
|
|
447
|
+
}, {
|
|
448
|
+
readonly name: "actual";
|
|
449
|
+
readonly type: "uint256";
|
|
450
|
+
readonly internalType: "uint256";
|
|
451
|
+
}];
|
|
452
|
+
}, {
|
|
453
|
+
readonly type: "error";
|
|
454
|
+
readonly name: "Leonidas__InvalidProposer";
|
|
455
|
+
readonly inputs: readonly [{
|
|
456
|
+
readonly name: "expected";
|
|
457
|
+
readonly type: "address";
|
|
458
|
+
readonly internalType: "address";
|
|
459
|
+
}, {
|
|
460
|
+
readonly name: "actual";
|
|
461
|
+
readonly type: "address";
|
|
462
|
+
readonly internalType: "address";
|
|
463
|
+
}];
|
|
464
|
+
}, {
|
|
465
|
+
readonly type: "error";
|
|
466
|
+
readonly name: "OwnableInvalidOwner";
|
|
467
|
+
readonly inputs: readonly [{
|
|
468
|
+
readonly name: "owner";
|
|
469
|
+
readonly type: "address";
|
|
470
|
+
readonly internalType: "address";
|
|
471
|
+
}];
|
|
472
|
+
}, {
|
|
473
|
+
readonly type: "error";
|
|
474
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
475
|
+
readonly inputs: readonly [{
|
|
476
|
+
readonly name: "account";
|
|
477
|
+
readonly type: "address";
|
|
478
|
+
readonly internalType: "address";
|
|
479
|
+
}];
|
|
266
480
|
}, {
|
|
267
481
|
readonly type: "error";
|
|
268
482
|
readonly name: "Rollup__InvalidArchive";
|
|
@@ -303,14 +517,6 @@ export declare const RollupAbi: readonly [{
|
|
|
303
517
|
readonly type: "error";
|
|
304
518
|
readonly name: "Rollup__InvalidProof";
|
|
305
519
|
readonly inputs: readonly [];
|
|
306
|
-
}, {
|
|
307
|
-
readonly type: "error";
|
|
308
|
-
readonly name: "Rollup__InvalidSequencer";
|
|
309
|
-
readonly inputs: readonly [{
|
|
310
|
-
readonly name: "sequencer";
|
|
311
|
-
readonly type: "address";
|
|
312
|
-
readonly internalType: "address";
|
|
313
|
-
}];
|
|
314
520
|
}, {
|
|
315
521
|
readonly type: "error";
|
|
316
522
|
readonly name: "Rollup__InvalidVersion";
|
|
@@ -339,5 +545,21 @@ export declare const RollupAbi: readonly [{
|
|
|
339
545
|
readonly type: "bytes32";
|
|
340
546
|
readonly internalType: "bytes32";
|
|
341
547
|
}];
|
|
548
|
+
}, {
|
|
549
|
+
readonly type: "error";
|
|
550
|
+
readonly name: "SignatureLib__CannotVerifyEmpty";
|
|
551
|
+
readonly inputs: readonly [];
|
|
552
|
+
}, {
|
|
553
|
+
readonly type: "error";
|
|
554
|
+
readonly name: "SignatureLib__InvalidSignature";
|
|
555
|
+
readonly inputs: readonly [{
|
|
556
|
+
readonly name: "expected";
|
|
557
|
+
readonly type: "address";
|
|
558
|
+
readonly internalType: "address";
|
|
559
|
+
}, {
|
|
560
|
+
readonly name: "recovered";
|
|
561
|
+
readonly type: "address";
|
|
562
|
+
readonly internalType: "address";
|
|
563
|
+
}];
|
|
342
564
|
}];
|
|
343
565
|
//# sourceMappingURL=RollupAbi.d.ts.map
|
package/dest/RollupAbi.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RollupAbi.d.ts","sourceRoot":"","sources":["../generated/RollupAbi.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"RollupAbi.d.ts","sourceRoot":"","sources":["../generated/RollupAbi.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2tBZ,CAAC"}
|