Access Control
This is implementation of permission system from OpenZeppelin
In the process of deployment the Contract Manager assigns required roles to new contracts. These roles later could be added or removed by you in the Admin Panel.
Roles
- DEFAULT_ADMIN_ROLE - Automatically assigned to contract deployer and allows to assign other roles
- MINTER_ROLE - Automatically assigned to Marketplace contract, so it could mint and sell new items
- PAUSER_ROLE - Allows to pause some contracts, for example pause Claim before it could be open
- METADATA_ROLE - Allows to update the metadata of the NFT.
- PREDICATE_ROLE - Specific to Polygon network
- DEPOSITOR_ROLE - Specific to Polygon network
You can add or revoke any role for specific contract via contract actions.