cast::traces

Function load_contracts

pub fn load_contracts<'a>(
    traces: impl IntoIterator<Item = &'a CallTraceArena>,
    known_contracts: &ContractsByArtifact,
) -> BTreeMap<Address, (String, JsonAbi)>
Expand description

Given a list of traces and artifacts, it returns a map connecting address to abi