> For the complete documentation index, see [llms.txt](https://docs.dafiprotocol.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dafiprotocol.io/guides/reward-distributions.md).

# Reward Distributions

## Pool Balances

The poolBalance is distributed to users staking. It is initially supplied as native-tokens (DAFI) which is locked in the distributionContract, this is defined as maxTokens.

$$
Pool Balance = (maxTokens – totalDistributed + withdrawalFees) \* demandFactor
$$

This is later used, to understand how much dDAFI will be distributed per second, to the entire network.

$$
distributePerSecond = poolBalance / programDuration
$$
