AuthorizableChild
Inherits: Authorizable, FactoryChild, IAuthorizableChild
This abstract contract is used to handle Authorizable children contracts through a parent factory
To give permissions to all children contracts, add authorization on the parent factory
To give permissions to a specific child contract, add authorization on the child contract
Functions
_isAuthorized
Method override to check for authorization also in the parent factory
function _isAuthorized(address _account) internal view virtual override returns (bool _authorized);
Parameters
Name | Type | Description |
---|---|---|
_account | address | Account to check authorization for |
Returns
Name | Type | Description |
---|---|---|
_authorized | bool | Whether the account is authorized either in contract or in factory |