Earn interest is given hourly based on the value set for each asset.
Interest calculation is based on APY (annual percentage yield) mechanism, the interest earned is directly added to your Earn balance and is calculated for the next interest calculation (compounding).