An open key-value store from an early decentralised marketplace dapp: any account can save a value under its own address, with a timestamp.
Key Facts
Description
OpenStore keeps one value and one timestamp per sender. A contract can also store a value on behalf of the account that called it.
Source Verified
Exact runtime and creation bytecode match with soljson v0.2.0+commit.4dc2445e, optimizer on. Source: github.com/gitter-badger/dapp, revision blob f815097b6a (author original, verbatim). Verified on Etherscan.
Heuristic Analysis
The following characteristics were detected through bytecode analysis and may not be accurate.
Frontier Era
The initial release of Ethereum. A bare-bones implementation for technical users.
Bytecode Overview
Verified Source Available
Source verified through compiler archaeology and exact bytecode matching.
View Verification ProofShow source code (Solidity)
// Submitted by EthereumHistory (ethereumhistory.com)
contract OpenStore{
mapping (address => mapping(bytes32 => Datum)) data;
struct Datum {
bytes value;
uint timestamp;
}
function set(bytes32 key, bytes value){
data[tx.origin][key].value = value;
data[tx.origin][key].timestamp = now;
}
function setFromContract(bytes32 key, bytes value){
data[msg.sender][key].value = value;
data[msg.sender][key].timestamp = now;
}
function getValue(address addr, bytes32 key) constant returns(bytes){
return data[addr][key].value;
}
function getTimestamp(address addr, bytes32 key) constant returns(uint){
return data[addr][key].timestamp;
}
}External Links
Related contracts
OpenStore
Same deployerAn open key-value store from an early decentralised marketplace dapp: any account can save a value under its own address, with a timestamp.
0xaf5276...63e191September 30, 2015Contract 0x928fd6...a394a2
Same deployerA first come first served name registry from November 2015: claim a bytes32 alias for your address, and it can never be released.
0x928fd6...a394a2November 23, 2015Contract 0xdfe162...689c7a
Same deployerA contract with no storage at all that exists only to write three indexed addresses into the log.
0xdfe162...689c7aNovember 23, 2015Keystore
Same deployerA public-key directory for an early decentralised marketplace dapp: each account stores the key others use to encrypt messages to it.
0x8eca08...3d5e61November 23, 2015Contract 0x33bf61...f98a64
Same deployerA first come first served name registry from November 2015: claim a bytes32 alias for your address, and it can never be released.
0x33bf61...f98a64November 23, 2015Contract 0x5cdb3c...662fd1
Same deployerA contract with no storage at all that exists only to write three indexed addresses into the log.
0x5cdb3c...662fd1November 23, 2015