easy-retro-pgf
easy-retro-pgf copied to clipboard
Revoke Voter and Application
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 auseRevoke
hook - Add Revoke button in
VoterList
andApplicationsToApprove
components - Create
useRevoke
insrc/hooks/useEAS
hook that callseas.multiRevoke
- See
useAttest
for how to implement - https://github.com/ethereum-attestation-service/eas-sdk/blob/439417803c5f7c08fe986ff98a7995d0f40b0a23/src/eas.ts#L278
- See