DumpsterDumpster Docs
Protocol

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 fee configuration owner. Curve and AMM rates are independent settings within that shared configuration.

Program Architecture

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 configuration owner, with separate Curve rates and AMM settings.

  • Stores Curve protocol and creator rates directly.
  • Stores up to 30 AMM market-cap tiers and flat fallback fees.
  • Uses one stored authority with separate Curve and AMM updates.

See fee structure for Curve and AMM rates.

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; each trade reads the independent Curve rates stored by DumpsterFees without an extra fee-program CPI.

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

When migration is enabled, anyone can migrate a completed, unsettled curve that passes the program's checks. Migration pairs the full unallocated token balance in its validated staging account with recorded GOR reserves minus the migration fee. The pool opens at its funded reserve ratio, which is not guaranteed to match 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.

Next reads

On this page