Module access

Module access 

Source
Expand description

Access control module.

Modules§

errors
Errors for Access Control module.
events
Events emitted by the AccessControl module.

Structs§

AccessControl
This contract module enables the implementation of role-based access control mechanisms for children modules.
AccessControlContractRef
AccessControl Contract Ref.
Ownable
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.
Ownable2Step
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() and accept_ownership() functions.
Ownable2StepContractRef
Ownable2Step Contract Ref.
Ownable2StepHostRef
Ownable2Step Host Ref.
Ownable2StepInitArgs
Ownable2Step contract constructor arguments.
OwnableContractRef
Ownable Contract Ref.
OwnableHostRef
Ownable Host Ref.
OwnableInitArgs
Ownable contract constructor arguments.

Constants§

DEFAULT_ADMIN_ROLE
The default admin role.

Type Aliases§

Role
The role identifier.