Protocol
Events
Core protocol events emitted by Dumpster and DumpsterSwap and how to think about them as an integration surface.
Protocol
Events are the cleanest activity surface
Both Dumpster and DumpsterSwap emit structured Anchor events. If you are indexing protocol activity, logs are usually easier to work with than reconstructing every state transition from account diffs.
Dumpster events
CreateEventTradeEventCompleteEventMigrateEventTransferCreatorEventSetCreatorEventSetParamsEvent
DumpsterSwap events
CreatePoolEventBuyEventSellEventDepositEventWithdrawEventTransferCoinCreatorEvent
Why events matter
- They are easier to index than reconstructing full state transitions from raw account diffs.
- They expose reserve snapshots and fee values directly.
- The SDK bundles the IDLs and exposes typed program instances for event parsing.