Back to Home

EtherToken

Token
0xd654bdd32fc9...d7b6437e9179
HomesteadContract #12KSource VerifiedEdit this contract

Bytecode verified via sibling

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

Deployed March 20, 2016 (10 years ago)Block 1,184,188

The ether wrapper code of 0xacFD9D15fA769EaBb68410c4c675Ff2030f26416 redeployed 81 blocks later, and the copy of the pair that was actually used.

Homestead EraVerified Source

Historical Significance

Wrapping ether so that code written for tokens can handle it is the problem WETH solved for the whole ecosystem, and this pair attacks it more than a year earlier, at the moment the ERC-20 interface was being finalised rather than after. Because the supply is the contract's own ether balance, the invariant every wrapped asset needs, that tokens outstanding equal collateral held, is enforced by construction rather than by bookkeeping.

Context

Deployed on 20 March 2016 at 15:30 UTC, twenty minutes after its byte identical twin and days after the Homestead fork. ERC-20 was still a draft, wrapped ether had no canonical implementation, and a contract that needed to treat ether like a token had to carry its own wrapper.

Key Facts
Deployment Block
1,184,188
Deployment Date
Mar 20, 2016, 03:30 PM
Code Size
2.3 KB
Gas at Deploy
691,074
Transactions by Year
2016384
20191
20252
202612

Description

An ether wrapper of the kind WETH later became: deposit() credits the caller with the ether sent, withdraw(uint256) checks the balance and sends the ether back, totalSupply() reports the contract's own ether balance, and the fallback routes a plain transfer into deposit(). On top of that sits the full ERC-20 surface, balanceOf, transfer, transferFrom, approve and allowance, with both events.

It is byte for byte identical to 0xacFD9D15fA769EaBb68410c4c675Ff2030f26416, deployed 81 blocks and about twenty minutes afterwards from the same account. The two differ only in what happened to them: the first was never called and this one carries the transactions.

Source Verified

exact_runtime_bytecode_match
Compiler: v0.3.0+
Heuristic Analysis

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

Detected Type: Token
Has ERC-20-like patterns

Bytecode Overview

Opcodes2,356
Unique Opcodes166
Jump Instructions69
Storage Operations26

External Links

Related contracts