IFactoryChild
Functions
factory
Getter for the address of the factory that deployed the inheriting contract
function factory() external view returns (address _factory);
Returns
Name | Type | Description |
---|---|---|
_factory | address | Factory address |
Errors
NotFactoryDeployment
Throws when the contract is being deployed by a non-contract address
error NotFactoryDeployment();
CallerNotFactory
Throws when trying to call an onlyFactory function from a non-factory address
error CallerNotFactory();