Trait ethers_core::abi::ErrorExt

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

Extension trait for ethabi::AbiError.

Required Methods§

source

fn abi_signature(&self) -> String

Compute the method signature in the standard ABI format.

source

fn selector(&self) -> Selector

Compute the Keccak256 error selector used by contract ABIs.

Implementations on Foreign Types§

source§

impl ErrorExt for AbiError

Implementors§