ERC-4675 Multi-NFT fractionalization token (Multi-Fractional Non-Fungible Tokens)

Stagnant · NFTs & multi-token · created 2022-01-13

A standard that lets a single contract fractionalize multiple NFTs, each distinguished by a token ID, and manage ownership of those fractions in an ERC-20-like way.

Why it is needed

Until now, fractionalizing an NFT so multiple people could share ownership required deploying a separate ERC-20-compatible token contract for each NFT. Deploying one more contract every time an NFT is fractionalized stacks up duplicate code on Ethereum inefficiently, and since each contract is separated with its own authority, integrating functionality across them is difficult. As more projects sought to fractionalize NFTs, this approach hit scalability limits, creating a need for a standard that could manage fractional tokens for multiple NFTs within a single contract.

What to implement

In depth

Fractional token structure distinguished by _id

Like ERC-1155, this standard distinguishes multiple token types by _id within a single contract. However, there is a clear difference from ERC-1155: here, each _id represents (fractionalizes) one distinct NFT. That is, _id 1 means a fraction of NFT A and _id 2 means a fraction of NFT B, so the same contract can simultaneously manage fractional tokens for many different NFTs.

setParentNFT and ownership verification

setParentNFT(_parentNFTContractAddress, _parentNFTTokenId, _totalSupply) is the function that registers a new token type. The contract must itself verify that it is the owner of the given NFT, and must revert if the same NFT is already registered, if _parentNFTContractAddress is the zero address, if it is not ERC-721 compatible, or if this contract is not the NFT owner. On success, it must emit a TokenAddition event.

ERC-20-like transfer and approval interface

transfer, approve, transferFrom, balanceOf, and allowance, totalSupply follow the names and behavior of ERC-20 as is, but an _id parameter indicating the token type has been added to every function and event. transfer and transferFrom must revert if the recipient address is the zero address or the balance is insufficient, and must emit a Transfer event on success. approve must also revert if _spender is the zero address and must emit an Approval event.

Why name() and symbol() are not included

This standard does not include name() and symbol() functions. This is because most users can simply pull the name and symbol from the original NFT contract, and storing a copied name and symbol every time a token is added would pile up unnecessary redundant bytecode on Ethereum. That said, depending on project needs, it is also possible to pull metadata from the NFT contract and add it to each token type.

Designed for flexibility and backwards compatibility

This standard defines only the minimal requirements so that each project can design minting, governance, burning, and so on to fit its own architecture. Function and event names are matched to ERC-20, with only the events and functions needed to add token types appended, and the parameter order using _id is structured similarly to ERC-1155. It is designed to interact with ERC-721, but is intentionally kept independent of ERC-721's extension features.

Proposal status

This ERC was proposed on 2022-01-13 and is in Stagnant status; discussion has stalled, so its content may change or it may never be adopted.

Things to watch out for

Original ERC · ← ERCs