// @ts-nocheck
/**
 * This file was automatically generated by @cosmwasm/ts-codegen@0.24.0.
 * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
 * and run the @cosmwasm/ts-codegen generate command to regenerate this file.
 */

export interface InstantiateMsg {
  owner: string
}
export type ExecuteMsg =
  | {
      update_owner: OwnerUpdate
    }
  | {
      update_config: {
        credit_manager: string
      }
    }
export type OwnerUpdate =
  | {
      propose_new_owner: {
        proposed: string
      }
    }
  | 'clear_proposed'
  | 'accept_proposed'
  | 'abolish_owner_role'
export type QueryMsg =
  | {
      health: {
        account_id: string
      }
    }
  | {
      config: {}
    }
export interface ConfigResponse {
  credit_manager_addr?: string | null
  owner_response: OwnerResponse
}
export interface OwnerResponse {
  abolished: boolean
  initialized: boolean
  owner?: string | null
  proposed?: string | null
}
export type Decimal = string
export type Uint128 = string
export interface HealthResponse {
  above_max_ltv: boolean
  liquidatable: boolean
  liquidation_health_factor?: Decimal | null
  liquidation_threshold_adjusted_collateral: Uint128
  max_ltv_adjusted_collateral: Uint128
  max_ltv_health_factor?: Decimal | null
  total_collateral_value: Uint128
  total_debt_value: Uint128
}
