web3wagmi
← All standards

ERC-8109 Diamonds, Simplified

WithdrawnERCcreated 2025-12-21

A simplified diamond architecture for modular smart contract systems.

Author: Nick Mudge (@mudgen)

Functions this standard introduces (2)

0xcdffacc6facetAddress(bytes4)view
0x60b5befbfunctionFacetPairs()view

Events (5)

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

0x8ebe71df07c7735e3354de642e0e78bd4883f86387fd862933fb2bda80a33ac4DiamondFunctionAdded(bytes4,address)
0x7b4ab0df34c3bd1da54befe627195f88272a902f9af7967462c3effff05e1844DiamondFunctionReplaced(bytes4,address,address)
0xa24c9d3a0f634225f6932b85d43ff7a2dcb0b8778ad4caedbc13c840f5e4fd6dDiamondFunctionRemoved(bytes4,address)
0xfb4514022f0c20335bef459c51d3b7d7ec4a30ac3ab8ccc1b3f83422c51ff3fcDiamondDelegateCall(address,bytes)
0xe554490be3732d6c1d73f1f31f5728456ac9b5bd3bee232399e7a8e48d8243fbDiamondMetadata(bytes32,bytes)

Custom errors (1)

0x5416eb98FunctionNotFound(bytes4)

What the specification covers

Compare with

Parsed from the canonical specification · discussion