Back to Home

ShapeShift Chain-Split Receiver

utility
0x3e7756b1ea48...cbbec62e7a25
DAO ForkContract #21KExact Bytecode MatchEdit this contract
Deployed July 26, 2016 (9 years ago)Block 1,957,038

ShapeShift ETH/ETC routing contract (Jul 26, 2016). Forwards ETH to target only when on-chain forked() oracle result matches stored boolean — routing deposits t...

DAO Fork EraVerified Source

Historical Significance

One of the first oracle-gated routing contracts deployed by a major exchange on Ethereum. Demonstrates coordinated industry response to the DAO fork, with ShapeShift building deposit routing on top of an oracle deployed by Kraken.

Context

Deployed alongside its twin (0x89afcc) in consecutive blocks on July 26, 2016. Both contracts share identical bytecode but different constructor arguments, configuring them for opposite chain states. The forked() oracle at 0x2bd2326c was deployed by Kraken (address labeled Kraken: Deployer 1 on Etherscan) on July 17, three days before the fork -- suggesting pre-fork coordination between exchanges on shared chain-detection infrastructure.

Key Facts
Deployment Block
1,957,038
Deployment Date
Jul 26, 2016, 05:38 PM
Code Size
287.0 B
Gas at Deploy
176,521

Description

Deployed July 26, 2016 — 6 days after the DAO hard fork split Ethereum into ETH and ETC. One of two identical instances deployed in consecutive blocks by the ShapeShift ETH hot wallet. Queries the forked() oracle at 0x2bd2326c993dfaef84f696526064ff22eba5b362 to determine which chain it is running on, then forwards incoming ETH to the configured target only when the oracle result matches the stored forked boolean. This enabled ShapeShift to maintain separate deposit addresses for ETH and ETC with on-chain routing logic.

Source Verified

SolidityExact bytecode match(287 bytes)
Compiler: solc v0

Exact runtime bytecode match (287 bytes). Key finding: bool public forked generates the forked() getter with selector 0x16c72721. Condition != forked (not == forked) produces 287B; the latter produces 289B. Matches solc v0.2.1 through v0.3.5 with optimizer.

Heuristic Analysis

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

Detected Type: utility

Bytecode Overview

Opcodes287
Unique Opcodes57
Jump Instructions16
Storage Operations7

External Links