Python Version (output of python --version): 3.11.4
What's your issue about?
Imports like from vyper.interfaces import ERC20 are not reflected as InterfaceDef's in the AST. It would be more robust and future proof if consumers of the AST did not have to be aware of what ERC standards vyper makes available.
How can it be fixed?
Create an InterfaceDef for imports from the standard library in the AST
Version Information
vyper --version
): 3.7python --version
): 3.11.4What's your issue about?
Imports like
from vyper.interfaces import ERC20
are not reflected asInterfaceDef
's in the AST. It would be more robust and future proof if consumers of the AST did not have to be aware of what ERC standards vyper makes available.How can it be fixed?
Create an
InterfaceDef
for imports from the standard library in the AST