fn convert_contract(
contract: ContractIR,
inherited_events: &[EventMetadata],
contract_types: &[String],
selector_registry: Arc<SelectorRegistry>,
) -> ContractMetadatafn convert_contract(
contract: ContractIR,
inherited_events: &[EventMetadata],
contract_types: &[String],
selector_registry: Arc<SelectorRegistry>,
) -> ContractMetadata