Skip to content

Instantly share code, notes, and snippets.

@puilp0502
Created November 19, 2018 18:27
Show Gist options
  • Save puilp0502/fd27f15a334ddf8c9c1eb3f7b9fc8c98 to your computer and use it in GitHub Desktop.
Save puilp0502/fd27f15a334ddf8c9c1eb3f7b9fc8c98 to your computer and use it in GitHub Desktop.
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];
}
}
@puilp0502
Copy link
Author

Current version:0.4.25+commit.59dbf8f1.Emscripten.clang
Enable Optimization ✔️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment