Question · Blockchain and Web3 course · Module 6: Solidity Basics
The pure Modifier
How does a 'pure' function differ from a 'view' function?
Answer options
- Pure neither reads nor modifies the state
- Pure can modify the state
- Pure can accept payments
- Pure and view are the same thing
You can check the correct answer by solving this task in the CodeWorlds game.