Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

DataAvailability

Git Source

forge-lint: disable-start(mixed-case-function)

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