Signature
IPolicyRegistry.sol
Description
Returns whetheraccount is authorized under policyId. Never reverts; unknown
or malformed IDs collapse to empty-member-set semantics (ALLOWLIST -> false,
BLOCKLIST -> true).
Dev: Callers that store policy IDs MUST validate policyExists(policyId) at write time.
Param: policyId Policy to query.
Param: account Account to check.
Return: Whether account is authorized.
Access Control
Read-only or ERC-20-standard access rules unless the NatSpec states otherwise.Policy Interaction
This is part of the singleton PolicyRegistry surface used by B20 policy scopes. Note thatSEIZE_HOLDER_POLICY uses inverse semantics: a from account is seizable only when isAuthorized(policyId, from) returns false. This is the opposite of transfer-style allowlist checks, where authorization permits an action.
Example
Usage Example