Introduction

Hi, I'm cardene, a software engineer and technical writer focused on blockchain and AI.

I've also authored Japanese technical books on specification-driven development with LLMs and decentralized application (DApp) development.

I also build and publish a variety of tools, libraries, and open-source projects.

This article examines ERC-5505, which proposes a mechanism for converting fractional ownership of a physical asset represented by NFTs into sole ownership.

This explanation translates, summarizes, and expands on the following specification.

For other EIPs, see https://cardene.dev/proposals.

Overview

ERC-5505 extends the contract interface for asset-backed fractional ownership projects based on ERC-1155 to enable total acquisition. It focuses particularly on physical assets and aims to provide a way to acquire the entire underlying asset.

Motivation

Fractional ownership of real-world assets through NFTs is increasingly common, but acquiring all fractions can be difficult. For example, someone who wants to take home a barrel of premium wine held in a warehouse may find it extremely difficult to acquire every NFT representing a fraction of that barrel.

Because blockchain activity is public, other holders can see that someone is attempting a complete acquisition. Sellers may raise their asking prices, and some fractions may be held by inaccessible addresses whose private keys have been lost, making a complete acquisition practically impossible.

A special total-acquisition mechanism is needed to address these obstacles. A fractional ownership model can become more practical by providing a defined on-chain procedure that allows total acquisition when specified conditions are met.

Specification

js
//set the percentage required for any acquirer to trigger a forced sale
//set also the payment token to settle for the acquisition

function setForcedSaleRequirement(
	uint128 requiredBP,
	address erc20Token
) public onlyOwner

//set the unit price to acquire the remaining NFTs (100% - requiredBP)
//suggest to use a Time Weighted Average Price for a certain period before reaching the requiredBP
//emit ForcedSaleSet

function setForcedSaleTWAP(
	uint256 amount
) public onlyOwner

//acquirer deposit remainingQTY*TWAP
//emit ForcedSaleFinished
//after this point, the acquirer is the new owner of the whole asset

function execForcedSale (
	uint256 amount
) public external payable

//burn ALL NFTs and collect funds
//emit ForcedSaleClaimed

function claimForcedSale()
public

event ForcedSaleSet(
	bool isSet
)
event ForceSaleClaimed(
	uint256 qtyBurned,
	uint256 amountClaimed,
	address claimer
)

Functions

setForcedSaleRequirement

js
function setForcedSaleRequirement(uint128 requiredBP, address erc20Token) public onlyOwner

Configures the conditions under which a forced acquisition is permitted.

The requiredBP parameter represents a percentage in basis points, with 10000 equal to 100%. For example, 7000 means that 70% ownership is required. The erc20Token parameter specifies the ERC-20 token used for settlement.

Once an acquirer holds at least the specified proportion of NFTs, the acquirer may proceed with the forced purchase of the remaining fractions.

setForcedSaleTWAP

js
function setForcedSaleTWAP(uint256 amount) public onlyOwner

Sets the unit price for acquiring the remaining NFTs (the proportion not covered by requiredBP).

The amount parameter specifies the purchase price per unit. The proposal recommends using a time-weighted average price (TWAP) calculated over a preceding period.

Using a time-weighted average rather than short-term price movements is intended to mitigate price manipulation.

execForcedSale

solidity
function execForcedSale(uint256 amount) public external payable

Executes the payment for the forced acquisition and finalizes the acquisition process.

The previously established ownership and TWAP conditions must be satisfied. The amount equals the quantity of remaining NFTs multiplied by the TWAP. On success, the ForcedSaleFinished event is emitted, and the acquirer becomes the effective owner of the entire asset under the proposed mechanism.

claimForcedSale

js
function claimForcedSale() public

Allows former NFT holders to burn their NFTs and receive payment.

The burned fractions cease to exist, leaving the new acquirer as the sole owner under the mechanism. The redemption emits a sale-claim event. The original interface spells the event ForceSaleClaimed, while the explanatory text refers to ForcedSaleClaimed; implementations should consult the specification.

Events

  • ForcedSaleSet(bool isSet)

    Emitted when the forced sale configuration is established.

  • ForceSaleClaimed(uint256 qtyBurned, uint256 amountClaimed, address claimer)

    Emitted when NFTs are burned and proceeds claimed. Records the burned quantity, payment amount, and claimant.

Additional Notes

This mechanism provides a route to acquire an entire fractionalized asset when the conditions are met. A defined forced-acquisition process on a public blockchain can make physical use and recovery of the asset more practical, provided the process is fair and the associated rights are enforceable.

Additional Considerations

ETH Support and Metadata Updates

The proposal also considers native ETH as a payment asset. Native ETH is not an ERC-20 token, but Wrapped Ether (WETH) can be used to provide ERC-20-compatible handling.

NFT metadata should also be updated after the forced sale has been configured. In particular, it should communicate that the remaining fractions are subject to the predetermined TWAP acquisition price, so holders understand that the forced-sale proceeds are capped by that price.

Security

Price Manipulation Through Governance Attacks

The contract owner normally controls the forced-sale configuration, which should be subject to a governance proposal and approval process. An important risk is that an attack on governance could manipulate the TWAP at a particular time.

To mitigate this risk, the proposal favors transparent, legitimate decision-making through a council of multiple participants rather than decisions by one owner or a small group.

Risks of Payment Tokens Held in the Contract

When a forced sale is executed, the buyer deposits payment tokens into the contract. These ERC-20 tokens remain there until former NFT holders burn their fractions and claim the proceeds.

Because funds are locked in the contract during this period, bugs, vulnerabilities, or improper access control could cause losses. Thorough security audits and tests are therefore important, especially for withdrawal conditions and the burning mechanism.

Citation

liszechung (@liszechung), "ERC-5505: EIP-1155 asset backed NFT extension [DRAFT]," Ethereum Improvement Proposals, no. 5505, August 2022. [Online serial]. Available: https://eips.ethereum.org/EIPS/eip-5505.

Conclusion

ERC-5505 proposes a mechanism for acquiring sole ownership of a fractionalized physical asset when specified ownership and payment conditions are met.

Further reading and author links:

https://chaldene.net/