2018-02-28 04:36:48 +00:00
|
|
|
pragma solidity ^0.4.17;
|
|
|
|
|
2018-03-04 06:31:07 +00:00
|
|
|
import "../deploy/DelayedUpdatableInstanceStorage.sol";
|
2018-05-17 20:29:27 +00:00
|
|
|
import "./IdentityGasRelay.sol";
|
2018-02-28 04:36:48 +00:00
|
|
|
|
2018-05-17 20:29:27 +00:00
|
|
|
contract IdentityKernel is DelayedUpdatableInstanceStorage, IdentityGasRelay {
|
2018-02-28 04:36:48 +00:00
|
|
|
|
2018-05-13 05:39:10 +00:00
|
|
|
constructor()
|
2018-05-17 20:29:27 +00:00
|
|
|
IdentityGasRelay(
|
2018-05-13 05:39:10 +00:00
|
|
|
new bytes32[](0),
|
|
|
|
new uint256[](0),
|
|
|
|
new uint256[](0),
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0
|
|
|
|
)
|
|
|
|
public
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
function initIdentity(
|
|
|
|
bytes32[] _keys,
|
|
|
|
uint256[] _purposes,
|
|
|
|
uint256[] _types,
|
|
|
|
uint256 _managerThreshold,
|
|
|
|
uint256 _actorThreshold,
|
|
|
|
address _recoveryContract
|
|
|
|
) external {
|
|
|
|
_constructIdentity(
|
|
|
|
_keys,
|
|
|
|
_purposes,
|
|
|
|
_types,
|
|
|
|
_managerThreshold,
|
|
|
|
_actorThreshold,
|
|
|
|
_recoveryContract);
|
2018-02-28 04:36:48 +00:00
|
|
|
}
|
|
|
|
}
|