Message: ExecuteMsg::SetMinimumDeposit
This allows the admin to set the minimum INJ amount a user can deposit.
Inputs
info.sender
Validation: The
set_min_deposit
function verifies that theinfo.sender
is the owner.Impact: N/A.
new_min_deposit
Validation: 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.