Difficulty -
Medium
Total Plays -
30
Allowed Time - 10 sec
Best Time - 0.977
What is the primary purpose of a modifier in Solidity?
#A
#B
#C
#D
Explanation:
Modifiers are used to add conditional logic like access control to functions. They prevent code repetition and keep logic clean.
Leaderboard
User
Rank
Time Taken