Skip to main content
logo

health

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


_1
ActionKind = "default" | "liquidation"

AccountKind


_1
AccountKind = "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
}