Authority
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
Name | Type | Description |
---|---|---|
initialOwner | address | The 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
Name | Type | Description |
---|---|---|
appContract | address | The application contract address |
claim | bytes32 | The output Merkle root hash |