Function find_main_contract

Source
pub fn find_main_contract<'a>(
    compile_output: &'a ProjectCompileOutput,
    contract: &str,
) -> Result<(PathBuf, &'a ConfigurableContractArtifact)>
Expand description

Find the artifact of the contract with the specified name. This function returns the path to the source file and the artifact.