Trait evm_coder::Callable

source ·
pub trait Callable<C: Call>: Contract {
    // Required method
    fn call(&mut self, call: Msg<C>) -> ResultWithPostInfoOf<Self, Vec<u8>>;
}
Expand description

Type callable with ethereum message, may be implemented by solidity_interface macro on interface implementation, or for externally-owned real EVM contract

Required Methods§

source

fn call(&mut self, call: Msg<C>) -> ResultWithPostInfoOf<Self, Vec<u8>>

Call contract using specified call data

Implementors§