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 theinfo.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.