EthereumAdvanced

Delegatecall

An EVM call that runs another contract’s code using the calling contract’s storage and context.

PLAIN-ENGLISH DEFINITION

In more detail

Delegatecall is powerful because it separates where code lives from where data lives. Proxy contracts use it to run implementation logic while keeping the proxy's storage. That also makes mistakes dangerous: code written for the wrong storage layout can change unintended values, so the called implementation needs careful review.

IN THE WILD

How you might use it

A proxy delegates a withdrawal to its implementation, and that code reads the balance stored at the proxy address.

Was this clear?

Got a way to make Delegatecall click?

Add your take

By Crypto Dictionary · Published · Updated

Go to the source

Use the original reference to explore the details behind this entry.

Read the reference

An original explanation with a reference to follow. Protocol details and community usage can evolve. Sources & standards

PASS IT TO THE GROUP CHAT

Share a definition