SemaphoreStorage
ERC-7201 namespaced storage for the Semaphore module.
APPEND-ONLY: new fields may only be added at the end to preserve the upgrade-safe layout.
Note:
- storage-location: erc7201:lattice.storage.Semaphore
struct SemaphoreStorage {
/// @dev group id => group state.
mapping(uint256 groupId => Group group) groups;
/// @dev Number of groups created (also the next group id).
uint256 groupCount;
/// @dev The Semaphore (Groth16) verifier contract.
address verifier;
}Properties
| Name | Type | Description |
|---|---|---|
| groups | mapping(uint256 groupId => Group group) | |
| groupCount | uint256 | |
| verifier | address |