AI Development Setups Review and When to Use Each
AI-assisted development and AI-native companies are becoming more and more popular, but security is not catching up. This article compares the most common AI […]
The processAccounting function will revert on every invocation within the ynBNBx context
The Provider contract, responsible for retrieving rates for all assets held by the vault, currently does not include the ynClisBNBk strategy. As a result, when the processAccounting function attempts to update the totalAssets variable, it fails and reverts with each call.
if (asset == MC.BUFFER || asset == MC.YNBNBk) {
return IERC4626(asset).previewRedeem(1e18);
}MEDIUM – The processAccounting function will revert on every invocation within the ynBNBx context.
Incorporate the ynClisBNBk strategy into the list of assets supported by the Provider contract on the BNB Chain.
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