Skip to content

Instantly share code, notes, and snippets.

@brynbellomy
Created June 29, 2017 18:25
Show Gist options
  • Select an option

  • Save brynbellomy/9a7b1aac5ff5aed41bf0b829ddcaabcc to your computer and use it in GitHub Desktop.

Select an option

Save brynbellomy/9a7b1aac5ff5aed41bf0b829ddcaabcc to your computer and use it in GitHub Desktop.
medium-auction-contract-5.sol
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