rejectProposalSuperUser
Function Type: external
Access Control: isSuperUser
Function Signature: rejectProposalSuperUser()
Cancels a pending superUser change proposal, resetting the governance state to allow for new proposals.
Workflow
- Access Control: Validates that the caller is the current superUser using the
isSuperUser
modifier. Reverts withInvalidUser
if not authorized. - Proposal Reset: Clears the proposed superUser address immediately.
- State Cleanup: Resets the timeToAccept timestamp to 0.
- Governance Security: Prevents unwanted superUser changes and maintains current governance structure.