Skip to main content

Signature

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

Title Fetch composite child policy limits