pub trait AbiDecode: Sized + AbiType {
// Required method
fn dec(input: &mut AbiDecoder<'_>) -> Result<Self>;
// Provided methods
fn abi_decode(input: &[u8]) -> Result<Self> { ... }
fn abi_decode_call(input: &[u8]) -> Result<(Bytes4, Self)> { ... }
}
Expand description
Decode ABI value.