You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever Vault deposit to the strategy through series of function call using MultiCall contract, it does not consider return values if any protocol returns on deposit.
Whenever Vault withdraws from the strategy through series of function call using MultiCall contract, it does not consider return values if any protocol returns during withdraw.
Possible Solution
Deposit : Check the difference of vault balance in underlying token before and after deposit. Some protocols may limit the investment so consider that via calls made to the adapter.Revert if the difference is not as expected
Withdraw : Check the difference of vault balance in underlying token before and after withdraw. Revert if the difference is not as expected.
The text was updated successfully, but these errors were encountered:
Problem
MultiCall
contract, it does not consider return values if any protocol returns on deposit.MultiCall
contract, it does not consider return values if any protocol returns during withdraw.Possible Solution
The text was updated successfully, but these errors were encountered: