This is due to the fact that instead of calling the Treasury::deposit
function, the FeeCollector
just transfers the RAACToken to the treasury
The problem can be located in the FeeCollector::_processDistributions
function:
In the pretty last line of the function we see that the RAAC
tokens are just transferred to the treasury instead of deposited into it. This will lead to funds locked in the treasury since when the funds are transferred like this, the Treasury::_totalValue
variable and Treasury::_balances
mapping won't be updated
RAAC
token will be forever locked in the treasury
Manual Review
call the Treasury::deposit
function instead of just transferring the 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.