pub async fn decode_event_selector(selector: &str) -> Result<Option<String>>