You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:)
The text was updated successfully, but these errors were encountered:
ArpitxGit
changed the title
how to avail licenses?
Having issue while implementing Can't Be Evil Licenses.
Nov 4, 2022
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:)
The text was updated successfully, but these errors were encountered: