Back to Home

Proxy

0x0001a7984b41...ec740ec5ffd8
ByzantiumExact Bytecode MatchEdit this contract
Deployed February 11, 2018 (8 years ago)Block 5,071,031

Owner-only forwarder that calls a stored address and function selector, passing on the ether sent.

Byzantium EraVerified Source

Historical Significance

Packing an address and a selector into one storage slot saved a storage write per deployment at a time when that mattered. The unguarded ownership setter is the more interesting detail, since the fallback is carefully restricted to the owner while the function that decides who the owner is was left open to anyone.

Key Facts
Deployment Block
5,071,031
Deployment Date
Feb 11, 2018, 12:59 PM
Code Size
242.0 B

Description

A forwarder holding an owner in the first storage slot and, packed together in the second, a target address and a four byte function selector. Sending ether to it causes it to call that selector on that target with the ether attached, and to throw if either the caller is not the owner or the call fails. transferOwner(address) rewrites the owner and carries no access check of its own, so any account can claim ownership. The bytecode carries no metadata trailer, so this is an exact match rather than a partial one.

Source Verified

SolidityExact bytecode match(242 bytes)
Compiler: v0.4.4+

Bytecode Overview

Opcodes242
Unique Opcodes53
Jump Instructions10
Storage Operations5

External Links