Added support for conversion of solidity tuple[] to python type

pull/15/head
Neeraj Kashyap 2021-11-11 05:46:23 -08:00
rodzic aa733ce809
commit 5315eea08a
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -63,6 +63,8 @@ def python_type(evm_type: str) -> List[str]:
return ["ChecksumAddress"]
elif evm_type == "bool":
return ["bool"]
elif evm_type == "tuple[]":
return ["list"]
else:
raise ValueError(f"Cannot convert to python type {evm_type}")