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

Add ABI properties as attributes of ContractFunction, ContractEvent #3626

Open
reedsa opened this issue Feb 24, 2025 · 0 comments
Open

Add ABI properties as attributes of ContractFunction, ContractEvent #3626

reedsa opened this issue Feb 24, 2025 · 0 comments

Comments

@reedsa
Copy link
Contributor

reedsa commented Feb 24, 2025

What feature should we add?

There are a few lingering properties in the ABI spec that would be nice to use directly through the Contract classes.

ContractFunction - stateMutability, payable and outputs
ContractEvent - anonymous

For example, contract.functions.myFunc.abi["stateMutability"] != "payable" would also be available as contract.functions.myFunc.state_mutability.

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