Trait parables_testing::prelude::ethabi::ContractFunction [−][src]
pub trait ContractFunction {
type Output;
fn encoded(&self) -> Vec<u8>;
fn output(&self, Vec<u8>) -> Result<Self::Output, Error>;
}Contract functions generated by ethabi-derive
Associated Types
type Output
Output types of the contract function
Required Methods
fn encoded(&self) -> Vec<u8>
Encodes the input for the contract function
fn output(&self, Vec<u8>) -> Result<Self::Output, Error>
Decodes the given bytes output for the contract function