Skip to content

Solidity Events and Return Values

One of the problems with Solidity is that writing functions (non view/pure) cannot really return any values. On top of that, its super confusing that you can specify return values and actually return something.

Let's have a closer look in this lab how that works and what you should pay attention to as a Smart Contract Developer!

What You Know At The End Of The Lab

🎭 Events

🧱 Return Values from Writing Transactions

Lab Walkthrough:

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. Otherwise just follow along 🤜🏻🤛🏻


Last update: May 4, 2022