encode Function
Encode function to Eth ABI binary.
Return
The serialized data of a `TW.EthereumAbi.Proto.FunctionEncodingOutput` proto object.
Parameters
coin
EVM-compatible coin type.
input
The serialized data of `TW.EthereumAbi.Proto.FunctionEncodingInput`.