Smart Security Practices From The Best
What do Lido, Red Stone, YieldNest, and Braintrust have in common? They’ve developed effective methods for improving security without drastically increasing costs. Top-tier protocol […]
The valuation of vault tokens is inaccurately represented, leading to a decreased
value of the assets held within the MaxVault.
The rate providers for MaxVaults (ynBNBx and ynETHx) have the previewRedeem function to determine the rate for a single strategy token. However, this function includes the withdrawal fee, which results in an incorrect valuation that is lower than the actual value of one token.
MEDIUM – The valuation of vault tokens is inaccurately represented, leading to a decreased value of the assets held within the MaxVault.
To ensure accurate rate evaluation, utilize the convertToAssets function instead.
Meet Composable Security
Get throughly tested by the creators of Smart Contract Security Verification Standard
Let us help
Get throughly tested by the creators of Smart Contract Security Verification Standard