Signature
IB20.sol
Description
Caller renouncesrole for themselves. Emits RoleRevoked when membership changes.
Parameters
Reverts
AccessControlBadConfirmationwhencallerConfirmation != msg.sender.LastAdminCannotRenouncewhenrole == DEFAULT_ADMIN_ROLEand the caller is the last remainingDEFAULT_ADMIN_ROLEholder. UserenounceLastAdminto 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