BURN_ROLE and burns from the caller’s own balance.
Demo
New to B20? See the B20 Token Standard for the concepts and a full launch walkthrough. These samples target
base-std@v1.0.0, viem@2.55.11, and Base Foundry v1.1.1.Burn and verify supply
totalSupply() decreases by exactly 400 MUSD.burn removes tokens from the caller. Use an allowance and your redemption workflow to collect tokens into the burner account first.See also
- Mint supply
- Burn in the B20 standard