EtherPortal
Inherits: IEtherPortal, Portal
This contract allows anyone to perform transfers of Ether to an application contract while informing the off-chain machine.
Functions
constructor
Constructs the portal.
constructor(IInputBox inputBox) Portal(inputBox);
Parameters
Name | Type | Description |
---|---|---|
inputBox | IInputBox | The input box used by the portal |
depositEther
function depositEther(address appContract, bytes calldata execLayerData)
external
payable
override;