Skip to content

Add ABI properties as attributes of ContractFunction, ContractEvent #3626

Open
@reedsa

Description

@reedsa

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions