Crypto Zombies Lesson 1 ,Ch10 More on Functions, Solidity Pure Vs View Function

Channel:
Subscribers:
8,020
Published on ● Video Link: https://www.youtube.com/watch?v=_x-BgVh7Zao



Duration: 3:34
308 views
6


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-02Codecademy Learn Java, HashMap Access, Accessing a HashMap
2018-04-28Crypto Zombies Lesson 1 ,Ch14 Web3.js, Solidity Events
2018-04-28Codecademy Learn Java, HashMap, 2018 Programming
2018-04-28Crypto Zombies Lesson 1, Ch13 Events, Solidity Events
2018-04-27Codecademy Learn Java, For Each Loop, Programming in 2018
2018-04-26Conceptos Basicos de HTML, Imagenes y Enlaces, Aprende,
2018-04-25Codecademy Learn Java, Iterating over an ArrayList
2018-04-24Crypto Zombies Lesson 1 ,Ch12 Putting It Together, Solidity Tutorial
2018-04-23Codecademy Learn Java, ArrayList Insertion, Data Structures
2018-04-23Crypto Zombies Lesson 1 ,Ch11 Keccak256 and Typecasting, Solidity Programming
2018-04-22Crypto Zombies Lesson 1 ,Ch10 More on Functions, Solidity Pure Vs View Function
2018-04-22Crypto Zombies Lesson 1 ,Ch9 Private Public Functions
2018-04-22Crypto Zombies Lesson 1 ,Ch8 Working With Structs and Arrays
2018-04-22Crypto Zombies ,Ch7 Function Declarations, Solidity Programming Language
2018-04-21Crypto Zombies ,Ch6 Arrays, Arrays in Solidity, Fixed Array, Dynamic Array
2018-04-21Crypto Zombies ,Ch5 Structs,Learn Solidity Structures
2018-04-20Crypto Zombies ,Ch4 Math Operations, Learn Solidity 2018
2018-04-20Crypto Zombies ,Ch3 State Variables & Integers, Declare & Initialize Solidity Variable
2018-04-19Crypto Zombies ,Ch2 Contracts,Learn Ethereum Blockchain
2018-04-19Crypto Zombies ,Ch1 Lesson Overview,Learn Ethereum Blockchain
2018-04-19Introduction 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