Trait fuels_core::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
fn 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.