Skip to main content
Related concept

Signature

Description

Returns whether account 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.

Example