IOutputsMerkleRootValidator
The IOutputsMerkleRootValidator interface provides valid outputs Merkle roots for validation.
Description
This interface provides functionality to check whether an outputs Merkle root is valid. ERC-165 can be used to determine whether this contract also supports any other interface (e.g. for submitting claims).
Functions
isOutputsMerkleRootValid
function isOutputsMerkleRootValid(address appContract, bytes32 outputsMerkleRoot) external view returns (bool)
Check whether an outputs Merkle root is valid.
Parameters:
appContract(address): The application contract addressoutputsMerkleRoot(bytes32): The outputs Merkle root
Returns:
- (bool): True if the outputs Merkle root is valid
Related Contracts
IConsensus: Interface that inherits from this interfaceAbstractConsensus: Abstract implementation that implements this interface