a16z-contracts icon indicating copy to clipboard operation
a16z-contracts copied to clipboard

Having issue while implementing Can't Be Evil Licenses.

Open ArpitxGit opened this issue 2 years ago • 0 comments

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:)

ArpitxGit avatar Nov 04 '22 13:11 ArpitxGit