ROJISecurityLib

ROJISecurityLib

Security functionality for the ROJI platform.

_ensureOnlyROJIVerseRole

function _ensureOnlyROJIVerseRole(bytes32 role, address msgSender) internal view

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

function _ensureOnlyROJIVerseRole(bytes32 role, address msgSender) internal view

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?