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

Portal

Git Source

Inherits: IPortal, RollupsContract

Title: Portal

This contract serves as a base for all the other portals.

Functions

_addInput

Add an input to an application's input box.

function _addInput(address appContract, bytes memory payload) internal;

Parameters

NameTypeDescription
appContractaddressThe application contract address
payloadbytesThe input payload

_getInputBox

Get an application's input box.

function _getInputBox(address appContract) internal view returns (IInputBox);

Parameters

NameTypeDescription
appContractaddressThe application contract address

Returns

NameTypeDescription
<none>IInputBoxThe input box

_getInputBoxAddress

Get an application's input box address.

function _getInputBoxAddress(address appContract) internal view returns (address);

Parameters

NameTypeDescription
appContractaddressThe application contract address

Returns

NameTypeDescription
<none>addressThe input box address