IProxyFactory

Git Source

Inherits: IAdministrable

Author: mortimr @ Kiln

Proxy Factory deploys proxy that are setup to work and give the ownership to a configurable owner.

Unstructured Storage Friendly

Functions

deploy

Deploys a new proxy ready to be used.

function deploy(bytes32 channel, address owner, address implementation, bytes calldata cdata)
    external
    returns (address);

Parameters

NameTypeDescription
channelbytes32Channel value used in the broadcast event for indexing purposes
owneraddressThe address used as an admin for the proxy
implementationaddressThe initial proxy implementation
cdatabytesThe initial calldata

Events

DeployedProxy

Emitted when a new proxy is deployed.

event DeployedProxy(bytes32 channel, address proxy, address implementation, bytes cdata, address admin);