|
|
|
@ -47,7 +47,7 @@ abstract contract IGovernor is IERC165 { |
|
|
|
|
event ProposalExecuted(uint256 proposalId); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @dev Emitted when a vote is casted. |
|
|
|
|
* @dev Emitted when a vote is cast. |
|
|
|
|
* |
|
|
|
|
* Note: `support` values should be seen as buckets. There interpretation depends on the voting module used. |
|
|
|
|
*/ |
|
|
|
@ -131,7 +131,7 @@ abstract contract IGovernor is IERC165 { |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @notice module:user-config |
|
|
|
|
* @dev Minimum number of casted voted requiered for a proposal to be successful. |
|
|
|
|
* @dev Minimum number of cast voted requiered for a proposal to be successful. |
|
|
|
|
* |
|
|
|
|
* Note: The `blockNumber` parameter corresponds to the snaphot used for counting vote. This allows to scale the |
|
|
|
|
* quroum depending on values such as the totalSupply of a token at this block (see {ERC20Votes}). |
|
|
|
@ -149,7 +149,7 @@ abstract contract IGovernor is IERC165 { |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @notice module:voting |
|
|
|
|
* @dev Returns weither `account` has casted a vote on `proposalId`. |
|
|
|
|
* @dev Returns weither `account` has cast a vote on `proposalId`. |
|
|
|
|
*/ |
|
|
|
|
function hasVoted(uint256 proposalId, address account) public view virtual returns (bool); |
|
|
|
|
|
|
|
|
|