web3wagmi
← All standards

ERC-7303 Token-Controlled Token Circulation

DraftERCcreated 2023-07-09requires ERC-165, ERC-721, ERC-1155, ERC-5679

Access control scheme based on token ownership.

Author: Ko Fujimura (@kofujimura)

ERC-165 interface ids

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

IERC73030x4ee69337

Functions this standard introduces (3)

0x7da6c4c8getERC1155ControlTokens(bytes32)view
0xa2911fabgetERC721ControlTokens(bytes32)view
0x91d14854hasRole(bytes32,address)view

Events (2)

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

0xce4f30bd0f328c411b2f383723aa9641c9f3c1df08d7d4a24d5b2617bfbcf133ERC721ControlTokenAdded(bytes32,address)
0xa61158434870f75f6a1c03e010042f2e1a03046bc13b433b562361ee0a1b2e1bERC1155ControlTokenAdded(bytes32,address,uint256)

Depends on (4)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion