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

Register With Events

In order to facilitate the use of your Smart Contract, you will add events.

Events in solidity are used to facilitate the retrieval of information.

Instructions

Write solidity smart contract RegisterWithEvents that provides:

  • The functions addDocument() and getDate() as specified in the prior exercise.
  • An event event DocumentAdded(bytes32, uint) that triggers when a new document is added to the register

As in prior exercises, the file must be named register-with-events.sol while the contract is named RegisterWithEvents.

Notions