async fn accepted_occurrence( db: &Database, mapping: &Mapping, event: u64, ) -> Result<Option<SmallVec<[u8; 48]>>>