IHaiProxy
Inherits: IHaiOwnable2Step
Functions
execute
Executes a call to the target contract through a delegate call
The proxy will call the target through a delegate call (the target must not be a direct protocol contract)
function execute(address _target, bytes memory _data) external payable returns (bytes memory _response);
Parameters
Name | Type | Description |
---|---|---|
_target | address | Address of the target Actions contract |
_data | bytes | Encoded data of the transaction to execute |
Returns
Name | Type | Description |
---|---|---|
_response | bytes | The raw response of the target call |
Errors
TargetAddressRequired
Throws if the target address is null
error TargetAddressRequired();