Skip to content

I Header Sync

Interface implemented by both the MCHL1 and MCHL2 contracts. It exposes the methods needed to access the block hashes of the other chain.

event HeaderSynced(uint256 srcHeight, bytes32 srcHash)
function getSyncedHeader(uint256 number) external view returns (bytes32)
function getLatestSyncedHeader() external view returns (bytes32)