Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat default interfaces #754

Merged
merged 3 commits into from
Sep 13, 2020
Merged

Conversation

iamdefinitelyahuman
Copy link
Member

What I did

Include default interfaces in the interface object. For now it only has ERC20 but it's simple to add more.

How I did it

When InterfaceContainer is instantiated, it checks brownie/data/interfaces for json ABIs and adds them. If a project contains an interface with the same name, it overwrites the default.

@iamdefinitelyahuman iamdefinitelyahuman merged commit 5eec625 into master Sep 13, 2020
@iamdefinitelyahuman iamdefinitelyahuman deleted the feat-default-interfaces branch September 13, 2020 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant