Summary
In this chapter, we looked at defining and creating a Solidity contract. We looked at creating custom modifiers for the functions, understood the different types of functions you can define inside a contract to architect your contract behavior, learned how to create and emit events for logging purposes, and dug deeper into Solidity inheritance by creating interfaces and abstract contracts. We also learned how to write custom user-defined libraries and use them in our contracts.
In terms of the Solidity language, we have covered all the topics that you are required to know about in order to write a basic Solidity contract. These topics cover almost 99% of the language's features, although there are ways to write assembly language ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access