foundry_cli::utils

Function remove_contract

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

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