web3wagmi
← All standards

ERC-5639 Delegation Registry

ReviewERCcreated 2022-09-09

Delegation of permissions for safer and more convenient signing operations.

Authors: foobar (@0xfoobar), Wilkins Chung (@wwhchung), ryley-o (@ryley-o), Jake Rockland (@jakerockland), andy8052 (@andy8052)

ERC-165 interface ids

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

IDelegationRegistry0x0596d3d5

Functions this standard introduces (15)

0x9c395bc2checkDelegateForAll(address,address)view
0x90c9a2d0checkDelegateForContract(address,address,address)view
0xaba69cf8checkDelegateForToken(address,address,address,uint256)view
0x685ee3e8delegateForAll(address,bool)
0x49c95d29delegateForContract(address,address,bool)
0x537a5c3ddelegateForToken(address,address,uint256,bool)
0xf956cf94getContractLevelDelegations(address)view
0x1b61f675getDelegatesForAll(address)view
0xed4b878egetDelegatesForContract(address,address)view
0x1221156bgetDelegatesForToken(address,address,uint256)view
0x4fc69282getDelegationsByDelegate(address)view
0x6f007d87getTokenLevelDelegations(address)view
0x36137872revokeAllDelegates()
0xfa352c00revokeDelegate(address)
0x219044b0revokeSelf(address)

Events (5)

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

0x58781eab4a0743ab1c285a238be846a235f06cdb5b968030573a635e5f8c92faDelegateForAll(address,address,bool)
0x8d6b2f5255b8d815cc368855b2251146e003bf4e2fcccaec66145fff5c174b4fDelegateForContract(address,address,address,bool)
0xe89c6ba1e8957285aed22618f52aa1dcb9d5bb64e1533d8b55136c72fcf5aa5dDelegateForToken(address,address,address,uint256,bool)
0x32d74befd0b842e19694e3e3af46263e18bcce41352c8b600ff0002b49edf662RevokeAllDelegates(address)
0x3e34a3ee53064fb79c0ee57448f03774a627a9270b0c41286efb7d8e32dcde93RevokeDelegate(address,address)

What the specification covers

Compare with

Parsed from the canonical specification · discussion