lemonmon - `Boosted3TokenAuraVault::_depositFromNotional` lacks the check for the settlement window
Closed this issue · 0 comments
sherlock-admin commented
lemonmon
medium
Boosted3TokenAuraVault::_depositFromNotional
lacks the check for the settlement window
Summary
One can enter the vault within the settlement window
Vulnerability Detail
According to the comment,
// Entering the vault is not allowed within the settlement window
However, there is no code to enforce the comment
Impact
One can enter the vault within the settlement window
Code Snippet
Tool used
Manual Review
Recommendation
Add the check for the settlement window