Back to Home

Proxy

0x23cbf26187a0...a583a59b4155
ByzantiumSource VerifiedEdit this contract
Deployed October 23, 2017 (8 years ago)Block 4,412,416

One hundred and thirty-seven bytes: a delegatecall proxy with the implementation address burned into the code and a fixed 4096-byte return window.

Byzantium EraVerified Source

Historical Significance

Fixing the implementation in the code rather than in storage makes this proxy immutable, which is the opposite of what most proxies are for. What it buys is size: no storage slot to read, no admin to protect, nothing to initialise. It is a cheap alias for one contract, deployed once per user or per role, and its cost model is the reason the same few bytes recur across whole fleets of addresses.

This contract is a proxy that delegates all calls to 0x24b6ee04740ce5051539117409660f15e29ea329. See the master contract for the full logic.
Key Facts
Deployment Block
4,412,416
Deployment Date
Oct 23, 2017, 04:48 AM
Code Size
180.0 B

Description

There is no storage and no admin. The payable fallback hands the calldata to an internal helper that checks the target has code, delegatecalls it with ten thousand gas held back, and returns a fixed four kilobyte window of memory regardless of how much the call actually produced.

The fixed window is the tell that this predates RETURNDATASIZE being convenient to use: rather than ask how much came back, the proxy reserves more than any caller is likely to need and returns all of it. A caller decoding a single word reads the first thirty-two bytes and ignores the rest.

Failure is handled with invalid rather than revert, so a failed delegatecall consumes the whole gas allowance instead of refunding it. The extcodesize check in front is the one piece of defensive work: without it a delegatecall to an address with no code would succeed silently and the proxy would return four kilobytes of zeroes as if the call had worked.

Source Verified

Solidityeh_crack_source_verified
Compiler: v0.4.18

Bytecode Overview

Opcodes180
Unique Opcodes86
Jump Instructions8
Storage Operations0

External Links