31523 - [SC - Low] USDT Approval will cause function failure
Description
Brief/Intro
Vulnerability Details
File: RewardPoolManager.sol
function depositIntoRewardPool(uint256 _amount) external returns (bool) {
require(msg.sender == veALCX, "must be veALCX");
IERC20(poolToken).approve(rewardPool, _amount);
IRewardPool4626(rewardPool).deposit(_amount, address(this));
return true;
}Impact Details
Recommended Mitigation Steps
References
Proof of Concept
Previous31521 - [SC - Medium] Early return in RewardsDistributorclaim can cau...Next31524 - [SC - High] Rounding down in getClaimableFlux leads to less...
Last updated
Was this helpful?