cic-contracts/solidity/Writer.sol

23 lines
690 B
Solidity
Raw Normal View History

2021-05-10 09:13:22 +02:00
pragma solidity >=0.6.12;
// Author: Louis Holbrook <dev@holbrook.no> 0826EDA1702D1E87C6E2875121D2E7BB88C2A746
2023-03-25 13:32:56 +01:00
// SPDX-License-Identifier: AGPL-3.0-or-later
// File-version: 4
2021-05-10 09:13:22 +02:00
2023-03-25 13:32:56 +01:00
interface IWriter {
// A writer has been added by _executor
event WriterAdded(address _writer);
// A writer has been removed by _executor
event WriterDeleted(address _writer);
2023-02-11 05:53:46 +01:00
// Add a new writer to the contract.
function addWriter(address _writer) external returns (bool);
// Remove existing writer from the contract.
function deleteWriter(address _writer) external returns (bool);
// Check whether the given address is a writer.
function isWriter(address _writer) external view returns (bool);
2021-05-10 09:13:22 +02:00
}