pub fn function(&self, name: &str) -> &ethabi::Function {
        self.abi
            .function(name)
            .unwrap_or_else(|err| panic!("cannot access function `{name}`: {err}"))
    }
Shortcut for accessing a function that panics if a function doesn't exist.
core/lib/test_contracts/src/contracts.rs