Skip to content

Commit

Permalink
feat(ethereum): update core impl contract
Browse files Browse the repository at this point in the history
  • Loading branch information
Mirko-von-Leipzig committed Mar 14, 2022
1 parent d980667 commit b855b49
Showing 1 changed file with 211 additions and 10 deletions.
221 changes: 211 additions & 10 deletions crates/pathfinder/resources/contracts/core_impl.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
{
"indexed": true,
"internalType": "uint256",
"name": "from_address",
"name": "fromAddress",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "to_address",
"name": "toAddress",
"type": "address"
},
{
Expand All @@ -30,13 +30,13 @@
{
"indexed": true,
"internalType": "address",
"name": "from_address",
"name": "fromAddress",
"type": "address"
},
{
"indexed": true,
"internalType": "uint256",
"name": "to_address",
"name": "toAddress",
"type": "uint256"
},
{
Expand Down Expand Up @@ -67,13 +67,13 @@
{
"indexed": true,
"internalType": "uint256",
"name": "from_address",
"name": "fromAddress",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "to_address",
"name": "toAddress",
"type": "address"
},
{
Expand All @@ -92,13 +92,13 @@
{
"indexed": true,
"internalType": "address",
"name": "from_address",
"name": "fromAddress",
"type": "address"
},
{
"indexed": true,
"internalType": "uint256",
"name": "to_address",
"name": "toAddress",
"type": "uint256"
},
{
Expand Down Expand Up @@ -226,11 +226,126 @@
"name": "LogStateUpdate",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "fromAddress",
"type": "address"
},
{
"indexed": true,
"internalType": "uint256",
"name": "toAddress",
"type": "uint256"
},
{
"indexed": true,
"internalType": "uint256",
"name": "selector",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256[]",
"name": "payload",
"type": "uint256[]"
},
{
"indexed": false,
"internalType": "uint256",
"name": "nonce",
"type": "uint256"
}
],
"name": "MessageToL2Canceled",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "fromAddress",
"type": "address"
},
{
"indexed": true,
"internalType": "uint256",
"name": "toAddress",
"type": "uint256"
},
{
"indexed": true,
"internalType": "uint256",
"name": "selector",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256[]",
"name": "payload",
"type": "uint256[]"
},
{
"indexed": false,
"internalType": "uint256",
"name": "nonce",
"type": "uint256"
}
],
"name": "MessageToL2CancellationStarted",
"type": "event"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "toAddress",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "selector",
"type": "uint256"
},
{
"internalType": "uint256[]",
"name": "payload",
"type": "uint256[]"
},
{
"internalType": "uint256",
"name": "nonce",
"type": "uint256"
}
],
"name": "cancelL1ToL2Message",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "configHash",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "from_address",
"name": "fromAddress",
"type": "uint256"
},
{
Expand Down Expand Up @@ -328,6 +443,25 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "msgHash",
"type": "bytes32"
}
],
"name": "l1ToL2MessageCancellations",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "l1ToL2MessageNonce",
Expand Down Expand Up @@ -379,6 +513,19 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "messageCancellationDelay",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "programHash",
Expand Down Expand Up @@ -409,7 +556,7 @@
"inputs": [
{
"internalType": "uint256",
"name": "to_address",
"name": "toAddress",
"type": "uint256"
},
{
Expand All @@ -434,6 +581,32 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "newConfigHash",
"type": "uint256"
}
],
"name": "setConfigHash",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "delayInSeconds",
"type": "uint256"
}
],
"name": "setMessageCancellationDelay",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down Expand Up @@ -506,6 +679,34 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "toAddress",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "selector",
"type": "uint256"
},
{
"internalType": "uint256[]",
"name": "payload",
"type": "uint256[]"
},
{
"internalType": "uint256",
"name": "nonce",
"type": "uint256"
}
],
"name": "startL1ToL2MessageCancellation",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "stateBlockNumber",
Expand Down

0 comments on commit b855b49

Please sign in to comment.