Signature
IPolicyRegistry.sol
Description
Replaces a composite policy’s child-policy set in full withchildPolicyIds. There is no partial edit, the entire child set is replaced in one call.
The write takes effect on the next isAuthorized call that references policyId. Every token that stores this policy ID sees the new result without a second updatePolicy call on the token.
Parameters
Reverts
Events
EmitsCompositePolicyUpdated(policyId, updater, childPolicyIds) on success.
Access Control
Callable only by the current admin ofpolicyId. A composite whose admin has been renounced (via renounceAdmin) can never be updated.
Example
Usage Example