Last active
April 11, 2022 10:29
-
-
Save ilamanov/3e4264eb56aa9d57628227b861c1af2c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| contract EthereumExample { | |
| struct Author { | |
| uint256 publications; | |
| uint256 likes; | |
| } | |
| Author public author; | |
| function publish() public { | |
| author.publications += 1; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment