Signature
IPolicyRegistry.sol
Description
Completes a two-step admin transfer. Promotes the caller to active admin and clears the pending slot. Dev: Reverts withPolicyNotFound when policyId does not exist.
Dev: Reverts with NoPendingAdmin when no transfer is in flight.
Dev: Reverts with Unauthorized when the caller is not the staged pending admin.
Param: policyId Policy whose admin transfer is being finalized.
Access Control
Callable only by the staged pending admin for the target policy; finalization promotes the caller to active admin.Policy Interaction
This is part of the singleton PolicyRegistry surface used by B20 policy scopes.Example
Usage Example