ERC-5505 · Stagnant · ERC · 2022-08-18
ERC-5505: EIP-1155 asset backed NFT extension
Proposes an ERC-1155 extension for fractionalized physical assets that lets a buyer who reaches a set ownership threshold force-buy the remaining fractions at a fixed price, so the whole asset can be acquired.
What problem does it solve?
When a physical asset is split into many ERC-1155 fractions, nobody can easily take full ownership again. Anyone visibly buying up fractions invites holdouts to demand extreme prices, and fractions in wallets with lost keys can never be bought at all. Without 100% ownership, the asset cannot be redeemed or taken home.
ERC-5505 sketches a "forced sale" (squeeze-out) mechanism: once a buyer holds a required share, the rest can be bought out at a pre-set price, and minority holders claim payment instead of keeping their fractions.
How it works
The proposed functions and flow:
setForcedSaleRequirement(requiredBP, erc20Token)(owner only): the threshold in basis points, and the ERC-20 token used for payment (wrapped ETH for ether).setForcedSaleTWAP(amount)(owner only): the unit price for remaining fractions. The spec suggests a time-weighted average price over a period before the threshold is reached. EmitsForcedSaleSet.execForcedSale(amount): the acquirer depositsremainingQty * price. After this, they are considered the owner of the whole asset.claimForcedSale(): remaining holders burn all their fractions and collect their share of the deposit. Emits a claimed event.
After a forced sale is set, the remaining NFTs' metadata should reflect that they are worth at most the set price.
Sample code
Simplified interface based on the spec (illustrative only; the spec's own snippet is not valid Solidity as written):
// SPDX-License-Identifier: CC0-1.0
pragma solidity ^0.8.20;
interface IERC5505 {
event ForcedSaleSet(bool isSet);
event ForcedSaleClaimed(uint256 qtyBurned, uint256 amountClaimed, address claimer);
/// Owner: threshold (basis points) and payment token.
function setForcedSaleRequirement(uint128 requiredBP, address erc20Token) external;
/// Owner: per-unit price for the remaining fractions (e.g. a TWAP).
function setForcedSaleTWAP(uint256 amount) external;
/// Acquirer: deposit remainingQty * price to complete the buyout.
function execForcedSale(uint256 amount) external payable;
/// Minority holder: burn all fractions, receive payment.
function claimForcedSale() external;
}
Payout math a holder could expect:
payout = fractionsHeld * forcedSalePrice
e.g. 40 fractions * 12.5 USDC = 500 USDC
Things to know
- Status is Stagnant, and the spec is incomplete: its code is pseudocode (e.g.
public external payable), the event is named bothForcedSaleClaimedandForceSaleClaimed, andForcedSaleFinishedis mentioned but never declared. It does not define how the threshold is checked or how the remaining quantity is computed. - The security section says the forced sale should only proceed after a governance decision and suggests a council to guard against governance attacks that manipulate the price.
- Deposited funds sit in the contract until every minority holder claims, which is an ongoing custody risk.
- Forced buyouts of real-world assets raise legal questions outside the scope of a token standard; any real deployment needs legal review.