YieldSourcePrizePool.sol.
The state variable yieldSource should be immutable. (can be set only once only at the constructor)
Also at ControlledToken.sol, if you don’t want to allow to change the controller (no function for it) then make the controller immutable.
Handle
pants
Vulnerability details
YieldSourcePrizePool.sol. The state variable yieldSource should be immutable. (can be set only once only at the constructor) Also at ControlledToken.sol, if you don’t want to allow to change the controller (no function for it) then make the controller immutable.