Trait ethcontract_common::abiext::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§