# *contract* OrganizationRegister ([source](https://github.com/daostack/daostack/tree/master/./contracts/universalSchemes/OrganizationRegister.sol))
*Code deposit cost: **less than 358000 gas.***

*Execution cost: **less than 20761 gas.***

*Total deploy cost(deposit + execution): **less than 378761 gas.***

> A universal organization registry.


## Reference
- [Constructors](#constructors)
    - [OrganizationRegister()](#constructor-organizationregister)
- [Events](#events)
    - [Promotion](#event-promotion)
    - [OwnershipTransferred](#event-ownershiptransferred)
    - [OrgAdded](#event-orgadded)
    - [LogNewProposal](#event-lognewproposal)
- [Fallback](#fallback)
- [Functions](#functions)
    - [updateParameters](#function-updateparameters)
    - [transferOwnership](#function-transferownership)
    - [setParameters](#function-setparameters)
    - [parameters](#function-parameters)
    - [owner](#function-owner)
    - [organizationsRegistery](#function-organizationsregistery)
    - [hashedParameters](#function-hashedparameters)
    - [getParametersHash](#function-getparametershash)
    - [addOrPromoteAddress](#function-addorpromoteaddress)
### Constructors
#### *constructor* OrganizationRegister()

*Execution cost: **No bound available.***

**nonpayable**

*Params:*
*Nothing*


### Events
#### *event* Promotion
*Params:*
1. **_registry** *of type address*
2. **_org** *of type address*
3. **_amount** *of type uint256*


#### *event* OwnershipTransferred
*Params:*
1. **previousOwner** *of type address*
2. **newOwner** *of type address*


#### *event* OrgAdded
*Params:*
1. **_registry** *of type address*
2. **_org** *of type address*


#### *event* LogNewProposal
*Params:*
1. **proposalId** *of type bytes32*


### Fallback
*Nothing*
### Functions
#### *function* updateParameters

*Execution cost: **less than 20550 gas.***

**nonpayable**

*Inputs:*
1. **_hashedParameters** *of type bytes32*

*Returns:*
*Nothing*


#### *function* transferOwnership
> Allows the current owner to transfer control of the contract to a newOwner.

*Execution cost: **less than 22961 gas.***

**nonpayable**

*Inputs:*
1. **newOwner** *of type address- The address to transfer ownership to.*

*Returns:*
*Nothing*


#### *function* setParameters

*Execution cost: **No bound available.***

**nonpayable**

*Inputs:*
1. **_token** *of type address*
2. **_fee** *of type uint256*
3. **_beneficiary** *of type address*

*Returns:*
1. **unnamed** *of type bytes32*


#### *function* parameters

*Execution cost: **less than 1157 gas.***

**constant | view**

*Inputs:*
1. **unnamed** *of type bytes32*

*Returns:*
1. **fee** *of type uint256*
2. **token** *of type address*
3. **beneficiary** *of type address*


#### *function* owner

*Execution cost: **less than 677 gas.***

**constant | view**

*Inputs:*
*Nothing*

*Returns:*
1. **unnamed** *of type address*


#### *function* organizationsRegistery

*Execution cost: **No bound available.***

**constant | view**

*Inputs:*
1. **unnamed** *of type address*
2. **unnamed** *of type address*

*Returns:*
1. **unnamed** *of type uint256*


#### *function* hashedParameters

*Execution cost: **less than 612 gas.***

**constant | view**

*Inputs:*
*Nothing*

*Returns:*
1. **unnamed** *of type bytes32*


#### *function* getParametersHash

*Execution cost: **No bound available.***

**constant | pure**

*Inputs:*
1. **_token** *of type address*
2. **_fee** *of type uint256*
3. **_beneficiary** *of type address*

*Returns:*
1. **unnamed** *of type bytes32*


#### *function* addOrPromoteAddress

*Execution cost: **No bound available.***

**nonpayable**

*Inputs:*
1. **_avatar** *of type address*
2. **_record** *of type address*
3. **_amount** *of type uint256*

*Returns:*
*Nothing*


