Owner-only self-destruct contract from the Ethereum Solidity tutorial. Calls suicide(owner) when the owner calls kill().
Key Facts
Description
The standard 'mortal' base contract from the official Ethereum/Solidity tutorial (owner set in the constructor, owner-gated kill() calling suicide(owner)), deployed by Cyrus Adkisson. This is the tutorial's stock contract, not an original creation; Cyrus deployed a copy. Creation bytecode (126 bytes) reproduces byte-for-byte. Since killed on-chain (runtime empty); EH preserves the historical creation code. mortal codegen is identical across solc v0.1.2-v0.3.6 (v0.1.1 emits 127 bytes); the 2015-10-17 deploy places it in the v0.1.4/v0.1.5 window. Byte-identical sibling: 0x63989aaec3c6ae6d29c9673cea430322a8ac2cfa.
Source Verified
Creation exact (126b). Self-destructed; runtime empty on-chain, matched against EH-preserved creation. Version-invariant across v0.1.2-v0.3.x.
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 mortal {
address owner;
function mortal() { owner = msg.sender; }
function kill() { if (msg.sender == owner) suicide(owner); }
}External Links
Related contracts
GetBalance
Same deployerCyrus Adkisson experimental getter (Sep 2015) exposing the ether balance of a hardcoded address via getMyBalance(). Verified byte-for-byte with soljson v0.1.1.
0x759ad4...239a87August 26, 2015Pong (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, 2015