@aztec/l1-artifacts 0.55.1 → 0.57.0
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/FeeJuicePortalAbi.d.ts +14 -14
- package/dest/FeeJuicePortalAbi.d.ts.map +1 -1
- package/dest/FeeJuicePortalAbi.js +18 -19
- package/dest/FeeJuicePortalBytecode.d.ts +1 -1
- package/dest/FeeJuicePortalBytecode.d.ts.map +1 -1
- package/dest/FeeJuicePortalBytecode.js +2 -2
- package/dest/IProofCommitmentEscrowAbi.d.ts +181 -0
- package/dest/IProofCommitmentEscrowAbi.d.ts.map +1 -0
- package/dest/IProofCommitmentEscrowAbi.js +232 -0
- package/dest/IProofCommitmentEscrowBytecode.d.ts +5 -0
- package/dest/IProofCommitmentEscrowBytecode.d.ts.map +1 -0
- package/dest/IProofCommitmentEscrowBytecode.js +5 -0
- package/dest/IVerifierAbi.d.ts +23 -0
- package/dest/IVerifierAbi.d.ts.map +1 -0
- package/dest/IVerifierAbi.js +30 -0
- package/dest/IVerifierBytecode.d.ts +5 -0
- package/dest/IVerifierBytecode.d.ts.map +1 -0
- package/dest/IVerifierBytecode.js +5 -0
- package/dest/InboxAbi.d.ts +10 -0
- package/dest/InboxAbi.d.ts.map +1 -1
- package/dest/InboxAbi.js +14 -1
- package/dest/InboxBytecode.d.ts +1 -1
- package/dest/InboxBytecode.d.ts.map +1 -1
- package/dest/InboxBytecode.js +2 -2
- package/dest/MockVerifierBytecode.d.ts +1 -1
- package/dest/MockVerifierBytecode.d.ts.map +1 -1
- package/dest/MockVerifierBytecode.js +2 -2
- package/dest/OutboxBytecode.d.ts +1 -1
- package/dest/OutboxBytecode.d.ts.map +1 -1
- package/dest/OutboxBytecode.js +2 -2
- package/dest/ProofCommitmentEscrowAbi.d.ts +291 -0
- package/dest/ProofCommitmentEscrowAbi.d.ts.map +1 -0
- package/dest/ProofCommitmentEscrowAbi.js +379 -0
- package/dest/ProofCommitmentEscrowBytecode.d.ts +5 -0
- package/dest/ProofCommitmentEscrowBytecode.d.ts.map +1 -0
- package/dest/ProofCommitmentEscrowBytecode.js +5 -0
- package/dest/RegistryAbi.d.ts +16 -1
- package/dest/RegistryAbi.d.ts.map +1 -1
- package/dest/RegistryAbi.js +21 -2
- package/dest/RegistryBytecode.d.ts +1 -1
- package/dest/RegistryBytecode.d.ts.map +1 -1
- package/dest/RegistryBytecode.js +2 -2
- package/dest/RollupAbi.d.ts +634 -95
- package/dest/RollupAbi.d.ts.map +1 -1
- package/dest/RollupAbi.js +838 -140
- package/dest/RollupBytecode.d.ts +1 -1
- package/dest/RollupBytecode.d.ts.map +1 -1
- package/dest/RollupBytecode.js +2 -2
- package/dest/{PortalERC20Abi.d.ts → TestERC20Abi.d.ts} +3 -3
- package/dest/{PortalERC20Abi.d.ts.map → TestERC20Abi.d.ts.map} +1 -1
- package/dest/{PortalERC20Abi.js → TestERC20Abi.js} +3 -3
- package/{generated/PortalERC20Bytecode.ts → dest/TestERC20Bytecode.d.ts} +3 -2
- package/dest/TestERC20Bytecode.d.ts.map +1 -0
- package/dest/TestERC20Bytecode.js +5 -0
- package/dest/TokenPortalBytecode.d.ts +1 -1
- package/dest/TokenPortalBytecode.d.ts.map +1 -1
- package/dest/TokenPortalBytecode.js +2 -2
- package/dest/UniswapPortalBytecode.d.ts +1 -1
- package/dest/UniswapPortalBytecode.d.ts.map +1 -1
- package/dest/UniswapPortalBytecode.js +2 -2
- package/dest/index.d.ts +8 -2
- package/dest/index.d.ts.map +1 -1
- package/dest/index.js +9 -3
- package/generated/FeeJuicePortalAbi.ts +17 -18
- package/generated/FeeJuicePortalBytecode.ts +1 -1
- package/generated/IProofCommitmentEscrowAbi.ts +231 -0
- package/generated/IProofCommitmentEscrowBytecode.ts +4 -0
- package/generated/IVerifierAbi.ts +29 -0
- package/generated/IVerifierBytecode.ts +4 -0
- package/generated/InboxAbi.ts +13 -0
- package/generated/InboxBytecode.ts +1 -1
- package/generated/MockVerifierBytecode.ts +1 -1
- package/generated/OutboxBytecode.ts +1 -1
- package/generated/ProofCommitmentEscrowAbi.ts +378 -0
- package/generated/ProofCommitmentEscrowBytecode.ts +4 -0
- package/generated/RegistryAbi.ts +20 -1
- package/generated/RegistryBytecode.ts +1 -1
- package/generated/RollupAbi.ts +837 -139
- package/generated/RollupBytecode.ts +1 -1
- package/generated/{PortalERC20Abi.ts → TestERC20Abi.ts} +2 -2
- package/generated/TestERC20Bytecode.ts +4 -0
- package/generated/TokenPortalBytecode.ts +1 -1
- package/generated/UniswapPortalBytecode.ts +1 -1
- package/generated/index.ts +8 -2
- package/package.json +1 -1
- package/dest/PortalERC20Bytecode.d.ts +0 -5
- package/dest/PortalERC20Bytecode.d.ts.map +0 -1
- package/dest/PortalERC20Bytecode.js +0 -5
package/generated/RollupAbi.ts
CHANGED
|
@@ -5,11 +5,6 @@ export const RollupAbi = [
|
|
|
5
5
|
{
|
|
6
6
|
"type": "constructor",
|
|
7
7
|
"inputs": [
|
|
8
|
-
{
|
|
9
|
-
"name": "_registry",
|
|
10
|
-
"type": "address",
|
|
11
|
-
"internalType": "contract IRegistry"
|
|
12
|
-
},
|
|
13
8
|
{
|
|
14
9
|
"name": "_fpcJuicePortal",
|
|
15
10
|
"type": "address",
|
|
@@ -33,6 +28,19 @@ export const RollupAbi = [
|
|
|
33
28
|
],
|
|
34
29
|
"stateMutability": "nonpayable"
|
|
35
30
|
},
|
|
31
|
+
{
|
|
32
|
+
"type": "function",
|
|
33
|
+
"name": "CLAIM_DURATION_IN_L2_SLOTS",
|
|
34
|
+
"inputs": [],
|
|
35
|
+
"outputs": [
|
|
36
|
+
{
|
|
37
|
+
"name": "",
|
|
38
|
+
"type": "uint256",
|
|
39
|
+
"internalType": "uint256"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"stateMutability": "view"
|
|
43
|
+
},
|
|
36
44
|
{
|
|
37
45
|
"type": "function",
|
|
38
46
|
"name": "EPOCH_DURATION",
|
|
@@ -67,7 +75,7 @@ export const RollupAbi = [
|
|
|
67
75
|
{
|
|
68
76
|
"name": "",
|
|
69
77
|
"type": "uint256",
|
|
70
|
-
"internalType": "
|
|
78
|
+
"internalType": "Timestamp"
|
|
71
79
|
}
|
|
72
80
|
],
|
|
73
81
|
"stateMutability": "view"
|
|
@@ -113,20 +121,20 @@ export const RollupAbi = [
|
|
|
113
121
|
},
|
|
114
122
|
{
|
|
115
123
|
"type": "function",
|
|
116
|
-
"name": "
|
|
124
|
+
"name": "PROOF_COMMITMENT_ESCROW",
|
|
117
125
|
"inputs": [],
|
|
118
126
|
"outputs": [
|
|
119
127
|
{
|
|
120
128
|
"name": "",
|
|
121
129
|
"type": "address",
|
|
122
|
-
"internalType": "contract
|
|
130
|
+
"internalType": "contract IProofCommitmentEscrow"
|
|
123
131
|
}
|
|
124
132
|
],
|
|
125
133
|
"stateMutability": "view"
|
|
126
134
|
},
|
|
127
135
|
{
|
|
128
136
|
"type": "function",
|
|
129
|
-
"name": "
|
|
137
|
+
"name": "PROOF_COMMITMENT_MIN_BOND_AMOUNT_IN_TST",
|
|
130
138
|
"inputs": [],
|
|
131
139
|
"outputs": [
|
|
132
140
|
{
|
|
@@ -139,7 +147,7 @@ export const RollupAbi = [
|
|
|
139
147
|
},
|
|
140
148
|
{
|
|
141
149
|
"type": "function",
|
|
142
|
-
"name": "
|
|
150
|
+
"name": "SLOT_DURATION",
|
|
143
151
|
"inputs": [],
|
|
144
152
|
"outputs": [
|
|
145
153
|
{
|
|
@@ -152,7 +160,7 @@ export const RollupAbi = [
|
|
|
152
160
|
},
|
|
153
161
|
{
|
|
154
162
|
"type": "function",
|
|
155
|
-
"name": "
|
|
163
|
+
"name": "TARGET_COMMITTEE_SIZE",
|
|
156
164
|
"inputs": [],
|
|
157
165
|
"outputs": [
|
|
158
166
|
{
|
|
@@ -244,8 +252,8 @@ export const RollupAbi = [
|
|
|
244
252
|
},
|
|
245
253
|
{
|
|
246
254
|
"name": "slotNumber",
|
|
247
|
-
"type": "
|
|
248
|
-
"internalType": "
|
|
255
|
+
"type": "uint256",
|
|
256
|
+
"internalType": "Slot"
|
|
249
257
|
}
|
|
250
258
|
],
|
|
251
259
|
"stateMutability": "view"
|
|
@@ -257,7 +265,7 @@ export const RollupAbi = [
|
|
|
257
265
|
{
|
|
258
266
|
"name": "_ts",
|
|
259
267
|
"type": "uint256",
|
|
260
|
-
"internalType": "
|
|
268
|
+
"internalType": "Timestamp"
|
|
261
269
|
},
|
|
262
270
|
{
|
|
263
271
|
"name": "_archive",
|
|
@@ -269,7 +277,7 @@ export const RollupAbi = [
|
|
|
269
277
|
{
|
|
270
278
|
"name": "",
|
|
271
279
|
"type": "uint256",
|
|
272
|
-
"internalType": "
|
|
280
|
+
"internalType": "Slot"
|
|
273
281
|
},
|
|
274
282
|
{
|
|
275
283
|
"name": "",
|
|
@@ -279,6 +287,80 @@ export const RollupAbi = [
|
|
|
279
287
|
],
|
|
280
288
|
"stateMutability": "view"
|
|
281
289
|
},
|
|
290
|
+
{
|
|
291
|
+
"type": "function",
|
|
292
|
+
"name": "claimEpochProofRight",
|
|
293
|
+
"inputs": [
|
|
294
|
+
{
|
|
295
|
+
"name": "_quote",
|
|
296
|
+
"type": "tuple",
|
|
297
|
+
"internalType": "struct EpochProofQuoteLib.SignedEpochProofQuote",
|
|
298
|
+
"components": [
|
|
299
|
+
{
|
|
300
|
+
"name": "quote",
|
|
301
|
+
"type": "tuple",
|
|
302
|
+
"internalType": "struct EpochProofQuoteLib.EpochProofQuote",
|
|
303
|
+
"components": [
|
|
304
|
+
{
|
|
305
|
+
"name": "epochToProve",
|
|
306
|
+
"type": "uint256",
|
|
307
|
+
"internalType": "Epoch"
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"name": "validUntilSlot",
|
|
311
|
+
"type": "uint256",
|
|
312
|
+
"internalType": "Slot"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"name": "bondAmount",
|
|
316
|
+
"type": "uint256",
|
|
317
|
+
"internalType": "uint256"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"name": "prover",
|
|
321
|
+
"type": "address",
|
|
322
|
+
"internalType": "address"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"name": "basisPointFee",
|
|
326
|
+
"type": "uint32",
|
|
327
|
+
"internalType": "uint32"
|
|
328
|
+
}
|
|
329
|
+
]
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"name": "signature",
|
|
333
|
+
"type": "tuple",
|
|
334
|
+
"internalType": "struct SignatureLib.Signature",
|
|
335
|
+
"components": [
|
|
336
|
+
{
|
|
337
|
+
"name": "isEmpty",
|
|
338
|
+
"type": "bool",
|
|
339
|
+
"internalType": "bool"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"name": "v",
|
|
343
|
+
"type": "uint8",
|
|
344
|
+
"internalType": "uint8"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"name": "r",
|
|
348
|
+
"type": "bytes32",
|
|
349
|
+
"internalType": "bytes32"
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"name": "s",
|
|
353
|
+
"type": "bytes32",
|
|
354
|
+
"internalType": "bytes32"
|
|
355
|
+
}
|
|
356
|
+
]
|
|
357
|
+
}
|
|
358
|
+
]
|
|
359
|
+
}
|
|
360
|
+
],
|
|
361
|
+
"outputs": [],
|
|
362
|
+
"stateMutability": "nonpayable"
|
|
363
|
+
},
|
|
282
364
|
{
|
|
283
365
|
"type": "function",
|
|
284
366
|
"name": "computeTxsEffectsHash",
|
|
@@ -298,14 +380,70 @@ export const RollupAbi = [
|
|
|
298
380
|
],
|
|
299
381
|
"stateMutability": "pure"
|
|
300
382
|
},
|
|
383
|
+
{
|
|
384
|
+
"type": "function",
|
|
385
|
+
"name": "eip712Domain",
|
|
386
|
+
"inputs": [],
|
|
387
|
+
"outputs": [
|
|
388
|
+
{
|
|
389
|
+
"name": "fields",
|
|
390
|
+
"type": "bytes1",
|
|
391
|
+
"internalType": "bytes1"
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"name": "name",
|
|
395
|
+
"type": "string",
|
|
396
|
+
"internalType": "string"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"name": "version",
|
|
400
|
+
"type": "string",
|
|
401
|
+
"internalType": "string"
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"name": "chainId",
|
|
405
|
+
"type": "uint256",
|
|
406
|
+
"internalType": "uint256"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"name": "verifyingContract",
|
|
410
|
+
"type": "address",
|
|
411
|
+
"internalType": "address"
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"name": "salt",
|
|
415
|
+
"type": "bytes32",
|
|
416
|
+
"internalType": "bytes32"
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"name": "extensions",
|
|
420
|
+
"type": "uint256[]",
|
|
421
|
+
"internalType": "uint256[]"
|
|
422
|
+
}
|
|
423
|
+
],
|
|
424
|
+
"stateMutability": "view"
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"type": "function",
|
|
428
|
+
"name": "epochProofVerifier",
|
|
429
|
+
"inputs": [],
|
|
430
|
+
"outputs": [
|
|
431
|
+
{
|
|
432
|
+
"name": "",
|
|
433
|
+
"type": "address",
|
|
434
|
+
"internalType": "contract IVerifier"
|
|
435
|
+
}
|
|
436
|
+
],
|
|
437
|
+
"stateMutability": "view"
|
|
438
|
+
},
|
|
301
439
|
{
|
|
302
440
|
"type": "function",
|
|
303
441
|
"name": "epochs",
|
|
304
442
|
"inputs": [
|
|
305
443
|
{
|
|
306
|
-
"name": "
|
|
444
|
+
"name": "",
|
|
307
445
|
"type": "uint256",
|
|
308
|
-
"internalType": "
|
|
446
|
+
"internalType": "Epoch"
|
|
309
447
|
}
|
|
310
448
|
],
|
|
311
449
|
"outputs": [
|
|
@@ -330,7 +468,7 @@ export const RollupAbi = [
|
|
|
330
468
|
{
|
|
331
469
|
"name": "",
|
|
332
470
|
"type": "uint256",
|
|
333
|
-
"internalType": "
|
|
471
|
+
"internalType": "Epoch"
|
|
334
472
|
}
|
|
335
473
|
],
|
|
336
474
|
"stateMutability": "view"
|
|
@@ -369,7 +507,7 @@ export const RollupAbi = [
|
|
|
369
507
|
{
|
|
370
508
|
"name": "",
|
|
371
509
|
"type": "uint256",
|
|
372
|
-
"internalType": "
|
|
510
|
+
"internalType": "Slot"
|
|
373
511
|
}
|
|
374
512
|
],
|
|
375
513
|
"stateMutability": "view"
|
|
@@ -381,18 +519,37 @@ export const RollupAbi = [
|
|
|
381
519
|
{
|
|
382
520
|
"name": "_ts",
|
|
383
521
|
"type": "uint256",
|
|
384
|
-
"internalType": "
|
|
522
|
+
"internalType": "Timestamp"
|
|
385
523
|
}
|
|
386
524
|
],
|
|
387
525
|
"outputs": [
|
|
388
526
|
{
|
|
389
527
|
"name": "",
|
|
390
528
|
"type": "uint256",
|
|
391
|
-
"internalType": "
|
|
529
|
+
"internalType": "Epoch"
|
|
392
530
|
}
|
|
393
531
|
],
|
|
394
532
|
"stateMutability": "view"
|
|
395
533
|
},
|
|
534
|
+
{
|
|
535
|
+
"type": "function",
|
|
536
|
+
"name": "getEpochAtSlot",
|
|
537
|
+
"inputs": [
|
|
538
|
+
{
|
|
539
|
+
"name": "_slotNumber",
|
|
540
|
+
"type": "uint256",
|
|
541
|
+
"internalType": "Slot"
|
|
542
|
+
}
|
|
543
|
+
],
|
|
544
|
+
"outputs": [
|
|
545
|
+
{
|
|
546
|
+
"name": "",
|
|
547
|
+
"type": "uint256",
|
|
548
|
+
"internalType": "Epoch"
|
|
549
|
+
}
|
|
550
|
+
],
|
|
551
|
+
"stateMutability": "pure"
|
|
552
|
+
},
|
|
396
553
|
{
|
|
397
554
|
"type": "function",
|
|
398
555
|
"name": "getEpochCommittee",
|
|
@@ -400,7 +557,7 @@ export const RollupAbi = [
|
|
|
400
557
|
{
|
|
401
558
|
"name": "_epoch",
|
|
402
559
|
"type": "uint256",
|
|
403
|
-
"internalType": "
|
|
560
|
+
"internalType": "Epoch"
|
|
404
561
|
}
|
|
405
562
|
],
|
|
406
563
|
"outputs": [
|
|
@@ -412,6 +569,85 @@ export const RollupAbi = [
|
|
|
412
569
|
],
|
|
413
570
|
"stateMutability": "view"
|
|
414
571
|
},
|
|
572
|
+
{
|
|
573
|
+
"type": "function",
|
|
574
|
+
"name": "getEpochForBlock",
|
|
575
|
+
"inputs": [
|
|
576
|
+
{
|
|
577
|
+
"name": "blockNumber",
|
|
578
|
+
"type": "uint256",
|
|
579
|
+
"internalType": "uint256"
|
|
580
|
+
}
|
|
581
|
+
],
|
|
582
|
+
"outputs": [
|
|
583
|
+
{
|
|
584
|
+
"name": "",
|
|
585
|
+
"type": "uint256",
|
|
586
|
+
"internalType": "Epoch"
|
|
587
|
+
}
|
|
588
|
+
],
|
|
589
|
+
"stateMutability": "view"
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"type": "function",
|
|
593
|
+
"name": "getEpochProofPublicInputs",
|
|
594
|
+
"inputs": [
|
|
595
|
+
{
|
|
596
|
+
"name": "_epochSize",
|
|
597
|
+
"type": "uint256",
|
|
598
|
+
"internalType": "uint256"
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
"name": "_args",
|
|
602
|
+
"type": "bytes32[7]",
|
|
603
|
+
"internalType": "bytes32[7]"
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
"name": "_fees",
|
|
607
|
+
"type": "bytes32[64]",
|
|
608
|
+
"internalType": "bytes32[64]"
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"name": "_aggregationObject",
|
|
612
|
+
"type": "bytes",
|
|
613
|
+
"internalType": "bytes"
|
|
614
|
+
}
|
|
615
|
+
],
|
|
616
|
+
"outputs": [
|
|
617
|
+
{
|
|
618
|
+
"name": "",
|
|
619
|
+
"type": "bytes32[]",
|
|
620
|
+
"internalType": "bytes32[]"
|
|
621
|
+
}
|
|
622
|
+
],
|
|
623
|
+
"stateMutability": "view"
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"type": "function",
|
|
627
|
+
"name": "getEpochToProve",
|
|
628
|
+
"inputs": [],
|
|
629
|
+
"outputs": [
|
|
630
|
+
{
|
|
631
|
+
"name": "",
|
|
632
|
+
"type": "uint256",
|
|
633
|
+
"internalType": "Epoch"
|
|
634
|
+
}
|
|
635
|
+
],
|
|
636
|
+
"stateMutability": "view"
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"type": "function",
|
|
640
|
+
"name": "getPendingBlockNumber",
|
|
641
|
+
"inputs": [],
|
|
642
|
+
"outputs": [
|
|
643
|
+
{
|
|
644
|
+
"name": "",
|
|
645
|
+
"type": "uint256",
|
|
646
|
+
"internalType": "uint256"
|
|
647
|
+
}
|
|
648
|
+
],
|
|
649
|
+
"stateMutability": "view"
|
|
650
|
+
},
|
|
415
651
|
{
|
|
416
652
|
"type": "function",
|
|
417
653
|
"name": "getProposerAt",
|
|
@@ -419,7 +655,7 @@ export const RollupAbi = [
|
|
|
419
655
|
{
|
|
420
656
|
"name": "_ts",
|
|
421
657
|
"type": "uint256",
|
|
422
|
-
"internalType": "
|
|
658
|
+
"internalType": "Timestamp"
|
|
423
659
|
}
|
|
424
660
|
],
|
|
425
661
|
"outputs": [
|
|
@@ -431,6 +667,19 @@ export const RollupAbi = [
|
|
|
431
667
|
],
|
|
432
668
|
"stateMutability": "view"
|
|
433
669
|
},
|
|
670
|
+
{
|
|
671
|
+
"type": "function",
|
|
672
|
+
"name": "getProvenBlockNumber",
|
|
673
|
+
"inputs": [],
|
|
674
|
+
"outputs": [
|
|
675
|
+
{
|
|
676
|
+
"name": "",
|
|
677
|
+
"type": "uint256",
|
|
678
|
+
"internalType": "uint256"
|
|
679
|
+
}
|
|
680
|
+
],
|
|
681
|
+
"stateMutability": "view"
|
|
682
|
+
},
|
|
434
683
|
{
|
|
435
684
|
"type": "function",
|
|
436
685
|
"name": "getSlotAt",
|
|
@@ -438,14 +687,14 @@ export const RollupAbi = [
|
|
|
438
687
|
{
|
|
439
688
|
"name": "_ts",
|
|
440
689
|
"type": "uint256",
|
|
441
|
-
"internalType": "
|
|
690
|
+
"internalType": "Timestamp"
|
|
442
691
|
}
|
|
443
692
|
],
|
|
444
693
|
"outputs": [
|
|
445
694
|
{
|
|
446
695
|
"name": "",
|
|
447
696
|
"type": "uint256",
|
|
448
|
-
"internalType": "
|
|
697
|
+
"internalType": "Slot"
|
|
449
698
|
}
|
|
450
699
|
],
|
|
451
700
|
"stateMutability": "view"
|
|
@@ -457,14 +706,14 @@ export const RollupAbi = [
|
|
|
457
706
|
{
|
|
458
707
|
"name": "_slotNumber",
|
|
459
708
|
"type": "uint256",
|
|
460
|
-
"internalType": "
|
|
709
|
+
"internalType": "Slot"
|
|
461
710
|
}
|
|
462
711
|
],
|
|
463
712
|
"outputs": [
|
|
464
713
|
{
|
|
465
714
|
"name": "",
|
|
466
715
|
"type": "uint256",
|
|
467
|
-
"internalType": "
|
|
716
|
+
"internalType": "Timestamp"
|
|
468
717
|
}
|
|
469
718
|
],
|
|
470
719
|
"stateMutability": "view"
|
|
@@ -533,6 +782,19 @@ export const RollupAbi = [
|
|
|
533
782
|
],
|
|
534
783
|
"stateMutability": "view"
|
|
535
784
|
},
|
|
785
|
+
{
|
|
786
|
+
"type": "function",
|
|
787
|
+
"name": "nextEpochToClaim",
|
|
788
|
+
"inputs": [],
|
|
789
|
+
"outputs": [
|
|
790
|
+
{
|
|
791
|
+
"name": "",
|
|
792
|
+
"type": "uint256",
|
|
793
|
+
"internalType": "Epoch"
|
|
794
|
+
}
|
|
795
|
+
],
|
|
796
|
+
"stateMutability": "view"
|
|
797
|
+
},
|
|
536
798
|
{
|
|
537
799
|
"type": "function",
|
|
538
800
|
"name": "owner",
|
|
@@ -548,13 +810,33 @@ export const RollupAbi = [
|
|
|
548
810
|
},
|
|
549
811
|
{
|
|
550
812
|
"type": "function",
|
|
551
|
-
"name": "
|
|
813
|
+
"name": "proofClaim",
|
|
552
814
|
"inputs": [],
|
|
553
815
|
"outputs": [
|
|
554
816
|
{
|
|
555
|
-
"name": "",
|
|
817
|
+
"name": "epochToProve",
|
|
818
|
+
"type": "uint256",
|
|
819
|
+
"internalType": "Epoch"
|
|
820
|
+
},
|
|
821
|
+
{
|
|
822
|
+
"name": "basisPointFee",
|
|
823
|
+
"type": "uint256",
|
|
824
|
+
"internalType": "uint256"
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
"name": "bondAmount",
|
|
556
828
|
"type": "uint256",
|
|
557
829
|
"internalType": "uint256"
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
"name": "bondProvider",
|
|
833
|
+
"type": "address",
|
|
834
|
+
"internalType": "address"
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
"name": "proposerClaimant",
|
|
838
|
+
"type": "address",
|
|
839
|
+
"internalType": "address"
|
|
558
840
|
}
|
|
559
841
|
],
|
|
560
842
|
"stateMutability": "view"
|
|
@@ -621,52 +903,125 @@ export const RollupAbi = [
|
|
|
621
903
|
},
|
|
622
904
|
{
|
|
623
905
|
"type": "function",
|
|
624
|
-
"name": "
|
|
625
|
-
"inputs": [],
|
|
626
|
-
"outputs": [
|
|
627
|
-
{
|
|
628
|
-
"name": "",
|
|
629
|
-
"type": "uint256",
|
|
630
|
-
"internalType": "uint256"
|
|
631
|
-
}
|
|
632
|
-
],
|
|
633
|
-
"stateMutability": "view"
|
|
634
|
-
},
|
|
635
|
-
{
|
|
636
|
-
"type": "function",
|
|
637
|
-
"name": "prune",
|
|
638
|
-
"inputs": [],
|
|
639
|
-
"outputs": [],
|
|
640
|
-
"stateMutability": "nonpayable"
|
|
641
|
-
},
|
|
642
|
-
{
|
|
643
|
-
"type": "function",
|
|
644
|
-
"name": "removeValidator",
|
|
906
|
+
"name": "proposeAndClaim",
|
|
645
907
|
"inputs": [
|
|
646
908
|
{
|
|
647
|
-
"name": "
|
|
648
|
-
"type": "
|
|
649
|
-
"internalType": "
|
|
650
|
-
}
|
|
651
|
-
],
|
|
652
|
-
"outputs": [],
|
|
653
|
-
"stateMutability": "nonpayable"
|
|
654
|
-
},
|
|
655
|
-
{
|
|
656
|
-
"type": "function",
|
|
657
|
-
"name": "renounceOwnership",
|
|
658
|
-
"inputs": [],
|
|
659
|
-
"outputs": [],
|
|
660
|
-
"stateMutability": "nonpayable"
|
|
661
|
-
},
|
|
662
|
-
{
|
|
663
|
-
"type": "function",
|
|
664
|
-
"name": "setAssumeProvenUntilBlockNumber",
|
|
665
|
-
"inputs": [
|
|
909
|
+
"name": "_header",
|
|
910
|
+
"type": "bytes",
|
|
911
|
+
"internalType": "bytes"
|
|
912
|
+
},
|
|
666
913
|
{
|
|
667
|
-
"name": "
|
|
668
|
-
"type": "
|
|
669
|
-
"internalType": "
|
|
914
|
+
"name": "_archive",
|
|
915
|
+
"type": "bytes32",
|
|
916
|
+
"internalType": "bytes32"
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
"name": "_blockHash",
|
|
920
|
+
"type": "bytes32",
|
|
921
|
+
"internalType": "bytes32"
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
"name": "_txHashes",
|
|
925
|
+
"type": "bytes32[]",
|
|
926
|
+
"internalType": "bytes32[]"
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
"name": "_signatures",
|
|
930
|
+
"type": "tuple[]",
|
|
931
|
+
"internalType": "struct SignatureLib.Signature[]",
|
|
932
|
+
"components": [
|
|
933
|
+
{
|
|
934
|
+
"name": "isEmpty",
|
|
935
|
+
"type": "bool",
|
|
936
|
+
"internalType": "bool"
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
"name": "v",
|
|
940
|
+
"type": "uint8",
|
|
941
|
+
"internalType": "uint8"
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
"name": "r",
|
|
945
|
+
"type": "bytes32",
|
|
946
|
+
"internalType": "bytes32"
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"name": "s",
|
|
950
|
+
"type": "bytes32",
|
|
951
|
+
"internalType": "bytes32"
|
|
952
|
+
}
|
|
953
|
+
]
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
"name": "_body",
|
|
957
|
+
"type": "bytes",
|
|
958
|
+
"internalType": "bytes"
|
|
959
|
+
},
|
|
960
|
+
{
|
|
961
|
+
"name": "_quote",
|
|
962
|
+
"type": "tuple",
|
|
963
|
+
"internalType": "struct EpochProofQuoteLib.SignedEpochProofQuote",
|
|
964
|
+
"components": [
|
|
965
|
+
{
|
|
966
|
+
"name": "quote",
|
|
967
|
+
"type": "tuple",
|
|
968
|
+
"internalType": "struct EpochProofQuoteLib.EpochProofQuote",
|
|
969
|
+
"components": [
|
|
970
|
+
{
|
|
971
|
+
"name": "epochToProve",
|
|
972
|
+
"type": "uint256",
|
|
973
|
+
"internalType": "Epoch"
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
"name": "validUntilSlot",
|
|
977
|
+
"type": "uint256",
|
|
978
|
+
"internalType": "Slot"
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
"name": "bondAmount",
|
|
982
|
+
"type": "uint256",
|
|
983
|
+
"internalType": "uint256"
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
"name": "prover",
|
|
987
|
+
"type": "address",
|
|
988
|
+
"internalType": "address"
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
"name": "basisPointFee",
|
|
992
|
+
"type": "uint32",
|
|
993
|
+
"internalType": "uint32"
|
|
994
|
+
}
|
|
995
|
+
]
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
"name": "signature",
|
|
999
|
+
"type": "tuple",
|
|
1000
|
+
"internalType": "struct SignatureLib.Signature",
|
|
1001
|
+
"components": [
|
|
1002
|
+
{
|
|
1003
|
+
"name": "isEmpty",
|
|
1004
|
+
"type": "bool",
|
|
1005
|
+
"internalType": "bool"
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
"name": "v",
|
|
1009
|
+
"type": "uint8",
|
|
1010
|
+
"internalType": "uint8"
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
"name": "r",
|
|
1014
|
+
"type": "bytes32",
|
|
1015
|
+
"internalType": "bytes32"
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"name": "s",
|
|
1019
|
+
"type": "bytes32",
|
|
1020
|
+
"internalType": "bytes32"
|
|
1021
|
+
}
|
|
1022
|
+
]
|
|
1023
|
+
}
|
|
1024
|
+
]
|
|
670
1025
|
}
|
|
671
1026
|
],
|
|
672
1027
|
"outputs": [],
|
|
@@ -674,7 +1029,93 @@ export const RollupAbi = [
|
|
|
674
1029
|
},
|
|
675
1030
|
{
|
|
676
1031
|
"type": "function",
|
|
677
|
-
"name": "
|
|
1032
|
+
"name": "prune",
|
|
1033
|
+
"inputs": [],
|
|
1034
|
+
"outputs": [],
|
|
1035
|
+
"stateMutability": "nonpayable"
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
"type": "function",
|
|
1039
|
+
"name": "quoteToDigest",
|
|
1040
|
+
"inputs": [
|
|
1041
|
+
{
|
|
1042
|
+
"name": "quote",
|
|
1043
|
+
"type": "tuple",
|
|
1044
|
+
"internalType": "struct EpochProofQuoteLib.EpochProofQuote",
|
|
1045
|
+
"components": [
|
|
1046
|
+
{
|
|
1047
|
+
"name": "epochToProve",
|
|
1048
|
+
"type": "uint256",
|
|
1049
|
+
"internalType": "Epoch"
|
|
1050
|
+
},
|
|
1051
|
+
{
|
|
1052
|
+
"name": "validUntilSlot",
|
|
1053
|
+
"type": "uint256",
|
|
1054
|
+
"internalType": "Slot"
|
|
1055
|
+
},
|
|
1056
|
+
{
|
|
1057
|
+
"name": "bondAmount",
|
|
1058
|
+
"type": "uint256",
|
|
1059
|
+
"internalType": "uint256"
|
|
1060
|
+
},
|
|
1061
|
+
{
|
|
1062
|
+
"name": "prover",
|
|
1063
|
+
"type": "address",
|
|
1064
|
+
"internalType": "address"
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
"name": "basisPointFee",
|
|
1068
|
+
"type": "uint32",
|
|
1069
|
+
"internalType": "uint32"
|
|
1070
|
+
}
|
|
1071
|
+
]
|
|
1072
|
+
}
|
|
1073
|
+
],
|
|
1074
|
+
"outputs": [
|
|
1075
|
+
{
|
|
1076
|
+
"name": "",
|
|
1077
|
+
"type": "bytes32",
|
|
1078
|
+
"internalType": "bytes32"
|
|
1079
|
+
}
|
|
1080
|
+
],
|
|
1081
|
+
"stateMutability": "view"
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
"type": "function",
|
|
1085
|
+
"name": "removeValidator",
|
|
1086
|
+
"inputs": [
|
|
1087
|
+
{
|
|
1088
|
+
"name": "_validator",
|
|
1089
|
+
"type": "address",
|
|
1090
|
+
"internalType": "address"
|
|
1091
|
+
}
|
|
1092
|
+
],
|
|
1093
|
+
"outputs": [],
|
|
1094
|
+
"stateMutability": "nonpayable"
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
"type": "function",
|
|
1098
|
+
"name": "renounceOwnership",
|
|
1099
|
+
"inputs": [],
|
|
1100
|
+
"outputs": [],
|
|
1101
|
+
"stateMutability": "nonpayable"
|
|
1102
|
+
},
|
|
1103
|
+
{
|
|
1104
|
+
"type": "function",
|
|
1105
|
+
"name": "setAssumeProvenThroughBlockNumber",
|
|
1106
|
+
"inputs": [
|
|
1107
|
+
{
|
|
1108
|
+
"name": "blockNumber",
|
|
1109
|
+
"type": "uint256",
|
|
1110
|
+
"internalType": "uint256"
|
|
1111
|
+
}
|
|
1112
|
+
],
|
|
1113
|
+
"outputs": [],
|
|
1114
|
+
"stateMutability": "nonpayable"
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
"type": "function",
|
|
1118
|
+
"name": "setEpochVerifier",
|
|
678
1119
|
"inputs": [
|
|
679
1120
|
{
|
|
680
1121
|
"name": "_verifier",
|
|
@@ -707,23 +1148,67 @@ export const RollupAbi = [
|
|
|
707
1148
|
},
|
|
708
1149
|
{
|
|
709
1150
|
"type": "function",
|
|
710
|
-
"name": "
|
|
1151
|
+
"name": "status",
|
|
711
1152
|
"inputs": [
|
|
712
1153
|
{
|
|
713
|
-
"name": "
|
|
714
|
-
"type": "
|
|
715
|
-
"internalType": "
|
|
1154
|
+
"name": "myHeaderBlockNumber",
|
|
1155
|
+
"type": "uint256",
|
|
1156
|
+
"internalType": "uint256"
|
|
1157
|
+
}
|
|
1158
|
+
],
|
|
1159
|
+
"outputs": [
|
|
1160
|
+
{
|
|
1161
|
+
"name": "provenBlockNumber",
|
|
1162
|
+
"type": "uint256",
|
|
1163
|
+
"internalType": "uint256"
|
|
716
1164
|
},
|
|
717
1165
|
{
|
|
718
|
-
"name": "
|
|
1166
|
+
"name": "provenArchive",
|
|
1167
|
+
"type": "bytes32",
|
|
1168
|
+
"internalType": "bytes32"
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
"name": "pendingBlockNumber",
|
|
1172
|
+
"type": "uint256",
|
|
1173
|
+
"internalType": "uint256"
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
"name": "pendingArchive",
|
|
719
1177
|
"type": "bytes32",
|
|
720
1178
|
"internalType": "bytes32"
|
|
721
1179
|
},
|
|
722
1180
|
{
|
|
723
|
-
"name": "
|
|
1181
|
+
"name": "archiveOfMyBlock",
|
|
724
1182
|
"type": "bytes32",
|
|
725
1183
|
"internalType": "bytes32"
|
|
726
1184
|
},
|
|
1185
|
+
{
|
|
1186
|
+
"name": "provenEpochNumber",
|
|
1187
|
+
"type": "uint256",
|
|
1188
|
+
"internalType": "Epoch"
|
|
1189
|
+
}
|
|
1190
|
+
],
|
|
1191
|
+
"stateMutability": "view"
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
"type": "function",
|
|
1195
|
+
"name": "submitEpochRootProof",
|
|
1196
|
+
"inputs": [
|
|
1197
|
+
{
|
|
1198
|
+
"name": "_epochSize",
|
|
1199
|
+
"type": "uint256",
|
|
1200
|
+
"internalType": "uint256"
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
"name": "_args",
|
|
1204
|
+
"type": "bytes32[7]",
|
|
1205
|
+
"internalType": "bytes32[7]"
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
"name": "_fees",
|
|
1209
|
+
"type": "bytes32[64]",
|
|
1210
|
+
"internalType": "bytes32[64]"
|
|
1211
|
+
},
|
|
727
1212
|
{
|
|
728
1213
|
"name": "_aggregationObject",
|
|
729
1214
|
"type": "bytes",
|
|
@@ -738,6 +1223,24 @@ export const RollupAbi = [
|
|
|
738
1223
|
"outputs": [],
|
|
739
1224
|
"stateMutability": "nonpayable"
|
|
740
1225
|
},
|
|
1226
|
+
{
|
|
1227
|
+
"type": "function",
|
|
1228
|
+
"name": "tips",
|
|
1229
|
+
"inputs": [],
|
|
1230
|
+
"outputs": [
|
|
1231
|
+
{
|
|
1232
|
+
"name": "pendingBlockNumber",
|
|
1233
|
+
"type": "uint256",
|
|
1234
|
+
"internalType": "uint256"
|
|
1235
|
+
},
|
|
1236
|
+
{
|
|
1237
|
+
"name": "provenBlockNumber",
|
|
1238
|
+
"type": "uint256",
|
|
1239
|
+
"internalType": "uint256"
|
|
1240
|
+
}
|
|
1241
|
+
],
|
|
1242
|
+
"stateMutability": "view"
|
|
1243
|
+
},
|
|
741
1244
|
{
|
|
742
1245
|
"type": "function",
|
|
743
1246
|
"name": "transferOwnership",
|
|
@@ -751,6 +1254,80 @@ export const RollupAbi = [
|
|
|
751
1254
|
"outputs": [],
|
|
752
1255
|
"stateMutability": "nonpayable"
|
|
753
1256
|
},
|
|
1257
|
+
{
|
|
1258
|
+
"type": "function",
|
|
1259
|
+
"name": "validateEpochProofRightClaim",
|
|
1260
|
+
"inputs": [
|
|
1261
|
+
{
|
|
1262
|
+
"name": "_quote",
|
|
1263
|
+
"type": "tuple",
|
|
1264
|
+
"internalType": "struct EpochProofQuoteLib.SignedEpochProofQuote",
|
|
1265
|
+
"components": [
|
|
1266
|
+
{
|
|
1267
|
+
"name": "quote",
|
|
1268
|
+
"type": "tuple",
|
|
1269
|
+
"internalType": "struct EpochProofQuoteLib.EpochProofQuote",
|
|
1270
|
+
"components": [
|
|
1271
|
+
{
|
|
1272
|
+
"name": "epochToProve",
|
|
1273
|
+
"type": "uint256",
|
|
1274
|
+
"internalType": "Epoch"
|
|
1275
|
+
},
|
|
1276
|
+
{
|
|
1277
|
+
"name": "validUntilSlot",
|
|
1278
|
+
"type": "uint256",
|
|
1279
|
+
"internalType": "Slot"
|
|
1280
|
+
},
|
|
1281
|
+
{
|
|
1282
|
+
"name": "bondAmount",
|
|
1283
|
+
"type": "uint256",
|
|
1284
|
+
"internalType": "uint256"
|
|
1285
|
+
},
|
|
1286
|
+
{
|
|
1287
|
+
"name": "prover",
|
|
1288
|
+
"type": "address",
|
|
1289
|
+
"internalType": "address"
|
|
1290
|
+
},
|
|
1291
|
+
{
|
|
1292
|
+
"name": "basisPointFee",
|
|
1293
|
+
"type": "uint32",
|
|
1294
|
+
"internalType": "uint32"
|
|
1295
|
+
}
|
|
1296
|
+
]
|
|
1297
|
+
},
|
|
1298
|
+
{
|
|
1299
|
+
"name": "signature",
|
|
1300
|
+
"type": "tuple",
|
|
1301
|
+
"internalType": "struct SignatureLib.Signature",
|
|
1302
|
+
"components": [
|
|
1303
|
+
{
|
|
1304
|
+
"name": "isEmpty",
|
|
1305
|
+
"type": "bool",
|
|
1306
|
+
"internalType": "bool"
|
|
1307
|
+
},
|
|
1308
|
+
{
|
|
1309
|
+
"name": "v",
|
|
1310
|
+
"type": "uint8",
|
|
1311
|
+
"internalType": "uint8"
|
|
1312
|
+
},
|
|
1313
|
+
{
|
|
1314
|
+
"name": "r",
|
|
1315
|
+
"type": "bytes32",
|
|
1316
|
+
"internalType": "bytes32"
|
|
1317
|
+
},
|
|
1318
|
+
{
|
|
1319
|
+
"name": "s",
|
|
1320
|
+
"type": "bytes32",
|
|
1321
|
+
"internalType": "bytes32"
|
|
1322
|
+
}
|
|
1323
|
+
]
|
|
1324
|
+
}
|
|
1325
|
+
]
|
|
1326
|
+
}
|
|
1327
|
+
],
|
|
1328
|
+
"outputs": [],
|
|
1329
|
+
"stateMutability": "view"
|
|
1330
|
+
},
|
|
754
1331
|
{
|
|
755
1332
|
"type": "function",
|
|
756
1333
|
"name": "validateHeader",
|
|
@@ -795,7 +1372,7 @@ export const RollupAbi = [
|
|
|
795
1372
|
{
|
|
796
1373
|
"name": "_currentTime",
|
|
797
1374
|
"type": "uint256",
|
|
798
|
-
"internalType": "
|
|
1375
|
+
"internalType": "Timestamp"
|
|
799
1376
|
},
|
|
800
1377
|
{
|
|
801
1378
|
"name": "_txsEffectsHash",
|
|
@@ -823,19 +1400,6 @@ export const RollupAbi = [
|
|
|
823
1400
|
"outputs": [],
|
|
824
1401
|
"stateMutability": "view"
|
|
825
1402
|
},
|
|
826
|
-
{
|
|
827
|
-
"type": "function",
|
|
828
|
-
"name": "verifier",
|
|
829
|
-
"inputs": [],
|
|
830
|
-
"outputs": [
|
|
831
|
-
{
|
|
832
|
-
"name": "",
|
|
833
|
-
"type": "address",
|
|
834
|
-
"internalType": "contract IVerifier"
|
|
835
|
-
}
|
|
836
|
-
],
|
|
837
|
-
"stateMutability": "view"
|
|
838
|
-
},
|
|
839
1403
|
{
|
|
840
1404
|
"type": "function",
|
|
841
1405
|
"name": "vkTreeRoot",
|
|
@@ -849,6 +1413,12 @@ export const RollupAbi = [
|
|
|
849
1413
|
],
|
|
850
1414
|
"stateMutability": "view"
|
|
851
1415
|
},
|
|
1416
|
+
{
|
|
1417
|
+
"type": "event",
|
|
1418
|
+
"name": "EIP712DomainChanged",
|
|
1419
|
+
"inputs": [],
|
|
1420
|
+
"anonymous": false
|
|
1421
|
+
},
|
|
852
1422
|
{
|
|
853
1423
|
"type": "event",
|
|
854
1424
|
"name": "L2BlockProposed",
|
|
@@ -858,6 +1428,12 @@ export const RollupAbi = [
|
|
|
858
1428
|
"type": "uint256",
|
|
859
1429
|
"indexed": true,
|
|
860
1430
|
"internalType": "uint256"
|
|
1431
|
+
},
|
|
1432
|
+
{
|
|
1433
|
+
"name": "archive",
|
|
1434
|
+
"type": "bytes32",
|
|
1435
|
+
"indexed": true,
|
|
1436
|
+
"internalType": "bytes32"
|
|
861
1437
|
}
|
|
862
1438
|
],
|
|
863
1439
|
"anonymous": false
|
|
@@ -900,18 +1476,55 @@ export const RollupAbi = [
|
|
|
900
1476
|
],
|
|
901
1477
|
"anonymous": false
|
|
902
1478
|
},
|
|
1479
|
+
{
|
|
1480
|
+
"type": "event",
|
|
1481
|
+
"name": "ProofRightClaimed",
|
|
1482
|
+
"inputs": [
|
|
1483
|
+
{
|
|
1484
|
+
"name": "epoch",
|
|
1485
|
+
"type": "uint256",
|
|
1486
|
+
"indexed": true,
|
|
1487
|
+
"internalType": "Epoch"
|
|
1488
|
+
},
|
|
1489
|
+
{
|
|
1490
|
+
"name": "bondProvider",
|
|
1491
|
+
"type": "address",
|
|
1492
|
+
"indexed": true,
|
|
1493
|
+
"internalType": "address"
|
|
1494
|
+
},
|
|
1495
|
+
{
|
|
1496
|
+
"name": "proposer",
|
|
1497
|
+
"type": "address",
|
|
1498
|
+
"indexed": true,
|
|
1499
|
+
"internalType": "address"
|
|
1500
|
+
},
|
|
1501
|
+
{
|
|
1502
|
+
"name": "bondAmount",
|
|
1503
|
+
"type": "uint256",
|
|
1504
|
+
"indexed": false,
|
|
1505
|
+
"internalType": "uint256"
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
"name": "currentSlot",
|
|
1509
|
+
"type": "uint256",
|
|
1510
|
+
"indexed": false,
|
|
1511
|
+
"internalType": "Slot"
|
|
1512
|
+
}
|
|
1513
|
+
],
|
|
1514
|
+
"anonymous": false
|
|
1515
|
+
},
|
|
903
1516
|
{
|
|
904
1517
|
"type": "event",
|
|
905
1518
|
"name": "PrunedPending",
|
|
906
1519
|
"inputs": [
|
|
907
1520
|
{
|
|
908
|
-
"name": "
|
|
1521
|
+
"name": "provenBlockNumber",
|
|
909
1522
|
"type": "uint256",
|
|
910
1523
|
"indexed": false,
|
|
911
1524
|
"internalType": "uint256"
|
|
912
1525
|
},
|
|
913
1526
|
{
|
|
914
|
-
"name": "
|
|
1527
|
+
"name": "pendingBlockNumber",
|
|
915
1528
|
"type": "uint256",
|
|
916
1529
|
"indexed": false,
|
|
917
1530
|
"internalType": "uint256"
|
|
@@ -942,15 +1555,20 @@ export const RollupAbi = [
|
|
|
942
1555
|
{
|
|
943
1556
|
"name": "expected",
|
|
944
1557
|
"type": "uint256",
|
|
945
|
-
"internalType": "
|
|
1558
|
+
"internalType": "Slot"
|
|
946
1559
|
},
|
|
947
1560
|
{
|
|
948
1561
|
"name": "actual",
|
|
949
1562
|
"type": "uint256",
|
|
950
|
-
"internalType": "
|
|
1563
|
+
"internalType": "Slot"
|
|
951
1564
|
}
|
|
952
1565
|
]
|
|
953
1566
|
},
|
|
1567
|
+
{
|
|
1568
|
+
"type": "error",
|
|
1569
|
+
"name": "InvalidShortString",
|
|
1570
|
+
"inputs": []
|
|
1571
|
+
},
|
|
954
1572
|
{
|
|
955
1573
|
"type": "error",
|
|
956
1574
|
"name": "Leonidas__InsufficientAttestations",
|
|
@@ -1021,6 +1639,38 @@ export const RollupAbi = [
|
|
|
1021
1639
|
}
|
|
1022
1640
|
]
|
|
1023
1641
|
},
|
|
1642
|
+
{
|
|
1643
|
+
"type": "error",
|
|
1644
|
+
"name": "Rollup__InsufficientBondAmount",
|
|
1645
|
+
"inputs": [
|
|
1646
|
+
{
|
|
1647
|
+
"name": "minimum",
|
|
1648
|
+
"type": "uint256",
|
|
1649
|
+
"internalType": "uint256"
|
|
1650
|
+
},
|
|
1651
|
+
{
|
|
1652
|
+
"name": "provided",
|
|
1653
|
+
"type": "uint256",
|
|
1654
|
+
"internalType": "uint256"
|
|
1655
|
+
}
|
|
1656
|
+
]
|
|
1657
|
+
},
|
|
1658
|
+
{
|
|
1659
|
+
"type": "error",
|
|
1660
|
+
"name": "Rollup__InsufficientFundsInEscrow",
|
|
1661
|
+
"inputs": [
|
|
1662
|
+
{
|
|
1663
|
+
"name": "required",
|
|
1664
|
+
"type": "uint256",
|
|
1665
|
+
"internalType": "uint256"
|
|
1666
|
+
},
|
|
1667
|
+
{
|
|
1668
|
+
"name": "available",
|
|
1669
|
+
"type": "uint256",
|
|
1670
|
+
"internalType": "uint256"
|
|
1671
|
+
}
|
|
1672
|
+
]
|
|
1673
|
+
},
|
|
1024
1674
|
{
|
|
1025
1675
|
"type": "error",
|
|
1026
1676
|
"name": "Rollup__InvalidArchive",
|
|
@@ -1037,6 +1687,22 @@ export const RollupAbi = [
|
|
|
1037
1687
|
}
|
|
1038
1688
|
]
|
|
1039
1689
|
},
|
|
1690
|
+
{
|
|
1691
|
+
"type": "error",
|
|
1692
|
+
"name": "Rollup__InvalidBlockHash",
|
|
1693
|
+
"inputs": [
|
|
1694
|
+
{
|
|
1695
|
+
"name": "expected",
|
|
1696
|
+
"type": "bytes32",
|
|
1697
|
+
"internalType": "bytes32"
|
|
1698
|
+
},
|
|
1699
|
+
{
|
|
1700
|
+
"name": "actual",
|
|
1701
|
+
"type": "bytes32",
|
|
1702
|
+
"internalType": "bytes32"
|
|
1703
|
+
}
|
|
1704
|
+
]
|
|
1705
|
+
},
|
|
1040
1706
|
{
|
|
1041
1707
|
"type": "error",
|
|
1042
1708
|
"name": "Rollup__InvalidBlockNumber",
|
|
@@ -1076,12 +1742,12 @@ export const RollupAbi = [
|
|
|
1076
1742
|
{
|
|
1077
1743
|
"name": "expected",
|
|
1078
1744
|
"type": "uint256",
|
|
1079
|
-
"internalType": "
|
|
1745
|
+
"internalType": "Epoch"
|
|
1080
1746
|
},
|
|
1081
1747
|
{
|
|
1082
1748
|
"name": "actual",
|
|
1083
1749
|
"type": "uint256",
|
|
1084
|
-
"internalType": "
|
|
1750
|
+
"internalType": "Epoch"
|
|
1085
1751
|
}
|
|
1086
1752
|
]
|
|
1087
1753
|
},
|
|
@@ -1103,12 +1769,23 @@ export const RollupAbi = [
|
|
|
1103
1769
|
},
|
|
1104
1770
|
{
|
|
1105
1771
|
"type": "error",
|
|
1106
|
-
"name": "
|
|
1107
|
-
"inputs": [
|
|
1772
|
+
"name": "Rollup__InvalidPreviousArchive",
|
|
1773
|
+
"inputs": [
|
|
1774
|
+
{
|
|
1775
|
+
"name": "expected",
|
|
1776
|
+
"type": "bytes32",
|
|
1777
|
+
"internalType": "bytes32"
|
|
1778
|
+
},
|
|
1779
|
+
{
|
|
1780
|
+
"name": "actual",
|
|
1781
|
+
"type": "bytes32",
|
|
1782
|
+
"internalType": "bytes32"
|
|
1783
|
+
}
|
|
1784
|
+
]
|
|
1108
1785
|
},
|
|
1109
1786
|
{
|
|
1110
1787
|
"type": "error",
|
|
1111
|
-
"name": "
|
|
1788
|
+
"name": "Rollup__InvalidPreviousBlockHash",
|
|
1112
1789
|
"inputs": [
|
|
1113
1790
|
{
|
|
1114
1791
|
"name": "expected",
|
|
@@ -1122,6 +1799,11 @@ export const RollupAbi = [
|
|
|
1122
1799
|
}
|
|
1123
1800
|
]
|
|
1124
1801
|
},
|
|
1802
|
+
{
|
|
1803
|
+
"type": "error",
|
|
1804
|
+
"name": "Rollup__InvalidProof",
|
|
1805
|
+
"inputs": []
|
|
1806
|
+
},
|
|
1125
1807
|
{
|
|
1126
1808
|
"type": "error",
|
|
1127
1809
|
"name": "Rollup__InvalidTimestamp",
|
|
@@ -1129,12 +1811,12 @@ export const RollupAbi = [
|
|
|
1129
1811
|
{
|
|
1130
1812
|
"name": "expected",
|
|
1131
1813
|
"type": "uint256",
|
|
1132
|
-
"internalType": "
|
|
1814
|
+
"internalType": "Timestamp"
|
|
1133
1815
|
},
|
|
1134
1816
|
{
|
|
1135
1817
|
"name": "actual",
|
|
1136
1818
|
"type": "uint256",
|
|
1137
|
-
"internalType": "
|
|
1819
|
+
"internalType": "Timestamp"
|
|
1138
1820
|
}
|
|
1139
1821
|
]
|
|
1140
1822
|
},
|
|
@@ -1156,20 +1838,36 @@ export const RollupAbi = [
|
|
|
1156
1838
|
},
|
|
1157
1839
|
{
|
|
1158
1840
|
"type": "error",
|
|
1159
|
-
"name": "
|
|
1841
|
+
"name": "Rollup__NoEpochToProve",
|
|
1160
1842
|
"inputs": []
|
|
1161
1843
|
},
|
|
1162
1844
|
{
|
|
1163
1845
|
"type": "error",
|
|
1164
|
-
"name": "
|
|
1846
|
+
"name": "Rollup__NotClaimingCorrectEpoch",
|
|
1165
1847
|
"inputs": [
|
|
1166
1848
|
{
|
|
1167
|
-
"name": "
|
|
1849
|
+
"name": "expected",
|
|
1850
|
+
"type": "uint256",
|
|
1851
|
+
"internalType": "Epoch"
|
|
1852
|
+
},
|
|
1853
|
+
{
|
|
1854
|
+
"name": "actual",
|
|
1855
|
+
"type": "uint256",
|
|
1856
|
+
"internalType": "Epoch"
|
|
1857
|
+
}
|
|
1858
|
+
]
|
|
1859
|
+
},
|
|
1860
|
+
{
|
|
1861
|
+
"type": "error",
|
|
1862
|
+
"name": "Rollup__NotInClaimPhase",
|
|
1863
|
+
"inputs": [
|
|
1864
|
+
{
|
|
1865
|
+
"name": "currentSlotInEpoch",
|
|
1168
1866
|
"type": "uint256",
|
|
1169
1867
|
"internalType": "uint256"
|
|
1170
1868
|
},
|
|
1171
1869
|
{
|
|
1172
|
-
"name": "
|
|
1870
|
+
"name": "claimDuration",
|
|
1173
1871
|
"type": "uint256",
|
|
1174
1872
|
"internalType": "uint256"
|
|
1175
1873
|
}
|
|
@@ -1182,28 +1880,38 @@ export const RollupAbi = [
|
|
|
1182
1880
|
},
|
|
1183
1881
|
{
|
|
1184
1882
|
"type": "error",
|
|
1185
|
-
"name": "
|
|
1883
|
+
"name": "Rollup__ProofRightAlreadyClaimed",
|
|
1884
|
+
"inputs": []
|
|
1885
|
+
},
|
|
1886
|
+
{
|
|
1887
|
+
"type": "error",
|
|
1888
|
+
"name": "Rollup__QuoteExpired",
|
|
1186
1889
|
"inputs": [
|
|
1187
1890
|
{
|
|
1188
|
-
"name": "
|
|
1891
|
+
"name": "currentSlot",
|
|
1189
1892
|
"type": "uint256",
|
|
1190
|
-
"internalType": "
|
|
1893
|
+
"internalType": "Slot"
|
|
1191
1894
|
},
|
|
1192
1895
|
{
|
|
1193
|
-
"name": "
|
|
1896
|
+
"name": "quoteSlot",
|
|
1194
1897
|
"type": "uint256",
|
|
1195
|
-
"internalType": "
|
|
1898
|
+
"internalType": "Slot"
|
|
1196
1899
|
}
|
|
1197
1900
|
]
|
|
1198
1901
|
},
|
|
1199
1902
|
{
|
|
1200
1903
|
"type": "error",
|
|
1201
|
-
"name": "
|
|
1904
|
+
"name": "Rollup__SlotAlreadyInChain",
|
|
1202
1905
|
"inputs": [
|
|
1203
1906
|
{
|
|
1204
|
-
"name": "
|
|
1907
|
+
"name": "lastSlot",
|
|
1205
1908
|
"type": "uint256",
|
|
1206
|
-
"internalType": "
|
|
1909
|
+
"internalType": "Slot"
|
|
1910
|
+
},
|
|
1911
|
+
{
|
|
1912
|
+
"name": "proposedSlot",
|
|
1913
|
+
"type": "uint256",
|
|
1914
|
+
"internalType": "Slot"
|
|
1207
1915
|
}
|
|
1208
1916
|
]
|
|
1209
1917
|
},
|
|
@@ -1214,20 +1922,15 @@ export const RollupAbi = [
|
|
|
1214
1922
|
{
|
|
1215
1923
|
"name": "max",
|
|
1216
1924
|
"type": "uint256",
|
|
1217
|
-
"internalType": "
|
|
1925
|
+
"internalType": "Timestamp"
|
|
1218
1926
|
},
|
|
1219
1927
|
{
|
|
1220
1928
|
"name": "actual",
|
|
1221
1929
|
"type": "uint256",
|
|
1222
|
-
"internalType": "
|
|
1930
|
+
"internalType": "Timestamp"
|
|
1223
1931
|
}
|
|
1224
1932
|
]
|
|
1225
1933
|
},
|
|
1226
|
-
{
|
|
1227
|
-
"type": "error",
|
|
1228
|
-
"name": "Rollup__TryingToProveNonExistingBlock",
|
|
1229
|
-
"inputs": []
|
|
1230
|
-
},
|
|
1231
1934
|
{
|
|
1232
1935
|
"type": "error",
|
|
1233
1936
|
"name": "Rollup__UnavailableTxs",
|
|
@@ -1239,22 +1942,6 @@ export const RollupAbi = [
|
|
|
1239
1942
|
}
|
|
1240
1943
|
]
|
|
1241
1944
|
},
|
|
1242
|
-
{
|
|
1243
|
-
"type": "error",
|
|
1244
|
-
"name": "SafeCastOverflowedUintDowncast",
|
|
1245
|
-
"inputs": [
|
|
1246
|
-
{
|
|
1247
|
-
"name": "bits",
|
|
1248
|
-
"type": "uint8",
|
|
1249
|
-
"internalType": "uint8"
|
|
1250
|
-
},
|
|
1251
|
-
{
|
|
1252
|
-
"name": "value",
|
|
1253
|
-
"type": "uint256",
|
|
1254
|
-
"internalType": "uint256"
|
|
1255
|
-
}
|
|
1256
|
-
]
|
|
1257
|
-
},
|
|
1258
1945
|
{
|
|
1259
1946
|
"type": "error",
|
|
1260
1947
|
"name": "SampleLib__IndexOutOfBounds",
|
|
@@ -1292,6 +1979,17 @@ export const RollupAbi = [
|
|
|
1292
1979
|
}
|
|
1293
1980
|
]
|
|
1294
1981
|
},
|
|
1982
|
+
{
|
|
1983
|
+
"type": "error",
|
|
1984
|
+
"name": "StringTooLong",
|
|
1985
|
+
"inputs": [
|
|
1986
|
+
{
|
|
1987
|
+
"name": "str",
|
|
1988
|
+
"type": "string",
|
|
1989
|
+
"internalType": "string"
|
|
1990
|
+
}
|
|
1991
|
+
]
|
|
1992
|
+
},
|
|
1295
1993
|
{
|
|
1296
1994
|
"type": "error",
|
|
1297
1995
|
"name": "TxsDecoder__InvalidLogsLength",
|