Fallback Function, View/Pure Functions, Constructor¶
In this Lab you will learn more about the Fallback Functions
fallback(), then more about reading functions like
pure and also about the constructor, to set initial values of your Smart Contract.
What You Know At The End Of The Lab¶
🔎 View and Pure Functions
💰 Receive fallback function
👐 Fallback function
🚧 The Constructor
Prerequisites - You need:¶
Chrome or Firefox browser.
An Internet connection
About 60 Minutes of your precious time ⌛
💪 💪 💪 Let's get started!
Using Solidity 0.8
These labs were updated to Solidity 0.8 and can differ from the videos slightly. Please pay attention to the callouts where appropriate.