Skip to main content
Related concept

Signature

Description

Permanently transitions the token to a zero-admin state. Revokes DEFAULT_ADMIN_ROLE from msg.sender. Emits RoleRevoked(DEFAULT_ADMIN_ROLE, msg.sender, msg.sender) and LastAdminRenounced(msg.sender). Dev: Reverts with AccessControlUnauthorizedAccount when msg.sender does not hold DEFAULT_ADMIN_ROLE. Dev: Reverts with NotSoleAdmin when other accounts also hold DEFAULT_ADMIN_ROLE.

Access control

Uses the B20 access-control role graph. Factory initCalls bypass role gates during creation.

Policy interaction

No direct policy interaction.

Example