IROJIAccessManagerRegistryFacet
IROJIAccessManagerRegistryFacet
This is a facet that is added to the ROJIVerseDiamond contract. The events are emitted by the diamond. The purpose of this facet is to provide a registry for contracts that are created on the ROJI platform, either as proxies or as diamonds directly.
AccessManagerAlreadyRegistered
Thrown when an organization with the same id is already registered.
Parameters
organization
bytes32
The id of the organization.
OrganizationCannotBeNull
Thrown when a 0 organization is attempted to be registered.
AccessManagerRegistered
Emitted when a new contract has been created and added to the registry
Parameters
organization
bytes32
The id of the organization.
accessManager
address
The address of the access manager created.
admins
address[]
Access of the admins of the proxy.
data
uint256
Data identifying the contract. This is for future use.
accessManagerGetForOrganization
Retrieves the access manager for an organization, if it exists
Parameters
organization
bytes32
The id of the organization.
Return Values
accessManager
address
The address of the access manager.
accessManagerCreate
Creates a new access manager for an organization.
Parameters
organization
bytes32
The id of the organization.
admins
address[]
The initial admins for the access manager.
Return Values
accessManager
address
The address of the access manager.
Was this helpful?