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

Vouching Functionality #5

Open
5 tasks
RonTuretzky opened this issue Nov 2, 2024 · 0 comments
Open
5 tasks

Vouching Functionality #5

RonTuretzky opened this issue Nov 2, 2024 · 0 comments
Assignees

Comments

@RonTuretzky
Copy link

RonTuretzky commented Nov 2, 2024

In any given vouch , there are 4 possible scenarios:

  • project has already been vouched by someone else
    • No need to prove the voucher's identity or the project's validity
  • project has not already been vouched for
    • Need to prove the project's validity

vouch(bytes32 approvedProjectAttestation)

This function should

  • Add the project to currentProjects if the project is not already included
  • Should utilize `validateProject(bytes32 approvedProjectAttestation) (Dependency on validateProject #3 validateFarcasterCustodyAccount #4 , please proceed with empty function declarations if blocked)
  • Should check if voucher is permitted
  • should initialize projects expiry
  • unit tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: TODO
Development

No branches or pull requests

2 participants