14 lines
384 B
Solidity
14 lines
384 B
Solidity
|
pragma solidity ^0.4.17;
|
||
|
|
||
|
import "../deploy/InstanceStorage.sol";
|
||
|
import "./Identity.sol";
|
||
|
|
||
|
contract IdentityKernel is InstanceStorage, Identity {
|
||
|
|
||
|
function initIdentity(address _caller) external {
|
||
|
require(minimumApprovalsByKeyType[MANAGEMENT_KEY] == 0);
|
||
|
_addKey(bytes32(_caller), MANAGEMENT_KEY, 0);
|
||
|
minimumApprovalsByKeyType[MANAGEMENT_KEY] = 1;
|
||
|
}
|
||
|
}
|