Signature
IB20.sol
Description
Returns thebytes32 scope key that seizeWithMemo uses when checking whether the destination address (to) may receive seized tokens.
The check is a normal allow check: the call proceeds only when isAuthorized(policyId, to) returns true. When the slot is unset (0), the always-allow sentinel applies and any destination is permitted.
Returns
bytes32, the policy scope constant for the seize receiver slot.
Access Control
View function. No role required.Policy Interaction
Attach a policy ID to this scope withupdatePolicy(token.SEIZE_RECEIVER_POLICY(), policyId). Use an ALLOWLIST to restrict which addresses may receive seized tokens. An unset scope (ID 0) allows every destination.
SEIZE_RECEIVER_POLICY is independent of TRANSFER_RECEIVER_POLICY. Adding an address to a transfer allowlist does not make it a valid seize destination. Configure each scope separately.Example
Restrict seize destinations to a treasury