Your AI Coding Agent Has a Shell. Here’s How to Sandbox It.
Not by default. The real question is not whether you trust the AI, but what it can reach when something goes wrong. Agentic Coding […]
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