foundry_cli::utils::cmd

Function remove_contract

Source
pub fn remove_contract(
    output: ProjectCompileOutput,
    path: &Path,
    name: &str,
) -> Result<(JsonAbi, CompactBytecode, ArtifactId)>
Expand description

Given a Project’s output, removes the matching ABI, Bytecode and Runtime Bytecode of the given contract.