Problem
The API cannot efficiently track historical contract
events. Soroban events are ephemeral. There is no
mechanism for the indexer to know which events it
has already processed.
What To Build
- Add sequence numbers to all events
- Add get_sequence() view function
- Standardize event topic structure
- Add get_event_count()
Files To Touch
All 5 contract events.rs, lib.rs, storage.rs files
Acceptance Criteria
Mandatory Checks Before PR
Problem
The API cannot efficiently track historical contract
events. Soroban events are ephemeral. There is no
mechanism for the indexer to know which events it
has already processed.
What To Build
Files To Touch
All 5 contract events.rs, lib.rs, storage.rs files
Acceptance Criteria
Mandatory Checks Before PR