Last active
June 29, 2017 18:08
-
-
Save brynbellomy/8071776fc8daa627859dcee4630dac51 to your computer and use it in GitHub Desktop.
medium-auction-contract-2.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
| function Auction(address _owner, uint _bidIncrement, uint _startBlock, uint _endBlock, string _ipfsHash) { | |
| if (_startBlock >= _endBlock) throw; | |
| if (_startBlock < block.number) throw; | |
| if (_owner == 0) throw; | |
| owner = _owner; | |
| bidIncrement = _bidIncrement; | |
| startBlock = _startBlock; | |
| endBlock = _endBlock; | |
| ipfsHash = _ipfsHash; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment