Signature
Description
Permanently transitions the token to a zero-admin state. RevokesDEFAULT_ADMIN_ROLE from msg.sender. Emits RoleRevoked(DEFAULT_ADMIN_ROLE, msg.sender, msg.sender) and LastAdminRenounced(msg.sender).
Reverts
AccessControlUnauthorizedAccountwhenmsg.senderdoes not holdDEFAULT_ADMIN_ROLE.NotSoleAdminwhen other accounts also holdDEFAULT_ADMIN_ROLE.