View and Pure Functions | Solidity 0.8
Smart Contract Programmer
Both view and pure functions cannot write to the blockchain. They are read-only functions. What's the difference between view and pure functions? View functions can read data from the blockchain such as state and global variables. Pure functions cannot.
#Solidity #SmartContract #Ethereum #スマートコントラクト
Remix https://remix.ethereum.org
Code https://solidity-by-example.org/view-and-pure-functions/
Take a course https://www.smartcontract.engineer/
Follow https://twitter.com/ProgrammerSmart https://discord.gg/bt8FK2wkcW https://t.me/smartcontractprogrammer https://smartcontractprogrammer.com ... https://www.youtube.com/watch?v=vOmXqJ4Qzbc
2022-04-11
0.0 LBC
Copyrighted (contact publisher)
3170669 Bytes