foundry_evm_traces

Function load_contracts

Source
pub fn load_contracts<'a>(
    traces: impl IntoIterator<Item = &'a CallTraceArena>,
    known_contracts: &ContractsByArtifact,
) -> ContractsByAddress
Expand description

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