ERC-8459 Creator fee rights
Draft · Vaults & DeFi · created 2026-10-20
Standardizes the recipient, accrued amount, and claimable amount of the trading-fee stream that launchpads pay to token creators, so that stream can be used as loan collateral.
Why it is needed
Most token launchpads pay creators a share of trading fees. This income has an on-chain history and is usable as loan collateral, but each launchpad models it differently, with escrow, transferable NFTs, or beneficiary lists, forcing lenders to integrate separately with every launchpad. A bigger problem is that the creator or the launchpad operator can change the recipient at any time. If the authority to change the recipient rests on an operator key or an upgrade, then even if a creator offers the stream as collateral to a lender, that promise can be broken at any time, making it worthless as collateral.
What to implement
event CreatorFeesAccrued(address indexed token, address indexed asset, uint256 amount);: Fires whenever a token's creator share of trading fees accrues to the stream, recording the amount accrued.event CreatorFeesClaimed(address indexed token, address indexed recipient, address indexed asset, uint256 amount);: Fires when assets are paid to the recipient via a claim call, recording the recipient that received them and the amount paid.event FeeRecipientChanged(address indexed token, address indexed from, address indexed to);: Fires when a token's fee recipient changes; on initial registration, from is the zero address.event FeeRateChanged(address indexed token, uint256 rate);: If a launchpad can change a token's trading fee rate, records that rate both at registration and at every change.function feeRecipient(address token) external view returns (address);: Returns a token's current fee recipient address. Returns the zero address for an unregistered token.function accruedTotal(address token, address asset) external view returns (uint256);: Returns the cumulative total accrued to the stream so far for the given token and asset.function claimable(address token, address asset) external view returns (uint256);: Returns the amount currently claimable, i.e. the cumulative accrued amount minus the amount already claimed.function claim(address token, address asset) external returns (uint256);: Callable by anyone; sends the claimable amount to the current recipient and returns the amount sent.function setFeeRecipient(address token, address newRecipient) external;: Callable only by the current recipient; changes the token's fee recipient to a new address.
In depth
Rules for registration and changing the recipient
How a token is registered is up to the launchpad, but registration must revert if the token or recipient is the zero address, and must emit FeeRecipientChanged(token, zero address, recipient). An already-registered token cannot be registered again. setFeeRecipient can only be called by the current feeRecipient(token), and fails if the new recipient is the zero address. This carries over ERC-173's ownership-transfer rules as is; the recipient cannot be changed by an admin role, launchpad configuration, a second registration, or an upgrade, and the contract itself cannot be upgraded.
Creator share and fee rate are separate concepts
The creator share is the portion of each trading fee that accrues to the stream, while the fee rate is the fee itself charged on the trade amount; the two follow different rules. A registered token's creator share cannot be lowered by any admin authority, configuration, or upgrade. By contrast, if a launchpad can change the fee rate, lowering it is only recommended against (SHOULD NOT), not prohibited, and instead FeeRateChanged(token, rate) must be emitted both at registration and at every change. rate is denominated in parts per million of the trade amount, where 10000 equals 1%.
Accrual rules
The creator's share of a fee must accrue to the stream immediately within the transaction in which it is generated or settled. The accrued amount is calculated based on the amount that actually reaches the fee rights contract (for assets with a transfer fee, based on the amount that arrives rather than the amount sent), fractional units are rounded down, and if it rounds down to zero, CreatorFeesAccrued is not emitted. Only fees from that token can accrue to the stream, and no one, including the recipient, can inflate the history by sending funds directly.
Claiming rules
claim(token, asset) can be called by anyone, and regardless of who calls it, it sends claimable(token, asset) to the current feeRecipient(token) and emits CreatorFeesClaimed. If claimable is zero, nothing is transferred, no event is emitted, and it returns zero. Amounts that accrued before the recipient changed but have not yet been claimed are paid to whoever is the recipient at the time claim is called.
ERC-165 identifiers
A fee rights contract must implement ICreatorFeeRights and ERC-165, and must return true for ICreatorFeeRights's interface identifier 0xaae48ac7 and for ERC-165's own identifier 0x01ffc9a7.
Keyed by token address, not an NFT
These rights are managed keyed by token address, not as an ERC-721 token. Making it an NFT would bring along approval and operator concepts, letting accounts other than the recipient themselves move the stream, which could break a promise offered to a lender as collateral. If an NFT-form right is needed, a separate wrapper contract can issue one under its own rules.
A proposal that has not yet been finalized
This proposal is currently in Draft status, still undergoing community discussion and review, and its detailed rules may change or adoption may stall.
Things to watch out for
- Launchpads still require trust: A fee rights contract can only accrue the amount that actually reaches it. If the launchpad stops forwarding fees or lowers the fee rate, it can drain the stream without touching the recipient. Lenders must verify whether the fee path and fee rate can be changed, and if they can, price that risk in.
- Wash trading: Accrued fees are real fees, but if the recipient trades themselves, they get back a share of the fees they paid, so a higher creator share means they can pad trading history at lower cost. Lenders must look not just at the total volume in the history but at who actually traded.
- A recipient that cannot return the rights: If a contract with no way to call setFeeRecipient is designated as the recipient, the stream is permanently locked to that contract. Creators should only designate recipients that are repayment-priority contracts specifying when rights are returned, for example returning them once the debt is fully repaid.
- A one-shot, irreversible change: Recipient changes take effect immediately and cannot be undone, so just as with mistyping the owner of an ERC-173 contract, a mistyped address permanently loses the stream. Interfaces must require confirmation of the new recipient before submission.
- Reentrancy: Because the claim and accrual paths transfer assets, implementations must update state (the record) before transferring, and guard against reentrancy attacks.