The Market.getVaultAccumulatedValues
function does not multiply wethRewardChangeX18
by the vault's share. This causes the whole value change to go to every vault ignoring vault's share.
The getVaultAccumulatedValues
should calculate the value being distributed to the vault according to the vault's share. But the multiplication by vaultCreditShareX18
is missed for the wethRewardChangeX18
.
Incorrect accounting can cause different serious issues like assets losses, unsecured assets, incorrect calculations and DoS.
Manual Review
Consider multiplying the wethRewardChangeX18
by the vault's share.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.