forked from nonast/karma-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
Module: ID Management #1
Copy link
Copy link
Open
Description
Karma-Bot
The Karma-bot is intended to support various processes in the 0L organization. It sources from and stores data in json files on Github, making it pluggable for other applications and ensuring that no strict dependency is created between the app and the data it produces. The different functionalities of the Karma-bot are defined as modules.
ID Management module
The Identity Management Module enables community members to take ownership of the data involving their identity within the context of the bounty program. Only whitelisted Discord accounts will be able to update their identity. OL community Key roles can whitelist (and graylist) Discord accounts.
Features
- A contributors.json file on Github is the database for this module.
- Only official OL key roles, as confirmed by the community after voting, can whitelist Discord accounts.
- Whitelisted Warriors can engage with the Karma-bot and update their 0L address on which (s)he likes to be paid bounties. This address will be visible to everyone.
- A history of addresses must be kept in the contributors.json file to ensure data integrity related to the history of payments.
- As bounties can only be paid out to slow wallets, a check must be performed when a new address is introduced.
- Consistent error/warning messages must be returned when:
- A key role tries to add a Discord user that is already added
- users try to add an account but are not whitelisted
- try to add an address which is not a slow wallet
- As many users could be trying to access the bot at once, we need to be sure that the app can handle concurrency.
- This module can make use of an internal relational database, if needed to ensure high availablity, but needs to stay in sync with the json db on Github.
Process flow
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
