Permalink
Find file Copy path
d3546d4 May 28, 2018
1 contributor

Users who have contributed to this file

18 lines (13 sloc) 347 Bytes
pragma solidity ^0.4.24;
contract Store {
event ItemSet(bytes32 key, bytes32 value);
string public version;
mapping (bytes32 => bytes32) public items;
constructor(string _version) public {
version = _version;
}
function setItem(bytes32 key, bytes32 value) external {
items[key] = value;
emit ItemSet(key, value);
}
}