FV-SOL-6 Unchecked Returns
TLDR
Failure to check returns is a surprising pitfall to many smart contracts. Not checking returns properly could cause unexpected behavior leading to security issues as a result.
Code
Classifications
Mitigation Patterns
Checked Returns FV-SOL-6-M1)
It is generally a good strategy to ensure that all returns in your contract has at least minimal checks for validity, success and expected return values
Checks-Effects-Interactions(FV-SOL-6-M2)
This pattern ensures that all internal changes are made (checks and effects) before any external calls are made, reducing reentrancy risks and ensuring contract state integrity before interactions
Actual Occurrences
Content
Last updated