Skip to main content

Signature

IPolicyRegistry.sol

Description

Returns the currently-staged pending admin for policyId, or address(0) when no transfer is in flight or for built-in sentinels, unknown IDs, and malformed IDs. Never reverts. The pending admin is set by stageUpdateAdmin(policyId, newAdmin) and cleared when finalizeUpdateAdmin(policyId) succeeds or when the current admin calls stageUpdateAdmin with address(0). Until finalizeUpdateAdmin is called, policyAdmin still returns the current admin, the pending admin has no privileges yet.

Parameters

Returns

Reverts

Never reverts.

Access Control

Read-only. No role required.