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.
 
 
 
 
 
 
nprimo 4fa5c876a7 docs: run prettify and move h1 to h2 1 year ago
..
README.md docs: run prettify and move h1 to h2 1 year ago

README.md

Time and Place

To be considered a festival, you need to initially specify a time and a place. Everything else can be organized later.

You will use a constructor function to set the time and place when the Smart Contract is deployed.

Instructions

  • Create a new Smart Contract TimeAndPlace.
  • The Smart Contract contains a special constructor() function that takes as parameter a uint, that is a Unix timestamp representation of the date of the beginning of the festival, and a string that is the address of the festival.
  • Create a function getStartTime() that returns the starting time and date of the festival as a Unix timestamp.
  • Create a function getPlace() that returns the place of the festival.

Notions