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

Allow casting between similar Contract and Event types #256

Open
nlordell opened this issue Mar 30, 2020 · 0 comments
Open

Allow casting between similar Contract and Event types #256

nlordell opened this issue Mar 30, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@nlordell
Copy link
Contributor

Implement checked casting between different contract types. The idea here is to provide a safe alternative to IERC20::at(TokenOWL.address()) (for example) that checks the ABIs of the two contracts and makes sure they are compatible.

Similarly, it would be nice to be able to generate code to convert between, say ierc20::events::Transfer and token_owl::events::Transfer (or any other two contract events with the same signature).

@nlordell nlordell added the enhancement New feature or request label May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant