Assessment reports>TruFin Injective Staker>Threat Model>Message: ExecuteMsg::Pause

Message: ExecuteMsg::Pause

This allows the admin to pause the contract, preventing user operations until it is resumed.

Inputs

  • info.sender

    • Validation: The pause function verifies that the info.sender is the contract owner.

    • Impact: N/A.

Branches and code coverage (including function calls)

Intended branches

  • If the contract is not already paused, it is marked as paused in the contract state.

Negative behavior

  • Fail if the contract is already paused.

Zellic © 2025Back to top ↑