gitcoinco / gitcoinco/easy-retro-pgf

Revoke Voter and Application

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue help wanted
Dominant language
TypeScript
Stars
66
Forks
37
PR merge metrics
No merged PRs in 30d

Description

Admin wants to revoke already approved voters and applications.

- Make voters selectable with checkboxes similar to Applications
- Make approved applications selectable
- Create Revoke button with prop `uid` where attestation id is being passed into a `useRevoke` hook
- Add Revoke button in `VoterList` and `ApplicationsToApprove` components
- Create `useRevoke` in `src/hooks/useEAS` hook that calls `eas.multiRevoke`
- See `useAttest` for how to implement
- https://github.com/ethereum-attestation-service/eas-sdk/blob/439417803c5f7c08fe986ff98a7995d0f40b0a23/src/eas.ts#L278

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.