31222 - [SC - Critical] Unlimited Flux minting
Description
Vulnerability Details
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); // Accrue Flux once in an Epoch, onlyNewEpoch modifier enforces this!
}Impact Details
Proof of Concept
Previous31211 - [SC - Critical] Inflation Of Total Votes and Potential Freeze o...Next31223 - [SC - Critical] Disproportionate Rewards Manipulation in Bribesol
Last updated
Was this helpful?