Function alloy_sol_types::abi::encode
source · pub fn encode<'a, T: Token<'a>>(token: &T) -> Vec<u8> ⓘExpand description
ABI-encodes a single token.
You are probably looking for
SolValue::abi_encode if
you are not intending to use raw tokens.
See the abi module for more information.