2023-05-26 15:01:45 +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;
|
|
|
|
}
|