Skip to content

Having issue while implementing Can't Be Evil Licenses. #20

Description

@ArpitxGit

I'm implementing Can't Be Evil License in my contract
this is how it wokrs...
contract MyContract is ERC721, CantBeEvil(LicenseVersion.CBE_CC0) {}
but not when i replace "CBE_CC0" by "PUBLIC" or "EXCLUSIVE" or "PERSONAL"
for ex:
contract MyContract is ERC721, CantBeEvil(LicenseVersion.PUBLIC) {}
It says:
TypeError: Member "PUBLIC" not found or not visible after argument-dependent lookup in type(enum LicenseVersion).

Also, if i want to implement multiple license in my project, What's the best way to do it?
Thanks in advance:)

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