I know there must be some formula out there to calculate the STU / Hive Rewards / Vote Value. I know it includes a few things, such as
- the price of hive
- the reward balance of the blockchain
- the total recent claims
- total hive power
- vote mana
- vote weight
- delegations coming in and out
- date
- total vesting fund
- total vesting shares
There's a formula here but it just doesn't give me a Hive Rewards final value. It gives something like 4179.like 10 decimals. But this calculator says my full vote is 0.51 at 100% mana and weight.
I tried to copy that calculator's code, but @penguinpablo minified it and it's not open source :CC
The following is my attempt at deciphering his minified code. I failed. It gives me -3578169634870.7144 (which is definitely not my vote size lol)
I'll show some of my failed attempts:
Yeah I might need some help. XD reeeeeeeee so much time
if anyone knows, or knows someone who knows, pls gib formula?