Skip to Content
Courses

Fallback Function, View/Pure Functions, Constructor

In this Lab you will learn more about the Fallback Functions receive() and fallback(), then more about reading functions like view and pure and also about the constructor, to set initial values of your Smart Contract.

View the Full Course Now 

What You Know At The End Of The Lab

šŸ”Ž View and Pure Functions

šŸ’° Receive fallback function

šŸ‘ Fallback function

🚧 The Constructor

Prerequisites - You need:

  1. Chrome or Firefox browser.

  2. An Internet connection

  3. About 60 Minutes of your precious time āŒ›

Get Started

šŸ’Ŗ šŸ’Ŗ šŸ’Ŗ 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.

Last updated on