Module odra_modules::access

source ·

Modules§

Structs§

  • This contract module enables the implementation of role-based access control mechanisms for children modules.
  • 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() and accept_ownership() functions.

Constants§

Type Aliases§