Skip to content

Provide helpers to list inherited functions (and other items) #433

@segfaultxavi

Description

@segfaultxavi

I can't find a simple way of retrieving all the methods available in a contract, including inherited ones.
I'm currently working on a helper method that iterates over all linearizedBaseContracts, retrieves their methods and merges them. But I need to take into account visibility, overrides... it starts to look like a lot of work and I kind of think such a basic thing should be available out of the box.
What am I missing?

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