ROJIAccessManagerRegistryFacet

ROJIAccessManagerRegistryFacet

accessManagerGetForOrganization

function accessManagerGetForOrganization(bytes32 organization) external view returns (address accessManager)

Retrieves the access manager for an organization, if it exists

Parameters

Name
Type
Description

organization

bytes32

The id of the organization.

Return Values

Name
Type
Description

accessManager

address

The address of the access manager.

accessManagerCreate

function accessManagerCreate(bytes32 organization, address[] admins) external returns (address accessManager)

Creates a new access manager for an organization.

Parameters

Name
Type
Description

organization

bytes32

The id of the organization.

admins

address[]

The initial admins for the access manager.

Return Values

Name
Type
Description

accessManager

address

The address of the access manager.

Was this helpful?