The distributeRevenue
function job is to distribute revenue between veRAAC holders(80%) and performance fees(20%). But only veRACC share is correctly added to it's mapping, while performance share is not. This means that the intended 20% permormance fee is lost and remains untracked.
The expected behaviour would be to store performanceShare
to it's mapping so it can be tracked/distributed.
The calculated performanceShare
never gets stored or used anywhere.
The 20% performance fee is never allocated or stored or distributed.
The emitted event is misleading that everything is fine.
Manual
Since performanceFees
mapping requires an address in order to account the fees, the function must be refactored to meet the requirements for performanceFees update.
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.