@daostack/access_control
Version:
Capability-based access control for Ethereum smart contracts.
64 lines (29 loc) • 918 B
Markdown
# UnionGroup
[see the source](git+https://github.com/daostack/access_control/tree/master/contracts/Groups.sol)
> Group that comprises of all members belonging to at least one subgroup.
**Execution cost**: No bound available
**Deployment cost**: less than 160600 gas
**Combined cost**: No bound available
## Constructor
Params:
1. **_subgroups** *of type `address[]`*
## Methods
### forward(address,bytes)
>
> Call a method on a contract in the name of the group.
**Execution cost**: No bound available
**Attributes**: payable
Params:
1. **_contract** *of type `address`*
> contract address to call.
2. **_data** *of type `bytes`*
> ABI encoded function call data.
### isMember(address)
**Execution cost**: No bound available
**Attributes**: constant
Params:
1. **_account** *of type `address`*
Returns:
1. **output_0** *of type `bool`*
[Back to the top ↑](#uniongroup)