Protocol Overview
Three-program architecture, responsibilities, and the full token lifecycle from launch to AMM trading.
Protocol
Dumpster is a three-program system on Gorbagana
Dumpster is split across three programs: one for launches and curve trading, one for AMM trading after migration, and one shared fee schedule. If you understand those roles, the rest of the integration surface becomes much easier to reason about.
Program responsibilities
Program
Dumpster
The launch and bonding-curve program. It owns token creation, curve trading, creator-fee accrual, and migration into DumpsterSwap.
- Creates Token-2022 mints and bonding curves.
- Executes curve buys, sells, and migration.
- Tracks creator-fee accrual on the curve side.
Program
DumpsterSwap
The post-graduation CPMM AMM. It receives migrated liquidity and exposes swaps, LP deposits, and LP withdrawals.
- Creates the canonical migrated pool at index 0.
- Supports buy and sell through constant-product pool math.
- Allows LP deposits and withdrawals for external liquidity providers.
Program
DumpsterFees
The shared fee schedule. It stores the market-cap tiers both trading programs use when they calculate protocol and creator fees.
- Stores up to 30 market-cap fee tiers.
- Validates fee schedules and flat fees for non-canonical pools.
- Keeps fee behavior consistent across curve and AMM trading.
Token lifecycle
Launch
create initializes the mint, stores metadata, seeds the curve, and places the full token supply into the bonding-curve account.
Bonding curve trading
Users buy and sell against virtual reserves on Dumpster. Price is set by the constant-product curve and every trade resolves fees through DumpsterFees.
Curve completion
The curve marks complete when the tradeable real token reserves reach zero. At that point the bonding curve stops being a live launch venue.
Migration
Once the curve is complete, anyone can call migrate. The remaining GOR and token reserves are packaged into a DumpsterSwap pool at the last curve price.
AMM trading
After migration, price discovery continues on DumpsterSwap. Traders swap against the pool and LPs can add or remove their own liquidity.