Cyrus Adkisson experimental getter (Sep 2015) exposing the ether balance of a hardcoded address via getMyBalance(). Verified byte-for-byte with soljson v0.1.1.
Key Facts
Source Verified
Source reconstructed from on-chain bytecode. Compiled with soljson v0.1.1 (commit 6ff4cd6), optimizer OFF: the creation bytecode is a byte-for-byte exact match (235 bytes), and the deployed runtime (155 bytes) is the CODECOPY'd tail of that creation, so the runtime matches exactly as well. Single constant getter getMyBalance() (selector 0x4c738909) returning the ether balance of a hardcoded address stored in slot 0.
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)
// Cyrus Adkisson (0xcf684dfb...15bac), block 146,970 — Sep 4, 2015.
// One of Cyrus's early experimental contracts. Exposes the ether balance of a
// hardcoded address via a single constant getter. Verified byte-for-byte.
contract GetBalance {
address a = 0xcf684dfb8304729355b58315e8019b1aa2ad1bac;
function getMyBalance() constant returns (uint) {
return a.balance;
}
}
External Links
Related contracts
Pong (minimal)
Same deployerA minimal Pong contract with an int8 getter/setter and owner-only selfdestruct. Simpler predecessor to the tutorial Pong at 0x3a0cc907.
0x4f8791...ef366fSeptember 4, 2015Ping
Same deployerInter-contract communication tutorial. Ping calls Pong to retrieve a value, demonstrating cross-contract function calls in Solidity.
0xd2478e...543d24September 5, 2015Ping
Same deployerInter-contract communication tutorial. Ping calls Pong to retrieve a value, demonstrating cross-contract function calls in Solidity.
0xac5ab2...2996ddSeptember 5, 2015Ping
Same deployerInter-contract communication tutorial. Ping calls Pong to retrieve a value, demonstrating cross-contract function calls in Solidity.
0x657849...71a047September 5, 2015TwoD
Same deployerA tutorial contract testing two-dimensional array support in early Solidity.
0x78e332...fc4decSeptember 12, 2015ArrayRR
Same deployerA tutorial contract testing array passing and returning in Solidity function calls.
0x64c159...2b9f2dSeptember 12, 2015