gitcoinco / gitcoinco/easy-retro-pgf
Revoke Voter and Application
- 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.