30708 - [SC - Low] treasuryPct can be exceeded than BPS due to inc...
Description
Brief/Intro
Vulnerability Details
constructor(address _veALCX, address _treasury, uint256 _treasuryPct) Ownable() {
veALCX = _veALCX;
require(_treasury != address(0), "treasury cannot be 0x0");
treasury = _treasury;
@> require(treasuryPct <= BPS, "treasury pct too large");
treasuryPct = _treasuryPct;
}Impact Details
References
Recommendation to fix
Proof of Concept
Previous30704 - [SC - Medium] Griefing an account from getting votes delegate...Next30710 - [SC - Insight] The execution of the proposal has no expiration
Last updated
Was this helpful?