Created
November 19, 2018 18:27
-
-
Save puilp0502/fd27f15a334ddf8c9c1eb3f7b9fc8c98 to your computer and use it in GitHub Desktop.
Revisions
-
puilp0502 created this gist
Nov 19, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ pragma solidity ^0.4.0; contract KVStore { mapping(uint64 => string) public map; function set(uint64 key, string value) public { map[key] = value; } function get(uint64 key) public view returns (string) { return map[key]; } }