EtherPortal
The EtherPortal allows anyone to perform transfers of Ether to a DApp while informing the off-chain machine.
depositEther
function depositEther(address _dapp, bytes _execLayerData) external payable
Transfer Ether to a DApp and add an input to the DApp's input box to signal such operation.
All the value sent through this function is forwarded to the DApp.
Parameters
Name | Type | Description |
---|---|---|
_dapp | address | The address of the DApp |
_execLayerData | bytes | Additional data to be interpreted by the execution layer |