Return Value of OperatorVault::deposit()
transfer function is not checked .
This line in OperatorVault::deposit()
doesn't check the return value of transferAndCall . The IERC677 implementation returns a bool , which is never checked.
While the likelihood is not that much , but if it fails , there will be inconsistency in thestate of the protocol and the vault.
The trackedTotalDeposits
variable will still be updated which is used in many functions in the OperatorVault .
Add a require statement.
Similar Findings 1
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.