pub trait EthCall: Tokenizable + AbiDecode + AbiEncode + Send + Sync {
    fn function_name() -> Cow<'static, str>;
    fn abi_signature() -> Cow<'static, str>;

    fn selector() -> Selector { ... }
}
Expand description

A helper trait for types that represent all call input parameters of a specific function

Required Methods§

The name of the function

Retrieves the ABI signature for the call

Provided Methods§

The selector of the function

Implementors§