@aztec/l1-artifacts 0.76.3 → 0.76.4-devnet-test-rc3
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/CoinIssuerAbi.d.ts +36 -16
- package/dest/CoinIssuerAbi.d.ts.map +1 -1
- package/dest/CoinIssuerAbi.js +45 -18
- package/dest/EmpireBaseAbi.d.ts +36 -16
- package/dest/EmpireBaseAbi.d.ts.map +1 -1
- package/dest/EmpireBaseAbi.js +45 -18
- package/dest/ErrorsAbi.d.ts +36 -16
- package/dest/ErrorsAbi.d.ts.map +1 -1
- package/dest/ErrorsAbi.js +45 -18
- package/dest/ExtRollupLibAbi.d.ts +44 -16
- package/dest/ExtRollupLibAbi.d.ts.map +1 -1
- package/dest/ExtRollupLibAbi.js +56 -18
- package/dest/ExtRollupLibBytecode.d.ts +1 -1
- package/dest/ExtRollupLibBytecode.d.ts.map +1 -1
- package/dest/ExtRollupLibBytecode.js +2 -2
- package/dest/FeeJuicePortalAbi.d.ts +36 -16
- package/dest/FeeJuicePortalAbi.d.ts.map +1 -1
- package/dest/FeeJuicePortalAbi.js +45 -18
- package/dest/FeeJuicePortalBytecode.d.ts +1 -1
- package/dest/FeeJuicePortalBytecode.js +1 -1
- package/dest/ForwarderAbi.d.ts +36 -16
- package/dest/ForwarderAbi.d.ts.map +1 -1
- package/dest/ForwarderAbi.js +45 -18
- package/dest/GovernanceAbi.d.ts +36 -16
- package/dest/GovernanceAbi.d.ts.map +1 -1
- package/dest/GovernanceAbi.js +45 -18
- package/dest/GovernanceProposerAbi.d.ts +36 -16
- package/dest/GovernanceProposerAbi.d.ts.map +1 -1
- package/dest/GovernanceProposerAbi.js +45 -18
- package/dest/HonkVerifierAbi.d.ts +36 -16
- package/dest/HonkVerifierAbi.d.ts.map +1 -1
- package/dest/HonkVerifierAbi.js +45 -18
- package/dest/HonkVerifierBytecode.d.ts +1 -1
- package/dest/HonkVerifierBytecode.d.ts.map +1 -1
- package/dest/HonkVerifierBytecode.js +2 -2
- package/dest/IERC20Abi.d.ts +36 -16
- package/dest/IERC20Abi.d.ts.map +1 -1
- package/dest/IERC20Abi.js +45 -18
- package/dest/IProofCommitmentEscrowAbi.d.ts +1261 -0
- package/dest/IProofCommitmentEscrowAbi.d.ts.map +1 -0
- package/dest/IProofCommitmentEscrowAbi.js +1665 -0
- package/dest/IProofCommitmentEscrowBytecode.d.ts +9 -0
- package/dest/IProofCommitmentEscrowBytecode.d.ts.map +1 -0
- package/dest/IProofCommitmentEscrowBytecode.js +9 -0
- package/dest/IVerifierAbi.d.ts +36 -16
- package/dest/IVerifierAbi.d.ts.map +1 -1
- package/dest/IVerifierAbi.js +45 -18
- package/dest/InboxAbi.d.ts +36 -16
- package/dest/InboxAbi.d.ts.map +1 -1
- package/dest/InboxAbi.js +45 -18
- package/dest/InboxBytecode.d.ts +1 -1
- package/dest/InboxBytecode.js +1 -1
- package/dest/MockVerifierAbi.d.ts +36 -16
- package/dest/MockVerifierAbi.d.ts.map +1 -1
- package/dest/MockVerifierAbi.js +45 -18
- package/dest/NewGovernanceProposerPayloadAbi.d.ts +36 -16
- package/dest/NewGovernanceProposerPayloadAbi.d.ts.map +1 -1
- package/dest/NewGovernanceProposerPayloadAbi.js +45 -18
- package/dest/OutboxAbi.d.ts +36 -16
- package/dest/OutboxAbi.d.ts.map +1 -1
- package/dest/OutboxAbi.js +45 -18
- package/dest/OutboxBytecode.d.ts +1 -1
- package/dest/OutboxBytecode.js +1 -1
- package/dest/ProofCommitmentEscrowAbi.d.ts +1337 -0
- package/dest/ProofCommitmentEscrowAbi.d.ts.map +1 -0
- package/dest/ProofCommitmentEscrowAbi.js +1765 -0
- package/dest/ProofCommitmentEscrowBytecode.d.ts +9 -0
- package/dest/ProofCommitmentEscrowBytecode.d.ts.map +1 -0
- package/dest/ProofCommitmentEscrowBytecode.js +9 -0
- package/dest/RegistryAbi.d.ts +36 -16
- package/dest/RegistryAbi.d.ts.map +1 -1
- package/dest/RegistryAbi.js +45 -18
- package/dest/RewardDistributorAbi.d.ts +36 -34
- package/dest/RewardDistributorAbi.d.ts.map +1 -1
- package/dest/RewardDistributorAbi.js +45 -42
- package/dest/RewardDistributorBytecode.d.ts +1 -1
- package/dest/RewardDistributorBytecode.d.ts.map +1 -1
- package/dest/RewardDistributorBytecode.js +2 -2
- package/dest/RollupAbi.d.ts +399 -101
- package/dest/RollupAbi.d.ts.map +1 -1
- package/dest/RollupAbi.js +511 -128
- package/dest/RollupBytecode.d.ts +52 -43
- package/dest/RollupBytecode.d.ts.map +1 -1
- package/dest/RollupBytecode.js +56 -44
- package/dest/RollupStorage.d.ts +6 -27
- package/dest/RollupStorage.d.ts.map +1 -1
- package/dest/RollupStorage.js +7 -31
- package/dest/SlashFactoryAbi.d.ts +36 -16
- package/dest/SlashFactoryAbi.d.ts.map +1 -1
- package/dest/SlashFactoryAbi.js +45 -18
- package/dest/SlasherAbi.d.ts +36 -16
- package/dest/SlasherAbi.d.ts.map +1 -1
- package/dest/SlasherAbi.js +45 -18
- package/dest/SlashingProposerAbi.d.ts +36 -16
- package/dest/SlashingProposerAbi.d.ts.map +1 -1
- package/dest/SlashingProposerAbi.js +45 -18
- package/dest/StakingLibAbi.d.ts +36 -16
- package/dest/StakingLibAbi.d.ts.map +1 -1
- package/dest/StakingLibAbi.js +45 -18
- package/dest/StakingLibBytecode.d.ts +1 -1
- package/dest/StakingLibBytecode.js +1 -1
- package/dest/TestERC20Abi.d.ts +36 -16
- package/dest/TestERC20Abi.d.ts.map +1 -1
- package/dest/TestERC20Abi.js +45 -18
- package/dest/TokenPortalAbi.d.ts +36 -16
- package/dest/TokenPortalAbi.d.ts.map +1 -1
- package/dest/TokenPortalAbi.js +45 -18
- package/dest/TokenPortalBytecode.d.ts +1 -1
- package/dest/TokenPortalBytecode.js +1 -1
- package/dest/UniswapPortalAbi.d.ts +36 -16
- package/dest/UniswapPortalAbi.d.ts.map +1 -1
- package/dest/UniswapPortalAbi.js +45 -18
- package/dest/UniswapPortalBytecode.d.ts +1 -1
- package/dest/UniswapPortalBytecode.js +1 -1
- package/dest/ValidatorSelectionLibAbi.d.ts +36 -16
- package/dest/ValidatorSelectionLibAbi.d.ts.map +1 -1
- package/dest/ValidatorSelectionLibAbi.js +45 -18
- package/dest/ValidatorSelectionLibBytecode.d.ts +1 -1
- package/dest/ValidatorSelectionLibBytecode.js +1 -1
- package/dest/checksum.d.ts +1 -1
- package/dest/checksum.js +1 -1
- package/dest/index.d.ts +4 -0
- package/dest/index.d.ts.map +1 -1
- package/dest/index.js +5 -1
- package/generated/CoinIssuerAbi.ts +44 -17
- package/generated/EmpireBaseAbi.ts +44 -17
- package/generated/ErrorsAbi.ts +44 -17
- package/generated/ExtRollupLibAbi.ts +55 -17
- package/generated/ExtRollupLibBytecode.ts +1 -1
- package/generated/FeeJuicePortalAbi.ts +44 -17
- package/generated/FeeJuicePortalBytecode.ts +1 -1
- package/generated/ForwarderAbi.ts +44 -17
- package/generated/GovernanceAbi.ts +44 -17
- package/generated/GovernanceProposerAbi.ts +44 -17
- package/generated/HonkVerifierAbi.ts +44 -17
- package/generated/HonkVerifierBytecode.ts +1 -1
- package/generated/IERC20Abi.ts +44 -17
- package/generated/IProofCommitmentEscrowAbi.ts +1664 -0
- package/generated/IProofCommitmentEscrowBytecode.ts +8 -0
- package/generated/IVerifierAbi.ts +44 -17
- package/generated/InboxAbi.ts +44 -17
- package/generated/InboxBytecode.ts +1 -1
- package/generated/MockVerifierAbi.ts +44 -17
- package/generated/NewGovernanceProposerPayloadAbi.ts +44 -17
- package/generated/OutboxAbi.ts +44 -17
- package/generated/OutboxBytecode.ts +1 -1
- package/generated/ProofCommitmentEscrowAbi.ts +1764 -0
- package/generated/ProofCommitmentEscrowBytecode.ts +8 -0
- package/generated/RegistryAbi.ts +44 -17
- package/generated/RewardDistributorAbi.ts +44 -41
- package/generated/RewardDistributorBytecode.ts +1 -1
- package/generated/RollupAbi.ts +510 -127
- package/generated/RollupBytecode.ts +55 -43
- package/generated/RollupStorage.ts +6 -30
- package/generated/SlashFactoryAbi.ts +44 -17
- package/generated/SlasherAbi.ts +44 -17
- package/generated/SlashingProposerAbi.ts +44 -17
- package/generated/StakingLibAbi.ts +44 -17
- package/generated/StakingLibBytecode.ts +1 -1
- package/generated/TestERC20Abi.ts +44 -17
- package/generated/TokenPortalAbi.ts +44 -17
- package/generated/TokenPortalBytecode.ts +1 -1
- package/generated/UniswapPortalAbi.ts +44 -17
- package/generated/UniswapPortalBytecode.ts +1 -1
- package/generated/ValidatorSelectionLibAbi.ts +44 -17
- package/generated/ValidatorSelectionLibBytecode.ts +1 -1
- package/generated/checksum.ts +1 -1
- package/generated/index.ts +4 -0
- package/package.json +1 -1
package/generated/RollupAbi.ts
CHANGED
|
@@ -56,7 +56,7 @@ export const RollupAbi = [
|
|
|
56
56
|
"internalType": "uint256"
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
|
-
"name": "
|
|
59
|
+
"name": "aztecEpochProofClaimWindowInL2Slots",
|
|
60
60
|
"type": "uint256",
|
|
61
61
|
"internalType": "uint256"
|
|
62
62
|
},
|
|
@@ -93,6 +93,19 @@ export const RollupAbi = [
|
|
|
93
93
|
],
|
|
94
94
|
"stateMutability": "view"
|
|
95
95
|
},
|
|
96
|
+
{
|
|
97
|
+
"type": "function",
|
|
98
|
+
"name": "CLAIM_DURATION_IN_L2_SLOTS",
|
|
99
|
+
"inputs": [],
|
|
100
|
+
"outputs": [
|
|
101
|
+
{
|
|
102
|
+
"name": "",
|
|
103
|
+
"type": "uint256",
|
|
104
|
+
"internalType": "uint256"
|
|
105
|
+
}
|
|
106
|
+
],
|
|
107
|
+
"stateMutability": "view"
|
|
108
|
+
},
|
|
96
109
|
{
|
|
97
110
|
"type": "function",
|
|
98
111
|
"name": "CUAUHXICALLI",
|
|
@@ -1004,6 +1017,32 @@ export const RollupAbi = [
|
|
|
1004
1017
|
],
|
|
1005
1018
|
"anonymous": false
|
|
1006
1019
|
},
|
|
1020
|
+
{
|
|
1021
|
+
"type": "function",
|
|
1022
|
+
"name": "PROOF_COMMITMENT_ESCROW",
|
|
1023
|
+
"inputs": [],
|
|
1024
|
+
"outputs": [
|
|
1025
|
+
{
|
|
1026
|
+
"name": "",
|
|
1027
|
+
"type": "address",
|
|
1028
|
+
"internalType": "contract IProofCommitmentEscrow"
|
|
1029
|
+
}
|
|
1030
|
+
],
|
|
1031
|
+
"stateMutability": "view"
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
"type": "function",
|
|
1035
|
+
"name": "PROOF_COMMITMENT_MIN_BOND_AMOUNT_IN_TST",
|
|
1036
|
+
"inputs": [],
|
|
1037
|
+
"outputs": [
|
|
1038
|
+
{
|
|
1039
|
+
"name": "",
|
|
1040
|
+
"type": "uint256",
|
|
1041
|
+
"internalType": "uint256"
|
|
1042
|
+
}
|
|
1043
|
+
],
|
|
1044
|
+
"stateMutability": "view"
|
|
1045
|
+
},
|
|
1007
1046
|
{
|
|
1008
1047
|
"type": "error",
|
|
1009
1048
|
"name": "ProofCommitmentEscrow__InsufficientBalance",
|
|
@@ -1047,6 +1086,43 @@ export const RollupAbi = [
|
|
|
1047
1086
|
}
|
|
1048
1087
|
]
|
|
1049
1088
|
},
|
|
1089
|
+
{
|
|
1090
|
+
"type": "event",
|
|
1091
|
+
"name": "ProofRightClaimed",
|
|
1092
|
+
"inputs": [
|
|
1093
|
+
{
|
|
1094
|
+
"name": "epoch",
|
|
1095
|
+
"type": "uint256",
|
|
1096
|
+
"indexed": true,
|
|
1097
|
+
"internalType": "Epoch"
|
|
1098
|
+
},
|
|
1099
|
+
{
|
|
1100
|
+
"name": "bondProvider",
|
|
1101
|
+
"type": "address",
|
|
1102
|
+
"indexed": true,
|
|
1103
|
+
"internalType": "address"
|
|
1104
|
+
},
|
|
1105
|
+
{
|
|
1106
|
+
"name": "proposer",
|
|
1107
|
+
"type": "address",
|
|
1108
|
+
"indexed": true,
|
|
1109
|
+
"internalType": "address"
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
"name": "bondAmount",
|
|
1113
|
+
"type": "uint256",
|
|
1114
|
+
"indexed": false,
|
|
1115
|
+
"internalType": "uint256"
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
"name": "currentSlot",
|
|
1119
|
+
"type": "uint256",
|
|
1120
|
+
"indexed": false,
|
|
1121
|
+
"internalType": "Slot"
|
|
1122
|
+
}
|
|
1123
|
+
],
|
|
1124
|
+
"anonymous": false
|
|
1125
|
+
},
|
|
1050
1126
|
{
|
|
1051
1127
|
"type": "event",
|
|
1052
1128
|
"name": "PrunedPending",
|
|
@@ -1417,51 +1493,78 @@ export const RollupAbi = [
|
|
|
1417
1493
|
},
|
|
1418
1494
|
{
|
|
1419
1495
|
"type": "error",
|
|
1420
|
-
"name": "
|
|
1421
|
-
"inputs": []
|
|
1422
|
-
},
|
|
1423
|
-
{
|
|
1424
|
-
"type": "error",
|
|
1425
|
-
"name": "Rollup__SlotAlreadyInChain",
|
|
1496
|
+
"name": "Rollup__NotClaimingCorrectEpoch",
|
|
1426
1497
|
"inputs": [
|
|
1427
1498
|
{
|
|
1428
|
-
"name": "
|
|
1499
|
+
"name": "expected",
|
|
1429
1500
|
"type": "uint256",
|
|
1430
|
-
"internalType": "
|
|
1501
|
+
"internalType": "Epoch"
|
|
1431
1502
|
},
|
|
1432
1503
|
{
|
|
1433
|
-
"name": "
|
|
1504
|
+
"name": "actual",
|
|
1434
1505
|
"type": "uint256",
|
|
1435
|
-
"internalType": "
|
|
1506
|
+
"internalType": "Epoch"
|
|
1436
1507
|
}
|
|
1437
1508
|
]
|
|
1438
1509
|
},
|
|
1439
1510
|
{
|
|
1440
1511
|
"type": "error",
|
|
1441
|
-
"name": "
|
|
1512
|
+
"name": "Rollup__NotInClaimPhase",
|
|
1442
1513
|
"inputs": [
|
|
1443
1514
|
{
|
|
1444
|
-
"name": "
|
|
1515
|
+
"name": "currentSlotInEpoch",
|
|
1445
1516
|
"type": "uint256",
|
|
1446
|
-
"internalType": "
|
|
1517
|
+
"internalType": "uint256"
|
|
1447
1518
|
},
|
|
1448
1519
|
{
|
|
1449
|
-
"name": "
|
|
1520
|
+
"name": "claimDuration",
|
|
1450
1521
|
"type": "uint256",
|
|
1451
|
-
"internalType": "
|
|
1522
|
+
"internalType": "uint256"
|
|
1452
1523
|
}
|
|
1453
1524
|
]
|
|
1454
1525
|
},
|
|
1455
1526
|
{
|
|
1456
1527
|
"type": "error",
|
|
1457
|
-
"name": "
|
|
1528
|
+
"name": "Rollup__NothingToPrune",
|
|
1458
1529
|
"inputs": []
|
|
1459
1530
|
},
|
|
1460
1531
|
{
|
|
1461
1532
|
"type": "error",
|
|
1462
|
-
"name": "
|
|
1533
|
+
"name": "Rollup__ProofRightAlreadyClaimed",
|
|
1463
1534
|
"inputs": []
|
|
1464
1535
|
},
|
|
1536
|
+
{
|
|
1537
|
+
"type": "error",
|
|
1538
|
+
"name": "Rollup__QuoteExpired",
|
|
1539
|
+
"inputs": [
|
|
1540
|
+
{
|
|
1541
|
+
"name": "currentSlot",
|
|
1542
|
+
"type": "uint256",
|
|
1543
|
+
"internalType": "Slot"
|
|
1544
|
+
},
|
|
1545
|
+
{
|
|
1546
|
+
"name": "quoteSlot",
|
|
1547
|
+
"type": "uint256",
|
|
1548
|
+
"internalType": "Slot"
|
|
1549
|
+
}
|
|
1550
|
+
]
|
|
1551
|
+
},
|
|
1552
|
+
{
|
|
1553
|
+
"type": "error",
|
|
1554
|
+
"name": "Rollup__SlotAlreadyInChain",
|
|
1555
|
+
"inputs": [
|
|
1556
|
+
{
|
|
1557
|
+
"name": "lastSlot",
|
|
1558
|
+
"type": "uint256",
|
|
1559
|
+
"internalType": "Slot"
|
|
1560
|
+
},
|
|
1561
|
+
{
|
|
1562
|
+
"name": "proposedSlot",
|
|
1563
|
+
"type": "uint256",
|
|
1564
|
+
"internalType": "Slot"
|
|
1565
|
+
}
|
|
1566
|
+
]
|
|
1567
|
+
},
|
|
1465
1568
|
{
|
|
1466
1569
|
"type": "error",
|
|
1467
1570
|
"name": "Rollup__TimestampInFuture",
|
|
@@ -2020,6 +2123,80 @@ export const RollupAbi = [
|
|
|
2020
2123
|
],
|
|
2021
2124
|
"stateMutability": "view"
|
|
2022
2125
|
},
|
|
2126
|
+
{
|
|
2127
|
+
"type": "function",
|
|
2128
|
+
"name": "claimEpochProofRight",
|
|
2129
|
+
"inputs": [
|
|
2130
|
+
{
|
|
2131
|
+
"name": "_quote",
|
|
2132
|
+
"type": "tuple",
|
|
2133
|
+
"internalType": "struct SignedEpochProofQuote",
|
|
2134
|
+
"components": [
|
|
2135
|
+
{
|
|
2136
|
+
"name": "quote",
|
|
2137
|
+
"type": "tuple",
|
|
2138
|
+
"internalType": "struct EpochProofQuote",
|
|
2139
|
+
"components": [
|
|
2140
|
+
{
|
|
2141
|
+
"name": "epochToProve",
|
|
2142
|
+
"type": "uint256",
|
|
2143
|
+
"internalType": "Epoch"
|
|
2144
|
+
},
|
|
2145
|
+
{
|
|
2146
|
+
"name": "validUntilSlot",
|
|
2147
|
+
"type": "uint256",
|
|
2148
|
+
"internalType": "Slot"
|
|
2149
|
+
},
|
|
2150
|
+
{
|
|
2151
|
+
"name": "bondAmount",
|
|
2152
|
+
"type": "uint256",
|
|
2153
|
+
"internalType": "uint256"
|
|
2154
|
+
},
|
|
2155
|
+
{
|
|
2156
|
+
"name": "prover",
|
|
2157
|
+
"type": "address",
|
|
2158
|
+
"internalType": "address"
|
|
2159
|
+
},
|
|
2160
|
+
{
|
|
2161
|
+
"name": "basisPointFee",
|
|
2162
|
+
"type": "uint32",
|
|
2163
|
+
"internalType": "uint32"
|
|
2164
|
+
}
|
|
2165
|
+
]
|
|
2166
|
+
},
|
|
2167
|
+
{
|
|
2168
|
+
"name": "signature",
|
|
2169
|
+
"type": "tuple",
|
|
2170
|
+
"internalType": "struct Signature",
|
|
2171
|
+
"components": [
|
|
2172
|
+
{
|
|
2173
|
+
"name": "isEmpty",
|
|
2174
|
+
"type": "bool",
|
|
2175
|
+
"internalType": "bool"
|
|
2176
|
+
},
|
|
2177
|
+
{
|
|
2178
|
+
"name": "v",
|
|
2179
|
+
"type": "uint8",
|
|
2180
|
+
"internalType": "uint8"
|
|
2181
|
+
},
|
|
2182
|
+
{
|
|
2183
|
+
"name": "r",
|
|
2184
|
+
"type": "bytes32",
|
|
2185
|
+
"internalType": "bytes32"
|
|
2186
|
+
},
|
|
2187
|
+
{
|
|
2188
|
+
"name": "s",
|
|
2189
|
+
"type": "bytes32",
|
|
2190
|
+
"internalType": "bytes32"
|
|
2191
|
+
}
|
|
2192
|
+
]
|
|
2193
|
+
}
|
|
2194
|
+
]
|
|
2195
|
+
}
|
|
2196
|
+
],
|
|
2197
|
+
"outputs": [],
|
|
2198
|
+
"stateMutability": "nonpayable"
|
|
2199
|
+
},
|
|
2023
2200
|
{
|
|
2024
2201
|
"type": "function",
|
|
2025
2202
|
"name": "deposit",
|
|
@@ -2238,19 +2415,13 @@ export const RollupAbi = [
|
|
|
2238
2415
|
},
|
|
2239
2416
|
{
|
|
2240
2417
|
"type": "function",
|
|
2241
|
-
"name": "
|
|
2242
|
-
"inputs": [
|
|
2243
|
-
{
|
|
2244
|
-
"name": "_epoch",
|
|
2245
|
-
"type": "uint256",
|
|
2246
|
-
"internalType": "Epoch"
|
|
2247
|
-
}
|
|
2248
|
-
],
|
|
2418
|
+
"name": "getClaimableEpoch",
|
|
2419
|
+
"inputs": [],
|
|
2249
2420
|
"outputs": [
|
|
2250
2421
|
{
|
|
2251
2422
|
"name": "",
|
|
2252
2423
|
"type": "uint256",
|
|
2253
|
-
"internalType": "
|
|
2424
|
+
"internalType": "Epoch"
|
|
2254
2425
|
}
|
|
2255
2426
|
],
|
|
2256
2427
|
"stateMutability": "view"
|
|
@@ -2433,12 +2604,7 @@ export const RollupAbi = [
|
|
|
2433
2604
|
"name": "getEpochProofPublicInputs",
|
|
2434
2605
|
"inputs": [
|
|
2435
2606
|
{
|
|
2436
|
-
"name": "
|
|
2437
|
-
"type": "uint256",
|
|
2438
|
-
"internalType": "uint256"
|
|
2439
|
-
},
|
|
2440
|
-
{
|
|
2441
|
-
"name": "_end",
|
|
2607
|
+
"name": "_epochSize",
|
|
2442
2608
|
"type": "uint256",
|
|
2443
2609
|
"internalType": "uint256"
|
|
2444
2610
|
},
|
|
@@ -2555,35 +2721,6 @@ export const RollupAbi = [
|
|
|
2555
2721
|
],
|
|
2556
2722
|
"stateMutability": "view"
|
|
2557
2723
|
},
|
|
2558
|
-
{
|
|
2559
|
-
"type": "function",
|
|
2560
|
-
"name": "getHasSubmitted",
|
|
2561
|
-
"inputs": [
|
|
2562
|
-
{
|
|
2563
|
-
"name": "_epoch",
|
|
2564
|
-
"type": "uint256",
|
|
2565
|
-
"internalType": "Epoch"
|
|
2566
|
-
},
|
|
2567
|
-
{
|
|
2568
|
-
"name": "_length",
|
|
2569
|
-
"type": "uint256",
|
|
2570
|
-
"internalType": "uint256"
|
|
2571
|
-
},
|
|
2572
|
-
{
|
|
2573
|
-
"name": "_prover",
|
|
2574
|
-
"type": "address",
|
|
2575
|
-
"internalType": "address"
|
|
2576
|
-
}
|
|
2577
|
-
],
|
|
2578
|
-
"outputs": [
|
|
2579
|
-
{
|
|
2580
|
-
"name": "",
|
|
2581
|
-
"type": "bool",
|
|
2582
|
-
"internalType": "bool"
|
|
2583
|
-
}
|
|
2584
|
-
],
|
|
2585
|
-
"stateMutability": "view"
|
|
2586
|
-
},
|
|
2587
2724
|
{
|
|
2588
2725
|
"type": "function",
|
|
2589
2726
|
"name": "getInfo",
|
|
@@ -2790,13 +2927,40 @@ export const RollupAbi = [
|
|
|
2790
2927
|
},
|
|
2791
2928
|
{
|
|
2792
2929
|
"type": "function",
|
|
2793
|
-
"name": "
|
|
2930
|
+
"name": "getProofClaim",
|
|
2794
2931
|
"inputs": [],
|
|
2795
2932
|
"outputs": [
|
|
2796
2933
|
{
|
|
2797
2934
|
"name": "",
|
|
2798
|
-
"type": "
|
|
2799
|
-
"internalType": "
|
|
2935
|
+
"type": "tuple",
|
|
2936
|
+
"internalType": "struct DataStructures.EpochProofClaim",
|
|
2937
|
+
"components": [
|
|
2938
|
+
{
|
|
2939
|
+
"name": "epochToProve",
|
|
2940
|
+
"type": "uint256",
|
|
2941
|
+
"internalType": "Epoch"
|
|
2942
|
+
},
|
|
2943
|
+
{
|
|
2944
|
+
"name": "basisPointFee",
|
|
2945
|
+
"type": "uint256",
|
|
2946
|
+
"internalType": "uint256"
|
|
2947
|
+
},
|
|
2948
|
+
{
|
|
2949
|
+
"name": "bondAmount",
|
|
2950
|
+
"type": "uint256",
|
|
2951
|
+
"internalType": "uint256"
|
|
2952
|
+
},
|
|
2953
|
+
{
|
|
2954
|
+
"name": "bondProvider",
|
|
2955
|
+
"type": "address",
|
|
2956
|
+
"internalType": "address"
|
|
2957
|
+
},
|
|
2958
|
+
{
|
|
2959
|
+
"name": "proposerClaimant",
|
|
2960
|
+
"type": "address",
|
|
2961
|
+
"internalType": "address"
|
|
2962
|
+
}
|
|
2963
|
+
]
|
|
2800
2964
|
}
|
|
2801
2965
|
],
|
|
2802
2966
|
"stateMutability": "view"
|
|
@@ -2871,19 +3035,6 @@ export const RollupAbi = [
|
|
|
2871
3035
|
],
|
|
2872
3036
|
"stateMutability": "view"
|
|
2873
3037
|
},
|
|
2874
|
-
{
|
|
2875
|
-
"type": "function",
|
|
2876
|
-
"name": "getProvingCostPerMana",
|
|
2877
|
-
"inputs": [],
|
|
2878
|
-
"outputs": [
|
|
2879
|
-
{
|
|
2880
|
-
"name": "",
|
|
2881
|
-
"type": "uint256",
|
|
2882
|
-
"internalType": "uint256"
|
|
2883
|
-
}
|
|
2884
|
-
],
|
|
2885
|
-
"stateMutability": "view"
|
|
2886
|
-
},
|
|
2887
3038
|
{
|
|
2888
3039
|
"type": "function",
|
|
2889
3040
|
"name": "getSampleSeedAt",
|
|
@@ -2903,25 +3054,6 @@ export const RollupAbi = [
|
|
|
2903
3054
|
],
|
|
2904
3055
|
"stateMutability": "view"
|
|
2905
3056
|
},
|
|
2906
|
-
{
|
|
2907
|
-
"type": "function",
|
|
2908
|
-
"name": "getSequencerRewards",
|
|
2909
|
-
"inputs": [
|
|
2910
|
-
{
|
|
2911
|
-
"name": "_sequencer",
|
|
2912
|
-
"type": "address",
|
|
2913
|
-
"internalType": "address"
|
|
2914
|
-
}
|
|
2915
|
-
],
|
|
2916
|
-
"outputs": [
|
|
2917
|
-
{
|
|
2918
|
-
"name": "",
|
|
2919
|
-
"type": "uint256",
|
|
2920
|
-
"internalType": "uint256"
|
|
2921
|
-
}
|
|
2922
|
-
],
|
|
2923
|
-
"stateMutability": "view"
|
|
2924
|
-
},
|
|
2925
3057
|
{
|
|
2926
3058
|
"type": "function",
|
|
2927
3059
|
"name": "getSlasher",
|
|
@@ -2967,30 +3099,6 @@ export const RollupAbi = [
|
|
|
2967
3099
|
],
|
|
2968
3100
|
"stateMutability": "view"
|
|
2969
3101
|
},
|
|
2970
|
-
{
|
|
2971
|
-
"type": "function",
|
|
2972
|
-
"name": "getSpecificProverRewardsForEpoch",
|
|
2973
|
-
"inputs": [
|
|
2974
|
-
{
|
|
2975
|
-
"name": "_epoch",
|
|
2976
|
-
"type": "uint256",
|
|
2977
|
-
"internalType": "Epoch"
|
|
2978
|
-
},
|
|
2979
|
-
{
|
|
2980
|
-
"name": "_prover",
|
|
2981
|
-
"type": "address",
|
|
2982
|
-
"internalType": "address"
|
|
2983
|
-
}
|
|
2984
|
-
],
|
|
2985
|
-
"outputs": [
|
|
2986
|
-
{
|
|
2987
|
-
"name": "",
|
|
2988
|
-
"type": "uint256",
|
|
2989
|
-
"internalType": "uint256"
|
|
2990
|
-
}
|
|
2991
|
-
],
|
|
2992
|
-
"stateMutability": "view"
|
|
2993
|
-
},
|
|
2994
3102
|
{
|
|
2995
3103
|
"type": "function",
|
|
2996
3104
|
"name": "getStakingAsset",
|
|
@@ -3187,6 +3295,161 @@ export const RollupAbi = [
|
|
|
3187
3295
|
"outputs": [],
|
|
3188
3296
|
"stateMutability": "nonpayable"
|
|
3189
3297
|
},
|
|
3298
|
+
{
|
|
3299
|
+
"type": "function",
|
|
3300
|
+
"name": "proposeAndClaim",
|
|
3301
|
+
"inputs": [
|
|
3302
|
+
{
|
|
3303
|
+
"name": "_args",
|
|
3304
|
+
"type": "tuple",
|
|
3305
|
+
"internalType": "struct ProposeArgs",
|
|
3306
|
+
"components": [
|
|
3307
|
+
{
|
|
3308
|
+
"name": "archive",
|
|
3309
|
+
"type": "bytes32",
|
|
3310
|
+
"internalType": "bytes32"
|
|
3311
|
+
},
|
|
3312
|
+
{
|
|
3313
|
+
"name": "blockHash",
|
|
3314
|
+
"type": "bytes32",
|
|
3315
|
+
"internalType": "bytes32"
|
|
3316
|
+
},
|
|
3317
|
+
{
|
|
3318
|
+
"name": "oracleInput",
|
|
3319
|
+
"type": "tuple",
|
|
3320
|
+
"internalType": "struct OracleInput",
|
|
3321
|
+
"components": [
|
|
3322
|
+
{
|
|
3323
|
+
"name": "provingCostModifier",
|
|
3324
|
+
"type": "int256",
|
|
3325
|
+
"internalType": "int256"
|
|
3326
|
+
},
|
|
3327
|
+
{
|
|
3328
|
+
"name": "feeAssetPriceModifier",
|
|
3329
|
+
"type": "int256",
|
|
3330
|
+
"internalType": "int256"
|
|
3331
|
+
}
|
|
3332
|
+
]
|
|
3333
|
+
},
|
|
3334
|
+
{
|
|
3335
|
+
"name": "header",
|
|
3336
|
+
"type": "bytes",
|
|
3337
|
+
"internalType": "bytes"
|
|
3338
|
+
},
|
|
3339
|
+
{
|
|
3340
|
+
"name": "txHashes",
|
|
3341
|
+
"type": "bytes32[]",
|
|
3342
|
+
"internalType": "bytes32[]"
|
|
3343
|
+
}
|
|
3344
|
+
]
|
|
3345
|
+
},
|
|
3346
|
+
{
|
|
3347
|
+
"name": "_signatures",
|
|
3348
|
+
"type": "tuple[]",
|
|
3349
|
+
"internalType": "struct Signature[]",
|
|
3350
|
+
"components": [
|
|
3351
|
+
{
|
|
3352
|
+
"name": "isEmpty",
|
|
3353
|
+
"type": "bool",
|
|
3354
|
+
"internalType": "bool"
|
|
3355
|
+
},
|
|
3356
|
+
{
|
|
3357
|
+
"name": "v",
|
|
3358
|
+
"type": "uint8",
|
|
3359
|
+
"internalType": "uint8"
|
|
3360
|
+
},
|
|
3361
|
+
{
|
|
3362
|
+
"name": "r",
|
|
3363
|
+
"type": "bytes32",
|
|
3364
|
+
"internalType": "bytes32"
|
|
3365
|
+
},
|
|
3366
|
+
{
|
|
3367
|
+
"name": "s",
|
|
3368
|
+
"type": "bytes32",
|
|
3369
|
+
"internalType": "bytes32"
|
|
3370
|
+
}
|
|
3371
|
+
]
|
|
3372
|
+
},
|
|
3373
|
+
{
|
|
3374
|
+
"name": "_body",
|
|
3375
|
+
"type": "bytes",
|
|
3376
|
+
"internalType": "bytes"
|
|
3377
|
+
},
|
|
3378
|
+
{
|
|
3379
|
+
"name": "_blobInput",
|
|
3380
|
+
"type": "bytes",
|
|
3381
|
+
"internalType": "bytes"
|
|
3382
|
+
},
|
|
3383
|
+
{
|
|
3384
|
+
"name": "_quote",
|
|
3385
|
+
"type": "tuple",
|
|
3386
|
+
"internalType": "struct SignedEpochProofQuote",
|
|
3387
|
+
"components": [
|
|
3388
|
+
{
|
|
3389
|
+
"name": "quote",
|
|
3390
|
+
"type": "tuple",
|
|
3391
|
+
"internalType": "struct EpochProofQuote",
|
|
3392
|
+
"components": [
|
|
3393
|
+
{
|
|
3394
|
+
"name": "epochToProve",
|
|
3395
|
+
"type": "uint256",
|
|
3396
|
+
"internalType": "Epoch"
|
|
3397
|
+
},
|
|
3398
|
+
{
|
|
3399
|
+
"name": "validUntilSlot",
|
|
3400
|
+
"type": "uint256",
|
|
3401
|
+
"internalType": "Slot"
|
|
3402
|
+
},
|
|
3403
|
+
{
|
|
3404
|
+
"name": "bondAmount",
|
|
3405
|
+
"type": "uint256",
|
|
3406
|
+
"internalType": "uint256"
|
|
3407
|
+
},
|
|
3408
|
+
{
|
|
3409
|
+
"name": "prover",
|
|
3410
|
+
"type": "address",
|
|
3411
|
+
"internalType": "address"
|
|
3412
|
+
},
|
|
3413
|
+
{
|
|
3414
|
+
"name": "basisPointFee",
|
|
3415
|
+
"type": "uint32",
|
|
3416
|
+
"internalType": "uint32"
|
|
3417
|
+
}
|
|
3418
|
+
]
|
|
3419
|
+
},
|
|
3420
|
+
{
|
|
3421
|
+
"name": "signature",
|
|
3422
|
+
"type": "tuple",
|
|
3423
|
+
"internalType": "struct Signature",
|
|
3424
|
+
"components": [
|
|
3425
|
+
{
|
|
3426
|
+
"name": "isEmpty",
|
|
3427
|
+
"type": "bool",
|
|
3428
|
+
"internalType": "bool"
|
|
3429
|
+
},
|
|
3430
|
+
{
|
|
3431
|
+
"name": "v",
|
|
3432
|
+
"type": "uint8",
|
|
3433
|
+
"internalType": "uint8"
|
|
3434
|
+
},
|
|
3435
|
+
{
|
|
3436
|
+
"name": "r",
|
|
3437
|
+
"type": "bytes32",
|
|
3438
|
+
"internalType": "bytes32"
|
|
3439
|
+
},
|
|
3440
|
+
{
|
|
3441
|
+
"name": "s",
|
|
3442
|
+
"type": "bytes32",
|
|
3443
|
+
"internalType": "bytes32"
|
|
3444
|
+
}
|
|
3445
|
+
]
|
|
3446
|
+
}
|
|
3447
|
+
]
|
|
3448
|
+
}
|
|
3449
|
+
],
|
|
3450
|
+
"outputs": [],
|
|
3451
|
+
"stateMutability": "nonpayable"
|
|
3452
|
+
},
|
|
3190
3453
|
{
|
|
3191
3454
|
"type": "function",
|
|
3192
3455
|
"name": "prune",
|
|
@@ -3194,6 +3457,52 @@ export const RollupAbi = [
|
|
|
3194
3457
|
"outputs": [],
|
|
3195
3458
|
"stateMutability": "nonpayable"
|
|
3196
3459
|
},
|
|
3460
|
+
{
|
|
3461
|
+
"type": "function",
|
|
3462
|
+
"name": "quoteToDigest",
|
|
3463
|
+
"inputs": [
|
|
3464
|
+
{
|
|
3465
|
+
"name": "_quote",
|
|
3466
|
+
"type": "tuple",
|
|
3467
|
+
"internalType": "struct EpochProofQuote",
|
|
3468
|
+
"components": [
|
|
3469
|
+
{
|
|
3470
|
+
"name": "epochToProve",
|
|
3471
|
+
"type": "uint256",
|
|
3472
|
+
"internalType": "Epoch"
|
|
3473
|
+
},
|
|
3474
|
+
{
|
|
3475
|
+
"name": "validUntilSlot",
|
|
3476
|
+
"type": "uint256",
|
|
3477
|
+
"internalType": "Slot"
|
|
3478
|
+
},
|
|
3479
|
+
{
|
|
3480
|
+
"name": "bondAmount",
|
|
3481
|
+
"type": "uint256",
|
|
3482
|
+
"internalType": "uint256"
|
|
3483
|
+
},
|
|
3484
|
+
{
|
|
3485
|
+
"name": "prover",
|
|
3486
|
+
"type": "address",
|
|
3487
|
+
"internalType": "address"
|
|
3488
|
+
},
|
|
3489
|
+
{
|
|
3490
|
+
"name": "basisPointFee",
|
|
3491
|
+
"type": "uint32",
|
|
3492
|
+
"internalType": "uint32"
|
|
3493
|
+
}
|
|
3494
|
+
]
|
|
3495
|
+
}
|
|
3496
|
+
],
|
|
3497
|
+
"outputs": [
|
|
3498
|
+
{
|
|
3499
|
+
"name": "",
|
|
3500
|
+
"type": "bytes32",
|
|
3501
|
+
"internalType": "bytes32"
|
|
3502
|
+
}
|
|
3503
|
+
],
|
|
3504
|
+
"stateMutability": "view"
|
|
3505
|
+
},
|
|
3197
3506
|
{
|
|
3198
3507
|
"type": "function",
|
|
3199
3508
|
"name": "renounceOwnership",
|
|
@@ -3332,12 +3641,7 @@ export const RollupAbi = [
|
|
|
3332
3641
|
"internalType": "struct SubmitEpochRootProofArgs",
|
|
3333
3642
|
"components": [
|
|
3334
3643
|
{
|
|
3335
|
-
"name": "
|
|
3336
|
-
"type": "uint256",
|
|
3337
|
-
"internalType": "uint256"
|
|
3338
|
-
},
|
|
3339
|
-
{
|
|
3340
|
-
"name": "end",
|
|
3644
|
+
"name": "epochSize",
|
|
3341
3645
|
"type": "uint256",
|
|
3342
3646
|
"internalType": "uint256"
|
|
3343
3647
|
},
|
|
@@ -3421,6 +3725,85 @@ export const RollupAbi = [
|
|
|
3421
3725
|
],
|
|
3422
3726
|
"stateMutability": "view"
|
|
3423
3727
|
},
|
|
3728
|
+
{
|
|
3729
|
+
"type": "function",
|
|
3730
|
+
"name": "validateEpochProofRightClaimAtTime",
|
|
3731
|
+
"inputs": [
|
|
3732
|
+
{
|
|
3733
|
+
"name": "_ts",
|
|
3734
|
+
"type": "uint256",
|
|
3735
|
+
"internalType": "Timestamp"
|
|
3736
|
+
},
|
|
3737
|
+
{
|
|
3738
|
+
"name": "_quote",
|
|
3739
|
+
"type": "tuple",
|
|
3740
|
+
"internalType": "struct SignedEpochProofQuote",
|
|
3741
|
+
"components": [
|
|
3742
|
+
{
|
|
3743
|
+
"name": "quote",
|
|
3744
|
+
"type": "tuple",
|
|
3745
|
+
"internalType": "struct EpochProofQuote",
|
|
3746
|
+
"components": [
|
|
3747
|
+
{
|
|
3748
|
+
"name": "epochToProve",
|
|
3749
|
+
"type": "uint256",
|
|
3750
|
+
"internalType": "Epoch"
|
|
3751
|
+
},
|
|
3752
|
+
{
|
|
3753
|
+
"name": "validUntilSlot",
|
|
3754
|
+
"type": "uint256",
|
|
3755
|
+
"internalType": "Slot"
|
|
3756
|
+
},
|
|
3757
|
+
{
|
|
3758
|
+
"name": "bondAmount",
|
|
3759
|
+
"type": "uint256",
|
|
3760
|
+
"internalType": "uint256"
|
|
3761
|
+
},
|
|
3762
|
+
{
|
|
3763
|
+
"name": "prover",
|
|
3764
|
+
"type": "address",
|
|
3765
|
+
"internalType": "address"
|
|
3766
|
+
},
|
|
3767
|
+
{
|
|
3768
|
+
"name": "basisPointFee",
|
|
3769
|
+
"type": "uint32",
|
|
3770
|
+
"internalType": "uint32"
|
|
3771
|
+
}
|
|
3772
|
+
]
|
|
3773
|
+
},
|
|
3774
|
+
{
|
|
3775
|
+
"name": "signature",
|
|
3776
|
+
"type": "tuple",
|
|
3777
|
+
"internalType": "struct Signature",
|
|
3778
|
+
"components": [
|
|
3779
|
+
{
|
|
3780
|
+
"name": "isEmpty",
|
|
3781
|
+
"type": "bool",
|
|
3782
|
+
"internalType": "bool"
|
|
3783
|
+
},
|
|
3784
|
+
{
|
|
3785
|
+
"name": "v",
|
|
3786
|
+
"type": "uint8",
|
|
3787
|
+
"internalType": "uint8"
|
|
3788
|
+
},
|
|
3789
|
+
{
|
|
3790
|
+
"name": "r",
|
|
3791
|
+
"type": "bytes32",
|
|
3792
|
+
"internalType": "bytes32"
|
|
3793
|
+
},
|
|
3794
|
+
{
|
|
3795
|
+
"name": "s",
|
|
3796
|
+
"type": "bytes32",
|
|
3797
|
+
"internalType": "bytes32"
|
|
3798
|
+
}
|
|
3799
|
+
]
|
|
3800
|
+
}
|
|
3801
|
+
]
|
|
3802
|
+
}
|
|
3803
|
+
],
|
|
3804
|
+
"outputs": [],
|
|
3805
|
+
"stateMutability": "view"
|
|
3806
|
+
},
|
|
3424
3807
|
{
|
|
3425
3808
|
"type": "function",
|
|
3426
3809
|
"name": "validateHeader",
|