web3wagmi
← All standards

ERC-6981 Reserved Ownership Accounts

DraftERCcreated 2023-04-25requires ERC-1167, ERC-1271, ERC-6492

A registry for generating future-deployed smart contract accounts owned by users on external services

Authors: Paul Sullivan (@sullivph), Wilkins Chung (@wwchung), Kartik Patel (@Slokh)

ERC-165 interface ids

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

IAccountRegistry0x7df68143
IAccount0x13af4035

Functions this standard introduces (5)

0x2dd7c658account(uint256)view
0x8cb6c470claimAccount(address,uint256,uint256,bytes32,bytes)
0xcab13915createAccount(uint256)
0x1626ba7eisValidSignature(bytes32,bytes)view
0x13af4035setOwner(address)

Events (2)

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

0x33310a89c32d8cc00057ad6ef6274d2f8fe22389a992cf89983e09fc84f6cfffAccountCreated(address,address,uint256)
0x716a178b8c4dd1c57d15ddf4b6ec18fe1cb9459796a3acd4102870b4fe1b07caAccountClaimed(address,address)

Custom errors (3)

0x19b991a8InitializationFailed()
0x360e42e1ClaimFailed()
0x82b42900Unauthorized()

Depends on (3)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion