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

Content directory smart contracts: Channel handle uniqueness #1914

Open
Lezek123 opened this issue Dec 15, 2020 · 0 comments
Open

Content directory smart contracts: Channel handle uniqueness #1914

Lezek123 opened this issue Dec 15, 2020 · 0 comments

Comments

@Lezek123
Copy link
Contributor

Add handle to smart contracts Channel struct and include channelByHandle map.

This would allow the smart contracts to:

  • expose a view method to fetch a channel by handle
  • validate the handle uniqueness when new channel is beeing created
  • prevent updating the handle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants