pub trait EthereumTransactor {
    // Required method
    fn call(
        from: H160,
        to: H160,
        data: &[u8],
        value: U256,
        gas_price: U256,
        gas_limit: U256
    ) -> DispatchResultWithPostInfo;
}
Expand description

Something capable of managing transactions in an EVM/Ethereum context

Required Methods§

source

fn call( from: H160, to: H160, data: &[u8], value: U256, gas_price: U256, gas_limit: U256 ) -> DispatchResultWithPostInfo

Transacts the specified call in the EVM context, exposing the call and any events to the EVM block.

Object Safety§

This trait is not object safe.

Implementors§