web3wagmi
← All standards

ERC-7405 Portable Smart Contract Accounts

DraftERCcreated 2023-07-26requires ERC-191, ERC-1967

Migrating smart contract accounts at the Proxy (ERC-1967) layer.

Author: Aaron Yee (@aaronyee-eth)

ERC-165 interface ids

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

IERC74050xa0d4443b

Functions this standard introduces (3)

0x5e021c3ccancelAccountMigration()
0xae2828bahandleAccountMigration(address,bytes,bytes)
0x50fe70bdprepareAccountMigration(address,bytes)

Optional extensions (1)

Interfaces the spec defines alongside the core one, which an implementation may or may not carry.

IERC7405Registry0x41d004b1

0xd74c1cd8migrationDataExists(address)
0x63e46f44getMigrationData(address)
0x05ff7e91setMigrationData(address,uint48)
0xf08709bcdeleteMigrationData(address)

Events (1)

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

0x2044ccf98069d598e8f5615969463c84ba5156dee25afc07214503225bdffe83AccountMigrated(address,address)

Depends on (2)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion