Odak modu

Smart Contract Development with Solidity

Constants

Code from video: https://solidity-by-example.org/constants/ 

You can access the video content in Turkish prepared by İTÜ Blockchain here (beetween 4:30 - 6:19 minutes): https://www.youtube.com/watch?v=XQR2tL4v0_c&list=PLby2HXktGwN4Cof_6a8YwlMrboX8-hs73&index=4 

Constants are variables that cannot be modified. Replacing variables with constants can reduce gas cost of calling function on the smart contract. 

Resources:

You can find detailed further information from Solidity Official documentation (in English): 

https://docs.soliditylang.org/en/v0.8.15/contracts.html#constant-and-immutable-state-variables


left-disk

Yazılım Kariyerinde İlerlemeni Hızlandıracak Programlar

Patika+ programlarımız ile 4-8 aylık yoğun yazılım kamplarına katıl, temel bilgilerden başlayarak kapsamlı bilgiler edin, yazılım kariyerine başla!

right-cube

Yorumlar

Yorum yapabilmek için derse kayıt olmalısın!