Skip to content

Refactor method in GlobalConstraintInterface to be an enum. #312

Open
@tsuberim

Description

@tsuberim

Reading the code, I saw that the _method parameter in here is always called with one of the following:

  • mintReputation
  • mintTokens
  • registerScheme
  • unregisterScheme
  • sendEther
  • externalTokenTransfer
  • externalTokenTransferFrom
  • externalTokenIncreaseApproval
  • externalTokenDecreaseApproval
  • genericAction - all other actions.

Can we refactor it to use an enum instead?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions