Back to Home

Greeter

other
0x7350d2a8ef53...830121acd373
FrontierContract #5,898Exact Bytecode MatchEdit this contract
Deployed January 2, 2016 (10 years ago)Block 785,230

A classic Greeter contract from the official Solidity tutorial, storing and returning the string "Hello World!".

Frontier EraVerified Source

Historical Significance

An instance of the canonical Solidity tutorial contract. The mortal + greeter pattern was one of the first code examples new Ethereum developers encountered, making it a common artifact on the Frontier-era blockchain. Notable for being compiled with soljson v0.2.0, an early adoption of the then-latest compiler version.

Context

Deployed in January 2016 during the Frontier era. The Solidity tutorial's Greeter was the "Hello World" of Ethereum, the first contract most developers wrote. Compiled with soljson v0.2.0 with optimizer enabled, which had been released in late 2015. The v0.2.0 compiler fixed a constant ordering difference in ABI gas calculation codegen compared to v0.1.5-v0.1.7.

Key Facts
Deployment Block
785,230
Deployment Date
Jan 2, 2016, 08:53 AM
Code Size
670.0 B
Gas at Deploy
173,426

Description

A Greeter contract deployed on Jan 2, 2016, based on the official Solidity tutorial's mortal + greeter inheritance pattern. The contract stores a greeting string set via the constructor and returns it through the greet() function.

The contract inherits from a "mortal" base contract that provides an owner-only kill() function using suicide() (the pre-EIP-6 name for selfdestruct). The mortal constructor stores msg.sender as the owner, and kill() checks that only the owner can destroy the contract.

The greeter contract adds a single state variable (greeting) set by the constructor and exposed via greet(). Deployed with the constructor argument "Hello World!" -- the canonical example from the Solidity tutorial. No transactions were ever sent to this contract after deployment.

The deployer (0xd1d2c2cb7a9a703fc140f258f17f77dc6ff09899) deployed multiple contracts in late 2015 and early 2016, suggesting an active developer experimenting with Solidity during the Frontier era.

Source Verified

SolidityExact bytecode match(670 bytes)
Compiler: soljson

Exact bytecode match (init + runtime). 208 bytes init, 366 bytes runtime, 96 bytes constructor args. Classic mortal + greeter tutorial pattern.

Heuristic Analysis

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

Detected Type: other
Contains SELFDESTRUCT opcode

Bytecode Overview

Opcodes670
Unique Opcodes82
Jump Instructions26
Storage Operations13

External Links