Add getter proposalCount to governance interface
This commit is contained in:
parent
6174fd52d1
commit
eaa7eccb30
@ -45,6 +45,7 @@ interface IGovernance {
|
|||||||
function VOTE_EXTEND_TIME() external view returns (uint256);
|
function VOTE_EXTEND_TIME() external view returns (uint256);
|
||||||
function torn() external view returns (address);
|
function torn() external view returns (address);
|
||||||
function proposals(uint256 index) external view returns (Proposal memory);
|
function proposals(uint256 index) external view returns (Proposal memory);
|
||||||
|
function proposalCount() external view returns (uint256);
|
||||||
function lockedBalance(address account) external view returns (uint256);
|
function lockedBalance(address account) external view returns (uint256);
|
||||||
function propose(address target, string memory description) external returns (uint256);
|
function propose(address target, string memory description) external returns (uint256);
|
||||||
function castVote(uint256 proposalId, bool support) external;
|
function castVote(uint256 proposalId, bool support) external;
|
||||||
|
Loading…
Reference in New Issue
Block a user