ERC-5173 · Draft · ERC · 2022-05-08
ERC-5173: NFT Future Rewards (nFR)
A draft ERC-721 extension in which each profitable resale shares a slice of the seller's profit with a fixed window of previous owners, so holders keep earning from an NFT's appreciation after they sell it.
What problem does it solve?
With a normal NFT, once you sell you have no further stake in the asset. If it later sells for ten times the price, only the later sellers benefit. The authors frame trading as a zero-sum game (P(A) + P(B) + fees ≤ 0) and want a model where earlier owners, who helped build the asset's value, share in later gains.
nFR ("non-fungible Future Rewards") records each token's ownership and price history on-chain and, on every profitable sale, routes part of the profit back to recent past owners.
How it works
Each token carries an FRInfo record:
| Field | Meaning |
|---|---|
numGenerations |
Size of the sliding window of past owners who share rewards |
percentOfProfit |
Share of the profit paid as Future Rewards, scaled by 1e18 (5e16 = 5%) |
successiveRatio |
Common ratio g of the geometric split between generations |
lastSoldPrice |
Price of the previous sale, used to compute profit |
addressesInFR |
Owners currently inside the window |
The contract itself is the marketplace: list(tokenId, price), unlist(tokenId) and payable buy(tokenId). On a sale:
- Profit
P = price − lastSoldPrice. If it is not positive, nothing is shared (losing sellers owe nothing), but they still stay in line for future rewards. - Otherwise
P × ris split among up ton = min(owners, window)previous owners along a geometric sequence, with earlier generations getting larger shares. The seller keeps the rest. - Rewards are credited, not pushed: owners withdraw with
releaseFR(account)(pull payments, emittingFRClaimed). - The window shifts: the oldest owner drops out, the seller joins.
Plain transfers are treated as sales at 0 ETH, so moving a token outside the marketplace gives the recipient a zero cost basis and a larger future payout obligation. Transfers to yourself or to an address already in the window must be blocked.
Sample code
The geometric split, mirroring the spec's _calculateFR (TypeScript, floating point for clarity):
// p: profit, r: share of profit for FR, g: successive ratio, m: owners so far, w: window size
function calculateFR(p: number, r: number, g: number, m: number, w: number): number[] {
const n = Math.min(m, w);
return Array.from({ length: n }, (_, k) => {
const i = k + 1;
return g === 1
? (p * r) / n
: (p * r * (1 - g) * g ** (i - 1)) / (1 - g ** n);
}); // the shares sum to p * r
}
calculateFR(1.0, 0.1, 0.5, 4, 10); // 1 ETH profit, 10% shared across 4 owners
On-chain implementations must use 1e18 fixed-point math instead of floats.
Things to know
- Status: Draft. The interface may still change.
- It is designed to coexist with ERC-2981 creator royalties, which are a separate payment.
- Wash trading is the main known weakness: one person can occupy several generations with different wallets. The spec only suggests off-chain mitigations such as wallet scores and minimum holding periods.
- Long generation windows make distribution loops expensive; check
numGenerationsbefore interacting. - Guard all payment functions against reentrancy.