Skip to main content

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 address
  • outputsMerkleRoot (bytes32): The outputs Merkle root

Returns:

  • (bool): True if the outputs Merkle root is valid
We use cookies to ensure that we give you the best experience on our website. By using the website, you agree to the use of cookies.