easy-retro-pgf icon indicating copy to clipboard operation
easy-retro-pgf copied to clipboard

Revoke Voter and Application

Open carlbarrdahl opened this issue 1 year ago • 0 comments

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

carlbarrdahl avatar Jan 07 '24 09:01 carlbarrdahl