I wrote some posts about this a while ago... you can check this one out for starters:
https://inleo.io/@brennanhm/how-earning-works-on-hive-and-inleo-e5d
There are some links at the bottom of the article to Hive and InLeo documentation if you want a deeper dive.
Oh awesome, thank you so much! =)