AppProxyFactory
Last updated
Was this helpful?
Source: contracts/factory/AppProxyFactory.sol
event`` NewAppProxy(address proxy, bool isUpgradeable, bytes32 appId)
Parameters:
proxy - address
isUpgradeable - bool
appId - bytes32
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
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
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
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
Was this helpful?
Was this helpful?
