> ## Documentation Index
> Fetch the complete documentation index at: https://docs.base.org/llms.txt
> Use this file to discover all available pages before exploring further.

# IPolicyRegistry.MAX_COMPOSITE_CHILD_POLICIES

> Returns the maximum number of child policies a composite policy may reference.

## Signature

```solidity IPolicyRegistry.sol theme={null}
function MAX_COMPOSITE_CHILD_POLICIES() external view returns (uint256);
```

| Field               | Value                            |
| ------------------- | -------------------------------- |
| Selector            | `0x54309870`                     |
| Canonical signature | `MAX_COMPOSITE_CHILD_POLICIES()` |

## 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

```solidity Usage Example theme={null}
uint256 max = IPolicyRegistry(target).MAX_COMPOSITE_CHILD_POLICIES();
```
