Logótipo oficial do MASTR MASTR Apoiar o trabalho
Índice
← Início da wiki

Technical reference

ERC-1967: finding the implementation behind a proxy address

The address users recognise can remain unchanged while the code they execute changes.

Source-based reference · Updated 12 September 2026

Os artigos de investigação e as referências são publicados em inglês. A navegação está disponível em sete idiomas.

Neste artigo
  1. Three important storage locations
  2. Snapshot the code that actually ran
  3. Authority is a separate investigation
  4. Sources

Three important storage locations

ERC-1967 specifies storage locations for implementation, beacon and administrator information used by compatible proxies. These slots help tools discover delegated code without relying solely on a frontend label. A beacon-based proxy obtains its implementation through the beacon, adding another contract to inspect.

Snapshot the code that actually ran

A finding should record the chain, proxy address, block and implementation active at that block. Reviewing today's implementation against yesterday's transaction can produce a false explanation. Upgrade-related events are useful leads, but the corresponding state and executed call path matter too.

Authority is a separate investigation

Knowing the implementation does not identify every person able to replace it. Follow ownership, access-control roles, timelocks and any upgrade mechanism in the relevant contracts. The proxy standard gives a storage convention, not a guarantee of decentralised administration or an audit of the implementation. An unchanged token address is therefore not proof of unchanged behaviour.

Sources

Leituras relacionadas

Carteiras e segurança

Proxy-upgrade rugs

A proxy delegates calls to implementation code replaceable by an administrator.

MASTR

Apoiar a investigação independente

As investigações, as provas originais e os guias são de acesso livre. Os donativos voluntários ajudam a financiar a investigação e a manter disponíveis as ferramentas MASTR.

Abrir carteira