Skip to main content
Related concept

Signature

Description

Burns amount from the caller’s own balance. Not subject to any policy. Emits Transfer(caller, address(0), amount). Dev: Reverts with ContractPaused(BURN) when BURN is paused. Dev: Reverts with AccessControlUnauthorizedAccount when the caller does not hold BURN_ROLE. Dev: Reverts with InsufficientBalance when the caller’s balance is below amount. Param: amount Amount to burn.

Access control

BURN_ROLE gates self-burn calls.

Policy interaction

No direct policy interaction.

Example