Use modifiers only for input validation with require
. Modifiers should not contain any substantive logic, because that logic will be executed before any input validation done at the start of function bodies.
Use modifiers only for input validation with require
. Modifiers should not contain any substantive logic, because that logic will be executed before any input validation done at the start of function bodies.