Assessment reports>AccountRecoveryModule>Threat Model>submitRecoveryRequest

Function: submitRecoveryRequest(byte[] recoveryCallData)

This function records a submitted recovery request.

Inputs

  • recoveryCallData

    • Control: Arbitrary.

    • Constraints: None.

    • Impact: Calldata that will be used when the recovery request will take effect.

Branches and code coverage

Intended branches

  • Stores the hash of the calldata and the submission timestamp.

Negative behavior

  • Reverts if the same request was already pending.

Zellic © 2024Back to top ↑