Function mango_v4::health::compute_health
source · pub fn compute_health(
account: &MangoAccountRef<'_>,
health_type: HealthType,
retriever: &impl AccountRetriever,
now_ts: u64
) -> Result<I80F48>
Expand description
Compute health with an arbitrary AccountRetriever