fn collect_interface_events( contract: &ContractIR, contract_map: &HashMap<String, ContractIR>, ) -> Vec<EventIR>