Message: ExecuteMsg::Pause
This allows the admin to pause the contract, preventing user operations until it is resumed.
Inputs
info.senderValidation: The
pausefunction verifies that theinfo.senderis 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.