2018-03-04 06:31:07 +00:00
|
|
|
pragma solidity ^0.4.17;
|
|
|
|
|
|
|
|
/**
|
2018-03-21 01:31:14 +00:00
|
|
|
* @title DelayedUpdatableInstanceStorage
|
2018-03-04 06:31:07 +00:00
|
|
|
* @author Ricardo Guilherme Schmidt (Status Research & Development GmbH)
|
2018-03-21 01:31:14 +00:00
|
|
|
* @dev Defines kernel vars that Kernel contract share with DelayedUpdatableInstance.
|
2018-03-04 06:31:07 +00:00
|
|
|
* Important to avoid overwriting wrong storage pointers is that
|
|
|
|
* InstanceStorage should be always the first contract at heritance.
|
|
|
|
*/
|
2018-03-21 01:31:14 +00:00
|
|
|
contract DelayedUpdatableInstanceStorage {
|
2018-03-04 06:31:07 +00:00
|
|
|
// protected zone start (InstanceStorage vars)
|
2018-03-21 01:31:14 +00:00
|
|
|
address public kernel;
|
|
|
|
Update public update;
|
2018-03-04 06:31:07 +00:00
|
|
|
|
|
|
|
struct Update {
|
|
|
|
address kernel;
|
|
|
|
uint256 activation;
|
|
|
|
}
|
|
|
|
// protected zone end
|
2018-05-13 08:45:03 +00:00
|
|
|
|
|
|
|
constructor() internal { }
|
2018-03-04 06:31:07 +00:00
|
|
|
}
|