Back to Home

Relay

Unclassified
0x0003d84df77a...bb7851ccae75
ByzantiumSource VerifiedEdit this contract

Bytecode verified via sibling

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

Deployed March 3, 2018 (8 years ago)Block 5,188,662

Relay that sweeps its whole balance to one hardcoded address on any bare payment, and lets one other hardcoded address execute arbitrary calls.

Byzantium Era

Historical Significance

Holding no storage at all means this relay cannot be reconfigured, only replaced. The two roles are separated in the code itself: one address receives, a different address commands. Sweeping the full balance rather than the received amount is the detail that makes it self correcting, since a failed forward in one transaction is cleaned up by the next.

Key Facts
Deployment Block
5,188,662
Deployment Date
Mar 3, 2018, 11:15 AM
Code Size
356.0 B
Gas at Deploy
147,622

Description

Two addresses are burned into the code and nothing is stored. The payable fallback transfers the contract's entire balance, not just the incoming amount, to the first address, so any stray balance left from a previous transaction goes out with the next payment.

exec is declared external and takes an address and a calldata payload. It asserts that the caller matches the second hardcoded address, then makes an arbitrary call forwarding whatever value was sent. Declaring the parameter as calldata rather than memory keeps the decoder short.

Heuristic Analysis

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

Detected Type: Unclassified

Bytecode Overview

Opcodes356
Unique Opcodes109
Jump Instructions12
Storage Operations0

External Links

Related contracts