Back to Home

Bounce

Utility
0x5954f55a00cb...983eabff93b8
FrontierContract #732Exact Bytecode MatchEdit this contract
Deployed September 2, 2015 (11 years ago)Block 177,435

A 132-byte contract with one function, sendBack(), which immediately returns any ether sent with the call.

Frontier EraVerified Source

Historical Significance

An echo test for value transfer, and one of the smallest useful things a 2015 contract could do. Sending ether and receiving it back within one transaction exercises the whole round trip of call value, the send opcode and the caller's balance accounting, which was the quickest way to confirm a client and toolchain were wired up correctly before any real logic was written.

Context

Deployed 2015-09-02 by 0xee291517c6290faf94dee71647c27b9737b2a2d2. One instance of this runtime is known. A near-identical 135-byte variant by the same pattern exists in the archive and is still unmatched. Source recovered by exact runtime bytecode match, verified on Sourcify and Etherscan.

Key Facts
Deployment Block
177,435
Deployment Date
Sep 2, 2015, 08:23 PM
Code Size
194.0 B
Gas at Deploy
78,201
Transactions by Year
20151

Description

sendBack() at selector 0xd1e15045 checks whether the call carried any ether and returns straight away if it did not. Otherwise it calls msg.sender.send(msg.value), refunding the exact amount in the same transaction. There is no state, no owner and no fallback, so ether that arrives by any other route is stranded, and the send return value is not checked.

Source Verified

SolidityExact bytecode match(194 bytes)
Compiler: v0.1.3+
Heuristic Analysis

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

Detected Type: Utility

Bytecode Overview

Opcodes194
Unique Opcodes48
Jump Instructions8
Storage Operations3

External Links

Related contracts