a16z-contracts
a16z-contracts copied to clipboard
Having issue while implementing Can't Be Evil Licenses.
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:)