Signature
Description
Replaces a composite policy’s child-policy set in full withchildPolicyIds.
Dev: Reverts with PolicyNotFound when policyId does not exist.
Dev: Reverts with IncompatiblePolicyType when policyId is not a composite (UNION or INTERSECT).
Dev: Reverts with Unauthorized when the caller is not the current admin. A renounced composite
(admin address(0)) can never be updated.
Dev: Reverts with ChildPoliciesOutsideOfRange(2, 4) when childPolicyIds.length is not in [2, 4];
there is no clear-the-list path (the composite child-policy range, not the 64-account batch limit).
Dev: Reverts with PolicyNotFound when any child policy does not exist.
Dev: Reverts with InvalidChildPolicy when any child policy is itself a composite
(not a simple policy).
Param: policyId Composite policy to update.
Param: childPolicyIds Complete new set of existing simple policy IDs.