ERC-5505 ERC-1155 asset-collateralized NFT forced buyout extension (EIP-1155 asset backed NFT extension)

Stagnant · NFTs & multi-token · created 2022-08-18

An EIP-1155 extension that lets a buyer who has accumulated sufficient ownership pay the remaining fractional holders at a set unit price and forcibly acquire the entire fractionally-owned asset-collateralized NFT.

Why it is needed

It is difficult for a single person to buy out an entire fractionally-owned asset-collateralized NFT. Because any attempt at a full buyout is visible on the public chain, fractional sellers can notice this and demand unreasonably high prices, obstructing the acquisition. In addition, if the key to a wallet holding a fraction is lost, that share can never be traded again, making it impossible for anyone to ever secure 100% ownership. To solve these problems, a procedure is needed that lets a buyer who has accumulated a sufficient share forcibly acquire the remaining fractions at a set price.

What to implement

In depth

Setting forced sale conditions and the settlement token

setForcedSaleRequirement(uint128 requiredBP, address erc20Token) can only be called by onlyOwner, and it specifies the equity share (requiredBP) that must be exceeded to trigger a forced sale, along with the ERC-20 token address used for settlement. The Rationale states that native ETH is not supported directly and is instead supported via Wrapped Ether (EIP-20).

Setting the TWAP-based unit price

setForcedSaleTWAP(uint256 amount) can also only be called by onlyOwner, and it sets the unit price for acquiring the remaining 100%-requiredBP of NFTs. The original text suggests using the Time Weighted Average Price over a set period prior to reaching requiredBP as the unit price. This function emits a ForcedSaleSet event.

Executing the forced sale

execForcedSale(uint256 amount) is a payable function called when the acquirer deposits an amount equal to remainingQTY*TWAP. The original comment states that "ForcedSaleFinished" is emitted on execution, but only ForcedSaleSet and ForceSaleClaimed are defined in the actual event declarations, so there is an inconsistency in the spec itself. Once execution completes, the acquirer becomes the new owner of the entire asset.

Burning and claiming payment

claimForcedSale() is a function through which a holder burns all of their NFTs and receives the corresponding payment. On execution it emits a ForceSaleClaimed event containing the quantity burned (qtyBurned), the amount claimed (amountClaimed), and the claimer.

Recommendation to update metadata

The Rationale explains that once forcedSale is set, the metadata of the remaining NFTs should be updated to reflect that those NFTs are now worth only the previously set TWAP price.

Governance and execution authority

All configuration functions and the execution process are handled by the contract owner (onlyOwner), and the original text assumes this is executed after a governance proposal. The Security Considerations note that if governance is compromised, the TWAP price at a given point in time could be manipulated, and recommends considering a council to preserve fairness.

Stagnant status

This proposal was written in August 2022 and its Status is marked Stagnant, meaning it is a draft where discussion has stalled with no further progress. Its content may change or may never be adopted as is.

Things to watch out for

Original ERC · ← ERCs