DaoCreator¶
Genesis Scheme that creates organizations
Execution cost: less than 22864 gas
Deployment cost: less than 2275200 gas
Combined cost: less than 2298064 gas
Constructor¶
Params:
- _controllerCreator of type
address
Events¶
InitialSchemesSet(address)¶
Execution cost: No bound available
Params:
- _avatar of type
address
NewOrg(address)¶
Execution cost: No bound available
Params:
- _avatar of type
address
Methods¶
forgeOrg(bytes32,string,string,address[],uint256[],uint256[],address,uint256)¶
Create a new organization
Execution cost: No bound available
Params:
-
_orgName of type
bytes32The name of the new organization
-
_tokenName of type
stringThe name of the token associated with the organization
-
_tokenSymbol of type
stringThe symbol of the token
-
_founders of type
address[]An array with the addresses of the founders of the organization
-
_foundersTokenAmount of type
uint256[]An array of amount of tokens that the founders receive in the new organization
-
_foundersReputationAmount of type
uint256[]An array of amount of reputation that the founders receive in the new organization
-
_uController of type
addressuniversal controller instance if _uController address equal to zero the organization will use none universal controller.
-
_cap of type
uint256token cap - 0 for no cap.
Returns:
The address of the avatar of the controller
- output_0 of type
address
locks(address)¶
Execution cost: less than 739 gas
Attributes: constant
Params:
- param_0 of type
address
Returns:
- output_0 of type
address
setSchemes(address,address[],bytes32[],bytes4[])¶
Set initial schemes for the organization.
Execution cost: No bound available
Params:
-
_avatar of type
addressorganization avatar (returns from forgeOrg)
-
_schemes of type
address[]the schemes to register for the organization
-
_params of type
bytes32[]the schemes's params
-
_permissions of type
bytes4[]the schemes permissions.