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

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

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

Required Methods§

source

fn function_name() -> Cow<'static, str>

The name of the function

source

fn abi_signature() -> Cow<'static, str>

Retrieves the ABI signature for the call

Provided Methods§

source

fn selector() -> Selector

The selector of the function

Object Safety§

This trait is not object safe.

Implementors§

source§

impl EthCall for Aggregate3Call

Available on crate feature abigen only.
source§

impl EthCall for Aggregate3ValueCall

Available on crate feature abigen only.
source§

impl EthCall for AggregateCall

Available on crate feature abigen only.
source§

impl EthCall for BlockAndAggregateCall

Available on crate feature abigen only.
source§

impl EthCall for GetBasefeeCall

Available on crate feature abigen only.
source§

impl EthCall for GetBlockHashCall

Available on crate feature abigen only.
source§

impl EthCall for GetBlockNumberCall

Available on crate feature abigen only.
source§

impl EthCall for GetChainIdCall

Available on crate feature abigen only.
source§

impl EthCall for GetCurrentBlockCoinbaseCall

Available on crate feature abigen only.
source§

impl EthCall for GetCurrentBlockDifficultyCall

Available on crate feature abigen only.
source§

impl EthCall for GetCurrentBlockGasLimitCall

Available on crate feature abigen only.
source§

impl EthCall for GetCurrentBlockTimestampCall

Available on crate feature abigen only.
source§

impl EthCall for GetEthBalanceCall

Available on crate feature abigen only.
source§

impl EthCall for GetLastBlockHashCall

Available on crate feature abigen only.
source§

impl EthCall for TryAggregateCall

Available on crate feature abigen only.
source§

impl EthCall for TryBlockAndAggregateCall

Available on crate feature abigen only.