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

InterfaceContainer and InterfaceConstructor #463

Merged
merged 11 commits into from
Apr 30, 2020
Merged

Conversation

iamdefinitelyahuman
Copy link
Member

What I did

Add InterfaceContainer and InterfaceConstructor objects.

Closes #436

How I did it

  • All files within interfaces/ are compiled and a stripped-down build artifact is stored at build/interfaces/
  • These artifacts are used to create InterfaceConstructor objects, which act as a wrapper over Contract.from_abi to allow easy access to project interfaces.
  • InterfaceConstructor objects are added as members of InterfaceContainer which is available as interfaces in the console and as a pytest fixture

How to verify it

Run tests.

@iamdefinitelyahuman iamdefinitelyahuman merged commit 834568c into master Apr 30, 2020
@iamdefinitelyahuman iamdefinitelyahuman deleted the interfaces branch April 30, 2020 12:28
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.

Simplify access to project interfaces
1 participant