ERC6900ModuleManagerStorage
ERC-7201 namespaced storage for the ERC-6900 module registry.
Note:
- storage-location: erc7201:lattice.storage.ERC6900ModuleManager
struct ERC6900ModuleManagerStorage {
/// @notice Execution functions per selector. APPEND-ONLY.
mapping(bytes4 selector => ExecutionStorage) _executions;
/// @notice Validation functions per `ModuleEntity`. APPEND-ONLY.
mapping(ModuleEntity validationFunction => ValidationStorage) _validations;
/// @notice ERC-165 interface-id refcount from installed-module manifests; mirrored into the Diamond's
/// ERC-165 map so the account advertises a module's interfaces while ≥1 module supplies it. APPEND-ONLY.
mapping(bytes4 interfaceId => uint256 count) _interfaceRefCount;
}Properties
| Name | Type | Description |
|---|---|---|
| _executions | mapping(bytes4 selector => ExecutionStorage) | |
| _validations | mapping(ModuleEntity validationFunction => ValidationStorage) | |
| _interfaceRefCount | mapping(bytes4 interfaceId => uint256 count) |