IHaiProxyRegistry
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
Name | Type | Description |
---|---|---|
_proxy | address payable | Address 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
Name | Type | Description |
---|---|---|
_owner | address | Address of the owner of the new proxy |
Returns
Name | Type | Description |
---|---|---|
_proxy | address payable | Address of the new proxy |
Events
Build
Emitted when a new proxy is deployed
event Build(address _usr, address _proxy);