pub fn query_total_value(env: Env, deps: Deps) -> VaultResult<ValueResponse> {
    let info: PoolInfoRaw = POOL_INFO.load(deps.storage)?;
    let total_luna_value = compute_total_value(&env, deps, &info)?.total_value_in_luna;
    Ok(ValueResponse { total_luna_value })
}
/// Queries total luna value in vault
Queries total luna value in vault
Queries total luna value in vault
pub fn query_total_value(env: Env, deps: Deps) -> VaultResult<ValueResponse> {
    let info: PoolInfoRaw = POOL_INFO.load(deps.storage)?;
    let total_luna_value = compute_total_value(&env, deps, &info)?.total_value_in_luna;
    Ok(ValueResponse { total_luna_value })
}
pub fn query_total_value ( env : Env , deps : Deps ) -> VaultResult < ValueResponse > { let info : PoolInfoRaw = POOL_INFO . load ( deps . storage ) ? ; let total_luna_value = compute_total_value ( & env , deps , & info ) ? . total_value_in_luna ; Ok ( ValueResponse { total_luna_value } ) }
Queries total luna value in vault
Queries total luna value in vault
env
Env
deps
Deps
env
Env
deps
Deps