Events + DB Mapping
This mapping shows how on-chain events are normalized into relational tables for querying.
- Events are the source of truth; tables are derived views for API queries.
- Indexers should be idempotent and tolerant of re-orgs.
- State transitions should be logged, not overwritten, for auditing.