> ## Documentation Index
> Fetch the complete documentation index at: https://base-a060aa97-docs-sync-code-change-6bb10a4.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# IPolicyRegistry.MAX_COMPOSITE_CHILD_POLICIES

> Generated B20 reference for MAX_COMPOSITE_CHILD_POLICIES().

## Signature

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

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

## Description

Returns the maximum number of child policies a composite policy may reference, inclusive. The current value is `4`. This bound limits worst-case `isAuthorized` gas and the authorization audit surface. Never reverts.

## Access control

Read-only. No caller restrictions.

## Policy interaction

This is part of the singleton PolicyRegistry surface used by B20 policy scopes. Pass this value as the upper bound when validating the `childPolicyIds` array before calling `createCompositePolicy` or `updateComposite`.

## Example

```solidity Title Fetch composite child policy limits theme={null}
uint256 max = IPolicyRegistry(target).MAX_COMPOSITE_CHILD_POLICIES(); // 4
uint256 min = IPolicyRegistry(target).MIN_COMPOSITE_CHILD_POLICIES(); // 2
```
