Skip to content

Milestones #3

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Milestones #3

wants to merge 1 commit into from

Conversation

carlbarrdahl
Copy link
Collaborator

Update contract to handle off-chain calculation of verifications.

  • Participant calls trusted backend service to verify a milestone
  • Backend service issues an EAS Attestation to this participant
  • After verifyBefore has passed, another function in trusted backend service to finalize to calculate rewards and generate merkle
    • Finalize function calculate each commit's participants verified milestones by querying EAS GraphQL
    • Merkle is generated and uploaded to IPFS (so each participant can see their claim)
  • Participant generates proof and claims their reward.

More information here about how calculation could work to support milestones:
https://hackmd.io/_bC1T07uRSujFKcaCuUwrQ

Copy link

Milestones

Generated at commit: 3aa792d241fbdfb3e1844d1f3fe1f700bd3fb7c5

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
0
0
0
3
19
22
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant