PotLock / nadabot-app

Nada.bot application https://nada.bot Sybil resistance contract aggregator on NEAR Protocol
https://app.nada.bot
MIT License
4 stars 1 forks source link

[ENHANCE] Add blacklisting functionality ( V2 ) #113

Open lachlanglen opened 4 months ago

lachlanglen commented 4 months ago

Summary

See V2 contract interface. This is currently deployed to v2new.staging.nadabot.near and has been populated with data from production. Current contract admins are plugrel.near, lachlan.near, wendersonpires.near & carina.akaia.near. As an admin you should be able to make any necessary write actions in order to test the UI.

See V2 designs - see DEV NOTE comments for clarification & feel free to add additional comments in Figma, comment on this ticket or post in TG for any additional clarification!

Description

As an admin, I want to be able to blacklist (flag) accounts that have engaged in fraud or are bots. This feature allows an admin to blacklist accounts, providing a reason for doing so. (NB: the reason is not stored on chain, but rather emitted in an event). A blacklisted account will always return a human score of 0.

Screenshot 2024-04-23 at 3 54 42 PM

Screenshot 2024-04-23 at 3 54 52 PM

Acceptance Criteria

[List of criteria that must be met for the enhancement to be considered accepted]

Additional Information

[Any other relevant information, such as links to related issues or pull requests]