Signature
Description
Seizesamount of from’s balance and reassigns it to to in a single admin operation.
Emits, in order, Transfer(from, to, amount), Memo(caller, memo), and
Seized(caller, from, to, amount). A memo of bytes32(0) is permitted.
Dev: Admin operation: skips allowance and the transfer policies. The only membership check is that
from is blocked under SEIZE_HOLDER_POLICY.
Dev: to is not policy-checked; the destination need not be allowlisted.
Dev: Reverts with ContractPaused(SEIZE) when SEIZE is paused.
Dev: Reverts with AccessControlUnauthorizedAccount when the caller does not hold SEIZE_ROLE.
Dev: Reverts with InvalidReceiver when to == address(0).
Dev: Reverts with AccountNotSeizable when from is currently authorized under SEIZE_HOLDER_POLICY.
Dev: Reverts with InsufficientBalance when from’s balance is below amount.
Param: from Account whose balance is being seized.
Param: to Destination address for the seized balance.
Param: amount Amount to seize.
Param: memo Memo payload.
Return: Always true on success.
Access control
SEIZE_ROLE gates seizure calls.
Policy interaction
ChecksSEIZE_HOLDER_POLICY; the holder is seizable only when not authorized.