pub fn event_version(e: &Event) -> u64
Extract the version field from any Event variant. When a new variant is added that carries a version, add it here too — the exhaustive match catches future-variant compile errors.
version