The treasury contract manages protocol treasury funds with role-based access control.
https://github.com/Cyfrin/2025-02-raac/blob/main/contracts/core/collectors/Treasury.sol#L7C1-L18C4
The issue is that contract can only withdraw token sent through deposit. Any funds sent directly cannot be transferred. but within FeeCollector fee shares are been sent to the treasury using ERC20 transfer does shares would be locked.
https://github.com/Cyfrin/2025-02-raac/blob/main/contracts/core/collectors/FeeCollector.sol#L423
Tokens sent directly to treasury through directly transfer would be locked
Implement a functionality to withdraw shares received directly with proper access control
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.