# Modifiers

Git Source


Function modifiers to control access

Function modifiers to control access

# Functions

# notLocked

modifier notLocked(bytes4 functionSelector);

# assertPrivilege

modifier assertPrivilege(bytes32 _context, string memory _group);

# assertIsInGroup

Note: If the role returned by _getRoleInContext is empty (represented by bytes32(0)), we explicitly return an empty string. This ensures the user doesn't receive a string that could potentially include unwanted data (like pointer and length) without any meaningful content.

modifier assertIsInGroup(bytes32 _objectId, bytes32 _contextId, bytes32 _group);

# assertERC20Wrapper

modifier assertERC20Wrapper(bytes32 _tokenId);