pub fn resolve_reference<'m>(
manifest: &'m Manifest,
reference: &str,
) -> Result<&'m ContractName, ReferenceError>Expand description
Resolves a shorthand contract reference (canonical name, source path, or source basename) to the declared name, once, at the boundary.
ยงErrors
ReferenceError::Ambiguous when the shorthand matches more than one
declared contract; ReferenceError::Unknown (with nearest candidates)
when it matches none.