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

Extension trait for ethabi::Function.

Required Methods§

source

fn abi_signature(&self) -> String

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

source

fn selector(&self) -> Selector

Compute the Keccak256 function selector used by contract ABIs.

Implementors§