Search
K

Org

Inherits: Entity
This contract controls the Org entity.

State Variables

orgId

Tax ID of org
bytes32 public orgId;

Functions

initialize

One time method to be called at deployment to configure the contract. Required so Org contracts can be deployed as minimal proxies (clones).
The manager of the Org is initially set to the zero address and will be updated by role pending an off-chain claim.
function initialize(Registry _registry, bytes32 _orgId) public;
Parameters
Name
Type
Description
_registry
Registry
The registry to host the Org Entity.
_orgId
bytes32
The Org's ID for tax purposes.

setOrgId

function setOrgId(bytes32 _orgId) external requiresAuth;

entityType

Each entity will implement this function to allow a caller to interrogate what kind of entity it is.
function entityType() public pure override returns (uint8);
Last modified 2mo ago