Files
openzeppelin-contracts/certora/diff/governance_Governor.sol.patch
2023-03-13 17:26:38 +01:00

25 lines
719 B
Diff

--- governance/Governor.sol 2023-03-07 10:48:47.730155491 +0100
+++ governance/Governor.sol 2023-03-13 15:30:49.107167674 +0100
@@ -216,6 +216,21 @@
return _proposals[proposalId].proposer;
}
+ // FV
+ function _isExecuted(uint256 proposalId) internal view returns (bool) {
+ return _proposals[proposalId].executed;
+ }
+
+ // FV
+ function _isCanceled(uint256 proposalId) internal view returns (bool) {
+ return _proposals[proposalId].canceled;
+ }
+
+ // FV
+ function _governanceCallLength() public view returns (uint256) {
+ return _governanceCall.length();
+ }
+
/**
* @dev Amount of votes already cast passes the threshold limit.
*/