Odak modu
Code from video: https://solidity-by-example.org/function-modifier/
You can access the video content in Turkish prepared by İTÜ Blockchain here: https://www.youtube.com/watch?v=58MDeT4hoig&list=PLby2HXktGwN4Cof_6a8YwlMrboX8-hs73&index=9&t=2s
Modifiers can be used to change the behaviour of functions in a declarative way. For example, you can use a modifier to automatically check a condition prior to executing the function. Modifiers are code that can be run before and / or after a function call.
Modifiers can be used to:
When reading the code of a smart contract, you will see multiple types of modifiers. These modifiers help control the visibility and usability of the connected function or variable:
Resources:
You can find detailed further information from Solidity Official documentation (in English):
https://docs.soliditylang.org/en/v0.8.15/contracts.html#function-modifiers
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!
Yorum yapabilmek için derse kayıt olmalısın!