FactoryChild

Git Source

Inherits: IFactoryChild

This abstract contract adds a factory address and modifier to the inheriting contract

State Variables

factory

Getter for the address of the factory that deployed the inheriting contract

address public factory;

Functions

constructor

Verifies that the contract is being deployed by a contract address

constructor();

onlyFactory

Verifies that the caller is the factory

modifier onlyFactory();