Add an Event Logging module to standardize emitted events and telemetry across contracts.
Direction:
- Define a set of canonical events (e.g., ModuleInitialized, ActionExecuted, PermissionChanged).
- Provide helper functions to emit structured events and include metadata (module name, version, caller).
- Ensure low gas overhead and consistent indexing for off-chain listeners.
Acceptance criteria:
- Event Logging module implemented with a canonical event set and helpers.
- All existing sample modules updated to use the event helpers.
- Tests validate event payloads and indexing behavior.
- Documentation describes event schema and recommended off-chain indexing patterns.
Add an Event Logging module to standardize emitted events and telemetry across contracts.
Direction:
Acceptance criteria: