AppProxyFactory
contract AppProxyFactory
Source: contracts/factory/AppProxyFactory.sol
Index
Reference
Events
NewAppProxy
event``
NewAppProxy
(address proxy, bool isUpgradeable, bytes32 appId)
Parameters:
proxy
- addressisUpgradeable
- boolappId
- bytes32
Functions
newAppProxy
function``
newAppProxy
(IKernel _kernel, bytes32 _appId) public returns (AppProxyUpgradeable)
Create a new upgradeable app instance on `_kernel` with identifier `_appId`.
Parameters:
_kernel
- App's Kernel reference_appId
- Identifier for app
Returns:
AppProxyUpgradeable
newAppProxy
function``
newAppProxy
(IKernel _kernel, bytes32 _appId, bytes _initializePayload) public returns (AppProxyUpgradeable)
Create a new upgradeable app instance on `_kernel` with identifier `_appId` and initialization payload `_initializePayload`.
Parameters:
_kernel
- App's Kernel reference_appId
- Identifier for app_initializePayload
- bytes
Returns:
AppProxyUpgradeable
newAppProxyPinned
function``
newAppProxyPinned
(IKernel _kernel, bytes32 _appId) public returns (AppProxyPinned)
Create a new pinned app instance on `_kernel` with identifier `_appId`.
Parameters:
_kernel
- App's Kernel reference_appId
- Identifier for app
Returns:
AppProxyPinned
newAppProxyPinned
function``
newAppProxyPinned
(IKernel _kernel, bytes32 _appId, bytes _initializePayload) public returns (AppProxyPinned)
Create a new pinned app instance on `_kernel` with identifier `_appId` and initialization payload `_initializePayload`.
Parameters:
_kernel
- App's Kernel reference_appId
- Identifier for app_initializePayload
- Proxy initialization payload
Returns:
AppProxyPinned
Last updated