Git Source

Inherits: Disableable, FactoryChild, IDisableableChild

This abstract contract is used to disable Disableable children contracts through a parent factory



Internal virtual view to check if the contract is enabled

Method override to check for contract enablement also in the parent factory

function _isEnabled() internal view virtual override returns (bool _enabled);


_enabledboolWhether the contract and the factory are enabled or not


Internal virtual method to be called when the contract is disabled

Method override to allow disabling contract only through the parent factory

function _onContractDisable() internal virtual override onlyFactory;