web3wagmi
← All standards

ERC-8049 Contract-Level Onchain Metadata

DraftERCcreated 2025-10-101 later proposal build on itrequires ERC-20, ERC-165, ERC-7930

Onchain metadata for arbitrary contracts with optional Diamond Storage for predictable data storage locations.

Authors: Prem Makeig (@nxt3d), Rafael Abuawad (@rafael-abuawad)

ERC-165 interface ids

Computed here as the XOR of the selectors each interface defines.

IERC80490x8ec3f882

Functions this standard introduces (1)

0x8ec3f882contractMetadata(string)view

Events (1)

Topic0 is the keccak256 hash of the signature, which is what a log filter matches on.

0x426e0ac73933dc0b7640119f12afec760615ea7aab85a0c9a1db85ed6b7aac49ContractMetadataUpdated(string,string,bytes)

Depends on (3)

Proposals this one names in its requires field.

Built on by (1)

Later proposals that name this one in their requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion