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

index attestations made by users through smart contract correctly #144

Open
17 tasks
divine-comedian opened this issue Nov 4, 2024 · 0 comments
Open
17 tasks
Assignees
Labels
SC Integration Integration of DeVouch Smart Contract features

Comments

@divine-comedian
Copy link
Contributor

we will implement a smart contract function allowing users to issue attestations, issue multiple attestations and also collect a small fee on each attestation they make,

https://github.com/Giveth/DeVouch-contracts/blob/master/src/DevouchAttester.sol#L44

we should ensure the back-end captures attestations made in this new way and attributes them correctly in our DB.

AC

VOUCHES issued by users (with new smart contract implemented) show the correct information

  • address of attestor
  • project id
  • attributed as vouch correctly
  • date of attestation
  • attestor group made as
  • comments made

FLAGS issued by users (with new smart contract implemented) show the correct information

  • address of attestor
  • project id
  • attributed as flag correctly
  • date of attestation
  • attestor group made as
  • comments made

EDIT

  • when user edits their attestation information is updated correctly
  • if vouch changed to flag
  • if they replaced a comment with a new one (or added one if there was no comment before)
  • there is no duplicate, the previous attestation is correctly replaced with the updated one.

REVOKE/DELETE

  • when user deletes their attestation it is correctly removed from project and user's attestation information in DB
@divine-comedian divine-comedian moved this to Todo in DeVouch Nov 4, 2024
@divine-comedian divine-comedian added the SC Integration Integration of DeVouch Smart Contract features label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SC Integration Integration of DeVouch Smart Contract features
Projects
Status: Todo
Development

No branches or pull requests

2 participants