proposal-22-governance-and-.../src/interfaces/IGovernance.sol

18 lines
562 B
Solidity
Raw Normal View History

pragma solidity ^0.6.12;
interface IGovernance {
function lockedBalance(address account) external view returns (uint256);
function propose(address target, string memory description) external returns (uint256);
function castVote(uint256 proposalId, bool support) external;
function lock(address owner, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external;
function lockWithApproval(uint256 amount) external;
function unlock(uint256 amount) external;
function execute(uint256 proposalId) external payable;
}