UNPKG

@daostack/access_control

Version:

Capability-based access control for Ethereum smart contracts.

127 lines (66 loc) 2 kB
# ERC1480Interface [see the source](git+https://github.com/daostack/access_control/tree/master/contracts/ERC1480Interface.sol) **Execution cost**: No bound available **Deployment cost**: No bound available **Combined cost**: No bound available ## Events ### AssignKey(bytes32,address,address,bool,uint256,uint256,uint256) **Execution cost**: No bound available Params: 1. **_id** *of type `bytes32`* 2. **_from** *of type `address`* 3. **_to** *of type `address`* 4. **_assignable** *of type `bool`* 5. **_start** *of type `uint256`* 6. **_expiration** *of type `uint256`* 7. **_uses** *of type `uint256`* --- ### RevokeKey(bytes32,address) **Execution cost**: No bound available Params: 1. **_id** *of type `bytes32`* 2. **_owner** *of type `address`* ## Methods ### assignFullKey(bytes32,address) **Execution cost**: No bound available Params: 1. **_id** *of type `bytes32`* 2. **_to** *of type `address`* --- ### revokeKey(bytes32) **Execution cost**: No bound available Params: 1. **_id** *of type `bytes32`* --- ### unlockable(bytes32,address) **Execution cost**: No bound available **Attributes**: constant Params: 1. **_id** *of type `bytes32`* 2. **_owner** *of type `address`* Returns: 1. **output_0** *of type `bool`* --- ### getKey(bytes32,address) **Execution cost**: No bound available **Attributes**: constant Params: 1. **_id** *of type `bytes32`* 2. **_owner** *of type `address`* Returns: 1. **output_0** *of type `bool`* 2. **output_1** *of type `bool`* 3. **output_2** *of type `uint256`* 4. **output_3** *of type `uint256`* 5. **output_4** *of type `uint256`* --- ### assignKey(bytes32,address,bool,uint256,uint256,uint256) **Execution cost**: No bound available Params: 1. **_id** *of type `bytes32`* 2. **_to** *of type `address`* 3. **_assignable** *of type `bool`* 4. **_start** *of type `uint256`* 5. **_expiration** *of type `uint256`* 6. **_uses** *of type `uint256`* [Back to the top ](#erc1480interface)