Function ethers_core::abi::parse_abi

source ·
pub fn parse_abi(input: &[&str]) -> Result<Abi, ParseError>
Expand description

Parses a “human readable abi” string vector

use ethers_core::abi::parse_abi;

let abi = parse_abi(&[
    "function x() external view returns (uint256)",
]).unwrap();