Closed code423n4 closed 3 years ago
shw
The compLikeDelegate function of PrizePool does not emit an event after the votes of the PrizePool are delegated to someone.
compLikeDelegate
PrizePool
Referenced code: PrizePool.sol#L1048-L1052
Emit an event after line 1050 if this function is considered important.
We can listen to the delegate event of the underlying COMP-like token.
Per sponsor, there is an event. Closing.
Handle
shw
Vulnerability details
Impact
The
compLikeDelegate
function ofPrizePool
does not emit an event after the votes of thePrizePool
are delegated to someone.Proof of Concept
Referenced code: PrizePool.sol#L1048-L1052
Recommended Mitigation Steps
Emit an event after line 1050 if this function is considered important.