DataAvailability

Git Source

Defines the signatures of data availability solutions.

Functions

InputBox

The application receives inputs only from a contract that implements the IInputBox interface.

function InputBox(IInputBox inputBox) external;

Parameters

NameTypeDescription
inputBoxIInputBoxThe input box contract address

InputBoxAndEspresso

The application receives inputs from a contract that implements the IInputBox interface, and from Espresso, starting from a given block height, and for a given namespace ID.

function InputBoxAndEspresso(IInputBox inputBox, uint256 fromBlock, uint32 namespaceId)
    external;

Parameters

NameTypeDescription
inputBoxIInputBoxThe input box contract address
fromBlockuint256Height of first Espresso block to consider
namespaceIduint32The Espresso namespace ID