Assessment reports>AccountRecoveryModule>Threat Model>removeGuardian

Function: removeGuardian(byte[32] guardian)

This function can be called to remove a guardian.

Inputs

  • guardian

    • Control: Arbitrary.

    • Constraints: Must be an existing guardian.

    • Impact: Guardian to be removed.

Branches and code coverage

Intended branches

  • Removes the guardian and lowers the threshold if needed.

Negative behavior

  • Reverts if the guardian was not set.

Zellic © 2024Back to top ↑