Skip to main content

Signature

IPolicyRegistry.sol

Description

Returns the ordered child-policy ID set of the composite identified by policyId.
  • Child policies are returned in the order they were last written; the registry preserves caller ordering verbatim without sorting or de-duplicating.
  • Returns an empty array for simple policies, built-in sentinels (ALWAYS_ALLOW, ALWAYS_BLOCK), unknown IDs, and malformed IDs.
  • Never reverts.
  • An empty return unambiguously means “not a composite”.

Parameters

Returns

Access Control

Read-only. Always callable regardless of whether the PolicyRegistry feature is active.

Example

Usage Example