Skip to main content

Signature

IPolicyRegistry.sol

Description

Returns the upper bound on the number of child policies a composite policy may reference. The valid child count range is [MIN_COMPOSITE_CHILD_POLICIES, MAX_COMPOSITE_CHILD_POLICIES], which is 2 through 4. Never reverts.

Access Control

Read-only. No role required.

Policy Interaction

Used by createCompositePolicy and updateComposite to validate that the supplied child array length does not exceed this bound. Exceeding it reverts ChildPoliciesOutsideOfRange.

Example

Usage Example