Skip to main content

Signature

Description

Caller renounces role for themselves. Emits RoleRevoked.

Parameters

Reverts

  • AccessControlBadConfirmation when callerConfirmation != msg.sender.
  • LastAdminCannotRenounce when role == DEFAULT_ADMIN_ROLE and the caller is the last default admin.

Access control

Read-only or ERC-20-standard access rules unless the NatSpec states otherwise.

Policy interaction

No direct policy interaction.

Example