pub trait FunctionOutputDecoder {
    type Output;

    // Required method
    fn decode(&self, _: &[u8]) -> Result<Self::Output, Error>;
}
Expand description

Contract functions generated by ethabi-derive

Required Associated Types§

source

type Output

Output types of the contract function

Required Methods§

source

fn decode(&self, _: &[u8]) -> Result<Self::Output, Error>

Decodes the given bytes output for the contract function

Implementors§