Skip to main content

Glossary · Definition

Function Modifier

A function modifier is a reusable piece of Solidity code that runs a check around a function's main logic, such as confirming that only the contract's owner can call it.

Read the full entry with a CryptoBipto membership

The full entry for Function Modifier covers the detailed definition, how it works, an example and the mistakes beginners make.

CryptoBipto is a crypto education platform. It does not buy, sell, hold or send cryptocurrency for anyone, and it does not give financial advice.