Skip to content

Use hooks to restrict mint / burn, instead of modifiers #1

@monsieurleberre

Description

@monsieurleberre

OK it appears that minting and burning should be allowed for all token owners, and that the potential rejection of a minting / burning request needs to be done in the hooks to the corresponding events.

https://eips.ethereum.org/EIPS/eip-777

That explains my current struggle with inheriting and modifying these functions directly.

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