When a loan is touched (giving loan, buying loan, refinancing loan, borrowing loan, repaying, seizing loan), protocol fees is calculated and transferred to feeReceiver. By implementing like this, users are paying gas fee for governance. This is not gas optimized for users, especially token contract with complex logics (like rebase tokens, fee on transfer tokens...)
Consider using a storage value to accumulate fee amounts and let feeReceiver to call to Lender contract to withdraw fees(pull over push pattern).
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.