health
Links
- Deployments: https://github.com/mars-protocol/rover/tree/master/scripts/deploy/addresses
- Types:
- Contract repo: https://github.com/mars-protocol/rover/blob/master/contracts/health/src/contract.rs
- Audits: https://github.com/mars-protocol/mars-audits/tree/main/rover
InstantiateMsg
_4{_4 "credit_manager"?: "string" | null_4 "owner": "string"_4}
ExecuteMsg
update_owner
_3{_3 "update_owner": OwnerUpdate_3}
OwnerUpdate
_14| {_14 "propose_new_owner": {_14 "proposed": "string"_14 }_14 }_14| "clear_proposed"_14| "accept_proposed"_14| "abolish_owner_role"_14| {_14 "set_emergency_owner": {_14 "emergency_owner": "string"_14 }_14 }_14| "clear_emergency_owner"
update_config
_5{_5 "update_config": {_5 "credit_manager": "string"_5 }_5}
QueryMsg
health_values
_7{_7 "health_values": {_7 "account_id": "string",_7 "action": ActionKind,_7 "kind": AccountKind_7 }_7}
ActionKind
_1ActionKind = "default" | "liquidation"
AccountKind
_1AccountKind = "default" | "high_levered_strategy"
health_state
_7{_7 "health_state": {_7 "account_id": "string",_7 "action": ActionKind,_7 "kind": AccountKind_7 }_7}
ActionKind
See above.
AccountKind
See above.
config
_3{_3 "config": {}_3}