IHaiProxyRegistry

Git Source

Functions

proxies

Mapping of user addresses to proxy instances

function proxies(address _owner) external view returns (IHaiProxy _proxy);

factory

Address of the proxy factory

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

build

Deploys a new proxy instance, setting the caller as the owner

function build() external returns (address payable _proxy);

Returns

NameTypeDescription
_proxyaddress payableAddress of the new proxy

build

Deploys a new proxy instance, setting the specified address as the owner

function build(address _owner) external returns (address payable _proxy);

Parameters

NameTypeDescription
_owneraddressAddress of the owner of the new proxy

Returns

NameTypeDescription
_proxyaddress payableAddress of the new proxy

Events

Build

Emitted when a new proxy is deployed

event Build(address _usr, address _proxy);