Back to Home

Contract 0x8e6f6a5a04ad...7599405d9651

Utility
0x8e6f6a5a04ad...7599405d9651
FrontierContract #399DecompiledEdit this contract
Deployed August 22, 2015 (11 years ago)Block 126,347

The mortal base contract of the go-ethereum Contract Tutorial, deployed on its own: it records its creator and lets only that account destroy it.

Frontier Era

Historical Significance

The ownership plus kill() pair this contract implements became the standard shape for early Solidity contracts, inherited by most of the tutorial code of the period. Deployed alone it shows a reader working through the tutorial one contract at a time. The source was recovered by compiling the tutorial text with period compilers until the output matched the deployed bytecode exactly.

Context

Ethereum's Frontier network went live on 30 July 2015. The Contract Tutorial on the go-ethereum wiki, which the Frontier Guide included by reference, was the standard introduction of that period, and it named its three contracts mortal, greeter and token. Solidity was a few months old, contracts were compiled and deployed from the geth console, and no block explorer of the time kept the source, so the greeters survive as bytecode alone.

Key Facts
Deployment Block
126,347
Deployment Date
Aug 22, 2015, 03:34 PM
Code Size
276.0 B
Gas at Deploy
99,733
Transactions by Year
20151

Description

The mortal base contract from the Contract Tutorial on the go-ethereum wiki, deployed on its own rather than as the parent of a greeter. Its constructor records the account that created it and kill() self-destructs the contract and sends any balance to that account. Nothing else can be called.

Because the whole contract is a constructor and a guarded suicide, a deployment like this is a test of the deploy and destroy cycle rather than a working application: the tutorial presented mortal first, then built the greeter on top of it.

Heuristic Analysis

The following characteristics were detected through bytecode analysis and may not be accurate.

Detected Type: Utility

Bytecode Overview

Opcodes276
Unique Opcodes41
Jump Instructions7
Storage Operations5

External Links

Related contracts