29267 - [SC - High] Wrong implementation causing some functions in ...
Description
Brief/Intro
Vulnerability Details
function registerGauge(
address _asset,
address _gauge
) external onlyOwner returns (address) {
if (isPool[_asset]) {
_pools.push(_asset);
isPool[_asset] = true;
}
bribes[_gauge] = address(0);
gauges[_asset] = _gauge;
poolForGauge[_gauge] = _asset;
_updateFor(_gauge);
return _gauge;
}Impact Details
References
Proof of Concept
Previous29262 - [SC - Insight] Some users can get more rewards than others whi...Next29270 - [SC - High] The main functionality of the contract EarlyZER...
Last updated
Was this helpful?