Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ArpitxGit opened this issue Nov 4, 2022 · 0 comments
Open

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

ArpitxGit opened this issue Nov 4, 2022 · 0 comments

Comments

@ArpitxGit
Copy link

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

@ArpitxGit ArpitxGit changed the title how to avail licenses? Having issue while implementing Can't Be Evil Licenses. Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant