Solidity Tutorial: all about Structs

Structs are a way to define new custom types in Solidity. The Solidity documentation define them as “objects with no functionalities”, however, they are more than that.

Like in C, structs in Solidity are a collection of variables (that can be of different types) under a single name.

This enable you to group many variables of multiple types into one user defined type.

--

--

Smart Contract engineer at @LUKSO. Full Stack Developer. https://github.com/CJ42

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store