Created
December 27, 2020 21:09
-
-
Save reime005/557278740d8488fd8677006bfdb68ae0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @dev Throws if called by any account other than the owner. | |
*/ | |
modifier onlyOwner() { | |
require(msg.sender == owner); | |
_; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment