mirror of https://github.com/01-edu/public.git
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.
538 B
538 B
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()
andgetDate()
as specified in the prior exercise. - An event
event DocumentAdded(bytes32, uint)
that triggers when a new document is added to the register