The LDAP operates with a variety of roles and features, each with its own unique functions and controls. These specifications define the protocol's operations and usability.
Role Definitions
DEFAULT_ADMIN_ROLE: The DEFAULT_ADMIN_ROLE has the authority to grant or revoke all other roles. It is advised that this role be assigned to a secure multi-signature wallet for additional security and not used for anything other than managing other roles.
ADMIN: The ADMIN role has broad control over the contract, including the ability to issue and burn NFTs, and manage settings.
HANDLER: The HANDLER role can be assigned to a separate contract, adding additional logic to the minting process. This role exclusively controls the minting of new NFTs.
WHITELISTER: The WHITELISTER role is solely responsible for adding users to the whitelist, providing an extra level of security.
USER: A USER has no special privileges unless the whitelist is enabled. If the whitelist is enabled, the user must be on the whitelist to perform any action besides holding the NFT.