mirror of
https://github.com/status-im/visual-identity.git
synced 2025-02-19 16:04:19 +00:00
Changed name to function, and added view to Factory
This commit is contained in:
parent
213e76d3a5
commit
5466aeed49
@ -31,6 +31,18 @@ contract Factory is Controlled {
|
|||||||
_setKernel(_kernel, _infohash);
|
_setKernel(_kernel, _infohash);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function getVersion(uint256 index) public view
|
||||||
|
returns(uint256 blockNumber,
|
||||||
|
uint256 timestamp,
|
||||||
|
address kernel,
|
||||||
|
bytes infohash)
|
||||||
|
{
|
||||||
|
return (versionLog[index].blockNumber,
|
||||||
|
versionLog[index].timestamp,
|
||||||
|
versionLog[index].kernel,
|
||||||
|
versionLog[index].infohash);
|
||||||
|
}
|
||||||
|
|
||||||
function _setKernel(address _kernel, bytes _infohash)
|
function _setKernel(address _kernel, bytes _infohash)
|
||||||
internal
|
internal
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user