Protocol
Fee Structure
How fee rates are resolved for the bonding curve and DumpsterSwap.
Protocol
Fee schedule
Trading fees are market-cap aware and shared across the curve and the AMM. The useful questions are simple: which fee components apply on each venue, when LP fees exist, and how the active tier is chosen.
Components
| Component | What it does |
|---|---|
| protocolFeeBps | The platform fee collected by the protocol fee recipient. |
| creatorFeeBps | The creator fee credited to the creator vault on Dumpster or DumpsterSwap. |
| lpFeeBps | The AMM LP fee. Relevant on DumpsterSwap, not on the bonding curve. |
Fee resolution model
- The protocol supports up to 30 market-cap tiers.
- Each tier contains a
Feesobject. - Non-canonical pools can use a flat fallback fee schedule.
- Total fees are validated so the full breakdown cannot exceed the program's maximum basis-point representation.
What integrations should assume
import { getFee, getAmmFees, computeFeesBps } from '@dumpster-cash/dumpster-sdk';The SDK fee helpers and preview helpers both resolve against the live fee schedule.