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

add new schema with resolver contract to back-end config, ensure multi-attest works #144

Open
17 tasks
divine-comedian opened this issue Nov 4, 2024 · 1 comment
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
@divine-comedian
Copy link
Contributor Author

We made a new schema using a resolver contract which will collect fees and can be upgraded to add more functionality later on. We need to add this to our back-end config array on SEPOLIA to start testing it:

https://sepolia.easscan.org/schema/view/0x87607c7f565dfc1473309a45e7f7d26f0915615258fffd6745fc6238822c108b

@divine-comedian divine-comedian changed the title index attestations made by users through smart contract correctly add new schema with resolver contract to back-end config, ensure multi-attest works Nov 20, 2024
@divine-comedian divine-comedian moved this from Todo to Done in DeVouch Nov 25, 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: Done
Development

No branches or pull requests

2 participants