Most of our modifiers just add a require statement before the modified function is called.
For these cases, the modifier should be named like onlyCondition, for example, onlyOwner. This modifier should call a function that returns a boolean named like isCondition, for example, isOwner.
Most of our modifiers just add a
requirestatement before the modified function is called.For these cases, the modifier should be named like
onlyCondition, for example,onlyOwner. This modifier should call a function that returns a boolean named likeisCondition, for example,isOwner.