Skip to main content

encode

Function encode 

Source
pub fn encode(params: &[Param], tokens: &[Token]) -> Result<Vec<u8>, AbiError>
Expand description

abi.encode(values...): heads, then the tails they point into. Each value is checked against its type first.