Returns the contracts configuration.
{
data: {
credit_manager: string | null
owner_response: {
abolished: boolean
emergency_owner: string | null
initialized: boolean
owner: string | null
proposed: string | null
}
}
}
{
health_state: {
account_id: string
action: ActionKind
}
}
{
data: 'healthy' | {
unhealthy: {
max_ltv_health_factor: Decimal
}
}
}
{
health_values: {
account_id: string
action: ActionKind
}
}
{
data: {
above_max_ltv: boolean
has_perps: boolean
liquidatable: boolean
liquidation_health_factor?: Decimal | null
liquidation_threshold_adjusted_collateral: Uint128
max_ltv_adjusted_collateral: Uint128
max_ltv_health_factor?: Decimal | null
perps_pnl_loss: Uint128
perps_pnl_profit: Uint128
total_collateral_value: Uint128
total_debt_value: Uint128
}
}