Skip to content

Make a more reliable ABI validator #80

@pfletcherhill

Description

@pfletcherhill

Because encodeSignature requires its argument to have both a name and a type, just checking that all inputs have those works for now. However, it might make sense to tell the user that their ABI is invalid, if they pass an ABI with an entry that is of type function but lacks a name. It seems only constructor and fallback types are allowed to miss name.

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