31198 - [SC - Critical] VotingEscrowmerge does not check whether the _f...
Description
Brief/Intro
Vulnerability Details
///// https://github.com/alchemix-finance/alchemix-v2-dao/blob/f1007439ad3a32e412468c4c42f62f676822dc1f/src/Voter.sol#L183-L192
function reset(uint256 _tokenId) public onlyNewEpoch(_tokenId) {
if (msg.sender != admin) {
require(IVotingEscrow(veALCX).isApprovedOrOwner(msg.sender, _tokenId), "not approved or owner");
}
lastVoted[_tokenId] = block.timestamp;
_reset(_tokenId);
IVotingEscrow(veALCX).abstain(_tokenId);
IFluxToken(FLUX).accrueFlux(_tokenId);
}Impact Details
References
Proof of Concept
Previous31196 - [SC - Critical] Voterpoke does not check lastVoted resulting in...Next31199 - [SC - Critical] Users might receive less rewars token after Vot...
Last updated
Was this helpful?