RoleAware
View Source: @nomisma/elektro-protocol-aux/contracts/access/RoleAware.sol
↘ Derived Contracts: ElektroStorage, FundLockStorage, RegistryBaseStorage, Resolver, Router, TokenManagerBase, TokenValidator
RoleAware
Provides the ability for heirs to restrict the use of functions by specific roles using the onlyRole
modifier. See {IRoleManager}.
Contract Members
Constants & Variables
Modifiers
onlyRole
onlyRole
IMPORTANT: This function can not be changed after Router contracts have been deployed, since their logic is not upgradable, and changing this logic which will be inherited in implementation contracts might result in vulnerability since all Routers on chain would have this current (unchanged) logic.
Arguments
roleName
bytes32
Functions
setRoleManager(address _roleManager)
setRoleManager
Arguments
_roleManager
address
Last updated
Was this helpful?