-
Notifications
You must be signed in to change notification settings - Fork 20k
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
abigen to create an output type for contract functions rather than declaring return type directly #29689
Labels
Comments
crisog
changed the title
Abigen to create an output type for contract functions rather than declaring structs as return type
Abigen to create an output type for contract functions rather than declaring return type directly
May 1, 2024
crisog
changed the title
Abigen to create an output type for contract functions rather than declaring return type directly
abigen to create an output type for contract functions rather than declaring return type directly
May 1, 2024
HBI |
hi Julius are you working on this |
I have started working on this |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Right now, the abigen-generated Go methods don't create/export the output types used for the functions, which makes it quite complex to use in a general way. The following is an example of how it looks now:
Ideally, instead of putting the return type right in the return for the function, it would be great that a proper type gets created & exported like this:
The text was updated successfully, but these errors were encountered: