web3wagmi
← All standards

ERC-2535 Diamonds, Multi-Facet Proxy

FinalERCcreated 2020-02-222 later proposals build on it

Create modular smart contract systems that can be extended after deployment.

Author: Nick Mudge (@mudgen)

ERC-165 interface ids

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

IDiamondLoupe0x48e2b093

Functions this standard introduces (4)

0xcdffacc6facetAddress(bytes4)view
0x52ef6b2cfacetAddresses()view
0xadfca15efacetFunctionSelectors(address)view
0x7a0ed627facets()view

Events (1)

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

0x8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb673DiamondCut((address,uint8,bytes4[])[],address,bytes)

Built on by (2)

Later proposals that name this one in their requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion