-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #538 from maticnetwork/jdkanani/change-checkpoint-…
…sig-mainnet chg: change rootchain submitHeaderBlock interface (Mainnet v1 changes)
- Loading branch information
Showing
10 changed files
with
135 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,141 +1,138 @@ | ||
[ | ||
{ | ||
"anonymous": false, | ||
"constant": true, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "proposer", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "uint256", | ||
"name": "headerBlockId", | ||
"name": "", | ||
"type": "uint256" | ||
}, | ||
} | ||
], | ||
"name": "headerBlocks", | ||
"outputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "uint256", | ||
"name": "reward", | ||
"type": "uint256" | ||
"name": "root", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "start", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "end", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "bytes32", | ||
"name": "root", | ||
"type": "bytes32" | ||
"name": "createdAt", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"name": "proposer", | ||
"type": "address" | ||
} | ||
], | ||
"name": "NewHeaderBlock", | ||
"type": "event" | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": false, | ||
"inputs": [ | ||
{ | ||
"internalType": "bytes", | ||
"name": "data", | ||
"type": "bytes" | ||
}, | ||
{ | ||
"internalType": "bytes", | ||
"name": "sigs", | ||
"type": "bytes" | ||
"type": "uint256[3][]" | ||
} | ||
], | ||
"name": "submitHeaderBlock", | ||
"name": "submitCheckpoint", | ||
"outputs": [], | ||
"payable": false, | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "_nextHeaderBlock", | ||
"outputs": [ | ||
"constant": false, | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
"name": "data", | ||
"type": "bytes" | ||
}, | ||
{ | ||
"name": "sigs", | ||
"type": "bytes" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"name": "submitHeaderBlock", | ||
"outputs": [], | ||
"payable": false, | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": true, | ||
"inputs": [], | ||
"name": "currentHeaderBlock", | ||
"name": "getLastChildBlock", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": true, | ||
"inputs": [], | ||
"name": "getLastChildBlock", | ||
"name": "currentHeaderBlock", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "headerBlocks", | ||
"outputs": [ | ||
"indexed": true, | ||
"name": "proposer", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "bytes32", | ||
"name": "root", | ||
"type": "bytes32" | ||
"indexed": true, | ||
"name": "headerBlockId", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "start", | ||
"indexed": true, | ||
"name": "reward", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "end", | ||
"indexed": false, | ||
"name": "start", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "createdAt", | ||
"indexed": false, | ||
"name": "end", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "proposer", | ||
"type": "address" | ||
"indexed": false, | ||
"name": "root", | ||
"type": "bytes32" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
"name": "NewHeaderBlock", | ||
"type": "event" | ||
} | ||
] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.