web3wagmi
← All standards

ERC-6538 Stealth Meta-Address Registry

FinalERCcreated 2023-01-24requires EIP-712, ERC-1271, ERC-5564

A canonical contract for entities to register stealth meta-addresses directly or through a third party using signatures.

Authors: Matt Solomon (@mds1), Toni Wahrstätter (@nerolation), Ben DiFrancesco (@apbendi), Vitalik Buterin (@vbuterin), Gary Ghayrat (@garyghayrat)

ERC-165 interface ids

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

IERC12710x1626ba7e
IERC6538Registry0x7b1f57cb

Functions this standard introduces (8)

0x3644e515DOMAIN_SEPARATOR()view
0xfe04b106ERC6538REGISTRY_ENTRY_TYPE_HASH()view
0x627cdcb9incrementNonce()
0x1626ba7eisValidSignature(bytes32,bytes)view
0xed2a2d64nonceOf(address)view
0x042c7aa3registerKeys(uint256,bytes)
0x428d3d0bregisterKeysOnBehalf(address,uint256,bytes,bytes)
0x7aa8b5adstealthMetaAddressOf(address,uint256)view

Events (2)

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

0x4e739a47dfa4fd3cfa92f8fe760cebe125565927e5c422cb28e7aa388a067af9StealthMetaAddressSet(address,uint256,bytes)
0xa82a649bbd060c9099cd7b7326e2b0dc9e9af0836480e0f849dc9eaa79710b3bNonceIncremented(address,uint256)

Custom errors (1)

0xc5c2e661ERC6538Registry__InvalidSignature()

Depends on (3)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion