Crypto Zombies Lesson 1 ,Ch10 More on Functions, Solidity Pure Vs View Function VIDEO
In this lesson we go over a bit more about functions in Solidity. We learn about the difference between declaring a function as a view function and as a pure function. A view function does not change the state of our solidity app, it does not change the values of anything or even write anything. A pure function doesnt access any data that is in the app. The pure function in Solidity only takes in data from its parameter. In this challenge we create a function that will generate random zombie DNA. We decalare it a private and view function which will return an iunsigned integer.
Other Videos By We Will Code 2018-05-02 Codecademy Learn Java, HashMap Access, Accessing a HashMap 2018-04-28 Crypto Zombies Lesson 1 ,Ch14 Web3.js, Solidity Events 2018-04-28 Codecademy Learn Java, HashMap, 2018 Programming 2018-04-28 Crypto Zombies Lesson 1, Ch13 Events, Solidity Events 2018-04-27 Codecademy Learn Java, For Each Loop, Programming in 2018 2018-04-26 Conceptos Basicos de HTML, Imagenes y Enlaces, Aprende, 2018-04-25 Codecademy Learn Java, Iterating over an ArrayList 2018-04-24 Crypto Zombies Lesson 1 ,Ch12 Putting It Together, Solidity Tutorial 2018-04-23 Codecademy Learn Java, ArrayList Insertion, Data Structures 2018-04-23 Crypto Zombies Lesson 1 ,Ch11 Keccak256 and Typecasting, Solidity Programming 2018-04-22 Crypto Zombies Lesson 1 ,Ch10 More on Functions, Solidity Pure Vs View Function 2018-04-22 Crypto Zombies Lesson 1 ,Ch9 Private Public Functions 2018-04-22 Crypto Zombies Lesson 1 ,Ch8 Working With Structs and Arrays 2018-04-22 Crypto Zombies ,Ch7 Function Declarations, Solidity Programming Language 2018-04-21 Crypto Zombies ,Ch6 Arrays, Arrays in Solidity, Fixed Array, Dynamic Array 2018-04-21 Crypto Zombies ,Ch5 Structs,Learn Solidity Structures 2018-04-20 Crypto Zombies ,Ch4 Math Operations, Learn Solidity 2018 2018-04-20 Crypto Zombies ,Ch3 State Variables & Integers, Declare & Initialize Solidity Variable 2018-04-19 Crypto Zombies ,Ch2 Contracts,Learn Ethereum Blockchain 2018-04-19 Crypto Zombies ,Ch1 Lesson Overview,Learn Ethereum Blockchain 2018-04-19 Introduction to Crypto Zombies,Learn To Write Smart Contract, Learn Ethereum
Tags: solidity functions
crypto zombies tutorial
solidity programming language
solidity pure function
solidity view function
pure vs view function