HaiProxyFactory
Inherits: IHaiProxyFactory
This contract is used to deploy new HaiProxy instances
State Variables
isProxy
Mapping of proxy addresses to boolean state
mapping(address _proxyAddress => bool _exists) public isProxy;
Functions
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 caller as the owner
function build(address _owner) external returns (address payable _proxy);
Returns
Name | Type | Description |
---|---|---|
_proxy | address payable | Address of the new proxy |
_build
Internal method used to deploy a new proxy instance
function _build(address _owner) internal returns (address payable _proxy);