Open hats-bug-reporter[bot] opened 6 months ago
Similar issue in CvxRewardDistributor.sol
at L-263 and in CvxStakingPositionManager.sol
at L-170--L-176 and in StakingServiceBase.sol
at L-1040
We don't consider the lack of event on Owner functions as a problem, it's completely assumed. In conclusion, this issue is invalid.
@0xR3vert Based on contest rules for low severity,
Issues where the behavior of the contracts differs from the intended behavior (as described in the docs and by common sense), but no funds are at risk.
I believe, the issue deserves low severity. Historically, missing events on critical functions are low severity issues on various audit platforms. The first judgement by lead auditor has also considered it low severity.
Github username: -- Twitter username: -- Submission hash (on-chain): 0xf3d6f90041902c66d0913414c5f6f61f3314d024565eeb0c1ca60f33ae1812ac Severity: low
Description: Description\ The onlyOwner functions that change critical parameters should emit events.
1) Events allow capturing the changed parameters so that off-chain tools/interfaces can register such changes with timelocks that allow users to evaluate them and consider if they would like to engage/exit based on how they perceive the changes as affecting the trustworthiness of the protocol or profitability of the implemented financial services.
2) The alternative of directly querying on-chain contract state for such changes is not considered practical for most users/usages.
3) Missing events do not promote transparency and if such changes immediately affect users’ perception of fairness or trustworthiness, they could exit the protocol causing a reduction in liquidity which could negatively impact protocol TVL and reputation.
In
CvgCvxStakingPositionService.sol
contract, below are owner functions that do not emit any events in the contracts.In
CVX1.sol
contract, below are owner functions that do not emit any events in the contracts.In
CvxConvergenceLocker.sol
contract, below are owner functions that do not emit any events in the contracts.Recommendation to fix\ Add events to all onlyOwner functions that change critical parameters.
NOTE: Issue applicable to all such instances in inscope contracts