Authority

Git Source

Inherits: AbstractConsensus, Ownable

A consensus contract controlled by a single address, the owner.

This contract inherits from OpenZeppelin's Ownable contract. For more information on Ownable, please consult OpenZeppelin's official documentation.

Functions

constructor

constructor(address initialOwner) Ownable(initialOwner);

Parameters

NameTypeDescription
initialOwneraddressThe initial contract owner

submitClaim

Submit a claim.

Fires a ClaimSubmission event and a ClaimAcceptance event.

Can only be called by the owner.

function submitClaim(address appContract, bytes32 claim) external onlyOwner;

Parameters

NameTypeDescription
appContractaddressThe application contract address
claimbytes32The output Merkle root hash