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.
jrosendo
7a960f7d00
|
2 years ago | |
---|---|---|
.. | ||
README.md | 2 years 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()
andgetDate()
as specified in the prior exercise. - An event
event DocumentAdded(bytes32, uint)
that triggers when a new document is added to the register