diff --git a/contracts/EventTickets.sol b/contracts/EventTickets.sol index ef61518..a986a0f 100644 --- a/contracts/EventTickets.sol +++ b/contracts/EventTickets.sol @@ -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; @@ -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.