FunctionExt

Trait FunctionExt 

Source
pub trait FunctionExt {
    // Required methods
    fn abi_signature(&self) -> String;
    fn selector(&self) -> H32;
}
Expand description

Extension trait for ethabi::Function.

Required Methods§

Source

fn abi_signature(&self) -> String

Computes the method signature in the standard ABI format. This does not include the output types.

Source

fn selector(&self) -> H32

Computes the Keccak256 function selector used by contract ABIs.

Implementations on Foreign Types§

Source§

impl FunctionExt for Function

Implementors§