The contract implements setter functions, setminter and burner but does not use it in mint and burn functions.
https://github.com/Cyfrin/2025-02-raac/blob/89ccb062e2b175374d40d824263a4c0b601bcb7f/contracts/core/tokens/RToken.sol#L267
https://github.com/Cyfrin/2025-02-raac/blob/89ccb062e2b175374d40d824263a4c0b601bcb7f/contracts/core/tokens/RToken.sol#L277
The contract implements setter functions:
However, these roles are never checked or used in any function. The minting and burning functionality is controlled exclusively by the ReservePool through the onlyReservePool modifier:
Leftover code #QA
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.