Back to Home

Proxy

0x000760ab8436...75a35a3d77bb
ByzantiumSource VerifiedEdit this contract
Deployed November 6, 2017 (8 years ago)Block 4,502,205

A 180 byte proxy that verifies its implementation has code before delegating, and returns a fixed 4096 byte window of the result.

Byzantium EraVerified Source

Historical Significance

Shares its exact shape with another family, differing only in the implementation address. Both date from before RETURNDATASIZE was available to proxies, when the size of a return had to be guessed in advance, and both answer that by reserving a flat window large enough for anything they expected to carry.

This contract is a proxy that delegates all calls to 0x6676f9a4be165daa756816f3234d5e019032728e. See the master contract for the full logic.
Key Facts
Deployment Block
4,502,205
Deployment Date
Nov 6, 2017, 04:20 PM
Code Size
180.0 B

Description

An internal helper takes the hardcoded implementation and the calldata. A Yul switch on extcodesize rejects an implementation with no code, which is necessary because a delegatecall to an empty address returns success and would make every call look like it worked.

The delegatecall forwards all gas minus ten thousand and requests a fixed 4096 byte return window rather than using returndatasize. A second switch on the result reverts through the invalid opcode on failure and returns the whole fixed window on success.

Source Verified

Solidityeh_crack_source_verified
Compiler: v0.4.18

Bytecode Overview

Opcodes180
Unique Opcodes84
Jump Instructions9
Storage Operations0

External Links