Skip to main content

contract_abi

Function contract_abi 

Source
fn contract_abi<'a>(
    known_contracts: &'a ContractsByArtifact,
    file: Option<&str>,
    name: &str,
) -> Result<&'a JsonAbi, SymbolicError>
Expand description

Returns the ABI of the project contract or interface named name, in source file file when given. Artifacts of one name with the same ABI, such as builds for several compiler versions, are not ambiguous.