DataAvailability
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
| Name | Type | Description |
|---|---|---|
inputBox | IInputBox | The 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
| Name | Type | Description |
|---|---|---|
inputBox | IInputBox | The input box contract address |
fromBlock | uint256 | Height of first Espresso block to consider |
namespaceId | uint32 | The Espresso namespace ID |