Created
June 29, 2017 18:25
-
-
Save brynbellomy/9a7b1aac5ff5aed41bf0b829ddcaabcc to your computer and use it in GitHub Desktop.
medium-auction-contract-5.sol
This file contains hidden or 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
| modifier onlyNotOwner { | |
| if (msg.sender == owner) throw; | |
| _; | |
| } | |
| modifier onlyAfterStart { | |
| if (block.number < startBlock) throw; | |
| _; | |
| } | |
| modifier onlyBeforeEnd { | |
| if (block.number > endBlock) throw; | |
| _; | |
| } | |
| modifier onlyNotCanceled { | |
| if (canceled) throw; | |
| _; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment