AppProxyPinned

contract AppProxyPinned

is IsContract, AppProxyBase

Source: contracts/apps/AppProxyPinned.sol

Index

Reference

Functions

fallback

function (IKernel _kernel, bytes32 _appId, bytes _initializePayload) public


Initialize AppProxyPinned (makes it an un-upgradeable Aragon app).

Modifiers:

Parameters:

  • _kernel - Reference to organization kernel for the app

  • _appId - Identifier for app

  • _initializePayload - Payload for call to be made after setup to initialize

implementation

function`` implementation() public view returns (address)


ERC897, the address the proxy would delegate calls to.

Returns:

  • address

pinnedCode

function`` pinnedCode() internal view returns (address)


Returns:

  • address

proxyType

function`` proxyType() public pure returns (uint256)


ERC897, whether it is a forwarding (1) or an upgradeable (2) proxy.

Returns:

  • uint256

setPinnedCode

function`` setPinnedCode(address _pinnedCode) internal


Parameters:

  • _pinnedCode - address

Last updated