You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
jrosendo 7a960f7d00 docs(blockchain): add blockchain branch subjects to public 2 years ago
..
README.md docs(blockchain): add blockchain branch subjects to public 2 years ago

README.md

Organised Festival

In order for your festival to be properly managed, you need to define an organizer. The organizer will be the only user to have the right to modify certain properties. By default, you will define the organizer as the contract's deployer.

Instructions

  • Create a new Smart contract OrganizedFestival.
  • Add a constructor function that takes as parameter a uint to represent the date of the festival and a string to register its place (Like in TimeAndPlace).
  • Add functions getStartTime and getPlace that retrieve the starting time and place.
  • Add functions updateStartTime and updatePlace that update the corresponding value only if the caller of the function is the organizer (which should be the original deployer of the Smart Contract).

Hint

The constructor function might save the address of the deployer of the contract in an internal variable

Notions