Portal
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
| Name | Type | Description |
|---|---|---|
appContract | address | The application contract address |
payload | bytes | The input payload |
_getInputBox
Get an application's input box.
function _getInputBox(address appContract) internal view returns (IInputBox);
Parameters
| Name | Type | Description |
|---|---|---|
appContract | address | The application contract address |
Returns
| Name | Type | Description |
|---|---|---|
<none> | IInputBox | The input box |
_getInputBoxAddress
Get an application's input box address.
function _getInputBoxAddress(address appContract) internal view returns (address);
Parameters
| Name | Type | Description |
|---|---|---|
appContract | address | The application contract address |
Returns
| Name | Type | Description |
|---|---|---|
<none> | address | The input box address |