It is recommended to use modifiers for common checks within different functions.
This will result in less code duplication in the given smart contract and adds significant readability into the code base.
Use of modifiers for repeated checks
- ConsenSys Audit Balancer Finding 3.6
- Code Refactoring
- Repeated Checks
- Error-prone
- Repeated Checks -> Modifiers