Back to Home

greeter

Experimental
0xbbd53362529f...708b10ee843e
FrontierContract #411Exact Bytecode MatchEdit this contract

Bytecode verified via sibling

This contract shares identical runtime bytecode with Greeter (0xfea8c4af...) which has been verified through compiler archaeology.

Deployed August 23, 2015 (11 years ago)Block 129,455

The Frontier-era greeter tutorial contract: returns a constructor-set greeting from greet(), with an owner-only kill() inherited from mortal.

Frontier EraVerified Source

Historical Significance

The greeter was Ethereum's Hello World. It is the worked example in the Frontier Guide and in the go-ethereum Contract Tutorial, and it was the first contract a large share of developers ever deployed. Its mortal base also served as many people's first encounter with Solidity inheritance and with the owner-guarded suicide pattern that early contracts used to reclaim funds.

Context

Deployed 2015-08-23 by 0xa9ac1233699bdae25abebae4f9fb54dbb1b44700. Twenty-one byte-identical copies of this runtime appear in the Ethereum History archive as undocumented Frontier contracts, deployed by twelve distinct addresses between 2015-08-20 and 2015-09-12. That spread of independent deployers over several weeks is the fingerprint of many people separately working through the same published tutorial, rather than one project redeploying its own contract.

Key Facts
Deployment Block
129,455
Deployment Date
Aug 23, 2015, 06:12 AM
Code Size
476.0 B
Gas at Deploy
221,184

Description

Two contracts in one file. mortal records the deployer in an owner slot and exposes kill(), which calls suicide(owner) only when the caller is that owner. greeter inherits from mortal, stores a string set once in its constructor, and returns it from greet(). The deployed runtime is 476 bytes and dispatches exactly two selectors: greet() at 0xcfae3217 and kill() at 0x41c0e1b5. There is no other reachable functionality, no payable path and no way to change the greeting after construction.

Source Verified

SolidityExact bytecode match(476 bytes)
Compiler: soljson

The official Ethereum Greeter tutorial contract (mortal + greeter). Compiled with soljson v0.1.1+commit.6ff4cd6, optimizer off. 692 bytes + 96 bytes constructor arg = 788 bytes. Self-destructed.

Heuristic Analysis

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

Detected Type: Experimental
Contains SELFDESTRUCT opcode

Bytecode Overview

Opcodes476
Unique Opcodes58
Jump Instructions16
Storage Operations5

External Links

Related contracts