web3wagmi
← All standards

ERC-5050 Interactive NFTs with Modular Environments

StagnantERCcreated 2021-04-18requires ERC-165, ERC-173, ERC-721, ERC-1155, ERC-1820, ERC-4906

Action messaging and discovery protocol for interactions on and between NFTs

Author: Alexi (@alexi)

ERC-165 interface ids

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

IERC5050Interactive0x6821d2b7
IControllable0x74504dd3

Functions this standard introduces (4)

0x6821d2b7interfaceURI(bytes4)view
0x69d8e231isApprovedController(address,bytes4)view
0x6839ce74setControllerApproval(address,bytes4,bool)
0x75b16196setControllerApprovalForAll(address,bool)

Events (6)

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

0x0f884f8c03436e1dac6ede6cd6437e534a3c785d07aebe49186ceed53610bdd3SendAction(bytes4,address,address,uint256,address,uint256,address,bytes)
0x57f9e4aa0c479eb6b4954eeaf36d835de17e7b2df00ce50976dfeba4eff89bbcApprovalForAction(address,bytes4,address)
0xe37230f00e3b15e90e6a606f3b77be179b2808cc3bc970e51c9e046f8a6683e0ApprovalForAllActions(address,address,bool)
0x631a64c22ececeb533942f6a78b2f9a947d96349ef6d663b74e4732ac9006102ActionReceived(bytes4,address,address,uint256,address,uint256,address,bytes)
0x3682cb32536a568bcbb2802a0cf1b28ee0b8ec33e21a8a74e0b2545c97769f79ControllerApproval(address,bytes4,bool)
0xb033bedede81cc9e0eb1e2341b52e2c78e2ec38ba3e979113dd42533a3958325ControllerApprovalForAll(address,bool)

Depends on (6)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion