alloy_sol_types::abi

Function encode_params

Source
pub fn encode_params<'a, T: TokenSeq<'a>>(token: &T) -> Vec<u8> 
Expand description

ABI-encodes a tuple as ABI function params, suitable for passing to a function.

You are probably looking for SolValue::abi_encode_params if you are not intending to use raw tokens.

See the abi module for more information.