This is a stupid calculator. It does not understand anything. Is there a calculator limited by the rules?
I, too, did not understand how to use it. Too much run-in between assumptions. I correctly understand that the amount of CLO sent to the distribution is known exactly?
Example 1
(For simplification reasons assume that Staking Reward Pool is 100 CLO/day or 3000 CLO/month. However, the real Staking Reward Pool is 20736000 CLO/month)
Staker_1 deposits 1000 CLO into Staking Contract. Then Staker_2 deposits 4000 CLO into staking contract. As time passes, the Staking Contract is filled with CLO (+100 CLO each day).
After 1 month the Staker_2 claims his reward. (current block init block/round interval) = 1 in this case (because 1 month = 172,800 blocks). Staker_2 receives 3000 * 1 * 4000/5000 = 2400 CLO. 600 CLO remains at the Staking Contract.
Staker_1 has two options: claim the reward OR wait for better circumstances. If they decide to claim, then the reward will be 600 * 1000/5000 = 120 CLOwhich is not even close to the expected amount. In this case, Staker_1 should wait a bit longer. Staker_2 cannot claim the reward within the next 30 days because of their locking period after the last claim.
After 29 days the Staking Contract has 600 + 29*100 = 3500 CLO at its balance. (current block init block/round interval) = 2 for Staker_1 because they havent claimed the reward for 2 months. Staker_1 now claims 3500*2*(1000/(5000+1000)) = 1166,6 CLO.