Uploader Reward Calculation
Introduction
To incentivize protocol nodes to stay online and continue uploading and validating data nodes receive a reward in $KYVE for every valid bundle proposed. The reward depends on two main parameters, the operating_cost
which is stored per pool and the storage_cost
which is stored as a module param and used for every pool. The operating cost covers all fixed costs a node has including server operating costs, $KYVE transaction fees and other fixed costs. The storage cost covers all variable costs which mainly covers the cost of storing the bundle proposals on a web3 provider like Arweave.
Bundle Reward
The entire reward for the bundle is called the bundle reward and is calculated by adding the operating cost to the product of the data size times the storage cost. But this is not the final amount the uploader actually receives at the end. That final uploader reward depends on the network fee and the uploader's commission.
Network Fee
The network fee collects a part of the bundle reward and transfers it to the community pool where the governance can decide how to use those funds. It is usually around 1-2% and can be found in the params of x/bundles
.
Commission
After the network fee is deducted the uploader can take his share of the remaining bundle reward. Because the uploader has to share his rewards with delegators and the uploader's stake also counts as a normal delegation the uploader would earn the same rewards as a normal delegator who just delegated the same amount. This is of course unfair, since the node operator is putting way more work and capital in form of server costs and maintenance.
For this reason the commission was introduced, giving the node operator the option of setting a percentage of how much of the remaining bundle reward he directly receives. If the commission is at 0% the node operator does not earn anything extra and has the same rewards as a normal delegator. If the commission is 100% the node operator receives the full remaining bundle reward, leaving nothing for the delegators. Here of course the commission has to be chosen carefully by the node operator, choosing a too low commission could result in a loss for the operator, choosing it too high would result in users not delegating to your node. After the commission is then finally deducted the remaining reward is called the delegation reward. More information on how the delegation reward gets distributed between all delegators can be found on the next page.
NOTE: This means that the node operator always has to sources of income, the commission rewards and the delegation rewards from his self delegation.
Reward Parameters
The current reward parameters can be found below. The operating cost is the parameter which is not globally set and defined in each pool itself where the bundle reward is applied.
Mainnet | Kaon | Korellia | |
---|---|---|---|
Network Fee* | % | % | % |
Storage Cost* | tkyve | tkyve | tkyve |
Operating Cost | per Pool | per Pool | per Pool |
*Updated at
These parameters can only be updated via the governance.
Calculation
With this information the rewards can be calculated as follows:
where
- =
is the reward for a valid bundle in ukyve
- =
the fixed base reward per pool in ukyve
- =
the amount of bytes in bundle proposal
- =
the reward per byte in ukyve
- =
is the reward the uploader receives through commission
- =
the percentage of how much goes to the community pool
- =
the commission percentage chosen by the node operator