@@ -27,13 +27,6 @@ import {IGovernor, IERC6372} from "./IGovernor.sol";
27
27
abstract contract Governor is Context , ERC165 , EIP712 , Nonces , IGovernor , IERC721Receiver , IERC1155Receiver {
28
28
using DoubleEndedQueue for DoubleEndedQueue.Bytes32Deque;
29
29
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
-
37
30
struct ProposalCore {
38
31
address proposer;
39
32
uint48 voteStart;
@@ -43,7 +36,14 @@ abstract contract Governor is Context, ERC165, EIP712, Nonces, IGovernor, IERC72
43
36
uint48 eta;
44
37
}
45
38
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
+ );
46
45
bytes32 private constant _ALL_PROPOSAL_STATES_BITMAP = bytes32 ((2 ** (uint8 (type (ProposalState).max) + 1 )) - 1 );
46
+
47
47
string private _name;
48
48
49
49
mapping (uint256 proposalId = > ProposalCore) private _proposals;
0 commit comments