Skip to content

Module: Event Logging (Canonical Events & Helpers) #44

Description

@memplethee-lab

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.

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardThird CampaignCampaign: Third Campaign

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions