Skip to content

ERC20 Premint field has no upper bound #241

@mark1yo

Description

@mark1yo

Hi 😃
There is a potential bug in generating an ERC20 token. The "Premint" field has no upper bound, which allows you to mint 999...9 token.

When you try to compile the generate contract, for example in Remix, you get "Literal too large" error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions