Open code423n4 opened 2 years ago
_getTotalSupply -> Non-critical
Rounding -> Agree
Comment -> Non-critical
Comment iv -> non-critical
Valuable report that ultimately helps the dev, just has very few findings, but I do appreciate the conciseness
1+++
QA report
_getTotalSupply()
function name is quite misleading because it doesn’t actually get you the total supply but rather, it gets you the total number of tokens staked in theConvexStakingWrapper
contract.d_reward
in the_calcRewardIntegral()
function by calculating the 20%, storing it in a local variable and then update d_rewards by subtracting this 20% away instead of the currentd_reward = (d_reward * 4) / 5;
deposit()
function has a bad comment in the natspec. Fix should be@param _amount amount to deposit
.//no-op for cvx, crv rewards
in theaddRewards()
function is deprecated and should be removed.