The storage example rewired to send a wei and return a constant
Context
Deployed in September 2015 on the Frontier chain.
Key Facts
Description
It keeps the set and get names of the Solidity documentation's storage example and nothing else of its behaviour. The stored slot holds a hardcoded address rather than a number, set ignores its argument entirely and sends one wei to that address, and get returns the constant 255 without touching storage. The address it pays is another storage example deployed by the same account, so the pair was built to watch value move between two contracts.
Source Verified
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 SimpleStorage {
address a = 0x9e0ae8ffd946d12d1d393c6f3bca0eecadc9428e;
function set(uint x) {
a.send(1);
}
function get() constant returns (uint) {
return 255;
}
}External Links
Related contracts
Target
Same deployerTarget contract.
0x9e0ae8...c9428eSeptember 17, 2015GetSet
Same deployerA minimal getter/setter proxy from the Oraclize team. set() forwards calls to a hardcoded target contract, get() returns constant 255.
0x77beac...7e96c2September 17, 2015Controller
Same deployerController contract.
0x3c9492...e332e5September 17, 2015Pool5x
Same deployerPool5x contract.
0x246b34...a8eebeSeptember 17, 2015Pool
Same deployerRevised Pool5x lottery prototype by Bertani (Oraclize), deployed 17 blocks after v1. Stores 5x msg.value and emits debug log events.
0xbb5cda...c483f9September 17, 2015Insurance
Same deployerBertani's pre-hackathon prototype of InsurETH, deployed twelve hours before Hack The Block London opened.
0x38ac81...22049bSeptember 18, 2015