Skip to main content

node_contract_name

Function node_contract_name 

Source
fn node_contract_name(
    node: &CallTraceNode,
    known_contracts: &ContractsByArtifact,
    identified_contracts: &AddressHashMap<String>,
    identified_code: &mut HashMap<(Address, Bytes), Option<String>>,
) -> Option<String>
Expand description

Identifies the contract executed by node from its recorded bytecode, since an address can execute different code over time (e.g. after vm.etch).