DCIPs/assets/eip-4671/IERC4671Consensus.sol

20 lines
642 B
Solidity
Raw Normal View History

// SPDX-License-Identifier: CC0-1.0
pragma solidity ^0.8.0;
import "./IERC4671.sol";
interface IERC4671Consensus is IERC4671 {
/// @notice Get voters addresses for this consensus contract
/// @return Addresses of the voters
function voters() external view returns (address[] memory);
/// @notice Cast a vote to mint a token for a specific address
/// @param owner Address for whom to mint the token
function approveMint(address owner) external;
/// @notice Cast a vote to revoke a specific token
/// @param tokenId Identifier of the token to revoke
function approveRevoke(uint256 tokenId) external;
}