One of the ways to earn income in HIVE is the curation.
We all know how much income we will have when your post is upvoted.
It is declared under the post.
But what happens when we upvote a post?
How is the earning from the curation estimated?
It was really a difficult task in HIVE.
In Steem, there were many documents and resources to calculate this.
The most didactic one was this post by @yabapmatt.
Reading the Hive whitepaper, I realized that things are a bit changed here.
At the very end of my research, I was able to make this simple program to estimate the future curation rewards in Hive.
WAS - IS
- In Steemit, curation rewards was %25 of total payout, in HIVE it is %50
This means, curation is much more feasible in HIVE. - In Steemit, the voting window was 30 minutes for a post, in HIVE it is:
%80 of curation goes to author if upvoted before 1 minutes
%60 of curation goes to author if upvoted before 2 minutes
%40 of curation goes to author if upvoted before 3 minutes
%20 of curation goes to author if upvoted before 4 minutes
All curation goes to voter if upvoted after 5 minutes.
Basic Flow
With these in hand, we can start the calculation. The method is as below:
get the name of upvoter to the post
get the last 1000 activity of the voter
get the upvotes from the last 1000 activity
calculate the upvote reward ratio with below formula:
(sqrt(total weight of votes before voter+weight of voters vote)-sqrt(weight of votes before voter))/sqrt(weight of total votes)
Here I am not %100 sure...
When I check the reward fund, I see below data:
"curation reward curve:linear"
So my anicent Steemit "sqrt" formula can be false,
I may need to change it to linear.
I would really appreciate comments on this!Check the efficiency of voters curation on all posts
Send the report with a mention to the voter.
How this works
Just upvote this post and my server will post a comment under this post,with all your estimated curation future earnings summary report as your name is mentioned.
OpenSource
I always make my scripts open-source so anyone intersted can benefit from it.
The repo is here
FD
- Edit 1: Seems this sqrt formulation completely sucks :(
Still trying to figure out correct formulation.
It seems HiveStats of @steem.leo achieved this.
I really would appreciate a hand...