Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assignment submission for review #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions contracts/EventTickets.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@ pragma solidity ^0.5.0;

contract EventTickets {

/*
Create a public state variable called owner.
Use the appropriate keyword to create an associated getter function.
Use the appropriate keyword to allow ether transfers.
*/
address owner = msg.sender;

uint TICKET_PRICE = 100 wei;

Expand All @@ -34,6 +30,8 @@ contract EventTickets {
Create a modifier that throws an error if the msg.sender is not the owner.
*/

ipsum lorem doren!

/*
Define a constructor.
The constructor takes 3 arguments, the description, the URL and the number of tickets for sale.
Expand Down