by Tristan, on June 21, 2021
Foreword
The goal of this post is to inform clients of Stake.Green staking service or of any other staking service on how staking rewards are calculated and distributed on the Cardano (ADA) blockchain.
First of all, it is worth mentioning that reward computation and distribution is fully automatised by the Cardano blockchain. It means that by delegating your ADA to a pool you are 100% assured to receive you share of the mining rewards that the pool is entitled to.
However, maximising the amount of rewards that the pool is entitled to is subject to state-of-the-art pool management and monitoring. At Stake.Green we make our mission to provide this high standard of mining pool management in order to deliver the best possible APY to our clients.
In the rest of this article you will find complete and transparent information on Cardano rewards and on how the quality of pool management affects those rewards (follow the ⚠️).
Total amount of reward
At the end of each epoch (currently 5 days) Cardano allocates a total reward amount of ADA that will be split between all mining pools and treasury. The value of this total reward is computed as follows:
Where:
: the amount of ADA that have not been issued yet. The Cardano blockchain sets a maximum attainable supply of 45 billion ADA. Hence, at any time the following equation holds: . The current value of the ADA reserve is given on our ADA Live Data page.
: a Protocol Parameter indicating how much of the reserve should be allocated to rewards at each epoch. Hence, due to reward distribution, the ADA diminishes with time and the total ADA supply increases.
: the ratio between the number of blocks that were actually minted in the epoch over the ideal number of blocks that should have been minted during the epoch. The ideal number of blocks that should have been minted during the epoch is given by the following formula: where and are Protocol Parameters. The current ideal number of blocks per epoch is which represents one block every 20s.
: the sum of all the transaction fees of the epoch. ADA imposes a minimum transaction fee per transaction of: with the size of the transaction in bytes where and are Protocol Parameters.
Treasury tax
The first thing to come off the total reward is the treasury tax. A fraction of is directly distributed to the Treasury whose goal is to:
Provision funds to develop Cardano activities through a voting process.
Hence, you can think of it as a traditional state tax. Fraction is a Protocol Parameter.
After the treasury tax, the epoch’s reward amount which remains for mining pools is:
The fraction of that each mining pool will receive depends on two factors: the stake pledged my the managing entity of the pool and the total stake delegated stake to the pool (including the pledge).
Stake pledged. The pool’s pledge is an amount of ADA that is owned and pledged by the pool managing entity. Stake Green’s current pledge can be found on our ADA Pool Specification page.
⚠️ If a pool does not provide proof of its declared pledge rewards for the epoch will automatically be set to . Hence the pool’s clients wont receive any reward for that epoch.
Stake delegated. The pool’s total amount of delegated ADA (including the pledge). This total is the sum of all the ADA that the pool’s clients delegate to the pool plus the pool’s pledge. Stake Green’s current delegated stake can be found on our ADA Pool Specification page.
Pool reward in theory
The pool’s theoretical reward for the epoch is given by the following formula which we are going to understand step by step:
With:
: the relative pledged stake. The value of is the stake pledged by the pool relative to the total amount of ADA supply (i.e. the amount of ADA that were supplied to date). In other words: and we have .
: the relative delegated stake (including the pledge). The value of is the stake delegated to the pool relative to the total amount of ADA supply. In other words: and we have .
Current values of and for Stake.Green are given on our ADA Pool Specification page.
: the after tax total amount of rewards available for mining pools (see above), which is:
: the pool saturation threshold, between and . In the interest of decentralization, Cardano does not want a pool to have a delegated stake of more than of the current total amount of ADA supply with a Protocol Parameter also referred to as . In practice, the way of enforcing this is to disallow and to be bigger than in reward calculation, which motivates the introduction of and below. That way a mining pool will not get extra rewards once it has reached saturation (i.e. ) and so, it is not in the pool interest to be saturated.
: caps the value of the relative pledge to the saturation threshold .
: caps the relative pool’s delegated stake to the saturation threshold .
: the pledge influence factor, between and . This parameters controls how important is the influence of the pledge on the total reward. As described below if pools with equal stake are not favorised by how big their pledge is while if only the pool’s pledge has an influence on the reward of the pool (and not the pool’s delegated stake!).
Ignoring pledge influence
Most of the complexity of the above formula for comes from the fact that the Cardano blockchain wishes to give some importance to the pledge that a mining pool is providing during the mining process. Having a high pledge gives more credit to a mining pool entity who is willing to temporarily freeze that pledge before the epoch to ensure optimal mining.
Let say for now that we ignore the pledge influence factor and set . Then the formula of simply becomes:
This formula makes perfect sense! The pool will get a proportion of the total available reward equal to its relative delegated stake in the blockchain (capped by the saturation threshold).
Pledge influence in a saturated pool
Now, if we wish to add some weight to the pledge we have to consider the full formula of f. However, we can note that the factor is always between and (this is because ) and that it is equal to when , i.e. when the pool is saturated. Hence, if the pool is saturated, i.e. its relative delegated stake represents more than of the current total ADA supply, we have:
In this case, we have that . Meaning that the only thing that matters when is the pledge and that someone looking for delegating her coins would always go to the non-saturated pool with the highest pledge in order to maximise staking rewards. This would be bad news for miners as organic growth of the delegated stake would be useless: only initial wealth, materialised in the pool’s pledged would matter.
Hence, we understand how the value of allows to compromise between “only delegated stake matters” and “only pledged stake matters” scenarios.
Pledge influence in a non-saturated pool
The last thing that we need to understand in the expression of is this factor:
Let’s rewrite things a bit, we have:
Note that represents how far from saturation the pool is. In the hypothesis of a pool far from saturation, we’ll approximate .
In that case the factor becomes:
And the expression of :
We understand that plays the role of an incentive to get delegated stake. Indeed, if the pool has no delegated stake we have hence and no matter how high the pool’s pledge is, the multiplicative effect of is set to : .
Hence this factor makes it more beneficial for a pool with high pledge to actually get delegated stake instead of closing the door and only capitilising on their pledge, as delegated stake will activate the influence of on the reward and make high pledges be more beneficial.
Finally, this influence of delegated stake on the reward diminishes as the pool gets closer to saturation because of the factor .
We now hopefully have a more complete understanding of the theoretical reward formula and it is now time to talk about the actual pool’s reward.
Pool reward in practice
The formula of gives the theoretical maximum amount of reward that the pool is entitled to for the epoch. However, in practice, this amount is ponderated by the pool performance factor.
Pool performance factor. The probability for a mining pool to be chosen to mint a block is where is the delegated staking of the pool relative to the total of staked ADA. Note this subtlety, was defined by but . At the date of this article, approximatively 70% of the total ADA supply was delegated.
However, the realised fraction of block minted during the period is .
The pool’s perfomance factor is the ratio which gives a metric of how ideally the pool performed during the epoch.
Due to the randomness of the pool selection process, the ratio will fluctuate from epochs to epochs: sometimes it will be greater than 1 as the pool was lucky and minted more blocks than expected, and sometimes it will be lower than , the pool was unlucky and minted less blocks than expected. But, in average, the ratio should be equal to 1 (in practice, extremely close to 1).
⚠️ If a pool does not operate correctly and has downtime during a mining period, the performance indicator will be biased negatively and will be lower than 1 in average. At Stake.Green we commit to the best standards of pool management and to having an average performance indicator the closest to 1. You can check our current average performance indicator on our ADA Pool Specification page.
The influence of non-delegated stake
As mentionned above, roughly 30% of the total ADA supply is not currently being delegated. This imply that: , meaning that not all the available reward is distributed at each epoch. The remaning rewards go back to the reserve. Hence, it is in the best collective interest to delegate one’s ADA as it increases the amount of reward received by all. If you have not delegated your ADA yet, we would be happy to welcome you on Stake.Green ADA delegation service!
Customer reward
We can finally characterise the actual reward that the pool’s customers will receive for the epoch!
As we established, the total reward for the pool is . Before being redistributed to customers, the following are substracted from it:
- The declared operating costs of the pool, find ours here
- The declared margin of the pool, find our margin here
Finally, the remaining amount of reward is redistributed to customers proportionally to their stake in the pool.
Stake.Green reward calculator
Use our Reward Calculator to get a prediction of the rewards and APY that you will be getting by delegating to us!
Conclusion
Hopefully, in this article, we will have convinced you that the Cardano blockchain provides a very transparent staking rewards system.
However, although that system attributes rewards automatically, the technical quality of the pool management is key in delivering the highest possible return for the pool’s customers.
This is why, at Stake.Green we focus all our efforts in maintaining a state-of-the-art Cardano mining pool and we would be more than happy to welcome you aboard!