kopia lustrzana https://github.com/bugout-dev/moonworm
Added support for conversion of solidity tuple[] to python type
rodzic
aa733ce809
commit
5315eea08a
|
|
@ -63,6 +63,8 @@ def python_type(evm_type: str) -> List[str]:
|
||||||
return ["ChecksumAddress"]
|
return ["ChecksumAddress"]
|
||||||
elif evm_type == "bool":
|
elif evm_type == "bool":
|
||||||
return ["bool"]
|
return ["bool"]
|
||||||
|
elif evm_type == "tuple[]":
|
||||||
|
return ["list"]
|
||||||
else:
|
else:
|
||||||
raise ValueError(f"Cannot convert to python type {evm_type}")
|
raise ValueError(f"Cannot convert to python type {evm_type}")
|
||||||
|
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue