FeeCollector is a contract implemented to collect fees from various protocol's products and functionalities. FeeCollector is created to interact only with RAACToken but some fees in other contracts are expected to be paid in other tokens since these contracts do not interact with RAACToken.
As we can see collectFee function in FeeCollector can only take fee in RAACToken.
FeeCollector has fee type number 1 (Lending Fees (1): Lending/borrowing activities) which should be charged in LendingPool contract. The issue is that the LendingPool contract does not handle RAACToken in any way, so the charged fees can't be sent and distributed in the FeeCollector contract.
Charged fees can't be sent and redistributed in the FeeCollector. Protocol does not work as intended and rewards recipients will not recieve their part of the expected rewards due to lack of functionality to handle tokens different than RAACToken.
Manual Review, Hardhat
Change LendingPool in a way that it can pay fees in RAACToken or change FeeCollector so it can receive and distiribute rewards in different tokens.
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.