web3wagmi
← All standards

ERC-7628 ERC-721 Ownership Shares Extension

ReviewERCcreated 2024-02-20requires ERC-721

Introduces ownership shares to ERC-721 tokens, allowing for queryable, transferable, and approvable fractional ownership.

Author: Chen Liaoyuan (@chenly)

ERC-165 interface ids

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

IERC76280x795a88ee

Functions this standard introduces (8)

0x3b4b74baaddSharesToToken(uint256,uint256)
0x5c9eb4c4approveShare(uint256,address,uint256)
0x975012a5shareAllowance(uint256,address)view
0x3af8e5ebshareDecimals()view
0x26ca291bshareOf(uint256)view
0x3a98ef39totalShares()view
0x194d3f1atransferShares(uint256,uint256,uint256)
0xb63846e6transferSharesToAddress(uint256,address,uint256)

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

Events (2)

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

0x4c42a18dfe5da2aed9921b6fe441c3049cfc3d87834d4c69df0946cec3d071beSharesTransfered(uint256,uint256,uint256)
0x829aea3bbebf5f2b330866ecb548c799ae67e8be14d7bcda46268a24e3d7b05bSharesApproved(uint256,address,uint256)

Depends on (1)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion