AuthorizableChild

Git Source

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

NameTypeDescription
_accountaddressAccount to check authorization for

Returns

NameTypeDescription
_authorizedboolWhether the account is authorized either in contract or in factory