Created
November 7, 2018 17:13
-
-
Save pgebheim/a9844ff1271d5fc37106d4cb25fd9811 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
contract HasAnOwner { | |
address owner; | |
function useSuperPowers(){ | |
if (msg.sender != owner) { throw; } | |
// do something only the owner should be allowed to do | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment