Skip to main content

Signature

IPolicyRegistry.sol

Description

Returns whether account is authorized under policyId. Never reverts.

Result by policy ID

Callers that store policy IDs MUST validate policyExists(policyId) at write time. An unknown BLOCKLIST or INTERSECT ID returns true, and an inverted unknown or malformed base returns false rather than the negation of the empty-set result.

Parameters

Returns

Access Control

Read-only. No role required.

Policy Interaction

This is part of the singleton PolicyRegistry surface used by B20 policy scopes.

Example

Usage Example