Module odra_modules::access
source · Expand description
Access control module.
Modules§
- Errors for Access Control module.
- Events emitted by the AccessControl module.
Structs§
- This contract module enables the implementation of role-based access control mechanisms for children modules.
- AccessControl Contract Ref.
- This module provides a straightforward access control feature that enables exclusive access to particular functions by an account, known as the owner. The account that initiates contract deployment is automatically assigned as the owner. However, ownership can be transferred later by using the
transfer_ownership()function. - This module provides a straightforward access control feature that enables exclusive access to particular functions by an account, known as the owner. The account that initiates contract deployment is automatically assigned as the owner. However, ownership can be transferred later by using the
transfer_ownership()andaccept_ownership()functions. - Ownable2Step Contract Ref.
- Ownable2Step Host Ref.
- Ownable Contract Ref.
- Ownable Host Ref.
Constants§
- The default admin role.
Type Aliases§
- The role identifier.