governance_Governor.sol.patch 587 B

12345678910111213141516171819
  1. --- governance/Governor.sol 2023-03-07 10:48:47.730155491 +0100
  2. +++ governance/Governor.sol 2023-03-10 10:13:31.926616811 +0100
  3. @@ -216,6 +216,16 @@
  4. return _proposals[proposalId].proposer;
  5. }
  6. + // FV
  7. + function _isExecuted(uint256 proposalId) internal view returns (bool) {
  8. + return _proposals[proposalId].executed;
  9. + }
  10. +
  11. + // FV
  12. + function _isCanceled(uint256 proposalId) internal view returns (bool) {
  13. + return _proposals[proposalId].canceled;
  14. + }
  15. +
  16. /**
  17. * @dev Amount of votes already cast passes the threshold limit.
  18. */