Signature
IB20.sol
Description
Returns thebytes32 role constant that gates seizeWithMemo. Any account that does not hold this role will have its seizeWithMemo call revert with AccessControlUnauthorizedAccount.
Returns
bytes32, the SEIZE_ROLE constant.
Access Control
Read-only. Anyone may call this function to retrieve the role identifier.Policy Interaction
No direct policy interaction. The role returned here is used alongsideSEIZE_EXEMPT_POLICY and SEIZE_RECEIVER_POLICY to authorize a seize operation. The caller must hold SEIZE_ROLE, the from account must not be authorized under SEIZE_EXEMPT_POLICY (i.e., an inverted blocklist check), and the to account must be authorized under SEIZE_RECEIVER_POLICY.
Example
Grant this role to the account that will callseizeWithMemo:
Grant SEIZE_ROLE and seize
SEIZE_ROLE is separate from pause control. A holder of SEIZE_ROLE cannot seize while PausableFeature.SEIZE is paused, the call reverts ContractPaused(SEIZE). Pausing TRANSFER, MINT, or BURN does not affect seize.