Chapter 2: Building a Voting Smart Contract
This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/smart-contracts.
Concepts to be covered
This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/smart-contracts.
Code
This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/smart-contracts.
Poll.sol
This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/smart-contracts.
Understanding the concepts
This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/smart-contracts.
Data Types in Solidity
This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/smart-contracts.
Visibility of Members
This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/smart-contracts.
External
This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/smart-contracts.
Public
This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/smart-contracts.
Internal
This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/smart-contracts.
Private
This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/smart-contracts.
Function Modifiers, View and Pure Functions
This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/smart-contracts.
A note on view and pure functions
This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/smart-contracts.
Storage and Memory variables
This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/smart-contracts.
Events
This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/smart-contracts.
Final Code
This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/smart-contracts.
Conclusion
This content is not available in the sample book. The book can be purchased on Leanpub at http://leanpub.com/smart-contracts.