Skip to content

Instantly share code, notes, and snippets.

@Davidegloh
Last active August 14, 2021 18:23
Show Gist options
  • Save Davidegloh/dc0840b2cb72751d726a46179ebfd06b to your computer and use it in GitHub Desktop.
Save Davidegloh/dc0840b2cb72751d726a46179ebfd06b to your computer and use it in GitHub Desktop.
[Pure and view functions-Solidity]
//Pure fonction = that doesn't interact with other state variable
//View fonction = that interacts (retrieve) with something else such as state variable but isn't allowed to change the state variable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment