Trait ethers_contract::EthCall
source · 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§
sourcefn function_name() -> Cow<'static, str>
fn function_name() -> Cow<'static, str>
The name of the function
sourcefn abi_signature() -> Cow<'static, str>
fn abi_signature() -> Cow<'static, str>
Retrieves the ABI signature for the call
Provided Methods§
Object Safety§
This trait is not object safe.
Implementors§
impl EthCall for Aggregate3Call
Available on crate feature
abigen
only.impl EthCall for Aggregate3ValueCall
Available on crate feature
abigen
only.impl EthCall for AggregateCall
Available on crate feature
abigen
only.impl EthCall for BlockAndAggregateCall
Available on crate feature
abigen
only.impl EthCall for GetBasefeeCall
Available on crate feature
abigen
only.impl EthCall for GetBlockHashCall
Available on crate feature
abigen
only.impl EthCall for GetBlockNumberCall
Available on crate feature
abigen
only.impl EthCall for GetChainIdCall
Available on crate feature
abigen
only.impl EthCall for GetCurrentBlockCoinbaseCall
Available on crate feature
abigen
only.impl EthCall for GetCurrentBlockDifficultyCall
Available on crate feature
abigen
only.impl EthCall for GetCurrentBlockGasLimitCall
Available on crate feature
abigen
only.impl EthCall for GetCurrentBlockTimestampCall
Available on crate feature
abigen
only.impl EthCall for GetEthBalanceCall
Available on crate feature
abigen
only.impl EthCall for GetLastBlockHashCall
Available on crate feature
abigen
only.impl EthCall for TryAggregateCall
Available on crate feature
abigen
only.impl EthCall for TryBlockAndAggregateCall
Available on crate feature
abigen
only.