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

update project status based on verification points #1771

Open
6 tasks
divine-comedian opened this issue Aug 20, 2024 · 0 comments
Open
6 tasks

update project status based on verification points #1771

divine-comedian opened this issue Aug 20, 2024 · 0 comments
Labels
DeVerification Decentralizing Project Verification

Comments

@divine-comedian
Copy link
Collaborator

From #1740 we should handle updating a project's status based on how many verification points it has.

Currently we have three statuses to consider:

  • Unverified
  • Level 1
  • Level 2

Projects must have a certain amount of points to move past unverified and become eligible for further levels.

Image

Verification level 1

In order to obtain level 1 a project must have 3 verification points. Projects with level 1 are considered verified=true in the project data. they get access to GIVpower but do not yield GIVbacks to their donors.

Verification level 2

In order to obtain level 2 a project must have 20 verification points AND they must have submitted an Impact Audit (Project verification form status = submitted.

Projects with level 2 are considered isGivbacksEligible=true in the project data. they get access to GIVpower AND yield GIVbacks to their donors.


Ideally we can handle checking this data real-time as the DeVouch indexer processes on-chain events. If we are not able to handle real-time events then a delay of up to 12 hours is acceptable.

Requirements

  • The number of points required to reach each level can be easily changed by a developer
  • when a project has equal or greater verification points to the level 1 threshold the project's status changes to "Level 1"
  • when a project has equal or greater verification points to the level 2 AND submits an Impact Audit threshold the project's status changes to "Level 2"
  • If a project's loses points and it falls under a given threshold then the project's status downgrades correspondingly
    • if it has 3 or more points & falls under 3 points it goes from level 1 -> unverified
    • if it has 20 or more points & falls under 20 points it goes from level 2 -> level 1
@divine-comedian divine-comedian added the DeVerification Decentralizing Project Verification label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DeVerification Decentralizing Project Verification
Projects
Status: New Issues
Status: New Issues
Development

No branches or pull requests

2 participants