EtherPortal

Git Source

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

NameTypeDescription
inputBoxIInputBoxThe input box used by the portal

depositEther

function depositEther(address appContract, bytes calldata execLayerData)
    external
    payable
    override;