Put in order · Blockchain and Web3 course · Module 6: Solidity Basics
Contract Structure
Arrange the elements of a basic smart contract in the correct order:
Items to put in order
- pragma solidity ^0.8.0;
- contract MyContract {
- }
- // State variables and functions
You can check the correct answer by solving this task in the CodeWorlds game.