create account

Curation & Curators Payroll Management System by yaziris

View this thread on: hive.blogpeakd.comecency.com
· @yaziris ·
$11.16
Curation & Curators Payroll Management System
<center><img src="https://files.peakd.com/file/peakd-hive/yaziris/23tbiJMz4Xb7kETJjYNzZNjgGJNuywGDeRmGCVEcXaSvU4F1NU4Cmvg5iMKiQ6L6ve5F5.jpg" alt="HDM-CurationSystem.jpg"></center>


Without the proper tools to organize and incentivize efforts, curating can easily get chaotic and tedious for committed curation projects and communities.
 
With that in mind, and by being part of and observing various curation projects' needs. The idea of this Discord Bot materialized, to offer the community a set of publicly available tools that help streamline their curation workflow.

<hr><hr>

It has been a while since I've done a post about the updates made to <a href="/@yaziris/introducing-hivediscomod-a-discord-bot-for-hive-user-info-and-community-moderation"><b>HiveDiscoMod</b></a>. Not for the lack of them, but most were small updates, improvements, or minor functionality additions that I didn't feel worth mentioning.

However, this is an update that brings major Curation capabilities for communities and curation projects!

<b>Curation Management and Curators' Payroll</b> (based on what they curated!)

So without further ado, I will delve into this curation system, and how to set it all up.

<hr>

<hr>
<center><img src="https://files.peakd.com/file/peakd-hive/yaziris/23tbKNNdakYaRTQBi7Ps6CbDRyoFf1Tchf4ochy5naSB1VumjduYwhjJXL1QWaMeh4TE2.png" alt="HiveDiscoMod-Divider"></center>
<hr>

<center><h3>⚙ Setting Things Up!</h3></center><hr>

<div class="pull-left">
<center>
<h3><code>/settings</code></h3>
<img src="https://files.peakd.com/file/peakd-hive/yaziris/23tRxSKeZdsQHD2jRdT94KVPHegfY52zuRM7LHWSGAG5JiKE1yhctgAzmFX5N7GQokUJ7.jpg" alt="SettingsMain.jpg">
</center>
</div>

<br>
Using the <code>/settings</code> slash command, you'll be able to pull up the settings panel if you're an <b>Admin</b> in the server.

I won't be going through all the various stuff and functionalities the bot offers, you can read about those in their relevant posts.
<hr>

Once we click the Curation button, there won't be much, until we setup the curation account in the server.

<table><tr><td><img src="https://files.peakd.com/file/peakd-hive/yaziris/23tGZmWQhyxLTdYpUdF8xCfa4NjQnS3CjQfzLjCiRxzUy4ZgQLvoHmnjB1PTR15Kjtya1.jpg" alt="CurSettings.jpg"></td><td><img src="https://files.peakd.com/file/peakd-hive/yaziris/23xoURrbN11ZDrmRQmXacpe1yQdLAu2Y7ki2KooXGgntVWrS6gq5NVWfp5yM1pmfBu1LR.jpg" alt="SetKeys.jpg"></td></tr></table>


For that we click on "🔑 Keys", then add the curation account's name and its POSTING key.

The bot will immediately encrypt and just store the encrypted version of the key. Which can only be decrypted and used by the bot!
(The account and the encrypted key can be removed at any time)

<center><img src="https://files.peakd.com/file/peakd-hive/yaziris/23wWR24PpqjSh5WDVqQT8tJKqcnLJ2AVpUcTDN5yRra4tatcDuio48qsqEoJSfWD6hWP7.jpg" alt="AfterKeys.jpg"></center>


Once that's all set up, we can now assign curators in the server, and access the curation preferences (configs) panel.


<img src="https://files.peakd.com/file/peakd-hive/yaziris/23tGXdd2jniWf3EuL3qw49GUrbKz7r5VNiKkye7qMequcjZaBN43bh8r55k2VV7sDc4DS.jpg">


To add a curator in the server, and thus permit them to use the curation commands; We simply click on the "Add Curator" Dropdown menu, which would list all members in the server to select from.

<div class="pull-right"><img src="https://files.peakd.com/file/peakd-hive/yaziris/23swfwJLL53SjcbRrfiwpzUTuTTPPQEpnSU4gnDE3zAmfxdWsTCx2UvCvgcE7TLv5zn17.jpg" alt="AddCur.jpg"></div>

After selecting the discord member of choice, you will be asked to link their Hive account. Just add their Hive account name with or without the @.

<img src="https://files.peakd.com/file/peakd-hive/yaziris/23xoUWkf2WP8qmPazmpu1ddxhAxdgBn5ZNLBPSeRz8nvbaKJaaQ2dq9Qxpy3eHvpZearC.jpg" alt="LinkAcc.jpg">


<div class="pull-left"><img src="https://files.peakd.com/file/peakd-hive/yaziris/23tbMTtXBcJHfordULMcTP34ohyJrG6G8ohuByyTnF1n2XVPuW9QrUr95ZkD8b4bdkze9.jpg" alt="AddedCur.jpg"></div>

<br>
When that's done, they would be permitted to use the voting commands in the server. And their curation will be tracked (This is mainly for the curators payroll functionality that will be talked about in a bit)
<hr>

<div class="pull-right"><img src="https://files.peakd.com/file/peakd-hive/yaziris/23swe5MY9ASCjUnEnzXFSsoNPg7XkJfgFCzdQwft76DP345bqFU7b2Du5du4nDPmE9Tio.jpg" alt="RemoveCur.jpg"></div>

Similarly, to remove a curator and revoke their permission. Just click the "Remove Curator" dropdown and select their name from the list.

<sup><b>NOTE:</b> Currently, anyone that has the "Manage Messages" permission in the server, will also be able to use the voting commands. However, this was the old way and it wasn't that convenient, so it might be retired gradually.</sup>

<hr><hr>

<h3>🔧 Curation Configs</h3>

<img src="https://files.peakd.com/file/peakd-hive/yaziris/EoncNuSmkTmUq296boCq8znBBT1vqAbhr5YwUFHjanT9hnhAdBGC6jnMeemYrwaAh4V.jpg" alt="CurConf.jpg">


They are mostly self explanatory, but here's a quick run down of what each will do.

<table>
<tr><td>
<center><b>🗯 Allow Voting Comments</b></center>
</td></tr>
<tr><td>
Y or N answer, which represents that exactly. If Not allowed, curators in the server won't be able to vote anything that isn't a main post.
</td></tr>
<tr><td>
<center><b>⏳ Curation Window</b></center>
</td></tr>
<tr><td>
This is the max age of a post/comment in which curators are allowed to vote on it.
It's represented in Hours. So if you want to allow voting on a maximum of 3 days old posts for example, you'd do '72'.
</td></tr>
<tr><td>
<center><b>🚦 Maximum Vote %</b></center>
</td></tr>
<tr><td>
The highest vote percentage curators can use when voting a post/comment in the server. Setting that at '50' means curators can only vote with 50% weight from the set curation account.
</td></tr>
<tr><td>
<center><b>⚡ Voting Power Threshold</b></center>
</td></tr>
<tr><td>
This is the voting mana of the curation account at which all voting from the server will be halted if it drops below that designated number, until the account's mana regenerates.
</td></tr>
<tr><td>
<center><b>💬 Default Auto-Comment</b></center>
</td></tr>
<tr><td>

Adding a text/code in this box, will activate the auto-commenting with that default comment after voting functionality.
Whenever a curator uses the voting command, the post/comment gets voted accordingly. And automagically, this default comment will be left on that curated post/comment.

You can use any HTML/MarkDown allowed on chain, and it will be used as inputted.

Emptying out this field, would switch you to the manual "Leave a comment" button that you can use and type in any comment you want instead, in case you want to comment after voting.
</td></tr>
</table>

<hr>

With all that set. Permitted curators in the server can just use the /curate command, input their desired curation vote %, the link to the post/comment. And the rest is vote! 😎

<hr>
<img src="https://files.peakd.com/file/peakd-hive/yaziris/23tv4ZjtrruePKGRr1ZpKhgcWfPqvFt6ZHcdZcouUBHJ2gT7EdcohHxEsPV3fox9XDt4A.jpg" alt="CurPost.jpg">
<hr>
<center><img src="https://files.peakd.com/file/peakd-hive/yaziris/23tbKNNdakYaRTQBi7Ps6CbDRyoFf1Tchf4ochy5naSB1VumjduYwhjJXL1QWaMeh4TE2.png" alt="HiveDiscoMod-Divider"></center>
<hr>

<center><h3>💵 Curators Payroll</h3></center><hr>

<div class="pull-left">
<center><h3><code>/payrolls</code></h3>
<img src="https://files.peakd.com/file/peakd-hive/yaziris/23tRv7N1Zfn4h8av9Ch8boA18YgiNJjG5hCGdRY9jZVbHfuC9epDFBHjnX7JnxDDoSb8H.jpg" alt="PayrollsMain.jpg"></center></div>

From the "Curators" settings panel, or by using the <code>/payrolls</code> slash command. The payrolls interface comes up, where we can setup the account to distribute payouts. Whether for the delegations curation rewards system, or for the Curators Payouts which is the subject in this post.

Follow the steps that show up to go through linking the payouts account with the discord server you're using and setting it up.

![PayrollsButtons.jpg](https://files.peakd.com/file/peakd-hive/yaziris/23vrpeo4j4W6xCaKoNhPEMEgcTZmvK8GNUtydgzRy3skrg4HoqBtn7ozggWT88mF6gAx4.jpg)

Once the account is verified and it has the correct authority granted.

The different payroll buttons would show up, select the "Curators Payroll" to get started!

![CurPayButtons.jpg](https://files.peakd.com/file/peakd-hive/yaziris/23tv8ViXgjRoEZyErFAniiY1a8hcyKQFyf6TrXymZCE53B2gj18oRGW5v8JgDoeT4mJR1.jpg)

From there, you can "Start" the daily Curators payroll, "Stop" it, or "Distribute Now" on demand.

Or change the settings for the curators payroll by clicking the "Payroll Settings" button and filling in the variables.

<hr><hr>

<h3>🔧 Curators Settings</h3>

![PayrollSettings.jpg](https://files.peakd.com/file/peakd-hive/yaziris/23x9stbefAuYNxn45sKyPQSJa37TUFDMyk1SJ97Hp1A4RyqNrY2hP2r3TmxKGwFYu7JHb.jpg)

Again, self explanatory. Here are a few details, however.

<table>
<tr><td>
<center><b>💯 Curator Share %</b></center>
</td></tr>
<tr><td>

This is the percent assigned curators will be getting paid from what they have curated.

The bot will track all the posts curated by each curator in the server, and will distribute this share to the curator once the post they curated pays out (7 days.)
</td></tr>
<tr><td>
<center><b>⏰ Daily Distribution Time</b></center>
</td></tr>
<tr><td>

The time for the automatic daily payout distribution, denoted in a 24h UTC format.

Note: If you have the delegations rewards payroll active too, they both share the same set timing to run.
</td></tr>
<tr><td>
<center><b>📨 Curator Payment Memo</b></center>
</td></tr>
<tr><td>
<p>This is an optional text you can include in the memos with the payment transfers.

By default, the date and time of the applicable payout, will be appended to the memos. Whether you add a custom text or you leave this field blank.

For example; if you add the text "<i>Thank you for your help!</i>", and the time for distribution was set at 03:00, with the date of that applicable payment 2024-06-09
The resulting memo would be:
<blockquote>
Thank you for your help! (2024-06-09 03:00)
</blockquote>
Otherwise, if no custom memo text is added, it will just be:
<blockquote>
(2024-06-09 03:00)
</blockquote>
</p>
</td></tr>
</table>

<hr>
<center><img src="https://files.peakd.com/file/peakd-hive/yaziris/23tbKNNdakYaRTQBi7Ps6CbDRyoFf1Tchf4ochy5naSB1VumjduYwhjJXL1QWaMeh4TE2.png" alt="HiveDiscoMod-Divider"></center>
<hr>

<h3>Some Technical Details:</h3>

The bot will track all posts curated through it by each curator in the server.

The curator payouts are calculated based on the percent share of the curation rewards for the posts that got curated by that curator. Depending on the share set by the curation project.

Curators will get their share from the rewards once the curated posts have paid out (After the 7 days curation window.)
And those payouts will be distributed on a daily basis.

In case of a missed payment due to insufficient funds or any other reason, the missed payments will accumulate up to 7 days of missed payments, and will be paid out once whatever issue is resolved.

The bot will charge a fee of 1% when using the Curators Payroll system. Which will help with offsetting some costs of developing, updating, running and maintaining the services offered by it.

<hr><hr>
<center><img src="https://files.peakd.com/file/peakd-hive/yaziris/23tbKNNdakYaRTQBi7Ps6CbDRyoFf1Tchf4ochy5naSB1VumjduYwhjJXL1QWaMeh4TE2.png" alt="HiveDiscoMod-Divider"></center>
<hr>

<hr>
<p>
That's all for now. And as always, if you have any questions, feedback, and/or suggestions. Feel free to leave them in the comments. Or DM me on Discord (yaziris)
</p>

<center> Cheers 🍻 </center>

<hr>
<div id="bot-invite">
<center><table>
<tr>
<td><div class="pull-right"><h2>👉</h2></div></td>
<td><center><a href="https://discord.com/api/oauth2/authorize?client_id=1029620499472470036&permissions=117824&scope=bot%20applications.commands"><b>Invite The Bot To Your Server</b></a><br><a href="https://discord.com/api/oauth2/authorize?client_id=1029620499472470036&permissions=117824&scope=bot%20applications.commands"><img src="https://files.peakd.com/file/peakd-hive/yaziris/AK54WsUkFqULPsEbkKbMUBPR46z3xYP9ebeeNmpKPtEkJF2yDwkUxmmWHbMAuxv.png"></a></center></td>
<td><div class="pull-left"><h2>👈</h2></div></td>
</tr>
</table></center>
</div>

<hr>
<center><img src="https://files.peakd.com/file/peakd-hive/yaziris/23tbKNNdakYaRTQBi7Ps6CbDRyoFf1Tchf4ochy5naSB1VumjduYwhjJXL1QWaMeh4TE2.png" alt="HiveDiscoMod-Divider"></center>
<hr>
</div>
<div><center><table><tr></tr><tr><td><center><a href="/@hivediscomod"><img src="https://files.peakd.com/file/peakd-hive/yaziris/AK54YncZ9xx8J4nMC2B2oQpM7bqSpxWHyNvzWY1uEYAHu6QoDPLPBUBeZ52g4yX.png"></a></center></td></tr><tr></tr><tr><td><center><sup><a href="/@yaziris/introducing-hivediscomod-a-discord-bot-for-hive-user-info-and-community-moderation"><b>HiveDiscoMod</b></a><br><code>Your Friendly Discord Bot For Your Hive Community And Delegations Curation Rewards Distribution Needs!</code></sup></center></td></tr></table></center><div class="phishy"><center><sub>© 2024 | @yaziris</sub></center></div>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 676 others
properties (23)
authoryaziris
permlinkcuration-and-curators-payroll-management-system
categoryhive-139531
json_metadata{"app":"peakd/2024.4.1","format":"markdown","tags":["hivediscomod","discord","bot","curation","project","payroll","system","dev"],"users":["yaziris","hivediscomod"],"image":["https://files.peakd.com/file/peakd-hive/yaziris/23tbiJMz4Xb7kETJjYNzZNjgGJNuywGDeRmGCVEcXaSvU4F1NU4Cmvg5iMKiQ6L6ve5F5.jpg","https://files.peakd.com/file/peakd-hive/yaziris/23tbKNNdakYaRTQBi7Ps6CbDRyoFf1Tchf4ochy5naSB1VumjduYwhjJXL1QWaMeh4TE2.png","https://files.peakd.com/file/peakd-hive/yaziris/23tRxSKeZdsQHD2jRdT94KVPHegfY52zuRM7LHWSGAG5JiKE1yhctgAzmFX5N7GQokUJ7.jpg","https://files.peakd.com/file/peakd-hive/yaziris/23tGZmWQhyxLTdYpUdF8xCfa4NjQnS3CjQfzLjCiRxzUy4ZgQLvoHmnjB1PTR15Kjtya1.jpg","https://files.peakd.com/file/peakd-hive/yaziris/23xoURrbN11ZDrmRQmXacpe1yQdLAu2Y7ki2KooXGgntVWrS6gq5NVWfp5yM1pmfBu1LR.jpg","https://files.peakd.com/file/peakd-hive/yaziris/23wWR24PpqjSh5WDVqQT8tJKqcnLJ2AVpUcTDN5yRra4tatcDuio48qsqEoJSfWD6hWP7.jpg","https://files.peakd.com/file/peakd-hive/yaziris/23tGXdd2jniWf3EuL3qw49GUrbKz7r5VNiKkye7qMequcjZaBN43bh8r55k2VV7sDc4DS.jpg","https://files.peakd.com/file/peakd-hive/yaziris/23swfwJLL53SjcbRrfiwpzUTuTTPPQEpnSU4gnDE3zAmfxdWsTCx2UvCvgcE7TLv5zn17.jpg","https://files.peakd.com/file/peakd-hive/yaziris/23xoUWkf2WP8qmPazmpu1ddxhAxdgBn5ZNLBPSeRz8nvbaKJaaQ2dq9Qxpy3eHvpZearC.jpg","https://files.peakd.com/file/peakd-hive/yaziris/23tbMTtXBcJHfordULMcTP34ohyJrG6G8ohuByyTnF1n2XVPuW9QrUr95ZkD8b4bdkze9.jpg","https://files.peakd.com/file/peakd-hive/yaziris/23swe5MY9ASCjUnEnzXFSsoNPg7XkJfgFCzdQwft76DP345bqFU7b2Du5du4nDPmE9Tio.jpg","https://files.peakd.com/file/peakd-hive/yaziris/EoncNuSmkTmUq296boCq8znBBT1vqAbhr5YwUFHjanT9hnhAdBGC6jnMeemYrwaAh4V.jpg","https://files.peakd.com/file/peakd-hive/yaziris/23tv4ZjtrruePKGRr1ZpKhgcWfPqvFt6ZHcdZcouUBHJ2gT7EdcohHxEsPV3fox9XDt4A.jpg","https://files.peakd.com/file/peakd-hive/yaziris/23tRv7N1Zfn4h8av9Ch8boA18YgiNJjG5hCGdRY9jZVbHfuC9epDFBHjnX7JnxDDoSb8H.jpg","https://files.peakd.com/file/peakd-hive/yaziris/23vrpeo4j4W6xCaKoNhPEMEgcTZmvK8GNUtydgzRy3skrg4HoqBtn7ozggWT88mF6gAx4.jpg"]}
created2024-04-19 00:06:12
last_update2024-04-19 00:06:12
depth0
children4
last_payout2024-04-26 00:06:12
cashout_time1969-12-31 23:59:59
total_payout_value5.640 HBD
curator_payout_value5.517 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length13,179
author_reputation27,700,183,975,226
root_title"Curation & Curators Payroll Management System"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id132,954,704
net_rshares25,126,089,904,537
author_curate_reward""
vote details (740)
@hivebuzz ·
Congratulations @yaziris! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

<table><tr><td><img src="https://images.hive.blog/60x70/https://hivebuzz.me/@yaziris/upvotes.png?202404301125"></td><td>You distributed more than 36000 upvotes.<br>Your next target is to reach 37000 upvotes.</td></tr>
</table>

<sub>_You can view your badges on [your board](https://hivebuzz.me/@yaziris) and compare yourself to others in the [Ranking](https://hivebuzz.me/ranking)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>



**Check out our last posts:**
<table><tr><td><a href="/hive-122221/@hivebuzz/pud-202405"><img src="https://images.hive.blog/64x128/https://i.imgur.com/805FIIt.jpg"></a></td><td><a href="/hive-122221/@hivebuzz/pud-202405">Hive Power Up Day - May 1st 2024</a></td></tr></table>
properties (22)
authorhivebuzz
permlinknotify-1714476397
categoryhive-139531
json_metadata{"image":["https://hivebuzz.me/notify.t6.png"]}
created2024-04-30 11:26:36
last_update2024-04-30 11:26:36
depth1
children0
last_payout2024-05-07 11:26:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length907
author_reputation369,430,883,082,510
root_title"Curation & Curators Payroll Management System"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id133,241,486
net_rshares0
@libertycrypto27 ·
$0.03
!discovery 30
@tipu curate
👍  
properties (23)
authorlibertycrypto27
permlinkre-yaziris-2024419t22217476z
categoryhive-139531
json_metadata{"tags":["hivediscomod","discord","bot","curation","project","payroll","system","dev"],"app":"ecency/3.1.1-vision","format":"markdown+html"}
created2024-04-19 00:22:12
last_update2024-04-19 00:22:12
depth1
children2
last_payout2024-04-26 00:22:12
cashout_time1969-12-31 23:59:59
total_payout_value0.013 HBD
curator_payout_value0.013 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length26
author_reputation2,006,440,546,662,064
root_title"Curation & Curators Payroll Management System"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id132,954,917
net_rshares61,946,063,780
author_curate_reward""
vote details (1)
@tipu ·
<a href="https://tipu.online/hive_curator?libertycrypto27" target="_blank">Upvoted  &#128076;</a> (Mana: 2/42) <a href="https://peakd.com/hive/@reward.app/reward-app-quick-guide-updated" target="_blank">Liquid rewards</a>.
properties (22)
authortipu
permlinkre-re-yaziris-2024419t22217476z-20240419t002218z
categoryhive-139531
json_metadata"{"app": "beem/0.24.26"}"
created2024-04-19 00:22:18
last_update2024-04-19 00:22:18
depth2
children0
last_payout2024-04-26 00:22:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length222
author_reputation55,927,593,613,408
root_title"Curation & Curators Payroll Management System"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id132,954,919
net_rshares0
@yaziris ·
Thank you! Much appreciated 😎
properties (22)
authoryaziris
permlinkre-libertycrypto27-sc6okw
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2024.4.1"}
created2024-04-19 09:48:33
last_update2024-04-19 09:48:33
depth2
children0
last_payout2024-04-26 09:48:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length29
author_reputation27,700,183,975,226
root_title"Curation & Curators Payroll Management System"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id132,962,148
net_rshares0