How is staking calculated and paid out?

Follow