Base contract for role-based access control in the Olympus system. Provides function modifiers and role checking based on ROLES module.
onlyAdminRole()
Requires caller to have admin role
Used for configuration functions
onlyEmergencyRole()
Requires caller to have emergency role
Used for critical safety functions
onlyEmergencyOrAdminRole()
Accepts either role
Used when both roles should have access
_isAdmin(address account)
Internal check for admin role
Returns boolean
_isEmergency(address account)
Internal check for emergency role
Last updated 12 months ago