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

dev: macro for generating contract trait implementation #11

Open
EvolveArt opened this issue Apr 10, 2024 · 0 comments
Open

dev: macro for generating contract trait implementation #11

EvolveArt opened this issue Apr 10, 2024 · 0 comments

Comments

@EvolveArt
Copy link
Collaborator

Current Behavior

We are currently writing manually all the functions implementations for our wrapper trait that calls the underlying generated alloy implementaiton. This is very repetitive and error prone.

See here for an example.

Expected Behavior

We would like to have a macro that we can derive from or simply call like callable_contract! which would generate this implementation for us.

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

No branches or pull requests

1 participant