AragonApp

contract AragonApp

is AppStorage, Autopetrified, VaultRecoverable, ReentrancyGuard, EVMScriptRunner, ACLSyntaxSugar

Source: contracts/apps/AragonApp.sol

Index

Reference

Modifiers

auth

modifier`` auth(bytes32 _role)


Parameters:

  • _role - bytes32

authP

modifier`` authP(bytes32 _role, uint256[] _params)


Parameters:

  • _role - bytes32

  • _params - uint256[]

Functions

canPerform

function`` canPerform(address _sender, bytes32 _role, uint256[] _params) public view returns (bool)


Check whether an action can be performed by a sender for a particular role on this app.

Parameters:

  • _sender - Sender of the call

  • _role - Role on this app

  • _params - Permission params for the role

Returns:

  • Boolean indicating whether the sender has the permissions to perform the action. Always returns false if the app hasn't been initialized yet.

getRecoveryVault

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


Get the recovery vault for the app.

Returns:

  • Recovery vault address for the app

Last updated