The Monthly Rewards Total is split into four equal amounts rewarding Staking, Borrowing, Trading, and Earning. These four sub-pools are then allocated as follows:

*Staking Allocation (25%)*

For each user,

- we first calculate the individual monthly Qualifying LND Balance as the lower of their average daily balance and their month end balance
- we then calculate the individual Staking Rewards Share as the Qualifying LND Balance divided by the sum of all qualifying user balances
- we then calculate the individual LND Staking Rewards as the Staking Rewards Share multiplied by the size of the Monthly Staking Rewards Pool

*Borrowing Allocation (25%)*

For each user,

- we first calculate the individual monthly Qualifying Borrow Balance as the average of their daily open Borrow balances
- we then calculate the individual Borrowing Rewards Share as the Qualifying Borrow Balance divided by the sum of all qualifying user balances
- we then calculate the individual Borrowing Rewards as the Borrowing Rewards Share multiplied by the size of the Monthly Staking Rewards Pool

*Earning Allocation (25%) *

For each user,

- we first calculate the individual monthly Qualifying Earning Balance as the average of their daily open Earning balances (converted to USD equivalent from BTC and ETH using end of day prices)
- we then calculate the individual Earning Rewards Share as the Qualifying Earning Balance divided by the sum of all qualifying user balances
- we then calculate the individual Earning Rewards as the Earning Rewards Share multiplied by the size of the Monthly Earning Rewards Pool

*LND Purchasing (25%)*

For each user,

- we first calculate the individual monthly Qualifying LND Purchasing Balance as the total of their LND purchases (converted to USD equivalent from LND using end of day prices)
- we then calculate the individual LND Purchasing Rewards Share as the Qualifying LND Purchasing Balance divided by the sum of all qualifying LND Purchases
- we then calculate the individual LND Purchasing Rewards as the LND Purchasing Rewards Share multiplied by the size of the Monthly LND Purchasing Rewards Pool