31008 - [SC - High] Alcx rewards are permanently frozen when two to...
Description
Brief/Intro
Vulnerability Details
IFluxToken(FLUX).mergeFlux(_from, _to);
// If max lock is enabled end is the max lock time, otherwise it is the greater of the two end times
uint256 end = _locked1.maxLockEnabled
? ((block.timestamp + MAXTIME) / WEEK) * WEEK
: _locked0.end >= _locked1.end
? _locked0.end
: _locked1.end;
locked[_from] = LockedBalance(0, 0, false, 0);
_checkpoint(_from, _locked0, LockedBalance(0, 0, false, 0));
_burn(_from, value0);
_depositFor(_to, value0, end, _locked1.maxLockEnabled, _locked1, DepositType.MERGE_TYPE);
Impact Details
References
Proof of Concept
Previous30999 - [SC - Critical] An edge-case mints times more FLUX than it shouldNext31042 - [SC - High] Claiming alchemic-token rewards can fail for so...
Last updated
Was this helpful?