Focus mode

Smart Contract Development with Solidity

Enum

Code from video: https://solidity-by-example.org/enum/ 

Solidity supports enumerables and they are useful to model choice and keep track of state.

Enums can be declared outside of a contract.

You can find detailed further information from Solidity Official documentation (in English): https://solidity-by-example.org/enum/

Test

Comments

You need to enroll in the course to be able to comment!