Actual Source of Protocol Fees

I tried tracing the fees as well, unsuccessfully. The distribution of fees is manual. But the earning surely is automated in some smart contract. So many people have already asked about this. It should be very simple to just post all relevant smart contracts to anyone to verify the code which generates the fees.

@andre.cronje Can you post the links to smart contracts that are generating the fees?