IFactoryChild

Git Source

Functions

factory

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

function factory() external view returns (address _factory);

Returns

NameTypeDescription
_factoryaddressFactory 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();