foundry_evm_core::utils

Function get_function

Source
pub fn get_function<'a>(
    contract_name: &str,
    selector: Selector,
    abi: &'a JsonAbi,
) -> Result<&'a Function>
Expand description

Given an ABI and selector, it tries to find the respective function.