APMRegistryFactory
contract APMRegistryFactory
Source: contracts/factory/APMRegistryFactory.sol
Index
Reference
Events
DeployAPM
event``
DeployAPM
(bytes32 node, address apm)
Parameters:
node
- bytes32apm
- address
Functions
b
function``
b
(string x) internal pure returns (bytes)
Parameters:
x
- string
Returns:
bytes
configureAPMPermissions
function``
configureAPMPermissions
(ACL _acl, APMRegistry _apm, address _root) internal
Parameters:
_acl
- ACL_apm
- APMRegistry_root
- address
fallback
function (DAOFactory _daoFactory, APMRegistry _registryBase, Repo _repoBase, ENSSubdomainRegistrar _ensSubBase, ENS _ens, ENSFactory _ensFactory) public
Requires either a given ENS registrar or ENSFactory (used for generating a new ENS in test environments)., Create a new factory for deploying Aragon Package Managers (aragonPM).
Parameters:
_daoFactory
- Base factory for deploying DAOs_registryBase
- APMRegistry base contract location_repoBase
- Repo base contract location_ensSubBase
- ENSSubdomainRegistrar base contract location_ens
- ENS instance_ensFactory
- ENSFactory (used to generated a new ENS if no ENS is given)
newAPM
function``
newAPM
(bytes32 _tld, bytes32 _label, address _root) public returns (APMRegistry)
Create a new Aragon Package Manager (aragonPM) DAO, holding the `_label` subdomain from parent `_tld` and controlled by `_root`.
Parameters:
_tld
- The parent node of the controlled subdomain_label
- The subdomain label_root
- Manager for the new aragonPM DAO
Returns:
The new aragonPM's APMRegistry app
Last updated