web3wagmi
← All standards

ERC-7765 Privileged Non-Fungible Tokens Tied To RWA

DraftERCcreated 2024-08-20requires ERC-165, ERC-721

An interface extending ERC-721 representing real world assets that users can exercise privileges with NFTs.

Author: frank (@frankmint2024)

ERC-165 interface ids

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

IERC77650x1f8c228b

Functions this standard introduces (4)

0x19c1b2b1exercisePrivilege(address,uint256,uint256,bytes)
0x95caf7d4getPrivilegeIds(uint256)view
0xf4dfd327isExercisable(address,uint256,uint256)view
0x6758b4c9isExercised(address,uint256,uint256)view

Inherited (10)

0x095ea7b3approve(address,uint256)ERC-721
0x70a08231balanceOf(address)ERC-721
0x081812fcgetApproved(uint256)ERC-721
0xe985e9c5isApprovedForAll(address,address)ERC-721
0x6352211eownerOf(uint256)ERC-721
0xb88d4fdesafeTransferFrom(address,address,uint256,bytes)ERC-721
0x42842e0esafeTransferFrom(address,address,uint256)ERC-721
0xa22cb465setApprovalForAll(address,bool)ERC-721
0x01ffc9a7supportsInterface(bytes4)ERC-165
0x23b872ddtransferFrom(address,address,uint256)ERC-721

Optional extensions (1)

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

IERC7765Metadata0x246d823a

0x246d823aprivilegeURI(uint256)

Events (1)

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

0x3c18dc5b123bc45e5601e77b6f2465d5898f7630af7f3d60e7d0ac56fc3cc698PrivilegeExercised(address,address,uint256,uint256)

Depends on (2)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion