@aztec/l1-artifacts 0.65.0 → 0.65.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.
Files changed (43) hide show
  1. package/dest/FeeJuicePortalBytecode.d.ts +1 -1
  2. package/dest/FeeJuicePortalBytecode.d.ts.map +1 -1
  3. package/dest/FeeJuicePortalBytecode.js +2 -2
  4. package/dest/InboxBytecode.d.ts +1 -1
  5. package/dest/InboxBytecode.js +1 -1
  6. package/dest/OutboxBytecode.d.ts +1 -1
  7. package/dest/OutboxBytecode.js +1 -1
  8. package/dest/ProofCommitmentEscrowBytecode.d.ts +1 -1
  9. package/dest/ProofCommitmentEscrowBytecode.js +1 -1
  10. package/dest/RollupAbi.d.ts +292 -53
  11. package/dest/RollupAbi.d.ts.map +1 -1
  12. package/dest/RollupAbi.js +379 -66
  13. package/dest/RollupBytecode.d.ts +12 -3
  14. package/dest/RollupBytecode.d.ts.map +1 -1
  15. package/dest/RollupBytecode.js +16 -4
  16. package/dest/SampleLibAbi.d.ts +61 -0
  17. package/dest/SampleLibAbi.d.ts.map +1 -0
  18. package/dest/SampleLibAbi.js +80 -0
  19. package/dest/SampleLibBytecode.d.ts +9 -0
  20. package/dest/SampleLibBytecode.d.ts.map +1 -0
  21. package/dest/SampleLibBytecode.js +9 -0
  22. package/dest/TokenPortalBytecode.d.ts +1 -1
  23. package/dest/TokenPortalBytecode.js +1 -1
  24. package/dest/TxsDecoderBytecode.d.ts +1 -1
  25. package/dest/TxsDecoderBytecode.js +1 -1
  26. package/dest/UniswapPortalBytecode.d.ts +1 -1
  27. package/dest/UniswapPortalBytecode.js +1 -1
  28. package/dest/index.d.ts +2 -0
  29. package/dest/index.d.ts.map +1 -1
  30. package/dest/index.js +3 -1
  31. package/generated/FeeJuicePortalBytecode.ts +1 -1
  32. package/generated/InboxBytecode.ts +1 -1
  33. package/generated/OutboxBytecode.ts +1 -1
  34. package/generated/ProofCommitmentEscrowBytecode.ts +1 -1
  35. package/generated/RollupAbi.ts +378 -65
  36. package/generated/RollupBytecode.ts +15 -3
  37. package/generated/SampleLibAbi.ts +79 -0
  38. package/generated/SampleLibBytecode.ts +8 -0
  39. package/generated/TokenPortalBytecode.ts +1 -1
  40. package/generated/TxsDecoderBytecode.ts +1 -1
  41. package/generated/UniswapPortalBytecode.ts +1 -1
  42. package/generated/index.ts +2 -0
  43. package/package.json +1 -1
@@ -38,7 +38,7 @@ export const RollupAbi = [
38
38
  {
39
39
  "name": "_config",
40
40
  "type": "tuple",
41
- "internalType": "struct Rollup.Config",
41
+ "internalType": "struct Config",
42
42
  "components": [
43
43
  {
44
44
  "name": "aztecSlotDuration",
@@ -91,6 +91,19 @@ export const RollupAbi = [
91
91
  ],
92
92
  "stateMutability": "view"
93
93
  },
94
+ {
95
+ "type": "function",
96
+ "name": "CUAUHXICALLI",
97
+ "inputs": [],
98
+ "outputs": [
99
+ {
100
+ "name": "",
101
+ "type": "address",
102
+ "internalType": "address"
103
+ }
104
+ ],
105
+ "stateMutability": "view"
106
+ },
94
107
  {
95
108
  "type": "function",
96
109
  "name": "EPOCH_DURATION",
@@ -143,6 +156,19 @@ export const RollupAbi = [
143
156
  ],
144
157
  "stateMutability": "view"
145
158
  },
159
+ {
160
+ "type": "function",
161
+ "name": "IS_FOUNDRY_TEST",
162
+ "inputs": [],
163
+ "outputs": [
164
+ {
165
+ "name": "",
166
+ "type": "bool",
167
+ "internalType": "bool"
168
+ }
169
+ ],
170
+ "stateMutability": "view"
171
+ },
146
172
  {
147
173
  "type": "function",
148
174
  "name": "L1_BLOCK_AT_GENESIS",
@@ -156,6 +182,32 @@ export const RollupAbi = [
156
182
  ],
157
183
  "stateMutability": "view"
158
184
  },
185
+ {
186
+ "type": "function",
187
+ "name": "LAG",
188
+ "inputs": [],
189
+ "outputs": [
190
+ {
191
+ "name": "",
192
+ "type": "uint256",
193
+ "internalType": "Slot"
194
+ }
195
+ ],
196
+ "stateMutability": "view"
197
+ },
198
+ {
199
+ "type": "function",
200
+ "name": "LIFETIME",
201
+ "inputs": [],
202
+ "outputs": [
203
+ {
204
+ "name": "",
205
+ "type": "uint256",
206
+ "internalType": "Slot"
207
+ }
208
+ ],
209
+ "stateMutability": "view"
210
+ },
159
211
  {
160
212
  "type": "function",
161
213
  "name": "OUTBOX",
@@ -247,6 +299,19 @@ export const RollupAbi = [
247
299
  ],
248
300
  "stateMutability": "view"
249
301
  },
302
+ {
303
+ "type": "function",
304
+ "name": "VM_ADDRESS",
305
+ "inputs": [],
306
+ "outputs": [
307
+ {
308
+ "name": "",
309
+ "type": "address",
310
+ "internalType": "address"
311
+ }
312
+ ],
313
+ "stateMutability": "view"
314
+ },
250
315
  {
251
316
  "type": "function",
252
317
  "name": "addValidator",
@@ -292,35 +357,6 @@ export const RollupAbi = [
292
357
  ],
293
358
  "stateMutability": "view"
294
359
  },
295
- {
296
- "type": "function",
297
- "name": "blocks",
298
- "inputs": [
299
- {
300
- "name": "blockNumber",
301
- "type": "uint256",
302
- "internalType": "uint256"
303
- }
304
- ],
305
- "outputs": [
306
- {
307
- "name": "archive",
308
- "type": "bytes32",
309
- "internalType": "bytes32"
310
- },
311
- {
312
- "name": "blockHash",
313
- "type": "bytes32",
314
- "internalType": "bytes32"
315
- },
316
- {
317
- "name": "slotNumber",
318
- "type": "uint256",
319
- "internalType": "Slot"
320
- }
321
- ],
322
- "stateMutability": "view"
323
- },
324
360
  {
325
361
  "type": "function",
326
362
  "name": "canProposeAtTime",
@@ -555,6 +591,74 @@ export const RollupAbi = [
555
591
  ],
556
592
  "stateMutability": "view"
557
593
  },
594
+ {
595
+ "type": "function",
596
+ "name": "getBlock",
597
+ "inputs": [
598
+ {
599
+ "name": "_blockNumber",
600
+ "type": "uint256",
601
+ "internalType": "uint256"
602
+ }
603
+ ],
604
+ "outputs": [
605
+ {
606
+ "name": "",
607
+ "type": "tuple",
608
+ "internalType": "struct BlockLog",
609
+ "components": [
610
+ {
611
+ "name": "feeHeader",
612
+ "type": "tuple",
613
+ "internalType": "struct FeeHeader",
614
+ "components": [
615
+ {
616
+ "name": "excessMana",
617
+ "type": "uint256",
618
+ "internalType": "uint256"
619
+ },
620
+ {
621
+ "name": "feeAssetPriceNumerator",
622
+ "type": "uint256",
623
+ "internalType": "uint256"
624
+ },
625
+ {
626
+ "name": "manaUsed",
627
+ "type": "uint256",
628
+ "internalType": "uint256"
629
+ },
630
+ {
631
+ "name": "provingCostPerManaNumerator",
632
+ "type": "uint256",
633
+ "internalType": "uint256"
634
+ },
635
+ {
636
+ "name": "congestionCost",
637
+ "type": "uint256",
638
+ "internalType": "uint256"
639
+ }
640
+ ]
641
+ },
642
+ {
643
+ "name": "archive",
644
+ "type": "bytes32",
645
+ "internalType": "bytes32"
646
+ },
647
+ {
648
+ "name": "blockHash",
649
+ "type": "bytes32",
650
+ "internalType": "bytes32"
651
+ },
652
+ {
653
+ "name": "slotNumber",
654
+ "type": "uint256",
655
+ "internalType": "Slot"
656
+ }
657
+ ]
658
+ }
659
+ ],
660
+ "stateMutability": "view"
661
+ },
558
662
  {
559
663
  "type": "function",
560
664
  "name": "getClaimableEpoch",
@@ -594,6 +698,31 @@ export const RollupAbi = [
594
698
  ],
595
699
  "stateMutability": "view"
596
700
  },
701
+ {
702
+ "type": "function",
703
+ "name": "getCurrentL1Fees",
704
+ "inputs": [],
705
+ "outputs": [
706
+ {
707
+ "name": "",
708
+ "type": "tuple",
709
+ "internalType": "struct L1FeeData",
710
+ "components": [
711
+ {
712
+ "name": "baseFee",
713
+ "type": "uint256",
714
+ "internalType": "uint256"
715
+ },
716
+ {
717
+ "name": "blobFee",
718
+ "type": "uint256",
719
+ "internalType": "uint256"
720
+ }
721
+ ]
722
+ }
723
+ ],
724
+ "stateMutability": "view"
725
+ },
597
726
  {
598
727
  "type": "function",
599
728
  "name": "getCurrentProposer",
@@ -743,6 +872,84 @@ export const RollupAbi = [
743
872
  ],
744
873
  "stateMutability": "view"
745
874
  },
875
+ {
876
+ "type": "function",
877
+ "name": "getFeeAssetPrice",
878
+ "inputs": [],
879
+ "outputs": [
880
+ {
881
+ "name": "",
882
+ "type": "uint256",
883
+ "internalType": "uint256"
884
+ }
885
+ ],
886
+ "stateMutability": "view"
887
+ },
888
+ {
889
+ "type": "function",
890
+ "name": "getManaBaseFee",
891
+ "inputs": [
892
+ {
893
+ "name": "_inFeeAsset",
894
+ "type": "bool",
895
+ "internalType": "bool"
896
+ }
897
+ ],
898
+ "outputs": [
899
+ {
900
+ "name": "",
901
+ "type": "uint256",
902
+ "internalType": "uint256"
903
+ }
904
+ ],
905
+ "stateMutability": "view"
906
+ },
907
+ {
908
+ "type": "function",
909
+ "name": "getManaBaseFeeComponents",
910
+ "inputs": [
911
+ {
912
+ "name": "_inFeeAsset",
913
+ "type": "bool",
914
+ "internalType": "bool"
915
+ }
916
+ ],
917
+ "outputs": [
918
+ {
919
+ "name": "",
920
+ "type": "tuple",
921
+ "internalType": "struct ManaBaseFeeComponents",
922
+ "components": [
923
+ {
924
+ "name": "congestionCost",
925
+ "type": "uint256",
926
+ "internalType": "uint256"
927
+ },
928
+ {
929
+ "name": "congestionMultiplier",
930
+ "type": "uint256",
931
+ "internalType": "uint256"
932
+ },
933
+ {
934
+ "name": "dataCost",
935
+ "type": "uint256",
936
+ "internalType": "uint256"
937
+ },
938
+ {
939
+ "name": "gasCost",
940
+ "type": "uint256",
941
+ "internalType": "uint256"
942
+ },
943
+ {
944
+ "name": "provingCost",
945
+ "type": "uint256",
946
+ "internalType": "uint256"
947
+ }
948
+ ]
949
+ }
950
+ ],
951
+ "stateMutability": "view"
952
+ },
746
953
  {
747
954
  "type": "function",
748
955
  "name": "getPendingBlockNumber",
@@ -890,6 +1097,53 @@ export const RollupAbi = [
890
1097
  ],
891
1098
  "stateMutability": "view"
892
1099
  },
1100
+ {
1101
+ "type": "function",
1102
+ "name": "l1GasOracleValues",
1103
+ "inputs": [],
1104
+ "outputs": [
1105
+ {
1106
+ "name": "pre",
1107
+ "type": "tuple",
1108
+ "internalType": "struct L1FeeData",
1109
+ "components": [
1110
+ {
1111
+ "name": "baseFee",
1112
+ "type": "uint256",
1113
+ "internalType": "uint256"
1114
+ },
1115
+ {
1116
+ "name": "blobFee",
1117
+ "type": "uint256",
1118
+ "internalType": "uint256"
1119
+ }
1120
+ ]
1121
+ },
1122
+ {
1123
+ "name": "post",
1124
+ "type": "tuple",
1125
+ "internalType": "struct L1FeeData",
1126
+ "components": [
1127
+ {
1128
+ "name": "baseFee",
1129
+ "type": "uint256",
1130
+ "internalType": "uint256"
1131
+ },
1132
+ {
1133
+ "name": "blobFee",
1134
+ "type": "uint256",
1135
+ "internalType": "uint256"
1136
+ }
1137
+ ]
1138
+ },
1139
+ {
1140
+ "name": "slotOfChange",
1141
+ "type": "uint256",
1142
+ "internalType": "Slot"
1143
+ }
1144
+ ],
1145
+ "stateMutability": "view"
1146
+ },
893
1147
  {
894
1148
  "type": "function",
895
1149
  "name": "owner",
@@ -955,6 +1209,23 @@ export const RollupAbi = [
955
1209
  "type": "bytes32",
956
1210
  "internalType": "bytes32"
957
1211
  },
1212
+ {
1213
+ "name": "oracleInput",
1214
+ "type": "tuple",
1215
+ "internalType": "struct OracleInput",
1216
+ "components": [
1217
+ {
1218
+ "name": "provingCostModifier",
1219
+ "type": "int256",
1220
+ "internalType": "int256"
1221
+ },
1222
+ {
1223
+ "name": "feeAssetPriceModifier",
1224
+ "type": "int256",
1225
+ "internalType": "int256"
1226
+ }
1227
+ ]
1228
+ },
958
1229
  {
959
1230
  "name": "header",
960
1231
  "type": "bytes",
@@ -1022,6 +1293,23 @@ export const RollupAbi = [
1022
1293
  "type": "bytes32",
1023
1294
  "internalType": "bytes32"
1024
1295
  },
1296
+ {
1297
+ "name": "oracleInput",
1298
+ "type": "tuple",
1299
+ "internalType": "struct OracleInput",
1300
+ "components": [
1301
+ {
1302
+ "name": "provingCostModifier",
1303
+ "type": "int256",
1304
+ "internalType": "int256"
1305
+ },
1306
+ {
1307
+ "name": "feeAssetPriceModifier",
1308
+ "type": "int256",
1309
+ "internalType": "int256"
1310
+ }
1311
+ ]
1312
+ },
1025
1313
  {
1026
1314
  "name": "header",
1027
1315
  "type": "bytes",
@@ -1329,30 +1617,37 @@ export const RollupAbi = [
1329
1617
  "type": "function",
1330
1618
  "name": "submitEpochRootProof",
1331
1619
  "inputs": [
1332
- {
1333
- "name": "_epochSize",
1334
- "type": "uint256",
1335
- "internalType": "uint256"
1336
- },
1337
1620
  {
1338
1621
  "name": "_args",
1339
- "type": "bytes32[7]",
1340
- "internalType": "bytes32[7]"
1341
- },
1342
- {
1343
- "name": "_fees",
1344
- "type": "bytes32[]",
1345
- "internalType": "bytes32[]"
1346
- },
1347
- {
1348
- "name": "_aggregationObject",
1349
- "type": "bytes",
1350
- "internalType": "bytes"
1351
- },
1352
- {
1353
- "name": "_proof",
1354
- "type": "bytes",
1355
- "internalType": "bytes"
1622
+ "type": "tuple",
1623
+ "internalType": "struct SubmitEpochRootProofArgs",
1624
+ "components": [
1625
+ {
1626
+ "name": "epochSize",
1627
+ "type": "uint256",
1628
+ "internalType": "uint256"
1629
+ },
1630
+ {
1631
+ "name": "args",
1632
+ "type": "bytes32[7]",
1633
+ "internalType": "bytes32[7]"
1634
+ },
1635
+ {
1636
+ "name": "fees",
1637
+ "type": "bytes32[]",
1638
+ "internalType": "bytes32[]"
1639
+ },
1640
+ {
1641
+ "name": "aggregationObject",
1642
+ "type": "bytes",
1643
+ "internalType": "bytes"
1644
+ },
1645
+ {
1646
+ "name": "proof",
1647
+ "type": "bytes",
1648
+ "internalType": "bytes"
1649
+ }
1650
+ ]
1356
1651
  }
1357
1652
  ],
1358
1653
  "outputs": [],
@@ -1389,6 +1684,13 @@ export const RollupAbi = [
1389
1684
  "outputs": [],
1390
1685
  "stateMutability": "nonpayable"
1391
1686
  },
1687
+ {
1688
+ "type": "function",
1689
+ "name": "updateL1GasFeeOracle",
1690
+ "inputs": [],
1691
+ "outputs": [],
1692
+ "stateMutability": "nonpayable"
1693
+ },
1392
1694
  {
1393
1695
  "type": "function",
1394
1696
  "name": "validateEpochProofRightClaimAtTime",
@@ -1918,6 +2220,22 @@ export const RollupAbi = [
1918
2220
  }
1919
2221
  ]
1920
2222
  },
2223
+ {
2224
+ "type": "error",
2225
+ "name": "Rollup__InvalidManaBaseFee",
2226
+ "inputs": [
2227
+ {
2228
+ "name": "expected",
2229
+ "type": "uint256",
2230
+ "internalType": "uint256"
2231
+ },
2232
+ {
2233
+ "name": "actual",
2234
+ "type": "uint256",
2235
+ "internalType": "uint256"
2236
+ }
2237
+ ]
2238
+ },
1921
2239
  {
1922
2240
  "type": "error",
1923
2241
  "name": "Rollup__InvalidPreviousArchive",
@@ -2105,28 +2423,23 @@ export const RollupAbi = [
2105
2423
  },
2106
2424
  {
2107
2425
  "type": "error",
2108
- "name": "SafeERC20FailedOperation",
2426
+ "name": "SafeCastOverflowedIntToUint",
2109
2427
  "inputs": [
2110
2428
  {
2111
- "name": "token",
2112
- "type": "address",
2113
- "internalType": "address"
2429
+ "name": "value",
2430
+ "type": "int256",
2431
+ "internalType": "int256"
2114
2432
  }
2115
2433
  ]
2116
2434
  },
2117
2435
  {
2118
2436
  "type": "error",
2119
- "name": "SampleLib__IndexOutOfBounds",
2437
+ "name": "SafeERC20FailedOperation",
2120
2438
  "inputs": [
2121
2439
  {
2122
- "name": "requested",
2123
- "type": "uint256",
2124
- "internalType": "uint256"
2125
- },
2126
- {
2127
- "name": "bound",
2128
- "type": "uint256",
2129
- "internalType": "uint256"
2440
+ "name": "token",
2441
+ "type": "address",
2442
+ "internalType": "address"
2130
2443
  }
2131
2444
  ]
2132
2445
  },