ROJISecurityLib
ROJISecurityLib
Security functionality for the ROJI platform.
_ensureOnlyROJIVerseRole
Reverts with MissingROJIVerseRole
if the msgSender
does not belong to1q the role role
. This looks for the role in the ROJIVerseAccessControl contract.
Parameters
Name
Type
Description
role
bytes32
The role to check for.
msgSender
address
The sender to check for.
ROJISecurityLib
Security functionality for the ROJI platform.
_ensureOnlyROJIVerseRole
Reverts with MissingROJIVerseRole
if the msgSender
does not belong to1q the role role
. This looks for the role in the ROJIVerseAccessControl contract.
Parameters
Name
Type
Description
role
bytes32
The role to check for.
msgSender
address
The sender to check for.
Was this helpful?