pub fn encode_params( types: &[String], values: &[String], lenient: bool, ) -> Result<String, ToolError>
According to type, encode the value of the parameter