
Exposed Methods
setPrice owner sets the price for the tickets
parameter name | type | details |
---|---|---|
_zoneprice | uint | price of a zone |
_priceguide | uint | price of a guide |
_fullaccessprice | uint | price for all zone access |
showPrice checks the price of a ticket
parameter name | type | details |
---|---|---|
_priceguide | uint | price of a guide |
_fullaccessprice | uint | price for all zone access |
buyTicket enables the user to buy a ticket
parameter name | type | details |
---|---|---|
_zonename | string | name of the zone chosen |
_priceguide | uint | price of a guide |
_fullaccessprice | uint | price for all zone access |
visitMuseum function to be called when the person visited a museum
checkTicketStatus checks if a ticker was used or not
withdraw withdraw function for the owner
Events
PriceSet listens when the price was set
TicketPurchased listens when a ticket was purchase
MuseumVisited listens when a person visited the museum