Skip to main content
Related concept

Signature

Description

DEPRECATED. Burns amount from a from account that is blocked under TRANSFER_SENDER_POLICY, without spending an allowance. Retained for back-compat; prefer seizeWithMemo (to a treasury/self address) followed by burn. Emits Transfer(from, address(0), amount) and BurnedBlocked(caller, from, amount). Dev: Gated by BURN_BLOCKED_ROLE and the BURN pause vector (not SEIZE). Its blocked check reads TRANSFER_SENDER_POLICY, distinct from seizeWithMemo’s SEIZE_HOLDER_POLICY. Dev: Reverts with ContractPaused(BURN) when BURN is paused. Dev: Reverts with AccessControlUnauthorizedAccount when the caller does not hold BURN_BLOCKED_ROLE. Dev: Reverts with AccountNotBlocked when from is currently authorized under TRANSFER_SENDER_POLICY. Dev: Reverts with InsufficientBalance when from’s balance is below amount. Param: from Account whose blocked balance is being burned. Param: amount Amount to burn.

Access control

BURN_BLOCKED_ROLE gates deprecated blocked-burn calls.

Policy interaction

Checks TRANSFER_SENDER_POLICY; the account can be burned only when not authorized by that policy.

Example