PrivateVotingLib Constants
PRIVATE_VOTING_STORAGE_SLOT
keccak256(abi.encode(uint256(keccak256("lattice.storage.PrivateVoting")) - 1)) & ~bytes32(uint256(0xff)).
Verify with: cast index-erc7201 "lattice.storage.PrivateVoting".
bytes32 constant PRIVATE_VOTING_STORAGE_SLOT = 0x366a7e9d1ddfe6eaa85ec4e6a71a0be592797e3e9ab0151a827465f6ed6bb900;PRIVATE_VOTING_ERC165_STORAGE_LOCATION
ERC-165 storage location (same across all Lattice modules).
keccak256(abi.encode(uint256(keccak256("diamond.lib.storage.ERC165")) - 1)) & ~bytes32(uint256(0xff)).
bytes32 constant PRIVATE_VOTING_ERC165_STORAGE_LOCATION =
0x9ca7f3e2e2bfb15fdf072b85dde92837cddacee6cf2f6b38cd06c9457c1c4200;ERC165_MAP_IPRIVATEVOTING_SLOT
0xf750b661 is type(IPrivateVoting).interfaceId.
keccak256(abi.encode(bytes4(0xf750b661), 0x9ca7f3e2e2bfb15fdf072b85dde92837cddacee6cf2f6b38cd06c9457c1c4200)).
bytes32 constant ERC165_MAP_IPRIVATEVOTING_SLOT = 0xd7a71e51b42fc01807cbfbb5db7d2ead6dbf4db6187d1c815fc074c4ac95ba7c;