Trait parables_testing::abi::ContractFunction[][src]

pub trait ContractFunction {
    type Output;
    fn encoded(&self, linker: &Linker) -> Result<Bytes, Error>;
fn output(&self, output_bytes: Bytes) -> Result<Self::Output, Error>; }

Contract functions generated by parables_build.

Associated Types

Output types of the function.

Required Methods

Encodes the input for the function.

Decodes the given bytes output for the contract function.

Implementors