@@ -27,13 +27,6 @@ import {IGovernor, IERC6372} from "./IGovernor.sol";
2727abstract contract Governor is Context , ERC165 , EIP712 , Nonces , IGovernor , IERC721Receiver , IERC1155Receiver {
2828 using DoubleEndedQueue for DoubleEndedQueue.Bytes32Deque;
2929
30- bytes32 public constant BALLOT_TYPEHASH =
31- keccak256 ("Ballot(uint256 proposalId,uint8 support,address voter,uint256 nonce) " );
32- bytes32 public constant EXTENDED_BALLOT_TYPEHASH =
33- keccak256 (
34- "ExtendedBallot(uint256 proposalId,uint8 support,address voter,uint256 nonce,string reason,bytes params) "
35- );
36-
3730 struct ProposalCore {
3831 address proposer;
3932 uint48 voteStart;
@@ -43,7 +36,14 @@ abstract contract Governor is Context, ERC165, EIP712, Nonces, IGovernor, IERC72
4336 uint48 eta;
4437 }
4538
39+ bytes32 public constant BALLOT_TYPEHASH =
40+ keccak256 ("Ballot(uint256 proposalId,uint8 support,address voter,uint256 nonce) " );
41+ bytes32 public constant EXTENDED_BALLOT_TYPEHASH =
42+ keccak256 (
43+ "ExtendedBallot(uint256 proposalId,uint8 support,address voter,uint256 nonce,string reason,bytes params) "
44+ );
4645 bytes32 private constant _ALL_PROPOSAL_STATES_BITMAP = bytes32 ((2 ** (uint8 (type (ProposalState).max) + 1 )) - 1 );
46+
4747 string private _name;
4848
4949 mapping (uint256 proposalId = > ProposalCore) private _proposals;
0 commit comments