Trait ethers_core::abi::Detokenize
source · pub trait Detokenize {
fn from_tokens(tokens: Vec<Token>) -> Result<Self, InvalidOutputType>
where
Self: Sized;
}
Expand description
Output type possible to deserialize from Contract ABI
Required Methods§
sourcefn from_tokens(tokens: Vec<Token>) -> Result<Self, InvalidOutputType>where
Self: Sized,
fn from_tokens(tokens: Vec<Token>) -> Result<Self, InvalidOutputType>where
Self: Sized,
Creates a new instance from parsed ABI tokens.