ethereum Python library has been deprecated in May 2019, the
ContractTranslator.encode_abi function is probably not the best way to turn Python argument lists into
calldata strings. In particular, it doesn't support functions with the same name but different argument lists.
What is a better way to do this? I've been digging into
_utils but they don't have a single reusable function for this. Any alternatives to use in Python?
I'm looking for a function with an equivalent signature to this:
def encode_abi(abi, function_name: str, args: List[Any]) -> bytes: