Skip to content

Commit

Permalink
handle v26 pv and new executor interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
koloz193 committed Jan 29, 2025
1 parent 49b4084 commit 159e9a7
Show file tree
Hide file tree
Showing 8 changed files with 3,444 additions and 127 deletions.
211 changes: 211 additions & 0 deletions abis/IExecutor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,211 @@
[
{
"type": "function",
"name": "commitBatchesSharedBridge",
"inputs": [
{
"name": "_chainId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_processFrom",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_processTo",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_commitData",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "executeBatchesSharedBridge",
"inputs": [
{
"name": "_chainId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_processFrom",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_processTo",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_executeData",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "getName",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "proveBatchesSharedBridge",
"inputs": [
{
"name": "_chainId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_processBatchFrom",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_processBatchTo",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_proofData",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "revertBatchesSharedBridge",
"inputs": [
{
"name": "_chainId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_newLastBatch",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "event",
"name": "BlockCommit",
"inputs": [
{
"name": "batchNumber",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "batchHash",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "commitment",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
}
],
"anonymous": false
},
{
"type": "event",
"name": "BlockExecution",
"inputs": [
{
"name": "batchNumber",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "batchHash",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "commitment",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
}
],
"anonymous": false
},
{
"type": "event",
"name": "BlocksRevert",
"inputs": [
{
"name": "totalBatchesCommitted",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "totalBatchesVerified",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "totalBatchesExecuted",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "BlocksVerification",
"inputs": [
{
"name": "previousLastVerifiedBatch",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "currentLastVerifiedBatch",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
}
],
"anonymous": false
}
]
Loading

0 comments on commit 159e9a7

Please sign in to comment.