Last active
June 25, 2017 01:39
-
-
Save brynbellomy/7021daa33793803a8847182d4e8a5c27 to your computer and use it in GitHub Desktop.
Restaurant.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
| contract Restaurant { | |
| function Restaurant() {} | |
| event GotReservation(uint seats, uint ethAmount, uint ethBalance); | |
| function reserve(uint seats) payable { | |
| GotReservation(seats, msg.value, this.balance); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment