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

18 lines
579 B
Solidity
Raw Normal View History

2023-05-24 23:20:44 +03:00
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;
}