Burns
A community pair's share is already its coin when it is swept: LaunchLab charges fees in the pair, so the burn needs no market buy.
sweep_platform_fee(quote)
Permissionless. It creates the protocol PDA's account for that quote if it is missing (the caller pays), claims the platform's fees from LaunchLab's vault into the protocol PDA, and on a community pair burns half of the claimed amount, measured by balance before and after. The keeper calls it for each listed quote with a balance every 10 minutes; anyone can.
settle(wallet, quote)
Permissionless. For graduated pools: what the creator PDA's account holds is split 6/19 to the creator's wallet, 7/19 burned on a community pair, the rest to the protocol PDA. For the curve: the creator fees are claimed from LaunchLab with the PDA signing and paid to the creator's wallet in full. Anyone can first push a graduated pool's creator fee into the creator PDA with CPMM's collect_creator_fee_permissionless; settle books it by balance, whoever pushed it.
The protocol PDA
What Foxhole keeps lands in the protocol PDA's account for each quote: an account of Foxhole's program that no key signs for, so it moves only by the program's own instructions.
How a pair counts its burn
- A pair's burned total is the sum burned in its sweep and settle transactions.
- A coin's burned figure is half of the platform fees in its trades covered by the sweeps since, plus 7/19 of its pool's collected creator fees; each sweep's burn is attributed pro rata to the coins whose fees it claimed.
- Queued: accrued and not yet swept.
- Today: the UTC day.