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

Registry Contract #3

Open
codingshot opened this issue Aug 20, 2023 · 0 comments
Open

Registry Contract #3

codingshot opened this issue Aug 20, 2023 · 0 comments
Assignees

Comments

@codingshot
Copy link
Member

codingshot commented Aug 20, 2023

Problem

Their needs to be a way to prevent spam of a projects and easily query all projects associated with potlock.

User Story:

As an admin, I want to be able to edit the status of a project, to prevent from people spamming us.
As a an dev, I want their to be an official potlock registry, so I can easily query all projects that signed up throuhg our platform.
As a refi council member, I want to vote on adding an additional admin, so

Description

Registry contract can add projects with different statuses updated by admin

Acceptance Criteria

registry.potlock.near contract for all projects that go through onboarding flow. Requirement / prereq for applying to round

  • ability for owner (refi.sputnik-dao.near) in this case to add and remove admin based on accountID
  • add project by accountID
  • flag projects
  • put projects in a whitelist to displaylist
  • projects in pending status
    Getters
  • query all projects
  • query status by projectID
  • query if project is on registry by accountID
  • get all projects in graylist, blacklist, and whtielist (get all projects by status)
  • ability to get owner
  • ability to query admin

Limitations

  • on the front end still need to hit multiple data sources

Resources

Image

@codingshot codingshot changed the title Registry Contract 🟧 Registry Contract Sep 23, 2023
@codingshot codingshot changed the title 🟧 Registry Contract Registry Contract Sep 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

2 participants