Skip to content

Low: Token URI may not be set at time of mint #12

@pegahcarter

Description

@pegahcarter

Description

When Owner calls updateBaseAssetMintPrice() to add an ERC20 BASE asset, it is not enforced that the ERC20 has an associated URI. Thus, users would be able to mint a BASE token without a token URI.t

Suggestion: Within if(previousMintPrice == 0), enforce that bytes(baseAssetTokenUris[_erc20Contract]).length > 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions