OzAccessManaged
OzAccessManaged
A middleware extension that integrates OpenZeppelin's AccessManaged for access control
Implements AccessManager with OpenZeppelin's AccessManagedUpgradeable functionality
Methods
__OzAccessManaged_init
function __OzAccessManaged_init(
address authority
) internal onlyInitializing
Initializes the contract with an authority address
Can only be called during initialization
Parameters
Name | Type | Description |
---|---|---|
authority | address | The address to set as the access manager authority |
_checkAccess
function _checkAccess() internal virtual override
Checks if the caller has access through the OpenZeppelin AccessManaged
Delegates access check to OpenZeppelin's _checkCanCall function