issues : 15
Great issue: Standardize Event Topic Naming Across Modules
Description
The contract suite uses inconsistent methods for naming event topics, mixing symbol_short! and Symbol::new. This fragmentation forces off-chain indexers and analytics platforms to implement custom logic for every module, increasing the fragility of the data pipeline.
Requirements and context
- Standardize all event emission to use a consistent format.
- Preferably move event definitions to a central
events.rs module.
Suggested execution
- Fork the repo and create a branch:
git checkout -b fix/issue-15-event-standardization
- Global refactor of event emission.
Implementation changes
- Update
fees.rs (around line 61) and other modules to use a unified event emitter.
Test and commit
- Verify all events are correctly picked up by a standard Soroban event indexer.
Example commit message
refactor: unify event naming conventions across all modules
Guidelines
- Maintainability of off-chain monitoring tools.
- Timeframe: 24 hours.
issues : 15
Great issue: Standardize Event Topic Naming Across Modules
Description
The contract suite uses inconsistent methods for naming event topics, mixing
symbol_short!andSymbol::new. This fragmentation forces off-chain indexers and analytics platforms to implement custom logic for every module, increasing the fragility of the data pipeline.Requirements and context
events.rsmodule.Suggested execution
git checkout -b fix/issue-15-event-standardizationImplementation changes
fees.rs(around line 61) and other modules to use a unified event emitter.Test and commit
Example commit message
refactor: unify event naming conventions across all modules
Guidelines