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

# IPolicyRegistry.finalizeUpdateAdmin

> Generated B20 reference for finalizeUpdateAdmin(uint64).

[Related concept](/base-chain/specs/upgrades/beryl/b20/specification/concepts/policies-and-scopes)

## Signature

```solidity theme={null}
function finalizeUpdateAdmin(uint64 policyId) external;
```

| Field               | Value                         |
| ------------------- | ----------------------------- |
| Selector            | `0x33031a9c`                  |
| Canonical signature | `finalizeUpdateAdmin(uint64)` |

## Description

Completes a two-step admin transfer. Promotes the caller to active admin and clears the pending slot.
Dev: Reverts with `PolicyNotFound` 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 by the policy admin for the target policy.

## Policy interaction

This is part of the singleton PolicyRegistry surface used by B20 policy scopes.

## Example

```solidity theme={null}
IPolicyRegistry(target).finalizeUpdateAdmin(arg0);
```

## Related

* [IPolicyRegistry reference](/base-chain/specs/upgrades/beryl/b20/specification/reference/interfaces/IPolicyRegistry)
* [Constants & addresses](/base-chain/specs/upgrades/beryl/b20/specification/reference/constants-and-addresses)
