web3wagmi
← All standards

ERC-6551 Non-fungible Token Bound Accounts

ReviewERCcreated 2023-02-231 later proposal build on itrequires ERC-165, ERC-721, ERC-1167, ERC-1271

An interface and registry for smart contract accounts owned by non-fungible tokens

Authors: Jayden Windle (@jaydenwindle), Benny Giang, Steve Jang, Druzy Downs (@druzydowns), Raymond Huynh (@huynhr), Alanah Lam, Wilkins Chung (@wwhchung), Paul Sullivan (@sullivph), Auryn Macmillan (@auryn-macmillan), Jan-Felix Schwarz (@jfschwarz), Anton Bukov (@k06a), Mikhail Melnik (@ZumZoom), Josh Weintraub (@jhweintraub), Rob Montgomery (@RobAnon), vectorized (@vectorized), Víctor Martínez (@vnmrtz), Adrián Pajares (@0xadrii)

ERC-165 interface ids

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

IERC6551Registry0xae3ec50e
IERC6551Account0x6faff5f1
IERC6551Executable0x51945447

Functions this standard introduces (6)

0x246a0021account(address,bytes32,uint256,address,uint256)view
0x8a54c52fcreateAccount(address,bytes32,uint256,address,uint256)
0x51945447execute(address,uint256,bytes,uint8)payable
0x523e3260isValidSigner(address,bytes)view
0xc19d93fbstate()view
0xfc0c546atoken()view

Events (1)

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

0x79f19b3655ee38b1ce526556b7731a20c8f218fbda4a3990b6cc4172fdf88722ERC6551AccountCreated(address,address,bytes32,uint256,address,uint256)

Custom errors (1)

0x20188a59AccountCreationFailed()

Depends on (4)

Proposals this one names in its requires field.

Built on by (1)

Later proposals that name this one in their requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion