Skip to main content

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). 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.

Parameters

Reverts

  • ContractPaused(BURN) when BURN is paused.
  • AccessControlUnauthorizedAccount when the caller does not hold BURN_BLOCKED_ROLE.
  • AccountNotBlocked when from is currently authorized under TRANSFER_SENDER_POLICY.
  • InsufficientBalance when from’s balance is below amount.

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