Message: ExecuteMsg::SetMinimumDeposit
This allows the admin to set the minimum INJ amount a user can deposit.
Inputs
info.senderValidation: The
set_min_depositfunction verifies that theinfo.senderis the owner.Impact: N/A.
new_min_depositValidation: The amount is verified to be greater than 1 INJ.
Impact: The minimum deposit is set to this value.
Branches and code coverage (including function calls)
Intended branches
If the amount is larger than 1 INJ, it is updated in the state.
Negative behavior
Fail if the amount is lower than 1 INJ.