Search…
⌃K
Links

AppProxyFactory

contract AppProxyFactory

Index

Reference

Events

NewAppProxy

event NewAppProxy(address proxy, bool isUpgradeable, bytes32 appId)
Parameters:
  • proxy - address
  • isUpgradeable - bool
  • appId - 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