2018-02-28 04:36:48 +00:00
|
|
|
pragma solidity ^0.4.17;
|
|
|
|
|
|
|
|
import "../deploy/InstanceStorage.sol";
|
|
|
|
import "./Identity.sol";
|
|
|
|
|
|
|
|
contract IdentityKernel is InstanceStorage, Identity {
|
|
|
|
|
|
|
|
function initIdentity(address _caller) external {
|
2018-03-02 19:00:46 +00:00
|
|
|
require(minimumApprovalsByKeyPurpose[MANAGEMENT_KEY] == 0);
|
2018-02-28 04:36:48 +00:00
|
|
|
_addKey(bytes32(_caller), MANAGEMENT_KEY, 0);
|
2018-03-02 19:00:46 +00:00
|
|
|
minimumApprovalsByKeyPurpose[MANAGEMENT_KEY] = 1;
|
2018-02-28 04:36:48 +00:00
|
|
|
}
|
|
|
|
}
|