Skip to main content

Signature

IB20.sol

Description

Caller renounces role for themselves. Emits RoleRevoked when membership changes.

Parameters

Reverts

  • AccessControlBadConfirmation when callerConfirmation != msg.sender.
  • LastAdminCannotRenounce when role == DEFAULT_ADMIN_ROLE and the caller is the last remaining DEFAULT_ADMIN_ROLE holder. Use renounceLastAdmin to clear the final admin.

Access Control

Any account may call this function for their own roles. No privileged role is required.

Policy Interaction

No direct policy interaction.

Example

Usage Example