FeeCollector's emergencyWithdraw
function uses direct token transfers instead of Treasury's deposit function, breaking balance tracking and potentially trapping funds.
The emergencyWithdraw
function bypasses proper accounting:
Funds directly transferred will be locked since the withdrawal relies on _balances[token]
and not balanceOf()
Manual review
Use Treasury's deposit function instead of direct transfer:
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.