There is no function to withdraw RAAC tokens from treasury.
FeeCollector directly sends part of collected RAAC tokens to treasury:
The problem is the treasury has no function to withdraw token, that are directly sent to it's balance:
This function can withdraw only _balances[token] amount - meaning only tokens sent using deposit() can be withdrawn. If manager tries to withdraw whole contract's balance, the function will revert, because not all tokens was accounted in _balances[token] (raacToken.balanceOf(address(this)) will always be > _balances[token]).
RAAC tokens sent to treasury from FeeCollector will be stuck forever.
Manual review.
Recommended to sent RAAC tokens to treasury using Treasury.deposit().
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.